|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.vmdb.hl7.HL7Object | +--org.vmdb.hl7.HL7SegmentContainer | +--org.vmdb.hl7.HL7Loop | +--org.vmdb.hl7.ORDER_OBSERVATIONLoop
Description: HL7 Network Connectivity For VMDB.
Copyright: Copyright (c) 2002-2003.
Company: Veterinary Medical Database (VMDB).
The XML representation of HL7 2.x introduces the concepts of groups and lists that, while present in the construction rules of delimited HL7, are not explicitly named or labelled in the messages themselves. This class follows the XML version with explicitly constructed groups and lists which we've combined under the general term (borrowed from X12) of "loop."
Most of the repetion and grouping facilitated by this "loop" logic is not used in the VMDB version of the ORU message but is maintained to retain full standard compliance and to allow extending this model without fear of losing interoperability.
Loop and Segment Nesting: The outline below shows how the loops and minimum required segments nest. {OBX} indicates that any number of OBX segments may appear at this location.
MSH PATIENT_RESULT PATIENT PID PATIENT_VISIT PV1 ORDER_OBSERVATION [ORC] OBR OBSERVATION OBX
Besides maintaining the structure of the XML representation, this loop handles the task of keeping track of set id's and sub id's for the OBX segments (OBSERVATION Loops) contained within it.
Constructor Summary | |
ORDER_OBSERVATIONLoop()
|
Method Summary | |
OBXSegment |
addOBX()
Add an OBX segment that should be located in this loop. |
java.util.Iterator |
findOBXModifiers(OBXSegment obxIn)
Find all OBX segments whos subId indicates they modify this OBX. |
java.util.Iterator |
findOBXSegments(CEElement ceObsId)
Find all OBX segments with a given Observation Identifier as defined by a predefined CEElement object. |
OBRSegment |
getOBR()
Get the OBR segment that should be located in this loop. |
OBSERVATIONLoop |
getOBSERVATION()
Get the OBSERVATIONLoop loop that should be located in this loop. |
ORCSegment |
getORC()
Get the ORC segment that should be located in this loop. |
java.lang.String |
nextModifierSubId(OBXSegment obxIn)
Create the sub id to be assigned the next modifier of the OBXSegment provided. |
Methods inherited from class org.vmdb.hl7.HL7Loop |
getLoopClass, getName, isLoop, messageComplete |
Methods inherited from class org.vmdb.hl7.HL7SegmentContainer |
findSegment, listsSegments, setSeparators, toString, toXML |
Methods inherited from class org.vmdb.hl7.HL7Object |
getRule |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ORDER_OBSERVATIONLoop()
Method Detail |
public OBSERVATIONLoop getOBSERVATION()
public OBRSegment getOBR()
public ORCSegment getORC()
public OBXSegment addOBX()
public java.util.Iterator findOBXSegments(CEElement ceObsId)
ceObsId
- CEElement with specific observation identifier. Almost
always using a predefined constant from the Loinc class.
public java.lang.String nextModifierSubId(OBXSegment obxIn)
obxIn
- An OBXSegment who's subId field will be used to find all
other obx's in this loop that modify it.
public java.util.Iterator findOBXModifiers(OBXSegment obxIn)
obxIn
- An OBXSegment whos subId field will be used to find all
other obx's in this loop that modify it.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |