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_UINT32 nAttach; /* Reserved */
   L_UINT32 *pOffset; /* Reserved */
   L_VOID **pFile; /* Reserved */
   L_UINT32 *pSize;/* Reserved */
   L_UINT32 nCount; /* Reserved */
   L_TCHAR *pStringValue; /* Reserved */
} DICOMELEMENT, * pDICOMELEMENT;

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

Member

Description

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.

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.

See Also

Functions:

L_DicomDeleteElement, L_DicomDeleteImage, L_DicomDeleteModule, L_DicomExistsElement, L_DicomFindFirstElement, L_DicomFindLastElement, L_DicomFindNextElement, L_DicomFindPrevElement, L_DicomGetAgeValue, L_DicomGetBinaryValue, L_DicomGetCharValue, L_DicomGetChildElement, L_DicomGetCountImage, L_DicomGetCountValue, L_DicomGetDateTimeValue, L_DicomGetDateValue, L_DicomGetDoubleValue, L_DicomGetFirstElement, L_DicomGetFloatValue, L_DicomGetImage, L_DicomGetImageList, L_DicomGetLastElement, L_DicomGetLevelElement, L_DicomGetLongValue, L_DicomGetNextElement, L_DicomGetParentElement, L_DicomGetPrevElement, L_DicomGetRootElement, L_DicomGetShortValue, L_DicomGetStringValue, L_DicomGetTimeValue, L_DicomInsertElement, L_DicomInsertImage, L_DicomInsertImageList, L_DicomSetAgeValue, L_DicomSetBinaryValue, L_DicomSetCharValue, L_DicomSetDateTimeValue, L_DicomSetDateValue, L_DicomSetDoubleValue, L_DicomSetFloatValue, L_DicomSetImage, L_DicomSetImageList, L_DicomSetLongValue, L_DicomSetPreamble, L_DicomSetShortValue, L_DicomSetStringValue, L_DicomSetTimeValue

Topics:

Working with Data Sets