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 |
---|---|
ARV |
getARV()
Returns
the first repetition of
ARV (Access Restriction) - creates it if necessary
|
ARV |
getARV(int rep)
Returns a specific repetition of
ARV (Access Restriction) - creates it if necessary
|
List<ARV> |
getARVAll()
Returns a non-modifiable List containing all current existing repetitions of ARV.
|
int |
getARVReps()
Returns the number of existing repetitions of ARV
|
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
|
ORU_R30_PATIENT_OBSERVATION |
getPATIENT_OBSERVATION()
Returns
the first repetition of
PATIENT_OBSERVATION (a Group object) - creates it if necessary
|
ORU_R30_PATIENT_OBSERVATION |
getPATIENT_OBSERVATION(int rep)
Returns a specific repetition of
PATIENT_OBSERVATION (a Group object) - creates it if necessary
|
List<ORU_R30_PATIENT_OBSERVATION> |
getPATIENT_OBSERVATIONAll()
Returns a non-modifiable List containing all current existing repetitions of PATIENT_OBSERVATION.
|
int |
getPATIENT_OBSERVATIONReps()
Returns the number of existing repetitions of PATIENT_OBSERVATION
|
PD1 |
getPD1()
Returns
PD1 (Patient Additional Demographic) - creates it if necessary
|
PID |
getPID()
Returns
PID (Patient Identification) - creates it if necessary
|
PRT |
getPRT()
Returns
the first repetition of
PRT (Participation Information) - creates it if necessary
|
PRT |
getPRT(int rep)
Returns a specific repetition of
PRT (Participation Information) - creates it if necessary
|
PRT |
getPRT2()
Returns
the first repetition of
PRT2 (Participation Information) - creates it if necessary
|
PRT |
getPRT2(int rep)
Returns a specific repetition of
PRT2 (Participation Information) - creates it if necessary
|
List<PRT> |
getPRT2All()
Returns a non-modifiable List containing all current existing repetitions of PRT2.
|
int |
getPRT2Reps()
Returns the number of existing repetitions of PRT2
|
PRT |
getPRT3()
Returns
the first repetition of
PRT3 (Participation Information) - creates it if necessary
|
PRT |
getPRT3(int rep)
Returns a specific repetition of
PRT3 (Participation Information) - creates it if necessary
|
List<PRT> |
getPRT3All()
Returns a non-modifiable List containing all current existing repetitions of PRT3.
|
int |
getPRT3Reps()
Returns the number of existing repetitions of PRT3
|
List<PRT> |
getPRTAll()
Returns a non-modifiable List containing all current existing repetitions of PRT.
|
int |
getPRTReps()
Returns the number of existing repetitions of PRT
|
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
|
UAC |
getUAC()
Returns
UAC (User Authentication Credential Segment) - creates it if necessary
|
String |
getVersion()
Returns "2.8.1"
|
ORU_R30_VISIT |
getVISIT()
Returns
VISIT (a Group object) - creates it if necessary
|
void |
insertARV(ARV structure,
int rep)
Inserts a specific repetition of ARV (Access Restriction)
|
ARV |
insertARV(int rep)
Inserts a specific repetition of ARV (Access Restriction)
|
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)
|
ORU_R30_PATIENT_OBSERVATION |
insertPATIENT_OBSERVATION(int rep)
Inserts a specific repetition of PATIENT_OBSERVATION (a Group object)
|
void |
insertPATIENT_OBSERVATION(ORU_R30_PATIENT_OBSERVATION structure,
int rep)
Inserts a specific repetition of PATIENT_OBSERVATION (a Group object)
|
PRT |
insertPRT(int rep)
Inserts a specific repetition of PRT (Participation Information)
|
void |
insertPRT(PRT structure,
int rep)
Inserts a specific repetition of PRT (Participation Information)
|
PRT |
insertPRT2(int rep)
Inserts a specific repetition of PRT2 (Participation Information)
|
void |
insertPRT2(PRT structure,
int rep)
Inserts a specific repetition of PRT2 (Participation Information)
|
PRT |
insertPRT3(int rep)
Inserts a specific repetition of PRT3 (Participation Information)
|
void |
insertPRT3(PRT structure,
int rep)
Inserts a specific repetition of PRT3 (Participation Information)
|
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)
|
ARV |
removeARV(int rep)
Removes a specific repetition of ARV (Access Restriction)
|
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)
|
ORU_R30_PATIENT_OBSERVATION |
removePATIENT_OBSERVATION(int rep)
Removes a specific repetition of PATIENT_OBSERVATION (a Group object)
|
PRT |
removePRT(int rep)
Removes a specific repetition of PRT (Participation Information)
|
PRT |
removePRT2(int rep)
Removes a specific repetition of PRT2 (Participation Information)
|
PRT |
removePRT3(int rep)
Removes a specific repetition of PRT3 (Participation Information)
|
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)
|
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toString
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequired
isEmpty, provideLocation
public ORU_R30()
public ORU_R30(ModelClassFactory factory)
public String getVersion()
getVersion
in interface Message
getVersion
in class AbstractMessage
public SFT getSFT()
Returns the first repetition of SFT (Software Segment) - creates it if necessary
public SFT getSFT(int rep)
Returns a specific repetition of SFT (Software Segment) - creates it if necessary
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()
Returns the number of existing repetitions of SFT
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.
HL7Exception
public void insertSFT(SFT structure, int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT insertSFT(int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT removeSFT(int rep) throws HL7Exception
Removes a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public UAC getUAC()
Returns UAC (User Authentication Credential Segment) - creates it if necessary
public PRT getPRT()
Returns the first repetition of PRT (Participation Information) - creates it if necessary
public PRT getPRT(int rep)
Returns a specific repetition of PRT (Participation Information) - creates it if necessary
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 getPRTReps()
Returns the number of existing repetitions of PRT
public List<PRT> getPRTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRT.
Note that unlike getPRT()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPRT(PRT structure, int rep) throws HL7Exception
Inserts a specific repetition of PRT (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT insertPRT(int rep) throws HL7Exception
Inserts a specific repetition of PRT (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT removePRT(int rep) throws HL7Exception
Removes a specific repetition of PRT (Participation Information)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ARV getARV()
Returns the first repetition of ARV (Access Restriction) - creates it if necessary
public ARV getARV(int rep)
Returns a specific repetition of ARV (Access Restriction) - creates it if necessary
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 getARVReps()
Returns the number of existing repetitions of ARV
public List<ARV> getARVAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ARV.
Note that unlike getARV()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertARV(ARV structure, int rep) throws HL7Exception
Inserts a specific repetition of ARV (Access Restriction)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ARV insertARV(int rep) throws HL7Exception
Inserts a specific repetition of ARV (Access Restriction)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ARV removeARV(int rep) throws HL7Exception
Removes a specific repetition of ARV (Access Restriction)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORU_R30_PATIENT_OBSERVATION getPATIENT_OBSERVATION()
Returns the first repetition of PATIENT_OBSERVATION (a Group object) - creates it if necessary
public ORU_R30_PATIENT_OBSERVATION getPATIENT_OBSERVATION(int rep)
Returns a specific repetition of PATIENT_OBSERVATION (a Group object) - creates it if necessary
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 getPATIENT_OBSERVATIONReps()
Returns the number of existing repetitions of PATIENT_OBSERVATION
public List<ORU_R30_PATIENT_OBSERVATION> getPATIENT_OBSERVATIONAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PATIENT_OBSERVATION.
Note that unlike getPATIENT_OBSERVATION()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPATIENT_OBSERVATION(ORU_R30_PATIENT_OBSERVATION structure, int rep) throws HL7Exception
Inserts a specific repetition of PATIENT_OBSERVATION (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_PATIENT_OBSERVATION insertPATIENT_OBSERVATION(int rep) throws HL7Exception
Inserts a specific repetition of PATIENT_OBSERVATION (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_PATIENT_OBSERVATION removePATIENT_OBSERVATION(int rep) throws HL7Exception
Removes a specific repetition of PATIENT_OBSERVATION (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORU_R30_VISIT getVISIT()
Returns VISIT (a Group object) - creates it if necessary
public PRT getPRT2()
Returns the first repetition of PRT2 (Participation Information) - creates it if necessary
public PRT getPRT2(int rep)
Returns a specific repetition of PRT2 (Participation Information) - creates it if necessary
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 getPRT2Reps()
Returns the number of existing repetitions of PRT2
public List<PRT> getPRT2All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRT2.
Note that unlike getPRT2()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPRT2(PRT structure, int rep) throws HL7Exception
Inserts a specific repetition of PRT2 (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT insertPRT2(int rep) throws HL7Exception
Inserts a specific repetition of PRT2 (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT removePRT2(int rep) throws HL7Exception
Removes a specific repetition of PRT2 (Participation Information)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public NTE getNTE()
Returns the first repetition of NTE (Notes and Comments) - creates it if necessary
public NTE getNTE(int rep)
Returns a specific repetition of NTE (Notes and Comments) - creates it if necessary
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()
Returns the number of existing repetitions of NTE
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.
HL7Exception
public void insertNTE(NTE structure, int rep) throws HL7Exception
Inserts a specific repetition of NTE (Notes and Comments)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE insertNTE(int rep) throws HL7Exception
Inserts a specific repetition of NTE (Notes and Comments)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE removeNTE(int rep) throws HL7Exception
Removes a specific repetition of NTE (Notes and Comments)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public PRT getPRT3()
Returns the first repetition of PRT3 (Participation Information) - creates it if necessary
public PRT getPRT3(int rep)
Returns a specific repetition of PRT3 (Participation Information) - creates it if necessary
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 getPRT3Reps()
Returns the number of existing repetitions of PRT3
public List<PRT> getPRT3All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRT3.
Note that unlike getPRT3()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPRT3(PRT structure, int rep) throws HL7Exception
Inserts a specific repetition of PRT3 (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT insertPRT3(int rep) throws HL7Exception
Inserts a specific repetition of PRT3 (Participation Information)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRT removePRT3(int rep) throws HL7Exception
Removes a specific repetition of PRT3 (Participation Information)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORU_R30_TIMING_QTY getTIMING_QTY()
Returns the first repetition of TIMING_QTY (a Group object) - creates it if necessary
public ORU_R30_TIMING_QTY getTIMING_QTY(int rep)
Returns a specific repetition of TIMING_QTY (a Group object) - creates it if necessary
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()
Returns the number of existing repetitions of TIMING_QTY
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.
HL7Exception
public void insertTIMING_QTY(ORU_R30_TIMING_QTY structure, int rep) throws HL7Exception
Inserts a specific repetition of TIMING_QTY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_TIMING_QTY insertTIMING_QTY(int rep) throws HL7Exception
Inserts a specific repetition of TIMING_QTY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_TIMING_QTY removeTIMING_QTY(int rep) throws HL7Exception
Removes a specific repetition of TIMING_QTY (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORU_R30_OBSERVATION getOBSERVATION()
Returns the first repetition of OBSERVATION (a Group object) - creates it if necessary
public ORU_R30_OBSERVATION getOBSERVATION(int rep)
Returns a specific repetition of OBSERVATION (a Group object) - creates it if necessary
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()
Returns the number of existing repetitions of OBSERVATION
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.
HL7Exception
public void insertOBSERVATION(ORU_R30_OBSERVATION structure, int rep) throws HL7Exception
Inserts a specific repetition of OBSERVATION (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_OBSERVATION insertOBSERVATION(int rep) throws HL7Exception
Inserts a specific repetition of OBSERVATION (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORU_R30_OBSERVATION removeOBSERVATION(int rep) throws HL7Exception
Removes a specific repetition of OBSERVATION (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.