public class PEX_P07_NK1RXERXRRXARXRPRBOBX extends AbstractGroup
Represents a PEX_P07_NK1RXERXRRXARXRPRBOBX 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_NK1RXERXRRXARXRPRBOBX(Group parent,
ModelClassFactory factory)
Creates a new PEX_P07_NK1RXERXRRXARXRPRBOBX group
|
| Modifier and Type | Method and Description |
|---|---|
NK1 |
getNK1()
Returns
NK1 (NK1 - next of kin / associated parties segment-) - creates it if necessary
|
OBX |
getOBX()
Returns
the first repetition of
OBX (OBX - observation/result segment) - creates it if necessary
|
OBX |
getOBX(int rep)
Returns a specific repetition of
OBX (OBX - observation/result segment) - 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 Detail) - creates it if necessary
|
PRB |
getPRB(int rep)
Returns a specific repetition of
PRB (Problem Detail) - 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
|
PEX_P07_RXARXR |
getRXARXR()
Returns
the first repetition of
RXARXR (a Group object) - creates it if necessary
|
PEX_P07_RXARXR |
getRXARXR(int rep)
Returns a specific repetition of
RXARXR (a Group object) - creates it if necessary
|
List<PEX_P07_RXARXR> |
getRXARXRAll()
Returns a non-modifiable List containing all current existing repetitions of RXARXR.
|
int |
getRXARXRReps()
Returns the number of existing repetitions of RXARXR
|
PEX_P07_RXERXR |
getRXERXR()
Returns
RXERXR (a Group object) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
OBX |
insertOBX(int rep)
Inserts a specific repetition of OBX (OBX - observation/result segment)
|
void |
insertOBX(OBX structure,
int rep)
Inserts a specific repetition of OBX (OBX - observation/result segment)
|
PRB |
insertPRB(int rep)
Inserts a specific repetition of PRB (Problem Detail)
|
void |
insertPRB(PRB structure,
int rep)
Inserts a specific repetition of PRB (Problem Detail)
|
PEX_P07_RXARXR |
insertRXARXR(int rep)
Inserts a specific repetition of RXARXR (a Group object)
|
void |
insertRXARXR(PEX_P07_RXARXR structure,
int rep)
Inserts a specific repetition of RXARXR (a Group object)
|
OBX |
removeOBX(int rep)
Removes a specific repetition of OBX (OBX - observation/result segment)
|
PRB |
removePRB(int rep)
Removes a specific repetition of PRB (Problem Detail)
|
PEX_P07_RXARXR |
removeRXARXR(int rep)
Removes a specific repetition of RXARXR (a Group object)
|
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition, tryToInstantiateStructuregetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic PEX_P07_NK1RXERXRRXARXRPRBOBX(Group parent, ModelClassFactory factory)
public String getVersion()
public NK1 getNK1()
public PEX_P07_RXERXR getRXERXR()
public PEX_P07_RXARXR getRXARXR()
public PEX_P07_RXARXR getRXARXR(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 getRXARXRReps()
public List<PEX_P07_RXARXR> getRXARXRAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of RXARXR.
Note that unlike getRXARXR(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertRXARXR(PEX_P07_RXARXR structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PEX_P07_RXARXR insertRXARXR(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public PEX_P07_RXARXR removeRXARXR(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-2012 University Health Network. All Rights Reserved.