public class OPU_R25 extends AbstractMessage
Represents a OPU_R25 message structure (see chapter 7.3.10). This structure contains the following elements:
log| Constructor and Description |
|---|
OPU_R25()
Creates a new OPU_R25 message with DefaultModelClassFactory.
|
OPU_R25(ModelClassFactory factory)
Creates a new OPU_R25 message with custom ModelClassFactory.
|
| Modifier and Type | Method and Description |
|---|---|
OPU_R25_ACCESSION_DETAIL |
getACCESSION_DETAIL()
Returns
the first repetition of
ACCESSION_DETAIL (a Group object) - creates it if necessary
|
OPU_R25_ACCESSION_DETAIL |
getACCESSION_DETAIL(int rep)
Returns a specific repetition of
ACCESSION_DETAIL (a Group object) - creates it if necessary
|
List<OPU_R25_ACCESSION_DETAIL> |
getACCESSION_DETAILAll()
Returns a non-modifiable List containing all current existing repetitions of ACCESSION_DETAIL.
|
int |
getACCESSION_DETAILReps()
Returns the number of existing repetitions of ACCESSION_DETAIL
|
MSH |
getMSH()
Returns
MSH (Message Header) - creates it if necessary
|
NTE |
getNTE()
Returns
NTE (Notes and Comments) - creates it if necessary
|
NTE |
getNTE2()
Returns
the first repetition of
NTE2 (Notes and Comments) - creates it if necessary
|
NTE |
getNTE2(int rep)
Returns a specific repetition of
NTE2 (Notes and Comments) - creates it if necessary
|
List<NTE> |
getNTE2All()
Returns a non-modifiable List containing all current existing repetitions of NTE2.
|
int |
getNTE2Reps()
Returns the number of existing repetitions of NTE2
|
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
|
PV1 |
getPV1()
Returns
PV1 (Patient Visit) - creates it if necessary
|
PV2 |
getPV2()
Returns
PV2 (Patient Visit - Additional Information) - creates it if necessary
|
ROL |
getROL()
Returns
the first repetition of
ROL (Role) - creates it if necessary
|
ROL |
getROL(int rep)
Returns a specific repetition of
ROL (Role) - creates it if necessary
|
List<ROL> |
getROLAll()
Returns a non-modifiable List containing all current existing repetitions of ROL.
|
int |
getROLReps()
Returns the number of existing repetitions of ROL
|
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
|
UAC |
getUAC()
Returns
UAC (User Authentication Credential Segment) - creates it if necessary
|
String |
getVersion()
Returns "2.6"
|
OPU_R25_ACCESSION_DETAIL |
insertACCESSION_DETAIL(int rep)
Inserts a specific repetition of ACCESSION_DETAIL (a Group object)
|
void |
insertACCESSION_DETAIL(OPU_R25_ACCESSION_DETAIL structure,
int rep)
Inserts a specific repetition of ACCESSION_DETAIL (a Group object)
|
NTE |
insertNTE2(int rep)
Inserts a specific repetition of NTE2 (Notes and Comments)
|
void |
insertNTE2(NTE structure,
int rep)
Inserts a specific repetition of NTE2 (Notes and Comments)
|
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)
|
ROL |
insertROL(int rep)
Inserts a specific repetition of ROL (Role)
|
void |
insertROL(ROL structure,
int rep)
Inserts a specific repetition of ROL (Role)
|
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)
|
OPU_R25_ACCESSION_DETAIL |
removeACCESSION_DETAIL(int rep)
Removes a specific repetition of ACCESSION_DETAIL (a Group object)
|
NTE |
removeNTE2(int rep)
Removes a specific repetition of NTE2 (Notes and Comments)
|
OBX |
removeOBX(int rep)
Removes a specific repetition of OBX (Observation/Result)
|
ROL |
removeROL(int rep)
Removes a specific repetition of ROL (Role)
|
SFT |
removeSFT(int rep)
Removes a specific repetition of SFT (Software Segment)
|
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 OPU_R25()
public OPU_R25(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 UAC getUAC()
public PV2 getPV2()
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 NTE getNTE2()
public NTE getNTE2(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 getNTE2Reps()
public List<NTE> getNTE2All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NTE2.
Note that unlike getNTE2(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertNTE2(NTE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE insertNTE2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE removeNTE2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)public ROL getROL(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 getROLReps()
public List<ROL> getROLAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ROL.
Note that unlike getROL(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertROL(ROL structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ROL insertROL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ROL removeROL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)public OPU_R25_ACCESSION_DETAIL getACCESSION_DETAIL()
public OPU_R25_ACCESSION_DETAIL getACCESSION_DETAIL(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 getACCESSION_DETAILReps()
public List<OPU_R25_ACCESSION_DETAIL> getACCESSION_DETAILAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ACCESSION_DETAIL.
Note that unlike getACCESSION_DETAIL(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertACCESSION_DETAIL(OPU_R25_ACCESSION_DETAIL structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPU_R25_ACCESSION_DETAIL insertACCESSION_DETAIL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OPU_R25_ACCESSION_DETAIL removeACCESSION_DETAIL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.