public class PMU_B04 extends AbstractMessage
Represents a PMU_B04 message structure (see chapter 15). This structure contains the following elements:
log| Constructor and Description |
|---|
PMU_B04()
Creates a new PMU_B04 message with DefaultModelClassFactory.
|
PMU_B04(ModelClassFactory factory)
Creates a new PMU_B04 message with custom ModelClassFactory.
|
| Modifier and Type | Method and Description |
|---|---|
EVN |
getEVN()
Returns
EVN (Event Type) - creates it if necessary
|
MSH |
getMSH()
Returns
MSH (Message Header) - creates it if necessary
|
ORG |
getORG()
Returns
ORG (Practitioner Organization Unit) - creates it if necessary
|
PRA |
getPRA()
Returns
the first repetition of
PRA (Practitioner Detail) - creates it if necessary
|
PRA |
getPRA(int rep)
Returns a specific repetition of
PRA (Practitioner Detail) - creates it if necessary
|
List<PRA> |
getPRAAll()
Returns a non-modifiable List containing all current existing repetitions of PRA.
|
int |
getPRAReps()
Returns the number of existing repetitions of PRA
|
STF |
getSTF()
Returns
STF (Staff Identification) - creates it if necessary
|
String |
getVersion()
Returns "2.4"
|
PRA |
insertPRA(int rep)
Inserts a specific repetition of PRA (Practitioner Detail)
|
void |
insertPRA(PRA structure,
int rep)
Inserts a specific repetition of PRA (Practitioner Detail)
|
PRA |
removePRA(int rep)
Removes a specific repetition of PRA (Practitioner Detail)
|
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, setValidationContext, toStringadd, 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, visitNestedStructuresclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredisEmpty, provideLocationpublic PMU_B04()
public PMU_B04(ModelClassFactory factory)
public String getVersion()
getVersion in interface MessagegetVersion in class AbstractMessagepublic PRA getPRA()
Returns the first repetition of PRA (Practitioner Detail) - creates it if necessary
public PRA getPRA(int rep)
Returns a specific repetition of PRA (Practitioner Detail) - creates it if necessary
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getPRAReps()
Returns the number of existing repetitions of PRA
public List<PRA> getPRAAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRA.
Note that unlike getPRA(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertPRA(PRA structure, int rep) throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PRA insertPRA(int rep) throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PRA removePRA(int rep) throws HL7Exception
Removes a specific repetition of PRA (Practitioner Detail)
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2014 University Health Network. All Rights Reserved.