Orthanc for digital pathology labs

Digital pathology labs need whole-slide images that pathologists can open quickly and that IT and compliance teams can review. This page explains how Orthanc fits, what the build involves, and what to confirm before agreeing a fixed scope.

On this page

Orthanc for digital pathology labs: what changes when slides become DICOM

Converting glass slides to scanned images changes more than the scanner. Once whole-slide images are DICOM files, the archive becomes a medical imaging system that pathologists read on-site and remotely, and that IT and compliance teams must be able to review. The lab needs to decide where those files live, who can reach them and which systems call them. Orthanc, a self-hosted open-source DICOM server, can hold and serve the converted images inside the lab's own data centers or cloud accounts, so the archive sits under the same controls as the rest of the lab's clinical data. Because the lab runs the server, it also owns the storage layout, the access rules and the upgrade schedule.

Three areas change first. For storage, Orthanc keeps an index of the converted instances in its own database, and the built-in SQLite index should be replaced by an enterprise database engine once the archive holds several hundred thousand DICOM instances, so the lab should plan for the PostgreSQL plugin early. For access, Orthanc accepts HTTP connections only from localhost by default. Opening it to pathologists on other networks means enabling RemoteAccessAllowed, turning on AuthenticationEnabled, defining users in RegisteredUsers and placing the server behind HTTPS and a reverse proxy. For integrations, the DICOMweb plugin and the Orthanc Explorer 2 interface give other systems a standard way to query and retrieve studies, and every connected tool then becomes a client that must be authorized and logged.

Three parts of the build cannot be settled from the server documentation alone, and each must be confirmed for every site. The first is the conversion toolchain: which software turns each scanner's output into DICOM, what metadata it writes and how it feeds the archive. The second is the viewer. The official Orthanc plugins include the Stone Web and OHIF viewers, but whether any of them meets the review and display needs of your pathologists is a decision to test with representative cases in your own environment. The third is the set of pathology tool links, meaning the LIS, case management or reporting systems that will query or open slides. Record each data flow and its owner before the build starts, because the access settings and the authorization design depend on that record.

Requirements digital pathology labs should set before the Orthanc build

This table lists the requirements a digital pathology lab should settle before building on Orthanc, with the source of each and what it changes in the build. Read each row as a decision to document before configuration starts, because no HIPAA certificate exists to prove compliance. The main takeaway is that remote access, user accountability and the database choice shape the build more than any single setting.

RequirementSourceWhat it means for the build
Remote accessOrthanc security FAQOff by default. Enable it only for named remote readers, with authentication, user accounts and HTTPS through a reverse proxy.
Unique user identification45 CFR 164.312, required specificationGive every pathologist, technician and vendor account its own identity, so each slide view and export traces to one person.
Emergency access procedure45 CFR 164.312, required specificationWrite a break-glass procedure for when the identity provider or viewer is down, and log every use of the emergency account.
Automatic logoff45 CFR 164.312, addressable specificationSet an idle timeout for the viewer and record the decision, along with any equivalent control you choose instead.
Encryption45 CFR 164.312, addressable encryption specificationsDocument whether slide files are encrypted at rest and viewer traffic in transit, with key management recorded alongside the decision.
Business associate terms45 CFR 164.314(a)(2)(i)Hosts, cloud storage, managed database and support vendors touching slides need signed terms covering Security Rule duties, subcontractors and incident reporting.
Disabled destructive routesOrthanc security FAQKeep the script execution route and the file-overwriting export route disabled, and confirm they stay off after each upgrade.
Database and storage growthOrthanc scalability FAQPlan PostgreSQL before the SQLite index reaches several hundred thousand instances, and size storage for whole-slide files from the start.
EU laboratory obligationsNIS2 Annex I; GDPR Articles 32 and 34Require VPN and MFA for outside access, limit viewing to each team's need to know, and plan logs that support breach notices.

How a slide moves from scanner to pathologist on Orthanc

The diagram starts at the slide scanner, whose exported files pass through the DICOM-izer conversion before Orthanc ingests them as DICOM instances. Orthanc keeps its index and image files in the database and file back end inside the lab network. Viewers and pathology tools do not reach Orthanc directly. They connect through a reverse proxy that terminates HTTPS and enforces authentication, and external reviewers enter through the same proxy. Each interface, from the scanner export format to the API the viewer calls, is something to confirm against the Orthanc Book and the converter's own documentation before the design is fixed.

Slide path from scanner to viewer, with trust boundaries and interfaces to confirm.

Which Orthanc modules and settings matter for pathology

