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 nOffset; /* Reserved */
   L_VOID *pFile; /* 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.

nOffset

Reserved.

pFile

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:

LDicomDS::DeleteElement, LDicomDS::DeleteModule, LDicomDS::ExistsElement, LDicomDS::FindFirstElement, LDicomDS::FindLastElement, LDicomDS::FindNextElement, LDicomDS::FindPrevElement, LDicomDS::GetAgeValue, LDicomDS::GetBinaryValue, LDicomDS::GetCharValue, LDicomDS::GetChildElement, LDicomDS::GetCountImage, LDicomDS::GetCountValue, LDicomDS::GetDateTimeValue, LDicomDS::GetDateValue, LDicomDS::GetDoubleValue, LDicomDS::GetFirstElement, LDicomDS::GetFloatValue, LDicomDS::GetImage, LDicomDS::GetImageList, LDicomDS::GetLastElement, LDicomDS::GetLevelElement, LDicomDS::GetLongValue, LDicomDS::GetNextElement, LDicomDS::GetParentElement, LDicomDS::GetPrevElement, LDicomDS::GetRootElement, LDicomDS::GetShortValue, LDicomDS::GetStringValue, LDicomDS::GetTimeValue, LDicomDS::InsertElement, LDicomDS::InsertImage, LDicomDS::InsertImageList, LDicomDS::SetAgeValue, LDicomDS::SetBinaryValue, LDicomDS::SetImage, LDicomDS::SetImageList, LDicomDS::SetCharValue, LDicomDS::SetDateTimeValue, LDicomDS::SetDateValue, LDicomDS::SetDoubleValue, LDicomDS::SetFloatValue, LDicomDS::SetLongValue, LDicomDS::SetPreamble, LDicomDS::SetShortValue, LDicomDS::SetStringValue, LDicomDS::SetTimeValue

Topics:

Working with Data Sets