DICOMTAG

Summary

The DICOMTAG structure contains information about supported tags.

Syntax

typedef struct _DICOMTAG 
{ 
   GENERICLINK; /* reserved */ 
   L_UINT32 nCode; /* code */ 
   L_UINT32 nMask; /* mask */ 
   L_TCHAR *pszName; /* name */ 
   L_UINT16 nVR; /* value representation */ 
   L_UINT32 nMinVM; /* minimum value multiplicity */ 
   L_INT32 nMaxVM; /* maximum value multiplicity */ 
   L_UINT32 nDivideVM; /* value used to divide the value multiplicity */ 
} DICOMTAG,  * pDICOMTAG; 

Members

GENERICLINK

Reserved.

nCode

Code that indicates the tag. For a list of default values, refer to Data Element Tag Constants.

nMask

Masking value. Masking allows you to insert multiple elements in the same entry in the table.

pszName

Character string that contains the name of the tag. For the default values for the Tag Names, refer to the Default Data Element Tag Table.

nVR

Value representation code that indicates the type of value stored in the data element. For a list of default values supported by DICOM, refer to Value Representation Constants.

nMinVM

Value that indicates the minimum number of values that may be stored in the Value Field of the Data Element.

nMaxVM

Value that indicates the maximum number of values that may be stored in the Value Field of the Data Element.

nDivideVM

Value used to divide the value multiplicity. When multiple values are stored in the value field of a data element, the number of values present must be evenly divisible by nDivideVM. For most items nDivideVM will be 1. However, if the values stored in the value field are RGB triplets, for example, you would have to store three values for each triplet. You could store 12 values, since 12 values would be 4 triplets, however, you could not store 13 values. In this case nDivideVM would be 3.

Comments

Internally LEADTOOLS maintains a table or list of available tag values. These values can include default values for standard tags available in DICOM, as well as user defined tags. You can access any of this information, add to the table, or delete items from the table using the L_DicomXXXTag functions. For the default values, refer to the Default Data Element Tag Table.

Usage

See Also

Functions

Topics

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.