Six settings and modules decide how an Orthanc archive for whole-slide images performs as it grows, who can reach it, and what it can expose. Review each one before go-live and record the value you chose. Confirm every setting against the Orthanc version you deploy, since defaults and plugin versions change between releases.

Database back end and multiple instances

The built-in SQLite index should be replaced once the archive holds several hundred thousand DICOM instances. The Orthanc Book recommends the PostgreSQL plugin for large datasets. Since Orthanc 1.9.2 with PostgreSQL or MySQL plugins 4.0, several Orthanc instances can read and write the same database, which supports horizontally scaled and highly available setups. Confirm that the plugin version matches your core release and test failover before the lab depends on it.

Scalability FAQ

Object storage for slide files

Whole-slide files are large, so where the DICOM files physically sit matters as much as the index. Official plugins write to S3, Azure and Google Cloud object storage. Confirm which storage plugin and version your cloud needs, then check how it handles encryption keys, lifecycle rules and restores. Confirm that the bucket or container location meets your residency and retention rules before the first slide is ingested, and test a full restore from the object store.

Plugins list

Access control and remote access

By default Orthanc accepts HTTP connections only from localhost. Enabling RemoteAccessAllowed should be paired with AuthenticationEnabled set to true, with each user defined under RegisteredUsers, and the Orthanc Book recommends HTTPS and a reverse proxy for any Internet exposure. For per-request decisions, the advanced authorization plugin forwards each token to an external service that returns HTTP 403 when access is denied. Confirm that the authorization service is highly available, because every REST call depends on it.

Security FAQ

Viewers for slides and studies

Official viewers include DICOMweb access, Stone Web, OHIF and Orthanc Explorer 2, and each suits different users. Whole-slide viewing is the part to test first: confirm which viewer renders your slide pyramids at the resolution pathologists need, since WSI viewer fit still needs confirmation for your setup. Check browser support, how the viewer authenticates against your access settings, and whether pathologists can reach it from the lab network without extra tunneling.

Plugins list

Disable execute-script and export

The /tools/execute-script route can let a malicious user run any system command, and the export route can overwrite files. Keep both disabled on a production archive, including on any copy exposed through a reverse proxy. Confirm that the proxy blocks these paths as well, and that administrators have a documented change procedure before anyone re-enables a route for a script or migration.

DICOM TLS for partner sites

Orthanc supports DICOM TLS encryption for exchanges with other sites from version 1.9.0. Pathology labs often exchange images with reference laboratories, hospitals and research partners, and each exchange needs both ends configured. Confirm that every partner's DICOM device or Orthanc peer supports TLS, then agree on certificate issuance, renewal and trust lists before cutover. Where a partner forces plain DICOM, document that exception and who approved it.

Planning storage growth in digital pathology from large whole-slide files

Storage growth in a digital pathology lab depends on four inputs you can measure: the size of each whole-slide image, how many slides your scanners produce, how long the archive keeps them, and how the DICOM-izer splits each slide into DICOM instances. Published or generic per-slide sizes rarely match your scanner models, magnification, stain panels and compression settings. Run a trial period on your own scanners and record the bytes and the instance count per slide after conversion. Multiply those figures by planned volume and retention, then add headroom for backups and the database. Ask your scanner vendor which compression the scanner writes natively, because that determines what the converter receives before Orthanc stores anything.

The built-in SQLite index is not sized for a large archive. The Orthanc scalability FAQ advises replacing it with an enterprise database engine once an archive holds several hundred thousand DICOM instances, and it recommends the PostgreSQL plugin for large datasets. Whole-slide conversion can produce many instances per slide, so a lab can reach that threshold sooner than its slide count suggests. Track the instance count from your own monitoring, plan the database migration before you reach the threshold, and test the migration on a copy of the archive. Confirm with Orthanc Team or your internal team which plugin version pairs with the Orthanc release you run.

Backups must cover both the database and the DICOM file storage, and the two must restore to a consistent point in time, so test a restore of both together. Write a deletion policy before go-live: name the roles allowed to delete studies, confirm whether deletions are logged, and check how your storage configuration handles removal before you rely on automated retention. For compression, decide whether to keep the scanner's transfer syntax or transcode, and measure storage savings and viewer response time on your own slides for each option. Before any upgrade, validate Orthanc 1.13.0, released on 2026-08-15, on staging. Its release notes describe a rewrite of storage-area access and DICOM parsing and transcoding, so re-run your conversion, viewing and restore tests against a copy of your archive.

Access models for pathologists, lab IT and outside reviewers

