public class CCM_I21_RESOURCES extends AbstractGroup
Represents a CCM_I21_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 |
|---|
CCM_I21_RESOURCES(Group parent,
ModelClassFactory factory)
Creates a new CCM_I21_RESOURCES group
|
| Modifier and Type | Method and Description |
|---|---|
CCM_I21_RESOURCE_DETAIL |
getRESOURCE_DETAIL()
Returns
the first repetition of
RESOURCE_DETAIL (a Group object) - creates it if necessary
|
CCM_I21_RESOURCE_DETAIL |
getRESOURCE_DETAIL(int rep)
Returns a specific repetition of
RESOURCE_DETAIL (a Group object) - creates it if necessary
|
List<CCM_I21_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(CCM_I21_RESOURCE_DETAIL structure,
int rep)
Inserts a specific repetition of RESOURCE_DETAIL (a Group object)
|
CCM_I21_RESOURCE_DETAIL |
insertRESOURCE_DETAIL(int rep)
Inserts a specific repetition of RESOURCE_DETAIL (a Group object)
|
CCM_I21_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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic CCM_I21_RESOURCES(Group parent, ModelClassFactory factory)
public String getVersion()
public CCM_I21_RESOURCE_DETAIL getRESOURCE_DETAIL()
public CCM_I21_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<CCM_I21_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.
HL7Exceptionpublic void insertRESOURCE_DETAIL(CCM_I21_RESOURCE_DETAIL structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CCM_I21_RESOURCE_DETAIL insertRESOURCE_DETAIL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CCM_I21_RESOURCE_DETAIL removeRESOURCE_DETAIL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.