python-hl7 icon indicating copy to clipboard operation
python-hl7 copied to clipboard

README/ Doc Addressing Alternative HL7 Libraries

Open cancan101 opened this issue 10 years ago • 5 comments

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.

cancan101 avatar Nov 05 '14 07:11 cancan101

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.

johnpaulett avatar Nov 05 '14 13:11 johnpaulett

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.

rectalogic avatar Nov 05 '14 14:11 rectalogic

can this library be used in MicroPython?

atonughosh avatar Sep 07 '21 06:09 atonughosh

@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.

johnpaulett avatar Sep 07 '21 09:09 johnpaulett

@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.

atonughosh avatar Sep 08 '21 01:09 atonughosh