java.lang.Object
org.vmdb.hl7.HL7Object
org.vmdb.hl7.HL7SegmentContainer
org.vmdb.hl7.HL7Loop
org.vmdb.hl7.ORU_R01_LST_7Loop
- public class ORU_R01_LST_7Loop
- extends HL7Loop
List 7 (ORU_R01_LST_7Loop) Loop.
Description: HL7 Network Connectivity For VMDB.
Copyright: Copyright (c) 2002-2003.
Company: M&M Informatics.
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
LST.8
GRP.5
GRP.4
PID
GRP.3
PV1
LST.7
GRP.2
[ORC]
OBR
LST.5
GRP.1
{OBX}
- Version:
- 1.0
| Methods inherited from class org.vmdb.hl7.HL7SegmentContainer |
addSegment, addSegment, findSegment, iterator, listsSegments, pop, processLoop, processSegment, push, readString, setData, setSeparators, toString, toXML |
sNm
private java.lang.String sNm
sRl
private java.lang.String sRl
ORU_R01_LST_7Loop
public ORU_R01_LST_7Loop()
getGRP_2
public ORU_R01_GRP_2Loop getGRP_2()
- Get the ORU_R01_GRP_2Loop loop that should be nested within this loop. If
it does not exist, take the necessary steps to create it in the appropriate
location.
Note: The semantics here only work correctly for segments that exist singly
in a message. We break with generic HL7 here in that only under VMDB are
we restricted to a single patient per message. If we drop this limitation
we will need to create more complex (addGRP_2) semantics.
getGRP_2
public ORU_R01_GRP_2Loop getGRP_2(java.lang.String sOrderControl)
- Get the ORU_R01_GRP_2Loop loop that should be nested within this loop. If
it does not exist, take the necessary steps to create it in the appropriate
location.
Note: The semantics here only work correctly for segments that exist singly
in a message. We break with generic HL7 here in that only under VMDB are
we restricted to a single patient per message. If we drop this limitation
we will need to create more complex (addGRP_2) semantics.