johnpaulett / python-hl7

A simple library for parsing messages of Health Level 7 (HL7) version 2.x into Python objects.
python-hl7.readthedocs.org
Other
282 stars 85 forks source link

README/ Doc Addressing Alternative HL7 Libraries #12

Open cancan101 opened 9 years ago

cancan101 commented 9 years ago

I have so far found three HL7 libraries in Python: (https://github.com/johnpaulett/python-hl7) this one, https://github.com/crs4/hl7apy, https://github.com/mps-gmbh/hl7-parser.

A doc outlining the major differences would be great.

johnpaulett commented 9 years ago

If you've done some research, I'd be happy to add it in. None of these libraries existed 5+ years ago when I was looking, so it is great to see movement in the space.

Development of python-hl7 has also picked up in the past year.

python-hl7 is also already integrated in MLLP implementation, twisted-hl7. Though, python-hl7 is complete open to alternative non-twisted network implementations (happy to accept pull requests to extract common functionality from twisted-hl7 and move it into python-hl7).

@rectalogic may have some insight as well.

rectalogic commented 9 years ago

There is also https://github.com/flrt/hl7tersely and https://github.com/norlowski/HL7py

https://github.com/crs4/hl7apy is interesting and quite complete, but I think it's mission statement is its downfall

HL7apy is a lightweight Python package to intuitively handle HL7 v2 messages according to HL7 specifications

None of the HL7 we've ever received has even been close to following specs, I can't find a message that HL7apy doesn't choke on. So you need a parser that is very lax about the specs when consuming, if you are generating HL7 then hl7apy might be good - generate spec compliant HL7 but be prepared to consume garbage. We have one partner who will be sending us BAR^P01 messages as ADT^P01 even though there is no such thing.

atonughosh commented 3 years ago

can this library be used in MicroPython?

johnpaulett commented 3 years ago

@atonughosh you should try and report back. I've never tried to, but I'd guess it would since it has no dependencies and is pure python.

atonughosh commented 3 years ago

@atonughosh you should try and report back. I've never tried to, but I'd guess it would since it has no dependencies and is pure python.

Sure, I'll try and let you know.