Data Dictionary

From GDCM Wiki
Jump to: navigation, search

GDCM has it's own copy of the DICOM Data Dictionary. It is build using pdftotext and a python script to construct regex out of the text file produce by pdftotext.

There are currently still some minor typos in the DICOM Data Dictionary 2006:

Contents

note 1

Two tags are missing: ACR NEMA, Tag: 0020 1003/1005

  1. 0020 1003 IS 1 Images in Series (RET)
  2. 0020 1005 IS 1 Images in Study (RET)

Ref:

Fixed in DICOM 2007

note 2

And (4000,0010) should be "Text Arbitrary" instead of simply "Arbitrary"


No need for that

note 3

0018 0060 DS 1 KVP should be kVp


No need for that

note 4

not ordered by lexico order:

  • 0018 9295 FD 1 Chemical Shifts Minimum Integration Limit in ppm
  • 0018 9296 FD 1 Chemical Shifts Maximum Integration Limit in ppm


Fixed in DICOM 2007

note 5

  • 2020 0010 US 1 Image Position

should be:

  • 2020 0010 US 1 Image Box Position


No need for that

note 6

  • 0012 0062 CS 1 Patient Identify Removed

should be

  • 0012 0062 CS 1 Patient Identity Removed

Fixed in DICOM 2007

note 7

  • 5000 2610 US 1 Referenced Overlay Group (RET)

should be

  • 5000 2610 US 1 Curve Referenced Overlay Group (RET)

Fixed in DICOM 2007

feature request

For ease of parsing (regex):

  1. Convert all "OW or OB" into "OB or OW"
  2. (0020,3100 to 31FF) Source Image IDs could be written as (0020,31xx) Source Image IDs

the new/retired (0018,9445)

Add (0018,9445) and mark as retired, even though it is not in any supplement or CP, since it has been inadvertently used in a product

Ref:

More comments:


It is in the DICOM dictionary only to make sure that we do
not inadvertently assign it in some future supplement or CP,
since a vendor mistakenly used it in a product.

dicom3tools notes

