DICOMELEMENT

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; 

The DICOMELEMENT structure contains information concerning the Data Elements contained in a DICOM data set.

Members

GENERICLINK

Reserved.

nTag

Data element tag. For a list of default values, refer to Data Element Tag Constants.

nVR

Value representation. For a list of default values supported by DICOM, refer to Value Representation Constants.

nLength

Length of the value stored in the data element. If the stored value is a sequence, this value will be ELEMENT_LENGTH_MAX (0xFFFFFFFF).

nVM

Reserved.

pValue

Reserved.

nAttach

Reserved.

pOffset

Reserved.

pFile

Reserved.

pSize

Reserved.

nCount

Reserved.

pStringValue

Reserved.

nElementOffset

Offset (in bytes) of the element (relative to beginning of file).

nElementValueOffset

Offset (in bytes) of the element value (relative to beginning of file).

nElementValueLength

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.

Comments

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.

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

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