Pathologists and technicians need quick access to slides from lab workstations, and each person should see only what their role requires. The usual pattern is to keep Orthanc off the open network, place sign-in in front of it, and give every person an individual identity. Reading, uploading slides and administering the server should sit in separate roles so that one account cannot do all three.

  • Single sign-on at the proxy or plugin: Authenticate staff against the lab's identity provider, either at a reverse proxy in front of Orthanc or through the advanced authorization plugin, so access follows staff changes. Confirm with the vendor which protocols each option supports.
  • Role separation: Keep viewing, slide upload and server settings in different roles. Technicians who load scans do not need administrative rights.
  • Individual accounts: Shared logins make it impossible to tie a view or an upload to a person, so each user needs their own identity in the logs.
  • Blocked script and export routes: Keep the /tools/execute-script route and the export route disabled for clinical users, because the security guidance warns that they can run system commands or overwrite files.
  • Session timeouts on shared machines: Set idle logoff at the proxy or viewer layer, since lab workstations are often shared between shifts.

The lab must provide an identity provider with group membership, a written role list and a workstation policy. Before go-live, sign in with a test account for each role and confirm that it can reach only the functions that role needs.

Compliance obligations that reach a pathology image archive

Five obligations can reach a pathology image archive, depending on where the lab operates and how its data is used. HIPAA attaches to a lab's role and the ePHI it handles, while 21 CFR Part 11 applies only to regulated electronic records such as trial data. DeployOpen prepares systems and evidence for these reviews but does not issue audit reports or attestations.

HIPAA Security Rule scope

The Security Rule in 45 CFR Part 164 Subpart C applies to covered entities, meaning health plans, health care clearinghouses and covered health care providers, and to their business associates. It covers all electronic protected health information they create, receive, maintain or transmit. Whether your lab is a covered entity or a business associate depends on its own relationships and data flows, so confirm its status with counsel before you scope the Orthanc archive. The answer decides which hosts, backups, viewers and remote connections count as ePHI systems.

Subpart C text

Technical safeguard specifications

The technical safeguards in 45 CFR 164.312 contain 7 implementation specifications. Unique user identification and emergency access are required, so every Orthanc user and service account needs its own identity, and the archive needs a written emergency access procedure. Automatic logoff and both encryption specifications are addressable: you must assess each one and record whether you implement it or why an alternative is reasonable. Orthanc keeps remote access off by default, so decide early how remote users authenticate before you enable it.

Security matrix

Business associate contracts

A business associate contract under 45 CFR 164.314(a)(2)(i) must require the vendor to comply with the Security Rule. It must also flow the same terms down to subcontractors that handle ePHI and require reporting of security incidents, including breaches of unsecured PHI, to the covered entity. For an Orthanc archive, list every party with access to images, including hosting providers, backup services and implementation partners, and confirm each one is covered by a contract that carries these terms. Ask counsel to review the wording.

Section 164.314 text

HIPAA has no certification

HHS states that no Security Rule standard requires an entity to certify compliance, and that private certifications do not prevent HHS from later finding a violation. Enforcement comes from the HHS Office for Civil Rights, which acts through complaints, compliance reviews and audits. When a vendor offers a HIPAA certificate, ask what it covers and what evidence supports it. Your own proof is the risk analysis, configuration records, access reviews and audit logs for the Orthanc archive, which you must be able to produce on request.

HHS certification FAQ

EU labs under NIS2 and GDPR

NIS2 Annex I lists health as a sector of high criticality and includes EU reference laboratories, so a lab should check whether that status applies to it. On 3 September 2026, the CNIL fined a French hospital EUR 500,000 under GDPR Articles 32 and 34. It found that external access to the patient record system lacked VPN and multi-factor authentication, and that access control ignored the care team's need to know. For an Orthanc archive, review remote access paths, MFA on administrative logins and slide access by role.

GDPR text

How a pathology archive rollout runs in phases