David Clunie has some extra tags:

  • 0010 0022 CS 1 Type of Patient ID
  • 0010 1002 SQ 1 Other Patient IDs Sequence
  • 0010 2201 LO 1 Patient Species Description
  • 0010 2202 SQ 1 Patient Species Code Sequence
  • 0010 2203 CS 1 PatientÕs Sex Neutered
  • 0010 2292 LO 1 Patient Breed Description
  • 0010 2293 SQ 1 Patient Breed Code Sequence
  • 0010 2294 SQ 1 Breed Registration Sequence
  • 0010 2295 LO 1 Breed Registration Number
  • 0010 2296 SQ 1 Breed Registry Code Sequence
  • 0010 2297 PN 1 Responsible Person
  • 0010 2298 CS 1 Responsible Person Role
  • 0010 2299 LO 1 Responsible Organization
  • 0018 9185 ST 1 Respiratory Motion Compensation Technique Description
  • 0018 9186 SH 1 Respiratory Signal Source ID
  • 0028 005f LO 1 Compression Recognition Code
  • 0028 0061 SH 1 Compression Originator
  • 0028 0062 LO 1 Compression Label
  • 0028 0063 SH 1 Compression Description
  • 0028 0065 LO 1-n Compression Sequence
  • 0028 0066 AT 1-n Compression Step Pointers
  • 0028 0068 US 1 Repeat Interval
  • 0028 0069 US 1 Bits Grouped
  • 0028 0070 US 1-n Perimeter Table
  • 0028 0071 US or SS 1 Perimeter Value
  • 0028 0080 US 1 Predictor Rows
  • 0028 0081 US 1 Predictor Columns
  • 0028 0082 US 1-n Predictor Constants
  • 0028 0090 LO 1 Blocked Pixels
  • 0028 0091 US 1 Block Rows
  • 0028 0092 US 1 Block Columns
  • 0028 0093 US 1 Row Overlap
  • 0028 0094 US 1 Column Overlap
  • 0028 0400 LO 1 Transform Label
  • 0028 0401 LO 1 Transform Version Number
  • 0028 0403 LO 1-n Sequence of Compressed Data
  • 0028 04x0 US 1 Rows For Nth Order Coefficients
  • 0028 04x1 US 1 Columns For Nth Order Coefficients
  • 0028 04x2 LO 1-n Coefficient Coding
  • 0028 04x3 AT 1-n Coefficient Coding Pointers
  • 0028 0700 LO 1 DCT Label
  • 0028 0701 CS 1-n Data Block Description
  • 0028 0702 AT 1-n Data Block
  • 0028 0710 US 1 Normalization Factor Format
  • 0028 0720 US 1 Zonal Map Number Format
  • 0028 0721 AT 1-n Zonal Map Location
  • 0028 0722 US 1 Zonal Map Format
  • 0028 0730 US 1 Adaptive Map Format
  • 0028 0740 US 1 Code Number Format
  • 0028 08x0 CS 1-n Code Label
  • 0028 08x2 US 1 Number of Tables
  • 0028 08x3 AT 1-n Code Table Location
  • 0028 08x4 US 1 Bits For Code Word
  • 0028 08x8 AT 1-n Image Data Location
  • 0028 1111 US\US or SS\US 4 Large Red Palette Color Lookup Table Descriptor
  • 0028 1112 US\US or SS\US 4 Large Green Palette Color Lookup Table Descriptor
  • 0028 1113 US\US or SS\US 4 Large Blue Palette Color Lookup Table Descriptor
  • 0028 1211 OW 1 Large Red Palette Color Lookup Table Data
  • 0028 1212 OW 1 Large Green Palette Color Lookup Table Data
  • 0028 1213 OW 1 Large Blue Palette Color Lookup Table Data
  • 0028 1214 UI 1 Large Palette Color Lookup Table UID
  • 0400 0561 SQ 1 Original Attributes Sequence
  • 0400 0562 DT 1 Attribute Modification Datetime
  • 0400 0563 LO 1 Modifying System
  • 0400 0564 LO 1 Source of Previous Values
  • 0400 0565 CS 1 Reason for the Attribute Modification
  • 1000 0000 UL 1 Code Table Group Length
  • 1000 00x0 US 3 Escape Triplet
  • 1000 00x1 US 3 Run Length Triplet
  • 1000 00x2 US 1 Huffman Table Size
  • 1000 00x3 US 3 Huffman Table Triplet
  • 1000 00x4 US 1 Shift Table Size
  • 1000 00x5 US 3 Shift Table Triplet
  • 1010 0000 UL 1 Zonal Map Group Length
  • 1010 xxxx US 1-n Zonal Map
  • 300A 0088 FL 1 Beam Dose Point Depth
  • 300A 0089 FL 1 Beam Dose Point Equivalent Depth
  • 300A 008A FL 1 Beam Dose Point SSD
  • 300A 014E FL 1 Gantry Pitch Angle Tolerance
  • 300A 0410 SQ 1 Motion Synchronization Sequence
  • 60xx 0061 SH 1 Overlay Compression Originator
  • 60xx 0062 SH 1 Overlay Compression Label
  • 60xx 0063 CS 1 Overlay Compression Description
  • 60xx 0066 AT 1-n Overlay Compression Step Pointers
  • 60xx 0068 US 1 Overlay Repeat Interval
  • 60xx 0069 US 1 Overlay Bits Grouped
  • 60xx 0800 CS 1-n Overlay Code Label
  • 60xx 0802 US 1 Overlay Number of Tables
  • 60xx 0803 AT 1-n Overlay Code Table Location
  • 60xx 0804 US 1 Overlay Bits For Code Word


GDCM vs DCMTK

Tools/Info to produce this diff can be found here:

