HL7 parsing in PHP

I am looking for options for parsing HL7 messages through PHP. I know the Net_HL7 package on PEAR, but to be completely honest, I don’t think I want to create my code around a seemingly “abandoned” package, and even if I did, I just don’t think my brain matches the functions “correctly” . Maybe if I had more HL7 background, that would make the sense a little better, I don't know.

In any case: I assume that 95% of the time, I am going to parse and read data from messages. The other 5%, I will create and / or send messages.

I do not have to do any checks on the messages themselves, I just need to pull / forward the data.

I definitely need non-XML support for HL7 v2.x, but naturally XML-based v2 and v3 will be a bonus.

Anyone have suggestions for other libraries that I could use? I am looking for pure PHP solutions, because I want to have minimal requirements on the server that do not "copy this directory here."

Thanks!

+4
source share
2 answers

Depending on how much hl7 work you need to do, you can either minimize yours or try to integrate with tools that provide an interface in a lower level language (for example, C ++) and create some kind of flash shell around it .

company I work in hl7 parsing / mapping , but without php interface. At least by looking at manual , you get a good overview of hl7 and how difficult it will be to write your own hl7 parser.

+2
source

If you want to use an open-source hl7 parsing solution, I recommend Mirth . You can check how Mirth does its hl7 parsing by checking the source code. good luck.

0
source

All Articles