public class SRR_S08_RESOURCES extends AbstractGroup
Represents a SRR_S08_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 |
---|
SRR_S08_RESOURCES(Group parent,
ModelClassFactory factory)
Creates a new SRR_S08_RESOURCES group
|
Modifier and Type | Method and Description |
---|---|
SRR_S08_GENERAL_RESOURCE |
getGENERAL_RESOURCE()
Returns
the first repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
SRR_S08_GENERAL_RESOURCE |
getGENERAL_RESOURCE(int rep)
Returns a specific repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
List<SRR_S08_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
|
SRR_S08_LOCATION_RESOURCE |
getLOCATION_RESOURCE()
Returns
the first repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
SRR_S08_LOCATION_RESOURCE |
getLOCATION_RESOURCE(int rep)
Returns a specific repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
List<SRR_S08_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
|
SRR_S08_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE()
Returns
the first repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
SRR_S08_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE(int rep)
Returns a specific repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
List<SRR_S08_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
|
SRR_S08_SERVICE |
getSERVICE()
Returns
the first repetition of
SERVICE (a Group object) - creates it if necessary
|
SRR_S08_SERVICE |
getSERVICE(int rep)
Returns a specific repetition of
SERVICE (a Group object) - creates it if necessary
|
List<SRR_S08_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"
|
SRR_S08_GENERAL_RESOURCE |
insertGENERAL_RESOURCE(int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
void |
insertGENERAL_RESOURCE(SRR_S08_GENERAL_RESOURCE structure,
int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
SRR_S08_LOCATION_RESOURCE |
insertLOCATION_RESOURCE(int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
void |
insertLOCATION_RESOURCE(SRR_S08_LOCATION_RESOURCE structure,
int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
SRR_S08_PERSONNEL_RESOURCE |
insertPERSONNEL_RESOURCE(int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
void |
insertPERSONNEL_RESOURCE(SRR_S08_PERSONNEL_RESOURCE structure,
int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SRR_S08_SERVICE |
insertSERVICE(int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
void |
insertSERVICE(SRR_S08_SERVICE structure,
int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
SRR_S08_GENERAL_RESOURCE |
removeGENERAL_RESOURCE(int rep)
Removes a specific repetition of GENERAL_RESOURCE (a Group object)
|
SRR_S08_LOCATION_RESOURCE |
removeLOCATION_RESOURCE(int rep)
Removes a specific repetition of LOCATION_RESOURCE (a Group object)
|
SRR_S08_PERSONNEL_RESOURCE |
removePERSONNEL_RESOURCE(int rep)
Removes a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SRR_S08_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, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public SRR_S08_RESOURCES(Group parent, ModelClassFactory factory)
public String getVersion()
public SRR_S08_SERVICE getSERVICE()
public SRR_S08_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<SRR_S08_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.
HL7Exception
public void insertSERVICE(SRR_S08_SERVICE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_SERVICE insertSERVICE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_SERVICE removeSERVICE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public SRR_S08_GENERAL_RESOURCE getGENERAL_RESOURCE()
public SRR_S08_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<SRR_S08_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.
HL7Exception
public void insertGENERAL_RESOURCE(SRR_S08_GENERAL_RESOURCE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_GENERAL_RESOURCE insertGENERAL_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_GENERAL_RESOURCE removeGENERAL_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public SRR_S08_LOCATION_RESOURCE getLOCATION_RESOURCE()
public SRR_S08_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<SRR_S08_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.
HL7Exception
public void insertLOCATION_RESOURCE(SRR_S08_LOCATION_RESOURCE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_LOCATION_RESOURCE insertLOCATION_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_LOCATION_RESOURCE removeLOCATION_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public SRR_S08_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE()
public SRR_S08_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<SRR_S08_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.
HL7Exception
public void insertPERSONNEL_RESOURCE(SRR_S08_PERSONNEL_RESOURCE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_PERSONNEL_RESOURCE insertPERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SRR_S08_PERSONNEL_RESOURCE removePERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.