The DICOMELEMENT structure contains information concerning the Data Elements contained in a DICOM data set.
typedef struct _DICOMELEMENT
{
GENERICLINK; /* Reserved */
L_UINT32 nTag; /* Data element tag */
L_UINT16 nVR; /* Value representation */
L_UINT32 nLength; /* length of the value stored in the data element */
L_UINT32 nVM; /* Reserved */
L_UCHAR *pValue; /* Reserved */
L_DICOM_OFFSET nAttach; /* Reserved */
L_DICOM_OFFSET *pOffset; /* Reserved */
L_VOID **pFile; /* Reserved */
L_UINT32 *pSize;/* Reserved */
L_UINT32 nCount; /* Reserved */
L_TCHAR *pStringValue; /* Reserved */
L_DICOM_OFFSET nElementOffset;
L_DICOM_OFFSET nElementValueOffset;
L_UINT32 nElementValueLength;
} DICOMELEMENT, * pDICOMELEMENT;
Reserved
Data element tag. For a list of default values, refer to Data Element Tag Constants.
Value representation. For a list of default values supported by DICOM, refer to Value Representation Constants.
Length of the value stored in the data element. If the stored value is a sequence, this value will be ELEMENT_LENGTH_MAX (0xFFFFFFFF).
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Offset (in bytes) of the element (relative to beginning of file).
Offset (in bytes) of the element value (relative to beginning of file).
Length (in bytes) of the element value in bytes. Note that this element is a sequence, the length includes all the items in the sequence.
When a data set is loaded from a DICOM file, only the tag, the value representation and the length of the stored value data is actually loaded. This information is stored in the DICOMELEMENT structure. You can access and modify this data set information, add to the data set, or delete items from the data set.