Class RSP_K23
- 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.pix.v25.message.RSP_K23
-
- 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:
RSP_K23
,QPD
, Serialized Form
-
-
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
Constructors Constructor Description RSP_K23()
Creates a new RSP_K23 Group with DefaultModelClassFactory.RSP_K23(ModelClassFactory factory)
Creates a new RSP_K23 Group with custom ModelClassFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.hl7v2.model.v25.segment.DSC
getDSC()
Returns DSC (Continuation Pointer) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.ERR
getERR()
Returns ERR (Error) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.MSA
getMSA()
Returns MSA (Message Acknowledgment) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.MSH
getMSH()
Returns MSH (Message Header) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.QAK
getQAK()
Returns QAK (Query Acknowledgment) - creates it if necessaryQPD
getQPD()
Returns QPD (Query Parameter Definition) - creates it if necessaryca.uhn.hl7v2.model.v25.group.RSP_K23_QUERY_RESPONSE
getQUERY_RESPONSE()
Returns RSP_K23_QUERY_RESPONSE (a Group object) - creates it if necessaryca.uhn.hl7v2.model.v25.segment.SFT
getSFT()
Returns first repetition of SFT (Software Segment) - creates it if necessaryca.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.List<ca.uhn.hl7v2.model.v25.segment.SFT>
getSFTAll()
Returns all repetitions of SFTint
getSFTReps()
Returns the number of existing repetitions of SFTString
getVersion()
protected Map<Class<? extends Structure>,AbstractMessage.Cardinality>
structures(Map<Class<? extends Structure>,AbstractMessage.Cardinality> s)
-
Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toString
-
Methods 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, visitNestedStructures
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequired
-
Methods inherited from interface ca.uhn.hl7v2.model.Visitable
isEmpty, provideLocation
-
-
-
-
Constructor Detail
-
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 Detail
-
structures
protected Map<Class<? extends Structure>,AbstractMessage.Cardinality> structures(Map<Class<? extends Structure>,AbstractMessage.Cardinality> s)
- Specified by:
structures
in classAbstractMessage
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceMessage
- Overrides:
getVersion
in 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
-
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
-
-