DicomElementsWrapper

DicomElements wrapper.

Warning: limited support for merged meta data.

Constructor

new DicomElementsWrapper(dicomElements)

Parameters:
NameTypeDescription
dicomElementsArray

The elements to wrap.

Classes

DicomElementsWrapper

Methods

dump() → {string}

Dump the DICOM tags to a string.

Returns:

The dumped file.

Type: 
string

dumpToObject() → {object}

Dump the DICOM tags to an object.

Returns:

The DICOM tags as an object.

Type: 
object

getFromKey(groupElementKey, asArrayopt) → {object}

Get a DICOM Element value from a group/element key.

Parameters:
NameTypeAttributesDescription
groupElementKeystring

The key to retrieve.

asArrayboolean<optional>

Get the value as an Array.

Returns:

The DICOM element value.

Type: 
object

getFromName(name) → {object}

Get a DICOM Element value from a tag name. Uses the DICOM dictionary.

Parameters:
NameTypeDescription
namestring

The tag name.

Returns:

The DICOM element value.

Type: 
object