Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HL7 version 3 parsing

Tags:

hl7

hapi

ccd

cda

I was parsing HL7 version 2.x messages through HAPI. Now I want to parse HL7 version 3 messages, which are in XML format. HAPI does not support HL7 version 3, so how can I do this?

like image 783
Vishal Zanzrukia Avatar asked Apr 11 '12 14:04

Vishal Zanzrukia


People also ask

What is HL7 Parsing?

The HL7 Parser allows you to transform an HL7v2 message string into a queryable object, Message, alongside other utility methods.

What is Hapi HL7?

HAPI (HL7 application programming interface; pronounced "happy") is an open-source, object-oriented HL7 2. x parser for Java. HL7 ( http://hl7.org ) is a messaging specification for healthcare information systems.


1 Answers

HL7 version 3 is essentially XML-formatted HL7 data. As such, you could use any old XML parser. That said, you would have to build the intelligence re: segments etc... in yourself.

It does, however, appear that there is an HL7 v3 Java Special Interest Group, which has developed an API at least for RIM.

Another option would be to look at an integration engine. An open source option here is mirth. Mirth is a interface integration engine. It is a separate product - not a library you would integrate with your own. It can, however, take over the heavy lifting of converting HL7 to something more useful in your application - a Web Service call, a database insert, a differently formatted file (pdf, edi, etc).

like image 190
dividius Avatar answered Nov 04 '22 03:11

dividius