|
|
|||
Handling HL7 v3 using Python or PHP
My task is to extract data from a MySQL db and transcribe it to HL7 v3!
I looking for a good start on parsing HL7 v3 with Python and/or PHP. Are there any examples,libraries, books or open source packages that are good tools! The convoluted XML for version 3 is a real killer! Anyone with hints or experience with this, please point me in the direction to go! The idea is to have a web application using MySQL that presents a CMS 1500 form to be informed by the user. Later this health insurance data is converted to HL7 v3 format. CMS 1500 data is mostly numeric and textual. I'm considering doing this first in PHP and then in Django. I'd like to know how to handle HL7 in both Python and PHP 6 Replies
Comment by
The EHR Guy
: Feb 16 2010 05:16 PM
What type of data do you want to address with the HL7 v3.0 message?
The origin of the data is a database in MySQL. Where does it go? What triggers it? HL7 v3.0 can appear confusing at first. Once you understand the RIM model it is based on it becomes clearer. Give it time. The EHR Guy
Comment by
Brian Ahier
: Feb 16 2010 06:24 PM
While waiting for the facts to get a more complete answer, let's watch this fun video:
Fun HL7 Tutorial
Brian Ahier ~ seeing the future unfold early
Comment by
Brian Ahier
: Feb 16 2010 09:42 PM
Mirth is an open-source HL7 integration engine that allows users to receive and transmit HL7 data over a variety of endpoints.
Mirth
Brian Ahier ~ seeing the future unfold early
Comment by
donfox
: Feb 17 2010 08:43 AM
The idea is to have a web application using MySQL that presents a CMS 1500 form to be informed by the user. Later this health insurance data is converted to HL7 v3 format. CMS 1500 data is mostly numeric and textual. I'm considering doing this first in PHP and then in Django. I'd like to know how to handle HL7 in both Python and PHP
My understanding is that HL7 v3.0 is XML-based, so you could start with a simple XML parser and see how you get on? Here is one for Python 3 that claims to be easy to use. It's as good a start as any: http://pypi.python.o...ypi/dexml/0.3.1 - I hope it works out for you.
Paul.
--
Paul Barry.
I personally use Interfaceware to handle my HL7 interfaces. It takes advantage of the python language to handle the mapping of the various fields. It also integrates with MySQL or other types of databases. It also can convert to XML if you would like.
I have also used Mirth in other implementations but it requires a knowledge of Java to handle the transformations. |
|||
|