gov.lanl.HL7
Class HL7Repository

java.lang.Object
  |
  +--gov.lanl.HL7.HL7Repository

public class HL7Repository
extends java.lang.Object

Container for a parsed HL7 Message.

 

Constructor Summary
HL7Repository()
          Creates new HL7Repository
 
Method Summary
 void buildRepository(java.lang.String message)
          Assemble parsed HL7 Message into Hashtable
 org.w3c.dom.Document getDocument()
          return internally generated DOM document
 java.lang.String getValue(java.lang.String segment, java.lang.String fieldPos, java.lang.String subFieldPos)
          Obtain the value from the segment, fieldPos and subFieldPos within the HL7 message
 void initDOM()
          initializer for DOM model
 void setDebug(boolean debug)
          * Turn on debugging
 void write(java.lang.String file)
          Serialize Content to a file as XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HL7Repository

public HL7Repository()
Creates new HL7Repository

Method Detail

initDOM

public void initDOM()
initializer for DOM model


write

public void write(java.lang.String file)
Serialize Content to a file as XML

Parameters:
file -

getDocument

public org.w3c.dom.Document getDocument()
return internally generated DOM document

Returns:
Document

setDebug

public void setDebug(boolean debug)
* Turn on debugging


buildRepository

public void buildRepository(java.lang.String message)
Assemble parsed HL7 Message into Hashtable


getValue

public java.lang.String getValue(java.lang.String segment,
                                 java.lang.String fieldPos,
                                 java.lang.String subFieldPos)
Obtain the value from the segment, fieldPos and subFieldPos within the HL7 message

Parameters:
segment -
fieldPos -
subFieldPos -