# Find PHI in DICOM files (headers and burned-in text)

> A DICOM file holds the patient's name, ID and birth date in its header, and sometimes in the picture. How to find that PHI, and why finding is not anonymising.

Page: https://vellumsoft.net/scan/dicom-medical-imaging  
Updated: 2026-11-16  
Publisher: VellumSoft (Titan Grand Ventures LLC)

DICOM header tags hold the patient's name, ID and birth date as plain data inside the image file, and some images also have that text burned into the picture. VellumSoft reads .dcm and .dicom files for PHI in the header tags, and for burned-in text in the image when OCR is on. It does not redact, so it finds PHI in DICOM files and is not a DICOM anonymizer.

## What is inside a DICOM file

DICOM, short for Digital Imaging and Communications in Medicine, "is the international standard for medical images and related information" [4]. X-ray, CT, MRI and ultrasound devices write it, and so do dental and eye-care devices [4].

A DICOM file is a picture with a record attached. The standard says every file starts with a header made of "a 128 byte File Preamble, followed by a 4 byte DICOM prefix", and that the prefix holds the characters "DICM" [3]. After that come the data elements, each with a numbered tag: who the patient is, who ordered the study, where and when it was done, and then the pixel data.

That design is why a single image copied to a USB stick or a shared drive is a complete piece of protected health information (PHI). The image does not need a chart beside it. The chart details travel inside the file.

## Which DICOM header tags hold PHI

The DICOM standard answers this in its confidentiality profile, a table of the attributes a de-identifier must remove or replace [1]. A short selection:

| Attribute | Tag | Source |
|---|---|---|
| Patient's Name | (0010,0010) | [1] |
| Patient ID | (0010,0020) | [1] |
| Patient's Birth Date | (0010,0030) | [1] |
| Patient's Address | (0010,1040) | [1] |
| Patient's Telephone Numbers | (0010,2154) | [1] |
| Other Patient IDs | (0010,1000) | [1] |
| Accession Number | (0008,0050) | [1] |
| Institution Name | (0008,0080) | [1] |
| Referring Physician's Name | (0008,0090) | [1] |
| Operators' Name | (0008,1070) | [1] |
| Device Serial Number | (0018,1000) | [1] |

The table in the standard is far longer, and the standard is frank that even the full list has gaps. It says the listed attributes "may not be sufficient to guarantee confidentiality of patient identity", because identifying information can also sit in private attributes that a vendor has added [1].

These tags line up with HIPAA. Protected health information covers individually identifiable health information held in electronic media or "in any other form or medium" [6]. HIPAA's de-identification standard lists names, birth dates (every element except the year), telephone numbers, medical record numbers, and "Device identifiers and serial numbers" among the identifiers to be removed [5].

## Burned-in text: PHI in the pixels

Some devices also stamp the patient's details onto the image, where they become part of the picture. The standard calls this burned-in annotation, and it is the part people miss, because cleaning the header leaves it untouched.

The standard's own note says which images to worry about: "CT images do not normally contain such burned in annotation, whereas Ultrasound images routinely do" [2]. Screen captures and scanned films often carry it too, since they are pictures of a screen or a sheet that already showed the name.

Finding this text takes optical character recognition (OCR). The standard says image processing and OCR "can be used to detect the presence of and location of burned in text", and adds that deciding whether a piece of text identifies someone "may be non-trivial" [2]. It also says the means of locating burned-in information "is outside the scope of this Standard" [1]. In plain terms, DICOM tells a de-identifier that the text must go, and leaves the finding to other tools.

## What VellumSoft 2.0.2 reads in a DICOM file

VellumSoft reads files with the .dcm and .dicom extensions in two ways:

| Part of the file | What is read |
|---|---|
| Header | Header PHI tags |
| Pixel data | Burned-in text in the image, when OCR is on |
| Findings from pixels | Marked with OCR as their source, with the OCR engine's confidence |

The OCR switch covers DICOM pixel data, so OCR has to be on for ultrasound, screen captures and scanned films. OCR is slower and less reliable than digital text, and it can miss real values as well as misread them.

This page covers files with the .dcm and .dicom extensions. Which header tags are checked, private tags, and DICOM files saved with no extension or a different one are not covered here.

## Detecting is not anonymising

