~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina5/tina-libs/tina/file/file_DicomDef.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  * 
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  * 
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-libs/tina/file/file_DicomDef.h,v $
 37  * Date    :  $Date: 2003/09/22 16:09:02 $
 38  * Version :  $Revision: 1.2 $
 39  * CVS Id  :  $Id: file_DicomDef.h,v 1.2 2003/09/22 16:09:02 tony Exp $
 40  *
 41  * Author  : Legacy TINA
 42  *
 43  * Notes :
 44  *
 45  *
 46  *  Modified version for TINA
 47  *
 48  *          Copyright (C) 1993, 1994, RSNA and Washington University
 49  *
 50  *          The software and supporting documentation for the Radiological
 51  *          Society of North America (RSNA) 1993, 1994 Digital Imaging and
 52  *          Communications in Medicine (DICOM) Demonstration were developed
 53  *          at the
 54  *                  Electronic Radiology Laboratory
 55  *                  Mallinckrodt Institute of Radiology
 56  *                  Washington University School of Medicine
 57  *                  510 S. Kingshighway Blvd.
 58  *                  St. Louis, MO 63110
 59  *          as part of the 1993, 1994 DICOM Central Test Node project for, and
 60  *          under contract with, the Radiological Society of North America.
 61  *
 62  *         THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR
 63  *         WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
 64  *         PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
 65  *         USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
 66  *         SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
 67  *         THE SOFTWARE IS WITH THE USER.
 68  *
 69  *         Copyright of the software and supporting documentation is
 70  *         jointly owned by RSNA and Washington University, and free access
 71  *         is hereby granted as a license to use this software, copy this
 72  *         software and prepare derivative works based upon this software.
 73  *         However, any distribution of this software source code or
 74  *         supporting documentation or derivative works (source code and
 75  *         supporting documentation) must include the three paragraphs of
 76  *         the copyright notice.
 77  *
 78  * Copyright marker.  Copyright will be inserted above.  Do not remove 
 79  *
 80  **                             DICOM 93
 81  **                  Electronic Radiology Laboratory
 82  **                Mallinckrodt Institute of Radiology
 83  **             Washington University School of Medicine
 84  **
 85  ** Module Name(s):
 86  ** Author, Date:       Stephen M. Moore, 22-Apr-93
 87  ** Intent:             This file contains definitions and function prototypes
 88  **                     for the OBJECT facility which allows the user to
 89  **                     manipulate DICOM Objects.
 90  ** Last Update:                $Author: tony $, $Date: 2003/09/22 16:09:02 $
 91  ** Source File:                $RCSfile: file_DicomDef.h,v $
 92  ** Revision:           $Revision: 1.2 $
 93  ** Status:             $State: Exp $
 94  *********
 95 */
 96 
 97 #ifndef TINA_FILE_DICOM_DEF_HDR
 98 #define TINA_FILE_DICOM_DEF_HDR
 99 
