public class SRM_S11_RESOURCES extends AbstractGroup
Represents a SRM_S11_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 |
|---|
SRM_S11_RESOURCES(Group parent,
ModelClassFactory factory)
Creates a new SRM_S11_RESOURCES group
|
| Modifier and Type | Method and Description |
|---|---|
SRM_S11_GENERAL_RESOURCE |
getGENERAL_RESOURCE()
Returns
the first repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
SRM_S11_GENERAL_RESOURCE |
getGENERAL_RESOURCE(int rep)
Returns a specific repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
List<SRM_S11_GENERAL_RESOURCE> |
getGENERAL_RESOURCEAll()
Returns a non-modifiable List containing all current existing repetitions of GENERAL_RESOURCE.
|
int |
getGENERAL_RESOURCEReps()
Returns the number of existing repetitions of GENERAL_RESOURCE
|
SRM_S11_LOCATION_RESOURCE |
getLOCATION_RESOURCE()
Returns
the first repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
SRM_S11_LOCATION_RESOURCE |
getLOCATION_RESOURCE(int rep)
Returns a specific repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
List<SRM_S11_LOCATION_RESOURCE> |
getLOCATION_RESOURCEAll()
Returns a non-modifiable List containing all current existing repetitions of LOCATION_RESOURCE.
|
int |
getLOCATION_RESOURCEReps()
Returns the number of existing repetitions of LOCATION_RESOURCE
|
SRM_S11_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE()
Returns
the first repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
SRM_S11_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE(int rep)
Returns a specific repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
List<SRM_S11_PERSONNEL_RESOURCE> |
getPERSONNEL_RESOURCEAll()
Returns a non-modifiable List containing all current existing repetitions of PERSONNEL_RESOURCE.
|
int |
getPERSONNEL_RESOURCEReps()
Returns the number of existing repetitions of PERSONNEL_RESOURCE
|
RGS |
getRGS()
Returns
RGS (Resource Group) - creates it if necessary
|
SRM_S11_SERVICE |
getSERVICE()
Returns
the first repetition of
SERVICE (a Group object) - creates it if necessary
|
SRM_S11_SERVICE |
getSERVICE(int rep)
Returns a specific repetition of
SERVICE (a Group object) - creates it if necessary
|
List<SRM_S11_SERVICE> |
getSERVICEAll()
Returns a non-modifiable List containing all current existing repetitions of SERVICE.
|
int |
getSERVICEReps()
Returns the number of existing repetitions of SERVICE
|
String |
getVersion()
Returns "2.3"
|
SRM_S11_GENERAL_RESOURCE |
insertGENERAL_RESOURCE(int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
void |
insertGENERAL_RESOURCE(SRM_S11_GENERAL_RESOURCE structure,
int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
SRM_S11_LOCATION_RESOURCE |
insertLOCATION_RESOURCE(int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
void |
insertLOCATION_RESOURCE(SRM_S11_LOCATION_RESOURCE structure,
int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
SRM_S11_PERSONNEL_RESOURCE |
insertPERSONNEL_RESOURCE(int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
void |
insertPERSONNEL_RESOURCE(SRM_S11_PERSONNEL_RESOURCE structure,
int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SRM_S11_SERVICE |
insertSERVICE(int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
void |
insertSERVICE(SRM_S11_SERVICE structure,
int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
SRM_S11_GENERAL_RESOURCE |
removeGENERAL_RESOURCE(int rep)
Removes a specific repetition of GENERAL_RESOURCE (a Group object)
|
SRM_S11_LOCATION_RESOURCE |
removeLOCATION_RESOURCE(int rep)
Removes a specific repetition of LOCATION_RESOURCE (a Group object)
|
SRM_S11_PERSONNEL_RESOURCE |
removePERSONNEL_RESOURCE(int rep)
Removes a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SRM_S11_SERVICE |
removeSERVICE(int rep)
Removes a specific repetition of SERVICE (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 SRM_S11_RESOURCES(Group parent, ModelClassFactory factory)
public String getVersion()
public SRM_S11_SERVICE getSERVICE()
public SRM_S11_SERVICE getSERVICE(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 getSERVICEReps()
public List<SRM_S11_SERVICE> getSERVICEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SERVICE.
Note that unlike getSERVICE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertSERVICE(SRM_S11_SERVICE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_SERVICE insertSERVICE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_SERVICE removeSERVICE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SRM_S11_GENERAL_RESOURCE getGENERAL_RESOURCE()
public SRM_S11_GENERAL_RESOURCE getGENERAL_RESOURCE(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 getGENERAL_RESOURCEReps()
public List<SRM_S11_GENERAL_RESOURCE> getGENERAL_RESOURCEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of GENERAL_RESOURCE.
Note that unlike getGENERAL_RESOURCE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertGENERAL_RESOURCE(SRM_S11_GENERAL_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_GENERAL_RESOURCE insertGENERAL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_GENERAL_RESOURCE removeGENERAL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SRM_S11_LOCATION_RESOURCE getLOCATION_RESOURCE()
public SRM_S11_LOCATION_RESOURCE getLOCATION_RESOURCE(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 getLOCATION_RESOURCEReps()
public List<SRM_S11_LOCATION_RESOURCE> getLOCATION_RESOURCEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of LOCATION_RESOURCE.
Note that unlike getLOCATION_RESOURCE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertLOCATION_RESOURCE(SRM_S11_LOCATION_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_LOCATION_RESOURCE insertLOCATION_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_LOCATION_RESOURCE removeLOCATION_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SRM_S11_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE()
public SRM_S11_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE(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 getPERSONNEL_RESOURCEReps()
public List<SRM_S11_PERSONNEL_RESOURCE> getPERSONNEL_RESOURCEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PERSONNEL_RESOURCE.
Note that unlike getPERSONNEL_RESOURCE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertPERSONNEL_RESOURCE(SRM_S11_PERSONNEL_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_PERSONNEL_RESOURCE insertPERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SRM_S11_PERSONNEL_RESOURCE removePERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2014 University Health Network. All Rights Reserved.