Why De-Identification Matters
Medical imaging datasets are invaluable for clinical research, AI model training, and multi-site collaborations. However, DICOM files embed dozens of tags containing Protected Health Information (PHI) — patient names, dates of birth, medical record numbers, referring physician names, and institutional identifiers. Sharing these files without proper de-identification violates HIPAA, GDPR, and most institutional data-governance policies.
HIPAA Safe Harbor Method
The HIPAA Privacy Rule defines two de-identification methods. The Safe Harbor method requires removing 18 categories of identifiers, including names, geographic data smaller than a state, dates (except year), phone numbers, email addresses, Social Security numbers, medical record numbers, and biometric identifiers. In the DICOM context, this translates to specific tags: (0010,0010) Patient Name, (0010,0030) Patient Birth Date, (0010,0020) Patient ID, (0008,0050) Accession Number, and many others.
Categories of PHI in DICOM
- Patient Demographics: Name, birth date, address, telephone, region and country of residence, occupation, responsible person.
- Patient Characteristics: Sex, age, size, weight and ethnic group — kept by the standard's Retain Patient Characteristics Option.
- Patient Identifiers: Patient ID, other patient IDs, issuer of patient ID, medical record locator.
- Institution and Device: Institution name, address and department; station name and device serial number.
- Physicians and Other Persons: Referring, consulting, performing and requesting physicians, operators, content creators.
- Dates and Times: Study, series, acquisition and content dates and times — all can be combined with other data to re-identify patients.
- Study and Accession IDs: Accession number, study ID, requested procedure and procedure step IDs — often used as cross-references in hospital systems.
- Descriptions and Comments: Study, series and protocol descriptions, admitting diagnoses, reasons for the procedure, image comments — free text that often carries names.
- UIDs: Study, series, SOP instance and frame-of-reference UIDs, which can link a file back to the hospital's archive.
- Private Tags: Vendor-specific tags (odd group numbers) may contain proprietary patient-identifiable data that standard de-identification profiles miss.
Empty vs. Placeholder Mode
The profile decides per attribute whether it is removed, emptied or given a dummy value; the mode only changes the attributes the profile empties (action Z). In empty mode they are left zero-length; in placeholder mode they get a neutral dummy such as "ANONYMOUS" for a name or "19000101" for a date, which helps downstream software that expects non-empty values. Attributes the profile removes (action X) are removed in both modes, and attributes that must keep a value (action D) always get a dummy.
DICOM Confidentiality Profiles (PS3.15)
Beyond HIPAA Safe Harbor, the DICOM standard itself defines formal confidentiality profiles in Part 15, Annex E. The Basic Application Level Confidentiality Profile specifies actions (D = replace with dummy, Z = zero-length, X = remove, K = keep, U = replace the UID consistently) for more than 650 attributes in Table E.1-1. Supplementary profiles include Retain Safe Private Option (keeps marked-safe private tags), Retain UIDs Option (preserves Study/Series/SOP Instance UIDs for longitudinal tracking), Retain Patient Characteristics Option (keeps age, sex, and body measurements when needed for research), and Retain Device Identity Option (preserves equipment serial numbers for calibration studies).
Choosing the right profile combination depends on your use case. Multi-site clinical trials typically apply the Basic Profile with Retain UIDs so that follow-up scans can be linked. AI training datasets often use the Basic Profile without any retain options for maximum privacy. Understanding these profiles helps you configure de-identification rules that meet both regulatory requirements and research needs simultaneously.
Re-identification Risks and Mitigation
Even after removing all 18 HIPAA Safe Harbor identifiers, residual re-identification risks remain. Unique imaging characteristics — such as dental structures in head CTs, surgical implant serial numbers visible in pixel data, or rare pathology patterns — can potentially link de-identified images back to individuals. Quasi-identifiers like combinations of age, sex, and geographic region can narrow down patients when cross-referenced with external datasets.
Mitigation strategies include date shifting (applying a random but consistent offset to all dates within a patient's study set), k-anonymity verification (ensuring at least k records share the same quasi-identifier values), and pixel scrubbing (detecting and redacting burned-in text overlays using OCR-based tools). For high-risk datasets containing facial structures or rare conditions, consider applying defacing algorithms that remove recognizable facial geometry from volumetric head scans while preserving brain anatomy.
Best Practices
Always verify de-identification results by re-inspecting the output file. Check that burned-in annotations on pixel data (ultrasound headers, CR overlays) are handled separately, as tag-level de-identification does not modify pixel data. Maintain a log of which categories were removed and which mode was used. For multi-site research, agree on a common de-identification profile before exchanging datasets to ensure consistency across institutions.
When building de-identification workflows, establish a documented standard operating procedure (SOP) that specifies which profile to apply, which retain options to enable, and how to handle edge cases like corrupted tags or missing values. Archive the SOP alongside your de-identified datasets so that future auditors and collaborators can reproduce the exact process. Periodically review your approach as new DICOM supplements and regulatory guidance are published.
A strong operational pattern is to treat de-identification as a two-step release workflow. First, run a deterministic profile that removes direct identifiers, replaces UIDs as needed, and records which categories were touched. Second, inspect the output with a tag viewer and, for modalities that commonly burn patient data into the pixels, add a separate visual review step before publication or transfer. This separation of duties is especially useful for teaching archives, AI-training datasets, and cross-border research exchanges where one missed field can invalidate an entire release.
Teams should also define in advance when it is acceptable to retain device and workflow metadata. Keeping manufacturer model name, protocol name, or study description may be necessary for reproducibility, but each retained attribute should map back to a documented business purpose. If an auditor asks why a field was preserved, the answer should be specific: model-performance stratification, reconstruction research, dose analytics, or longitudinal linkage. That level of discipline is what distinguishes a defensible de-identification program from ad hoc file cleaning.
A Worked Example: Preparing a Teaching-File Series
A radiology fellow assembling a synthetic teaching-file series for a resident conference starts by uploading each .dcm file and reviewing the PHI scan results together — confirming that the synthetic patient name, birth date, and referring physician are all flagged. Placeholder mode is the right choice here rather than empty mode, since a teaching archive's cataloging software often expects a non-empty PatientName field to sort and display cases correctly. After de-identifying, the private-tag removal option strips any vendor-specific tags the scanner attached, since those are the least standardized and the easiest category to overlook. Before the series is added to the teaching archive, each file is reopened in a tag viewer to confirm the Patient Identity Removed and De-identification Method tags were set, and every frame is checked visually for a burned-in annotation — a common source of ultrasound and secondary-capture identifiers that tag-level de-identification cannot touch.
When Not to Use This Tool
This tool applies the Basic Profile of DICOM PS3.15 Annex E to the metadata: every attribute of Table E.1-1, at every sequence depth, plus private tags, the File Meta group and the preamble. It does not clean anything the standard leaves to separate Options — it cannot keep "safe" private tags, shift dates, or clean descriptions and structured-report text instead of removing them — and it cannot touch patient information burned into the pixel data itself: a name overlaid on an ultrasound frame survives untouched and needs a separate visual (or OCR-assisted) review. A file whose Burned In Annotation (0028,0301) is YES is therefore never marked as de-identified. UIDs are replaced consistently within one browser session, so de-identify the files of a study in the same session to keep them linked. Treat it as a strong, standards-based first pass, not a certified, audited compliance product — a formal data-sharing agreement or multi-site trial should still specify its own reviewed process.
PS3.15 Basic Profile Action Codes at a Glance
The formal DICOM confidentiality profile expresses its rules as single-letter actions per attribute. This is how the tool applies each of them:
| PS3.15 action | Meaning | This tool's equivalent |
| D | Replace with a non-zero-length dummy value | Always a dummy value, in both modes |
| Z | Replace with a zero-length (or dummy) value | Empty in empty mode, a placeholder in placeholder mode |
| X | Remove the attribute entirely | Removed, like private tags |
| U | Replace a UID with a new, consistent UID | A new random 2.25 UID, the same for the same original |
| K | Keep the attribute unchanged | Categories you leave out, and attributes outside Table E.1-1 |
Where the table allows two actions (for example X/Z or Z/D, chosen by whether the attribute is required in the object), the tool keeps the attribute with an empty or dummy value rather than removing it, so the file stays valid. Leaving out the dates, patient characteristics, device, institution or UIDs category is exactly the Retain Longitudinal Temporal Information Full Dates, Retain Patient Characteristics, Retain Device Identity, Retain Institution Identity or Retain UIDs Option, and is recorded as such.
Working Alongside Other DICOM Tools
De-identification sits in the middle of a typical DICOM safety chain. Start by opening the original file in the DICOM Tag Viewer to see exactly what metadata — and what PHI — it carries before you touch anything. Run it through this de-identifier next. Finally, if the cleaned file needs to become a shareable JPEG or PNG for a report or slide deck, the DICOM Converter handles that last step. Inspect, de-identify, convert — in that order — is the safest sequence for anything leaving a controlled clinical environment.