public class PEX_P07_ASSOCIATED_PERSON extends AbstractGroup
Represents a PEX_P07_ASSOCIATED_PERSON group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:
log| Constructor and Description |
|---|
PEX_P07_ASSOCIATED_PERSON(Group parent,
ModelClassFactory factory)
Creates a new PEX_P07_ASSOCIATED_PERSON group
|
| Modifier and Type | Method and Description |
|---|---|
PEX_P07_ASSOCIATED_RX_ADMIN |
getASSOCIATED_RX_ADMIN()
Returns
the first repetition of
ASSOCIATED_RX_ADMIN (a Group object) - creates it if necessary
|
PEX_P07_ASSOCIATED_RX_ADMIN |
getASSOCIATED_RX_ADMIN(int rep)
Returns a specific repetition of
ASSOCIATED_RX_ADMIN (a Group object) - creates it if necessary
|
List<PEX_P07_ASSOCIATED_RX_ADMIN> |
getASSOCIATED_RX_ADMINAll()
Returns a non-modifiable List containing all current existing repetitions of ASSOCIATED_RX_ADMIN.
|
int |
getASSOCIATED_RX_ADMINReps()
Returns the number of existing repetitions of ASSOCIATED_RX_ADMIN
|
PEX_P07_ASSOCIATED_RX_ORDER |
getASSOCIATED_RX_ORDER()
Returns
ASSOCIATED_RX_ORDER (a Group object) - creates it if necessary
|
NK1 |
getNK1()
Returns
NK1 (Next of Kin / Associated Parties) - creates it if necessary
|
OBX |
getOBX()
Returns
the first repetition of
OBX (Observation/Result) - creates it if necessary
|
OBX |
getOBX(int rep)
Returns a specific repetition of
OBX (Observation/Result) - creates it if necessary
|
List<OBX> |
getOBXAll()
Returns a non-modifiable List containing all current existing repetitions of OBX.
|
int |
getOBXReps()
Returns the number of existing repetitions of OBX
|
PRB |
getPRB()
Returns
the first repetition of
PRB (Problem Details) - creates it if necessary
|
PRB |
getPRB(int rep)
Returns a specific repetition of
PRB (Problem Details) - creates it if necessary
|
List<PRB> |
getPRBAll()
Returns a non-modifiable List containing all current existing repetitions of PRB.
|
int |
getPRBReps()
Returns the number of existing repetitions of PRB
|
String |
getVersion()
Returns "2.5.1"
|
PEX_P07_ASSOCIATED_RX_ADMIN |
insertASSOCIATED_RX_ADMIN(int rep)
Inserts a specific repetition of ASSOCIATED_RX_ADMIN (a Group object)
|
void |
insertASSOCIATED_RX_ADMIN(PEX_P07_ASSOCIATED_RX_ADMIN structure,
int rep)
Inserts a specific repetition of ASSOCIATED_RX_ADMIN (a Group object)
|
OBX |
insertOBX(int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
void |
insertOBX(OBX structure,
int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
PRB |
insertPRB(int rep)
Inserts a specific repetition of PRB (Problem Details)
|
void |
insertPRB(PRB structure,
int rep)
Inserts a specific repetition of PRB (Problem Details)
|
PEX_P07_ASSOCIATED_RX_ADMIN |
removeASSOCIATED_RX_ADMIN(int rep)
Removes a specific repetition of ASSOCIATED_RX_ADMIN (a Group object)
|
OBX |
removeOBX(int rep)
Removes a specific repetition of OBX (Observation/Result)
|
PRB |
removePRB(int rep)
Removes a specific repetition of PRB (Problem Details)
|
accept, 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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic PEX_P07_ASSOCIATED_PERSON(Group parent, ModelClassFactory factory)
public String getVersion()
public PEX_P07_ASSOCIATED_RX_ORDER getASSOCIATED_RX_ORDER()
public PEX_P07_ASSOCIATED_RX_ADMIN getASSOCIATED_RX_ADMIN()
public PEX_P07_ASSOCIATED_RX_ADMIN getASSOCIATED_RX_ADMIN(int rep)
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 getASSOCIATED_RX_ADMINReps()
public List<PEX_P07_ASSOCIATED_RX_ADMIN> getASSOCIATED_RX_ADMINAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ASSOCIATED_RX_ADMIN.
Note that unlike getASSOCIATED_RX_ADMIN(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertASSOCIATED_RX_ADMIN(PEX_P07_ASSOCIATED_RX_ADMIN structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PEX_P07_ASSOCIATED_RX_ADMIN insertASSOCIATED_RX_ADMIN(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PEX_P07_ASSOCIATED_RX_ADMIN removeASSOCIATED_RX_ADMIN(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public PRB getPRB()
public PRB getPRB(int rep)
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 getPRBReps()
public List<PRB> getPRBAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRB.
Note that unlike getPRB(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertPRB(PRB structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PRB insertPRB(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PRB removePRB(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public OBX getOBX()
public OBX getOBX(int rep)
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 getOBXReps()
public List<OBX> getOBXAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of OBX.
Note that unlike getOBX(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertOBX(OBX structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OBX insertOBX(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OBX removeOBX(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.