The DICOMTAG structure contains information about supported tags.
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;
Code that indicates the tag. For a list of default values, refer to Data Element Tag Constants.
Masking value. Masking allows you to insert multiple elements in the same entry in the table.
Character string that contains the name of the tag. To see the default values for the Tag Names, refer to the Default Data Element Tag Table.
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.
Value that indicates the minimum number of values that may be stored in the Value Field of the Data Element.
Value that indicates the maximum number of values that may be stored in the Value Field of the Data Element.
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.
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. To see the default values, refer to the Default Data Element Tag Table.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries