Elexis API documentation
Version 2.1.6 as of January 22 2012

ch.elexis.importers
Class HL7.OBR

java.lang.Object
  extended by ch.elexis.importers.HL7.OBR
Enclosing class:
HL7

public class HL7.OBR
extends java.lang.Object


Method Summary
 HL7.OBX firstOBX()
          Find the first OBX of this OBR
 TimeTool getDate()
          Unfortunately, not all labs use all date fields.
 HL7.OBR nextOBR(HL7.OBR obr)
           
 HL7.OBX nextOBX(HL7.OBX old)
          Find the next OBX after a given OBX
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextOBR

public HL7.OBR nextOBR(HL7.OBR obr)

nextOBX

public HL7.OBX nextOBX(HL7.OBX old)
Find the next OBX after a given OBX

Parameters:
old - the OBX from which to start searching
Returns:
the next OBX or null if none was found

firstOBX

public HL7.OBX firstOBX()
Find the first OBX of this OBR

Returns:
an OBX or null if none found

getDate

public TimeTool getDate()
Unfortunately, not all labs use all date fields. So we try several possible positions.

Returns:
the OBR's date (obr[7]). If none was found, it will be the date of today.

Elexis API documentation
Version 2.1.6 as of January 22 2012

Copyright 2005-2011 by Gerry Weirich, Elexis