public class CCU_I20_RESOURCES extends AbstractGroup
Represents a CCU_I20_RESOURCES 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 |
---|
CCU_I20_RESOURCES(Group parent,
ModelClassFactory factory)
Creates a new CCU_I20_RESOURCES group
|
Modifier and Type | Method and Description |
---|---|
CCU_I20_RESOURCE_DETAIL |
getRESOURCE_DETAIL()
Returns
the first repetition of
RESOURCE_DETAIL (a Group object) - creates it if necessary
|
CCU_I20_RESOURCE_DETAIL |
getRESOURCE_DETAIL(int rep)
Returns a specific repetition of
RESOURCE_DETAIL (a Group object) - creates it if necessary
|
List<CCU_I20_RESOURCE_DETAIL> |
getRESOURCE_DETAILAll()
Returns a non-modifiable List containing all current existing repetitions of RESOURCE_DETAIL.
|
int |
getRESOURCE_DETAILReps()
Returns the number of existing repetitions of RESOURCE_DETAIL
|
RGS |
getRGS()
Returns
RGS (Resource Group) - creates it if necessary
|
String |
getVersion()
Returns "2.8.1"
|
void |
insertRESOURCE_DETAIL(CCU_I20_RESOURCE_DETAIL structure,
int rep)
Inserts a specific repetition of RESOURCE_DETAIL (a Group object)
|
CCU_I20_RESOURCE_DETAIL |
insertRESOURCE_DETAIL(int rep)
Inserts a specific repetition of RESOURCE_DETAIL (a Group object)
|
CCU_I20_RESOURCE_DETAIL |
removeRESOURCE_DETAIL(int rep)
Removes a specific repetition of RESOURCE_DETAIL (a Group object)
|
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, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public CCU_I20_RESOURCES(Group parent, ModelClassFactory factory)
public String getVersion()
public CCU_I20_RESOURCE_DETAIL getRESOURCE_DETAIL()
public CCU_I20_RESOURCE_DETAIL getRESOURCE_DETAIL(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 getRESOURCE_DETAILReps()
public List<CCU_I20_RESOURCE_DETAIL> getRESOURCE_DETAILAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of RESOURCE_DETAIL.
Note that unlike getRESOURCE_DETAIL()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertRESOURCE_DETAIL(CCU_I20_RESOURCE_DETAIL structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCU_I20_RESOURCE_DETAIL insertRESOURCE_DETAIL(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCU_I20_RESOURCE_DETAIL removeRESOURCE_DETAIL(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.