|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elexis.importers.HL7
public class HL7
This class parses a HL7 file containing lab results. It tries to comply with several possible Substandards of the HL7 and to return always reasonable values for each field.
Nested Class Summary | |
---|---|
class |
HL7.OBR
|
class |
HL7.OBX
|
static class |
HL7.RECORDTYPE
|
static class |
HL7.RESULTSTATUS
|
Constructor Summary | |
---|---|
HL7(java.lang.String labor,
java.lang.String kuerzel)
We can force this hl7 to be attributed to a specific lab (if we know, who the sender should be) by providing a name and a short name. |
Method Summary | |
---|---|
HL7.OBR |
firstOBR()
Find the first OBR record in the file |
java.lang.String |
getComments()
Extract all comments (NTE), global and OBX comments |
TimeTool |
getDate()
|
java.lang.String |
getFilename()
|
Result<Kontakt> |
getLabor()
Find the lab issuing this file. |
Result<java.lang.Object> |
getPatient(boolean createIfNotFound)
This method tries to find the patient denoted by this HL7-record. |
Result<java.lang.String> |
getUID()
|
Result<java.lang.Object> |
load(java.lang.String filename)
Load file into memory and break it up to separate lines. |
static TimeTool |
makeTime(java.lang.String datestring)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HL7(java.lang.String labor, java.lang.String kuerzel)
labor
- Stringkuerzel
- StringMethod Detail |
---|
public Result<java.lang.Object> load(java.lang.String filename)
filename
- String
public java.lang.String getFilename()
public Result<java.lang.Object> getPatient(boolean createIfNotFound)
createIfNotFound
- create the patient record in the database if neccessary
public Result<java.lang.String> getUID()
public TimeTool getDate()
public Result<Kontakt> getLabor()
public HL7.OBR firstOBR()
public java.lang.String getComments()
public static TimeTool makeTime(java.lang.String datestring)
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |