public class CSU_C09_ORCRXARXR extends AbstractGroup
Represents a CSU_C09_ORCRXARXR 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 |
|---|
CSU_C09_ORCRXARXR(Group parent,
ModelClassFactory factory)
Creates a new CSU_C09_ORCRXARXR group
|
| Modifier and Type | Method and Description |
|---|---|
ORC |
getORC()
Returns
ORC (ORC - common order segment) - creates it if necessary
|
CSU_C09_RXARXR |
getRXARXR()
Returns
the first repetition of
RXARXR (a Group object) - creates it if necessary
|
CSU_C09_RXARXR |
getRXARXR(int rep)
Returns a specific repetition of
RXARXR (a Group object) - creates it if necessary
|
List<CSU_C09_RXARXR> |
getRXARXRAll()
Returns a non-modifiable List containing all current existing repetitions of RXARXR.
|
int |
getRXARXRReps()
Returns the number of existing repetitions of RXARXR
|
String |
getVersion()
Returns "2.3.1"
|
void |
insertRXARXR(CSU_C09_RXARXR structure,
int rep)
Inserts a specific repetition of RXARXR (a Group object)
|
CSU_C09_RXARXR |
insertRXARXR(int rep)
Inserts a specific repetition of RXARXR (a Group object)
|
CSU_C09_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 CSU_C09_ORCRXARXR(Group parent, ModelClassFactory factory)
public String getVersion()
public CSU_C09_RXARXR getRXARXR()
public CSU_C09_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<CSU_C09_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(CSU_C09_RXARXR structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSU_C09_RXARXR insertRXARXR(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSU_C09_RXARXR removeRXARXR(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.