DICOM stands for Digital Imaging and Communications in Medicine. It defines both a file format for medical images and a network protocol for moving them between scanners, archives and viewers. First published in 1993 and maintained by the DICOM Standards Committee under NEMA, it is also recognised as ISO 12052. It is used across radiology, cardiology and radiotherapy, and increasingly in dentistry and ophthalmology.
A DICOM file is more than a picture. It carries the pixel data together with a header that says who the patient is, which study and series the image belongs to, how it was acquired and how to display it.
How a DICOM file is built
- A 128-byte preamble followed by the letters
DICM. - A list of data elements, each identified by a tag of two hexadecimal numbers (group, element), with a value representation (VR) such as person name or date.
- The pixel data, uncompressed or compressed with JPEG, JPEG 2000 or other transfer syntaxes.
Images are organised as patient → study → series → instance, and each level has a globally unique identifier (UID).
Example: reading a CT header
(0008,0060) CS Modality CT
(0008,0020) DA StudyDate 20261121
(0010,0010) PN PatientName SHARMA^ANITA
(0010,0020) LO PatientID 123456
(0010,0030) DA PatientBirthDate 19840312
(0020,000D) UI StudyInstanceUID 1.2.826.0.1.3680043.8.498.1234...
(0028,0010) US Rows 512
(0028,0011) US Columns 512
(7FE0,0010) OW PixelData (524288 bytes)
A chest CT study often has several series of hundreds of slices each, every slice a separate file with its own header. That is why imaging storage grows quickly and why viewers load series rather than single images.
PACS, DIMSE and DICOMweb
- A PACS (picture archiving and communication system) stores studies and serves them to radiologists' workstations.
- Traditional DICOM networking (DIMSE) uses commands such as C-STORE to send images, C-FIND to query and C-MOVE or C-GET to retrieve. Each system is identified by an AE title, host and port.
- DICOMweb offers the same functions over HTTP: STOW-RS to store, QIDO-RS to query and WADO-RS to retrieve. Browser-based viewers and cloud archives use it.
- DICOMDIR is an index file on a CD or USB drive that lists the studies on the media, which is how many patients still receive their scans.
DICOM, HL7 and FHIR
Orders and reports usually travel as HL7 v2 messages: the order to the modality worklist and the report back to the EHR. The images stay in DICOM. FHIR has an ImagingStudy resource that points to DICOM studies, so an app can list a patient's scans and open them through DICOMweb.
De-identifying images
DICOM headers are full of PHI: names, IDs, birth dates, institution names and sometimes text burned into the pixels. Before images go to an AI vendor, a research team or a test environment:
- Follow the de-identification profiles in DICOM Part 15 (PS3.15), not a home-made list of tags.
- Replace UIDs consistently so studies stay linked.
- Check for burned-in annotations and private tags that some vendors use for patient details.
We build imaging integrations, viewers and AI pipelines for MedTech companies through our data and AI work.