Class PatientAge

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, AgeStringWrapper, BytesDataElementWrapper, StringDataElementWrapper

public class PatientAge extends AbstractDataElementWrapper implements AgeStringWrapper
Name: Patient's Age
Keyword: PatientAge
Tag: (0010,1010)
Value Representation: AS
Value Multiplicity: 1
  • Field Details

  • Constructor Details

    • PatientAge

      public PatientAge(org.dcm4che3.data.Attributes attributes)
      Creates a new Patient's Age object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • PatientAge

      public PatientAge()
      Creates a new Patient's Age object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public PatientAge copy()
      Returns a new Patient's Age which wraps a copy of the Attributes wrapped in this Patient's Age. (see Attributes(Attributes)
      Returns:
      a new Patient's Age which wraps a copy of the Attributes wrapped in this Patient's Age.
    • getValueRepresentation

      public org.dcm4che3.data.VR getValueRepresentation()
      Specified by:
      getValueRepresentation in interface DataElementWrapper
      Returns:
      The DICOM Value Representation (VR) of the wrapped DICOM sequence.
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM sequence.