People searching for a DICOM anonymizer want a tool that changes files. The standard describes that job precisely. Tag values are removed or replaced with dummy values, and the attribute Patient Identity Removed (0012,0062) is set to YES [1]. For burned-in text, the pixel values must be "changed (blacked out)", and the standard says it is not enough to lay an overlay over them [2].

VellumSoft does none of that: it does not block, quarantine, delete or redact. A scan is the step before and after anonymising:

- Before, it finds where DICOM files with PHI have ended up outside the imaging system: studies imported from patient CDs, exports sent to a vendor for support, images saved for a conference talk.
- After, it is a second look at a set that is supposed to be de-identified, to see whether header tags or burned-in text still turn up.

That second use calls for care. No scanner finds everything, and a scan does not prove that sensitive data is absent. A clean scan of a research export is one piece of evidence, not a de-identification sign-off.

## Running a DICOM scan

![VellumSoft Scan tab with the OCR option and scope limits](https://vellumsoft.net/assets/screens/scan-tab.webp)

1. Gather the folders in scope, such as exported studies, CD imports and teaching sets.
2. On the Scan tab, choose Folder and select the folder.
3. Set the results folder to a new local folder that does not sync to a cloud service.
4. Turn OCR on if the set includes ultrasound, screen captures or scanned films.
5. Run the scan and keep the computer awake. OCR is the usual cause of a slow scan.
6. Open the Coverage tab first. It records formats that were not read and items whose extraction was incomplete, including low-confidence OCR.
7. Triage the findings, and treat each OCR finding as a lead to confirm by opening the image in a DICOM viewer.

Imaging folders rarely hold DICOM alone. Reports arrive as PDFs, referrals as faxed images, and worklists as CSV exports, which the pages on [PDFs and scanned documents](https://vellumsoft.net/scan/scanned-pdf-ocr), [photos and image scans](https://vellumsoft.net/scan/images) and [shared drives and NAS](https://vellumsoft.net/scan/file-shares-nas) cover. Old mail is on the [PST, OST and MSG page](https://vellumsoft.net/scan/pst-ost-email). The complete list is under [supported files and sources](https://vellumsoft.net/scan/), and the steps from scope to report are on [how a scan works](https://vellumsoft.net/how-it-works).

If the practice does ultrasound, start there, since the standard itself says that is where burned-in names routinely are.

This page explains the law in general terms and is not legal advice.

## Questions

### Is VellumSoft a DICOM anonymizer?

No. VellumSoft does not block, quarantine, delete or redact. It reports which DICOM files hold PHI in their header tags or in burned-in text. Anonymising means changing the file, by replacing tag values and blacking out pixels, and that work belongs to a de-identification tool or to the imaging system.

### Which DICOM header tags hold patient information?

The DICOM confidentiality profile lists the attributes a de-identifier must deal with. They include Patient's Name (0010,0010), Patient ID (0010,0020), Patient's Birth Date (0010,0030), Patient's Address, Accession Number, Institution Name and Referring Physician's Name. The standard warns that its list may not be sufficient, because private attributes can also hold identifying information.

### What is burned-in annotation in a DICOM image?

It is text that is part of the picture itself, such as a patient name stamped along the top of an ultrasound frame. Changing the header does not remove it. The DICOM standard notes that CT images do not normally contain burned-in annotation, whereas ultrasound images routinely do.

### Are medical images covered by HIPAA?

Yes, when they can be tied to a person. HIPAA's definition of protected health information covers individually identifiable health information in electronic media or any other form or medium. Its de-identification standard lists names, birth dates (every element except the year), medical record numbers and device identifiers and serial numbers among the identifiers to remove, all of which a DICOM header can hold.

## Sources

1. [DICOM Standard PS3.15, Annex E, Attribute Confidentiality Profiles (NEMA)](https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html)
2. [DICOM Standard PS3.15, E.3, Basic Application Level Confidentiality Options (NEMA)](https://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.html)
3. [DICOM Standard PS3.10, Chapter 7, DICOM File Format (NEMA)](https://dicom.nema.org/medical/dicom/current/output/chtml/part10/chapter_7.html)
4. [DICOM Standard, About DICOM: Overview](https://www.dicomstandard.org/about)
5. [eCFR, 45 CFR 164.514, Other requirements relating to uses and disclosures of protected health information](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164/subpart-E/section-164.514)
6. [eCFR, 45 CFR 160.103, Definitions (HIPAA)](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-160/subpart-A/section-160.103)
