Skip to content

message.removeDICOMGroup

Signature: message.removeDICOMGroup(group)

Returns: void

Removes the DICOM tags that are part of the given group.

Note

A Group is the first four digits of the DICOM tag: (Group,Element). "Patient Name" tag: (0010,0010). "Patient ID" tag: (0010,0020). "Patient DOB" tag: (0010,0030). All tags with a Group value of 0010 describe the Patient.

Parameters

Type Name Description Default
String group the Group portion of a DICOM tag: "0010"

Example

// assumes `message` is a DICOM message model object

// Remove all DICOM tags belonging to Group "0010" (Patient group)
message.removeDICOMGroup(
    "0010" // Group portion of the DICOM tag (e.g. 0010,xxxx)
);

// Result:
// - message no longer contains any tags from Group 0010