How anonymizing DICOM studies with Orthanc works and when to use it
A research or data-sharing team that needs to release imaging without patient identifiers faces two separate problems: removing identifying attributes from DICOM headers, and making sure nothing identifying remains in the pixels or in free text. Orthanc can handle the header side through its anonymization operations, but it does not decide for you what counts as identifying. The DICOM standard describes de-identification in PS3.15 through confidentiality profiles, each with options such as retaining dates, device details or patient characteristics. Orthanc applies the attribute actions you configure, so the profile you follow must be chosen and documented by your organization. Confirm the profile version and its attribute list against the current edition of PS3.15 before you build any rules, because the standard is revised over time.
Orthanc's anonymization covers the tags you name in the request, whether you keep, remove, replace or generate them, and it can produce consistent pseudonyms so that the same patient or study maps to the same identifier across exports. It does not inspect burned-in text in pixel data, read free-text fields such as descriptions or reports for names, or shift dates according to a policy you have not defined. Each of these needs its own control: a pixel masking step, a review of free-text content and a written decision on dates and ages. Plan a test set from representative modalities and check the output with a DICOM viewer and a tag dump before release. The Orthanc REST API lets you script these steps as jobs, but the review and sign-off remain a human task.
Consider outside help when the release is recurring, when several sites or modalities feed the same pipeline, or when the data-sharing agreement or an ethics or privacy review will ask how each tag was handled. A partner can map your profile decisions to Orthanc configuration, build and test the bulk jobs, and document the evidence a reviewer will request. Ask any partner to show how they confirm the profile version, how they test pixel and free-text exposure, and what they hand over at the end. Ask your privacy or legal team to confirm the de-identification standard that your data-sharing terms require, since that choice determines which tags must be handled.
What counts as identifying in a DICOM study
A DICOM study carries identifiers in far more places than the patient name and ID fields. Each location below needs a decision about whether Orthanc's anonymization handles it directly or whether a separate control must cover it before the study leaves your environment.
Header attributes
Patient name, ID, birth date, accession number, referring physician and institution name sit in standard header tags. Orthanc's anonymization can replace or remove these using the PS3.15 profile, so this is the part you can usually handle directly. Check the output of each study against your own list of identifying tags, because sites often add local fields that the default profile does not know about.
Orthanc security FAQPrivate tags
Modalities and vendors write proprietary data into private tags, and these can contain names, operator IDs or free text that no standard profile lists by name. Removing private tags is a policy choice that can break viewer behavior and later analysis. Inventory which vendors and modalities feed your archive and decide per source whether private data is kept, removed or reviewed by hand.
UIDs and linkage
Study, series and instance UIDs are not names, but they let anyone link a de-identified study back to the original archive if the replacement mapping is kept. Consistent pseudonyms preserve the links your research needs, so the replacement scheme must be designed together with who holds the mapping. Ask who can reverse a pseudonym and where the lookup table is stored.
Dates and times
Study dates, acquisition times and age fields can identify a patient when combined with rare findings or small populations. Orthanc can shift or remove dates through its anonymization options, but the shift must be consistent across a cohort or time-based analysis breaks. Confirm with your research or ethics lead how much date precision the release needs.
Descriptions and free text
Study descriptions, series descriptions, comments and protocol names are typed by staff and often contain a patient name, a referral note or an internal case number. These fields are easy to miss because they look harmless in a viewer. Sample a set of studies from each modality and read the text fields yourself before setting a bulk rule.
Burned-in pixels and embedded reports
Some ultrasound images, scanned forms and secondary captures carry names or IDs as pixels, and encapsulated PDFs can hold a full report. A header-level tool cannot see either of these, so they need a separate pixel masking step and a manual review of embedded documents. Orthanc's Pixels Masker covers the first case, but you must check results before release.
Anonymization options and when each fits
This table compares the main ways to de-identify Orthanc studies: profile-based anonymization, keeping selected tags, replacing tags with fixed values, consistent pseudonyms, and bulk jobs versus per-study calls. Read each row for the situation it suits and the risk it carries, then confirm the exact behavior against the Orthanc version you run. The main takeaway is that the choice of method matters less than the review step that checks residual identifiers before release.
| Option | When it fits | What it risks |
|---|---|---|
| Standard profile-based anonymization | Broad de-identification where the destination accepts a standard profile and you do not need to retain specific clinical fields | Profile versions differ, so confirm which PS3.15 profile version your build applies and what it removes; it may strip fields your research needs |
| Keeping specific tags | Research that needs fields such as modality, acquisition parameters or study description retained after anonymization | Each kept tag can carry indirect identifiers such as dates, institution names or rare device details; review kept values before release |
| Replacing tags with fixed values | Removing identifiers while keeping a stable, known placeholder for every study in a dataset | Fixed placeholders can break downstream tools that expect valid values, and a missed tag may still carry the original identifier |
| Consistent pseudonyms across studies | Longitudinal research where one patient's studies must link together without exposing the real identifier | Pseudonym mapping becomes sensitive material; protect the key store and confirm who can reverse the mapping |
| Per-study calls | Small batches, testing a new rule set, or reviewing each result before the next study is processed | Slower for large volumes and easier to miss a study if the calling script does not track progress |
| Bulk anonymization jobs | Large archives where the same rules apply to many studies and job status is monitored through the REST API | A wrong rule is applied at scale; test on a sample, monitor failures and keep the source data until output is verified |
| Burned-in pixel text | Images where identifying text is embedded in pixel data, which tag rules cannot remove | Tag-based methods leave pixel text untouched; plan a separate masking step and check masked regions before release |
Keeping, replacing and pseudonymizing tags without breaking research use
Every tag you keep, blank or replace changes what a researcher can do with the data afterward, so the keep and replace decisions should be made from the study question, not from a default profile. Patient-level linkage usually depends on a small set of identifiers such as the patient ID, study date and accession-related fields, while age, sex and modality often carry the analytical value. Review the tags that matter for your project against the anonymization settings you plan to apply in Orthanc, and record each decision with its reason. Date fields deserve particular attention, because shifting or removing them can break temporal analyses that the protocol depends on. Confirm in the Orthanc Book how each keep, blank and replace action is expressed in your version, since the exact handling of sequences and private tags is version-specific.
Consistent pseudonyms are what let a multi-site or longitudinal project link records without exposing identities, but they only work if the mapping from real identifiers to pseudonyms is written down and controlled. Decide which fields receive a stable pseudonym across all studies, who holds the mapping table, where it is stored, and how it is protected from the data recipients. Keep the mapping outside the exported dataset and under the same access controls as the source archive. Treat a lost or altered mapping as a data integrity incident, because it can make later linkage impossible or, worse, silently wrong. Test the approach on a small illustrative set of studies before running it on the full archive, and check that the same input always yields the same output across repeated runs.
UID remapping is the step most likely to surprise a team that expects to re-import data later. When Orthanc replaces study, series or instance UIDs, the anonymized copy no longer matches its origin in the DICOM hierarchy, so a return import can create new records rather than update existing ones unless the remapping is reversible through your own mapping. Decide whether the project needs reversible UIDs at all, and if it does, store the UID mapping with the pseudonym table and document how it is used. Ask the team that maintains your Orthanc instance to confirm, for your version, how the overwrite and duplicate handling behaves when an anonymized study arrives back in the archive. Run a re-import test before the first release so that the behavior is known rather than assumed.
How to set up an anonymization workflow in Orthanc
This sequence moves a de-identification request from a written release policy to a verified, exportable set of studies. Each step ends with a check, so the team knows whether to continue, correct the profile or stop before any data leaves the archive.
Define the release policy and profile
Before any configuration, the data owner, privacy lead and imaging lead agree in writing what the released data is for, which DICOM PS3.15 profile version and options apply, which tags must be kept (for example, for research analysis), which tags must be replaced, and who approves each release. Confirm the exact profile version your policy cites against the current DICOM standard, since profile options change between editions. The step is done when the policy names the profile, the kept and replaced attributes, and an approver.
Isolate a test instance
Stand up a separate Orthanc instance that holds only copies of the sample studies, with no route to the clinical archive and no automatic forwarding to other peers or modalities. Disable script execution and export routes as the Orthanc security FAQ advises, and restrict remote access to authenticated users. The step is done when a test study pushed to this instance cannot reach any production destination and the team can show the network and configuration boundaries.
Configure the anonymization request
Build the anonymization request for the test instance using the REST API or a script, specifying the profile options from the release policy, the tags to keep, the tags to replace and how replacement values are generated. Where the same patient must map to the same pseudonym across studies, decide the pseudonym scheme and record it in the policy. The step is done when the request is saved in version control and a reviewer has confirmed each keep and replace entry against the policy.
Run the anonymization on a sample
Send a small, representative sample of studies through the request, covering different modalities, vendors and series structures. Use the job created by the request to produce anonymized copies while leaving the originals untouched. The step is done when every sample job completes without errors in the job list and the output instances are present in the test instance under new identifiers.
Inspect the output tags
Compare original and anonymized instances tag by tag, looking for patient identifiers, dates, institution names, device serial numbers, private tags and sequences that the profile did not cover. Check that kept attributes still carry the values analysis needs and that replaced values are consistent across the sample. Document each unexpected finding and adjust the request. The step is done when a reviewer signs off a tag report with no unresolved identifiers.
Add pixel masking where needed
Where images carry burned-in text such as patient names, dates or accession numbers, apply pixel masking with the Orthanc Pixels Masker for the affected series, and confirm that the mask regions cover the text on every modality and layout in the sample. Tag-level anonymization does not remove pixel content, so this step is required for any series with visible text. The step is done when masked samples are reviewed frame by frame for the affected series and the masking rules are recorded with the release policy.
Run bulk jobs with monitoring
Once the sample passes, run the full cohort as a bulk job, batching studies to keep load predictable, and monitor job status, failures and retries through the REST API or Orthanc Explorer 2. Keep the original archive read-only throughout. The step is done when all jobs report completion, failed items are reprocessed or excluded with a recorded reason, and the instance count matches the cohort manifest.
Verify before export
Before anything leaves the test instance, rerun the tag and pixel checks on a random sample of the full output, confirm the count and identifier mapping against the manifest, and have the approver sign the release record. Export only through the approved channel for the recipient. The step is done when the signed release record, the verification results and the export manifest are stored together, so the release can be audited later.
How source studies move through anonymization to release
The flow starts at the source Orthanc, which holds identified studies inside the hospital or research network. A REST call sends each study through the tag rules, an optional pixel masking step, and a verification check before anything leaves the identified zone. Only verified, de-identified studies cross into the release store. The trust boundary sits between those two zones, so the check that matters is whether anything identifying crossed it.
Studies move from the identified zone to a separate release store only after verification.
Security and operational controls around anonymized output
Anonymization removes identifiers from the copy, but the source archive, the Orthanc API and the release record still hold patient data and need their own controls. The cards below cover access to the source, the routes that must stay closed, remote access settings, service accounts for jobs and the audit trail of each release.
Restrict access to the source archive
The original, identified studies stay in the clinical archive, and only a small group should be able to read them and start anonymization jobs against them. Keep the source and the research output in separate Orthanc instances or separate storage areas, so a mistake in the output path cannot overwrite or expose the originals. Ask your team to confirm who holds administrator rights on each instance and review that list on a fixed schedule.
Orthanc security FAQKeep script and export routes disabled
The Orthanc security FAQ warns that the /tools/execute-script route can let a malicious user run any system command, and that the export route can overwrite files. Both should stay disabled on any instance that holds patient data or receives anonymization requests. Check the configuration and confirm the routes are not reachable through the reverse proxy, since a route that is blocked on the server but open upstream still creates the exposure.
Enable remote access only with authentication
By default Orthanc accepts HTTP connections only from localhost. If RemoteAccessAllowed is enabled, AuthenticationEnabled should be true, with each user defined in RegisteredUsers, and the API should be reached over HTTPS through a reverse proxy. Confirm that no unauthenticated path exists for the anonymization endpoints, and test that a request without credentials is refused.
Use service accounts for anonymization jobs
Scheduled or bulk anonymization should run under a dedicated service account with only the permissions the job needs, not under a person's login. Store its credentials in a secrets manager, rotate them on a schedule, and disable the account when the project ends. This makes each job traceable to a defined identity and keeps personal access revocable without breaking the pipeline.
Record who released what
Each release should log the source study identifiers, the profile and tag rules applied, the destination, the requester and the approver. Orthanc's own logs and job history cover parts of this, but a release register held outside the archive is easier to review during a data access request or an incident. Ask your team to confirm how long these records are kept and who can read them.
Separate authorization from the API
When many teams need access to research outputs, a central authorization decision is easier to audit than per-user settings spread across instances. The advanced authorization plugin forwards each REST request's token to an external web service that allows or denies it, returning HTTP 403 when access is refused. Evaluate whether this model fits your identity provider before you rely on it for release control.
Authorization plugin docsWhat each team checks before release
Privacy and compliance reviewers own the question of whether a released study still identifies a patient. Their checks focus on the DICOM header and on what the pixel data reveals, and they need evidence they can file, not a statement that the script ran. The reviewer should be able to say which de-identification profile was applied, which tags were kept on purpose, and why each kept tag is acceptable for this release.
- Tag dumps before and after: Compare a dump of the original study with the anonymized output and confirm that patient, physician, institution and date fields are removed or replaced as the profile requires.
- Kept-tag justification: Review every tag the configuration keeps, such as study dates or device details, and record the reason in the release file.
- Pixel review samples: Open a sample of images from each modality and series and look for names, identifiers or dates burned into the image, since header changes do not remove them.
- Private tags and free text: Search private groups and description fields for names or record numbers that a standard profile may not catch.
- Sign-off record: Keep the reviewer's approval, the configuration version and the job identifier together so the release can be traced later.
The reviewer's check is only as good as the sample, so confirm the sampling rule with your own privacy office before the first release.
Research data managers own whether the released dataset is usable and internally consistent. A study can be fully anonymized and still be useless if the same patient no longer links across studies, or if dates have been shifted in a way that breaks the analysis. Their checks are about structure, linkage and completeness, and they should be run against the exact dataset that will be shared.
- Pseudonym consistency: Confirm that one source patient maps to one pseudonym across all studies in the batch, and that different patients never share a pseudonym.
- Date handling: Check that intervals between studies for the same patient are preserved if the analysis depends on them, and that shifted dates match the rule in the approved configuration.
- Instance counts: Compare study, series and instance counts between the source selection and the output so that no images were silently dropped.
- Modality and series coverage: Confirm that every modality the research question needs is present and that excluded series are listed in the release notes.
- Dataset manifest: Produce a manifest that lists identifiers, counts and checksums so the recipient can verify what they received.
Ask the data owner to state which linkage and date rules the research protocol requires, then confirm the output against that statement rather than against a general profile.
The platform team owns whether the anonymization run itself is reliable and reproducible. They check that the job did what the configuration said, that the server was not changed in ways that affect the output, and that the source archive is intact. Their evidence is operational: job logs, configuration versions and access records.
- Job logs: Review the Orthanc job output for each batch, looking for failed, retried or partially completed jobs before any output is exported or released.
- Configuration version: Record the script or configuration version used for each run, and confirm that it matches the version the privacy reviewer approved.
- Source and output separation: Confirm that anonymized studies are stored apart from the identified source, and that the source is not reachable from the release path.
- Access and audit logging: Check who triggered the jobs, which service account ran them, and whether the audit records are retained according to your policy.
- Restore test: Confirm that a released batch can be reproduced from the source and the recorded configuration if the output has to be rebuilt.
Confirm with your Orthanc version and deployment model which logs and job states are available and how long they are kept, because these details decide what evidence you can actually present.
Limits to confirm in your environment
Anonymization output is only as dependable as the limits behind it. The cards below list the points to verify against the Orthanc release you run, your own tag policy and your organization's privacy review before any study leaves your control.
Profile support in your release
Confirm which DICOM PS3.15 de-identification profile options your Orthanc release implements, and test each profile you plan to use against sample studies from your modalities. Profile behavior has changed across releases, so a configuration validated on one version is not automatically valid on another. Record the exact version in the anonymization runbook, and retest after every core upgrade, including the 1.13.0 line released on 2026-08-15.
Orthanc security FAQPrivate tag handling
Private DICOM tags are vendor-defined and often carry names, identifiers, device serials or free text that a standard profile does not recognize. Decide whether each private tag is removed, kept or replaced, and document the rule per modality and vendor. Ask your imaging vendors which private groups they write, and check a sample of exported instances for identifying content that survived the run.
Burned-in text reliance
Tag-level anonymization does not touch text drawn into the pixel data, such as names on ultrasound screens or secondary captures. Plan to mask these regions with the Pixels Masker where your data contains them, and confirm the region definitions per series and per device model. Review a representative set of images visually before release, because no tag rule will catch text that lives in the pixels.
Date shifting policy
Shifting dates keeps intervals between studies usable for research, but the shift must be consistent for each patient and must not reveal the real dates through age, study timing or sequence. Confirm with your research and privacy leads whether a fixed offset, a per-patient offset or a removal of dates is required, and test how each option affects age-based fields and time-series analysis.
Pseudonym consistency across batches
Consistent pseudonyms let a patient's studies link together across batches and sites, but the mapping itself becomes sensitive data. Decide where the mapping is stored, who may access it, how it is backed up and how it is retired. Confirm that the same input identifier produces the same output across separate bulk jobs and after any Orthanc restart or upgrade.
Privacy determination remains yours
Running a profile does not establish that a dataset is de-identified under your legal framework. Your organization, or the data protection officer and privacy counsel it designates, must make that determination for each release, considering re-identification risk, the recipient and any contractual terms. Treat the anonymization output as one input to that review, and keep the review record with the release.
Questions teams ask before anonymizing with Orthanc
How much does it cost to anonymize DICOM studies with Orthanc?
Orthanc itself has no license fee, since there is no paid edition, so the cost is the people and time to set up the workflow, review the output and govern the release. Orthanc Team SRL sells services on request and quotes them separately, and DeployOpen quotes from a written scope. The main cost drivers are the number of modalities and vendors, how many tag profiles you need, whether burned-in pixel text must be found and masked, and how much evidence your governance process requires. Ask any quote to separate one-time build work from recurring tasks such as rerunning jobs when rules change.
How long does a DICOM anonymization project take with Orthanc?
Duration depends mainly on the variety of source data and the review standard you must meet, not on Orthanc alone. Teams usually spend the most time on profile decisions, testing a representative sample of studies from each modality and site, and agreeing on what counts as an acceptable release. A project with one modality and a simple tag profile is far shorter than one covering several vendors, private tags and burned-in text across many series. Ask for milestones tied to sample review and sign-off rather than a single end date.
What does our team need to provide for an anonymization engagement?
You need to supply a sample of representative studies, a written statement of what the data is for and who will receive it, and the rules that decide which tags must be kept, removed or replaced. You also need an Orthanc environment in your infrastructure where test work can run, an owner who can approve the output, and access to your privacy or ethics contacts. Expect to provide the reference documents your governance team already uses. Without these inputs, any partner will have to guess at the tag decisions, which is the most expensive part to correct later.
Can our own team anonymize DICOM studies with Orthanc without a partner?
Yes, a team with DICOM and Orthanc experience can do the core work, since Orthanc exposes the REST API and scripting options needed for bulk jobs. The harder parts are interpreting the PS3.15 profile choices for your use case, checking pixel data for burned-in identifiers, and proving that pseudonyms stay consistent across batches. Teams that lack DICOM depth often underestimate these tasks. A useful test is whether someone on your staff can explain each tag decision and show a reviewed sample before a bulk run starts.
Which Orthanc security settings matter before running anonymization jobs?
Keep the server's protections in place while anonymization runs, because the job touches identifiable patient images. By default Orthanc only accepts HTTP connections from localhost, and if remote access is enabled, authentication should be on with users defined in the registered user list, plus HTTPS and a reverse proxy for any Internet exposure. Keep the script execution and export routes disabled, since the Orthanc security FAQ warns that the first can run system commands and the second can overwrite files. Restrict who can start jobs and record who did.
Does anonymizing a study remove burned-in names from the pixels?
No, DICOM tag profiles only change header metadata, so names or IDs written into the image pixels remain unless you handle them separately. Identifying text can appear in screenshots, secondary captures or ultrasound overlays, so you need a pixel review step for each modality that produces them. Orthanc's Pixels Masker plugin is a separate tool for this work, and its results still need checking on a sample before release. Confirm with your privacy office what counts as an identifier in pixel data for your release.
Will the pseudonyms stay the same across batches and sites?
Pseudonyms stay consistent only when the same input identifier always maps to the same replacement, which requires a deliberate mapping design rather than a default setting. Plan where the mapping lives, how it is protected, who can read it, and how new batches reuse it. Losing or changing the mapping breaks the link between studies that belong to the same patient, and it can also expose the link if it is stored carelessly. Ask for the mapping approach to be documented and tested with a re-run on the same sample.
Who should approve an anonymized study before it is shared?
Approval should come from a named owner who sits outside the team running the jobs, usually a privacy officer, data protection lead or ethics board contact, depending on your rules. The approver should review the tag profile, the sample outputs, the pixel review results and the list of exceptions. Your audit trail should show who approved each release and which rule version was used. Confirm the approval path with your legal and governance teams before the first bulk run, since the requirements vary by country, study type and recipient.
Who should own release rules and sign-off
The privacy office should own the release rules, the research leads should own the exceptions they request, and the platform team should own how Orthanc enforces both. The privacy office decides which de-identification profile applies to each class of sharing, which tags may be kept and why, and whether a study may leave the organization at all. Research leads state the purpose of each dataset and justify any retained attribute such as a date or a site code. The platform team turns the approved decisions into anonymization settings, scripts and job definitions, and it must be able to show that the running configuration matches what was approved. Nobody should be able to change a keep or replace rule in Orthanc without that change passing back through the privacy office.
Sign-off works best as a short written record per release rule, not a verbal agreement. Each record should name the profile version used, the tags kept with a stated reason, the tags replaced and by what method, how consistent pseudonyms are generated and where the mapping is held, and who approved burned-in text handling. The platform team should keep the configuration under version control so that every change has an author, a reviewer and a date. Confirm with your privacy and legal advisers which record format and retention period they require, since those requirements vary by jurisdiction and are not set by Orthanc.
Exceptions need their own route. When a research lead asks to keep an attribute the default profile removes, the request should state the scientific need, the risk to patients, the recipient and the expiry date, and the privacy office should approve or reject it in writing. The platform team should then review the exception before the next run, not after, and record it in the configuration documentation. Ask the platform team to confirm how exceptions are reviewed after an Orthanc upgrade, because a new release can change behavior in ways the sign-off record did not anticipate. Some exceptions may also need the Orthanc Book security FAQ controls on the server to be checked, including who can reach the anonymization routes.
How DeployOpen scopes and delivers Orthanc anonymization
DeployOpen plans, builds and documents Orthanc anonymization inside your own infrastructure, so the de-identification rules, pseudonym handling and release checks are written down and reviewable before any study leaves your environment. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Map which DICOM tags must be removed, kept or replaced for your research or sharing purpose, and record each decision.
- Confirm the PS3.15 profile version and options your data sharing agreement or ethics approval expects.
- Define the burned-in text review approach, including whether pixel masking is in or out of the written scope.
How we build
- Configure Orthanc anonymization jobs and tag rules in a test environment with representative, non-patient sample data.
- Design consistent pseudonym handling so the same patient maps to the same identifier across exports and re-sends.
- Test each rule set against sample studies and document the checks that confirm no direct identifiers remain.
How we hand over
- Deliver the tag rule set, job configuration and runbook as documentation your team can review and version.
- Walk your operators through running bulk jobs, reviewing output and handling failed or rejected studies.
- Record the verification steps used for each release so your compliance and privacy reviewers can inspect them.
How we support
- Offer ongoing support, upgrades and retesting as a retainer when your anonymization rules or Orthanc version change.
- Retest the rule set after each Orthanc upgrade, since release notes can change parsing and transcoding behavior.
- Confirm with your privacy office how long de-identified outputs are retained and who approves each release.

