|
From: | Tim Churches |
Subject: | Re: [Gnumed-devel] Re: some HL7 VB Code |
Date: | Wed, 02 Mar 2005 12:53:16 +1100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
address@hidden wrote:
There is also an example of an HL7 2.x parser written in Python in the NetEpi-PHREDDS package available at http://sourceforge.net/project/showfiles.php?group_id=123700On Wed Mar 2 6:46 , Richard Terry <address@hidden> sent:Take it as is for the logic, years old, never implemented,thanks, should keep me out of mischief for a while. (seems I'm a mischief magnet lately).
Much of the code in that relates to listening for and responding to HL7 messages sent by the (insecure) MLLP protocol, but there is a parser for specific message types in there as well which might give you some ideas. Unfortunately due to license incompatibilities between the Mozilla Public License and the GPL, you can't cut-and-paste code from NetEpi-PHREDDS into GnuMed, but you can certainly borrow the ideas and overall approach. However, as Richard notes, HL7 parsing is not a hugely difficult problem, but there are several ways to skin the cat.
Tim C
[Prev in Thread] | Current Thread | [Next in Thread] |