Class QBP_Q21
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.AbstractMessage
org.openehealth.ipf.modules.hl7.model.AbstractMessage
org.openehealth.ipf.commons.ihe.hl7v2.definitions.pdq.v25.message.QBP_Q21
- All Implemented Interfaces:
Group,Message,Structure,Visitable,Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.modules.hl7.model.AbstractMessage
AbstractMessage.Cardinality -
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionQBP_Q21()Creates a new QBP_Q21 Group with DefaultModelClassFactory.QBP_Q21(ModelClassFactory factory) Creates a new QBP_Q21 Group with custom ModelClassFactory. -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.hl7v2.model.v25.segment.DSCgetDSC()Returns DSC (Continuation Pointer) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.MSHgetMSH()Returns MSH (Message Header) - creates it if necessarygetQPD()Returns QPD (Query Parameter Definition) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.RCPgetRCP()Returns RCP (Response Control Parameter) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.SFTgetSFT()Returns first repetition of SFT (Software Segment) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.SFTgetSFT(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.List<ca.uhn.hl7v2.model.v25.segment.SFT> Returns all repetitions of SFTintReturns the number of existing repetitions of SFTprotected Map<Class<? extends Structure>, AbstractMessage.Cardinality> structures(Map<Class<? extends Structure>, AbstractMessage.Cardinality> s) Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, copy, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toStringMethods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredMethods inherited from interface ca.uhn.hl7v2.model.Visitable
isEmpty, provideLocation
-
Constructor Details
-
QBP_Q21
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
protected Map<Class<? extends Structure>,AbstractMessage.Cardinality> structures(Map<Class<? extends Structure>, AbstractMessage.Cardinality> s) - Specified by:
structuresin classAbstractMessage
-
getVersion
- Specified by:
getVersionin interfaceMessage- Overrides:
getVersionin classAbstractMessage
-
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
Returns all repetitions of SFT- Throws:
HL7Exception
-
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
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
-