Class PatientName

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

public class PatientName extends AbstractDataElementWrapper implements PersonNameWrapper
Name: Patient's Name
Keyword: PatientName
Tag: (0010,0010)
Value Representation: PN
Value Multiplicity: 1
  • Field Details

  • Constructor Details

    • PatientName

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

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

    • copy

      public PatientName copy()
      Returns a new Patient's Name which wraps a copy of the Attributes wrapped in this Patient's Name. (see Attributes(Attributes)
      Returns:
      a new Patient's Name which wraps a copy of the Attributes wrapped in this Patient's Name.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

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