public class SQM_S25_RESOURCES extends AbstractGroup
Represents a SQM_S25_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 |
|---|
SQM_S25_RESOURCES(Group parent,
ModelClassFactory factory)
Creates a new SQM_S25_RESOURCES group
|
| Modifier and Type | Method and Description |
|---|---|
SQM_S25_GENERAL_RESOURCE |
getGENERAL_RESOURCE()
Returns
the first repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
SQM_S25_GENERAL_RESOURCE |
getGENERAL_RESOURCE(int rep)
Returns a specific repetition of
GENERAL_RESOURCE (a Group object) - creates it if necessary
|
List<SQM_S25_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
|
SQM_S25_LOCATION_RESOURCE |
getLOCATION_RESOURCE()
Returns
the first repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
SQM_S25_LOCATION_RESOURCE |
getLOCATION_RESOURCE(int rep)
Returns a specific repetition of
LOCATION_RESOURCE (a Group object) - creates it if necessary
|
List<SQM_S25_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
|
SQM_S25_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE()
Returns
the first repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
SQM_S25_PERSONNEL_RESOURCE |
getPERSONNEL_RESOURCE(int rep)
Returns a specific repetition of
PERSONNEL_RESOURCE (a Group object) - creates it if necessary
|
List<SQM_S25_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
|
SQM_S25_SERVICE |
getSERVICE()
Returns
the first repetition of
SERVICE (a Group object) - creates it if necessary
|
SQM_S25_SERVICE |
getSERVICE(int rep)
Returns a specific repetition of
SERVICE (a Group object) - creates it if necessary
|
List<SQM_S25_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.6"
|
SQM_S25_GENERAL_RESOURCE |
insertGENERAL_RESOURCE(int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
void |
insertGENERAL_RESOURCE(SQM_S25_GENERAL_RESOURCE structure,
int rep)
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
|
SQM_S25_LOCATION_RESOURCE |
insertLOCATION_RESOURCE(int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
void |
insertLOCATION_RESOURCE(SQM_S25_LOCATION_RESOURCE structure,
int rep)
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
|
SQM_S25_PERSONNEL_RESOURCE |
insertPERSONNEL_RESOURCE(int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
void |
insertPERSONNEL_RESOURCE(SQM_S25_PERSONNEL_RESOURCE structure,
int rep)
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SQM_S25_SERVICE |
insertSERVICE(int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
void |
insertSERVICE(SQM_S25_SERVICE structure,
int rep)
Inserts a specific repetition of SERVICE (a Group object)
|
SQM_S25_GENERAL_RESOURCE |
removeGENERAL_RESOURCE(int rep)
Removes a specific repetition of GENERAL_RESOURCE (a Group object)
|
SQM_S25_LOCATION_RESOURCE |
removeLOCATION_RESOURCE(int rep)
Removes a specific repetition of LOCATION_RESOURCE (a Group object)
|
SQM_S25_PERSONNEL_RESOURCE |
removePERSONNEL_RESOURCE(int rep)
Removes a specific repetition of PERSONNEL_RESOURCE (a Group object)
|
SQM_S25_SERVICE |
removeSERVICE(int rep)
Removes a specific repetition of SERVICE (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 SQM_S25_RESOURCES(Group parent, ModelClassFactory factory)
public String getVersion()
public SQM_S25_SERVICE getSERVICE()
public SQM_S25_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<SQM_S25_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(SQM_S25_SERVICE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_SERVICE insertSERVICE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_SERVICE removeSERVICE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SQM_S25_GENERAL_RESOURCE getGENERAL_RESOURCE()
public SQM_S25_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<SQM_S25_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(SQM_S25_GENERAL_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_GENERAL_RESOURCE insertGENERAL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_GENERAL_RESOURCE removeGENERAL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SQM_S25_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE()
public SQM_S25_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<SQM_S25_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(SQM_S25_PERSONNEL_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_PERSONNEL_RESOURCE insertPERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_PERSONNEL_RESOURCE removePERSONNEL_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SQM_S25_LOCATION_RESOURCE getLOCATION_RESOURCE()
public SQM_S25_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<SQM_S25_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(SQM_S25_LOCATION_RESOURCE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_LOCATION_RESOURCE insertLOCATION_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SQM_S25_LOCATION_RESOURCE removeLOCATION_RESOURCE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.