Skip to content

Evidence methods guide

How to de-identify medical images: HIPAA methods, then DICOM step by step

For clinics and imaging centers with CT, MRI or X-ray archives: what HIPAA counts as de-identified, how DICOM Annex E applies it file by file, which free tools do the work on site, and what to check before files leave. Rightmark does not take health data yet (patient records, medical imaging or veterinary records), until a HIPAA program and vendor agreements are in place.

HIPAA recognizes two ways to de-identify health information. Safe Harbor removes a fixed list of identifiers, and the organization must not know of a way the rest could identify someone. Expert Determination has a qualified expert conclude that the risk of identifying anyone is very small and document the methods and results. For images, DICOM Annex E turns that work into an action for each attribute, with options for burned-in text, faces, structured reports and dates. Free tools such as the RSNA DICOM Anonymizer apply those actions on a workstation inside the clinic, so files that still identify patients never have to leave it. General information, not legal advice.

Updated

On this page

Choose the HIPAA method before you choose a tool

The HIPAA de-identification guidance HHS, (opens in a new tab) describes two methods, summarized in the table below. Safe Harbor removes the listed identifiers of the patient and of relatives, employers and household members, and the organization must have no actual knowledge that what remains could identify the person. Expert Determination relies on a person with appropriate statistical and scientific knowledge, who determines that the risk of identification by an anticipated recipient is very small and documents the methods and results.

Choose the HIPAA method before you choose a tool (table)
MethodWhat it requiresWhat to keep on file
Safe HarborEvery listed identifier removed, and no actual knowledge that the rest could identify the personThe identifier list mapped to your fields, and who checked it
Expert DeterminationA qualified expert finds the risk of identification very small for the anticipated recipientThe expert's report: the methods, the results and the conditions it assumes

Safe Harbor's list HHS, (opens in a new tab) includes names, geographic subdivisions smaller than a state, all elements of dates except the year, phone and fax numbers, email and web addresses, record, account, license and device numbers, biometric identifiers, full-face photographs and comparable images, and any other unique identifying number, characteristic or code. Image headers carry several of these, and so can the pixels. Full dates are outside Safe Harbor, so an archive that must keep them needs an Expert Determination.

Outside the United States, local law decides what counts as anonymous. Under the GDPR, health data is a special category of personal data Official Journal of the European Union, (opens in a new tab), so the clinic's counsel settles the legal basis before any file is shared.

General information, not legal advice.

Apply DICOM Annex E to every attribute, not only the patient name

The DICOM standard sets out the attribute rules in Annex E of PS3.15, the source of the actions in the table below NEMA, (opens in a new tab). Its basic confidentiality profile gives each attribute that can identify someone one action: remove it, replace it with a blank or dummy value, replace it with a non-identifying value, keep it, clean it, or replace a UID with a new one that stays consistent across the set. The profile also has the file say what was done: Patient Identity Removed is set to YES, and the method is recorded.

Apply DICOM Annex E to every attribute, not only the patient name (table)
AttributeBasic profile actionWhy it matters
Patient's NameBlank or dummy valueThe first identifier any viewer shows
Patient IDBlank, dummy or new valueLinks a patient's studies, so the replacement must stay consistent
Accession NumberBlank or dummy valuePoints back to the order in the clinic systems
Patient's Birth DateBlank or dummy valueA date element under Safe Harbor too
Referring Physician's NameBlank or dummy valueStaff names point to the clinic
Institution NameRemoved, blank or dummy; kept only under the Retain Institution Identity optionNames the clinic and its location
Study and Series Instance UIDNew UID, consistent within the setKeeps images linked without exposing the source UIDs

Options change the basic profile in both directions NEMA, (opens in a new tab). Clean Pixel Data, Clean Recognizable Visual Features and Clean Graphics remove more. Clean Structured Content and Clean Descriptors clean text instead of removing it. Retain options keep what the basic profile would remove: longitudinal temporal information, patient characteristics, device identity, institution identity, UIDs and safe private attributes. Record which options you used and why, with the tool and its version.

Annex E also names two risks NEMA, (opens in a new tab). A plain hash of a patient ID is weak, because anyone can hash a list of candidate IDs and compare. And anyone who already holds the original images could match the pixel data even after the UIDs are replaced, though the standard says the probability and impact of that may be judged negligible. Keep the key that links new IDs to old ones, and the originals, inside the clinic.

Use a free tool that runs inside the clinic

These free tools apply the Annex E actions on a workstation or server the clinic controls, so no file that still identifies a patient has to leave the clinic network.

Use a free tool that runs inside the clinic (table)
ToolWhat it doesWatch for
RSNA DICOM AnonymizerA desktop app, open source under the Apache license Radiological Society of North America, (opens in a new tab). It replaces names and IDs with a site ID and sequential patient numbers, replaces UIDs with values derived from the originals, and shifts dates per patient Radiological Society of North America, (opens in a new tab).The face feature asks for an academic license when it is set up Radiological Society of North America, (opens in a new tab); read its terms before any commercial project.
CTP, the Clinical Trial ProcessorA Java pipeline that installs from a single file and can run as a Windows service. Its stages include a DICOM anonymizer driven by a script and a pixel anonymizer Radiological Society of North America, (opens in a new tab).Built for servers and repeatable pipelines: plan for the script setup.
DicomCleanerA free open-source desktop tool that can query and retrieve from DICOM devices, clean headers, black out burned-in annotations and replace UIDs PixelMed Publishing, (opens in a new tab).It shifts all dates against one starting date per session and cannot reuse an offset on a later session, so clean a patient's studies together.

