public class ORU_R30 extends AbstractMessage
Represents a ORU_R30 message structure (see chapter 7.3.4). This structure contains the following elements:
log| Constructor and Description |
|---|
ORU_R30()
Creates a new ORU_R30 message with DefaultModelClassFactory.
|
ORU_R30(ModelClassFactory factory)
Creates a new ORU_R30 message with custom ModelClassFactory.
|
| Modifier and Type | Method and Description |
|---|---|
MSH |
getMSH()
Returns
MSH (Message Header) - creates it if necessary
|
NTE |
getNTE()
Returns
the first repetition of
NTE (Notes and Comments) - creates it if necessary
|
NTE |
getNTE(int rep)
Returns a specific repetition of
NTE (Notes and Comments) - creates it if necessary
|
List<NTE> |
getNTEAll()
Returns a non-modifiable List containing all current existing repetitions of NTE.
|
int |
getNTEReps()
Returns the number of existing repetitions of NTE
|
OBR |
getOBR()
Returns
OBR (Observation Request) - creates it if necessary
|
ORU_R30_OBSERVATION |
getOBSERVATION()
Returns
the first repetition of
OBSERVATION (a Group object) - creates it if necessary
|
ORU_R30_OBSERVATION |
getOBSERVATION(int rep)
Returns a specific repetition of
OBSERVATION (a Group object) - creates it if necessary
|
List<ORU_R30_OBSERVATION> |
getOBSERVATIONAll()
Returns a non-modifiable List containing all current existing repetitions of OBSERVATION.
|
int |
getOBSERVATIONReps()
Returns the number of existing repetitions of OBSERVATION
|
ORC |
getORC()
Returns
ORC (Common Order) - creates it if necessary
|
PD1 |
getPD1()
Returns
PD1 (Patient Additional Demographic) - creates it if necessary
|
PID |
getPID()
Returns
PID (Patient Identification) - creates it if necessary
|
SFT |
getSFT()
Returns
the first repetition of
SFT (Software Segment) - creates it if necessary
|
SFT |
getSFT(int rep)
Returns a specific repetition of
SFT (Software Segment) - creates it if necessary
|
List<SFT> |
getSFTAll()
Returns a non-modifiable List containing all current existing repetitions of SFT.
|
int |
getSFTReps()
Returns the number of existing repetitions of SFT
|
ORU_R30_TIMING_QTY |
getTIMING_QTY()
Returns
the first repetition of
TIMING_QTY (a Group object) - creates it if necessary
|
ORU_R30_TIMING_QTY |
getTIMING_QTY(int rep)
Returns a specific repetition of
TIMING_QTY (a Group object) - creates it if necessary
|
List<ORU_R30_TIMING_QTY> |
getTIMING_QTYAll()
Returns a non-modifiable List containing all current existing repetitions of TIMING_QTY.
|
int |
getTIMING_QTYReps()
Returns the number of existing repetitions of TIMING_QTY
|
String |
getVersion()
Returns "2.5"
|
ORU_R30_VISIT |
getVISIT()
Returns
VISIT (a Group object) - creates it if necessary
|
NTE |
insertNTE(int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
void |
insertNTE(NTE structure,
int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
ORU_R30_OBSERVATION |
insertOBSERVATION(int rep)
Inserts a specific repetition of OBSERVATION (a Group object)
|
void |
insertOBSERVATION(ORU_R30_OBSERVATION structure,
int rep)
Inserts a specific repetition of OBSERVATION (a Group object)
|
SFT |
insertSFT(int rep)
Inserts a specific repetition of SFT (Software Segment)
|
void |
insertSFT(SFT structure,
int rep)
Inserts a specific repetition of SFT (Software Segment)
|
ORU_R30_TIMING_QTY |
insertTIMING_QTY(int rep)
Inserts a specific repetition of TIMING_QTY (a Group object)
|
void |
insertTIMING_QTY(ORU_R30_TIMING_QTY structure,
int rep)
Inserts a specific repetition of TIMING_QTY (a Group object)
|
NTE |
removeNTE(int rep)
Removes a specific repetition of NTE (Notes and Comments)
|
ORU_R30_OBSERVATION |
removeOBSERVATION(int rep)
Removes a specific repetition of OBSERVATION (a Group object)
|
SFT |
removeSFT(int rep)
Removes a specific repetition of SFT (Software Segment)
|
ORU_R30_TIMING_QTY |
removeTIMING_QTY(int rep)
Removes a specific repetition of TIMING_QTY (a Group object)
|
encode, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, setParser, setValidationContext, toStringadd, 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, tryToInstantiateStructureclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isGroup, isRepeating, isRequiredpublic ORU_R30()
public ORU_R30(ModelClassFactory factory)
public String getVersion()
getVersion in interface MessagegetVersion in class AbstractMessagepublic SFT getSFT()
public SFT getSFT(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 getSFTReps()
public List<SFT> getSFTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SFT.
Note that unlike getSFT(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertSFT(SFT structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SFT insertSFT(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public SFT removeSFT(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)public ORU_R30_VISIT getVISIT()
public NTE getNTE()
public NTE getNTE(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 getNTEReps()
public List<NTE> getNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NTE.
Note that unlike getNTE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertNTE(NTE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE insertNTE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE removeNTE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)public ORU_R30_TIMING_QTY getTIMING_QTY()
public ORU_R30_TIMING_QTY getTIMING_QTY(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 getTIMING_QTYReps()
public List<ORU_R30_TIMING_QTY> getTIMING_QTYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of TIMING_QTY.
Note that unlike getTIMING_QTY(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertTIMING_QTY(ORU_R30_TIMING_QTY structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ORU_R30_TIMING_QTY insertTIMING_QTY(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ORU_R30_TIMING_QTY removeTIMING_QTY(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)public ORU_R30_OBSERVATION getOBSERVATION()
public ORU_R30_OBSERVATION getOBSERVATION(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 getOBSERVATIONReps()
public List<ORU_R30_OBSERVATION> getOBSERVATIONAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of OBSERVATION.
Note that unlike getOBSERVATION(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertOBSERVATION(ORU_R30_OBSERVATION structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ORU_R30_OBSERVATION insertOBSERVATION(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ORU_R30_OBSERVATION removeOBSERVATION(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.