Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vmdb.hl7
Class ORU_R01_GRP_5Loop  view ORU_R01_GRP_5Loop download ORU_R01_GRP_5Loop.java

java.lang.Object
  extended byorg.vmdb.hl7.HL7Object
      extended byorg.vmdb.hl7.HL7SegmentContainer
          extended byorg.vmdb.hl7.HL7Loop
              extended byorg.vmdb.hl7.ORU_R01_GRP_5Loop

public class ORU_R01_GRP_5Loop
extends HL7Loop

Group 5 (ORU_R01_GRP_5Loop) 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

Field Summary
private  java.lang.String sNm
           
private  java.lang.String sRl
           
 
Fields inherited from class org.vmdb.hl7.HL7SegmentContainer
slData, stState, vSegments
 
Fields inherited from class org.vmdb.hl7.HL7Object
COMP_SEP, ESC_SEP, FIELD_SEP, REP_SEP, sName, sRule, sSeparators, SUB_SEP
 
Constructor Summary
ORU_R01_GRP_5Loop()
           
 
Method Summary
 ORU_R01_GRP_4Loop getGRP_4()
          Get the ORU_R01_GRP_4Loop loop that should be nested within this loop.
 ORU_R01_LST_7Loop getLST_7()
          Get the ORU_R01_LST_7Loop loop that should be nested within this loop.
 
Methods inherited from class org.vmdb.hl7.HL7Loop
messageComplete
 
Methods inherited from class org.vmdb.hl7.HL7SegmentContainer
addSegment, addSegment, findSegment, iterator, listsSegments, pop, processLoop, processSegment, push, readString, setData, setSeparators, toString, toXML
 
Methods inherited from class org.vmdb.hl7.HL7Object
getName, getRule, getSeparator, getSeparators, setName, setRule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sNm

private java.lang.String sNm

sRl

private java.lang.String sRl
Constructor Detail

ORU_R01_GRP_5Loop

public ORU_R01_GRP_5Loop()
Method Detail

getGRP_4

public ORU_R01_GRP_4Loop getGRP_4()
Get the ORU_R01_GRP_4Loop loop that should be nested within this loop. If it does not exist, take the necessary steps to create it in the appropriate nested loop structure.


getLST_7

public ORU_R01_LST_7Loop getLST_7()
Get the ORU_R01_LST_7Loop 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 observation request per message. If we drop this limitation we will need to create more complex (addLST_7) semantics.