Class QBP_Q21

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

    public class QBP_Q21
    extends AbstractMessage

    Represents a QBP_Q21 message structure (see chapter 3.3.56). This structure contains the following elements:

    0: MSH (Message Header)
    1: SFT (Software Segment) optional repeating
    2: QPD (Query Parameter Definition)
    3: RCP (Response Control Parameter)
    4: DSC (Continuation Pointer) optional
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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
      • getSFTAll

        public List<ca.uhn.hl7v2.model.v25.segment.SFT> getSFTAll()
                                                           throws HL7Exception
        Returns all repetitions of SFT
      • 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
      • 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