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

public class RSP_K23 extends AbstractMessage
Adds a custom QPD segment instead of the standard one coming from v25 hapi package
See Also:
  • Constructor Details

    • RSP_K23

      public RSP_K23(ModelClassFactory factory)
      Creates a new RSP_K23 Group with custom ModelClassFactory.
    • RSP_K23

      public RSP_K23()
      Creates a new RSP_K23 Group with DefaultModelClassFactory.
  • Method Details

    • structures

      Specified by:
      structures in class AbstractMessage
    • getVersion

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

      public ca.uhn.hl7v2.model.v25.segment.MSH getMSH()
      Returns MSH (Message Header) - creates it if necessary
    • getSFT

      public ca.uhn.hl7v2.model.v25.segment.SFT getSFT()
      Returns first repetition of SFT (Software Segment) - creates it if necessary
    • getSFT

      public ca.uhn.hl7v2.model.v25.segment.SFT getSFT(int rep)
      Returns a specific repetition of SFT (Software Segment) - creates it if necessary throws HL7Exception if the repetition requested is more than one greater than the number of existing repetitions.
    • getSFTReps

      public int getSFTReps()
      Returns the number of existing repetitions of SFT
    • getSFTAll

      public List<ca.uhn.hl7v2.model.v25.segment.SFT> getSFTAll() throws HL7Exception
      Returns all repetitions of SFT
      Throws:
      HL7Exception
    • getMSA

      public ca.uhn.hl7v2.model.v25.segment.MSA getMSA()
      Returns MSA (Message Acknowledgment) - creates it if necessary
    • getERR

      public ca.uhn.hl7v2.model.v25.segment.ERR getERR()
      Returns ERR (Error) - creates it if necessary
    • getQAK

      public ca.uhn.hl7v2.model.v25.segment.QAK getQAK()
      Returns QAK (Query Acknowledgment) - creates it if necessary
    • getQPD

      public QPD getQPD()
      Returns QPD (Query Parameter Definition) - creates it if necessary
    • getQUERY_RESPONSE

      public ca.uhn.hl7v2.model.v25.group.RSP_K23_QUERY_RESPONSE getQUERY_RESPONSE()
      Returns RSP_K23_QUERY_RESPONSE (a Group object) - creates it if necessary
    • getDSC

      public ca.uhn.hl7v2.model.v25.segment.DSC getDSC()
      Returns DSC (Continuation Pointer) - creates it if necessary