Class PatientSex

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

public class PatientSex extends AbstractDataElementWrapper implements CodeStringWrapper
Name: Patient's Sex
Keyword: PatientSex
Tag: (0010,0040)
Value Representation: CS
Value Multiplicity: 1
  • Field Details

  • Constructor Details

    • PatientSex

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

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

    • copy

      public PatientSex copy()
      Returns a new Patient's Sex which wraps a copy of the Attributes wrapped in this Patient's Sex. (see Attributes(Attributes)
      Returns:
      a new Patient's Sex which wraps a copy of the Attributes wrapped in this Patient's Sex.
    • getTag

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