A single DICOM Data Element.
A data element is the fundamental unit of a DICOM data set, consisting of:
- Tag:
{group, element}pair identifying the attribute - VR: Value Representation (data type)
- Value: The actual data (binary, string, integer, etc.)
- Length: Byte length of the value field
Reference: DICOM PS3.5 Section 7.1.
Summary
Functions
Creates a new data element.
Types
@type t() :: %Dicom.DataElement{ length: non_neg_integer() | :undefined, tag: tag(), value: binary() | term(), vr: Dicom.VR.t() }
@type tag() :: {non_neg_integer(), non_neg_integer()}
Functions
@spec new(tag(), Dicom.VR.t(), term()) :: t()
Creates a new data element.