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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.vmdb.hl7.HL7Object
      extended byorg.vmdb.hl7.HL7SegmentContainer
          extended byorg.vmdb.hl7.HL7Loop
Direct Known Subclasses:
ORU_R01_GRP_1Loop, ORU_R01_GRP_2Loop, ORU_R01_GRP_3Loop, ORU_R01_GRP_4Loop, ORU_R01_GRP_5Loop, ORU_R01_LST_5Loop, ORU_R01_LST_7Loop, ORU_R01_LST_8Loop

public abstract class HL7Loop
extends HL7SegmentContainer

Abstract Base Class for HL7 Loop Structures.

Description: HL7 Network Connectivity For VMDB.

Copyright: Copyright (c) 2002-2003.

Company: M&M Informatics.

A "Loop" is not really part of the HL7 specification, but it is a very useful concept from X12 and is necessary to properly implement repeatable groups of segments in XML. The Loop does not appear in the HL7 2.4 representation except as {...} groupings in the specification. It appears in the XML representation as <ORU_R01.LST.1>...</ORU_R01.LST.1> type tag pairs with segment tag pairs embedded within.

For "formal" description of any given "loop" see the semi-official HL7 documentation of XML representation of v2.3(4-5) messages.

Version:
1.0

Field Summary
 
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
HL7Loop()
           
 
Method Summary
 boolean messageComplete()
          Allow Rule parser to determine if we've hit the end of the raw HL7 input string (stream).
Package scope so RuleParser can use it but normal application classes cannot.
 
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
 

Constructor Detail

HL7Loop

public HL7Loop()
Method Detail

messageComplete

public boolean messageComplete()
Description copied from class: HL7SegmentContainer
Allow Rule parser to determine if we've hit the end of the raw HL7 input string (stream).
Package scope so RuleParser can use it but normal application classes cannot.

Overrides:
messageComplete in class HL7SegmentContainer