Mercurial > hg > orthanc
annotate Core/DicomFormat/DicomTag.cpp @ 2447:878b59270859
upgrade to year 2018
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jan 2018 09:35:07 +0100 |
parents | a3a65de1840f |
children | 47d812308d63 |
rev | line source |
---|---|
0 | 1 /** |
59 | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
1900 | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
1288
6e7e5ed91c2d
upgrade to year 2015
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1276
diff
changeset
|
4 * Department, University Hospital of Liege, Belgium |
2447
878b59270859
upgrade to year 2018
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2244
diff
changeset
|
5 * Copyright (C) 2017-2018 Osimis S.A., Belgium |
0 | 6 * |
7 * This program is free software: you can redistribute it and/or | |
8 * modify it under the terms of the GNU General Public License as | |
9 * published by the Free Software Foundation, either version 3 of the | |
10 * License, or (at your option) any later version. | |
136 | 11 * |
12 * In addition, as a special exception, the copyright holders of this | |
13 * program give permission to link the code of its release with the | |
14 * OpenSSL project's "OpenSSL" library (or with modified versions of it | |
15 * that use the same license as the "OpenSSL" library), and distribute | |
16 * the linked executables. You must obey the GNU General Public License | |
17 * in all respects for all of the code used other than "OpenSSL". If you | |
18 * modify file(s) with this exception, you may extend this exception to | |
19 * your version of the file(s), but you are not obligated to do so. If | |
20 * you do not wish to do so, delete this exception statement from your | |
21 * version. If you delete this exception statement from all source files | |
22 * in the program, then also delete it here. | |
0 | 23 * |
24 * This program is distributed in the hope that it will be useful, but | |
25 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
27 * General Public License for more details. | |
28 * | |
29 * You should have received a copy of the GNU General Public License | |
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
31 **/ | |
32 | |
33 | |
824
a811bdf8b8eb
precompiled headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
689
diff
changeset
|
34 #include "../PrecompiledHeaders.h" |
0 | 35 #include "DicomTag.h" |
36 | |
59 | 37 #include "../OrthancException.h" |
0 | 38 |
39 #include <iostream> | |
40 #include <iomanip> | |
35
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
41 #include <stdio.h> |
0 | 42 |
59 | 43 namespace Orthanc |
0 | 44 { |
45 bool DicomTag::operator< (const DicomTag& other) const | |
46 { | |
47 if (group_ < other.group_) | |
48 return true; | |
49 | |
50 if (group_ > other.group_) | |
51 return false; | |
52 | |
53 return element_ < other.element_; | |
54 } | |
55 | |
56 | |
57 std::ostream& operator<< (std::ostream& o, const DicomTag& tag) | |
58 { | |
59 using namespace std; | |
60 ios_base::fmtflags state = o.flags(); | |
61 o.flags(ios::right | ios::hex); | |
62 o << "(" << setfill('0') << setw(4) << tag.GetGroup() | |
63 << "," << setw(4) << tag.GetElement() << ")"; | |
64 o.flags(state); | |
65 return o; | |
66 } | |
67 | |
68 | |
35
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
69 std::string DicomTag::Format() const |
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
70 { |
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
71 char b[16]; |
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
72 sprintf(b, "%04x,%04x", group_, element_); |
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
73 return std::string(b); |
f6d12037f886
full json vs. simplified json
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
74 } |
291
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
75 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
76 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
77 const char* DicomTag::GetMainTagsName() const |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
78 { |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
79 if (*this == DICOM_TAG_ACCESSION_NUMBER) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
80 return "AccessionNumber"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
81 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
82 if (*this == DICOM_TAG_SOP_INSTANCE_UID) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
83 return "SOPInstanceUID"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
84 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
85 if (*this == DICOM_TAG_PATIENT_ID) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
86 return "PatientID"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
87 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
88 if (*this == DICOM_TAG_SERIES_INSTANCE_UID) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
89 return "SeriesInstanceUID"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
90 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
91 if (*this == DICOM_TAG_STUDY_INSTANCE_UID) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
92 return "StudyInstanceUID"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
93 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
94 if (*this == DICOM_TAG_PIXEL_DATA) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
95 return "PixelData"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
96 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
97 if (*this == DICOM_TAG_IMAGE_INDEX) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
98 return "ImageIndex"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
99 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
100 if (*this == DICOM_TAG_INSTANCE_NUMBER) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
101 return "InstanceNumber"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
102 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
103 if (*this == DICOM_TAG_NUMBER_OF_SLICES) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
104 return "NumberOfSlices"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
105 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
106 if (*this == DICOM_TAG_NUMBER_OF_FRAMES) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
107 return "NumberOfFrames"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
108 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
109 if (*this == DICOM_TAG_CARDIAC_NUMBER_OF_IMAGES) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
110 return "CardiacNumberOfImages"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
111 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
112 if (*this == DICOM_TAG_IMAGES_IN_ACQUISITION) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
113 return "ImagesInAcquisition"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
114 |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
115 if (*this == DICOM_TAG_PATIENT_NAME) |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
116 return "PatientName"; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
117 |
1732
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
118 if (*this == DICOM_TAG_IMAGE_POSITION_PATIENT) |
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
119 return "ImagePositionPatient"; |
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
120 |
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
121 if (*this == DICOM_TAG_IMAGE_ORIENTATION_PATIENT) |
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
122 return "ImageOrientationPatient"; |
5cdea1cd2071
remove display of ImageOrientationPatient and ImagePositionPatient
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1725
diff
changeset
|
123 |
291
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
124 return ""; |
4d7469f72a0b
embedding of dicom dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
136
diff
changeset
|
125 } |
961 | 126 |
127 | |
1368 | 128 void DicomTag::AddTagsForModule(std::set<DicomTag>& target, |
1276
6164f7200c43
refactoring modules
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1162
diff
changeset
|
129 DicomModule module) |
961 | 130 { |
131 // REFERENCE: 11_03pu.pdf, DICOM PS 3.3 2011 - Information Object Definitions | |
132 | |
133 switch (module) | |
134 { | |
1276
6164f7200c43
refactoring modules
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1162
diff
changeset
|
135 case DicomModule_Patient: |
961 | 136 // This is Table C.7-1 "Patient Module Attributes" (p. 373) |
137 target.insert(DicomTag(0x0010, 0x0010)); // Patient's name | |
138 target.insert(DicomTag(0x0010, 0x0020)); // Patient ID | |
139 target.insert(DicomTag(0x0010, 0x0030)); // Patient's birth date | |
140 target.insert(DicomTag(0x0010, 0x0040)); // Patient's sex | |
141 target.insert(DicomTag(0x0008, 0x1120)); // Referenced patient sequence | |
142 target.insert(DicomTag(0x0010, 0x0032)); // Patient's birth time | |
143 target.insert(DicomTag(0x0010, 0x1000)); // Other patient IDs | |
144 target.insert(DicomTag(0x0010, 0x1002)); // Other patient IDs sequence | |
145 target.insert(DicomTag(0x0010, 0x1001)); // Other patient names | |
146 target.insert(DicomTag(0x0010, 0x2160)); // Ethnic group | |
147 target.insert(DicomTag(0x0010, 0x4000)); // Patient comments | |
148 target.insert(DicomTag(0x0010, 0x2201)); // Patient species description | |
149 target.insert(DicomTag(0x0010, 0x2202)); // Patient species code sequence | |
150 target.insert(DicomTag(0x0010, 0x2292)); // Patient breed description | |
151 target.insert(DicomTag(0x0010, 0x2293)); // Patient breed code sequence | |
152 target.insert(DicomTag(0x0010, 0x2294)); // Breed registration sequence | |
153 target.insert(DicomTag(0x0010, 0x2297)); // Responsible person | |
154 target.insert(DicomTag(0x0010, 0x2298)); // Responsible person role | |
155 target.insert(DicomTag(0x0010, 0x2299)); // Responsible organization | |
156 target.insert(DicomTag(0x0012, 0x0062)); // Patient identity removed | |
157 target.insert(DicomTag(0x0012, 0x0063)); // De-identification method | |
158 target.insert(DicomTag(0x0012, 0x0064)); // De-identification method code sequence | |
159 | |
160 // Table 10-18 ISSUER OF PATIENT ID MACRO (p. 112) | |
161 target.insert(DicomTag(0x0010, 0x0021)); // Issuer of Patient ID | |
162 target.insert(DicomTag(0x0010, 0x0024)); // Issuer of Patient ID qualifiers sequence | |
163 break; | |
164 | |
1276
6164f7200c43
refactoring modules
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1162
diff
changeset
|
165 case DicomModule_Study: |
961 | 166 // This is Table C.7-3 "General Study Module Attributes" (p. 378) |
167 target.insert(DicomTag(0x0020, 0x000d)); // Study instance UID | |
168 target.insert(DicomTag(0x0008, 0x0020)); // Study date | |
169 target.insert(DicomTag(0x0008, 0x0030)); // Study time | |
170 target.insert(DicomTag(0x0008, 0x0090)); // Referring physician's name | |
171 target.insert(DicomTag(0x0008, 0x0096)); // Referring physician identification sequence | |
172 target.insert(DicomTag(0x0020, 0x0010)); // Study ID | |
173 target.insert(DicomTag(0x0008, 0x0050)); // Accession number | |
174 target.insert(DicomTag(0x0008, 0x0051)); // Issuer of accession number sequence | |
175 target.insert(DicomTag(0x0008, 0x1030)); // Study description | |
176 target.insert(DicomTag(0x0008, 0x1048)); // Physician(s) of record | |
177 target.insert(DicomTag(0x0008, 0x1049)); // Physician(s) of record identification sequence | |
178 target.insert(DicomTag(0x0008, 0x1060)); // Name of physician(s) reading study | |
179 target.insert(DicomTag(0x0008, 0x1062)); // Physician(s) reading study identification sequence | |
180 target.insert(DicomTag(0x0032, 0x1034)); // Requesting service code sequence | |
181 target.insert(DicomTag(0x0008, 0x1110)); // Referenced study sequence | |
182 target.insert(DicomTag(0x0008, 0x1032)); // Procedure code sequence | |
183 target.insert(DicomTag(0x0040, 0x1012)); // Reason for performed procedure code sequence | |
184 break; | |
185 | |
1276
6164f7200c43
refactoring modules
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1162
diff
changeset
|
186 case DicomModule_Series: |
961 | 187 // This is Table C.7-5 "General Series Module Attributes" (p. 385) |
962 | 188 target.insert(DicomTag(0x0008, 0x0060)); // Modality |
189 target.insert(DicomTag(0x0020, 0x000e)); // Series Instance UID | |
190 target.insert(DicomTag(0x0020, 0x0011)); // Series Number | |
191 target.insert(DicomTag(0x0020, 0x0060)); // Laterality | |
192 target.insert(DicomTag(0x0008, 0x0021)); // Series Date | |
193 target.insert(DicomTag(0x0008, 0x0031)); // Series Time | |
194 target.insert(DicomTag(0x0008, 0x1050)); // Performing Physicians’ Name | |
195 target.insert(DicomTag(0x0008, 0x1052)); // Performing Physician Identification Sequence | |
196 target.insert(DicomTag(0x0018, 0x1030)); // Protocol Name | |
197 target.insert(DicomTag(0x0008, 0x103e)); // Series Description | |
198 target.insert(DicomTag(0x0008, 0x103f)); // Series Description Code Sequence | |
199 target.insert(DicomTag(0x0008, 0x1070)); // Operators' Name | |
200 target.insert(DicomTag(0x0008, 0x1072)); // Operator Identification Sequence | |
201 target.insert(DicomTag(0x0008, 0x1111)); // Referenced Performed Procedure Step Sequence | |
202 target.insert(DicomTag(0x0008, 0x1250)); // Related Series Sequence | |
203 target.insert(DicomTag(0x0018, 0x0015)); // Body Part Examined | |
204 target.insert(DicomTag(0x0018, 0x5100)); // Patient Position | |
205 target.insert(DicomTag(0x0028, 0x0108)); // Smallest Pixel Value in Series | |
206 target.insert(DicomTag(0x0029, 0x0109)); // Largest Pixel Value in Series | |
207 target.insert(DicomTag(0x0040, 0x0275)); // Request Attributes Sequence | |
208 target.insert(DicomTag(0x0010, 0x2210)); // Anatomical Orientation Type | |
209 | |
210 // Table 10-16 PERFORMED PROCEDURE STEP SUMMARY MACRO ATTRIBUTES | |
211 target.insert(DicomTag(0x0040, 0x0253)); // Performed Procedure Step ID | |
212 target.insert(DicomTag(0x0040, 0x0244)); // Performed Procedure Step Start Date | |
213 target.insert(DicomTag(0x0040, 0x0245)); // Performed Procedure Step Start Time | |
214 target.insert(DicomTag(0x0040, 0x0254)); // Performed Procedure Step Description | |
215 target.insert(DicomTag(0x0040, 0x0260)); // Performed Protocol Code Sequence | |
216 target.insert(DicomTag(0x0040, 0x0280)); // Comments on the Performed Procedure Step | |
961 | 217 break; |
218 | |
1276
6164f7200c43
refactoring modules
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1162
diff
changeset
|
219 case DicomModule_Instance: |
961 | 220 // This is Table C.12-1 "SOP Common Module Attributes" (p. 1207) |
962 | 221 target.insert(DicomTag(0x0008, 0x0016)); // SOP Class UID |
222 target.insert(DicomTag(0x0008, 0x0018)); // SOP Instance UID | |
223 target.insert(DicomTag(0x0008, 0x0005)); // Specific Character Set | |
224 target.insert(DicomTag(0x0008, 0x0012)); // Instance Creation Date | |
225 target.insert(DicomTag(0x0008, 0x0013)); // Instance Creation Time | |
226 target.insert(DicomTag(0x0008, 0x0014)); // Instance Creator UID | |
227 target.insert(DicomTag(0x0008, 0x001a)); // Related General SOP Class UID | |
228 target.insert(DicomTag(0x0008, 0x001b)); // Original Specialized SOP Class UID | |
229 target.insert(DicomTag(0x0008, 0x0110)); // Coding Scheme Identification Sequence | |
230 target.insert(DicomTag(0x0008, 0x0201)); // Timezone Offset From UTC | |
231 target.insert(DicomTag(0x0018, 0xa001)); // Contributing Equipment Sequence | |
232 target.insert(DicomTag(0x0020, 0x0013)); // Instance Number | |
233 target.insert(DicomTag(0x0100, 0x0410)); // SOP Instance Status | |
234 target.insert(DicomTag(0x0100, 0x0420)); // SOP Authorization DateTime | |
235 target.insert(DicomTag(0x0100, 0x0424)); // SOP Authorization Comment | |
236 target.insert(DicomTag(0x0100, 0x0426)); // Authorization Equipment Certification Number | |
237 target.insert(DicomTag(0x0400, 0x0500)); // Encrypted Attributes Sequence | |
238 target.insert(DicomTag(0x0400, 0x0561)); // Original Attributes Sequence | |
239 target.insert(DicomTag(0x0040, 0xa390)); // HL7 Structured Document Reference Sequence | |
240 target.insert(DicomTag(0x0028, 0x0303)); // Longitudinal Temporal Information Modified | |
241 | |
242 // Table C.12-6 "DIGITAL SIGNATURES MACRO ATTRIBUTES" (p. 1216) | |
243 target.insert(DicomTag(0x4ffe, 0x0001)); // MAC Parameters sequence | |
244 target.insert(DicomTag(0xfffa, 0xfffa)); // Digital signatures sequence | |
961 | 245 break; |
246 | |
962 | 247 // TODO IMAGE MODULE? |
248 | |
961 | 249 default: |
250 throw OrthancException(ErrorCode_ParameterOutOfRange); | |
251 } | |
252 } | |
0 | 253 } |