The rollout moves an Orthanc archive from agreed scope to a handed-over production service in six phases, with each phase closing on a written check. Each phase needs specific inputs from the lab, so the sequence also shows the lab's IT and quality staff when they must be available. The result is an archive the lab can operate, audit and restore without depending on the people who built it.

  1. Scope and classify data with the lab

    Start with the lab's compliance owner and pathology lead to fix which scanners, stains, slide formats and sites are in scope, and which data is held in each slide's labels, metadata and case records. Bring the scanner list, sample scans, the names of the IT contacts who own the network and identity systems, and the interface specifications for the LIS and viewers. The step ends with a written scope and data classification that name the owner of each data category, which then governs the access and retention decisions in later steps.

  2. Build a staging instance with sample slides

    Install Orthanc with the deployment method planned for production, whether Docker, Windows or a Linux package, and pin one version after reading its release notes. Use the DICOM-izer to convert a sample set of the lab's slides, chosen by pathologists to cover each scanner and stain type, and load them with test users for each role, such as pathologist, technologist and administrator. Inputs from the lab are the sample slides, the role list and the IT contact who will host the server. The step closes when every test user can open every sample slide in the WSI viewer and the build matches the production plan.

  3. Measure storage and performance with lab scans

    Load the lab's own scans into staging and record, for each scanner and stain type, the converted file size, ingest time and time to first image in the viewer. Include the largest slides the lab produces, because large slides drive storage growth. Ask the lab for expected monthly and yearly scan volume so the figures can be projected. Per the Orthanc scalability FAQ, the built-in SQLite index should give way to an enterprise database once it holds several hundred thousand instances, so this step also decides whether PostgreSQL is needed. The step closes with a written storage and performance report that the lab's IT and pathology leads sign.

  4. Harden HTTPS, authentication and disabled routes

    Turn on HTTPS through a reverse proxy, enable authentication with users defined in RegisteredUsers, and keep AuthenticationEnabled set to true whenever RemoteAccessAllowed is on. Disable the execute-script route and the export route, since the Orthanc security FAQ warns that the first can run system commands and the second can overwrite files. Where roles must differ, test the advanced authorization plugin with the lab's identity provider. Inputs: certificates and network ranges from the IT contacts, the identity provider details, and the role matrix. The step closes when a scripted check confirms that unauthenticated requests are refused, the two routes are blocked, and the results are filed for the security review.

  5. Test integrations against a written plan

    Run the WSI viewer, each pathology tool and any DICOMweb or DICOM client against staging using a written test plan. Each case records its input slide or study, the expected result, the tester and the pass or fail outcome, and covers the daily paths pathologists use, such as opening a case, navigating a slide and exchanging data with the LIS as the interface specifications describe. Inputs: those specifications, vendor contacts for each tool, test accounts and slides with known outcomes. Every failure is fixed, retested and logged. The step closes when the pathology lead signs the plan with every case passed or accepted as a documented known issue.

  6. Cut over after a restore test

    Before the production build is fixed, read the release notes for the exact Orthanc version and each plugin, and repeat the affected staging tests if anything changed. Schedule the cutover with the lab, load the production configuration and migrate the data. Then run a backup restore test into a separate instance and confirm that a sample of slides opens from the restored copy. Hand over the runbooks, admin accounts, monitoring contacts and the restore procedure to the lab's IT team. The step closes with a signed restore record and handover sign-off from the compliance owner and IT lead.

What pathology labs ask before hiring an Orthanc partner

What drives the cost of an Orthanc implementation for a pathology lab?

Cost follows the written scope. DeployOpen does not publish a price list, so it quotes from the scope you agree before work starts. The main drivers are the number of viewers, PACS, laboratory systems and image tools to connect, the storage design (local disks, object storage through the S3, Azure or Google Cloud plugins, or a database plugin), identity and access control, and the validation evidence your compliance team needs. Orthanc has no paid edition. Orthanc Team sells deployment, configuration and development services, including pre-paid dedicated support hours valid for 12 months, quoted on request. Ask every bidder to split the quote into one-time build work, recurring support and hosting, and storage growth, so you can compare the same line items.

How long does a digital pathology Orthanc deployment take?

Duration depends on scope, so no single timeline applies to every lab. Ask for a phased plan in the written scope before you commit. The main factors are how many integrations must be built and tested, how the DICOM-izer and WSI web viewer are configured for your slides, the storage design and how much existing archive must be imported, identity integration with your single sign-on, and the validation work your quality or compliance team requires. Waiting on network approvals, scanner vendor responses or access to sample slides moves dates, so ask for milestones tied to the inputs each one needs from your side. Confirm which milestones depend on work outside the partner's control, and who owns each dependency.

What does a pathology lab need to provide before work starts?

Before work starts, the lab provides the information and access that a written scope depends on, because a storage or integration plan cannot be designed without it. Typical inputs include a list of slide scanners and their output formats, the pathology information system and any laboratory or image management tools to connect, sample slides for conversion testing, the expected yearly slide volume and retention rules, and the identity provider and group structure for single sign-on. You also supply network and firewall rules, the hosting location in your cloud accounts or data center, backup and retention requirements, and a named owner who can approve decisions. Confirm who gives privacy and compliance sign-off, since that person defines the evidence the build must produce. Write these inputs into the scope so gaps show up before the quote is final.

Can our own IT team deploy Orthanc for whole-slide images without a partner?

