(0008,0050)
Accession Number
Keyword: AccessionNumber
A RIS-generated identifier that identifies the order or imaging request. Primary key linking DICOM images to the RIS/HIS order.
Tag Attributes
- Tag ID
- (0008,0050)
- Compact
- 00080050
- Keyword
- AccessionNumber
- VR
- SH — Short String
- VM
- 1
- Required
- Type 2 — required, may be empty
- PS3.15
- Basic Profile action Z
- Retired
- No
Defined in
What Accession Number contains
Accession Number is the identifier of the order (the imaging service request) in the RIS. It ties the images in the PACS to the order and, through the order, to the report and billing. It is Type 2 in the General Study Module: present in every image, but empty when there was no order.
The modality normally receives it from the Modality Worklist, where it is an optional matching key and a Type 2 return key. It is a Short String of at most 16 characters, and matching is exact, so leading zeros and case matter.
Usually one study has one accession number, but one order can produce several studies and one study can fulfil several orders. Request Attributes Sequence (0040,0275) can list the accession number of each request at series level.
The bridge between DICOM and RIS/HIS systems. Must be populated from the Modality Worklist. Missing or wrong Accession Number breaks report-to-image linking in the radiologist's workflow.
Group 0008 holds general identifying information: what kind of object this is, when it was made, and by which equipment and people.
Value format: SH (Short String), VM 1
(0008,0050) AccessionNumber has Value Representation SH (Short String) and Value Multiplicity 1, which means exactly one value.
SH — Short String
A short character string. Leading and trailing spaces are not significant, and the backslash is not allowed.
- Length
- 16 characters maximum
- Characters
- The default character repertoire, or the one set by Specific Character Set (0008,0005).
Example value
ACC20240315001
Format mistakes to avoid
- Values longer than 16 characters are invalid.
- A backslash inside the text splits it into two values.
Where AccessionNumber appears
| Defined in | Type | Meaning |
|---|---|---|
| General Study ModulePS3.3 C.7.2.1 | 2 | Required, but it may be empty (zero length) when the value is unknown. |
| Request Attributes MacroPS3.3 Table 10-9, inside Request Attributes Sequence (0040,0275) | 3 | Optional. |
A module lists the attributes an object must or may carry. Many IODs (CT Image, MR Image, Secondary Capture and others) include the same module, and an IOD-specific module can make an attribute stricter than the general one.
In a C-FIND query using the Study Root Query/Retrieve Information Model, it is a STUDY-level key of type R: a Required Key: every Query/Retrieve SCP must support matching on it.
In a Modality Worklist query it is a matching key of type O (matching on it is optional for the worklist SCP) and a return key of type 2 (the SCP must return it, possibly empty).
De-identification (PS3.15)
PS3.15 Table E.1-1 gives Accession Number the Basic Profile action Z: replace it with an empty value, or with a dummy value consistent with the VR.
To see how de-identification changes your own files, try the free DICOM Anonymizer, which runs in the browser and uploads nothing.
In archives and migrations
Study-level attributes are what people search on, so a migration should keep them identical. When the same study exists in two archives with different study-level values, users see two studies, or none, depending on which values they search for.
Common errors and how to fix them
The report cannot be linked to the images
The accession number in the images differs from the one in the RIS. Check that the modality took it from the worklist, and look for leading zeros or prefixes added by an interface.
Accession numbers longer than 16 characters
Values over 16 characters are invalid for a Short String and may not survive storage intact. Keep the RIS numbering within 16 characters.
Empty accession number
Images acquired without the worklist (emergency or unscheduled exams) have none. Reconcile them with the order in the RIS/PACS workflow rather than editing files by hand.
Troubleshooting: If reports cannot be linked to images in PACS, verify Accession Number is flowing correctly from RIS to modality via Modality Worklist. Check case sensitivity and leading-zero handling between systems.
Check a file in seconds with the free DICOM Validator: it reads the header in your browser, lists the tags with their values, and flags missing or malformed key attributes.
Accession Number: frequently asked questions
What is DICOM tag (0008,0050) Accession Number?
A RIS-generated identifier that identifies the order or imaging request. Primary key linking DICOM images to the RIS/HIS order. Accession Number is the identifier of the order (the imaging service request) in the RIS. It ties the images in the PACS to the order and, through the order, to the report and billing. It is Type 2 in the General Study Module: present in every image, but empty when there was no order.
What VR and VM does Accession Number (0008,0050) have?
(0008,0050) AccessionNumber has Value Representation SH (Short String) and Value Multiplicity 1, which means exactly one value. A short character string. Leading and trailing spaces are not significant, and the backslash is not allowed. Maximum length: 16 characters maximum.
Is Accession Number (0008,0050) required?
In the General Study Module (PS3.3 C.7.2.1) it is Type 2: required, but it may be empty (zero length) when the value is unknown. In the Request Attributes Macro (PS3.3 Table 10-9, inside Request Attributes Sequence (0040,0275)) it is Type 3: optional.
Can you query a PACS by Accession Number?
In a C-FIND query using the Study Root Query/Retrieve Information Model, it is a STUDY-level key of type R: a Required Key: every Query/Retrieve SCP must support matching on it. In a Modality Worklist query it is a matching key of type O (matching on it is optional for the worklist SCP) and a return key of type 2 (the SCP must return it, possibly empty).
How is Accession Number handled when de-identifying DICOM files?
PS3.15 Table E.1-1 gives Accession Number the Basic Profile action Z: replace it with an empty value, or with a dummy value consistent with the VR.
How do I troubleshoot Accession Number (0008,0050)?
If reports cannot be linked to images in PACS, verify Accession Number is flowing correctly from RIS to modality via Modality Worklist. Check case sensitivity and leading-zero handling between systems.
Check AccessionNumber in your files
The free DICOM Validator lists every header tag and flags problems. Files stay in your browser.
Open DICOM Validator →Remove patient data before sharing
The free DICOM Anonymizer applies a de-identification profile in your browser, with no upload.
Open DICOM Anonymizer →Sources
Checked against the DICOM standard, release 2026d. Module Types, query keys and de-identification actions come from these tables: