Class ADT_A39
- 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.v231.message.ADT_A39
-
- All Implemented Interfaces:
Group
,Message
,Structure
,Visitable
,Serializable
public class ADT_A39 extends AbstractMessage
Custom ADT_A39 structure that renames the PATIENT group- See Also:
- 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 ADT_A39()
ADT_A39(ModelClassFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.hl7v2.model.v231.segment.EVN
getEVN()
ca.uhn.hl7v2.model.v231.segment.MSH
getMSH()
ADT_A39_PATIENT
getPATIENT()
ADT_A39_PATIENT
getPATIENT(int rep)
List<ADT_A39_PATIENT>
getPATIENTAll()
int
getPATIENTReps()
String
getVersion()
ADT_A39_PATIENT
insertPATIENT(int rep)
void
insertPATIENT(ADT_A39_PATIENT structure, int rep)
ADT_A39_PATIENT
removePATIENT(int rep)
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
-
ADT_A39
public ADT_A39()
-
ADT_A39
public ADT_A39(ModelClassFactory factory)
-
-
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.v231.segment.MSH getMSH()
-
getEVN
public ca.uhn.hl7v2.model.v231.segment.EVN getEVN()
-
getPATIENT
public ADT_A39_PATIENT getPATIENT()
-
getPATIENT
public ADT_A39_PATIENT getPATIENT(int rep)
-
getPATIENTReps
public int getPATIENTReps()
-
getPATIENTAll
public List<ADT_A39_PATIENT> getPATIENTAll() throws HL7Exception
- Throws:
HL7Exception
-
insertPATIENT
public void insertPATIENT(ADT_A39_PATIENT structure, int rep) throws HL7Exception
- Throws:
HL7Exception
-
insertPATIENT
public ADT_A39_PATIENT insertPATIENT(int rep) throws HL7Exception
- Throws:
HL7Exception
-
removePATIENT
public ADT_A39_PATIENT removePATIENT(int rep) throws HL7Exception
- Throws:
HL7Exception
-
-