public class OPR_O38_SPECIMEN extends AbstractGroup
Represents a OPR_O38_SPECIMEN 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 |
|---|
OPR_O38_SPECIMEN(Group parent,
ModelClassFactory factory)
Creates a new OPR_O38_SPECIMEN group
|
| Modifier and Type | Method and Description |
|---|---|
OPR_O38_OBSERVATION_REQUEST |
getOBSERVATION_REQUEST()
Returns
the first repetition of
OBSERVATION_REQUEST (a Group object) - creates it if necessary
|
OPR_O38_OBSERVATION_REQUEST |
getOBSERVATION_REQUEST(int rep)
Returns a specific repetition of
OBSERVATION_REQUEST (a Group object) - creates it if necessary
|
List<OPR_O38_OBSERVATION_REQUEST> |
getOBSERVATION_REQUESTAll()
Returns a non-modifiable List containing all current existing repetitions of OBSERVATION_REQUEST.
|
int |
getOBSERVATION_REQUESTReps()
Returns the number of existing repetitions of OBSERVATION_REQUEST
|
OBX |
getOBX()
Returns
the first repetition of
OBX (Observation/Result) - creates it if necessary
|
OBX |
getOBX(int rep)
Returns a specific repetition of
OBX (Observation/Result) - creates it if necessary
|
List<OBX> |
getOBXAll()
Returns a non-modifiable List containing all current existing repetitions of OBX.
|
int |
getOBXReps()
Returns the number of existing repetitions of OBX
|
SAC |
getSAC()
Returns
the first repetition of
SAC (Specimen Container detail) - creates it if necessary
|
SAC |
getSAC(int rep)
Returns a specific repetition of
SAC (Specimen Container detail) - creates it if necessary
|
List<SAC> |
getSACAll()
Returns a non-modifiable List containing all current existing repetitions of SAC.
|
int |
getSACReps()
Returns the number of existing repetitions of SAC
|
SPM |
getSPM()
Returns
SPM (Specimen) - creates it if necessary
|
OPR_O38_TIMING |
getTIMING()
Returns
the first repetition of
TIMING (a Group object) - creates it if necessary
|
OPR_O38_TIMING |
getTIMING(int rep)
Returns a specific repetition of
TIMING (a Group object) - creates it if necessary
|
List<OPR_O38_TIMING> |
getTIMINGAll()
Returns a non-modifiable List containing all current existing repetitions of TIMING.
|
int |
getTIMINGReps()
Returns the number of existing repetitions of TIMING
|
String |
getVersion()
Returns "2.6"
|
OPR_O38_OBSERVATION_REQUEST |
insertOBSERVATION_REQUEST(int rep)
Inserts a specific repetition of OBSERVATION_REQUEST (a Group object)
|
void |
insertOBSERVATION_REQUEST(OPR_O38_OBSERVATION_REQUEST structure,
int rep)
Inserts a specific repetition of OBSERVATION_REQUEST (a Group object)
|
OBX |
insertOBX(int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
void |
insertOBX(OBX structure,
int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
SAC |
insertSAC(int rep)
Inserts a specific repetition of SAC (Specimen Container detail)
|
void |
insertSAC(SAC structure,
int rep)
Inserts a specific repetition of SAC (Specimen Container detail)
|
OPR_O38_TIMING |
insertTIMING(int rep)
Inserts a specific repetition of TIMING (a Group object)
|
void |
insertTIMING(OPR_O38_TIMING structure,
int rep)
Inserts a specific repetition of TIMING (a Group object)
|
OPR_O38_OBSERVATION_REQUEST |
removeOBSERVATION_REQUEST(int rep)
Removes a specific repetition of OBSERVATION_REQUEST (a Group object)
|
OBX |
removeOBX(int rep)
Removes a specific repetition of OBX (Observation/Result)
|
SAC |
removeSAC(int rep)
Removes a specific repetition of SAC (Specimen Container detail)
|
OPR_O38_TIMING |
removeTIMING(int rep)
Removes a specific repetition of TIMING (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 OPR_O38_SPECIMEN(Group parent, ModelClassFactory factory)
public String getVersion()
public OBX getOBX()
public OBX getOBX(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 getOBXReps()
public List<OBX> getOBXAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of OBX.
Note that unlike getOBX(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertOBX(OBX structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OBX insertOBX(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OBX removeOBX(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public SAC getSAC()
public SAC getSAC(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 getSACReps()
public List<SAC> getSACAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SAC.
Note that unlike getSAC(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertSAC(SAC structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SAC insertSAC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SAC removeSAC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public OPR_O38_OBSERVATION_REQUEST getOBSERVATION_REQUEST()
public OPR_O38_OBSERVATION_REQUEST getOBSERVATION_REQUEST(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 getOBSERVATION_REQUESTReps()
public List<OPR_O38_OBSERVATION_REQUEST> getOBSERVATION_REQUESTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of OBSERVATION_REQUEST.
Note that unlike getOBSERVATION_REQUEST(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertOBSERVATION_REQUEST(OPR_O38_OBSERVATION_REQUEST structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPR_O38_OBSERVATION_REQUEST insertOBSERVATION_REQUEST(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPR_O38_OBSERVATION_REQUEST removeOBSERVATION_REQUEST(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public OPR_O38_TIMING getTIMING()
public OPR_O38_TIMING getTIMING(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 getTIMINGReps()
public List<OPR_O38_TIMING> getTIMINGAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of TIMING.
Note that unlike getTIMING(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertTIMING(OPR_O38_TIMING structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPR_O38_TIMING insertTIMING(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPR_O38_TIMING removeTIMING(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.