#dicom #dictionary #attributes


Standard DICOM attribute dictionary

9 releases (5 breaking)

0.6.1 Oct 31, 2023
0.6.0 Jul 23, 2023
0.5.0 Apr 28, 2022
0.5.0-rc.2 Feb 3, 2022
0.1.0 Aug 31, 2019

#543 in Images

Download history 692/week @ 2023-12-13 491/week @ 2023-12-20 164/week @ 2023-12-27 713/week @ 2024-01-03 975/week @ 2024-01-10 796/week @ 2024-01-17 1012/week @ 2024-01-24 717/week @ 2024-01-31 690/week @ 2024-02-07 858/week @ 2024-02-14 940/week @ 2024-02-21 832/week @ 2024-02-28 1207/week @ 2024-03-06 1164/week @ 2024-03-13 862/week @ 2024-03-20 527/week @ 2024-03-27

4,043 downloads per month
Used in 25 crates (14 directly)


27K SLoC

DICOM-rs standard dictionary

CratesIO Documentation

This sub-project uses entries generated by the dictionary_builder to provide the standard DICOM data dictionary.

This crate is part of the DICOM-rs project and is contained by the parent crate dicom.


This crate implements standard DICOM dictionaries and constants.

Run-time dictinaries

The following modules provide definitions for dictionaries which can be queried during a program's lifetime:

  • data_element: Contains all information about the DICOM attributes specified in the standard, and it will be used by default in most other abstractions available. When not using private tags, this dictionary should suffice.
  • sop_class (requires Cargo feature sop-class): Contains information about DICOM Service-Object Pair (SOP) classes and their respective unique identifiers.

The records in these dictionaries are typically collected from DICOM PS3.6 directly, but they may be obtained through other sources. Each dictionary is provided as a singleton behind a unit type for efficiency and ease of use.


The following modules contain constant declarations, which perform an equivalent mapping at compile time, thus without incurring a look-up cost:

  • tags, which map an attribute alias to a DICOM tag
  • uids, for various normative DICOM unique identifiers


~65K SLoC