dicom 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,399 +1,23 @@
1
1
  # coding: ISO-8859-1
2
-
2
+ #
3
3
  # Copyright 2008-2010 Christoffer Lervag
4
4
 
5
5
  module DICOM
6
- # This class holds all the dictionary data.
7
- # RET appearing behind an array entry means that the use of this particular element has been retired according to the official DICOM standard.
8
- class Dictionary
9
-
10
- # Loads the image type library (Photometric Interpretation).
11
- # (Data element tag: 0028,0004)
12
- def load_image_types
13
- return {
14
- "MONOCHROME1" => "grey level image description (high values=dark, low values=bright)",
15
- "MONOCHROME2" => "grey level image description (high values=bright, low values=dark)",
16
- "PALETTE COLOR" => "pseudo color image description",
17
- "RGB" => "true color image description",
18
- "YBR_FULL" => "true color image description",
19
- "YBR_FULL_422" => "true color image description"
20
- }
21
- end
22
-
23
-
24
- # Loads the value representation library.
25
- # Consists of VR name, meaning and data format.
26
- def load_vr
27
- return {
28
- "AE" => ["Application entity", "String"],
29
- "AS" => ["Age string", "String"],
30
- "AT" => ["Attribute tag", "Two 2-byte integers"],
31
- "CS" => ["Code string", "String"],
32
- "DA" => ["Date", "String"],
33
- "DS" => ["Decimal string", "String"],
34
- "DT" => ["Date time", "String"],
35
- "FL" => ["Floating point single", "4-byte floating point"],
36
- "FD" => ["Floating point double", "8-byte floating point"],
37
- "IS" => ["Integer string", "String"],
38
- "LO" => ["Long string", "String"],
39
- "LT" => ["Long text", "String"],
40
- "OB" => ["Other byte string", "1-byte integers"],
41
- "OF" => ["Other float string", "4-byte floating point numbers"],
42
- "OW" => ["Other word string", "2-byte integers"],
43
- "PN" => ["Person name", "String"],
44
- "SH" => ["Short string", "String"],
45
- "SL" => ["Signed long", "4-byte integer"],
46
- "SQ" => ["Sequence of items", "Unknown"],
47
- "SS" => ["Signed short", "2-byte integer"],
48
- "ST" => ["Short text", "String"],
49
- "TM" => ["Time", "String"],
50
- "UI" => ["Unique identifier", "String"],
51
- "UL" => ["Unsigned long", "4-byte integer"],
52
- "UN" => ["Unknown", "Unknown"],
53
- "US" => ["Unsigned short", "2-byte integer"],
54
- "UT" => ["Unlimited text", "String"]
55
- }
56
- end
57
6
 
7
+ # This class contains information from the DICOM Data Dictionary.
8
+ #
9
+ #--
10
+ # === Notes
11
+ #
12
+ # RET appearing behind an entry means that the use of this particular element
13
+ # has been retired according to the current version of the official DICOM standard.
14
+ #
15
+ class Dictionary
58
16
 
59
- # Table A.1 UID Values (DICOM Part 6, Annex A: Registry of DICOM unique identifiers)
60
- def load_uid
61
- return {
62
- "1.2.840.10008.1.1" => ["Verification SOP Class", "SOP Class"],
63
- # Start of: Transfer syntax (Data element tag: 0002,0010)
64
- "1.2.840.10008.1.2" => ["Implicit VR Little Endian: Default Transfer Syntax for DICOM", "Transfer Syntax"],
65
- "1.2.840.10008.1.2.1" => ["Explicit VR Little Endian", "Transfer Syntax"],
66
- "1.2.840.10008.1.2.1.99" => ["Deflated Explicit VR Little Endian", "Transfer Syntax"],
67
- "1.2.840.10008.1.2.2" => ["Explicit VR Big Endian", "Transfer Syntax"],
68
- "1.2.840.10008.1.2.4.50" => ["JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression", "Transfer Syntax"],
69
- "1.2.840.10008.1.2.4.51" => ["JPEG Extended (Process 2 & 4): Default Transfer Syntax for Lossy JPEG 12 Bit Image Compression (Process 4 only)", "Transfer Syntax"],
70
- "1.2.840.10008.1.2.4.52" => ["JPEG Extended (Process 3 & 5)", "Transfer Syntax"], # RET
71
- "1.2.840.10008.1.2.4.53" => ["JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8)", "Transfer Syntax"], # RET
72
- "1.2.840.10008.1.2.4.54" => ["JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9)", "Transfer Syntax"], # RET
73
- "1.2.840.10008.1.2.4.55" => ["JPEG Full Progression, Non-Hierarchical (Process 10 & 12)", "Transfer Syntax"], # RET
74
- "1.2.840.10008.1.2.4.56" => ["JPEG Full Progression, Non-Hierarchical (Process 11 & 13)", "Transfer Syntax"], # RET
75
- "1.2.840.10008.1.2.4.57" => ["JPEG Lossless, Non-Hierarchical (Process 14)", "Transfer Syntax"],
76
- "1.2.840.10008.1.2.4.58" => ["JPEG Lossless, Non-Hierarchical (Process 15)", "Transfer Syntax"], # RET
77
- "1.2.840.10008.1.2.4.59" => ["JPEG Extended, Hierarchical (Process 16 & 18)", "Transfer Syntax"], # RET
78
- "1.2.840.10008.1.2.4.60" => ["JPEG Extended, Hierarchical (Process 17 & 19)", "Transfer Syntax"], # RET
79
- "1.2.840.10008.1.2.4.61" => ["JPEG Spectral Selection, Hierarchical (Process 20 & 22)", "Transfer Syntax"], # RET
80
- "1.2.840.10008.1.2.4.62" => ["JPEG Spectral Selection, Hierarchical (Process 21 & 23)", "Transfer Syntax"], # RET
81
- "1.2.840.10008.1.2.4.63" => ["JPEG Full Progression, Hierarchical (Process 24 & 26)", "Transfer Syntax"], # RET
82
- "1.2.840.10008.1.2.4.64" => ["JPEG Full Progression, Hierarchical (Process 25 & 27)", "Transfer Syntax"], # RET
83
- "1.2.840.10008.1.2.4.65" => ["JPEG Lossless, Hierarchical (Process 28)", "Transfer Syntax"], # RET
84
- "1.2.840.10008.1.2.4.66" => ["JPEG Lossless, Hierarchical (Process 29)", "Transfer Syntax"], # RET
85
- "1.2.840.10008.1.2.4.70" => ["JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1,): Default Transfer Syntax for Lossless JPEG Image Compression", "Transfer Syntax"],
86
- "1.2.840.10008.1.2.4.80" => ["JPEG-LS Lossless Image Compression", "Transfer Syntax"],
87
- "1.2.840.10008.1.2.4.81" => ["JPEG-LS Lossy (Near-Lossless) Image Compression", "Transfer Syntax"],
88
- "1.2.840.10008.1.2.4.90" => ["JPEG 2000 Image Compression (Lossless Only)", "Transfer Syntax"],
89
- "1.2.840.10008.1.2.4.91" => ["JPEG 2000 Image Compression", "Transfer Syntax"],
90
- "1.2.840.10008.1.2.4.92" => ["JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)", "Transfer Syntax"],
91
- "1.2.840.10008.1.2.4.93" => ["JPEG 2000 Part 2 Multi-component Image Compression", "Transfer Syntax"],
92
- "1.2.840.10008.1.2.4.94" => ["JPIP Referenced", "Transfer Syntax"],
93
- "1.2.840.10008.1.2.4.95" => ["JPIP Referenced Deflate", "Transfer Syntax"],
94
- "1.2.840.10008.1.2.4.100" => ["MPEG2 Main Profile @ Main Level", "Transfer Syntax"],
95
- "1.2.840.10008.1.2.4.101" => ["MPEG2 Main Profile @ High Level", "Transfer Syntax"],
96
- "1.2.840.10008.1.2.5" => ["RLE Lossless", "Transfer Syntax"],
97
- "1.2.840.10008.1.2.6.1" => ["RFC 2557 MIME encapsulation", "Transfer Syntax"],
98
- "1.2.840.10008.1.2.6.2" => ["XML Encoding", "Transfer Syntax"],
99
- # End of: Transfer syntax
100
- "1.2.840.10008.1.3.10" => ["Media Storage Directory Storage", "SOP Class"],
101
- "1.2.840.10008.1.4.1.1" => ["Talairach Brain Atlas Frame of Reference", "Well-known frame of reference"],
102
- "1.2.840.10008.1.4.1.2" => ["SPM2 T1 Frame of Reference", "Well-known frame of reference"],
103
- "1.2.840.10008.1.4.1.3" => ["SPM2 T2 Frame of Reference", "Well-known frame of reference"],
104
- "1.2.840.10008.1.4.1.4" => ["SPM2 PD Frame of Reference", "Well-known frame of reference"],
105
- "1.2.840.10008.1.4.1.5" => ["SPM2 EPI Frame of Reference", "Well-known frame of reference"],
106
- "1.2.840.10008.1.4.1.6" => ["SPM2 FIL T1 Frame of Reference", "Well-known frame of reference"],
107
- "1.2.840.10008.1.4.1.7" => ["SPM2 PET Frame of Reference", "Well-known frame of reference"],
108
- "1.2.840.10008.1.4.1.8" => ["SPM2 TRANSM Frame of Reference", "Well-known frame of reference"],
109
- "1.2.840.10008.1.4.1.9" => ["SPM2 SPECT Frame of Reference", "Well-known frame of reference"],
110
- "1.2.840.10008.1.4.1.10" => ["SPM2 GRAY Frame of Reference", "Well-known frame of reference"],
111
- "1.2.840.10008.1.4.1.11" => ["SPM2 WHITE Frame of Reference", "Well-known frame of reference"],
112
- "1.2.840.10008.1.4.1.12" => ["SPM2 CSF Frame of Reference", "Well-known frame of reference"],
113
- "1.2.840.10008.1.4.1.13" => ["SPM2 BRAINMASK Frame of Reference", "Well-known frame of reference"],
114
- "1.2.840.10008.1.4.1.14" => ["SPM2 AVG305T1 Frame of Reference", "Well-known frame of reference"],
115
- "1.2.840.10008.1.4.1.15" => ["SPM2 AVG152T1 Frame of Reference", "Well-known frame of reference"],
116
- "1.2.840.10008.1.4.1.16" => ["SPM2 AVG152T2 Frame of Reference", "Well-known frame of reference"],
117
- "1.2.840.10008.1.4.1.17" => ["SPM2 AVG152PD Frame of Reference", "Well-known frame of reference"],
118
- "1.2.840.10008.1.4.1.18" => ["SPM2 SINGLESUBJT1 Frame of Reference", "Well-known frame of reference"],
119
- "1.2.840.10008.1.4.2.1" => ["ICBM 452 T1 Frame of Reference", "Well-known frame of reference"],
120
- "1.2.840.10008.1.4.2.2" => ["ICBM Single Subject MRI Frame of Reference", "Well-known frame of reference"],
121
- "1.2.840.10008.1.5.1" => ["Hot Iron Color Palette SOP", "Well-known SOP Instance"],
122
- "1.2.840.10008.1.5.2" => ["PET Color Palette SOP Instance", "Well-known SOP PS Instance"],
123
- "1.2.840.10008.1.5.3" => ["Hot Metal Blue Color Palette SOP", "Well-known SOP PS Instance"],
124
- "1.2.840.10008.1.5.4" => ["PET 20 Step Color Palette SOP", "Well-known SOP PS Instance"],
125
- "1.2.840.10008.1.9" => ["Basic Study Content Notification SOP Class", "SOP Class"], # RET
126
- "1.2.840.10008.1.20.1" => ["Storage Commitment Push Model SOP Class", "SOP Class"],
127
- "1.2.840.10008.1.20.1.1" => ["Storage Commitment Push Model SOP Instance", "Well-known SOP Instance"],
128
- "1.2.840.10008.1.20.2" => ["Storage Commitment Pull Model SOP Class", "SOP Class"], # RET
129
- "1.2.840.10008.1.20.2.1" => ["Storage Commitment Pull Model SOP Instance", "Well-known SOP Instance"], # RET
130
- "1.2.840.10008.1.40" => ["Procedural Event Logging SOP Class", "SOP Class"],
131
- "1.2.840.10008.1.40.1" => ["Procedural Event Logging SOP Instance", "Well-known SOP Instance"],
132
- "1.2.840.10008.1.42" => ["Substance Administration Logging SOP Class", "SOP Class"],
133
- "1.2.840.10008.1.42.1" => ["Substance Administration Logging SOP Instance", "Well-known SOP Instance"],
134
- "1.2.840.10008.2.6.1" => ["DICOM UID Registry", "DICOM UIDs as a Coding Scheme"],
135
- "1.2.840.10008.2.16.4" => ["DICOM Controlled Terminology", "Coding Scheme"],
136
- "1.2.840.10008.3.1.1.1" => ["DICOM Application Context Name", "Application Context Name"],
137
- "1.2.840.10008.3.1.2.1.1" => ["Detached Patient Management SOP Class", "SOP Class"], # RET
138
- "1.2.840.10008.3.1.2.1.4" => ["Detached Patient Management Meta SOP Class", "Meta SOP Class"], # RET
139
- "1.2.840.10008.3.1.2.2.1" => ["Detached Visit Management SOP Class", "SOP Class"], # RET
140
- "1.2.840.10008.3.1.2.3.1" => ["Detached Study Management SOP Class", "SOP Class"], # RET
141
- "1.2.840.10008.3.1.2.3.2" => ["Study Component Management SOP Class", "SOP Class"], # RET
142
- "1.2.840.10008.3.1.2.3.3" => ["Modality Performed Procedure Step SOP Class", "SOP Class"],
143
- "1.2.840.10008.3.1.2.3.4" => ["Modality Performed Procedure Step Retrieve SOP Class", "SOP Class"],
144
- "1.2.840.10008.3.1.2.3.5" => ["Modality Performed Procedure Step Notification SOP Class", "SOP Class"],
145
- "1.2.840.10008.3.1.2.5.1" => ["Detached Results Management SOP Class", "SOP Class"], # RET
146
- "1.2.840.10008.3.1.2.5.4" => ["Detached Results Management Meta SOP Class", "Meta SOP Class"], # RET
147
- "1.2.840.10008.3.1.2.5.5" => ["Detached Study Management Meta SOP Class", "Meta SOP Class"], # RET
148
- "1.2.840.10008.3.1.2.6.1" => ["Detached Interpretation Management SOP Class", "SOP Class"], # RET
149
- "1.2.840.10008.4.2" => ["Storage Service Class", "Service Class"],
150
- "1.2.840.10008.5.1.1.1" => ["Basic Film Session SOP Class", "SOP Class"],
151
- "1.2.840.10008.5.1.1.2" => ["Basic Film Box SOP Class", "SOP Class"],
152
- "1.2.840.10008.5.1.1.4" => ["Basic Grayscale Image Box SOP Class", "SOP Class"],
153
- "1.2.840.10008.5.1.1.4.1" => ["Basic Color Image Box SOP Class", "SOP Class"],
154
- "1.2.840.10008.5.1.1.4.2" => ["Referenced Image Box SOP Class", "SOP Class"], # RET
155
- "1.2.840.10008.5.1.1.9" => ["Basic Grayscale Print Management Meta SOP Class", "Meta SOP Class"],
156
- "1.2.840.10008.5.1.1.9.1" => ["Referenced Grayscale Print Management Meta SOP Class", "Meta SOP Class"], # RET
157
- "1.2.840.10008.5.1.1.14" => ["Print Job SOP Class", "SOP Class"],
158
- "1.2.840.10008.5.1.1.15" => ["Basic Annotation Box SOP Class", "SOP Class"],
159
- "1.2.840.10008.5.1.1.16" => ["Printer SOP Class", "SOP Class"],
160
- "1.2.840.10008.5.1.1.16.376" => ["Printer Configuration Retrieval SOP Class", "SOP Class"],
161
- "1.2.840.10008.5.1.1.17" => ["Printer SOP Instance", "Well-known Printer SOP Instance"],
162
- "1.2.840.10008.5.1.1.17.376" => ["Printer Configuration Retrieval SOP Instance", "Well-known Printer SOP Instance"],
163
- "1.2.840.10008.5.1.1.18" => ["Basic Color Print Management Meta SOP Class", "Meta SOP Class"],
164
- "1.2.840.10008.5.1.1.18.1" => ["Referenced Color Print Management Meta SOP Class", "Meta SOP Class"], # RET
165
- "1.2.840.10008.5.1.1.22" => ["VOI LUT Box SOP Class", "SOP Class"],
166
- "1.2.840.10008.5.1.1.23" => ["Presentation LUT SOP Class", "SOP Class"],
167
- "1.2.840.10008.5.1.1.24" => ["Image Overlay Box SOP Class", "SOP Class"], # RET
168
- "1.2.840.10008.5.1.1.24.1" => ["Basic Print Image Overlay Box SOP Class", "SOP Class"], # RET
169
- "1.2.840.10008.5.1.1.25" => ["Print Queue SOP Instance", "Well-known Print Queue SOP Instance"], # RET
170
- "1.2.840.10008.5.1.1.26" => ["Print Queue Management SOP Class", "SOP Class"], # RET
171
- "1.2.840.10008.5.1.1.27" => ["Stored Print Storage SOP Class", "SOP Class"], # RET
172
- "1.2.840.10008.5.1.1.29" => ["Hardcopy Grayscale Image Storage SOP Class", "SOP Class"], # RET
173
- "1.2.840.10008.5.1.1.30" => ["Hardcopy Color Image Storage SOP Class", "SOP Class"], # RET
174
- "1.2.840.10008.5.1.1.31" => ["Pull Print Request SOP Class", "SOP Class"], # RET
175
- "1.2.840.10008.5.1.1.32" => ["Pull Stored Print Management Meta SOP Class", "Meta SOP Class"], # RET
176
- "1.2.840.10008.5.1.1.33" => ["Media Creation Management SOP Class UID", "SOP Class"],
177
- "1.2.840.10008.5.1.4.1.1.1" => ["Computed Radiography Image Storage", "SOP Class"],
178
- "1.2.840.10008.5.1.4.1.1.1.1" => ["Digital X-Ray Image Storage - For Presentation", "SOP Class"],
179
- "1.2.840.10008.5.1.4.1.1.1.1.1" => ["Digital X-Ray Image Storage - For Processing", "SOP Class"],
180
- "1.2.840.10008.5.1.4.1.1.1.2" => ["Digital Mammography X-Ray Image Storage - For Presentation", "SOP Class"],
181
- "1.2.840.10008.5.1.4.1.1.1.2.1" => ["Digital Mammography X-Ray Image Storage - For Processing", "SOP Class"],
182
- "1.2.840.10008.5.1.4.1.1.1.3" => ["Digital Intra-oral X-Ray Image Storage - For Presentation", "SOP Class"],
183
- "1.2.840.10008.5.1.4.1.1.1.3.1" => ["Digital Intra-oral X-Ray Image Storage - For Processing", "SOP Class"],
184
- "1.2.840.10008.5.1.4.1.1.2" => ["CT Image Storage", "SOP Class"],
185
- "1.2.840.10008.5.1.4.1.1.2.1" => ["Enhanced CT Image Storage", "SOP Class"],
186
- "1.2.840.10008.5.1.4.1.1.3" => ["Ultrasound Multi-frame Image Storage", "SOP Class"], # RET
187
- "1.2.840.10008.5.1.4.1.1.3.1" => ["Ultrasound Multi-frame Image Storage", "SOP Class"],
188
- "1.2.840.10008.5.1.4.1.1.4" => ["MR Image Storage", "SOP Class"],
189
- "1.2.840.10008.5.1.4.1.1.4.1" => ["Enhanced MR Image Storage", "SOP Class"],
190
- "1.2.840.10008.5.1.4.1.1.4.2" => ["MR Spectroscopy Storage", "SOP Class"],
191
- "1.2.840.10008.5.1.4.1.1.4.3" => ["Enhanced MR Color Image Storage", "SOP Class"],
192
- "1.2.840.10008.5.1.4.1.1.5" => ["Nuclear Medicine Image Storage", "SOP Class"], # RET
193
- "1.2.840.10008.5.1.4.1.1.6" => ["Ultrasound Image Storage", "SOP Class"], # RET
194
- "1.2.840.10008.5.1.4.1.1.6.1" => ["Ultrasound Image Storage", "SOP Class"],
195
- "1.2.840.10008.5.1.4.1.1.6.2" => ["Enhanced US Volume Storage", "SOP Class"],
196
- "1.2.840.10008.5.1.4.1.1.7" => ["Secondary Capture Image Storage", "SOP Class"],
197
- "1.2.840.10008.5.1.4.1.1.7.1" => ["Multi-frame Single Bit Secondary Capture Image Storage", "SOP Class"],
198
- "1.2.840.10008.5.1.4.1.1.7.2" => ["Multi-frame Grayscale Byte Secondary Capture Image Storage", "SOP Class"],
199
- "1.2.840.10008.5.1.4.1.1.7.3" => ["Multi-frame Grayscale Word Secondary Capture Image Storage", "SOP Class"],
200
- "1.2.840.10008.5.1.4.1.1.7.4" => ["Multi-frame True Color Secondary Capture Image Storage", "SOP Class"],
201
- "1.2.840.10008.5.1.4.1.1.8" => ["Standalone Overlay Storage", "SOP Class"], # RET
202
- "1.2.840.10008.5.1.4.1.1.9" => ["Standalone Curve Storage", "SOP Class"], # RET
203
- "1.2.840.10008.5.1.4.1.1.9.1" => ["Waveform Storage - Trial", "SOP Class"], # RET
204
- "1.2.840.10008.5.1.4.1.1.9.1.1" => ["12-lead ECG Waveform Storage", "SOP Class"],
205
- "1.2.840.10008.5.1.4.1.1.9.1.2" => ["General ECG Waveform Storage", "SOP Class"],
206
- "1.2.840.10008.5.1.4.1.1.9.1.3" => ["Ambulatory ECG Waveform Storage", "SOP Class"],
207
- "1.2.840.10008.5.1.4.1.1.9.2.1" => ["Hemodynamic Waveform Storage", "SOP Class"],
208
- "1.2.840.10008.5.1.4.1.1.9.3.1" => ["Cardiac Electrophysiology Waveform Storage", "SOP Class"],
209
- "1.2.840.10008.5.1.4.1.1.9.4.1" => ["Basic Voice Audio Waveform Storage", "SOP Class"],
210
- "1.2.840.10008.5.1.4.1.1.9.4.2" => ["General Audio Waveform Storage", "SOP Class"],
211
- "1.2.840.10008.5.1.4.1.1.9.5.1" => ["Arterial Pulse Waveform Storage", "SOP Class"],
212
- "1.2.840.10008.5.1.4.1.1.9.6.1" => ["Respiratory Waveform Storage", "SOP Class"],
213
- "1.2.840.10008.5.1.4.1.1.10" => ["Standalone Modality LUT Storage", "SOP Class"], # RET
214
- "1.2.840.10008.5.1.4.1.1.11" => ["Standalone VOI LUT Storage", "SOP Class"], # RET
215
- "1.2.840.10008.5.1.4.1.1.11.1" => ["Grayscale Softcopy Presentation State Storage SOP Class", "SOP Class"],
216
- "1.2.840.10008.5.1.4.1.1.11.2" => ["Color Softcopy Presentation State Storage SOP Class", "SOP Class"],
217
- "1.2.840.10008.5.1.4.1.1.11.3" => ["Pseudo-Color Softcopy Presentation State Storage SOP Class", "SOP Class"],
218
- "1.2.840.10008.5.1.4.1.1.11.4" => ["Blending Softcopy Presentation State Storage SOP Class", "SOP Class"],
219
- "1.2.840.10008.5.1.4.1.1.11.5" => ["XA/XRF Grayscale Softcopy Presentation State Storage", "SOP Class"],
220
- "1.2.840.10008.5.1.4.1.1.12.1" => ["X-Ray Angiographic Image Storage", "SOP Class"],
221
- "1.2.840.10008.5.1.4.1.1.12.1.1" => ["Enhanced XA Image Storage", "SOP Class"],
222
- "1.2.840.10008.5.1.4.1.1.12.2" => ["X-Ray Radiofluoroscopic Image Storage", "SOP Class"],
223
- "1.2.840.10008.5.1.4.1.1.12.2.1" => ["Enhanced XRF Image Storage", "SOP Class"],
224
- "1.2.840.10008.5.1.4.1.1.13.1.1" => ["X-Ray 3D Angiographic Image Storage", "SOP Class"],
225
- "1.2.840.10008.5.1.4.1.1.13.1.2" => ["X-Ray 3D Craniofacial Image Storage", "SOP Class"],
226
- "1.2.840.10008.5.1.4.1.1.13.1.3" => ["Breast Tomosynthesis Image Storage", "SOP Class"],
227
- "1.2.840.10008.5.1.4.1.1.12.3" => ["X-Ray Angiographic Bi-Plane Image Storage", "SOP Class"], # RET
228
- "1.2.840.10008.5.1.4.1.1.20" => ["Nuclear Medicine Image Storage", "SOP Class"],
229
- "1.2.840.10008.5.1.4.1.1.66" => ["Raw Data Storage", "SOP Class"],
230
- "1.2.840.10008.5.1.4.1.1.66.1" => ["Spatial Registration Storage", "SOP Class"],
231
- "1.2.840.10008.5.1.4.1.1.66.2" => ["Spatial Fiducials Storage", "SOP Class"],
232
- "1.2.840.10008.5.1.4.1.1.66.3" => ["Deformable Spatial Registration Storage", "SOP Class"],
233
- "1.2.840.10008.5.1.4.1.1.66.4" => ["Segmentation Storage", "SOP Class"],
234
- "1.2.840.10008.5.1.4.1.1.66.5" => ["Surface Segmentation Storage", "SOP Class"],
235
- "1.2.840.10008.5.1.4.1.1.67" => ["Real World Value Mapping Storage", "SOP Class"],
236
- "1.2.840.10008.5.1.4.1.1.77.1" => ["VL Image Storage - Trial", ""], # RET
237
- "1.2.840.10008.5.1.4.1.1.77.2" => ["VL Multi-frame Image Storage - Trial", ""], # RET
238
- "1.2.840.10008.5.1.4.1.1.77.1.1" => ["VL Endoscopic Image Storage", "SOP Class"],
239
- "1.2.840.10008.5.1.4.1.1.77.1.1.1" => ["Video Endoscopic Image Storage", "SOP Class"],
240
- "1.2.840.10008.5.1.4.1.1.77.1.2" => ["VL Microscopic Image Storage", "SOP Class"],
241
- "1.2.840.10008.5.1.4.1.1.77.1.2.1" => ["Video Microscopic Image Storage", "SOP Class"],
242
- "1.2.840.10008.5.1.4.1.1.77.1.3" => ["VL Slide-Coordinates Microscopic Image Storage", "SOP Class"],
243
- "1.2.840.10008.5.1.4.1.1.77.1.4" => ["VL Photographic Image Storage", "SOP Class"],
244
- "1.2.840.10008.5.1.4.1.1.77.1.4.1" => ["Video Photographic Image Storage", "SOP Class"],
245
- "1.2.840.10008.5.1.4.1.1.77.1.5.1" => ["Ophthalmic Photography 8 Bit Image Storage", "SOP Class"],
246
- "1.2.840.10008.5.1.4.1.1.77.1.5.2" => ["Ophthalmic Photography 16 Bit Image Storage", "SOP Class"],
247
- "1.2.840.10008.5.1.4.1.1.77.1.5.3" => ["Stereometric Relationship Storage", "SOP Class"],
248
- "1.2.840.10008.5.1.4.1.1.77.1.5.4" => ["Ophthalmic Tomography Image Storage", "SOP Class"],
249
- "1.2.840.10008.5.1.4.1.1.78.1" => ["Lensometry Measurements Storage", "SOP Class"],
250
- "1.2.840.10008.5.1.4.1.1.78.2" => ["Autorefraction Measurements Storage", "SOP Class"],
251
- "1.2.840.10008.5.1.4.1.1.78.3" => ["Keratometry Measurements Storage", "SOP Class"],
252
- "1.2.840.10008.5.1.4.1.1.78.4" => ["Subjective Refraction Measurements Storage", "SOP Class"],
253
- "1.2.840.10008.5.1.4.1.1.78.5" => ["Visual Acuity Measurements", "SOP Class"],
254
- "1.2.840.10008.5.1.4.1.1.78.6" => ["Spectacle Prescription Reports Storage", "SOP Class"],
255
- "1.2.840.10008.5.1.4.1.1.79.1" => ["Macular Grid Thickness and Volume Report Storage", "SOP Class"],
256
- "1.2.840.10008.5.1.4.1.1.88.1" => ["Text SR Storage - Trial", "SOP Class"], # RET
257
- "1.2.840.10008.5.1.4.1.1.88.2" => ["Audio SR Storage - Trial", "SOP Class"], # RET
258
- "1.2.840.10008.5.1.4.1.1.88.3" => ["Detail SR Storage - Trial", "SOP Class"], # RET
259
- "1.2.840.10008.5.1.4.1.1.88.4" => ["Comprehensive SR Storage - Trial", "SOP Class"], # RET
260
- "1.2.840.10008.5.1.4.1.1.88.11" => ["Basic Text SR Storage", "SOP Class"],
261
- "1.2.840.10008.5.1.4.1.1.88.22" => ["Enhanced SR Storage", "SOP Class"],
262
- "1.2.840.10008.5.1.4.1.1.88.33" => ["Comprehensive SR Storage", "SOP Class"],
263
- "1.2.840.10008.5.1.4.1.1.88.40" => ["Procedure Log Storage", "SOP Class"],
264
- "1.2.840.10008.5.1.4.1.1.88.50" => ["Mammography CAD SR Storage", "SOP Class"],
265
- "1.2.840.10008.5.1.4.1.1.88.59" => ["Key Object Selection Document Storage", "SOP Class"],
266
- "1.2.840.10008.5.1.4.1.1.88.65" => ["Chest CAD SR Storage", "SOP Class"],
267
- "1.2.840.10008.5.1.4.1.1.88.67" => ["X-Ray Radiation Dose SR Storage", "SOP Class"],
268
- "1.2.840.10008.5.1.4.1.1.88.69" => ["Colon CAD SR Storage", "SOP Class"],
269
- "1.2.840.10008.5.1.4.1.1.104.1" => ["Encapsulated PDF Storage", "SOP Class"],
270
- "1.2.840.10008.5.1.4.1.1.104.2" => ["Encapsulated CDA Storage", "SOP Class"],
271
- "1.2.840.10008.5.1.4.1.1.128" => ["Positron Emission Tomography Image Storage", "SOP Class"],
272
- "1.2.840.10008.5.1.4.1.1.129" => ["Standalone PET Curve Storage", "SOP Class"], # RET
273
- "1.2.840.10008.5.1.4.1.1.130" => ["Enhanced PET Image Storage", "SOP Class"],
274
- "1.2.840.10008.5.1.4.1.1.131" => ["Basic Structured Display Storage", "SOP Class"],
275
- "1.2.840.10008.5.1.4.1.1.481.1" => ["RT Image Storage", "SOP Class"],
276
- "1.2.840.10008.5.1.4.1.1.481.2" => ["RT Dose Storage", "SOP Class"],
277
- "1.2.840.10008.5.1.4.1.1.481.3" => ["RT Structure Set Storage", "SOP Class"],
278
- "1.2.840.10008.5.1.4.1.1.481.4" => ["RT Beams Treatment Record Storage", "SOP Class"],
279
- "1.2.840.10008.5.1.4.1.1.481.5" => ["RT Plan Storage", "SOP Class"],
280
- "1.2.840.10008.5.1.4.1.1.481.6" => ["RT Brachy Treatment Record Storage", "SOP Class"],
281
- "1.2.840.10008.5.1.4.1.1.481.7" => ["RT Treatment Summary Record Storage", "SOP Class"],
282
- "1.2.840.10008.5.1.4.1.1.481.8" => ["RT Ion Plan Storage", "SOP Class"],
283
- "1.2.840.10008.5.1.4.1.1.481.9" => ["RT Ion Beams Treatment Record Storage", "SOP Class"],
284
- "1.2.840.10008.5.1.4.1.2.1.1" => ["Patient Root Query/Retrieve Information Model - FIND", "SOP Class"],
285
- "1.2.840.10008.5.1.4.1.2.1.2" => ["Patient Root Query/Retrieve Information Model - MOVE", "SOP Class"],
286
- "1.2.840.10008.5.1.4.1.2.1.3" => ["Patient Root Query/Retrieve Information Model - GET", "SOP Class"],
287
- "1.2.840.10008.5.1.4.1.2.2.1" => ["Study Root Query/Retrieve Information Model - FIND", "SOP Class"],
288
- "1.2.840.10008.5.1.4.1.2.2.2" => ["Study Root Query/Retrieve Information Model - MOVE", "SOP Class"],
289
- "1.2.840.10008.5.1.4.1.2.2.3" => ["Study Root Query/Retrieve Information Model - GET", "SOP Class"],
290
- "1.2.840.10008.5.1.4.1.2.3.1" => ["Patient/Study Only Query/Retrieve Information Model - FIND", "SOP Class"], # RET
291
- "1.2.840.10008.5.1.4.1.2.3.2" => ["Patient/Study Only Query/Retrieve Information Model - MOVE", "SOP Class"], # RET
292
- "1.2.840.10008.5.1.4.1.2.3.3" => ["Patient/Study Only Query/Retrieve Information Model - GET", "SOP Class"], # RET
293
- "1.2.840.10008.5.1.4.1.2.4.2" => ["Composite Instance Root Retrieve - MOVE", "SOP Class"],
294
- "1.2.840.10008.5.1.4.1.2.4.3" => ["Composite Instance Root Retrieve - GET", "SOP Class"],
295
- "1.2.840.10008.5.1.4.1.2.5.3" => ["Composite Instance Retrieve Without Bulk Data - GET", "SOP Class"],
296
- "1.2.840.10008.5.1.4.31" => ["Modality Worklist Information Model - FIND", "SOP Class"],
297
- "1.2.840.10008.5.1.4.32.1" => ["General Purpose Worklist Information Model - FIND", "SOP Class"],
298
- "1.2.840.10008.5.1.4.32.2" => ["General Purpose Scheduled Procedure Step SOP Class", "SOP Class"],
299
- "1.2.840.10008.5.1.4.32.3" => ["General Purpose Performed Procedure Step SOP Class", "SOP Class"],
300
- "1.2.840.10008.5.1.4.32" => ["General Purpose Worklist Management Meta SOP Class", "Meta SOP Class"],
301
- "1.2.840.10008.5.1.4.33" => ["Instance Availability Notification SOP Class", "SOP Class"],
302
- "1.2.840.10008.5.1.4.34.1" => ["RT Beams Delivery Instruction Storage (Supplement 74 Frozen Draft)", "SOP Class"],
303
- "1.2.840.10008.5.1.4.34.2" => ["RT Conventional Machine Verification (Supplement 74 Frozen Draft)", "SOP Class"],
304
- "1.2.840.10008.5.1.4.34.3" => ["RT Ion Machine Verification (Supplement 74 Frozen Draft)", "SOP Class"],
305
- "1.2.840.10008.5.1.4.34.4" => ["Unified Worklist and Procedure Step Service Class", "Service Class"],
306
- "1.2.840.10008.5.1.4.34.4.1" => ["Unified Procedure Step - Push SOP Class", "SOP Class"],
307
- "1.2.840.10008.5.1.4.34.4.2" => ["Unified Procedure Step - Watch SOP Class", "SOP Class"],
308
- "1.2.840.10008.5.1.4.34.4.3" => ["Unified Procedure Step - Pull SOP Class", "SOP Class"],
309
- "1.2.840.10008.5.1.4.34.4.4" => ["Unified Procedure Step - Event SOP Class", "SOP Class"],
310
- "1.2.840.10008.5.1.4.34.5" => ["Unified Worklist and Procedure Step SOP Instance", "Well-known SOP Instance"],
311
- "1.2.840.10008.5.1.4.37.1" => ["General Relevant Patient Information Query", "SOP Class"],
312
- "1.2.840.10008.5.1.4.37.2" => ["Breast Imaging Relevant Patient Information Query", "SOP Class"],
313
- "1.2.840.10008.5.1.4.37.3" => ["Cardiac Relevant Patient Information Query", "SOP Class"],
314
- "1.2.840.10008.5.1.4.38.1" => ["Hanging Protocol Storage", "SOP Class"],
315
- "1.2.840.10008.5.1.4.38.2" => ["Hanging Protocol Information Model - FIND", "SOP Class"],
316
- "1.2.840.10008.5.1.4.38.3" => ["Hanging Protocol Information Model - MOVE", "SOP Class"],
317
- "1.2.840.10008.5.1.4.38.4" => ["Hanging Protocol Information Model - GET", "SOP Class"],
318
- "1.2.840.10008.5.1.4.39.1" => ["Color Palette Storage", "Transfer"],
319
- "1.2.840.10008.5.1.4.39.2" => ["Color Palette Information Model - FIND", "Query/Retrieve"],
320
- "1.2.840.10008.5.1.4.39.3" => ["Color Palette Information Model - MOVE", "Query/Retrieve"],
321
- "1.2.840.10008.5.1.4.39.4" => ["Color Palette Information Model - GET", "Query/Retrieve"],
322
- "1.2.840.10008.5.1.4.41" => ["Product Characteristics Query SOP Class", "SOP Class"],
323
- "1.2.840.10008.5.1.4.42" => ["Substance Approval Query SOP Class", "SOP Class"],
324
- # Start: LDAP OID
325
- "1.2.840.10008.15.0.3.1" => ["dicomDeviceName", "LDAP OID"],
326
- "1.2.840.10008.15.0.3.2" => ["dicomDescription", "LDAP OID"],
327
- "1.2.840.10008.15.0.3.3" => ["dicomManufacturer", "LDAP OID"],
328
- "1.2.840.10008.15.0.3.4" => ["dicomManufacturerModelName", "LDAP OID"],
329
- "1.2.840.10008.15.0.3.5" => ["dicomSoftwareVersion", "LDAP OID"],
330
- "1.2.840.10008.15.0.3.6" => ["dicomVendorData", "LDAP OID"],
331
- "1.2.840.10008.15.0.3.7" => ["dicomAETitle", "LDAP OID"],
332
- "1.2.840.10008.15.0.3.8" => ["dicomNetworkConnectionReference", "LDAP OID"],
333
- "1.2.840.10008.15.0.3.9" => ["dicomApplicationCluster", "LDAP OID"],
334
- "1.2.840.10008.15.0.3.10" => ["dicomAssociationInitiator", "LDAP OID"],
335
- "1.2.840.10008.15.0.3.11" => ["dicomAssociationAcceptor", "LDAP OID"],
336
- "1.2.840.10008.15.0.3.12" => ["dicomHostname", "LDAP OID"],
337
- "1.2.840.10008.15.0.3.13" => ["dicomPort", "LDAP OID"],
338
- "1.2.840.10008.15.0.3.14" => ["dicomSOPClass", "LDAP OID"],
339
- "1.2.840.10008.15.0.3.15" => ["dicomTransferRole", "LDAP OID"],
340
- "1.2.840.10008.15.0.3.16" => ["dicomTransferSyntax", "LDAP OID"],
341
- "1.2.840.10008.15.0.3.17" => ["dicomPrimaryDeviceType", "LDAP OID"],
342
- "1.2.840.10008.15.0.3.18" => ["dicomRelatedDeviceReference", "LDAP OID"],
343
- "1.2.840.10008.15.0.3.19" => ["dicomPreferredCalledAETitle", "LDAP OID"],
344
- "1.2.840.10008.15.0.3.20" => ["dicomTLSCyphersuite", "LDAP OID"],
345
- "1.2.840.10008.15.0.3.21" => ["dicomAuthorizedNodeCertificateReference", "LDAP OID"],
346
- "1.2.840.10008.15.0.3.22" => ["dicomThisNodeCertificateReference", "LDAP OID"],
347
- "1.2.840.10008.15.0.3.23" => ["dicomInstalled", "LDAP OID"],
348
- "1.2.840.10008.15.0.3.24" => ["dicomStationName", "LDAP OID"],
349
- "1.2.840.10008.15.0.3.25" => ["dicomDeviceSerialNumber", "LDAP OID"],
350
- "1.2.840.10008.15.0.3.26" => ["dicomInstitutionName", "LDAP OID"],
351
- "1.2.840.10008.15.0.3.27" => ["dicomInstitutionAddress", "LDAP OID"],
352
- "1.2.840.10008.15.0.3.28" => ["dicomInstitutionDepartmentName", "LDAP OID"],
353
- "1.2.840.10008.15.0.3.29" => ["dicomIssuerOfPatientID", "LDAP OID"],
354
- "1.2.840.10008.15.0.3.30" => ["dicomPreferredCallingAETitle", "LDAP OID"],
355
- "1.2.840.10008.15.0.3.31" => ["dicomSupportedCharacterSet", "LDAP OID"],
356
- "1.2.840.10008.15.0.4.1" => ["dicomConfigurationRoot", "LDAP OID"],
357
- "1.2.840.10008.15.0.4.2" => ["dicomDevicesRoot", "LDAP OID"],
358
- "1.2.840.10008.15.0.4.3" => ["dicomUniqueAETitlesRegistryRoot", "LDAP OID"],
359
- "1.2.840.10008.15.0.4.4" => ["dicomDevice", "LDAP OID"],
360
- "1.2.840.10008.15.0.4.5" => ["dicomNetworkAE", "LDAP OID"],
361
- "1.2.840.10008.15.0.4.6" => ["dicomNetworkConnection", "LDAP OID"],
362
- "1.2.840.10008.15.0.4.7" => ["dicomUniqueAETitle", "LDAP OID"],
363
- "1.2.840.10008.15.0.4.8" => ["dicomTransferCapability", "LDAP OID"]
364
- }
365
- end # of load_uid
366
-
367
-
368
- # Table A-2 Well-known Frames of Reference (DICOM Part 6, Annex A: Registry of DICOM unique identifiers)
369
- def load_frame_of_ref
370
- return {
371
- "1.2.840.10008.1.4.1.1" => ["Talairach Brain Atlas Frame of Reference", "Talairach J. and Tournoux P. Co-Planar stereotactic atlas of the human brain. Stutgart: Georg Thieme Verlag, 1988."],
372
- "1.2.840.10008.1.4.1.2" => ["SPM2 T1 Frame of Reference", "SPM2 /templates/T1.mnc"],
373
- "1.2.840.10008.1.4.1.3" => ["SPM2 T2 Frame of Reference", "SPM2 /templates/T2.mnc"],
374
- "1.2.840.10008.1.4.1.4" => ["SPM2 PD Frame of Reference", "SPM2 /templates/PD.mnc"],
375
- "1.2.840.10008.1.4.1.5" => ["SPM2 EPI Frame of Reference", "SPM2 /templates/EPI.mnc"],
376
- "1.2.840.10008.1.4.1.6" => ["SPM2 FIL T1 Frame of Reference", "SPM2 /templates/filT1.mnc"],
377
- "1.2.840.10008.1.4.1.7" => ["SPM2 PET Frame of Reference", "SPM2 /templates/PET.mnc"],
378
- "1.2.840.10008.1.4.1.8" => ["SPM2 TRANSM Frame of Reference", "SPM2 /templates/Transm.mnc"],
379
- "1.2.840.10008.1.4.1.9" => ["SPM2 SPECT Frame of Reference", "SPM2 /templates/SPECT.mnc"],
380
- "1.2.840.10008.1.4.1.10" => ["SPM2 GRAY Frame of Reference", "SPM2 /apriori/gray.mnc"],
381
- "1.2.840.10008.1.4.1.11" => ["SPM2 WHITE Frame of Reference", "SPM2 /apriori/white.mnc"],
382
- "1.2.840.10008.1.4.1.12" => ["SPM2 CSF Frame of Reference", "SPM2 /apriori/csf.mnc"],
383
- "1.2.840.10008.1.4.1.13" => ["SPM2 BRAINMASK Frame of Reference", "SPM2 /apriori/brainmask.mnc"],
384
- "1.2.840.10008.1.4.1.14" => ["SPM2 AVG305T1 Frame of Reference", "SPM2 /canonical/avg305T1.mnc"],
385
- "1.2.840.10008.1.4.1.15" => ["SPM2 AVG152T1 Frame of Reference", "SPM2 /canonical/avg152T1.mnc"],
386
- "1.2.840.10008.1.4.1.16" => ["SPM2 AVG152T2 Frame of Reference", "SPM2 /canonical/avg152T2.mnc"],
387
- "1.2.840.10008.1.4.1.17" => ["SPM2 AVG152PD Frame of Reference", "SPM2 /canonical/avg152PD.mnc"],
388
- "1.2.840.10008.1.4.1.18" => ["SPM2 SINGLESUBJT1 Frame of Reference", "SPM2 /canonical/single_subj_T1.mnc"],
389
- "1.2.840.10008.1.4.2.1" => ["ICBM 452 T1 Frame of Reference", "ICBM452 T1 Atlas"],
390
- "1.2.840.10008.1.4.2.2" => ["ICBM Single Subject MRI Frame of Reference", "ICBM Single Subject MRI Anatomical Template"]
391
- }
392
- end
393
-
394
-
395
- # Data element dictionary:
396
- def load_data_elements
17
+ # Returns the information from the DICOM standard's data element dictionary table, in a hash.
18
+ # The hash has tag as key, and an array as value, where the array contains vr and name.
19
+ #
20
+ def self.load_data_elements
397
21
  return {
398
22
  # E.1 Registry of DICOM command elements
399
23
  # Group 0000
@@ -3257,10 +2881,10 @@ module DICOM
3257
2881
  "60xx,1101" => [["US"], "Overlay Descriptor - Red"], # RET
3258
2882
  "60xx,1102" => [["US"], "Overlay Descriptor - Green"], # RET
3259
2883
  "60xx,1103" => [["US"], "Overlay Descriptor - Blue"], # RET
3260
- "60xx,1200" => [["US"], "Overlays- Gray"], # RET
2884
+ "60xx,1200" => [["US"], "Overlays - Gray"], # RET
3261
2885
  "60xx,1201" => [["US"], "Overlays - Red"], # RET
3262
2886
  "60xx,1202" => [["US"], "Overlays - Green"], # RET
3263
- "60xx,1203" => [["US"], "Overlays- Blue"], # RET
2887
+ "60xx,1203" => [["US"], "Overlays - Blue"], # RET
3264
2888
  "60xx,1301" => [["IS"], "ROI Area"],
3265
2889
  "60xx,1302" => [["DS"], "ROI Mean"],
3266
2890
  "60xx,1303" => [["DS"], "ROI Standard Deviation"],
@@ -3279,12 +2903,380 @@ module DICOM
3279
2903
  "7Fxx,0040" => [["OW"], "Variable Coefficients SDDN"], # RET
3280
2904
  "FFFA,FFFA" => [["SQ"], "Digital Signatures Sequence"],
3281
2905
  "FFFC,FFFC" => [["OB"], "Data Set Trailing Padding"],
3282
- "FFFE,E000" => [["()"], "Item"], # VR does not exist for this element
3283
- "FFFE,E00D" => [["()"], "Item Delimitation Item"], # VR does not exist for this element
3284
- "FFFE,E0DD" => [["()"], "Sequence Delimitation Item"] # VR does not exist for this element
2906
+ "FFFE,E000" => [[ITEM_VR], "Item"], # VR does not exist for this element
2907
+ "FFFE,E00D" => [[ITEM_VR], "Item Delimitation Item"], # VR does not exist for this element
2908
+ "FFFE,E0DD" => [[ITEM_VR], "Sequence Delimitation Item"] # VR does not exist for this element
2909
+ }
2910
+ end
2911
+
2912
+ # Returns the information from the DICOM standard's Photometric Interpretation table, in a hash.
2913
+ # The hash has the tag value as key, and a description as value.
2914
+ #
2915
+ # The data element for Photometric Interpretation has the following tag: 0028,0004
2916
+ #
2917
+ #--
2918
+ # NOTE: This method is not in use yet.
2919
+ #
2920
+ def self.load_image_types
2921
+ return {
2922
+ "MONOCHROME1" => "grey level image description (high values=dark, low values=bright)",
2923
+ "MONOCHROME2" => "grey level image description (high values=bright, low values=dark)",
2924
+ "PALETTE COLOR" => "pseudo color image description",
2925
+ "RGB" => "true color image description",
2926
+ "YBR_FULL" => "true color image description",
2927
+ "YBR_FULL_422" => "true color image description"
3285
2928
  }
3286
- end # of load_data_elements
2929
+ end
3287
2930
 
2931
+ # Returns the information from the DICOM standard's Unique Identifiers table, in a hash.
2932
+ # The hash has UID as key, and an array as value, where the array contains description and type.
2933
+ #
2934
+ # Table A.1 UID Values (DICOM Part 6, Annex A: Registry of DICOM unique identifiers).
2935
+ #
2936
+ def self.load_uid
2937
+ return {
2938
+ "1.2.840.10008.1.1" => ["Verification SOP Class", "SOP Class"],
2939
+ # Start of: Transfer syntax (Data element tag: 0002,0010)
2940
+ "1.2.840.10008.1.2" => ["Implicit VR Little Endian: Default Transfer Syntax for DICOM", "Transfer Syntax"],
2941
+ "1.2.840.10008.1.2.1" => ["Explicit VR Little Endian", "Transfer Syntax"],
2942
+ "1.2.840.10008.1.2.1.99" => ["Deflated Explicit VR Little Endian", "Transfer Syntax"],
2943
+ "1.2.840.10008.1.2.2" => ["Explicit VR Big Endian", "Transfer Syntax"],
2944
+ "1.2.840.10008.1.2.4.50" => ["JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression", "Transfer Syntax"],
2945
+ "1.2.840.10008.1.2.4.51" => ["JPEG Extended (Process 2 & 4): Default Transfer Syntax for Lossy JPEG 12 Bit Image Compression (Process 4 only)", "Transfer Syntax"],
2946
+ "1.2.840.10008.1.2.4.52" => ["JPEG Extended (Process 3 & 5)", "Transfer Syntax"], # RET
2947
+ "1.2.840.10008.1.2.4.53" => ["JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8)", "Transfer Syntax"], # RET
2948
+ "1.2.840.10008.1.2.4.54" => ["JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9)", "Transfer Syntax"], # RET
2949
+ "1.2.840.10008.1.2.4.55" => ["JPEG Full Progression, Non-Hierarchical (Process 10 & 12)", "Transfer Syntax"], # RET
2950
+ "1.2.840.10008.1.2.4.56" => ["JPEG Full Progression, Non-Hierarchical (Process 11 & 13)", "Transfer Syntax"], # RET
2951
+ "1.2.840.10008.1.2.4.57" => ["JPEG Lossless, Non-Hierarchical (Process 14)", "Transfer Syntax"],
2952
+ "1.2.840.10008.1.2.4.58" => ["JPEG Lossless, Non-Hierarchical (Process 15)", "Transfer Syntax"], # RET
2953
+ "1.2.840.10008.1.2.4.59" => ["JPEG Extended, Hierarchical (Process 16 & 18)", "Transfer Syntax"], # RET
2954
+ "1.2.840.10008.1.2.4.60" => ["JPEG Extended, Hierarchical (Process 17 & 19)", "Transfer Syntax"], # RET
2955
+ "1.2.840.10008.1.2.4.61" => ["JPEG Spectral Selection, Hierarchical (Process 20 & 22)", "Transfer Syntax"], # RET
2956
+ "1.2.840.10008.1.2.4.62" => ["JPEG Spectral Selection, Hierarchical (Process 21 & 23)", "Transfer Syntax"], # RET
2957
+ "1.2.840.10008.1.2.4.63" => ["JPEG Full Progression, Hierarchical (Process 24 & 26)", "Transfer Syntax"], # RET
2958
+ "1.2.840.10008.1.2.4.64" => ["JPEG Full Progression, Hierarchical (Process 25 & 27)", "Transfer Syntax"], # RET
2959
+ "1.2.840.10008.1.2.4.65" => ["JPEG Lossless, Hierarchical (Process 28)", "Transfer Syntax"], # RET
2960
+ "1.2.840.10008.1.2.4.66" => ["JPEG Lossless, Hierarchical (Process 29)", "Transfer Syntax"], # RET
2961
+ "1.2.840.10008.1.2.4.70" => ["JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]): Default Transfer Syntax for Lossless JPEG Image Compression", "Transfer Syntax"],
2962
+ "1.2.840.10008.1.2.4.80" => ["JPEG-LS Lossless Image Compression", "Transfer Syntax"],
2963
+ "1.2.840.10008.1.2.4.81" => ["JPEG-LS Lossy (Near-Lossless) Image Compression", "Transfer Syntax"],
2964
+ "1.2.840.10008.1.2.4.90" => ["JPEG 2000 Image Compression (Lossless Only)", "Transfer Syntax"],
2965
+ "1.2.840.10008.1.2.4.91" => ["JPEG 2000 Image Compression", "Transfer Syntax"],
2966
+ "1.2.840.10008.1.2.4.92" => ["JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only)", "Transfer Syntax"],
2967
+ "1.2.840.10008.1.2.4.93" => ["JPEG 2000 Part 2 Multi-component Image Compression", "Transfer Syntax"],
2968
+ "1.2.840.10008.1.2.4.94" => ["JPIP Referenced", "Transfer Syntax"],
2969
+ "1.2.840.10008.1.2.4.95" => ["JPIP Referenced Deflate", "Transfer Syntax"],
2970
+ "1.2.840.10008.1.2.4.100" => ["MPEG2 Main Profile @ Main Level", "Transfer Syntax"],
2971
+ "1.2.840.10008.1.2.4.101" => ["MPEG2 Main Profile @ High Level", "Transfer Syntax"],
2972
+ "1.2.840.10008.1.2.5" => ["RLE Lossless", "Transfer Syntax"],
2973
+ "1.2.840.10008.1.2.6.1" => ["RFC 2557 MIME encapsulation", "Transfer Syntax"],
2974
+ "1.2.840.10008.1.2.6.2" => ["XML Encoding", "Transfer Syntax"],
2975
+ # End of: Transfer syntax
2976
+ "1.2.840.10008.1.3.10" => ["Media Storage Directory Storage", "SOP Class"],
2977
+ "1.2.840.10008.1.4.1.1" => ["Talairach Brain Atlas Frame of Reference", "Well-known frame of reference"],
2978
+ "1.2.840.10008.1.4.1.2" => ["SPM2 T1 Frame of Reference", "Well-known frame of reference"],
2979
+ "1.2.840.10008.1.4.1.3" => ["SPM2 T2 Frame of Reference", "Well-known frame of reference"],
2980
+ "1.2.840.10008.1.4.1.4" => ["SPM2 PD Frame of Reference", "Well-known frame of reference"],
2981
+ "1.2.840.10008.1.4.1.5" => ["SPM2 EPI Frame of Reference", "Well-known frame of reference"],
2982
+ "1.2.840.10008.1.4.1.6" => ["SPM2 FIL T1 Frame of Reference", "Well-known frame of reference"],
2983
+ "1.2.840.10008.1.4.1.7" => ["SPM2 PET Frame of Reference", "Well-known frame of reference"],
2984
+ "1.2.840.10008.1.4.1.8" => ["SPM2 TRANSM Frame of Reference", "Well-known frame of reference"],
2985
+ "1.2.840.10008.1.4.1.9" => ["SPM2 SPECT Frame of Reference", "Well-known frame of reference"],
2986
+ "1.2.840.10008.1.4.1.10" => ["SPM2 GRAY Frame of Reference", "Well-known frame of reference"],
2987
+ "1.2.840.10008.1.4.1.11" => ["SPM2 WHITE Frame of Reference", "Well-known frame of reference"],
2988
+ "1.2.840.10008.1.4.1.12" => ["SPM2 CSF Frame of Reference", "Well-known frame of reference"],
2989
+ "1.2.840.10008.1.4.1.13" => ["SPM2 BRAINMASK Frame of Reference", "Well-known frame of reference"],
2990
+ "1.2.840.10008.1.4.1.14" => ["SPM2 AVG305T1 Frame of Reference", "Well-known frame of reference"],
2991
+ "1.2.840.10008.1.4.1.15" => ["SPM2 AVG152T1 Frame of Reference", "Well-known frame of reference"],
2992
+ "1.2.840.10008.1.4.1.16" => ["SPM2 AVG152T2 Frame of Reference", "Well-known frame of reference"],
2993
+ "1.2.840.10008.1.4.1.17" => ["SPM2 AVG152PD Frame of Reference", "Well-known frame of reference"],
2994
+ "1.2.840.10008.1.4.1.18" => ["SPM2 SINGLESUBJT1 Frame of Reference", "Well-known frame of reference"],
2995
+ "1.2.840.10008.1.4.2.1" => ["ICBM 452 T1 Frame of Reference", "Well-known frame of reference"],
2996
+ "1.2.840.10008.1.4.2.2" => ["ICBM Single Subject MRI Frame of Reference", "Well-known frame of reference"],
2997
+ "1.2.840.10008.1.5.1" => ["Hot Iron Color Palette SOP", "Well-known SOP Instance"],
2998
+ "1.2.840.10008.1.5.2" => ["PET Color Palette SOP Instance", "Well-known SOP PS Instance"],
2999
+ "1.2.840.10008.1.5.3" => ["Hot Metal Blue Color Palette SOP", "Well-known SOP PS Instance"],
3000
+ "1.2.840.10008.1.5.4" => ["PET 20 Step Color Palette SOP", "Well-known SOP PS Instance"],
3001
+ "1.2.840.10008.1.9" => ["Basic Study Content Notification SOP Class", "SOP Class"], # RET
3002
+ "1.2.840.10008.1.20.1" => ["Storage Commitment Push Model SOP Class", "SOP Class"],
3003
+ "1.2.840.10008.1.20.1.1" => ["Storage Commitment Push Model SOP Instance", "Well-known SOP Instance"],
3004
+ "1.2.840.10008.1.20.2" => ["Storage Commitment Pull Model SOP Class", "SOP Class"], # RET
3005
+ "1.2.840.10008.1.20.2.1" => ["Storage Commitment Pull Model SOP Instance", "Well-known SOP Instance"], # RET
3006
+ "1.2.840.10008.1.40" => ["Procedural Event Logging SOP Class", "SOP Class"],
3007
+ "1.2.840.10008.1.40.1" => ["Procedural Event Logging SOP Instance", "Well-known SOP Instance"],
3008
+ "1.2.840.10008.1.42" => ["Substance Administration Logging SOP Class", "SOP Class"],
3009
+ "1.2.840.10008.1.42.1" => ["Substance Administration Logging SOP Instance", "Well-known SOP Instance"],
3010
+ "1.2.840.10008.2.6.1" => ["DICOM UID Registry", "DICOM UIDs as a Coding Scheme"],
3011
+ "1.2.840.10008.2.16.4" => ["DICOM Controlled Terminology", "Coding Scheme"],
3012
+ "1.2.840.10008.3.1.1.1" => ["DICOM Application Context Name", "Application Context Name"],
3013
+ "1.2.840.10008.3.1.2.1.1" => ["Detached Patient Management SOP Class", "SOP Class"], # RET
3014
+ "1.2.840.10008.3.1.2.1.4" => ["Detached Patient Management Meta SOP Class", "Meta SOP Class"], # RET
3015
+ "1.2.840.10008.3.1.2.2.1" => ["Detached Visit Management SOP Class", "SOP Class"], # RET
3016
+ "1.2.840.10008.3.1.2.3.1" => ["Detached Study Management SOP Class", "SOP Class"], # RET
3017
+ "1.2.840.10008.3.1.2.3.2" => ["Study Component Management SOP Class", "SOP Class"], # RET
3018
+ "1.2.840.10008.3.1.2.3.3" => ["Modality Performed Procedure Step SOP Class", "SOP Class"],
3019
+ "1.2.840.10008.3.1.2.3.4" => ["Modality Performed Procedure Step Retrieve SOP Class", "SOP Class"],
3020
+ "1.2.840.10008.3.1.2.3.5" => ["Modality Performed Procedure Step Notification SOP Class", "SOP Class"],
3021
+ "1.2.840.10008.3.1.2.5.1" => ["Detached Results Management SOP Class", "SOP Class"], # RET
3022
+ "1.2.840.10008.3.1.2.5.4" => ["Detached Results Management Meta SOP Class", "Meta SOP Class"], # RET
3023
+ "1.2.840.10008.3.1.2.5.5" => ["Detached Study Management Meta SOP Class", "Meta SOP Class"], # RET
3024
+ "1.2.840.10008.3.1.2.6.1" => ["Detached Interpretation Management SOP Class", "SOP Class"], # RET
3025
+ "1.2.840.10008.4.2" => ["Storage Service Class", "Service Class"],
3026
+ "1.2.840.10008.5.1.1.1" => ["Basic Film Session SOP Class", "SOP Class"],
3027
+ "1.2.840.10008.5.1.1.2" => ["Basic Film Box SOP Class", "SOP Class"],
3028
+ "1.2.840.10008.5.1.1.4" => ["Basic Grayscale Image Box SOP Class", "SOP Class"],
3029
+ "1.2.840.10008.5.1.1.4.1" => ["Basic Color Image Box SOP Class", "SOP Class"],
3030
+ "1.2.840.10008.5.1.1.4.2" => ["Referenced Image Box SOP Class", "SOP Class"], # RET
3031
+ "1.2.840.10008.5.1.1.9" => ["Basic Grayscale Print Management Meta SOP Class", "Meta SOP Class"],
3032
+ "1.2.840.10008.5.1.1.9.1" => ["Referenced Grayscale Print Management Meta SOP Class", "Meta SOP Class"], # RET
3033
+ "1.2.840.10008.5.1.1.14" => ["Print Job SOP Class", "SOP Class"],
3034
+ "1.2.840.10008.5.1.1.15" => ["Basic Annotation Box SOP Class", "SOP Class"],
3035
+ "1.2.840.10008.5.1.1.16" => ["Printer SOP Class", "SOP Class"],
3036
+ "1.2.840.10008.5.1.1.16.376" => ["Printer Configuration Retrieval SOP Class", "SOP Class"],
3037
+ "1.2.840.10008.5.1.1.17" => ["Printer SOP Instance", "Well-known Printer SOP Instance"],
3038
+ "1.2.840.10008.5.1.1.17.376" => ["Printer Configuration Retrieval SOP Instance", "Well-known Printer SOP Instance"],
3039
+ "1.2.840.10008.5.1.1.18" => ["Basic Color Print Management Meta SOP Class", "Meta SOP Class"],
3040
+ "1.2.840.10008.5.1.1.18.1" => ["Referenced Color Print Management Meta SOP Class", "Meta SOP Class"], # RET
3041
+ "1.2.840.10008.5.1.1.22" => ["VOI LUT Box SOP Class", "SOP Class"],
3042
+ "1.2.840.10008.5.1.1.23" => ["Presentation LUT SOP Class", "SOP Class"],
3043
+ "1.2.840.10008.5.1.1.24" => ["Image Overlay Box SOP Class", "SOP Class"], # RET
3044
+ "1.2.840.10008.5.1.1.24.1" => ["Basic Print Image Overlay Box SOP Class", "SOP Class"], # RET
3045
+ "1.2.840.10008.5.1.1.25" => ["Print Queue SOP Instance", "Well-known Print Queue SOP Instance"], # RET
3046
+ "1.2.840.10008.5.1.1.26" => ["Print Queue Management SOP Class", "SOP Class"], # RET
3047
+ "1.2.840.10008.5.1.1.27" => ["Stored Print Storage SOP Class", "SOP Class"], # RET
3048
+ "1.2.840.10008.5.1.1.29" => ["Hardcopy Grayscale Image Storage SOP Class", "SOP Class"], # RET
3049
+ "1.2.840.10008.5.1.1.30" => ["Hardcopy Color Image Storage SOP Class", "SOP Class"], # RET
3050
+ "1.2.840.10008.5.1.1.31" => ["Pull Print Request SOP Class", "SOP Class"], # RET
3051
+ "1.2.840.10008.5.1.1.32" => ["Pull Stored Print Management Meta SOP Class", "Meta SOP Class"], # RET
3052
+ "1.2.840.10008.5.1.1.33" => ["Media Creation Management SOP Class UID", "SOP Class"],
3053
+ "1.2.840.10008.5.1.4.1.1.1" => ["Computed Radiography Image Storage", "SOP Class"],
3054
+ "1.2.840.10008.5.1.4.1.1.1.1" => ["Digital X-Ray Image Storage - For Presentation", "SOP Class"],
3055
+ "1.2.840.10008.5.1.4.1.1.1.1.1" => ["Digital X-Ray Image Storage - For Processing", "SOP Class"],
3056
+ "1.2.840.10008.5.1.4.1.1.1.2" => ["Digital Mammography X-Ray Image Storage - For Presentation", "SOP Class"],
3057
+ "1.2.840.10008.5.1.4.1.1.1.2.1" => ["Digital Mammography X-Ray Image Storage - For Processing", "SOP Class"],
3058
+ "1.2.840.10008.5.1.4.1.1.1.3" => ["Digital Intra-oral X-Ray Image Storage - For Presentation", "SOP Class"],
3059
+ "1.2.840.10008.5.1.4.1.1.1.3.1" => ["Digital Intra-oral X-Ray Image Storage - For Processing", "SOP Class"],
3060
+ "1.2.840.10008.5.1.4.1.1.2" => ["CT Image Storage", "SOP Class"],
3061
+ "1.2.840.10008.5.1.4.1.1.2.1" => ["Enhanced CT Image Storage", "SOP Class"],
3062
+ "1.2.840.10008.5.1.4.1.1.3" => ["Ultrasound Multi-frame Image Storage", "SOP Class"], # RET
3063
+ "1.2.840.10008.5.1.4.1.1.3.1" => ["Ultrasound Multi-frame Image Storage", "SOP Class"],
3064
+ "1.2.840.10008.5.1.4.1.1.4" => ["MR Image Storage", "SOP Class"],
3065
+ "1.2.840.10008.5.1.4.1.1.4.1" => ["Enhanced MR Image Storage", "SOP Class"],
3066
+ "1.2.840.10008.5.1.4.1.1.4.2" => ["MR Spectroscopy Storage", "SOP Class"],
3067
+ "1.2.840.10008.5.1.4.1.1.4.3" => ["Enhanced MR Color Image Storage", "SOP Class"],
3068
+ "1.2.840.10008.5.1.4.1.1.5" => ["Nuclear Medicine Image Storage", "SOP Class"], # RET
3069
+ "1.2.840.10008.5.1.4.1.1.6" => ["Ultrasound Image Storage", "SOP Class"], # RET
3070
+ "1.2.840.10008.5.1.4.1.1.6.1" => ["Ultrasound Image Storage", "SOP Class"],
3071
+ "1.2.840.10008.5.1.4.1.1.6.2" => ["Enhanced US Volume Storage", "SOP Class"],
3072
+ "1.2.840.10008.5.1.4.1.1.7" => ["Secondary Capture Image Storage", "SOP Class"],
3073
+ "1.2.840.10008.5.1.4.1.1.7.1" => ["Multi-frame Single Bit Secondary Capture Image Storage", "SOP Class"],
3074
+ "1.2.840.10008.5.1.4.1.1.7.2" => ["Multi-frame Grayscale Byte Secondary Capture Image Storage", "SOP Class"],
3075
+ "1.2.840.10008.5.1.4.1.1.7.3" => ["Multi-frame Grayscale Word Secondary Capture Image Storage", "SOP Class"],
3076
+ "1.2.840.10008.5.1.4.1.1.7.4" => ["Multi-frame True Color Secondary Capture Image Storage", "SOP Class"],
3077
+ "1.2.840.10008.5.1.4.1.1.8" => ["Standalone Overlay Storage", "SOP Class"], # RET
3078
+ "1.2.840.10008.5.1.4.1.1.9" => ["Standalone Curve Storage", "SOP Class"], # RET
3079
+ "1.2.840.10008.5.1.4.1.1.9.1" => ["Waveform Storage - Trial", "SOP Class"], # RET
3080
+ "1.2.840.10008.5.1.4.1.1.9.1.1" => ["12-lead ECG Waveform Storage", "SOP Class"],
3081
+ "1.2.840.10008.5.1.4.1.1.9.1.2" => ["General ECG Waveform Storage", "SOP Class"],
3082
+ "1.2.840.10008.5.1.4.1.1.9.1.3" => ["Ambulatory ECG Waveform Storage", "SOP Class"],
3083
+ "1.2.840.10008.5.1.4.1.1.9.2.1" => ["Hemodynamic Waveform Storage", "SOP Class"],
3084
+ "1.2.840.10008.5.1.4.1.1.9.3.1" => ["Cardiac Electrophysiology Waveform Storage", "SOP Class"],
3085
+ "1.2.840.10008.5.1.4.1.1.9.4.1" => ["Basic Voice Audio Waveform Storage", "SOP Class"],
3086
+ "1.2.840.10008.5.1.4.1.1.9.4.2" => ["General Audio Waveform Storage", "SOP Class"],
3087
+ "1.2.840.10008.5.1.4.1.1.9.5.1" => ["Arterial Pulse Waveform Storage", "SOP Class"],
3088
+ "1.2.840.10008.5.1.4.1.1.9.6.1" => ["Respiratory Waveform Storage", "SOP Class"],
3089
+ "1.2.840.10008.5.1.4.1.1.10" => ["Standalone Modality LUT Storage", "SOP Class"], # RET
3090
+ "1.2.840.10008.5.1.4.1.1.11" => ["Standalone VOI LUT Storage", "SOP Class"], # RET
3091
+ "1.2.840.10008.5.1.4.1.1.11.1" => ["Grayscale Softcopy Presentation State Storage SOP Class", "SOP Class"],
3092
+ "1.2.840.10008.5.1.4.1.1.11.2" => ["Color Softcopy Presentation State Storage SOP Class", "SOP Class"],
3093
+ "1.2.840.10008.5.1.4.1.1.11.3" => ["Pseudo-Color Softcopy Presentation State Storage SOP Class", "SOP Class"],
3094
+ "1.2.840.10008.5.1.4.1.1.11.4" => ["Blending Softcopy Presentation State Storage SOP Class", "SOP Class"],
3095
+ "1.2.840.10008.5.1.4.1.1.11.5" => ["XA/XRF Grayscale Softcopy Presentation State Storage", "SOP Class"],
3096
+ "1.2.840.10008.5.1.4.1.1.12.1" => ["X-Ray Angiographic Image Storage", "SOP Class"],
3097
+ "1.2.840.10008.5.1.4.1.1.12.1.1" => ["Enhanced XA Image Storage", "SOP Class"],
3098
+ "1.2.840.10008.5.1.4.1.1.12.2" => ["X-Ray Radiofluoroscopic Image Storage", "SOP Class"],
3099
+ "1.2.840.10008.5.1.4.1.1.12.2.1" => ["Enhanced XRF Image Storage", "SOP Class"],
3100
+ "1.2.840.10008.5.1.4.1.1.13.1.1" => ["X-Ray 3D Angiographic Image Storage", "SOP Class"],
3101
+ "1.2.840.10008.5.1.4.1.1.13.1.2" => ["X-Ray 3D Craniofacial Image Storage", "SOP Class"],
3102
+ "1.2.840.10008.5.1.4.1.1.13.1.3" => ["Breast Tomosynthesis Image Storage", "SOP Class"],
3103
+ "1.2.840.10008.5.1.4.1.1.12.3" => ["X-Ray Angiographic Bi-Plane Image Storage", "SOP Class"], # RET
3104
+ "1.2.840.10008.5.1.4.1.1.20" => ["Nuclear Medicine Image Storage", "SOP Class"],
3105
+ "1.2.840.10008.5.1.4.1.1.66" => ["Raw Data Storage", "SOP Class"],
3106
+ "1.2.840.10008.5.1.4.1.1.66.1" => ["Spatial Registration Storage", "SOP Class"],
3107
+ "1.2.840.10008.5.1.4.1.1.66.2" => ["Spatial Fiducials Storage", "SOP Class"],
3108
+ "1.2.840.10008.5.1.4.1.1.66.3" => ["Deformable Spatial Registration Storage", "SOP Class"],
3109
+ "1.2.840.10008.5.1.4.1.1.66.4" => ["Segmentation Storage", "SOP Class"],
3110
+ "1.2.840.10008.5.1.4.1.1.66.5" => ["Surface Segmentation Storage", "SOP Class"],
3111
+ "1.2.840.10008.5.1.4.1.1.67" => ["Real World Value Mapping Storage", "SOP Class"],
3112
+ "1.2.840.10008.5.1.4.1.1.77.1" => ["VL Image Storage - Trial", ""], # RET
3113
+ "1.2.840.10008.5.1.4.1.1.77.2" => ["VL Multi-frame Image Storage - Trial", ""], # RET
3114
+ "1.2.840.10008.5.1.4.1.1.77.1.1" => ["VL Endoscopic Image Storage", "SOP Class"],
3115
+ "1.2.840.10008.5.1.4.1.1.77.1.1.1" => ["Video Endoscopic Image Storage", "SOP Class"],
3116
+ "1.2.840.10008.5.1.4.1.1.77.1.2" => ["VL Microscopic Image Storage", "SOP Class"],
3117
+ "1.2.840.10008.5.1.4.1.1.77.1.2.1" => ["Video Microscopic Image Storage", "SOP Class"],
3118
+ "1.2.840.10008.5.1.4.1.1.77.1.3" => ["VL Slide-Coordinates Microscopic Image Storage", "SOP Class"],
3119
+ "1.2.840.10008.5.1.4.1.1.77.1.4" => ["VL Photographic Image Storage", "SOP Class"],
3120
+ "1.2.840.10008.5.1.4.1.1.77.1.4.1" => ["Video Photographic Image Storage", "SOP Class"],
3121
+ "1.2.840.10008.5.1.4.1.1.77.1.5.1" => ["Ophthalmic Photography 8 Bit Image Storage", "SOP Class"],
3122
+ "1.2.840.10008.5.1.4.1.1.77.1.5.2" => ["Ophthalmic Photography 16 Bit Image Storage", "SOP Class"],
3123
+ "1.2.840.10008.5.1.4.1.1.77.1.5.3" => ["Stereometric Relationship Storage", "SOP Class"],
3124
+ "1.2.840.10008.5.1.4.1.1.77.1.5.4" => ["Ophthalmic Tomography Image Storage", "SOP Class"],
3125
+ "1.2.840.10008.5.1.4.1.1.78.1" => ["Lensometry Measurements Storage", "SOP Class"],
3126
+ "1.2.840.10008.5.1.4.1.1.78.2" => ["Autorefraction Measurements Storage", "SOP Class"],
3127
+ "1.2.840.10008.5.1.4.1.1.78.3" => ["Keratometry Measurements Storage", "SOP Class"],
3128
+ "1.2.840.10008.5.1.4.1.1.78.4" => ["Subjective Refraction Measurements Storage", "SOP Class"],
3129
+ "1.2.840.10008.5.1.4.1.1.78.5" => ["Visual Acuity Measurements", "SOP Class"],
3130
+ "1.2.840.10008.5.1.4.1.1.78.6" => ["Spectacle Prescription Reports Storage", "SOP Class"],
3131
+ "1.2.840.10008.5.1.4.1.1.79.1" => ["Macular Grid Thickness and Volume Report Storage", "SOP Class"],
3132
+ "1.2.840.10008.5.1.4.1.1.88.1" => ["Text SR Storage - Trial", "SOP Class"], # RET
3133
+ "1.2.840.10008.5.1.4.1.1.88.2" => ["Audio SR Storage - Trial", "SOP Class"], # RET
3134
+ "1.2.840.10008.5.1.4.1.1.88.3" => ["Detail SR Storage - Trial", "SOP Class"], # RET
3135
+ "1.2.840.10008.5.1.4.1.1.88.4" => ["Comprehensive SR Storage - Trial", "SOP Class"], # RET
3136
+ "1.2.840.10008.5.1.4.1.1.88.11" => ["Basic Text SR Storage", "SOP Class"],
3137
+ "1.2.840.10008.5.1.4.1.1.88.22" => ["Enhanced SR Storage", "SOP Class"],
3138
+ "1.2.840.10008.5.1.4.1.1.88.33" => ["Comprehensive SR Storage", "SOP Class"],
3139
+ "1.2.840.10008.5.1.4.1.1.88.40" => ["Procedure Log Storage", "SOP Class"],
3140
+ "1.2.840.10008.5.1.4.1.1.88.50" => ["Mammography CAD SR Storage", "SOP Class"],
3141
+ "1.2.840.10008.5.1.4.1.1.88.59" => ["Key Object Selection Document Storage", "SOP Class"],
3142
+ "1.2.840.10008.5.1.4.1.1.88.65" => ["Chest CAD SR Storage", "SOP Class"],
3143
+ "1.2.840.10008.5.1.4.1.1.88.67" => ["X-Ray Radiation Dose SR Storage", "SOP Class"],
3144
+ "1.2.840.10008.5.1.4.1.1.88.69" => ["Colon CAD SR Storage", "SOP Class"],
3145
+ "1.2.840.10008.5.1.4.1.1.104.1" => ["Encapsulated PDF Storage", "SOP Class"],
3146
+ "1.2.840.10008.5.1.4.1.1.104.2" => ["Encapsulated CDA Storage", "SOP Class"],
3147
+ "1.2.840.10008.5.1.4.1.1.128" => ["Positron Emission Tomography Image Storage", "SOP Class"],
3148
+ "1.2.840.10008.5.1.4.1.1.129" => ["Standalone PET Curve Storage", "SOP Class"], # RET
3149
+ "1.2.840.10008.5.1.4.1.1.130" => ["Enhanced PET Image Storage", "SOP Class"],
3150
+ "1.2.840.10008.5.1.4.1.1.131" => ["Basic Structured Display Storage", "SOP Class"],
3151
+ "1.2.840.10008.5.1.4.1.1.481.1" => ["RT Image Storage", "SOP Class"],
3152
+ "1.2.840.10008.5.1.4.1.1.481.2" => ["RT Dose Storage", "SOP Class"],
3153
+ "1.2.840.10008.5.1.4.1.1.481.3" => ["RT Structure Set Storage", "SOP Class"],
3154
+ "1.2.840.10008.5.1.4.1.1.481.4" => ["RT Beams Treatment Record Storage", "SOP Class"],
3155
+ "1.2.840.10008.5.1.4.1.1.481.5" => ["RT Plan Storage", "SOP Class"],
3156
+ "1.2.840.10008.5.1.4.1.1.481.6" => ["RT Brachy Treatment Record Storage", "SOP Class"],
3157
+ "1.2.840.10008.5.1.4.1.1.481.7" => ["RT Treatment Summary Record Storage", "SOP Class"],
3158
+ "1.2.840.10008.5.1.4.1.1.481.8" => ["RT Ion Plan Storage", "SOP Class"],
3159
+ "1.2.840.10008.5.1.4.1.1.481.9" => ["RT Ion Beams Treatment Record Storage", "SOP Class"],
3160
+ "1.2.840.10008.5.1.4.1.2.1.1" => ["Patient Root Query/Retrieve Information Model - FIND", "SOP Class"],
3161
+ "1.2.840.10008.5.1.4.1.2.1.2" => ["Patient Root Query/Retrieve Information Model - MOVE", "SOP Class"],
3162
+ "1.2.840.10008.5.1.4.1.2.1.3" => ["Patient Root Query/Retrieve Information Model - GET", "SOP Class"],
3163
+ "1.2.840.10008.5.1.4.1.2.2.1" => ["Study Root Query/Retrieve Information Model - FIND", "SOP Class"],
3164
+ "1.2.840.10008.5.1.4.1.2.2.2" => ["Study Root Query/Retrieve Information Model - MOVE", "SOP Class"],
3165
+ "1.2.840.10008.5.1.4.1.2.2.3" => ["Study Root Query/Retrieve Information Model - GET", "SOP Class"],
3166
+ "1.2.840.10008.5.1.4.1.2.3.1" => ["Patient/Study Only Query/Retrieve Information Model - FIND", "SOP Class"], # RET
3167
+ "1.2.840.10008.5.1.4.1.2.3.2" => ["Patient/Study Only Query/Retrieve Information Model - MOVE", "SOP Class"], # RET
3168
+ "1.2.840.10008.5.1.4.1.2.3.3" => ["Patient/Study Only Query/Retrieve Information Model - GET", "SOP Class"], # RET
3169
+ "1.2.840.10008.5.1.4.1.2.4.2" => ["Composite Instance Root Retrieve - MOVE", "SOP Class"],
3170
+ "1.2.840.10008.5.1.4.1.2.4.3" => ["Composite Instance Root Retrieve - GET", "SOP Class"],
3171
+ "1.2.840.10008.5.1.4.1.2.5.3" => ["Composite Instance Retrieve Without Bulk Data - GET", "SOP Class"],
3172
+ "1.2.840.10008.5.1.4.31" => ["Modality Worklist Information Model - FIND", "SOP Class"],
3173
+ "1.2.840.10008.5.1.4.32.1" => ["General Purpose Worklist Information Model - FIND", "SOP Class"],
3174
+ "1.2.840.10008.5.1.4.32.2" => ["General Purpose Scheduled Procedure Step SOP Class", "SOP Class"],
3175
+ "1.2.840.10008.5.1.4.32.3" => ["General Purpose Performed Procedure Step SOP Class", "SOP Class"],
3176
+ "1.2.840.10008.5.1.4.32" => ["General Purpose Worklist Management Meta SOP Class", "Meta SOP Class"],
3177
+ "1.2.840.10008.5.1.4.33" => ["Instance Availability Notification SOP Class", "SOP Class"],
3178
+ "1.2.840.10008.5.1.4.34.1" => ["RT Beams Delivery Instruction Storage (Supplement 74 Frozen Draft)", "SOP Class"],
3179
+ "1.2.840.10008.5.1.4.34.2" => ["RT Conventional Machine Verification (Supplement 74 Frozen Draft)", "SOP Class"],
3180
+ "1.2.840.10008.5.1.4.34.3" => ["RT Ion Machine Verification (Supplement 74 Frozen Draft)", "SOP Class"],
3181
+ "1.2.840.10008.5.1.4.34.4" => ["Unified Worklist and Procedure Step Service Class", "Service Class"],
3182
+ "1.2.840.10008.5.1.4.34.4.1" => ["Unified Procedure Step - Push SOP Class", "SOP Class"],
3183
+ "1.2.840.10008.5.1.4.34.4.2" => ["Unified Procedure Step - Watch SOP Class", "SOP Class"],
3184
+ "1.2.840.10008.5.1.4.34.4.3" => ["Unified Procedure Step - Pull SOP Class", "SOP Class"],
3185
+ "1.2.840.10008.5.1.4.34.4.4" => ["Unified Procedure Step - Event SOP Class", "SOP Class"],
3186
+ "1.2.840.10008.5.1.4.34.5" => ["Unified Worklist and Procedure Step SOP Instance", "Well-known SOP Instance"],
3187
+ "1.2.840.10008.5.1.4.37.1" => ["General Relevant Patient Information Query", "SOP Class"],
3188
+ "1.2.840.10008.5.1.4.37.2" => ["Breast Imaging Relevant Patient Information Query", "SOP Class"],
3189
+ "1.2.840.10008.5.1.4.37.3" => ["Cardiac Relevant Patient Information Query", "SOP Class"],
3190
+ "1.2.840.10008.5.1.4.38.1" => ["Hanging Protocol Storage", "SOP Class"],
3191
+ "1.2.840.10008.5.1.4.38.2" => ["Hanging Protocol Information Model - FIND", "SOP Class"],
3192
+ "1.2.840.10008.5.1.4.38.3" => ["Hanging Protocol Information Model - MOVE", "SOP Class"],
3193
+ "1.2.840.10008.5.1.4.38.4" => ["Hanging Protocol Information Model - GET", "SOP Class"],
3194
+ "1.2.840.10008.5.1.4.39.1" => ["Color Palette Storage", "Transfer"],
3195
+ "1.2.840.10008.5.1.4.39.2" => ["Color Palette Information Model - FIND", "Query/Retrieve"],
3196
+ "1.2.840.10008.5.1.4.39.3" => ["Color Palette Information Model - MOVE", "Query/Retrieve"],
3197
+ "1.2.840.10008.5.1.4.39.4" => ["Color Palette Information Model - GET", "Query/Retrieve"],
3198
+ "1.2.840.10008.5.1.4.41" => ["Product Characteristics Query SOP Class", "SOP Class"],
3199
+ "1.2.840.10008.5.1.4.42" => ["Substance Approval Query SOP Class", "SOP Class"],
3200
+ # Start: LDAP OID
3201
+ "1.2.840.10008.15.0.3.1" => ["dicomDeviceName", "LDAP OID"],
3202
+ "1.2.840.10008.15.0.3.2" => ["dicomDescription", "LDAP OID"],
3203
+ "1.2.840.10008.15.0.3.3" => ["dicomManufacturer", "LDAP OID"],
3204
+ "1.2.840.10008.15.0.3.4" => ["dicomManufacturerModelName", "LDAP OID"],
3205
+ "1.2.840.10008.15.0.3.5" => ["dicomSoftwareVersion", "LDAP OID"],
3206
+ "1.2.840.10008.15.0.3.6" => ["dicomVendorData", "LDAP OID"],
3207
+ "1.2.840.10008.15.0.3.7" => ["dicomAETitle", "LDAP OID"],
3208
+ "1.2.840.10008.15.0.3.8" => ["dicomNetworkConnectionReference", "LDAP OID"],
3209
+ "1.2.840.10008.15.0.3.9" => ["dicomApplicationCluster", "LDAP OID"],
3210
+ "1.2.840.10008.15.0.3.10" => ["dicomAssociationInitiator", "LDAP OID"],
3211
+ "1.2.840.10008.15.0.3.11" => ["dicomAssociationAcceptor", "LDAP OID"],
3212
+ "1.2.840.10008.15.0.3.12" => ["dicomHostname", "LDAP OID"],
3213
+ "1.2.840.10008.15.0.3.13" => ["dicomPort", "LDAP OID"],
3214
+ "1.2.840.10008.15.0.3.14" => ["dicomSOPClass", "LDAP OID"],
3215
+ "1.2.840.10008.15.0.3.15" => ["dicomTransferRole", "LDAP OID"],
3216
+ "1.2.840.10008.15.0.3.16" => ["dicomTransferSyntax", "LDAP OID"],
3217
+ "1.2.840.10008.15.0.3.17" => ["dicomPrimaryDeviceType", "LDAP OID"],
3218
+ "1.2.840.10008.15.0.3.18" => ["dicomRelatedDeviceReference", "LDAP OID"],
3219
+ "1.2.840.10008.15.0.3.19" => ["dicomPreferredCalledAETitle", "LDAP OID"],
3220
+ "1.2.840.10008.15.0.3.20" => ["dicomTLSCyphersuite", "LDAP OID"],
3221
+ "1.2.840.10008.15.0.3.21" => ["dicomAuthorizedNodeCertificateReference", "LDAP OID"],
3222
+ "1.2.840.10008.15.0.3.22" => ["dicomThisNodeCertificateReference", "LDAP OID"],
3223
+ "1.2.840.10008.15.0.3.23" => ["dicomInstalled", "LDAP OID"],
3224
+ "1.2.840.10008.15.0.3.24" => ["dicomStationName", "LDAP OID"],
3225
+ "1.2.840.10008.15.0.3.25" => ["dicomDeviceSerialNumber", "LDAP OID"],
3226
+ "1.2.840.10008.15.0.3.26" => ["dicomInstitutionName", "LDAP OID"],
3227
+ "1.2.840.10008.15.0.3.27" => ["dicomInstitutionAddress", "LDAP OID"],
3228
+ "1.2.840.10008.15.0.3.28" => ["dicomInstitutionDepartmentName", "LDAP OID"],
3229
+ "1.2.840.10008.15.0.3.29" => ["dicomIssuerOfPatientID", "LDAP OID"],
3230
+ "1.2.840.10008.15.0.3.30" => ["dicomPreferredCallingAETitle", "LDAP OID"],
3231
+ "1.2.840.10008.15.0.3.31" => ["dicomSupportedCharacterSet", "LDAP OID"],
3232
+ "1.2.840.10008.15.0.4.1" => ["dicomConfigurationRoot", "LDAP OID"],
3233
+ "1.2.840.10008.15.0.4.2" => ["dicomDevicesRoot", "LDAP OID"],
3234
+ "1.2.840.10008.15.0.4.3" => ["dicomUniqueAETitlesRegistryRoot", "LDAP OID"],
3235
+ "1.2.840.10008.15.0.4.4" => ["dicomDevice", "LDAP OID"],
3236
+ "1.2.840.10008.15.0.4.5" => ["dicomNetworkAE", "LDAP OID"],
3237
+ "1.2.840.10008.15.0.4.6" => ["dicomNetworkConnection", "LDAP OID"],
3238
+ "1.2.840.10008.15.0.4.7" => ["dicomUniqueAETitle", "LDAP OID"],
3239
+ "1.2.840.10008.15.0.4.8" => ["dicomTransferCapability", "LDAP OID"]
3240
+ }
3241
+ end
3242
+
3243
+ # Returns the information from the DICOM standard's Value Representation table, in a hash.
3244
+ # The hash has vr as key, and an array as value, where the array contains description and data type.
3245
+ #
3246
+ #--
3247
+ # NOTE: This method is not in use yet.
3248
+ #
3249
+ def self.load_vr
3250
+ return {
3251
+ "AE" => ["Application entity", "String"],
3252
+ "AS" => ["Age string", "String"],
3253
+ "AT" => ["Attribute tag", "Two 2-byte integers"],
3254
+ "CS" => ["Code string", "String"],
3255
+ "DA" => ["Date", "String"],
3256
+ "DS" => ["Decimal string", "String"],
3257
+ "DT" => ["Date time", "String"],
3258
+ "FL" => ["Floating point single", "4-byte floating point"],
3259
+ "FD" => ["Floating point double", "8-byte floating point"],
3260
+ "IS" => ["Integer string", "String"],
3261
+ "LO" => ["Long string", "String"],
3262
+ "LT" => ["Long text", "String"],
3263
+ "OB" => ["Other byte string", "1-byte integers"],
3264
+ "OF" => ["Other float string", "4-byte floating point numbers"],
3265
+ "OW" => ["Other word string", "2-byte integers"],
3266
+ "PN" => ["Person name", "String"],
3267
+ "SH" => ["Short string", "String"],
3268
+ "SL" => ["Signed long", "4-byte integer"],
3269
+ "SQ" => ["Sequence of items", "Unknown"],
3270
+ "SS" => ["Signed short", "2-byte integer"],
3271
+ "ST" => ["Short text", "String"],
3272
+ "TM" => ["Time", "String"],
3273
+ "UI" => ["Unique identifier", "String"],
3274
+ "UL" => ["Unsigned long", "4-byte integer"],
3275
+ "UN" => ["Unknown", "Unknown"],
3276
+ "US" => ["Unsigned short", "2-byte integer"],
3277
+ "UT" => ["Unlimited text", "String"]
3278
+ }
3279
+ end
3288
3280
 
3289
- end # of class
3290
- end # of module
3281
+ end
3282
+ end