Class ADT_A50

All Implemented Interfaces:
Group, Message, Structure, Visitable, Serializable

public class ADT_A50 extends AbstractMessage

Represents a ADT_A50 message structure (see chapter ?). This structure contains the following elements:

  • 1: MSH (Message header segment)
  • 2: EVN (Event type)
  • 3: PID (Patient Identification)
  • 4: PD1 (Patient Demographic) optional
  • 5: MRG (Merge patient information)
  • 6: PV1 (Patient visit)
See Also:
  • Constructor Details

    • ADT_A50

      public ADT_A50()
      Creates a new ADT_A50 message with DefaultModelClassFactory.
    • ADT_A50

      public ADT_A50(ModelClassFactory factory)
      Creates a new ADT_A50 message with custom ModelClassFactory.
  • Method Details

    • getVersion

      public String getVersion()
      Returns "2.3"
      Specified by:
      getVersion in interface Message
      Overrides:
      getVersion in class AbstractMessage
    • getMSH

      public MSH getMSH()

      Returns MSH (Message header segment) - creates it if necessary

    • getEVN

      public EVN getEVN()

      Returns EVN (Event type) - creates it if necessary

    • getPID

      public PID getPID()

      Returns PID (Patient Identification) - creates it if necessary

    • getPD1

      public PD1 getPD1()

      Returns PD1 (Patient Demographic) - creates it if necessary

    • getMRG

      public MRG getMRG()

      Returns MRG (Merge patient information) - creates it if necessary

    • getPV1

      public PV1 getPV1()

      Returns PV1 (Patient visit) - creates it if necessary