100 #ifndef DCM_DIC
101 #define DCM_DIC 1
102 
103 #if LONGSIZE == 64
104 typedef unsigned int DCM_TAG;
105 #define DCM_MAKETAG(g, e) (((((unsigned int)(g)) << 16) & 0xffff0000) \
106 | ((unsigned int)(e) & 0xffff))
107 #else
108 typedef unsigned long DCM_TAG;
109 #define DCM_MAKETAG(g, e) (((((unsigned long)(g)) << 16) & 0xffff0000) \
110 | ((unsigned long)(e) & 0xffff))
111 
112 #endif
113 
114 #define DCM_TAG_GROUP(t) (unsigned short) ((t) >> 16)
115 #define DCM_TAG_ELEMENT(t) (unsigned short) ((t) & 0xffff)
116 
117 
118 /*  Define all of the known groups and elements in those groups.  This
119 **  will allow coders to use symbolic references to these rather than
120 **  remember the values.
121 */
122 
123 /*  Define the known groups
124 */
125 #define DCM_GROUPCOMMAND                0x0000
126 #define DCM_GROUPFILEMETA               0x0002
127 #define DCM_GROUPBASICDIRINFO           0x0004  /* Part 10, Media */
128 #define DCM_GROUPIDENTIFYING            0x0008
129 #define DCM_GROUPPATIENTINFO            0x0010
130 #define DCM_GROUPACQUISITION            0x0018
131 #define DCM_GROUPRELATIONSHIP           0x0020
132 #define DCM_GROUPIMAGE                  0x0028
133 #define DCM_GROUPSTUDY                  0x0032
134 #define DCM_GROUPVISIT                  0x0038
135 #define DCM_GROUPWAVEFORM               0x003a
136 #define DCM_GRPPROCEDURE                0x0040
137 #define DCM_GROUPDEVICE                 0x0050
138 #define DCM_GROUPNMIMAGE                0x0054
139 #define DCM_GROUPMEDIA                  0x0088
140 #define DCM_GROUPBASICFILMSESSION       0x2000
141 #define DCM_GROUPBASICFILMBOX           0x2010
142 #define DCM_GROUPBASICIMAGEBOX          0x2020
143 #define DCM_GROUPBASICANNOTATIONBOX     0x2030
144 #define DCM_GROUPBASICIMAGEOVERLAYBOX   0x2040
145 #define DCM_GROUPPRINTJOB               0x2100
146 #define DCM_GROUPPRINTER                0x2110
147 #define DCM_GROUPTEXT                   0x4000
148 #define DCM_GROUPRESULTS                0x4008
149 #define DCM_GROUPCURVE                  0x5000
150 #define DCM_GROUPOVERLAY                0x6000
151 #define DCM_GROUPPIXEL                  0x7fe0
152 #define DCM_GROUPPAD                    0xfffc
153 #define DCM_GROUPDELIMITER              0xfffe
154 
155 
156 #define DCM_CMDGROUPLENGTH              DCM_MAKETAG(DCM_GROUPCOMMAND,0x0000)
157 #define DCM_CMDAFFECTEDCLASSUID         DCM_MAKETAG(DCM_GROUPCOMMAND,0x0002)
158 #define DCM_CMDREQUESTEDCLASSUID        DCM_MAKETAG(DCM_GROUPCOMMAND,0x0003)
159 #define DCM_CMDCOMMANDFIELD             DCM_MAKETAG(DCM_GROUPCOMMAND,0x0100)
160 #define DCM_CMDMSGID                    DCM_MAKETAG(DCM_GROUPCOMMAND,0x0110)
161 #define DCM_CMDMSGIDRESPOND             DCM_MAKETAG(DCM_GROUPCOMMAND,0x0120)
162 #define DCM_CMDMOVEDESTINATION          DCM_MAKETAG(DCM_GROUPCOMMAND,0x0600)
163 #define DCM_CMDPRIORITY                 DCM_MAKETAG(DCM_GROUPCOMMAND,0x0700)
164 #define DCM_CMDDATASETTYPE              DCM_MAKETAG(DCM_GROUPCOMMAND,0x0800)
165 #define DCM_CMDSTATUS                   DCM_MAKETAG(DCM_GROUPCOMMAND,0x0900)
166 #define DCM_CMDOFFENDINGELEMENT         DCM_MAKETAG(DCM_GROUPCOMMAND,0x0901)
167 #define DCM_CMDERRORCOMMENT             DCM_MAKETAG(DCM_GROUPCOMMAND,0x0902)
168 #define DCM_CMDERRORID                  DCM_MAKETAG(DCM_GROUPCOMMAND,0x0903)
169 #define DCM_CMDAFFECTEDINSTANCEUID      DCM_MAKETAG(DCM_GROUPCOMMAND,0x1000)
170 #define DCM_CMDREQUESTEDINSTANCEUID     DCM_MAKETAG(DCM_GROUPCOMMAND,0x1001)
171 #define DCM_CMDEVENTTYPEID              DCM_MAKETAG(DCM_GROUPCOMMAND,0x1002)
172 #define DCM_CMDATTRIBUTEIDLIST          DCM_MAKETAG(DCM_GROUPCOMMAND,0x1005)
173 #define DCM_CMDACTIONTYPEID             DCM_MAKETAG(DCM_GROUPCOMMAND,0x1008)
174 #define DCM_CMDREMAININGSUBOPERATIONS   DCM_MAKETAG(DCM_GROUPCOMMAND,0x1020)
175 #define DCM_CMDCOMPLETEDSUBOPERATIONS   DCM_MAKETAG(DCM_GROUPCOMMAND,0x1021)
176 #define DCM_CMDFAILEDSUBOPERATIONS      DCM_MAKETAG(DCM_GROUPCOMMAND,0x1022)
177 #define DCM_CMDWARNINGSUBOPERATIONS     DCM_MAKETAG(DCM_GROUPCOMMAND,0x1023)
178 #define DCM_CMDMOVEAETITLE              DCM_MAKETAG(DCM_GROUPCOMMAND,0x1030)
179 #define DCM_CMDMOVEMESSAGEID            DCM_MAKETAG(DCM_GROUPCOMMAND,0x1031)
180 
181 /*  Define the legal values for the Command Field in the COMMAND group
182 */
183 
184 #define DCM_STORE_REQUEST               0x0001
185 #define DCM_STORE_RESPONSE              0x8001
186 #define DCM_GET_REQUEST                 0x0010
187 #define DCM_GET_RESPONSE                0x8010
188 #define DCM_FIND_REQUEST                0x0020
189 #define DCM_FIND_RESPONSE               0x8020
190 #define DCM_MOVE_REQUEST                0x0021
191 #define DCM_MOVE_RESPONSE               0x8021
192 #define DCM_ECHO_REQUEST                0x0030
193 #define DCM_ECHO_RESPONSE               0x8030
194 #define DCM_CANCEL_REQUEST              0x0fff
195 #define DCM_CANCEL_RESPONSE             0x8fff
196 #define DCM_DIALOG_REQUEST              0x0080
197 #define DCM_DIALOG_RESPONSE             0x8080
198 #define DCM_N_EVENT_REPORT_REQUEST      0x0100
199 #define DCM_N_EVENT_REPORT_RESPONSE     0x8100
200 #define DCM_N_GET_REQUEST               0x0110
201 #define DCM_N_GET_RESPONSE              0x8110
202 #define DCM_N_SET_REQUEST               0x0120
203 #define DCM_N_SET_RESPONSE              0x8120
204 #define DCM_N_ACTION_REQUEST            0x0130
205 #define DCM_N_ACTION_RESPONSE           0x8130
206 #define DCM_N_CREATE_REQUEST            0x0140
207 #define DCM_N_CREATE_RESPONSE           0x8140
208 #define DCM_N_DELETE_REQUEST            0x0150
209 #define DCM_N_DELETE_RESPONSE           0x8150
210 
211 /*  Define the elements in the COMMAND group
212 */
213 #define DCM_CMDLENGTHTOEND              DCM_MAKETAG(DCM_GROUPCOMMAND,0x0001)
214 #define DCM_CMDRECOGNITIONCODE          DCM_MAKETAG(DCM_GROUPCOMMAND,0x0010)
215 #define DCM_CMDINITIATOR                DCM_MAKETAG(DCM_GROUPCOMMAND,0x0200)
216 #define DCM_CMDRECEIVER                 DCM_MAKETAG(DCM_GROUPCOMMAND,0x0300)
217 #define DCM_CMDFINDLOCATION             DCM_MAKETAG(DCM_GROUPCOMMAND,0x0400)
218 #define DCM_CMDNUMBERMATCHES            DCM_MAKETAG(DCM_GROUPCOMMAND,0x0850)
219 #define DCM_CMDRESPSEQNUMBER            DCM_MAKETAG(DCM_GROUPCOMMAND,0x0860)
220 #define DCM_CMDDIALOGRECEIVOR           DCM_MAKETAG(DCM_GROUPCOMMAND,0x4000)
221 #define DCM_CMDTERMINALTYPE             DCM_MAKETAG(DCM_GROUPCOMMAND,0x4010)
222 #define DCM_CMDMSGSETID                 DCM_MAKETAG(DCM_GROUPCOMMAND,0x5010)
223 #define DCM_CMDENDMSGD                  DCM_MAKETAG(DCM_GROUPCOMMAND,0x5020)
224 #define DCM_CMDDISPLAYFORMAT            DCM_MAKETAG(DCM_GROUPCOMMAND,0x5110)
225 #define DCM_CMDPAGEPOSITIONID           DCM_MAKETAG(DCM_GROUPCOMMAND,0x5120)
226 #define DCM_CMDTEXTFORMATID             DCM_MAKETAG(DCM_GROUPCOMMAND,0x5130)
227 #define DCM_CMDNORREV                   DCM_MAKETAG(DCM_GROUPCOMMAND,0x5140)
228 #define DCM_CMDADDGRAYSCALE             DCM_MAKETAG(DCM_GROUPCOMMAND,0x5150)
229 #define DCM_CMDBORDERS                  DCM_MAKETAG(DCM_GROUPCOMMAND,0x5160)
230 #define DCM_CMDCOPIES                   DCM_MAKETAG(DCM_GROUPCOMMAND,0x5170)
231 #define DCM_CMDMAGNIFICATIONTYPE        DCM_MAKETAG(DCM_GROUPCOMMAND,0x5180)
232 #define DCM_CMDERASE                    DCM_MAKETAG(DCM_GROUPCOMMAND,0x5190)
233 #define DCM_CMDPRINT                    DCM_MAKETAG(DCM_GROUPCOMMAND,0x51a0)
234 #define DCM_CMDOVERLAYS                 DCM_MAKETAG(DCM_GROUPCOMMAND,0x51b0)
235 
236 /* Define the elements in the File Meta Header Group (0x0002) */
237 
238 #define DCM_METAGROUPLENGTH             DCM_MAKETAG(DCM_GROUPFILEMETA,0x0000)
239 #define DCM_METAINFORMATIONVERSION      DCM_MAKETAG(DCM_GROUPFILEMETA,0x0001)
240 #define DCM_METAMEDIASTORAGESOPCLASS    DCM_MAKETAG(DCM_GROUPFILEMETA,0x0002)
241 #define DCM_METAMEDIASTORAGESOPINSTANCE DCM_MAKETAG(DCM_GROUPFILEMETA,0x0003)
242 #define DCM_METATRANSFERSYNTAX          DCM_MAKETAG(DCM_GROUPFILEMETA,0x0010)
243 #define DCM_METAIMPLEMENTATIONCLASS     DCM_MAKETAG(DCM_GROUPFILEMETA,0x0012)
244 #define DCM_METAIMPLEMENTATIONVERSION   DCM_MAKETAG(DCM_GROUPFILEMETA,0x0013)
245 #define DCM_METASOURCEAETITLE           DCM_MAKETAG(DCM_GROUPFILEMETA,0x0016)
246 #define DCM_METAPRIVATEINFORMATIONCREATOR DCM_MAKETAG(DCM_GROUPFILEMETA,0x0100)
247 #define DCM_METAPRIVATEINFORMATION      DCM_MAKETAG(DCM_GROUPFILEMETA,0x0102)
248 
249 /* Define the elements in the Basic Directory information group, (0x0004) */
250 
251 #define DCM_DIRFILESETID          DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1130)
252 #define DCM_DIRFILESETDESCRFILEID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1141)
253 #define DCM_DIRSPECIFICCHARACTER  DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1142)
254 #define DCM_DIRFIRSTOFFSET        DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1200)
255 #define DCM_DIRLASTOFFSET         DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1202)
256 #define DCM_DIRFILESETCONSISTENCY DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1212)
257 #define DCM_DIRRECORDSEQUENCE     DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1220)
258 #define DCM_DIRNEXTRECORDOFFSET   DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1400)
259 #define DCM_DIRRECORDINUSE        DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1410)
260 #define DCM_DIRLOWERLEVELOFFSET   DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1420)
261 #define DCM_DIRRECORDTYPE         DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1430)
262 #define DCM_DIRPRIVATERECORDUID   DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1432)
263 #define DCM_DIRREFERENCEDFILEID   DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1500)
264 #define DCM_DIRMRDRRECORDOFFSET   DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1504)
265 #define DCM_DIRREFSOPCLASSUID     DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1510)
266 #define DCM_DIRREFSOPINSTANCEUID  DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1511)
267 #define DCM_DIRREFTRANSFERSYNTAXUID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1512)
268 #define DCM_DIRNUMREFERENCES      DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1600)
269 
270 /* Define the elements in the IDENTIFYING group, 0008
271 */
272 #define DCM_IDGROUPLENGTH               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0000)
273 #define DCM_IDLENGTHTOEND               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0001)
274 #define DCM_IDSPECIFICCHARACTER         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0005)
275 #define DCM_IDIMAGETYPE                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0008)
276 #define DCM_IDRECOGNITIONCODE           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0010)
277 #define DCM_IDINSTANCECREATEDATE        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0012)
278 #define DCM_IDINSTANCECREATETIME        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0013)
279 #define DCM_IDINSTANCECREATORUID        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0014)
280 #define DCM_IDSOPCLASSUID               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0016)
281 #define DCM_IDSOPINSTANCEUID            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0018)
282 #define DCM_IDSTUDYDATE                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0020)
283 #define DCM_IDSERIESDATE                DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0021)
284 #define DCM_IDACQUISITIONDATE           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0022)
285 #define DCM_IDIMAGEDATE                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0023)
286 #define DCM_IDOVERLAYDATE               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0024)
287 #define DCM_IDCURVEDATE                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0025)
288 #define DCM_IDSTUDYTIME                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0030)
289 #define DCM_IDSERIESTIME                DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0031)
290 #define DCM_IDACQUISITIONTIME           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0032)
291 #define DCM_IDIMAGETIME                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0033)
292 #define DCM_IDOVERLAYTIME               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0034)
293 #define DCM_IDCURVETIME                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0035)
294 /* Retired 0040, 0041, 0042 */
295 #define DCM_IDDATASETTYPE               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0040)
296 #define DCM_IDDATASETSUBTYPE            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0041)
297 #define DCM_IDNMSERIESTYPE              DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0042)
298 
299 #define DCM_IDACCESSIONNUMBER           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0050)
300 #define DCM_IDQUERYLEVEL                DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0052)
301 #define DCM_IDRETRIEVEAETITLE           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0054)
302 #define DCM_IDFAILEDINSTANCEUIDLIST     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0058)
303 #define DCM_IDMODALITY                  DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0060)
304 #define DCM_IDMODALITYSUBTYPE           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0062)
305 #define DCM_IDCONVERSIONTYPE            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0064)
306 #define DCM_IDMANUFACTURER              DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0070)
307 #define DCM_IDINSTITUTIONNAME           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0080)
308 #define DCM_IDINSTITUTIONADDR           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0081)
309 #define DCM_IDINSTITUTECODESEQUENCE     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0082)
310 #define DCM_IDREFERRINGPHYSICIAN        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0090)
311 #define DCM_IDREFERRINGPHYSADDR         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0092)
312 #define DCM_IDREFERRINGPHYSPHONE        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0094)
313 #define DCM_IDCODEVALUE                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0100)
314 #define DCM_IDCODINGSCHEMEDESIGNATOR    DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0102)
315 #define DCM_IDCODINGSCHEMEVERSION       DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0103)
316 #define DCM_IDCODEMEANING               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0104)
317 #define DCM_IDMAPPINGRESOURCE           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0105)
318 #define DCM_IDCONTEXTGROUPVERSION       DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0106)
319 #define DCM_IDCODESETEXTENSIONFLAG      DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010B)
320 #define DCM_IDPRIVATECODINGSCHEMECREATORUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010C)
321 #define DCM_IDCODESETEXTENSIONCREATORUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010D)
322 #define DCM_IDMAPPINGRESOURCESEQ        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010E)
323 #define DCM_IDCONTEXTIDENTIFIER         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010F)
324 #define DCM_IDNETWORKID                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1000)
325 #define DCM_IDSTATIONNAME               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1010)
326 #define DCM_IDSTUDYDESCRIPTION          DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1030)
327 #define DCM_IDPROCEDURECODESEQUENCE     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1032)
328 #define DCM_IDSERIESDESCR               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x103e)
329 #define DCM_IDINSTITUTIONALDEPT         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1040)
330 #define DCM_IDPHYSICIANOFRECORD         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1048)
331 #define DCM_IDPERFORMINGPHYSICIAN       DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1050)
332 #define DCM_IDPHYSREADINGSTUDY          DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1060)
333 #define DCM_IDOPERATORNAME              DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1070)
334 #define DCM_IDADMITTINGDIAGDESCR        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1080)
335 #define DCM_IDADMITDIAGCODESEQUENCE     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1084)
336 #define DCM_IDMANUFACTURERMODEL         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1090)
337 #define DCM_IDREFERENCEDRESULTSSEQ      DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1100)
338 #define DCM_IDREFERENCEDSTUDYSEQ        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1110)
339 #define DCM_IDREFERENCEDSTUDYCOMPONENTSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1111)
340 #define DCM_IDREFERENCEDSERIESSEQ       DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1115)
341 #define DCM_IDREFERENCEDPATIENTSEQ      DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1120)
342 #define DCM_IDREFERENCEDVISITSEQ        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1125)
343 #define DCM_IDREFERENCEDOVERLAYSEQ      DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1130)
344 #define DCM_IDREFERENCEDIMAGESEQ        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1140)
345 #define DCM_IDREFERENCEDCURVESEQ        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1145)
346 #define DCM_IDREFERENCEDPREVIOUSWAVEFORM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1148)
347 #define DCM_IDREFERENCEDSIMULTANEOUSWAVEFORMS DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x114A)
348 #define DCM_IDREFERENCEDSUBSEQUENTWAVEFORM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x114C)
349 #define DCM_IDREFERENCEDSOPCLASSUID     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1150)
350 #define DCM_IDREFERENCEDSOPINSTUID      DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1155)
351 #define DCM_IDREFERENCEDFRAMENUMBER     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1160)
352 #define DCM_IDTRANSACTIONUID            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1195)
353 #define DCM_IDFAILUREREASON             DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1197)
354 #define DCM_IDFAILEDSOPSEQUENCE         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1198)
355 #define DCM_IDREFERENCEDSOPSEQUENCE     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1199)
356 #define DCM_IDLOSSYIMAGECOMPRESSION     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2110)
357 #define DCM_IDDERIVATIONDESCR           DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2111)
358 #define DCM_IDSOURCEIMAGESEQ            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2112)
359 #define DCM_IDSTAGENAME                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2120)
360 #define DCM_IDSTAGENUMBER               DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2122)
361 #define DCM_IDNUMBEROFSTAGES            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2124)
362 #define DCM_IDVIEWNUMBER                DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2128)
363 #define DCM_IDNUMBEROFEVENTTIMERS       DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2129)
364 #define DCM_IDNUMBERVIEWSINSTAGE        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x212a)
365 #define DCM_IDEVENTELAPSEDTIME          DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2130)
366 #define DCM_IDEVENTTIMERNAME            DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2132)
367 #define DCM_IDSTARTTRIM                 DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2142)
368 #define DCM_IDSTOPTRIM                  DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2143)
369 #define DCM_IDDISPLAYFRAMERATE          DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2144)
370 #define DCM_IDTRANSDUCERPOSITION        DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2200)
371 #define DCM_IDTRANSDUCERORIENTATION     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2204)
372 #define DCM_IDANATOMICSTRUCTURE         DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2208)
373 #define DCM_IDANATOMICREGIONSEQUENCE    DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2218)
374 #define DCM_IDANATOMICREGIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2220)
375 #define DCM_IDPRIMARYANATOMICSTRUCTURESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2228)
376 #define DCM_IDPRIMARYANATOMICSTRUCTUREMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2230)
377 #define DCM_IDTRANSDUCERPOSITIONSEQ     DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2240)
378 #define DCM_IDTRANSDUCERPOSITIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2242)
379 #define DCM_IDTRANSDUCERORIENTATIONSEQ  DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2244)
380 #define DCM_IDTRANSDUCERORIENTATIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2246)
381 #define DCM_IDCOMMENTS                  DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x4000)
382 
383 /*  Define the elements in the PATIENT INFORMATION group (0x0010)
384 */
385 #define DCM_PATGROUPLENGTH              DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0000)
386 #define DCM_PATNAME                     DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0010)
387 #define DCM_PATID                       DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0020)
388 #define DCM_ISSUERPATIENTID             DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0021)
389 #define DCM_PATBIRTHDATE                DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0030)
390 #define DCM_PATBIRTHTIME                DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0032)
391 #define DCM_PATSEX                      DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0040)
392 #define DCM_PATSSN                      DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0042)
393 #define DCM_PATINSURANCEPLANCODESEQ     DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0050)
394 #define DCM_PATOTHERIDS                 DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1000)
395 #define DCM_PATOTHERNAMES               DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1001)
396 #define DCM_PATBIRTHNAME                DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1005)
397 #define DCM_PATAGE                      DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1010)
398 #define DCM_PATSIZE                     DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1020)
399 #define DCM_PATWEIGHT                   DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1030)
400 #define DCM_PATADDRESS                  DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1040)
401 #define DCM_PATINSURANCEPLANID          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1050)
402 #define DCM_PATMOTHERBIRTHNAME          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1060)
403 #define DCM_PATMILITARYRANK             DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1080)
404 #define DCM_PATBRANCHOFSERVICE          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1081)
405 #define DCM_PATMEDICALRECORDLOCATOR     DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1090)
406 #define DCM_PATMEDICALALERTS            DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2000)
407 #define DCM_PATCONTRASTALLERGIES        DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2110)
408 #define DCM_COUNTRYOFRESIDENCE          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2150)
409 #define DCM_REGIONOFRESIDENCE           DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2152)
410 #define DCM_PATTELEPHONENUMBER          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2154)
411 #define DCM_PATETHNICGROUP              DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2160)
412 #define DCM_PATOCCUPATION               DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2180)
413 #define DCM_PATSMOKINGSTATUS            DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21a0)
414 #define DCM_PATADDITIONALPATHISTORY     DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21b0)
415 #define DCM_PATPREGNANCYSTATUS          DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21c0)
416 #define DCM_PATLASTMENSTRUALDATE        DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21d0)
417 #define DCM_PATRELIGIOUSPREFERENCE      DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21f0)
418 #define DCM_PATCOMMENTS                 DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x4000)
419 
420 /*  Define the elements in the ACQUISITION INFORMATION group (0018)
421 */
422 
423 #define DCM_ACQGROUPLENGTH              DCM_MAKETAG(DCM_GROUPACQUISITION,0x0000)
424 #define DCM_ACQCONTRASTBOLUSAGENT       DCM_MAKETAG(DCM_GROUPACQUISITION,0x0010)
425 #define DCM_ACQCONTRASTBOLUSAGENTSEQ    DCM_MAKETAG(DCM_GROUPACQUISITION,0x0012)
426 #define DCM_ACQCONTRASTBOLUSADMINROUTESEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0014)
427 #define DCM_ACQBODYPARTEXAMINED         DCM_MAKETAG(DCM_GROUPACQUISITION,0x0015)
428 #define DCM_ACQSCANNINGSEQUENCE         DCM_MAKETAG(DCM_GROUPACQUISITION,0x0020)
429 #define DCM_ACQSEQUENCEVARIANT          DCM_MAKETAG(DCM_GROUPACQUISITION,0x0021)
430 #define DCM_ACQSCANOPTIONS              DCM_MAKETAG(DCM_GROUPACQUISITION,0x0022)
431 #define DCM_ACQMRACQUISITIONTYPE        DCM_MAKETAG(DCM_GROUPACQUISITION,0x0023)
432 #define DCM_ACQSEQUENCENAME             DCM_MAKETAG(DCM_GROUPACQUISITION,0x0024)
433 #define DCM_ACQANGIOFLAG                DCM_MAKETAG(DCM_GROUPACQUISITION,0x0025)
434 #define DCM_ACQINTERVENTIONDRUGINFOSEQ  DCM_MAKETAG(DCM_GROUPACQUISITION,0x0026)
435 #define DCM_ACQINTERVENTIONDRUGSTOPTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0027)
436 #define DCM_ACQINTERVENTIONDRUGDOSE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x0028)
437 #define DCM_ACQINTERVENTIONDRUGCODESEQ  DCM_MAKETAG(DCM_GROUPACQUISITION,0x0029)
438 #define DCM_ACQADDITIONALDRUGSEQ        DCM_MAKETAG(DCM_GROUPACQUISITION,0x002a)
439 #define DCM_ACQRADIONUCLIDE             DCM_MAKETAG(DCM_GROUPACQUISITION,0x0030)
440 #define DCM_ACQRADIOPHARMACEUTICAL      DCM_MAKETAG(DCM_GROUPACQUISITION,0x0031)
441 #define DCM_ACQENERGYWCENTERLINE        DCM_MAKETAG(DCM_GROUPACQUISITION,0x0032)
442 #define DCM_ACQENERGYWTOTALWIDTH        DCM_MAKETAG(DCM_GROUPACQUISITION,0x0033)
443 #define DCM_ACQINTERVENTIONDRUGNAME     DCM_MAKETAG(DCM_GROUPACQUISITION,0x0034)
444 #define DCM_ACQINTERVENTIONDRUGSTART    DCM_MAKETAG(DCM_GROUPACQUISITION,0x0035)
445 #define DCM_ACQINTERVENTIONALTHERAPYSEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0036)
446 #define DCM_ACQTHERAPYTYPE              DCM_MAKETAG(DCM_GROUPACQUISITION,0x0037)
447 #define DCM_ACQINTERVENTIONALSTATUS     DCM_MAKETAG(DCM_GROUPACQUISITION,0x0038)
448 #define DCM_ACQTHERAPYDESCRIPTION       DCM_MAKETAG(DCM_GROUPACQUISITION,0x0039)
449 #define DCM_ACQCINERATE                 DCM_MAKETAG(DCM_GROUPACQUISITION,0x0040)
450 #define DCM_ACQSLICETHICKNESS           DCM_MAKETAG(DCM_GROUPACQUISITION,0x0050)
451 #define DCM_ACQKVP                      DCM_MAKETAG(DCM_GROUPACQUISITION,0x0060)
452 #define DCM_ACQCOUNTSACCUMULATED        DCM_MAKETAG(DCM_GROUPACQUISITION,0x0070)
453 #define DCM_ACQTERMINATIONCONDITION     DCM_MAKETAG(DCM_GROUPACQUISITION,0x0071)
454 #define DCM_ACQEFFECTIVESERIESDURATION  DCM_MAKETAG(DCM_GROUPACQUISITION,0x0072)
455 #define DCM_ACQSTARTCONDITION           DCM_MAKETAG(DCM_GROUPACQUISITION,0x0073)
456 #define DCM_ACQSTARTCONDITIONDATA       DCM_MAKETAG(DCM_GROUPACQUISITION,0x0074)
457 #define DCM_ACQTERMINATIONCONDITIONDATA DCM_MAKETAG(DCM_GROUPACQUISITION,0x0075)
458 #define DCM_ACQREPETITIONTIME           DCM_MAKETAG(DCM_GROUPACQUISITION,0x0080)
459 #define DCM_ACQECHOTIME                 DCM_MAKETAG(DCM_GROUPACQUISITION,0x0081)
460 #define DCM_ACQINVERSIONTIME            DCM_MAKETAG(DCM_GROUPACQUISITION,0x0082)
461 #define DCM_ACQNUMBEROFAVERAGES         DCM_MAKETAG(DCM_GROUPACQUISITION,0x0083)
462 #define DCM_ACQIMAGINGFREQUENCY         DCM_MAKETAG(DCM_GROUPACQUISITION,0x0084)
463 #define DCM_ACQIMAGEDNUCLEUS            DCM_MAKETAG(DCM_GROUPACQUISITION,0x0085)
464 #define DCM_ACQECHONUMBER               DCM_MAKETAG(DCM_GROUPACQUISITION,0x0086)
465 #define DCM_ACQMAGNETICFIELDSTRENGTH    DCM_MAKETAG(DCM_GROUPACQUISITION,0x0087)
466 #define DCM_ACQSLICESPACING             DCM_MAKETAG(DCM_GROUPACQUISITION,0x0088)
467 #define DCM_ACQPHASEENCODINGSTEPS       DCM_MAKETAG(DCM_GROUPACQUISITION,0x0089)
468 #define DCM_ACQDATACOLLECTIONDIAMETER   DCM_MAKETAG(DCM_GROUPACQUISITION,0x0090)
469 #define DCM_ACQECHOTRAINLENGTH          DCM_MAKETAG(DCM_GROUPACQUISITION,0x0091)
470 #define DCM_ACQPERCENTSAMPLING          DCM_MAKETAG(DCM_GROUPACQUISITION,0x0093)
471 #define DCM_ACQPERCENTPHASEFIELDVIEW    DCM_MAKETAG(DCM_GROUPACQUISITION,0x0094)
472 #define DCM_ACQPIXELBANDWIDTH           DCM_MAKETAG(DCM_GROUPACQUISITION,0x0095)
473 #define DCM_ACQDEVICESERIALNUM          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1000)
474 #define DCM_ACQPLATEID                  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1004)
475 #define DCM_ACQSECONDARYCAPTUREDEVID    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1010)
476 #define DCM_ACQDATESECONDARYCAPTURE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1012)
477 #define DCM_ACQTIMESECONDARYCAPTURE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1014)
478 #define DCM_ACQSECONDARYCAPTMANUFACTURER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1016)
479 #define DCM_ACQSECONDARYCAPTMODEL       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1018)
480 #define DCM_ACQSECONDARYCAPTSOFTWAREVERSION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1019)
481 #define DCM_ACQSOFTWAREVERSION          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1020)
482 #define DCM_ACQVIDEOIMAGEFORMATACQ      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1022)
483 #define DCM_ACQDIGITALIMAGEFORMATACQ    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1023)
484 #define DCM_ACQPROTOCOLNAME             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1030)
485 #define DCM_ACQCONTRASTBOLUSROUTE       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1040)
486 #define DCM_ACQCONTRASTBOLUSVOL         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1041)
487 #define DCM_ACQCONTRASTBOLUSSTARTTIME   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1042)
488 #define DCM_ACQCONTRASTBOLUSSTOPTIME    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1043)
489 #define DCM_ACQCONTRASTBOLUSTOTALDOSE   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1044)
490 #define DCM_ACQSYRINGECOUNTS            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1045)
491 #define DCM_ACQCONTRASTFLOWRATE         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1046)
492 #define DCM_ACQCONTRASTFLOWDURATION     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1047)
493 #define DCM_ACQCONTRASTBOLUSINGREDIENT  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1048)
494 #define DCM_ACQCONTRASTBOLUSINGREDIENTCONCENTRATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1049)
495 #define DCM_ACQSPATIALRESOLUTION        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1050)
496 #define DCM_ACQTRIGGERTIME              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1060)
497 #define DCM_ACQTRIGGERSRCTYPE           DCM_MAKETAG(DCM_GROUPACQUISITION,0x1061)
498 #define DCM_ACQNOMINALINTERVAL          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1062)
499 #define DCM_ACQFRAMETIME                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1063)
500 #define DCM_ACQFRAMINGTYPE              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1064)
501 #define DCM_ACQFRAMETIMEVECTOR          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1065)
502 #define DCM_ACQFRAMEDELAY               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1066)
503 #define DCM_ACQIMAGETRIGGERDELAY        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1067)
504 #define DCM_ACQGROUPTIMEOFFSET          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1068)
505 #define DCM_ACQTRIGGERTIMEOFFSET        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1069)
506 #define DCM_ACQSYNCTRIGGER              DCM_MAKETAG(DCM_GROUPACQUISITION,0x106A)
507 #define DCM_ACQSYNCFRAMEOFREFERENCE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x106B)
508 #define DCM_ACQTRIGGERSAMPLEPOSITION    DCM_MAKETAG(DCM_GROUPACQUISITION,0x106E)
509 #define DCM_ACQRADIOPHARMROUTE          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1070)
510 #define DCM_ACQRADIOPHARMVOLUME         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1071)
511 #define DCM_ACQRADIOPHARMSTARTTIME      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1072)
512 #define DCM_ACQRADIOPHARMSTOPTIME       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1073)
513 #define DCM_ACQRADIONUCLIDETOTALDOSE    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1074)
514 #define DCM_ACQRADIONUCLIDEHALFLIFE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1075)
515 #define DCM_ACQRADIONUCLIDEPOSITRONFRACTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1076)
516 #define DCM_ACQRADIOPHARMACEUTICALSPECIFICACTIVITY DCM_MAKETAG(DCM_GROUPACQUISITION,0x1077)
517 #define DCM_ACQBEATREJECTIONFLAG        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1080)
518 #define DCM_ACQLOWRRVALUE               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1081)
519 #define DCM_ACQHIGHRRVALUE              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1082)
520 #define DCM_ACQINTERVALSACQUIRED        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1083)
521 #define DCM_ACQINTERVALSREJECTED        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1084)
522 #define DCM_ACQPVCREJECTION             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1085)
523 #define DCM_ACQSKIPBEATS                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1086)
524 #define DCM_ACQHEARTRATE                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1088)
525 #define DCM_ACQCARDIACNUMBEROFIMAGES    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1090)
526 #define DCM_ACQTRIGGERWINDOW            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1094)
527 #define DCM_ACQRECONSTRUCTIONDIAMETER   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1100)
528 #define DCM_ACQDISTANCESRCTODETECTOR    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1110)
529 #define DCM_ACQDISTANCESRCTOPATIENT     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1111)
530 #define DCM_ACQESTIMATEDRADIOGRAPHICMAGFACTOR   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1114)
531 #define DCM_ACQGANTRYTILT               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1120)
532 #define DCM_ACQGANTRYSLEW               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1121)
533 #define DCM_ACQTABLEHEIGHT              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1130)
534 #define DCM_ACQTABLETRAVERSE            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1131)
535 #define DCM_ACQTABLEMOTION              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1134)
536 #define DCM_ACQTABLEVERTICALINCREMENT   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1135)
537 #define DCM_ACQTABLELATERALINCREMENT    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1136)
538 #define DCM_ACQTABLELONGITUDINALINCREMENT       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1137)
539 #define DCM_ACQTABLEANGLE               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1138)
540 #define DCM_ACQROTATIONDIRECTION        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1140)
541 #define DCM_ACQANGULARPOSITION          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1141)
542 #define DCM_ACQRADIALPOSITION           DCM_MAKETAG(DCM_GROUPACQUISITION,0x1142)
543 #define DCM_ACQSCANARC                  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1143)
544 #define DCM_ACQANGULARSTEP              DCM_MAKETAG(DCM_GROUPACQUISITION,0x1144)
545 #define DCM_ACQCENTERROTATIONOFFSET     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1145)
546 #define DCM_ACQROTATIONOFFSET           DCM_MAKETAG(DCM_GROUPACQUISITION,0x1146)
547 #define DCM_ACQFIELDOFVIEWSHAPE         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1147)
548 #define DCM_ACQFIELDOFVIEWDIMENSION     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1149)
549 #define DCM_ACQEXPOSURETIME             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1150)
550 #define DCM_ACQXRAYTUBECURRENT          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1151)
551 #define DCM_ACQEXPOSURE                 DCM_MAKETAG(DCM_GROUPACQUISITION,0x1152)
552 #define DCM_ACQAVERAGEPULSEWIDTH        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1154)
553 #define DCM_ACQRADIATIONSETTING         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1155)
554 #define DCM_ACQRADIATIONMODE            DCM_MAKETAG(DCM_GROUPACQUISITION,0x115a)
555 #define DCM_ACQIMAGEAREADOSEPRODUCT     DCM_MAKETAG(DCM_GROUPACQUISITION,0x115e)
556 #define DCM_ACQFILTERTYPE               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1160)
557 #define DCM_ACQTYPEOFFILTERS            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1161)
558 #define DCM_ACQINTENSIFIERSIZE          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1162)
559 #define DCM_ACQIMAGERPIXELSPACING       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1164)
560 #define DCM_ACQGRID                     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1166)
561 #define DCM_ACQGENERATORPOWER           DCM_MAKETAG(DCM_GROUPACQUISITION,0x1170)
562 #define DCM_ACQCOLLIMATORGRIDNAME       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1180)
563 #define DCM_ACQCOLLIMATORTYPE           DCM_MAKETAG(DCM_GROUPACQUISITION,0x1181)
564 #define DCM_ACQFOCALDISTANCE            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1182)
565 #define DCM_ACQXFOCUSCENTER             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1183)
566 #define DCM_ACQYFOCUSCENTER             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1184)
567 #define DCM_ACQFOCALSPOT                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1190)
568 #define DCM_ACQDATELASTCALIBRATION      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1200)
569 #define DCM_ACQTIMELASTCALIBRATION      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1201)
570 #define DCM_ACQCONVOLUTIONKERNEL        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1210)
571 #define DCM_ACQUPPERLOWERPIXELVALUES    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1240)
572 #define DCM_ACQACTUALFRAMEDURATION      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1242)
573 #define DCM_ACQCOUNTRATE                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1243)
574 #define DCM_ACQPREFPLAYBACKSEQUENCING   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1244)
575 #define DCM_ACQRECEIVINGCOIL            DCM_MAKETAG(DCM_GROUPACQUISITION,0x1250)
576 #define DCM_ACQTRANSMITTINGCOIL         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1251)
577 #define DCM_ACQPLATETYPE                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1260)
578 #define DCM_ACQPHOSPHORTYPE             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1261)
579 #define DCM_ACQSCANVELOCITY             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1300)
580 #define DCM_ACQWHOLEBODYTECHNIQUE       DCM_MAKETAG(DCM_GROUPACQUISITION,0x1301)
581 #define DCM_ACQSCANLENGTH               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1302)
582 #define DCM_ACQACQUISITIONMATRIX        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1310)
583 #define DCM_ACQPHASEENCODINGDIRECTION   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1312)
584 #define DCM_ACQFLIPANGLE                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1314)
585 #define DCM_ACQVARIABLEFLIPANGLE        DCM_MAKETAG(DCM_GROUPACQUISITION,0x1315)
586 #define DCM_ACQSAR                      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1316)
587 #define DCM_ACQDBDT                     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1318)
588 #define DCM_ACQDEVICEPROCESSINGDESCR    DCM_MAKETAG(DCM_GROUPACQUISITION,0x1400)
589 #define DCM_ACQDEVICEPROCESSINGCODE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1401)
590 #define DCM_ACQCASSETTEORIENTATION      DCM_MAKETAG(DCM_GROUPACQUISITION,0x1402)
591 #define DCM_ACQCASSETTESIZE             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1403)
592 #define DCM_ACQEXPOSURESONPLATE         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1404)
593 #define DCM_ACQRELATIVEXRAYEXPOSURE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1405)
594 #define DCM_ACQCOLUMNANGULATION         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1450)
595 #define DCM_ACQTOMOLAYERHEIGHT          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1460)
596 #define DCM_ACQTOMOANGLE                DCM_MAKETAG(DCM_GROUPACQUISITION,0x1470)
597 #define DCM_ACQTOMOTIME                 DCM_MAKETAG(DCM_GROUPACQUISITION,0x1480)
598 #define DCM_ACQPOSITIONERMOTION         DCM_MAKETAG(DCM_GROUPACQUISITION,0x1500)
599 #define DCM_ACQPOSITIONERPRIMARYANGLE   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1510)
600 #define DCM_ACQPOSITIONERSECONDARYANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1511)
601 #define DCM_ACQPOSITIONERPRIMARYANGLEINCR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1520)
602 #define DCM_ACQPOSITIONERSECONDARYANGLEINCR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1521)
603 #define DCM_ACQDETECTORPRIMARYANGLE     DCM_MAKETAG(DCM_GROUPACQUISITION,0x1530)
604 #define DCM_ACQDETECTORSECONDARYANGLE   DCM_MAKETAG(DCM_GROUPACQUISITION,0x1531)
605 #define DCM_ACQSHUTTERSHAPE             DCM_MAKETAG(DCM_GROUPACQUISITION,0x1600)
606 #define DCM_ACQSHUTTERLEFTVERTICALEDGE  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1602)
607 #define DCM_ACQSHUTTERRIGHTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1604)
608 #define DCM_ACQSHUTTERUPPERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1606)
609 #define DCM_ACQSHUTTERLOWERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1608)
610 #define DCM_ACQCENTEROFCIRCULARSHUTTER  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1610)
611 #define DCM_ACQRADIUSOFCIRCULARSHUTTER  DCM_MAKETAG(DCM_GROUPACQUISITION,0x1612)
612 #define DCM_ACQVERTICESOFPOLYGONALSHUTTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1620)
613 #define DCM_ACQCOLLIMATORSHAPE          DCM_MAKETAG(DCM_GROUPACQUISITION,0x1700)
614 #define DCM_ACQCOLLIMATORLEFTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1702)
615 #define DCM_ACQCOLLIMATORRIGHTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1704)
616 #define DCM_ACQCOLLIMATORUPPERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1706)
617 #define DCM_ACQCOLLIMATORLOWERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1708)
618 #define DCM_ACQCENTEROFCIRCULARCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1710)
619 #define DCM_ACQRADIUSOFCIRCULARCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1712)
620 #define DCM_ACQVERTICESOFPOLYGONALCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1720)
621 #define DCM_ACQACQUISITIONTIMESYNCHRONIZED DCM_MAKETAG(DCM_GROUPACQUISITION,0x1800)
622 #define DCM_ACQTIMESOURCE               DCM_MAKETAG(DCM_GROUPACQUISITION,0x1801)
623 #define DCM_ACQTIMEDISTRIBUTIONPROTOCOL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1802)
624 #define DCM_ACQCOMMENTS                 DCM_MAKETAG(DCM_GROUPACQUISITION,0x4000)
625 #define DCM_ACQOUTPUTPOWER              DCM_MAKETAG(DCM_GROUPACQUISITION,0x5000)
626 #define DCM_ACQTRANSDUCERDATA           DCM_MAKETAG(DCM_GROUPACQUISITION,0x5010)
627 #define DCM_ACQFOCUSDEPTH               DCM_MAKETAG(DCM_GROUPACQUISITION,0x5012)
628 #define DCM_ACQPROCESSINGFUNCTION       DCM_MAKETAG(DCM_GROUPACQUISITION,0x5020)
629 #define DCM_ACQPOSTPROCESSINGFUNCTION   DCM_MAKETAG(DCM_GROUPACQUISITION,0x5021)
630 #define DCM_ACQMECHANICALINDEX          DCM_MAKETAG(DCM_GROUPACQUISITION,0x5022)
631 #define DCM_ACQTHERMALINDEX             DCM_MAKETAG(DCM_GROUPACQUISITION,0x5024)
632 #define DCM_ACQCRANIALTHERMALINDEX      DCM_MAKETAG(DCM_GROUPACQUISITION,0x5026)
633 #define DCM_ACQSOFTTISSUETHERMALINDEX   DCM_MAKETAG(DCM_GROUPACQUISITION,0x5027)
634 #define DCM_ACQSOFTTISSUEFOCUSTHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5028)
635 #define DCM_ACQSOFTTISSUESURFACETHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5029)
636 #define DCM_ACQDEPTHOFSCANFIELD         DCM_MAKETAG(DCM_GROUPACQUISITION,0x5050)
637 #define DCM_ACQPATIENTPOSITION          DCM_MAKETAG(DCM_GROUPACQUISITION,0x5100)
638 #define DCM_ACQVIEWPOSITION             DCM_MAKETAG(DCM_GROUPACQUISITION,0x5101)
639 #define DCM_ACQIMAGETRANSFORMATIONMATRIX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5210)
640 #define DCM_ACQIMAGETRANSLATIONVECTOR   DCM_MAKETAG(DCM_GROUPACQUISITION,0x5212)
641 #define DCM_ACQSENSITIVITY              DCM_MAKETAG(DCM_GROUPACQUISITION,0x6000)
642 #define DCM_ACQUSREGIONSEQUENCE         DCM_MAKETAG(DCM_GROUPACQUISITION,0x6011)
643 #define DCM_ACQREGIONSPATIALFORMAT      DCM_MAKETAG(DCM_GROUPACQUISITION,0x6012)
644 #define DCM_ACQREGIONDATATYPE           DCM_MAKETAG(DCM_GROUPACQUISITION,0x6014)
645 #define DCM_ACQREGIONFLAGS              DCM_MAKETAG(DCM_GROUPACQUISITION,0x6016)
646 #define DCM_ACQREGIONLOCATIONMINX0      DCM_MAKETAG(DCM_GROUPACQUISITION,0x6018)
647 #define DCM_ACQREGIONLOCATIONMINY0      DCM_MAKETAG(DCM_GROUPACQUISITION,0x601a)
648 #define DCM_ACQREGIONLOCATIONMAXX1      DCM_MAKETAG(DCM_GROUPACQUISITION,0x601c)
649 #define DCM_ACQREGIONLOCATIONMAXY1      DCM_MAKETAG(DCM_GROUPACQUISITION,0x601e)
650 #define DCM_ACQREFERENCEPIXELX          DCM_MAKETAG(DCM_GROUPACQUISITION,0x6020)
651 #define DCM_ACQREFERENCEPIXELY          DCM_MAKETAG(DCM_GROUPACQUISITION,0x6022)
652 #define DCM_ACQPHYSICALUNITSXDIRECTION  DCM_MAKETAG(DCM_GROUPACQUISITION,0x6024)
653 #define DCM_ACQPHYSICALUNITSYDIRECTION  DCM_MAKETAG(DCM_GROUPACQUISITION,0x6026)
654 #define DCM_ACQREFPIXELPHYSICALVALUEX   DCM_MAKETAG(DCM_GROUPACQUISITION,0x6028)
655 #define DCM_ACQREFPIXELPHYSICALVALUEY   DCM_MAKETAG(DCM_GROUPACQUISITION,0x602a)
656 #define DCM_ACQPHYSICALDELTAX           DCM_MAKETAG(DCM_GROUPACQUISITION,0x602c)
657 #define DCM_ACQPHYSICALDELTAY           DCM_MAKETAG(DCM_GROUPACQUISITION,0x602e)
658 #define DCM_ACQTRANSDUCERFREQUENCY      DCM_MAKETAG(DCM_GROUPACQUISITION,0x6030)
659 #define DCM_ACQTRANSDUCERTYPE           DCM_MAKETAG(DCM_GROUPACQUISITION,0x6031)
660 #define DCM_ACQPULSEREPETITIONFREQ      DCM_MAKETAG(DCM_GROUPACQUISITION,0x6032)
661 #define DCM_ACQDOPPLERCORRECTIONANGLE   DCM_MAKETAG(DCM_GROUPACQUISITION,0x6034)
662 #define DCM_ACQSTERRINGANGLE            DCM_MAKETAG(DCM_GROUPACQUISITION,0x6036)
663 #define DCM_ACQDOPPLERSAMPLEVOLXPOS     DCM_MAKETAG(DCM_GROUPACQUISITION,0x6038)
664 #define DCM_ACQDOPPLERSAMPLEVOLYPOS     DCM_MAKETAG(DCM_GROUPACQUISITION,0x603a)
665 #define DCM_ACQTMLINEPOSITIONX0         DCM_MAKETAG(DCM_GROUPACQUISITION,0x603c)
666 #define DCM_ACQTMLINEPOSITIONY0         DCM_MAKETAG(DCM_GROUPACQUISITION,0x603e)
667 #define DCM_ACQTMLINEPOSITIONX1         DCM_MAKETAG(DCM_GROUPACQUISITION,0x6040)
668 #define DCM_ACQTMLINEPOSITIONY1         DCM_MAKETAG(DCM_GROUPACQUISITION,0x6042)
669 #define DCM_ACQPIXELCOMPORGANIZATION    DCM_MAKETAG(DCM_GROUPACQUISITION,0x6044)
670 #define DCM_ACQPIXELCOMPMASK            DCM_MAKETAG(DCM_GROUPACQUISITION,0x6046)
671 #define DCM_ACQPIXELCOMPRANGESTART      DCM_MAKETAG(DCM_GROUPACQUISITION,0x6048)
672 #define DCM_ACQPIXELCOMPRANGESTOP       DCM_MAKETAG(DCM_GROUPACQUISITION,0x604a)
673 #define DCM_ACQPIXELCOMPPHYSUNITS       DCM_MAKETAG(DCM_GROUPACQUISITION,0x604c)
674 #define DCM_ACQPIXELCOMPDATATYPE        DCM_MAKETAG(DCM_GROUPACQUISITION,0x604e)
675 #define DCM_ACQNUMBERTABLEBREAKPOINTS   DCM_MAKETAG(DCM_GROUPACQUISITION,0x6050)
676 #define DCM_ACQTABLEXBREAKPOINTS        DCM_MAKETAG(DCM_GROUPACQUISITION,0x6052)
677 #define DCM_ACQTABLEYBREAKPOINTS        DCM_MAKETAG(DCM_GROUPACQUISITION,0x6054)
678 #define DCM_ACQNUMBEROFTABLEENTRIES     DCM_MAKETAG(DCM_GROUPACQUISITION,0x6056)
679 #define DCM_ACQTABLEOFPIXELVALUES       DCM_MAKETAG(DCM_GROUPACQUISITION,0x6058)
680 #define DCM_ACQTABLEOFPARAMETERVALUES   DCM_MAKETAG(DCM_GROUPACQUISITION,0x605a)
681 
682 
683 /*  Define the elements for the RELATIONSHIP group (0x0020)
684 */
685 
686 #define DCM_RELGROUPLENGTH              DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0000)
687 #define DCM_RELSTUDYINSTANCEUID         DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x000d)
688 #define DCM_RELSERIESINSTANCEUID        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x000e)
689 #define DCM_RELSTUDYID                  DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0010)
690 #define DCM_RELSERIESNUMBER             DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0011)
691 #define DCM_RELACQUISITIONNUMBER        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0012)
692 #define DCM_RELIMAGENUMBER              DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0013)
693 
694 /* The following attributes are retired (0014 - 0018) */
695 #define DCM_RELISOTOPENUMBER            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0014)
696 #define DCM_RELPHASENUMBER              DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0015)
697 #define DCM_RELINTERVALNUMBER           DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0016)
698 #define DCM_RELTIMESLOTNUMBER           DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0017)
699 #define DCM_RELANGLENUMBER              DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0018)
700 
701 #define DCM_RELPATIENTORIENTATION       DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0020)
702 #define DCM_RELOVERLAYNUMBER            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0022)
703 #define DCM_RELCURVENUMBER              DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0024)
704 #define DCM_RELLOOKUPTABLENUMBER        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0026)
705 /* Retired 0030 */
706 #define DCM_RELIMAGEPOSITION            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0030)
707 #define DCM_RELIMAGEPOSITIONPATIENT     DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0032)
708 /* Retired 0035 */
709 #define DCM_RELIMAGEORIENTATION         DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0035)
710 #define DCM_RELIMAGEORIENTATIONPATIENT  DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0037)
711 /* Retired 0050 */
712 #define DCM_RELLOCATION                 DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0050)
713 #define DCM_RELFRAMEOFREFERENCEUID      DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0052)
714 #define DCM_RELLATERALITY               DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0060)
715 
716 /* Retired 0070, 0080 */
717 #define DCM_RELIMAGEGEOMETRYTYPE        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0070)
718 #define DCM_RELMASKINGIMAGE             DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0080)
719 
720 #define DCM_RELTEMPORALPOSITIONID       DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0100)
721 #define DCM_RELNUMBERTEMPORALPOSITIONS  DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0105)
722 #define DCM_RELTEMPORALRESOLUTION       DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0110)
723 #define DCM_RELSERIESINSTUDY            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1000)
724 #define DCM_RELACQUISITIONSINSERIES     DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1001)
725 #define DCM_RELIMAGESINACQUISITION      DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1002)
726 #define DCM_RELACQUISITIONSINSTUDY      DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1004)
727 
728 /* Retired, 1020 */
729 #define DCM_RELREFERENCE                DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1020)
730 #define DCM_RELPOSITIONREFINDICATOR     DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1040)
731 #define DCM_RELSLICELOCATION            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1041)
732 #define DCM_RELOTHERSTUDYNUMBERS        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1070)
733 #define DCM_RELNUMBERPATRELATEDSTUDIES  DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1200)
734 #define DCM_RELNUMBERPATRELATEDSERIES   DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1202)
735 #define DCM_RELNUMBERPATRELATEDIMAGES   DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1204)
736 #define DCM_RELNUMBERSTUDYRELATEDSERIES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1206)
737 #define DCM_RELNUMBERSTUDYRELATEDIMAGES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1208)
738 
739 #define DCM_RELSOURCEIMAGEID            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3100)
740 #define DCM_RELMODIFYINGDEVICEID        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3401)
741 #define DCM_RELMODIFIEDIMAGEID          DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3402)
742 #define DCM_RELMODIFIEDIMAGEDATE        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3403)
743 #define DCM_RELMODIFYINGDEVICEMFR       DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3404)
744 #define DCM_RELMODIFIEDIMAGETIME        DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3405)
745 #define DCM_RELMODIFIEDIMAGEDESCRIPTION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3406)
746 #define DCM_RELIMAGECOMMENTS            DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x4000)
747 #define DCM_RELORIGINALIMAGEID          DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x5000)
748 #define DCM_RELORIGINALIMAGEIDNOMENCLATURE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x5002)
749 
750 /*  Define the elements for the IMAGE PRESENTATION group (0028)
751 */
752 #define DCM_IMGGROUPLENGTH              DCM_MAKETAG(DCM_GROUPIMAGE,0x0000)
753 #define DCM_IMGSAMPLESPERPIXEL          DCM_MAKETAG(DCM_GROUPIMAGE,0x0002)
754 #define DCM_IMGPHOTOMETRICINTERP        DCM_MAKETAG(DCM_GROUPIMAGE,0x0004)
755 #define DCM_IMGIMAGEDIMENSIONS          DCM_MAKETAG(DCM_GROUPIMAGE,0x0005)
756 #define DCM_IMGPLANARCONFIGURATION      DCM_MAKETAG(DCM_GROUPIMAGE,0x0006)
757 #define DCM_IMGNUMBEROFFRAMES           DCM_MAKETAG(DCM_GROUPIMAGE,0x0008)
758 #define DCM_IMGFRAMEINCREMENTPOINTER    DCM_MAKETAG(DCM_GROUPIMAGE,0x0009)
759 #define DCM_IMGROWS                     DCM_MAKETAG(DCM_GROUPIMAGE,0x0010)
760 #define DCM_IMGCOLUMNS                  DCM_MAKETAG(DCM_GROUPIMAGE,0x0011)
761 #define DCM_IMGPLANES                   DCM_MAKETAG(DCM_GROUPIMAGE,0x0012)
762 #define DCM_IMGUSOUNDCOLORDATAPRESENT   DCM_MAKETAG(DCM_GROUPIMAGE,0x0014)
763 #define DCM_IMGPIXELSPACING             DCM_MAKETAG(DCM_GROUPIMAGE,0x0030)
764 #define DCM_IMGZOOMFACTOR               DCM_MAKETAG(DCM_GROUPIMAGE,0x0031)
765 #define DCM_IMGZOOMCENTER               DCM_MAKETAG(DCM_GROUPIMAGE,0x0032)
766 #define DCM_IMGPIXELASPECTRATIO         DCM_MAKETAG(DCM_GROUPIMAGE,0x0034)
767 
768 /* Retired 0040, 0050 */
769 #define DCM_IMGIMAGEFORMAT              DCM_MAKETAG(DCM_GROUPIMAGE,0x0040)
770 #define DCM_IMGMANIPULATEDIMAGE         DCM_MAKETAG(DCM_GROUPIMAGE,0x0050)
771 #define DCM_IMGCORRECTEDIMAGE           DCM_MAKETAG(DCM_GROUPIMAGE,0x0051)
772 
773 /* Retired 0060 */
774 #define DCM_IMGCOMPRESSIONCODE          DCM_MAKETAG(DCM_GROUPIMAGE,0x0060)
775 #define DCM_IMGBITSALLOCATED            DCM_MAKETAG(DCM_GROUPIMAGE,0x0100)
776 #define DCM_IMGBITSSTORED               DCM_MAKETAG(DCM_GROUPIMAGE,0x0101)
777 #define DCM_IMGHIGHBIT                  DCM_MAKETAG(DCM_GROUPIMAGE,0x0102)
778 #define DCM_IMGPIXELREPRESENTATION      DCM_MAKETAG(DCM_GROUPIMAGE,0x0103)
779 #define DCM_IMGSMALLESTPIXELVALUE       DCM_MAKETAG(DCM_GROUPIMAGE,0x0104)
780 #define DCM_IMGLARGESTPIXELVALUE        DCM_MAKETAG(DCM_GROUPIMAGE,0x0105)
781 #define DCM_IMGSMALLESTIMAGEPIXELVALUE  DCM_MAKETAG(DCM_GROUPIMAGE,0x0106)
782 #define DCM_IMGLARGESTIMAGEPIXELVALUE   DCM_MAKETAG(DCM_GROUPIMAGE,0x0107)
783 #define DCM_IMGSMALLESTPIXELVALUESERIES DCM_MAKETAG(DCM_GROUPIMAGE,0x0108)
784 #define DCM_IMGLARGESTPIXELVALUESERIES  DCM_MAKETAG(DCM_GROUPIMAGE,0x0109)
785 #define DCM_IMGSMALLESTIMAGEPIXELVALUEPLANE DCM_MAKETAG(DCM_GROUPIMAGE, 0x0110)
786 #define DCM_IMGLARGESTIMAGEPIXELVALUEPLANE DCM_MAKETAG(DCM_GROUPIMAGE, 0x0111)
787 #define DCM_IMGPIXELPADDINGVALUE        DCM_MAKETAG(DCM_GROUPIMAGE,0x0120)
788 #define DCM_IMGWAVEFORMPADDINGVALUE     DCM_MAKETAG(DCM_GROUPIMAGE,0x0122)
789 
790 /* Retired 0200 */
791 #define DCM_IMGIMAGELOCATION            DCM_MAKETAG(DCM_GROUPIMAGE,0x0200)
792 #define DCM_IMGPIXELINTENSITYRELATIONSHIP DCM_MAKETAG(DCM_GROUPIMAGE,0x1040)
793 #define DCM_IMGWINDOWCENTER             DCM_MAKETAG(DCM_GROUPIMAGE,0x1050)
794 #define DCM_IMGWINDOWWIDTH              DCM_MAKETAG(DCM_GROUPIMAGE,0x1051)
795 #define DCM_IMGRESCALEINTERCEPT         DCM_MAKETAG(DCM_GROUPIMAGE,0x1052)
796 #define DCM_IMGRESCALESLOPE             DCM_MAKETAG(DCM_GROUPIMAGE,0x1053)
797 #define DCM_IMGRESCALETYPE              DCM_MAKETAG(DCM_GROUPIMAGE,0x1054)
798 #define DCM_IMGWINDOWCWEXPLANATION      DCM_MAKETAG(DCM_GROUPIMAGE,0x1055)
799 
800 /* Retired 1080 */
801 #define DCM_IMGGRAYSCALE                DCM_MAKETAG(DCM_GROUPIMAGE,0x1080)
802 #define DCM_IMGRECOMMENDEDVIEWINGMODE   DCM_MAKETAG(DCM_GROUPIMAGE,0x1090)
803 
804 /* Retired 1100 */
805 #define DCM_IMGLUTDESCRIPTGRAY          DCM_MAKETAG(DCM_GROUPIMAGE,0x1100)
806 #define DCM_IMGLUTDESCRIPTRED           DCM_MAKETAG(DCM_GROUPIMAGE,0x1101)
807 #define DCM_IMGLUTDESCRIPTGREEN         DCM_MAKETAG(DCM_GROUPIMAGE,0x1102)
808 #define DCM_IMGLUTDESCRIPTBLUE          DCM_MAKETAG(DCM_GROUPIMAGE,0x1103)
809 #define DCM_IMGPALETTECOLORLUTUID       DCM_MAKETAG(DCM_GROUPIMAGE,0x1199)
810 
811 /* Retired, 1200 */
812 #define DCM_IMGLOOKUPDATAGRAY           DCM_MAKETAG(DCM_GROUPIMAGE,0x1200)
813 #define DCM_IMGLOOKUPDATARED            DCM_MAKETAG(DCM_GROUPIMAGE,0x1201)
814 #define DCM_IMGLOOKUPDATAGREEN          DCM_MAKETAG(DCM_GROUPIMAGE,0x1202)
815 #define DCM_IMGLOOKUPDATABLUE           DCM_MAKETAG(DCM_GROUPIMAGE,0x1203)
816 #define DCM_IMGSEGMENTEDREDLUTDATA      DCM_MAKETAG(DCM_GROUPIMAGE,0x1221)
817 #define DCM_IMGSEGMENTEDGREENLUTDATA    DCM_MAKETAG(DCM_GROUPIMAGE,0x1222)
818 #define DCM_IMGSEGMENTEDBLUELUTDATA     DCM_MAKETAG(DCM_GROUPIMAGE,0x1223)
819 #define DCM_IMGLOSSYIMAGECOMPRESSION    DCM_MAKETAG(DCM_GROUPIMAGE,0x2110)
820 #define DCM_IMGMODALITYLUTSEQUENCE      DCM_MAKETAG(DCM_GROUPIMAGE,0x3000)
821 #define DCM_IMGLUTDESCRIPTOR            DCM_MAKETAG(DCM_GROUPIMAGE,0x3002)
822 #define DCM_IMGLUTEXPLANATION           DCM_MAKETAG(DCM_GROUPIMAGE,0x3003)
823 #define DCM_IMGMODALITYLUTTYPE          DCM_MAKETAG(DCM_GROUPIMAGE,0x3004)
824 #define DCM_IMGLUTDATA                  DCM_MAKETAG(DCM_GROUPIMAGE,0x3006)
825 #define DCM_IMGVOILUTSEQUENCE           DCM_MAKETAG(DCM_GROUPIMAGE,0x3010)
826 
827 /* Retired, 4000 */
828 #define DCM_IMGCOMMENTS                 DCM_MAKETAG(DCM_GROUPIMAGE,0x4000)
829 #define DCM_IMGBIPLANEACQSEQUENCE       DCM_MAKETAG(DCM_GROUPIMAGE,0x5000)
830 #define DCM_IMGREPRESENTATIVEFRAMENUMBER DCM_MAKETAG(DCM_GROUPIMAGE,0x6010)
831 #define DCM_IMGFRAMENUMBERSOFINTEREST   DCM_MAKETAG(DCM_GROUPIMAGE,0x6020)
832 #define DCM_IMGFRAMEOFINTERESTDESCRIPTION DCM_MAKETAG(DCM_GROUPIMAGE,0x6022)
833 #define DCM_IMGMASKPOINTER              DCM_MAKETAG(DCM_GROUPIMAGE,0x6030)
834 #define DCM_IMGRWAVEPOINTER             DCM_MAKETAG(DCM_GROUPIMAGE,0x6040)
835 #define DCM_IMGMASKSUBTRACTIONSEQ       DCM_MAKETAG(DCM_GROUPIMAGE,0x6100)
836 #define DCM_IMGMASKOPERATION            DCM_MAKETAG(DCM_GROUPIMAGE,0x6101)
837 #define DCM_IMGAPPLICABLEFRAMERANGE     DCM_MAKETAG(DCM_GROUPIMAGE,0x6102)
838 #define DCM_IMGMASKFRAMENUMBERS         DCM_MAKETAG(DCM_GROUPIMAGE,0x6110)
839 #define DCM_IMGCONTRASTFRAMEAVERAGING   DCM_MAKETAG(DCM_GROUPIMAGE,0x6112)
840 #define DCM_IMGMASKSUBPIXELSHIFT        DCM_MAKETAG(DCM_GROUPIMAGE,0x6114)
841 #define DCM_IMGTIDOFFSET                DCM_MAKETAG(DCM_GROUPIMAGE,0x6120)
842 #define DCM_MASKOPERATIONEXPLANATION    DCM_MAKETAG(DCM_GROUPIMAGE,0x6190)
843 
844 
845 /*  Define the elements for the STUDY group (0x0032)
846 */
847 
848 #define DCM_SDYGROUPLENGTH              DCM_MAKETAG(DCM_GROUPSTUDY,0x0000)
849 #define DCM_SDYSTATUSID                 DCM_MAKETAG(DCM_GROUPSTUDY,0x000A)
850 #define DCM_SDYPRIORITYID               DCM_MAKETAG(DCM_GROUPSTUDY,0x000C)
851 #define DCM_SDYIDISSUER                 DCM_MAKETAG(DCM_GROUPSTUDY,0x0012)
852 #define DCM_SDYVERIFIEDDATE             DCM_MAKETAG(DCM_GROUPSTUDY,0x0032)
853 #define DCM_SDYVERIFIEDTIME             DCM_MAKETAG(DCM_GROUPSTUDY,0x0033)
854 #define DCM_SDYREADDATE                 DCM_MAKETAG(DCM_GROUPSTUDY,0x0034)
855 #define DCM_SDYREADTIME                 DCM_MAKETAG(DCM_GROUPSTUDY,0x0035)
856 #define DCM_SDYSCHEDULEDSTARTDATE       DCM_MAKETAG(DCM_GROUPSTUDY,0x1000)
857 #define DCM_SDYSCHEDULEDSTARTTIME       DCM_MAKETAG(DCM_GROUPSTUDY,0x1001)
858 #define DCM_SDYSCHEDULEDSTOPDATE        DCM_MAKETAG(DCM_GROUPSTUDY,0x1010)
859 #define DCM_SDYSCHEDULEDSTOPTIME        DCM_MAKETAG(DCM_GROUPSTUDY,0x1011)
860 #define DCM_SDYSCHEDULEDLOCATION        DCM_MAKETAG(DCM_GROUPSTUDY,0x1020)
861 #define DCM_SDYSCHEDULEDLOCATIONAETITLE DCM_MAKETAG(DCM_GROUPSTUDY,0x1021)
862 #define DCM_SDYREASON                   DCM_MAKETAG(DCM_GROUPSTUDY,0x1030)
863 #define DCM_SDYREQUESTINGPHYSICIAN      DCM_MAKETAG(DCM_GROUPSTUDY,0x1032)
864 #define DCM_SDYREQUESTINGSERVICE        DCM_MAKETAG(DCM_GROUPSTUDY,0x1033)
865 #define DCM_SDYARRIVALDATE              DCM_MAKETAG(DCM_GROUPSTUDY,0x1040)
866 #define DCM_SDYARRIVALTIME              DCM_MAKETAG(DCM_GROUPSTUDY,0x1041)
867 #define DCM_SDYCOMPLETIONDATE           DCM_MAKETAG(DCM_GROUPSTUDY,0x1050)
868 #define DCM_SDYCOMPLETIONTIME           DCM_MAKETAG(DCM_GROUPSTUDY,0x1051)
869 #define DCM_SDYSTUDYCOMPONENTSTATUSID   DCM_MAKETAG(DCM_GROUPSTUDY,0x1055)
870 #define DCM_SDYREQUESTEDPRODESCRIPTION  DCM_MAKETAG(DCM_GROUPSTUDY,0x1060)
871 #define DCM_SDYREQUESTEDPROCODESEQ      DCM_MAKETAG(DCM_GROUPSTUDY,0x1064)
872 #define DCM_SDYREQUESTEDCONTRASTAGENT   DCM_MAKETAG(DCM_GROUPSTUDY,0x1070)
873 #define DCM_SDYCOMMENTS                 DCM_MAKETAG(DCM_GROUPSTUDY,0x4000)
874 
875 /* Define the elements for the VISIT group (0x0038)
876 */
877 
878 #define DCM_VISGROUPLENGTH              DCM_MAKETAG(DCM_GROUPVISIT,0x0000)
879 #define DCM_VISREFERENCEDPATALIASSEQ    DCM_MAKETAG(DCM_GROUPVISIT,0x0004)
880 #define DCM_VISSTATUSID                 DCM_MAKETAG(DCM_GROUPVISIT,0x0008)
881 #define DCM_VISADMISSIONID              DCM_MAKETAG(DCM_GROUPVISIT,0x0010)
882 #define DCM_VISISSUEROFADMISSIONID      DCM_MAKETAG(DCM_GROUPVISIT,0x0011)
883 #define DCM_VISROUTEOFADMISSION         DCM_MAKETAG(DCM_GROUPVISIT,0x0016)
884 #define DCM_VISSCHEDULEDADMISSIONDATE   DCM_MAKETAG(DCM_GROUPVISIT,0x001a)
885 #define DCM_VISSCHEDULEDADMISSIONTIME   DCM_MAKETAG(DCM_GROUPVISIT,0x001b)
886 #define DCM_VISSCHEDULEDDISCHARGEDATE   DCM_MAKETAG(DCM_GROUPVISIT,0x001c)
887 #define DCM_VISSCHEDULEDDISCHARGETIME   DCM_MAKETAG(DCM_GROUPVISIT,0x001d)
888 #define DCM_VISSCHEDULEDPATINSTRESIDENCE DCM_MAKETAG(DCM_GROUPVISIT,0x001e)
889 #define DCM_VISADMITTINGDATE            DCM_MAKETAG(DCM_GROUPVISIT,0x0020)
890 #define DCM_VISADMITTINGTIME            DCM_MAKETAG(DCM_GROUPVISIT,0x0021)
891 #define DCM_VISDISCHARGEDATE            DCM_MAKETAG(DCM_GROUPVISIT,0x0030)
892 #define DCM_VISDISCHARGETIME            DCM_MAKETAG(DCM_GROUPVISIT,0x0032)
893 #define DCM_VISDISCHARGEDIAGDESCRIPTION DCM_MAKETAG(DCM_GROUPVISIT,0x0040)
894 #define DCM_VISDISCHARGEDIAGNOSISCODESEQ        DCM_MAKETAG(DCM_GROUPVISIT,0x0044)
895 #define DCM_VISSPECIALNEEDS             DCM_MAKETAG(DCM_GROUPVISIT,0x0050)
896 #define DCM_VISCURRENTPATIENTLOCATION   DCM_MAKETAG(DCM_GROUPVISIT,0x0300)
897 #define DCM_VISPATIENTSINSTRESIDENCE    DCM_MAKETAG(DCM_GROUPVISIT,0x0400)
898 #define DCM_VISPATIENTSTATE             DCM_MAKETAG(DCM_GROUPVISIT,0x0500)
899 #define DCM_VISCOMMENTS                 DCM_MAKETAG(DCM_GROUPVISIT,0x4000)
900 
901 /* Define elements for the Procedure Step group (0040)
902 */
903 
904 #define DCM_PRCGROUPLENGTH              DCM_MAKETAG(DCM_GRPPROCEDURE,0x0000)
905 #define DCM_PRCSCHEDULEDSTATIONAETITLE  DCM_MAKETAG(DCM_GRPPROCEDURE,0x0001)
906 #define DCM_PRCSCHEDULEDPROCSTEPSTARTDATE       DCM_MAKETAG(DCM_GRPPROCEDURE,0x0002)
907 #define DCM_PRCSCHEDULEDPROCSTEPSTARTTIME       DCM_MAKETAG(DCM_GRPPROCEDURE,0x0003)
908 #define DCM_PRCSCHEDULEDPROCSTEPENDDATE         DCM_MAKETAG(DCM_GRPPROCEDURE,0x0004)
909 #define DCM_PRCSCHEDULEDPROCSTEPENDTIME         DCM_MAKETAG(DCM_GRPPROCEDURE,0x0005)
910 #define DCM_PRCSCHEDULEDPERFORMINGPHYSNAME      DCM_MAKETAG(DCM_GRPPROCEDURE,0x0006)
911 #define DCM_PRCSCHEDULEDPROCSTEPDESCRIPTION     DCM_MAKETAG(DCM_GRPPROCEDURE,0x0007)
912 #define DCM_PRCSCHEDULEDACTIONITEMCODESEQ       DCM_MAKETAG(DCM_GRPPROCEDURE,0x0008)
913 #define DCM_PRCSCHEDULEDPROCSTEPID      DCM_MAKETAG(DCM_GRPPROCEDURE,0x0009)
914 #define DCM_PRCSCHEDULEDSTATIONNAME     DCM_MAKETAG(DCM_GRPPROCEDURE,0x0010)
915 #define DCM_PRCSCHEDULEDPROCSTEPLOCATION        DCM_MAKETAG(DCM_GRPPROCEDURE,0x0011)
916 #define DCM_PRCPREMEDICATION            DCM_MAKETAG(DCM_GRPPROCEDURE,0x0012)
917 #define DCM_PRCSCHEDULEDPROCSTEPSEQ     DCM_MAKETAG(DCM_GRPPROCEDURE,0x0100)
918 #define DCM_PRCCOMMENTSONSCHEDULEDPROCSTEP      DCM_MAKETAG(DCM_GRPPROCEDURE,0x0400)
919 #define DCM_PRCREQUESTEDPROCEDUREID     DCM_MAKETAG(DCM_GRPPROCEDURE,0x1001)
920 #define DCM_PRCREASONFORREQUESTEDPROC   DCM_MAKETAG(DCM_GRPPROCEDURE,0x1002)
921 #define DCM_PRCREQUESTEDPROCPRIORITY    DCM_MAKETAG(DCM_GRPPROCEDURE,0x1003)
922 #define DCM_PRCPATIENTTRANSPORTARRANGEMENTS     DCM_MAKETAG(DCM_GRPPROCEDURE,0x1004)
923 #define DCM_PRCREQUESTEDPROCLOCATION    DCM_MAKETAG(DCM_GRPPROCEDURE,0x1005)
924 #define DCM_PRCPLACERORDERNUMBERPROC    DCM_MAKETAG(DCM_GRPPROCEDURE,0x1006)
925 #define DCM_PRCFILLERORDERNUMBERPROC    DCM_MAKETAG(DCM_GRPPROCEDURE,0x1007)
926 #define DCM_PRCCONFIDENTIALITYCODE      DCM_MAKETAG(DCM_GRPPROCEDURE,0x1008)
927 #define DCM_PRCREPORTINGPRIORITY        DCM_MAKETAG(DCM_GRPPROCEDURE,0x1009)
928 #define DCM_PRCNAMESINTENDEDRECIPIENTSRESULTS   DCM_MAKETAG(DCM_GRPPROCEDURE,0x1010)
929 #define DCM_PRCREQUESTEDPROCCOMMENTS    DCM_MAKETAG(DCM_GRPPROCEDURE,0x1400)
930 #define DCM_PRCREASONFORIMAGINGSERVICEREQ       DCM_MAKETAG(DCM_GRPPROCEDURE,0x2001)
931 #define DCM_PRCISSUEDATEIMAGINGSERVICEREQ       DCM_MAKETAG(DCM_GRPPROCEDURE,0x2004)
932 #define DCM_PRCISSUETIMEIMAGINGSERVICEREQ       DCM_MAKETAG(DCM_GRPPROCEDURE,0x2005)
933 #define DCM_PRCPLACERORDERNUMBERIMAGINGSRVREQ   DCM_MAKETAG(DCM_GRPPROCEDURE,0x2006)
934 #define DCM_PRCFILLERORDERNUMBERIMAGINGSRVREQ   DCM_MAKETAG(DCM_GRPPROCEDURE,0x2007)
935 #define DCM_PRCORDERENTEREDBY           DCM_MAKETAG(DCM_GRPPROCEDURE,0x2008)
936 #define DCM_PRCORDERENTERERSLOCATION    DCM_MAKETAG(DCM_GRPPROCEDURE,0x2009)
937 #define DCM_PRCORDERCALLBACKPHONENUMBER DCM_MAKETAG(DCM_GRPPROCEDURE,0x2010)
938 #define DCM_PRCIMAGINGSERVICEREQCOMMENTS        DCM_MAKETAG(DCM_GRPPROCEDURE,0x2400)
939 #define DCM_PRCCONFIDIENTIALITYCONSTRAINTPATIENTDATADES DCM_MAKETAG(DCM_GRPPROCEDURE,0x3001)
940 
941 /* Define the elements for the DEVICE group (0x0050)
942 */
943 
944 #define DCM_DEVGROUPLENGTH              DCM_MAKETAG(DCM_GROUPDEVICE,0x0000)
945 #define DCM_DEVCALIBRATIONOBJECT        DCM_MAKETAG(DCM_GROUPDEVICE,0x0004)
946 #define DCM_DEVDEVICESEQUENCE           DCM_MAKETAG(DCM_GROUPDEVICE,0x0010)
947 #define DCM_DEVDEVICELENGTH             DCM_MAKETAG(DCM_GROUPDEVICE,0x0014)
948 #define DCM_DEVDEVICEDIAMETER           DCM_MAKETAG(DCM_GROUPDEVICE,0x0016)
949 #define DCM_DEVDEVICEDIAMETERUNITS      DCM_MAKETAG(DCM_GROUPDEVICE,0x0017)
950 #define DCM_DEVDEVICEVOLUME             DCM_MAKETAG(DCM_GROUPDEVICE,0x0018)
951 #define DCM_DEVINTERMARKERDISTANCE      DCM_MAKETAG(DCM_GROUPDEVICE,0x0019)
952 #define DCM_DEVDEVICEDESCRIPTION        DCM_MAKETAG(DCM_GROUPDEVICE,0x0020)
953 
954 /* define the elements of the RESULTS (0x4008) group
955 */
956 
957 #define DCM_RESGROUPLENGTH              DCM_MAKETAG(DCM_GROUPRESULTS,0x0000)
958 #define DCM_RESID                       DCM_MAKETAG(DCM_GROUPRESULTS,0x0040)
959 #define DCM_RESIDISSUER                 DCM_MAKETAG(DCM_GROUPRESULTS,0x0042)
960 #define DCM_RESREFERENCEDINTERPSEQ      DCM_MAKETAG(DCM_GROUPRESULTS,0x0050)
961 #define DCM_RESINTERPRECORDEDDATE       DCM_MAKETAG(DCM_GROUPRESULTS,0x0100)
962 #define DCM_RESINTERPRECORDEDTIME       DCM_MAKETAG(DCM_GROUPRESULTS,0x0101)
963 #define DCM_RESINTERPRECORDER           DCM_MAKETAG(DCM_GROUPRESULTS,0x0102)
964 #define DCM_RESREFERENCETORECORDEDSOUND DCM_MAKETAG(DCM_GROUPRESULTS,0x0103)
965 #define DCM_RESINTERPTRANSCRIPTIONDATE  DCM_MAKETAG(DCM_GROUPRESULTS,0x0108)
966 #define DCM_RESINTERPTRANSCRIPTIONTIME  DCM_MAKETAG(DCM_GROUPRESULTS,0x0109)
967 #define DCM_RESINTERPTRANSCRIBER        DCM_MAKETAG(DCM_GROUPRESULTS,0x010a)
968 #define DCM_RESINTERPTEXT               DCM_MAKETAG(DCM_GROUPRESULTS,0x010b)
969 #define DCM_RESINTERPAUTHOR             DCM_MAKETAG(DCM_GROUPRESULTS,0x010c)
970 #define DCM_RESINTERPAPPROVERSEQUENCE   DCM_MAKETAG(DCM_GROUPRESULTS,0x0111)
971 #define DCM_RESINTERPAPPROVALDATE       DCM_MAKETAG(DCM_GROUPRESULTS,0x0112)
972 #define DCM_RESINTERPAPPROVALTIME       DCM_MAKETAG(DCM_GROUPRESULTS,0x0113)
973 #define DCM_RESPHYSICIANAPPROVINGINTERP DCM_MAKETAG(DCM_GROUPRESULTS,0x0114)
974 #define DCM_RESDIAGNOSIS                DCM_MAKETAG(DCM_GROUPRESULTS,0x0115)
975 #define DCM_RESDIAGNOSISCODESEQ         DCM_MAKETAG(DCM_GROUPRESULTS,0x0117)
976 #define DCM_RESDISTRIBUTIIONLISTSEQUENCE DCM_MAKETAG(DCM_GROUPRESULTS,0x0118)
977 #define DCM_RESDISTRIBUTIONNAME         DCM_MAKETAG(DCM_GROUPRESULTS,0x0119)
978 #define DCM_RESDISTRIBUTIONADDRESS      DCM_MAKETAG(DCM_GROUPRESULTS,0x011a)
979 #define DCM_RESINTERPID                 DCM_MAKETAG(DCM_GROUPRESULTS,0x0200)
980 #define DCM_RESINTERPIDISSUER           DCM_MAKETAG(DCM_GROUPRESULTS,0x0202)
981 #define DCM_RESINTERPTYPEID             DCM_MAKETAG(DCM_GROUPRESULTS,0x0210)
982 #define DCM_RESINTERPSTATUSID           DCM_MAKETAG(DCM_GROUPRESULTS,0x0212)
983 #define DCM_RESIMPRESSIONS              DCM_MAKETAG(DCM_GROUPRESULTS,0x0300)
984 #define DCM_RESCOMMENTS                 DCM_MAKETAG(DCM_GROUPRESULTS,0x4000)
985 
986 /* Define the elements for the  Curve group (50xx) */
987 #define DCM_CURVEGROUPLENGTH            DCM_MAKETAG(DCM_GROUPCURVE, 0x0000)
988 #define DCM_CURVEDIMENSIONS             DCM_MAKETAG(DCM_GROUPCURVE, 0x0005)
989 #define DCM_CURVENUMBEROFPOINTS         DCM_MAKETAG(DCM_GROUPCURVE, 0x0010)
990 #define DCM_CURVETYPEOFDATA             DCM_MAKETAG(DCM_GROUPCURVE, 0x0020)
991 #define DCM_CURVEDESCRIPTION            DCM_MAKETAG(DCM_GROUPCURVE, 0x0022)
992 #define DCM_CURVEAXISUNITS              DCM_MAKETAG(DCM_GROUPCURVE, 0x0030)
993 #define DCM_CURVEAXISLABELS             DCM_MAKETAG(DCM_GROUPCURVE, 0x0040)
994 #define DCM_CURVEDATAVALUEREPRESENTATION   DCM_MAKETAG(DCM_GROUPCURVE, 0x0103)
995 #define DCM_CURVEMINCOORDINATEVALUE     DCM_MAKETAG(DCM_GROUPCURVE, 0x0104)
996 #define DCM_CURVEMAXCOORDINATEVALUE     DCM_MAKETAG(DCM_GROUPCURVE, 0x0105)
997 #define DCM_CURVERANGE                  DCM_MAKETAG(DCM_GROUPCURVE, 0x0106)
998 #define DCM_CURVEDATADESCRIPTOR         DCM_MAKETAG(DCM_GROUPCURVE, 0x0110)
999 #define DCM_CURVECOORDINATESTARTVALUE   DCM_MAKETAG(DCM_GROUPCURVE, 0x0112)
1000 #define DCM_CURVECOORDINATESTEPVALUE    DCM_MAKETAG(DCM_GROUPCURVE, 0x0114)
1001 #define DCM_CURVEAUDIOTYPE              DCM_MAKETAG(DCM_GROUPCURVE, 0x2000)
1002 #define DCM_CURVEAUDIOSAMPLEFORMAT      DCM_MAKETAG(DCM_GROUPCURVE, 0x2002)
1003 #define DCM_CURVENUMBEROFCHANNELS       DCM_MAKETAG(DCM_GROUPCURVE, 0x2004)
1004 #define DCM_CURVENUMBEROFSAMPLES        DCM_MAKETAG(DCM_GROUPCURVE, 0x2006)
1005 #define DCM_CURVESAMPLERATE             DCM_MAKETAG(DCM_GROUPCURVE, 0x2008)
1006 #define DCM_CURVETOTALTIME              DCM_MAKETAG(DCM_GROUPCURVE, 0x200A)
1007 #define DCM_CURVEAUDIOSAMPLEDATA        DCM_MAKETAG(DCM_GROUPCURVE, 0x200C)
1008 #define DCM_CURVEAUDIOCOMMENTS          DCM_MAKETAG(DCM_GROUPCURVE, 0x200E)
1009 #define DCM_CURVELABEL                  DCM_MAKETAG(DCM_GROUPCURVE, 0x2500)
1010 #define DCM_CURVEREFOVERLAYSEQUENCE     DCM_MAKETAG(DCM_GROUPCURVE, 0x2600)
1011 #define DCM_CURVEREFOVERLAYGROUP        DCM_MAKETAG(DCM_GROUPCURVE, 0x2610)
1012 #define DCM_CURVEDATA                   DCM_MAKETAG(DCM_GROUPCURVE, 0x3000)
1013 
1014 /*  Define the elements for the NM Image group.  (0054) */
1015 #define DCM_NMIGROUPLENGTH              DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0000)
1016 #define DCM_NMIENERGYWINDOWVECTOR       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0010)
1017 #define DCM_NMINUMBEROFENERGYWINDOWS    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0011)
1018 #define DCM_NMIENERGYWINDOWINFOSEQ      DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0012)
1019 #define DCM_NMIENERGYWINDOWRANGESEQ     DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0013)
1020 #define DCM_NMIENERGYWINDOWLOWERLIMIT   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0014)
1021 #define DCM_NMIENERGYWINDOWUPPERLIMIT   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0015)
1022 #define DCM_NMIRADIOPHARMINFOSEQ        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0016)
1023 #define DCM_NMIRESIDUALSYRINGECOUNTS    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0017)
1024 #define DCM_NMIENERGYWINDOWNAME         DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0018)
1025 #define DCM_NMIDETECTORVECTOR           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0020)
1026 #define DCM_NMINUMBEROFDETECTORS        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0021)
1027 #define DCM_NMIDETECTORINFOSEQUENCE     DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0022)
1028 #define DCM_NMIPHASEVECTOR              DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0030)
1029 #define DCM_NMINUMBEROFPHASES           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0031)
1030 #define DCM_NMIPHASEINFOSEQUENCE        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0032)
1031 #define DCM_NMINUMBEROFFRAMESINPHASE    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0033)
1032 #define DCM_NMIPHASEDELAY               DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0036)
1033 #define DCM_NMIPAUSEBETWEENFRAMES       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0038)
1034 #define DCM_NMIROTATIONVECTOR           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0050)
1035 #define DCM_NMINUMBEROFROTATIONS        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0051)
1036 #define DCM_NMIROTATIONINFOSEQUENCE     DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0052)
1037 #define DCM_NMINUMBEROFFRAMESINROTATION DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0053)
1038 #define DCM_NMIRRINTERVALVECTOR         DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0060)
1039 #define DCM_NMINUMBEROFRRINTERVALS      DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0061)
1040 #define DCM_NMIGATEDINFOSEQUENCE        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0062)
1041 #define DCM_NMIDATAINFORMATIONSEQUENCE  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0063)
1042 #define DCM_NMITIMESLOTVECTOR           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0070)
1043 #define DCM_NMINUMBEROFTIMESLOTS        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0071)
1044 #define DCM_NMITIMESLOTINFOSEQUENCE     DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0072)
1045 #define DCM_NMITIMESLOTTIME             DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0073)
1046 #define DCM_NMISLICEVECTOR              DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0080)
1047 #define DCM_NMINUMBEROFSLICES           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0081)
1048 #define DCM_NMIANGULARVIEWVECTOR        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0090)
1049 #define DCM_NMITIMESLICEVECTOR          DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0100)
1050 #define DCM_NMINUMBEROFTIMESLICES       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0101)
1051 #define DCM_NMISTARTANGLE               DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0200)
1052 #define DCM_NMITYPEOFDETECTORMOTION     DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0202)
1053 #define DCM_NMITRIGGERVECTOR            DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0210)
1054 #define DCM_NMINUMBEROFTRIGGERSINPHASE  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0211)
1055 #define DCM_NMIVIEWCODESEQUENCE         DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0220)
1056 #define DCM_NMIVIEWANGULATIONMODIFIERCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0222)
1057 #define DCM_NMIRADIONUCLIDECODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0300)
1058 #define DCM_NMIRADIOPHARMROUTECODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0302)
1059 #define DCM_NMIRADIOPHARMCODESEQUENCE   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0304)
1060 #define DCM_NMICALIBRATIONDATASEQUENCE  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0306)
1061 #define DCM_NMIENERGYWINDOWNUMBER       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0308)
1062 #define DCM_NMIIMAGEID                  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0400)
1063 #define DCM_NMIPATIENTORIENTATIONCODESEQ        DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0410)
1064 #define DCM_NMIPATIENTORIENTATIONMODIFIERCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0412)
1065 #define DCM_NMIPATIENTGANTRYRELATIONSHIPCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0414)
1066 #define DCM_NMISERIESTYPE               DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1000)
1067 #define DCM_NMIUNITS                    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1001)
1068 #define DCM_NMICOUNTSSOURCE             DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1002)
1069 #define DCM_NMIREPROJECTIONMETHOD       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1004)
1070 #define DCM_NMIRANDOMSCORRECTIONMETHOD  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1100)
1071 #define DCM_NMIATTENUATIONCORRECTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1101)
1072 #define DCM_NMIDECAYCORRECTION          DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1102)
1073 #define DCM_NMIRECONSTRUCTIONMETHOD     DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1103)
1074 #define DCM_NMIDETECTORLINESRESPONSEUSED DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1104)
1075 #define DCM_NMISCATTERCORRECTIONMETHOD  DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1105)
1076 #define DCM_NMIAXIALACCEPTANCE          DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1200)
1077 #define DCM_NMIAXIALMASH                DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1201)
1078 #define DCM_NMITRANSVERSEMASH           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1202)
1079 #define DCM_NMIDETECTORELEMENTSIZE      DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1203)
1080 #define DCM_NMICOINCIDENCEWINDOWWIDTH   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1210)
1081 #define DCM_NMISECONDARYCOUNTSTYPE      DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1220)
1082 #define DCM_NMIFRAMEREFERENCETIME       DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1300)
1083 #define DCM_NMIPRIMARYCOUNTSACCUMULATED DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1310)
1084 #define DCM_NMISECONDARYCOUNTSACCUMULATED DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1311)
1085 #define DCM_NMISLICESENSITIVITYFACTOR   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1320)
1086 #define DCM_NMIDECAYFACTOR              DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1321)
1087 #define DCM_NMIDOSECALIBRATIONFACTOR    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1322)
1088 #define DCM_NMISCATTERFRACTIONFACTOR    DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1323)
1089 #define DCM_NMIDEADTIMEFACTOR           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1324)
1090 #define DCM_NMIIMAGEINDEX               DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1330)
1091 #define DCM_NMICOUNTSINCLUDED           DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1400)
1092 #define DCM_NMIDEADTIMECORRECTIONFLAG   DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1401)
1093 
1094 /*  Define the elements for the OVERLAY group. (60xx) */
1095 #define DCM_OLYGROUPLENGTH              DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0000)
1096 #define DCM_OLYROWS                     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0010)
1097 #define DCM_OLYCOLUMNS                  DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0011)
1098 #define DCM_OLYPLANES                   DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0012)
1099 #define DCM_OLYNUMBEROFFRAMESINOVERLAY  DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0015)
1100 #define DCM_OLYOVERLAYDESCRIPTION       DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0022)
1101 #define DCM_OLYTYPE                     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0040)
1102 #define DCM_OLYSUBTYPE                  DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0045)
1103 #define DCM_OLYORIGIN                   DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0050)
1104 #define DCM_OLYIMAGEFRAMEORIGIN         DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0051)
1105 #define DCM_OLYOVERLAYPLANEORIGIN       DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0052)
1106 
1107 /* Retired, 0060 */
1108 #define DCM_OLYCOMPRESSIONCODE          DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0060)
1109 #define DCM_OLYBITSALLOCATED            DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0100)
1110 #define DCM_OLYBITPOSITION              DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0102)
1111 
1112 /* Retired, 00110, 0200) */
1113 #define DCM_OLYOVERLAYFORMAT            DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0110)
1114 #define DCM_OLYOVERLAYLOCATION          DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0200)
1115 #define DCM_OLYDESCRIPTORGRAY           DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1100)
1116 #define DCM_OLYDESCRIPTORRED            DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1101)
1117 #define DCM_OLYDESCRIPTORGREEN          DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1102)
1118 #define DCM_OLYDESCRIPTORBLUE           DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1103)
1119 #define DCM_OLYGRAY                     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1200)
1120 #define DCM_OLYRED                      DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1201)
1121 #define DCM_OLYGREEN                    DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1202)
1122 #define DCM_OLYBLUE                     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1203)
1123 #define DCM_OLYROIAREA                  DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1301)
1124 #define DCM_OLYROIMEAN                  DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1302)
1125 #define DCM_OLYROISTANDARDDEVIATION     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1303)
1126 #define DCM_OLYOVERLAYLABEL             DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1500)
1127 #define DCM_OLYDATA                     DCM_MAKETAG(DCM_GROUPOVERLAY, 0x3000)
1128 
1129 /* Retired, 4000 */
1130 #define DCM_OLYCOMMENTS                 DCM_MAKETAG(DCM_GROUPOVERLAY, 0x4000)
1131 
1132 /*  Define the elements for the PIXEL group (7FE0)
1133 */
1134 #define DCM_PXLGROUPLENGTH              DCM_MAKETAG(DCM_GROUPPIXEL,0x0000)
1135 #define DCM_PXLPIXELDATA                DCM_MAKETAG(DCM_GROUPPIXEL,0x0010)
1136 
1137 /* Define the elements for the MEDIA group, 0x0088  */
1138 #define DCM_MEDIAGROUPLENGTH            DCM_MAKETAG(DCM_GROUPMEDIA,0x0000)
1139 #define DCM_MEDIASTORAGEFILESETID       DCM_MAKETAG(DCM_GROUPMEDIA,0x0130)
1140 #define DCM_MEDIASTORAGEFILESETUID      DCM_MAKETAG(DCM_GROUPMEDIA,0x0140)
1141 #define DCM_MEDIAICONIMAGE              DCM_MAKETAG(DCM_GROUPMEDIA,0x0200)
1142 #define DCM_MEDIATOPICTITLE             DCM_MAKETAG(DCM_GROUPMEDIA,0x0904)
1143 #define DCM_MEDIATOPICSUBJECT           DCM_MAKETAG(DCM_GROUPMEDIA,0x0906)
1144 #define DCM_MEDIATOPICAUTHOR            DCM_MAKETAG(DCM_GROUPMEDIA,0x0910)
1145 #define DCM_MEDIATOPICKEYWORD           DCM_MAKETAG(DCM_GROUPMEDIA,0x0912)
1146 
1147 /* Define the elements for the BASICFILMSESSION group (2000)
1148 */
1149 #define DCM_BFSGROUPLENGTH              DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x000)
1150 #define DCM_BFSCOPIES                   DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0010)
1151 #define DCM_BFSPRINTPRIORITY            DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0020)
1152 #define DCM_BFSMEDIUMTYPE               DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0030)
1153 #define DCM_BFSFILMDESTINATION          DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0040)
1154 #define DCM_BFSFILMSESSIONLABEL         DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0050)
1155 #define DCM_BFSMEMORYALLOCATION         DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0060)
1156 #define DCM_BFSREFERENCEDFILMBOXSEQ     DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0500)
1157 
1158 /* Define the elements for the BASICFILMBOX group (2010)
1159 */
1160 #define DCM_BFBGROUPLENGTH              DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0000)
1161 #define DCM_BFBIMAGEDISPLAYFORMAT       DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0010)
1162 #define DCM_BFBANNOTATIONDISPLAYFORMAT  DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0030)
1163 #define DCM_BFBFILMORIENTATION          DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0040)
1164 #define DCM_BFBFILMSIZEID               DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0050)
1165 #define DCM_BFBMAGNIFICATIONTYPE        DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0060)
1166 #define DCM_BFBSMOOTHINGTYPE            DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0080)
1167 #define DCM_BFBBORDERDENSITY            DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0100)
1168 #define DCM_BFBEMPTYIMAGEDENSITY        DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0110)
1169 #define DCM_BFBMINDENSITY               DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0120)
1170 #define DCM_BFBMAXDENSITY               DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0130)
1171 #define DCM_BFBTRIM                     DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0140)
1172 #define DCM_BFBCONFIGURATIONINFO        DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0150)
1173 #define DCM_BFBREFBASICFILMSESSIONSEQ   DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0500)
1174 #define DCM_BFBREFBASICIMAGEBOXSEQ      DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0510)
1175 #define DCM_BFBREFBASICANNOTBOXSEQ      DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0520)
1176 
1177 /* Define the elements of the BASICIMAGEBOX group (2020)
1178 */
1179 #define DCM_BIBGROUPLENGTH              DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0000)
1180 #define DCM_BIBIMAGEPOSITION            DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0010)
1181 #define DCM_BIBPOLARITY                 DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0020)
1182 #define DCM_BIBREQUESTEDIMAGESIZE       DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0030)
1183 #define DCM_BIBPREFORMATGREYSCALEIMAGESEQ       DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0110)
1184 #define DCM_BIBPREFORMATCOLORIMAGESEQ   DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0111)
1185 #define DCM_BIBREFIMAGEOVERLAYBOXSEQ    DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0130)
1186 #define DCM_BIBREFVOILUTSEQ             DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0140)
1187 
1188 /* Define the elements of the BASICANNOTATIONBOX group (2030)
1189 */
1190 #define DCM_BABGROUPLENGTH              DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0000)
1191 #define DCM_BABANNOTATIONPOSITION       DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0010)
1192 #define DCM_BABTEXTSTRING               DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0020)
1193 
1194 /* Defines the elements of the BASICIMAGEOVERLAYBOX group (2040)
1195 */
1196 #define DCM_IOBGROUPLENGTH              DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0000)
1197 #define DCM_IOBREFOVERLAYPLANESEQ       DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0010)
1198 #define DCM_IOBREFOVERLAYPLANEGROUPS    DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0011)
1199 #define DCM_IOBOVERLAYMAGNIFICATIONTYPE DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0060)
1200 #define DCM_IOBOVERLAYSMOOTHINGTYPE     DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0070)
1201 #define DCM_IOBOVERLAYFOREGROUNDDENSITY DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0080)
1202 #define DCM_IOBOVERLAYMODE              DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0090)
1203 #define DCM_IOBTHRESHOLDDENSITY         DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0100)
1204 #define DCM_IOBREFIMAGEBOXSEQUENCE      DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0500)
1205 
1206 /* Define the elements of the PRINTJOB group (2100)
1207 */
1208 #define DCM_PJGROUPLENGTH               DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0000)
1209 #define DCM_PJEXECUTIONSTATUS           DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0020)
1210 #define DCM_PJEXECUTIONSTATUSINFO       DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0030)
1211 #define DCM_PJCREATIONDATE              DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0040)
1212 #define DCM_PJCREATIONTIME              DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0050)
1213 #define DCM_PJORIGINATOR                DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0070)
1214 #define DCM_PJREFPRINTJOBSEQ            DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0500)
1215 
1216 /* Define the elements of the PRINTER group, 0x2110
1217 */
1218 #define DCM_PRINTERGROUPLENGTH          DCM_MAKETAG(DCM_GROUPPRINTER,0x0000)
1219 #define DCM_PRINTERSTATUS               DCM_MAKETAG(DCM_GROUPPRINTER,0x0010)
1220 #define DCM_PRINTERSTATUSINFO           DCM_MAKETAG(DCM_GROUPPRINTER,0x0020)
1221 #define DCM_PRINTERNAME                 DCM_MAKETAG(DCM_GROUPPRINTER,0x0030)
1222 #define DCM_PRINTERQUEUEID              DCM_MAKETAG(DCM_GROUPPRINTER,0x0099)
1223 
1224 /*  Define any semantics associated with pixel representation
1225 */
1226 #define DCM_PIXELUNSIGNED       0
1227 #define DCM_PIXELTWOSCOMPLEMENT 1
1228 
1229 /* Define the attributes in the Padding group, 0xfffc
1230 */
1231 
1232 #define DCM_PADITEM                     DCM_MAKETAG(DCM_GROUPPAD, 0xfffc)
1233 
1234 /* Define the attributes in the Delimiter group
1235 */
1236 
1237 #define DCM_DLMITEM                     DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe000)
1238 #define DCM_DLMITEMDELIMITATIONITEM     DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe00d)
1239 #define DCM_DLMSEQUENCEDELIMITATIONITEM DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe0dd)
1240 
1241 /* Define the values for the Data Set Type in the Command Field
1242 */
1243 
1244 #define DCM_CMDDATAIMAGE        0x0000
1245 #define DCM_CMDDATAGRAPHICS     0x0002
1246 #define DCM_CMDDATATEXT         0x0003
1247 #define DCM_CMDDATAOTHER        0x0100
1248 #define DCM_CMDDATANULL         0x0101
1249 #define DCM_CMDDATAIDENTIFIER   0x0102
1250 #define DCM_CMDDATAPRIVIMAGE    0x8000
1251 #define DCM_CMDDATAPRIVGRAPHICS 0x8002
1252 #define DCM_CMDDATAPRIVTEXT     0x8003
1253 
1254 /* Define status values */
1255 
1256 #define DCM_STATUS_SUCCESS      0x0000
1257 #define DCM_STATUS_PENDING      0xff00
1258 #define DCM_STATUS_REFUSED      0x01
1259 #define DCM_STATUS_FAILED       0x02
1260 
1261 /* Define priority values in messages */
1262 
1263 #define DCM_PRIORITYLOW         0x2
1264 #define DCM_PRIORITYMEDIUM      0x0
1265 #define DCM_PRIORITYHIGH        0x1
1266 
1267 /* Define legal values to be transmitted as Query Level */
1268 
1269 #define DCM_QUERYLEVELPATIENT   "PATIENT"
1270 #define DCM_QUERYLEVELSTUDY     "STUDY"
1271 #define DCM_QUERYLEVELSERIES    "SERIES"
1272 #define DCM_QUERYLEVELIMAGE     "IMAGE"
1273 
1274 /* Define legal values for the Photometric Interpretation */
1275 
1276 #define DCM_IMGPHOTOINTERPMONOCHROME1   "MONOCHROME1"
1277 #define DCM_IMGPHOTOINTERPMONOCHROME2   "MONOCHROME2"
1278 #define DCM_IMGPHOTOINTERPPALETTECOLOR  "PALETTE COLOR"
1279 #define DCM_IMGPHOTOINTERPRGB           "RGB"
1280 #define DCM_IMGPHOTOINTERPHSV           "HSV"
1281 #define DCM_IMGPHOTOINTERPRGBA          "RGBA"
1282 #define DCM_IMGPHOTOINTERPCMYK          "CMYK"
1283 
1284 #define DCM_UNSPECIFIEDLENGTH   0xffffffff
1285 #define DCM_DELIMITOR   '\\'
1286 
1287 #endif
1288 
1289 
1290 
1291 #endif  /* TINA_FILE_DICOM_DEF_HDR */
1292 
1293 
1294 
1295 
1296 
1297 
1298 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.