org.vmdb.hl7
Class PATIENT_VISITLoop

java.lang.Object
  |
  +--org.vmdb.hl7.HL7Object
        |
        +--org.vmdb.hl7.HL7SegmentContainer
              |
              +--org.vmdb.hl7.HL7Loop
                    |
                    +--org.vmdb.hl7.PATIENT_VISITLoop

public class PATIENT_VISITLoop
extends HL7Loop

PATIENT_VISIT Loop.

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


Constructor Summary
PATIENT_VISITLoop()
           
 
Method Summary
 PV1Segment getPV1()
          Get a reference to the PV1 Segemnt contained within this loop.
 
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

PATIENT_VISITLoop

public PATIENT_VISITLoop()
Method Detail

getPV1

public PV1Segment getPV1()
Get a reference to the PV1 Segemnt contained within this loop. If it does not yet exist, create it in the correct location.

Returns:
PV1Segment Reference to existing or new segment.

SourceForge.net Logo