(0000,0200)	LO	ACR_NEMA_Initiator	1	ACR/NEMA2
(0000,0300)	LO	ACR_NEMA_Receiver	1	ACR/NEMA2
(0000,0400)	LO	ACR_NEMA_FindLocation	1	ACR/NEMA2
(0000,0850)	US	ACR_NEMA_NumberOfMatches	1	ACR/NEMA2
(0000,0860)	US	ACR_NEMA_ResponseSequenceNumber	1	ACR/NEMA2
(0000,4000)	LO	ACR_NEMA_DialogReceiver	1	ACR/NEMA2
(0000,4010)	LO	ACR_NEMA_TerminalType	1	ACR/NEMA2
(0000,5010)	LO	ACR_NEMA_MessageSetID	1	ACR/NEMA2
(0000,5020)	LO	ACR_NEMA_EndMessageSet	1	ACR/NEMA2
(0000,5110)	LO	ACR_NEMA_DisplayFormat	1	ACR/NEMA2
(0000,5120)	LO	ACR_NEMA_PagePositionID	1	ACR/NEMA2
(0000,5130)	LO	ACR_NEMA_TextFormatID	1	ACR/NEMA2
(0000,5140)	CS	ACR_NEMA_NormalReverse	1	ACR/NEMA2
(0000,5150)	CS	ACR_NEMA_AddGrayScale	1	ACR/NEMA2
(0000,5160)	CS	ACR_NEMA_Borders	1	ACR/NEMA2gd
(0000,5170)	IS	ACR_NEMA_Copies	1	ACR/NEMA2
(0000,5180)	LO	ACR_NEMA_MagnificationType	1	ACR/NEMA2
(0000,5190)	LO	ACR_NEMA_Erase	1-n	ACR/NEMA2
(0000,51A0)	CS	ACR_NEMA_Print	1	ACR/NEMA2
(0000,51B0)	US	ACR_NEMA_Overlays	1-n	ACR/NEMA2

(0018,9096)	FD	RETIRED_ParallelReductionFactorInPlane	1	DICOM
(0028,005F)	CS	ACR_NEMA_2C_CompressionRecognitionCode	1	ACR/NEMA2C


(0028,0061)	SH	ACR_NEMA_2C_CompressionOriginator	1	ACR/NEMA2C
(0028,0062)	SH	ACR_NEMA_2C_CompressionLabel	1	ACR/NEMA2C
(0028,0063)	SH	ACR_NEMA_2C_CompressionDescription	1	ACR/NEMA2C
(0028,0065)	CS	ACR_NEMA_2C_CompressionSequence	1-n	ACR/NEMA2C
(0028,0066)	AT	ACR_NEMA_2C_CompressionStepPointers	1-n	ACR/NEMA2C
(0028,0068)	US	ACR_NEMA_2C_RepeatInterval	1	ACR/NEMA2C
(0028,0069)	US	ACR_NEMA_2C_BitsGrouped	1	ACR/NEMA2C
(0028,0070)	US	ACR_NEMA_2C_PerimeterTable	1-n	ACR/NEMA2C
(0028,0071)	xs	ACR_NEMA_2C_PerimeterValue	1	ACR/NEMA2C
(0028,0080)	US	ACR_NEMA_2C_PredictorRows	1	ACR/NEMA2C
(0028,0081)	US	ACR_NEMA_2C_PredictorColumns	1	ACR/NEMA2C
(0028,0082)	US	ACR_NEMA_2C_PredictorConstants	1-n	ACR/NEMA2C
(0028,0090)	CS	ACR_NEMA_2C_BlockedPixels	1	ACR/NEMA2C
(0028,0091)	US	ACR_NEMA_2C_BlockRows	1	ACR/NEMA2C
(0028,0092)	US	ACR_NEMA_2C_BlockColumns	1	ACR/NEMA2C
(0028,0093)	US	ACR_NEMA_2C_RowOverlap	1	ACR/NEMA2C
(0028,0094)	US	ACR_NEMA_2C_ColumnOverlap	1	ACR/NEMA2C


(0028,0400)	CS	ACR_NEMA_2C_TransformLabel	1	ACR/NEMA2C
(0028,0401)	CS	ACR_NEMA_2C_TransformVersionNumber	1	ACR/NEMA2C

(0028,0403)	CS	ACR_NEMA_2C_SequenceOfCompressedData	1-n	ACR/NEMA2C