It can, if your team already runs Linux services, containers and DICOM systems, but whole-slide imaging adds work beyond a basic install. Orthanc is distributed for Windows, macOS and Linux, and as Docker images, so a team with Linux and container experience can stand up a test server quickly. The harder parts are database and storage design for very large files, DICOM networking with scanners and PACS, identity integration, hardening of the REST API and any remote access, upgrades across core and plugin versions, and validation evidence. Test whether your team can cover each area and who will be on call for it. A split model is also possible, where your team operates the platform and a partner handles design, integration or upgrades. Compare the staff time and on-call load with a written scope from a partner before you decide.

Which Orthanc parts are under GPLv3 and which under AGPLv3?

The Orthanc core is licensed under GPLv3 or later, while the scalability and cloud plugins, such as the PostgreSQL and web viewer plugins, are licensed under AGPLv3 or later. Your obligations depend on how you use, modify and distribute each component, and AGPLv3 includes terms for software that users interact with over a network. The Orthanc Book licensing FAQ explains the project's position, including that copyright is shared among several contributors and that some UCLouvain contributions cannot be dual licensed. DeployOpen documents the components and versions in your build, and your counsel confirms what those licenses require for your deployment.

Is there a HIPAA certification for Orthanc or for a hosting partner?

No. HIPAA has no certification, and HHS states that no Security Rule standard requires an entity to certify compliance. HHS also says a private certification would not stop it from later finding a violation, so a vendor offering a HIPAA certificate should be asked for the underlying evidence instead. The HHS Office for Civil Rights enforces the Security Rule through complaints, compliance reviews and audits. For a pathology archive, the practical work is to map the technical safeguards in 45 CFR 164.312, such as unique user identification, emergency access, automatic logoff and encryption, to the system design and document how each is met. A business associate contract under 45 CFR 164.314 also applies when a vendor handles ePHI. Ask each vendor which evidence it will provide and who will review it.

Does DeployOpen issue audit reports, attestations or certifications for our archive?

No. DeployOpen does not issue audit reports, attestations or certifications, because independent auditors and certification bodies perform those assessments. What DeployOpen does is prepare systems, controls and evidence for a compliance assessment. In an Orthanc engagement, that can include documented configuration baselines, access control settings, audit logging and backup procedures, arranged in the form your assessor will review, along with security testing of applications, APIs and infrastructure. The written scope should name the controls in scope, the assessor who will review them and which evidence your team owns after handover. Ask your assessor early what artifacts they expect, so the evidence matches their request. Your compliance team remains responsible for the lab's compliance posture.

When should a pathology Orthanc move from SQLite to PostgreSQL?

The Orthanc Book recommends replacing the built-in SQLite index with an enterprise database engine once a server stores several hundred thousand DICOM instances, and it recommends the PostgreSQL plugin for large datasets. Large slide files also drive storage growth, which makes early sizing worthwhile. Since Orthanc 1.9.2 with PostgreSQL or MySQL plugins 4.0, several Orthanc instances can read and write the same database, which supports horizontally scaled and highly available setups. Ask the implementer to size the index, storage layout, backup window and PostgreSQL high availability design against your expected slide volume, and to test a restore before go-live. Planning the move early is usually less disruptive than migrating a database that already holds years of slides.

How DeployOpen scopes and delivers a pathology Orthanc archive

DeployOpen approaches Orthanc for digital pathology labs as a fixed-scope implementation inside your own infrastructure. The work starts with a written scope covering slide conversion, the web viewer, storage growth and the tools your pathology workflow connects to. Each stage ends with documented decisions your team can review and keep.

How we scope

  • Written scope listing the slide formats, daily volumes and sites that the Orthanc archive must serve.
  • Storage plan for growth from large slide files, including the database engine and the object storage option.
  • Access model for pathologists, referring clinicians and administrators, including whether authentication runs through your identity provider.

How we build

  • Orthanc deployment on Docker, Linux packages or Windows, with the PostgreSQL plugin for the index database.
  • DICOM-izer conversion of scanned slides, tested against sample files from each scanner before go-live.
  • Security hardening: authentication enabled, remote access over HTTPS through a reverse proxy, and script and export routes disabled.

How we hand over

  • Configuration, runbooks and a record of every setting that differs from the Orthanc defaults.
  • Backup and restore procedures, with a restore test your team observes.
  • Evidence packs for your compliance and security reviewers, prepared from the configured controls and logs.

How we support

  • Optional retainer covering upgrades, continuous testing and ongoing support for the Orthanc core and plugins.
  • Upgrade planning against Orthanc releases, including database schema changes and PostgreSQL server upgrades.
  • Compare Orthanc Team prepaid support hours, valid for 12 months, with the scope and retainer you need.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.