Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.elexis.hl7.v22
Class HL7_ORU_R01

java.lang.Object
  extended by ch.elexis.hl7.HL7Parser
      extended by ch.elexis.hl7.v22.HL7_ORU_R01

public class HL7_ORU_R01
extends HL7Parser


Field Summary
 
Fields inherited from class ch.elexis.hl7.HL7Parser
COMMENT_GROUP, COMMENT_NAME, receivingApplication1, receivingApplication3, receivingFacility, sendingApplication1, sendingApplication3
 
Constructor Summary
HL7_ORU_R01()
          Default constructor
HL7_ORU_R01(java.lang.String sendingApplication1, java.lang.String sendingApplication3, java.lang.String receivingApplication1, java.lang.String receivingApplication3, java.lang.String receivingFacility, java.lang.String uniqueMessageControlID, java.lang.String uniqueProcessingID, HL7Mandant mandant)
          Constructs a new message
 
Method Summary
 java.lang.String getVersion()
          Returns version of HL7
 ca.uhn.hl7v2.model.v22.message.ORU_R01 read(java.lang.String text, boolean readWithValidation)
          Reads an ORU_R01 HL7 file
 ObservationMessage readObservation(java.lang.String text)
          Reads an observation from the ORU_R01 HL7 message
 ObservationMessage readObservation(java.lang.String text, boolean readWithValidation)
          Reads an observation from the ORU_R01 HL7 message
 
Methods inherited from class ch.elexis.hl7.HL7Parser
addAddressToXAD, addError, addKontaktToXPN, addPhone1ToXTN, addPhone2ToXTN, addWarning, clearMessages, fillMSH, fillORC, fillPID, getErrorList, getWarningList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HL7_ORU_R01

public HL7_ORU_R01()
Default constructor


HL7_ORU_R01

public HL7_ORU_R01(java.lang.String sendingApplication1,
                   java.lang.String sendingApplication3,
                   java.lang.String receivingApplication1,
                   java.lang.String receivingApplication3,
                   java.lang.String receivingFacility,
                   java.lang.String uniqueMessageControlID,
                   java.lang.String uniqueProcessingID,
                   HL7Mandant mandant)
Constructs a new message

Parameters:
sendingApplication1 - Value for MSH3.1
sendingApplication3 - Value for MSH3.3
receivingApplication1 - Value for MSH5.1
receivingApplication3 - Value for MSH5.3
receivingFacility - Value for MSH6.1
uniqueMessageControlID - Value for MSH10
uniqueProcessingID - Value for MSH11
mandant - Value for MSH4
Method Detail

read

public ca.uhn.hl7v2.model.v22.message.ORU_R01 read(java.lang.String text,
                                                   boolean readWithValidation)
                                            throws ca.uhn.hl7v2.HL7Exception
Reads an ORU_R01 HL7 file

Parameters:
text - ISO-8559-1 String
readWithValidation - True for parsing with validation, False for parsing without validation
Returns:
The ORU_R01 message
Throws:
ca.uhn.hl7v2.HL7Exception

readObservation

public ObservationMessage readObservation(java.lang.String text)
                                   throws java.io.IOException,
                                          ca.uhn.hl7v2.parser.EncodingNotSupportedException,
                                          ca.uhn.hl7v2.HL7Exception,
                                          java.text.ParseException
Reads an observation from the ORU_R01 HL7 message

Parameters:
text - ISO-8559-1 String
Returns:
The observation
Throws:
java.io.IOException
ca.uhn.hl7v2.parser.EncodingNotSupportedException
ca.uhn.hl7v2.HL7Exception
java.text.ParseException

readObservation

public ObservationMessage readObservation(java.lang.String text,
                                          boolean readWithValidation)
                                   throws java.io.IOException,
                                          ca.uhn.hl7v2.parser.EncodingNotSupportedException,
                                          ca.uhn.hl7v2.HL7Exception,
                                          java.text.ParseException
Reads an observation from the ORU_R01 HL7 message

Parameters:
text - ISO-8559-1 String
Returns:
The observation
Throws:
java.io.IOException
ca.uhn.hl7v2.parser.EncodingNotSupportedException
ca.uhn.hl7v2.HL7Exception
java.text.ParseException

getVersion

public java.lang.String getVersion()
Description copied from class: HL7Parser
Returns version of HL7

Specified by:
getVersion in class HL7Parser
Returns:

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013