(0028,0410)	US	ACR_NEMA_2C_RowsForNthOrderCoefficients	1	ACR/NEMA2C
(0028,0411)	US	ACR_NEMA_2C_ColumnsForNthOrderCoefficients	1	ACR/NEMA2C
(0028,0412)	CS	ACR_NEMA_2C_CoefficientCoding	1-n	ACR/NEMA2C
(0028,0413)	AT	ACR_NEMA_2C_CoefficientCodingPointers	1-n	ACR/NEMA2C
(0028,0700)	CS	ACR_NEMA_2C_DCTLabel	1	ACR/NEMA2C
(0028,0701)	CS	ACR_NEMA_2C_DataBlockDescription	1-n	ACR/NEMA2C
(0028,0702)	AT	ACR_NEMA_2C_DataBlock	1-n	ACR/NEMA2C
(0028,0710)	US	ACR_NEMA_2C_NormalizationFactorFormat	1	ACR/NEMA2C
(0028,0720)	US	ACR_NEMA_2C_ZonalMapNumberFormat	1	ACR/NEMA2C
(0028,0721)	AT	ACR_NEMA_2C_ZonalMapLocation	1-n	ACR/NEMA2C
(0028,0722)	US	ACR_NEMA_2C_ZonalMapFormat	1	ACR/NEMA2C
(0028,0730)	US	ACR_NEMA_2C_AdaptiveMapFormat	1	ACR/NEMA2C
(0028,0740)	US	ACR_NEMA_2C_CodeNumberFormat	1	ACR/NEMA2C
(0028,0800)	CS	ACR_NEMA_2C_CodeLabel	1-n	ACR/NEMA2C
(0028,0802)	US	ACR_NEMA_2C_NumberOfTables	1	ACR/NEMA2C
(0028,0803)	AT	ACR_NEMA_2C_CodeTableLocation	1-n	ACR/NEMA2C
(0028,0804)	US	ACR_NEMA_2C_BitsForCodeWord	1	ACR/NEMA2C
(0028,0808)	AT	ACR_NEMA_2C_ImageDataLocation	1-n	ACR/NEMA2C


(1000,0000)	UL	ACR_NEMA_2C_CodeTableGroupLength	1	ACR/NEMA2C
(1000,0010)	US	ACR_NEMA_2C_EscapeTriplet	3	ACR/NEMA2C
(1000,0011)	US	ACR_NEMA_2C_RunLengthTriplet	3	ACR/NEMA2C
(1000,0012)	US	ACR_NEMA_2C_HuffmanTableSize	1	ACR/NEMA2C
(1000,0013)	US	ACR_NEMA_2C_HuffmanTableTriplet	3	ACR/NEMA2C
(1000,0014)	US	ACR_NEMA_2C_ShiftTableSize	1	ACR/NEMA2C
(1000,0015)	US	ACR_NEMA_2C_ShiftTableTriplet	3	ACR/NEMA2C
(1010,0000)	UL	ACR_NEMA_2C_ZonalMapGroupLength	1	ACR/NEMA2C
(1010,0004)	US	ACR_NEMA_2C_ZonalMap	1-n	ACR/NEMA2C
(2000,0000)	UL	FilmSessionGroupLength	1	DICOM


(7FE0,0020)	OW	ACR_NEMA_2C_CoefficientsSDVN	1-n	ACR/NEMA2C
(7FE0,0030)	OW	ACR_NEMA_2C_CoefficientsSDHN	1-n	ACR/NEMA2C
(7FE0,0040)	OW	ACR_NEMA_2C_CoefficientsSDDN	1-n	ACR/NEMA2C

Typo in DICOM 2007

Part 6

  • 0018 1153 IS 1 Exposure in uAs

should be

  • 0018 1153 IS 1 Exposure in µAs

No comment so far

Links

XML: Private dicts for GDCM

Automatically generated from existing DICOM files:

From DICOM conformance PDF:

XML version of dicom3tools:

sed 's/^.*$/<d3t tag="&\/>/' philips.tpl  > t

See Also Module Attributes

Reference

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox