7 #include "fwGdcmIO/helper/SOPClass.hpp" 9 #include <boost/assign/list_of.hpp> 22 const SOPClass::SOPClassContainerType SOPClass::s_SOP_CLASS_LIST = ::boost::assign::map_list_of
24 (
"1.2.840.10008.1.3.10",
25 std::make_pair(
"Media Storage Directory Storage",
30 (
"1.2.840.10008.5.1.4.1.1.1",
32 "Computed Radiography Image Storage",
false))
33 (
"1.2.840.10008.5.1.4.1.1.1.1",
35 "Digital X-Ray Image Storage - For Presentation",
37 (
"1.2.840.10008.5.1.4.1.1.1.1.1",
39 "Digital X-Ray Image Storage - For Processing",
41 (
"1.2.840.10008.5.1.4.1.1.1.2",
43 "Digital Mammography X-Ray Image Storage - For Presentation",
45 (
"1.2.840.10008.5.1.4.1.1.1.2.1",
47 "Digital Mammography X-Ray Image Storage - For Processing",
49 (
"1.2.840.10008.5.1.4.1.1.1.3",
51 "Digital Intra-Oral X-Ray Image Storage - For Presentation",
53 (
"1.2.840.10008.5.1.4.1.1.1.3.1",
55 "Digital Intra-Oral X-Ray Image Storage - For Processing",
57 (
"1.2.840.10008.5.1.4.1.1.2",
58 std::make_pair(
"CT Image Storage",
false))
59 (
"1.2.840.10008.5.1.4.1.1.2.1",
60 std::make_pair(
"Enhanced CT Image Storage",
62 (
"1.2.840.10008.5.1.4.1.1.2.2",
64 "Legacy Converted Enhanced CT Image Storage",
66 (
"1.2.840.10008.5.1.4.1.1.3.1",
68 "Ultrasound Multi-frame Image Storage",
70 (
"1.2.840.10008.5.1.4.1.1.4",
71 std::make_pair(
"MR Image Storage",
false))
72 (
"1.2.840.10008.5.1.4.1.1.4.1",
73 std::make_pair(
"Enhanced MR Image Storage",
75 (
"1.2.840.10008.5.1.4.1.1.4.2",
76 std::make_pair(
"MR Spectroscopy Storage",
false))
77 (
"1.2.840.10008.5.1.4.1.1.4.3",
78 std::make_pair(
"Enhanced MR Color Image Storage",
80 (
"1.2.840.10008.5.1.4.1.1.4.4",
82 "Legacy Converted Enhanced MR Image Storage",
84 (
"1.2.840.10008.5.1.4.1.1.6.1",
85 std::make_pair(
"Ultrasound Image Storage",
87 (
"1.2.840.10008.5.1.4.1.1.6.2",
88 std::make_pair(
"Enhanced US Volume Storage",
90 (
"1.2.840.10008.5.1.4.1.1.7",
91 std::make_pair(
"Secondary Capture Image Storage",
93 (
"1.2.840.10008.5.1.4.1.1.7.1",
95 "Multi-frame Single Bit Secondary Capture Image Storage",
97 (
"1.2.840.10008.5.1.4.1.1.7.2",
99 "Multi-frame Grayscale Byte Secondary Capture Image Storage",
101 (
"1.2.840.10008.5.1.4.1.1.7.3",
103 "Multi-frame Grayscale Word Secondary Capture Image Storage",
105 (
"1.2.840.10008.5.1.4.1.1.7.4",
107 "Multi-frame True Color Secondary Capture Image Storage",
109 (
"1.2.840.10008.5.1.4.1.1.9.1.1",
110 std::make_pair(
"12-lead ECG Waveform Storage",
112 (
"1.2.840.10008.5.1.4.1.1.9.1.2",
113 std::make_pair(
"General ECG Waveform Storage",
115 (
"1.2.840.10008.5.1.4.1.1.9.1.3",
116 std::make_pair(
"Ambulatory ECG Waveform Storage",
118 (
"1.2.840.10008.5.1.4.1.1.9.2.1",
119 std::make_pair(
"Hemodynamic Waveform Storage",
121 (
"1.2.840.10008.5.1.4.1.1.9.3.1",
123 "Cardiac Electrophysiology Waveform Storage",
125 (
"1.2.840.10008.5.1.4.1.1.9.4.1",
127 "Basic Voice Audio Waveform Storage",
true))
128 (
"1.2.840.10008.5.1.4.1.1.9.4.2",
129 std::make_pair(
"General Audio Waveform Storage",
131 (
"1.2.840.10008.5.1.4.1.1.9.5.1",
132 std::make_pair(
"Arterial Pulse Waveform Storage",
134 (
"1.2.840.10008.5.1.4.1.1.9.6.1",
135 std::make_pair(
"Respiratory Waveform Storage",
137 (
"1.2.840.10008.5.1.4.1.1.11.1",
139 "Grayscale Softcopy Presentation State Storage",
141 (
"1.2.840.10008.5.1.4.1.1.11.2",
143 "Color Softcopy Presentation State Storage",
145 (
"1.2.840.10008.5.1.4.1.1.11.3",
147 "Pseudo-Color Softcopy Presentation State Storage",
149 (
"1.2.840.10008.5.1.4.1.1.11.4",
151 "Blending Softcopy Presentation State Storage",
153 (
"1.2.840.10008.5.1.4.1.1.11.5",
155 "XA/XRF Grayscale Softcopy Presentation State Storage",
157 (
"1.2.840.10008.5.1.4.1.1.11.6",
159 "Grayscale Planar MPR Volumetric Presentation State Storage",
161 (
"1.2.840.10008.5.1.4.1.1.11.7",
163 "Compositing Planar MPR Volumetric Presentation State Storage",
165 (
"1.2.840.10008.5.1.4.1.1.12.1",
166 std::make_pair(
"X-Ray Angiographic Image Storage",
168 (
"1.2.840.10008.5.1.4.1.1.12.1.1",
169 std::make_pair(
"Enhanced XA Image Storage",
171 (
"1.2.840.10008.5.1.4.1.1.12.2",
173 "X-Ray Radiofluoroscopic Image Storage",
175 (
"1.2.840.10008.5.1.4.1.1.12.2.1",
176 std::make_pair(
"Enhanced XRF Image Storage",
178 (
"1.2.840.10008.5.1.4.1.1.13.1.1",
180 "X-Ray 3D Angiographic Image Storage",
182 (
"1.2.840.10008.5.1.4.1.1.13.1.2",
184 "X-Ray 3D Craniofacial Image Storage",
186 (
"1.2.840.10008.5.1.4.1.1.13.1.3",
188 "Breast Tomosynthesis Image Storage",
false))
189 (
"1.2.840.10008.5.1.4.1.1.13.1.4",
191 "Breast Projection X-Ray Image Storage - For Presentation",
193 (
"1.2.840.10008.5.1.4.1.1.13.1.5",
195 "Breast Projection X-Ray Image Storage - For Processing",
197 (
"1.2.840.10008.5.1.4.1.1.14.1",
199 "Intravascular Optical Coherence Tomography Image Storage - For Presentation",
201 (
"1.2.840.10008.5.1.4.1.1.14.2",
203 "Intravascular Optical Coherence Tomography Image Storage - For Processing",
205 (
"1.2.840.10008.5.1.4.1.1.20",
206 std::make_pair(
"Nuclear Medicine Image Storage",
208 (
"1.2.840.10008.5.1.4.1.1.30",
209 std::make_pair(
"Parametric Map Storage",
false))
210 (
"1.2.840.10008.5.1.4.1.1.66",
211 std::make_pair(
"Raw Data Storage",
true))
212 (
"1.2.840.10008.5.1.4.1.1.66.1",
213 std::make_pair(
"Spatial Registration Storage",
215 (
"1.2.840.10008.5.1.4.1.1.66.2",
216 std::make_pair(
"Spatial Fiducials Storage",
218 (
"1.2.840.10008.5.1.4.1.1.66.3",
220 "Deformable Spatial Registration Storage",
222 (
"1.2.840.10008.5.1.4.1.1.66.4",
223 std::make_pair(
"Segmentation Storage",
false))
224 (
"1.2.840.10008.5.1.4.1.1.66.5",
225 std::make_pair(
"Surface Segmentation Storage",
227 (
"1.2.840.10008.5.1.4.1.1.66.6",
228 std::make_pair(
"Tractography Results Storage",
230 (
"1.2.840.10008.5.1.4.1.1.67",
231 std::make_pair(
"Real World Value Mapping Storage",
233 (
"1.2.840.10008.5.1.4.1.1.68.1",
234 std::make_pair(
"Surface Scan Mesh Storage",
236 (
"1.2.840.10008.5.1.4.1.1.68.2",
237 std::make_pair(
"Surface Scan Point Cloud Storage",
239 (
"1.2.840.10008.5.1.4.1.1.77.1.1",
240 std::make_pair(
"VL Endoscopic Image Storage",
242 (
"1.2.840.10008.5.1.4.1.1.77.1.1.1",
243 std::make_pair(
"Video Endoscopic Image Storage",
245 (
"1.2.840.10008.5.1.4.1.1.77.1.2",
246 std::make_pair(
"VL Microscopic Image Storage",
248 (
"1.2.840.10008.5.1.4.1.1.77.1.2.1",
249 std::make_pair(
"Video Microscopic Image Storage",
251 (
"1.2.840.10008.5.1.4.1.1.77.1.3",
253 "VL Slide-Coordinates Microscopic Image Storage",
255 (
"1.2.840.10008.5.1.4.1.1.77.1.4",
256 std::make_pair(
"VL Photographic Image Storage",
258 (
"1.2.840.10008.5.1.4.1.1.77.1.4.1",
259 std::make_pair(
"Video Photographic Image Storage",
261 (
"1.2.840.10008.5.1.4.1.1.77.1.5.1",
263 "Ophthalmic Photography 8 Bit Image Storage",
265 (
"1.2.840.10008.5.1.4.1.1.77.1.5.2",
267 "Ophthalmic Photography 16 Bit Image Storage",
269 (
"1.2.840.10008.5.1.4.1.1.77.1.5.3",
271 "Stereometric Relationship Storage",
false))
272 (
"1.2.840.10008.5.1.4.1.1.77.1.5.4",
274 "Ophthalmic Tomography Image Storage",
276 (
"1.2.840.10008.5.1.4.1.1.77.1.5.5",
278 "Wide Field Ophthalmic Photography Stereographic Projection Image Storage",
280 (
"1.2.840.10008.5.1.4.1.1.77.1.5.6",
282 "Wide Field Ophthalmic Photography 3D Coordinates Image Storage",
284 (
"1.2.840.10008.5.1.4.1.1.77.1.6",
286 "VL Whole Slide Microscopy Image Storage",
288 (
"1.2.840.10008.5.1.4.1.1.78.1",
289 std::make_pair(
"Lensometry Measurements Storage",
291 (
"1.2.840.10008.5.1.4.1.1.78.2",
293 "Autorefraction Measurements Storage",
295 (
"1.2.840.10008.5.1.4.1.1.78.3",
296 std::make_pair(
"Keratometry Measurements Storage",
298 (
"1.2.840.10008.5.1.4.1.1.78.4",
300 "Subjective Refraction Measurements Storage",
302 (
"1.2.840.10008.5.1.4.1.1.78.5",
304 "Visual Acuity Storage Measurements Storage",
306 (
"1.2.840.10008.5.1.4.1.1.78.6",
308 "Spectacle Prescription Report Storage",
310 (
"1.2.840.10008.5.1.4.1.1.78.7",
312 "Ophthalmic Axial Measurements Storage",
314 (
"1.2.840.10008.5.1.4.1.1.78.8",
316 "Intraocular Lens Calculations Storage",
318 (
"1.2.840.10008.5.1.4.1.1.79.1",
320 "Macular Grid Thickness and Volume Report",
322 (
"1.2.840.10008.5.1.4.1.1.80.1",
324 "Ophthalmic Visual Field Static Perimetry Measurements Storage",
326 (
"1.2.840.10008.5.1.4.1.1.81.1",
327 std::make_pair(
"Ophthalmic Thickness Map Storage",
329 (
"1.2.840.10008.5.1.4.1.1.82.1",
330 std::make_pair(
"Corneal Topography Map Storage",
332 (
"1.2.840.10008.5.1.4.1.1.88.11",
333 std::make_pair(
"Basic Text SR Storage",
true))
334 (
"1.2.840.10008.5.1.4.1.1.88.22",
335 std::make_pair(
"Enhanced SR Storage",
true))
336 (
"1.2.840.10008.5.1.4.1.1.88.33",
337 std::make_pair(
"Comprehensive SR Storage",
true))
338 (
"1.2.840.10008.5.1.4.1.1.88.34",
339 std::make_pair(
"Comprehensive 3D SR Storage",
341 (
"1.2.840.10008.5.1.4.1.1.88.35",
342 std::make_pair(
"Extensible SR Storage",
true))
343 (
"1.2.840.10008.5.1.4.1.1.88.40",
344 std::make_pair(
"Procedure Log Storage",
true))
345 (
"1.2.840.10008.5.1.4.1.1.88.50",
346 std::make_pair(
"Mammography CAD SR Storage",
348 (
"1.2.840.10008.5.1.4.1.1.88.59",
350 "Key Object Selection Document Storage",
352 (
"1.2.840.10008.5.1.4.1.1.88.65",
353 std::make_pair(
"Chest CAD SR Storage",
true))
354 (
"1.2.840.10008.5.1.4.1.1.88.67",
355 std::make_pair(
"X-Ray Radiation Dose SR Storage",
357 (
"1.2.840.10008.5.1.4.1.1.88.68",
359 "Radiopharmaceutical Radiation Dose SR Storage",
361 (
"1.2.840.10008.5.1.4.1.1.88.69",
362 std::make_pair(
"Colon CAD SR Storage",
true))
363 (
"1.2.840.10008.5.1.4.1.1.88.70",
365 "Implantation Plan SR Document Storage",
367 (
"1.2.840.10008.5.1.4.1.1.88.71",
368 std::make_pair(
"Acquisition Context SR Storage",
370 (
"1.2.840.10008.5.1.4.1.1.90.1",
372 "Content Assessment Results Storage",
false))
373 (
"1.2.840.10008.5.1.4.1.1.104.1",
374 std::make_pair(
"Encapsulated PDF Storage",
true))
375 (
"1.2.840.10008.5.1.4.1.1.104.2",
376 std::make_pair(
"Encapsulated CDA Storage",
true))
377 (
"1.2.840.10008.5.1.4.1.1.128",
379 "Positron Emission Tomography Image Storage",
381 (
"1.2.840.10008.5.1.4.1.1.130",
382 std::make_pair(
"Enhanced PET Image Storage",
384 (
"1.2.840.10008.5.1.4.1.1.128.1",
386 "Legacy Converted Enhanced PET Image Storage",
388 (
"1.2.840.10008.5.1.4.1.1.131",
389 std::make_pair(
"Basic Structured Display Storage",
391 (
"1.2.840.10008.5.1.4.1.1.481.1",
392 std::make_pair(
"RT Image Storage",
false))
393 (
"1.2.840.10008.5.1.4.1.1.481.2",
394 std::make_pair(
"RT Dose Storage",
false))
395 (
"1.2.840.10008.5.1.4.1.1.481.3",
396 std::make_pair(
"RT Structure Set Storage",
398 (
"1.2.840.10008.5.1.4.1.1.481.4",
400 "RT Beams Treatment Record Storage",
false))
401 (
"1.2.840.10008.5.1.4.1.1.481.5",
402 std::make_pair(
"RT Plan Storage",
false))
403 (
"1.2.840.10008.5.1.4.1.1.481.6",
405 "RT Brachy Treatment Record Storage",
false))
406 (
"1.2.840.10008.5.1.4.1.1.481.7",
408 "RT Treatment Summary Record Storage",
410 (
"1.2.840.10008.5.1.4.1.1.481.8",
411 std::make_pair(
"RT Ion Plan Storage",
false))
412 (
"1.2.840.10008.5.1.4.1.1.481.9",
414 "RT Ion Beams Treatment Record Storage",
416 (
"1.2.840.10008.5.1.4.34.7",
418 "RT Beams Delivery Instruction Storage",
420 (
"1.2.840.10008.5.1.4.34.10",
422 "RT Brachy Application Setup Delivery Instruction Storage",
426 (
"1.2.840.10008.5.1.4.38.1",
427 std::make_pair(
"Hanging Protocol Storage",
429 (
"1.2.840.10008.5.1.4.39.1",
430 std::make_pair(
"Color Palette Storage",
false))
431 (
"1.2.840.10008.5.1.4.43.1",
432 std::make_pair(
"Generic Implant Template Storage",
434 (
"1.2.840.10008.5.1.4.44.1",
436 "Implant Assembly Template Storage",
false))
437 (
"1.2.840.10008.5.1.4.45.1",
438 std::make_pair(
"Implant Template Group Storage",
447 auto it = s_SOP_CLASS_LIST.find(SOPClassUID);
448 return it != s_SOP_CLASS_LIST.end() ? it->second.first : SOPClassUID;
455 auto it = s_SOP_CLASS_LIST.find(SOPClassUID);
456 return it != s_SOP_CLASS_LIST.end() ? it->second.second :
true;
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
static FWGDCMIO_API std::string getSOPClassName(const std::string &SOPClassUID)
Returns SOP Class Name.
static FWGDCMIO_API bool isHazardousSOPClass(const std::string &SOPClassUID)
Returns weither the SOP Class is hazardous or not.