HL7
HL7 copied to clipboard
PHP library for Parsing, Generation and Sending HL7 v2 messages
Currently the only way to set an empty string is by `$segment->setField(10, [''])`, which is hackish!
When I'm trying to send a msg- In my local server this is fine, I'm getting ack also, but at the same time on hosted server, there is a **_connection...
Processing the following message (and calling `toString()`) throws *Array to string conversion* in src/HL7/Message.php:388: ``` MSH|^~\&|SAC|PIVA|DIP_SAC|Dipartimentale|20190531204652||ADT^A40|0d9834c0-6efa-4153-aa10-e349017057c9|P|2.5 EVN||20190531204652 PID|||D298B31F-53E2-4FCD-9246-240B61792023^55^^PK~9143224^^^ABC|| COGNOME^NOME||19310525|F|||&VIA MEUCCI 3^^020066^^46019^^H~&VIA MEUCCI 3^^020066^^46019^^L~&^^020035^^^^BDL||^^PH~^^CP|||||CF|7289721||||020035|||||100^Italia MRG|936815CB-75C2-45BD-BBB7-F5BEACED3D63 ```
I've been using your library for integrating our services with a few other service providers, and it's been working wonderfully – except for one provider. Sending them a message results...
I have install all thing as said but doesn't run, can you make running code with example
Upgrade to HL7 2.5.1 version. - Doc has been updated - Add of some segments (ROL, ARQ, ...) - MSH has been modified to set MSH.9.1 to 3 datatypes.
ACK response received contain hexadecimal characters that are not deleted prior to the construction of the message, causing this error.  This ACK response has been generated...
Would you be open to receiving a PR for adding constants to the segments (and perhaps drop the $position argument completely)? Hard-coding the same value in setter and getters seems...
Ensure the HL7 globals are passed to the MSH when creating an ACK message. Part of #22
Because when instantiating the creation of a message and sending it, the hl7 server responds with ack: list index out of limits 3, as if the message was not separating...