Orthanc for medical education starts with who can open each teaching case
A medical school or teaching hospital that wants case images in front of students inside Moodle, without exposing patient identity, can fit Orthanc to the job because it is a self-hosted DICOM server with viewer plugins and an authorization plugin, so access can follow enrollment. The Education plugin and its LTI 1.3 behavior with Moodle must be confirmed against current plugin documentation before you design around them. The advanced authorization plugin forwards each REST request's token to an external web service that decides access and returns HTTP 403 when access is denied, so the enrollment check can live in a system your team controls. Ask the Moodle administrators which course roles and group values reach that service, then test with an account that is not enrolled before any case goes live.
Putting teaching images behind access rules changes what the library is. It becomes an access-controlled system with audit logs, a de-identification step before images reach students who should not see identifiers, and a named owner who approves which cases are published and removes them. The Orthanc core is licensed GPLv3 or later, and there is no paid edition, so the software itself carries no license fee to budget. Your costs sit in configuring, testing, backing up and operating the stack, plus any services you buy from Orthanc Team, which sells deployment, configuration and support hours on request. Assign the owner and the approval steps before the first case is loaded, because those decisions are the ones faculty and compliance reviewers will ask about first.
Library size shapes the build too. Orthanc ships with a built-in SQLite index, and the Orthanc scalability FAQ says to replace it with an enterprise database engine once a deployment stores several hundred thousand DICOM instances, recommending the PostgreSQL plugin for large datasets. A teaching library usually stays far below that level, but you should confirm it for your own case. Count the cases you expect to load, the instances per case across the modalities you will teach from, and how many new cases arrive each term. If the total stays well under the threshold, SQLite may be adequate, and your effort goes to the access model and the de-identification pipeline. If it does not, plan the PostgreSQL migration before the library grows.
What medical education imaging requirements mean for the Orthanc build
This table lists the education, accessibility and privacy rules that shape an Orthanc teaching archive and what each one asks the build to do. Read each row as a design input: the first column names the requirement, the second points to its source, and the third says what it changes in configuration, access or operations. Several rows apply only in specific cases, such as public access, under-13 users or EU data, so confirm applicability with the institution's counsel before fixing the design.
| Requirement | Source | What it means for the build |
|---|---|---|
| Outside contractors and hosted services | Family Educational Rights and Privacy regulations, 34 CFR 99.31(a)(1)(i)(B) | A hosting partner may handle records only under the school's direct control and redisclosure limits. Write these terms into the contract and admin model. |
| Access limited to legitimate educational interests | Family Educational Rights and Privacy regulations, 34 CFR 99.31(a)(1)(ii) | Map course roles to access decisions, for example through the advanced authorization plugin, and test that each user sees only their own courses' cases. |
| Record of each disclosure | Family Educational Rights and Privacy regulations, 34 CFR 99.32 | Log each disclosure of identifiable records with the requester and their interest, and keep that log as long as the records exist. |
| Inspection requests | Family Educational Rights and Privacy regulations, 34 CFR 99.10(b) | Learners may inspect records within a reasonable period, and no more than 45 days after asking. Build a lookup from learner ID to studies. |
| Enforcement by the Secretary | Family Educational Rights and Privacy regulations, 34 CFR 99.67 | Noncompliance can lead to withheld payments, a cease and desist complaint, or termination of funding eligibility. Keep access logs and reviews as evidence. |
| Web content accessibility | Web and Mobile Accessibility rule, 28 CFR Part 35 Subpart H | Confirm with counsel whether it applies to this institution. If it does, test the viewer, portal and public pages against an accessibility standard. |
| Children under 13 (COPPA) | Children's Online Privacy Protection Rule, 16 CFR Part 312 | Applies only if anyone under 13 can register, for example in an open course. Then keep a written security program and a deletion schedule. |
| EU learners or patients (GDPR) | General Data Protection Regulation, Regulation (EU) 2016/679 | Applies when EU learners' or patients' data is processed, wherever the school is based. Define the legal basis, data location and erasure process before import. |
How a Moodle course launch reaches a teaching case in Orthanc
The path starts in the learner's browser when a student opens a Moodle course. Moodle sends an LTI 1.3 launch toward the teaching tool, and enrollment data supplies the learner's role. Confirm both the launch and the role mapping against the Education plugin documentation before you build on them. Requests then pass through an HTTPS reverse proxy to Orthanc, where the authorization plugin sends each REST request's token to the authorization service, which allows or denies it. Only the anonymized teaching instance is reachable from this environment. The clinical archive sits in its own network, and the diagram draws no edge to it on purpose.
Trust boundaries in the teaching path, with no clinical route.
Orthanc modules for medical education libraries
Five Orthanc modules and settings decide whether a teaching library works for students, instructors and the compliance team. Each card names one item and the check to run before learners see images. Together they cover course content, Moodle sign-in, per-request access, learner viewers and the server settings that limit exposure.
Education plugin features and licensing
The Education plugin adds course content features to Orthanc, which is what separates a teaching library from a plain archive. Confirm with Orthanc Team which features it provides in the release you pin. The core is GPLv3 or later and the scalability and cloud plugins are AGPLv3 or later, so get the Education plugin's license terms in writing before assuming they match the core, especially if you plan to share the library with other schools or partners.
Orthanc Team websiteLTI 1.3 launch from Moodle
Moodle core ships an LTI authentication plugin, so much of the Moodle side is configuration. The part to confirm is the Orthanc side: which component accepts the LTI 1.3 launch, how Moodle users and course roles map to Orthanc permissions, and what happens when a launch arrives from a user who has no Orthanc account. Pin the Moodle version before you start. Moodle 5.1 requires 64-bit PHP 8.2 or later and a web server document root that points to the /public directory.
Moodle auth pluginsAdvanced authorization plugin
The advanced authorization plugin forwards the token from each REST request to an external web service, which decides access and returns HTTP 403 when access is denied. For a teaching library, that service is where course membership and study visibility get enforced, so the denial path needs the same testing as the allow path. The orthanc-auth-service reference project shows the pattern with Keycloak-issued user tokens and Orthanc Explorer 2. Treat it as a starting point to review, not as a finished access policy.
Authorization plugin docsViewers for learners
Learners reach images through a browser viewer, and the official options include Orthanc Explorer 2, Stone Web and OHIF. Choose viewers by course, and test each one with your course studies before the term starts. Check the modalities, series layouts and file sizes your courses use, and confirm whether learners need measurement or multi-frame display, since the viewers may differ in what they offer.
Orthanc plugins listSecurity settings before learner access
Orthanc accepts HTTP connections only from localhost by default, so remote access is a deliberate change. Keep RemoteAccessAllowed off unless you need it. If you enable it, set AuthenticationEnabled to true with users defined in RegisteredUsers, serve HTTPS through a reverse proxy, and keep /tools/execute-script and the export route disabled. The security FAQ warns that the first can run system commands and the second can overwrite files. Verify each setting with a request from outside the network.
Keep the medical education library apart from the clinical archive
Keep the teaching library in its own Orthanc instance, with its own storage, its own database and its own credentials, and do not let it read the clinical archive's index. A shared database or shared storage area means a misconfigured teaching viewer, a broad service account or a restore from the wrong backup can expose clinical studies to students. Feed the library only through a one-way de-identification step that reads from the clinical source and writes to the teaching instance, with no route back. Give the teaching instance accounts that exist nowhere on the clinical side, so a student login or a viewer token has no value there. Check that network rules enforce the direction as well as the job configuration. Keep the /tools/execute-script and export routes disabled on both servers, as the Orthanc Book security FAQ advises, because a teaching server is often the least-watched machine in the building.
Treat de-identification as a test that can fail. Start with header fields: patient name and identifiers, dates, institution and physician names, and private tags that some vendors fill with patient or device details. Then test the pixels. Burned-in text such as names, accession numbers and dates often sits in ultrasound, screen capture and secondary capture images, where header rules do nothing. Build a sample set that covers these modalities, run it through the pipeline, dump the headers of every output with a script, and review each image that carries an overlay risk by eye. Record what was checked, by whom and against which rule set, so the same test can be repeated after each Orthanc upgrade or rule change. Confirm the exact pixel masking and anonymization functions, their parameters and their behavior in the Orthanc scripting documentation for your version before you rely on them.
Public, enrolled and demo access need different controls
Public access suits teaching cases that contain no personal data, such as anonymized studies that anyone can open from a course page. The institution decides whether anyone can register, because a sign-up form brings personal data and privacy obligations into scope. The build should expose only anonymized cases from a dedicated library, with no login form that collects personal information.
- Anonymized cases only: Confirm that patient identifiers, free-text fields and burned-in pixel text are removed before a case is published, and keep the public library in its own Orthanc instance.
- Student data: Confirm that the public view collects no names, email addresses or learner identifiers, and that the course platform does not pass learner identity to the viewer.
- Accessibility: Decide which accessibility standard the course pages and viewer must meet. The web and mobile accessibility rule in 28 CFR Part 35 Subpart H is one reference, so confirm with counsel whether it applies to your institution.
- Under-13 registration: Decide whether anyone under 13 can register. If the answer is yes, the COPPA Rule in 16 CFR Part 312 requires a written security program and a retention policy before launch, so the test must prove that no personal information is kept for that group.
Check that a tester with no account can reach every public case, finds no identifiers in the DICOM headers or the viewer, and cannot create an account.
Enrolled learners are the group where student records and institutional control meet. Under FERPA, the institution decides which course roles map to which image rights and whether viewing records count as education records. The build connects Moodle to Orthanc through LTI 1.3, so each launch carries the role from course enrollment and access ends when enrollment ends. The mapping should live in the LTI tool and the authorization layer, so the viewer simply enforces it.
- Roles from enrollment: Decide which Moodle roles, such as students and instructors, can view cases, annotate them or see the full library. Record the mapping in the LTI tool configuration and the authorization service.
- Viewing logs: Decide who can read the record of who viewed which case and how long it is kept. Confirm what your Orthanc logging and authorization service record per request, and ask counsel whether the record meets the requirements in 34 CFR 99.32.
- Access removal: Decide how quickly access must end after enrollment ends. Build on short-lived launch sessions and token lifetimes, and confirm how the LTI launch behaves for an unenrolled user.
- School official access: Under 34 CFR 99.31(a)(1)(ii), restrict each user to the records tied to a legitimate educational interest with technological access controls. If a contractor operates the system, confirm that it works under the institution's direct control.
Test with an unenrolled account, a student account and an instructor account, and confirm that each sees only the cases its role allows and that each view produces a log entry naming the user and the case.
Demo setups let prospective instructors or reviewers explore the viewer and the course workflow without touching teaching data. The institution decides who receives a demo account, what sample data they see and how long the instance stays available. The build should run the demo on its own Orthanc instance with sample data only, so a configuration mistake or demo upload cannot reach the teaching archive. Start from the remote access settings, with authentication enabled and users defined in the registered user list.
- Read-only accounts: Decide which demo accounts exist and grant view rights only. Set AuthenticationEnabled to true and define each account in RegisteredUsers, then confirm that the authorization layer denies write calls.
- No upload rights: Decide whether demo users may upload anything. The safe default is no. The test must prove that an upload request is denied for every demo account.
- Sample data only: Load only sample or public teaching datasets, confirm the license of each source, and confirm that no patient images enter the demo instance.
- Separate instance: Run the demo with its own storage and database, and disable the /tools/execute-script route and the export route. The Orthanc security FAQ warns that these routes can run system commands or overwrite files.
Verify that a demo login can view cases, cannot upload or export, cannot reach the teaching instance's address and that the demo instance holds no records from the teaching archive.
Rollout from content policy to the first course
This sequence takes a teaching image library from a signed content and consent policy to a pilot course running in your environment. Each step ends with a record that the privacy office, the course team or the security reviewers can check before the next step starts. Version pinning and access testing continue after launch, so upgrades follow the same path as the first build.
Set the content and consent policy
The privacy office and faculty leads agree which image sources may enter the library, such as patient images, student work or licensed datasets, and which consent or de-identification standard applies to each. Confirm which regimes reach your institution, for example FERPA for US institutions that receive federal education funding or GDPR for EU data subjects. The output is a signed policy that names the library owner and sets who may view which cases. The step is done when the privacy office has signed it.
Pin the Orthanc and Moodle versions
The platform owner records the exact Orthanc and Moodle releases before any build starts, then checks each against its requirements. Orthanc 1.13.0 was released on 15 August 2026, so confirm whether your team needs it or a 1.12 release. A Moodle 5.3 site needs 64-bit PHP 8.3 or later (8.4 is supported) and PostgreSQL 17. If you choose Moodle 4.5 LTS instead, its security support runs until 4 October 2027, so schedule the move to a later release before then. The step is done when the versions, PHP and database are written into the build record.
Build the teaching instance in staging
The platform team builds Orthanc and Moodle in a staging environment behind HTTPS, with no public access. From Moodle 5.1 onward, the web server document root must point to the /public directory, or the site may show directory listings or errors. If remote access is enabled on Orthanc, keep AuthenticationEnabled on and define users in RegisteredUsers until SSO is in place. The step is done when both services answer over HTTPS and a test login succeeds on each.
Build and test the de-identification pipeline
The imaging lead builds the anonymization workflow in staging. It covers DICOM tag removal, pixel masking where burned-in identifiers appear, and any mapping instructors need to trace a case without seeing the patient identity. Run the pipeline on a sample set drawn from each planned source, and have the privacy office review the output files, including tags and masked pixel regions. The step is done when the reviewer signs off on the sample set and the settings are recorded with the policy.
Configure LTI 1.3 and test each role
The Moodle administrator registers the Orthanc viewer as an LTI 1.3 tool, sets the launch and deep-linking options from the plugin documentation, and maps each Moodle role, such as instructor, student and teaching assistant, to the Orthanc access it needs. Create one test account per role and confirm that it opens only the cases its course allows. If an external authorization service makes the access decisions, test its denials as well. The step is done when every role's results are recorded and any mismatch is fixed and retested.
Run access and security tests
The security team tests staging from outside the platform network and from each role. Confirm that the script execution route and the export route are disabled, since the first can run system commands and the second can overwrite files. Check that unauthenticated requests are refused, and test login, session expiry, and password or SSO handling. Any DICOM connection that crosses a site boundary should use TLS. The step is done when findings are fixed, each fix is retested, and the report is filed with the policy.
Pilot one course before opening the library
The course team opens the library to a single course with a named instructor and a limited set of approved cases. They watch how students and instructors use the viewer and the LTI launch, and log each problem in a shared list. Any fix that touches authorization is followed by a rerun of the access tests, and the audit log is checked against the access record the policy requires. The step is done when the pilot owner and the privacy office agree that the course can run without open exceptions, and only then does the library open to other courses.
Maintain Orthanc and Moodle upgrades
After launch, the platform owner applies Orthanc releases and Moodle point releases through the same path: build in staging, rerun the access and security tests, then promote. Orthanc 1.13.0 changed storage-area access and DICOM parsing, so rerun the de-identification sample set after any core upgrade. Moodle ships point releases every two months, so keep a calendar of each release's support dates. The step is done when each upgrade has a dated record of what changed and the retest results.
Compliance duties that shape a teaching image library
Teaching libraries that mix learner records, public course content and patient images fall under several regimes at once. DeployOpen prepares systems, controls and evidence for assessments, but does not issue audit reports, attestations or certifications, and counsel should confirm which patient data rules apply.
FERPA school official conditions
Learner records that move between Moodle and Orthanc reach a contractor only under the school official conditions in 34 CFR 99.31(a)(1). The contractor must perform work the institution would otherwise assign to its own staff, stay under the institution's direct control over the records, and follow the redisclosure limits. Access must also track each user's legitimate educational interest through technical controls, and each disclosure needs a record under 34 CFR 99.32. The institution makes these decisions, so confirm who approves access and who keeps the disclosure log.
FERPA text45-day record inspection rule
A parent or eligible student can ask to inspect education records held in Moodle, and the institution must comply within a reasonable period and no more than 45 days after the request (34 CFR 99.10(b)). If an institution does not comply, the Secretary of Education may withhold further payments, issue a cease and desist complaint or end eligibility for funding under applicable programs (34 CFR 99.67). Treat the deadline as a process to test before a request arrives, and confirm that your Moodle reports can find every record for one learner.
COPPA duties for under-13 users
If an Orthanc teaching library or its public course pages can collect personal information from children under 13, the operator must follow the COPPA Rule in 16 CFR Part 312. The amended rule requires a written information security program with a designated coordinator and at least annual risk assessments (16 CFR 312.2 and 312.8). Operators may keep children's personal information only as long as reasonably necessary, and must maintain a written data retention policy with a deletion timeframe (16 CFR 312.10). Draft that policy before public access opens, and check that Orthanc logs and Moodle accounts follow its deletion timeframe.
COPPA Rule textAccessibility and GDPR for EU learners
Public-facing course pages and viewer interfaces built for a public institution fall under 28 CFR Part 35 Subpart H, which covers web and mobile content. Check Orthanc Explorer 2, any OHIF or Stone viewer pages and Moodle course content against that standard, including text alternatives for teaching images. For EU learners, the GDPR governs personal data across the same stack, so confirm the lawful basis, retention periods and transfer terms before enrollment opens.
Subpart H textOrthanc for medical education: cost, effort and what you provide
What drives the cost of an Orthanc teaching library project?
Cost follows the written scope. The main drivers are the number of teaching cases, the de-identification workload, the Moodle integration, the identity setup and the number of roles that need access. A library with a few cases, one course site and one login source is a much smaller job than a multi-course catalog with LTI 1.3 launches from Moodle, separate access for instructors, students and reviewers, and a documented de-identification review for every case. One-time costs cover planning, configuration, integration, testing and documentation. Recurring costs include staff time to add cases, any support hours you buy, and upgrade work for Orthanc and Moodle. Ask for each quote to list cases, roles, de-identification steps, Moodle tasks and identity tasks as separate lines so you can compare them directly.
Is there a license fee for Orthanc in medical education?
There is no paid Orthanc edition, so the server itself carries no license fee. Orthanc Team SRL sells deployment, configuration and development services, including pre-paid dedicated support hours that are valid for 12 months and quoted on request. Those hours are the main purchased item if you want a vendor on call. Confirm the license of every plugin you plan to use. The Orthanc core is GPLv3 or later, while scalability and cloud plugins, including the PostgreSQL plugin, are AGPLv3 or later. Your legal team should decide whether AGPL obligations apply to how you host and expose the library, and the Education plugin's license should be checked the same way. Moodle's code is GPL-3.0, but managed hosting through MoodleCloud or Moodle Partners is a separate purchase.
How long does an Orthanc medical education project take?
The duration is set by the written scope, and DeployOpen does not publish a fixed timeline for this work. The schedule depends on how many cases need de-identification and review, how many Moodle courses and roles are involved, whether identity integration uses an existing provider, and how quickly your content owner and privacy reviewer respond. Ask for milestones tied to sign-offs: scope agreed, Orthanc and database build, de-identified case load, LTI 1.3 connection to Moodle, role testing with a pilot group, and handover. Your own dependencies, especially privacy sign-off and Moodle administrator access, often set the critical path. If your Moodle site runs an older release, plan that upgrade as a separate step. Moodle 5.1, for example, requires PHP 8.2 or later and a web server document root that points to the /public directory.
What does our institution need to provide for the project?
The institution supplies the people and decisions the build cannot make for it. Expect to name a content owner who selects cases, approves teaching content and answers questions about clinical accuracy. A privacy sign-off owner must approve the de-identification method and the access model before any case goes live. Your Moodle administrator provides course access, LTI 1.3 tool registration and the web server changes Moodle needs. Your identity administrator supplies the identity provider, group mappings and test accounts. You also provide the DICOM source data or export path, the hosting environment inside your own infrastructure, and a decision on who supports the library after handover. Write these responsibilities into the scope so that delays on your side show up in the schedule.
Can our own team build an Orthanc teaching library alone?
Yes, if the team already has the skills the work needs. The core skill set is:
- Linux administration for the Orthanc host and its reverse proxy
- Docker for the Orthanc container and any database container
- Moodle administration, including LTI 1.3 tool registration and course setup
- Identity integration, such as connecting the advanced authorization plugin to your identity provider
- DICOM and de-identification knowledge for anonymizing cases and checking pixel data
If one of these areas is missing, bring in a partner for that part only. Whichever path you take, keep the script execution and export routes disabled, as the Orthanc security FAQ advises, and enable authentication before allowing remote access.
Does a small Orthanc teaching library need PostgreSQL to scale?
A small teaching library should stay below the point where the built-in SQLite index becomes a limit, so it can run on SQLite at first. The Orthanc scalability FAQ recommends replacing SQLite with an enterprise database engine once the server stores several hundred thousand DICOM instances. Track instance counts against that point and plan the move before you reach it. If the library grows past it, the PostgreSQL plugin is the documented route for large datasets. Since Orthanc 1.9.2 with PostgreSQL plugin 4.0, multiple Orthanc instances can read and write the same database, which supports horizontally scaled setups. Confirm the plugin's AGPL terms before you adopt it, and test the migration on a copy of the index first.
Are Orthanc and DeployOpen certified for FERPA compliance?
No. Neither Orthanc nor DeployOpen is FERPA certified. FERPA's regulations in 34 CFR Part 99 apply to the institution, which remains responsible for compliance. A contractor may receive education records as a school official only under the conditions in 34 CFR 99.31(a)(1)(i)(B), including direct institutional control over the use and maintenance of the records. The institution must use access controls so users see only the records in which they have a legitimate educational interest (34 CFR 99.31(a)(1)(ii)), and must keep a record of disclosures (34 CFR 99.32). DeployOpen prepares systems, controls and evidence for your compliance review, but it does not issue audit reports or certifications. Ask your counsel to confirm whether any case could identify a student, because that decides which rules apply.
How DeployOpen scopes and delivers an Orthanc teaching library
DeployOpen plans and deploys Orthanc for medical education inside your own infrastructure, so teaching images stay under your control. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Each step below shows what the written scope covers.
How we scope
- Agree which courses, cohorts and image sets the library serves, and who may view each.
- Map the access model: public course access, read-only demo setups and enrolled-learner access, each with a defined audience.
- Confirm which student and patient data rules apply with your compliance team before loading any records.
How we build
- Deploy Orthanc in your infrastructure with the database and storage choices fixed in the written scope.
- Configure the Moodle integration over LTI 1.3 and confirm the Moodle version, PHP and database requirements for that release first.
- Lock down the server: keep /tools/execute-script and the export route disabled, and require authentication for remote access.
How we hand over
- Anonymize and pixel-mask teaching cases with a documented, repeatable pipeline, and test that identifiers are removed.
- Deliver configuration documentation, the access matrix, the backup procedure and a runbook for course administrators.
- Test sign-in, enrollment, viewer access and the demo account before the library is opened to learners.
How we support
- Ongoing support, upgrades and continuous testing are available under a retainer, with terms agreed in writing.
- Plan Orthanc and Moodle upgrades separately, checking each release's notes before changing the production system.
- Ask for a quote built from the written scope, listing which items are one-time and which recur under the retainer.

