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

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

    • QBP_Q21

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

      public QBP_Q21()
      Creates a new QBP_Q21 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
    • getQPD

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

      public ca.uhn.hl7v2.model.v25.segment.RCP getRCP()
      Returns RCP (Response Control Parameter) - creates it if necessary
    • getDSC

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