The RSNA DICOM Anonymizer also has optional AI features that remove burned-in text and blur faces. They run on the workstation after a one-time model download, and images are not uploaded for processing Radiological Society of North America, (opens in a new tab).

Whatever the tool, test its output against the profile and options you chose: a tool's description of itself is not proof. Pages that carry no publication date, such as the current DICOM edition and the tool manuals, are dated here by the day they were read.

Check the pixels: burned-in text, screenshots and dose screens

Cleaning the header does not touch the image. Annex E notes that CT images do not normally carry burned-in annotation while ultrasound images routinely do, and that the stored pixel values must be changed: an overlay or a shutter on top is not enough NEMA, (opens in a new tab). After cleaning, Burned In Annotation is set to NO.

Check every image type, not only the main series: secondary captures, scanned forms, screenshots and dose summary screens. The MIDI Task Group's best practices ask for every image type to be checked for burned-in text, not a sample of types Journal of Imaging Informatics in Medicine, (opens in a new tab).

Treat faces, structured reports and free-text reports as separate risks

High-resolution CT or MRI of the whole head and neck can be shown as a volume or surface rendering, and Annex E notes that such a rendering may be enough to identify a person under some circumstances. Its Clean Recognizable Visual Features option removes or distorts those features; it may need a person to approve the result and can make the images unusable NEMA, (opens in a new tab). The MIDI best practices ask for the face risk of head and neck images to be measured, and above a threshold for facial features to be removed or the images kept from public release Journal of Imaging Informatics in Medicine, (opens in a new tab).

Structured reports can hold identifying text in their content, such as the name of an observer. Annex E says a de-identifier without the Clean Structured Content option creates significant risk for them NEMA, (opens in a new tab). Remove the structured reports you do not need, or clean them with a tool that supports that option.

Radiology reports are free text, so names, dates and places can appear anywhere in them. Treat them as a separate job: drop the header block, replace names using the clinic's own lists of patients, relatives and staff, then review the result by hand.

Run a pilot, review it by eye, then sign off

Pilot steps

  1. Pick a pilot batch that covers every scanner model, series type and object type in the archive, secondary captures and structured reports included.
  2. Run the tool with the profile and options you chose, on a workstation inside the clinic.
  3. Compare the headers before and after for every attribute the profile lists, and look at every image type for burned-in text.
  4. Have a second person review the output. The MIDI best practices call for human quality control, with the share inspected set by a documented risk assessment, and describe a public archive that reviews every image during curation Journal of Imaging Informatics in Medicine, (opens in a new tab).
  5. Keep the key that links new IDs to old ones, the date offsets and the originals inside the clinic, under its own access controls.
  6. Record the method, the options, the tool and its version, the pilot results and the reviewer, and give that record to the expert or counsel who signs off.

Keep what makes the archive worth licensing

De-identification decides what survives, and what survives decides what the archive can be used for. These choices keep its research value:

How medical imaging licenses are usually structured is on the medical imaging data page. The health-data AI programs brief shows how to read a program's public evidence, and the health data hub collects the rest.

Stop before any file leaves the clinic

Stop conditions

  • Stop if the HIPAA method, or the legal basis outside the United States, has not been chosen and written down.
  • Stop if any attribute in the profile was skipped, or the options used are not recorded.
  • Stop if a plain hash of the patient ID is the only pseudonym.
  • Stop if any image type was not checked for burned-in text.
  • Stop if head and neck series were not assessed for face risk.
  • Stop if structured reports or free-text reports were neither cleaned nor removed.
  • Stop if the key, the date offsets or the originals have left the clinic.
  • Stop if no second person reviewed the pilot output.

Sources

  1. HHS: Guidance Regarding Methods for De-identification of Protected Health Information in Accordance with the Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule (opens in a new tab)
  2. NEMA: E.3 Basic Application Level Confidentiality Options (opens in a new tab)
  3. Radiological Society of North America: De-identification protocol (opens in a new tab)
  4. Official Journal of the European Union: Regulation (EU) 2016/679 (General Data Protection Regulation), Article 9: Processing of special categories of personal data (opens in a new tab)
  5. NEMA: E Attribute Confidentiality Profiles (Normative) (opens in a new tab)
  6. Radiological Society of North America: RSNA DICOM Anonymizer (V19) (opens in a new tab)
  7. Radiological Society of North America: AI Features setup (opens in a new tab)
  8. Radiological Society of North America: MIRC CTP (opens in a new tab)
  9. PixelMed Publishing: How to use DicomCleaner™ (opens in a new tab)
  10. Journal of Imaging Informatics in Medicine: Summary of the National Cancer Institute 2023 Virtual Workshop on Medical Image De-identification, Part 1 (opens in a new tab)
  11. NEMA: E.3.2 Clean Recognizable Visual Features Option (opens in a new tab)
  12. NEMA: E.3.4 Clean Structured Content Option (opens in a new tab)
  13. NEMA: E.3.6 Retain Longitudinal Temporal Information Options (opens in a new tab)

Read the Trust page for current status and safeguards.

This guide is general information. It does not accept files, review studies, appraise health data or match anyone with a licensee.

Find out what your data could be worth.

Start with an indicative appraisal. No files or system access needed.

Appraise your data

What brings you to Rightmark?