]> Creatis software - gdcm.git/blob - Dicts/DicomDir.dic
copies and renames the files within a directory as ima-SeriesNumber-ImageNumber.dcm...
[gdcm.git] / Dicts / DicomDir.dic
1 metaElem    0002 0000 "UL" "123"                  // Meta Group Length : to be computed later
2 metaElem    0002 0001 "OB" "02"                   // File Meta Information Version :length is 2; bin value has to be fixed
3 metaElem    0002 0002 "UI" "1.2.840.10008.1.3.10"  // Media Stored SOP Class UID i.e. : 'Media Storage Directory Storage'
4 metaElem    0002 0003 "UI" ""                     // Media Stored SOP Instance UID  : may be forged later
5 metaElem    0002 0010 "UI" "1.2.840.10008.1.2.1"  // Transfer Syntax UID i.e. : Explicit VR - Little Endian
6 metaElem    0002 0012 "US" ""                     // Implementation Class UID : may be forged later
7 metaElem    0002 0013 "SH" "gdcm1.3.1 "           // Implementation Version Name  don't remove trailing space !
8 metaElem    0002 0016 "AE" " "                    // Source Application Entity Title (our ?)
9 metaElem    0002 0100 "UI" ""                     // Private Information Creator
10 metaElem    0004 1130 "CS" ""                     // File-set ID
11 metaElem    0004 1200 "UL" "0"                    // Offset of the first dir of root dir entity : to be computed later
12 metaElem    0004 1202 "UL" "0"                    // Offset of the last  dir of root dir entity : to be computed later
13 metaElem    0004 1212 "US" "-1"                   // File-set consistency flag : 0xffff Length inconsistencies will be assumed
14
15 patientElem fffe e000 "UL" "255"                  // 'no length' item : length to be set to 0xffffffff later
16 patientElem 0004 1400 "UL" "0"                    // Offset of next directory record : = 0x0 : fffe e00d at end !
17 patientElem 0004 1410 "US" "65535"                // Record in use flag : 65535 = 0xFFFF (see 03_10PU.PDF p 31)
18 patientElem 0004 1420 "UL" "0"                    // Offset of referenced lower-level dir entity : to be computed later
19 patientElem 0004 1430 "CS" "PATIENT "             // Directory Record Type    don't remove trailing space !
20 patientElem 0008 0005 "CS" "ISO_IR 100"           // Specific Character Set
21 patientElem 0010 0010 "PN" ""                     // Patient's Name
22 patientElem 0010 0020 "LO" ""                     // Patient ID
23 patientElem 0010 0030 "DA" ""                     // Patient's Birthdate
24 patientElem 0010 0040 "CS" ""                     // Patient's Sex
25 patientElem fffe e00d "UL" ""                     // Item delimitation : length to be set to ZERO later
26
27 studyElem   fffe e000 "UL" "-1"                   // 'no length' item : length to be set to 0xffffffff later
28 studyElem   0004 1400 "UL" "0"                    // Offset of next directory record : = 0x0 : fffe e00d at end !
29 studyElem   0004 1410 "US" "65535"                // Record in use flag : 65535 = 0xFFFF (see 03_10PU.PDF p 31)
30 studyElem   0004 1420 "UL" "0"                    // Offset of referenced lower-level dir entity : to be computed later
31 studyElem   0004 1430 "CS" "STUDY "               // Directory Record Type    don't remove trailing space !
32 studyElem   0008 0005 "CS" "ISO_IR 100"           // Specific Character Set
33 studyElem   0008 0020 "DA" "UNKNOWN"              // Study Date       // Type 1C Conditional Element
34 studyElem   0008 0030 "TM" "UNKNOWN"              // Study Time       // Type 1C Conditional Element
35 studyElem   0008 0050 "SH" "UNKNOWN"              // Accession Number // Type 1C Conditional Element
36 studyElem   0008 1030 "LO" ""                     // Study Description
37 studyElem   0020 000d "UI" ""                     // Study Instance UID : may be forged later
38 studyElem   0020 0010 "SH" ""                     // Study ID :           may be forged later
39 studyElem   fffe e00d "UL" ""                     // Item delimitation : length to be set to ZERO later
40
41 serieElem   fffe e000 "UL" "-1"                   // 'no length' item : length to be set to 0xffffffff later
42 serieElem   0004 1400 "UL" "0"                    // Offset of next directory record : = 0x0 : fffe e00d at end !
43 serieElem   0004 1410 "US" "65535"                // Record in use flag : 65535 = 0xFFFF (see 03_10PU.PDF p 31)
44 serieElem   0004 1420 "UL" "0"                    // Offset of referenced lower-level dir entity : to be computed later
45 serieElem   0004 1430 "CS" "SERIES"               // Directory Record Type    don't add trailing space !
46 serieElem   0008 0005 "CS" "ISO_IR 100"           // Specific Character Set
47 serieElem   0008 0021 "DA" ""                     // Series Date
48 serieElem   0008 0031 "TM" ""                     // Series Time
49 serieElem   0008 0060 "CS" ""                     // Modality
50 serieElem   0008 0080 "LO" ""                     // Institution Name  :   may be forged later
51 serieElem   0008 0081 "ST" ""                     // Institution Address : may be forged later
52 serieElem   0008 1010 "SH" ""                     // Station Name
53 serieElem   0008 1050 "PN" ""                     // Performing Physician's Name
54 serieElem   0008 103e "LO" ""                     // Series Description :  may be forged later
55 serieElem   0018 1030 "LO" ""                     // Protocol Name
56 serieElem   0020 000e "UI" ""                     // Series Instance UID : may be forged later
57 serieElem   0020 0011 "IS" "0"                    // Series Number :       may be forged later
58 serieElem   fffe e00d "UL" ""                     // Item delimitation :   length to be set to ZERO later
59
60 imageElem   fffe e000 "UL" "-1"                   // 'no length' item : length to be set to 0xffffffff later
61 imageElem   0004 1400 "UL" "0"                    // Offset of next directory record : = 0x0 : fffe e00d at end !
62 imageElem   0004 1410 "US" "65535"                // Record in use flag : 65535 = 0xFFFF (see 03_10PU.PDF p 31)
63 imageElem   0004 1420 "UL" "0"                    // Offset of referenced lower-level dir entity : to be computed later
64 imageElem   0004 1430 "CS" "IMAGE "               // Directory Record Type    don't remove trailing space !
65 imageElem   0004 1500 "CS" ""                     // Referenced File ID : will be set later  =  relative File Name
66 imageElem   0004 1510 "UI" ""                     // Referenced SOP Class UID in File    : may be forged later
67 imageElem   0004 1511 "UI" ""                     // Referenced SOP Instance UID in File : may be forged later
68 imageElem   0004 1512 "UI" ""                     // Referenced Transfer Syntax in File
69 imageElem   0008 0005 "CS" "ISO_IR 100"           // Specific Character Set
70 imageElem   0008 0008 "CS" ""                     // Image Type
71 imageElem   0008 0016 "UI" ""                     // SOP Class UID :    to be set/forged later
72 imageElem   0008 0018 "UI" ""                     // SOP Instance UID : to be set/forged later
73 imageElem   0008 0023 "DA" ""                     // Content Date
74 imageElem   0008 0033 "TM" ""                     // Content Time
75 imageElem   0018 1060 "DS" "0"                    // Trigger Time
76 imageElem   0020 0013 "IS" "0"                    // Image Number
77 imageElem   0020 0032 "DS" "1.0\1.0\1.0 "         // Image Position Patient
78 imageElem   0020 0037 "DS" "1\0\0\0\1\0 "         // Image Orientation Patient
79 imageElem   0020 0052 "UI" "0"                    // Frame of Reference UID
80 imageElem   0020 1041 "DS" "0.0"                  // Slice Location
81 imageElem   0020 4000 "LT" ""                     // Image Comments
82 imageElem   0028 0002 "US" "1"                    // Samples per Pixel
83 imageElem   0028 0004 "CS" ""                     // Photometric Interpretation
84 imageElem   0028 0006 "US" "0"                    // Planar Configuration
85 imageElem   0028 0008 "IS" "1"                    // Number of Frames
86 imageElem   0028 0010 "US" "0"                    // Rows
87 imageElem   0028 0011 "US" "0"                    // Columns
88 imageElem   0028 0030 "DS" "1.0\1.0 "             // Pixel Spacing
89 imageElem   0028 0100 "US" " "                    // Bits Allocated
90 imageElem   0028 0101 "US" " "                    // Bits Stored
91 imageElem   0028 0103 "US" " "                    // Pixel Representation
92 imageElem   0028 1052 "DS" "0 "                   // Rescale Intercept
93 imageElem   0028 1053 "DS" "1 "                   // Rescale Slope
94 imageElem   0050 0004 "CS" "0"                    // Calibration Image
95 imageElem   fffe e00d "UL" ""                     // Item delimitation : length to be set to ZERO later