hl7apy icon indicating copy to clipboard operation
hl7apy copied to clipboard

Python library to parse, create and handle HL7 v2 messages.

Results 37 hl7apy issues
Sort by recently updated
recently updated
newest added

I was reviewing the attribute cardinality definitions against the HL7 spec and came across this which has me scratching my head. The definition of Marital Status appears to say that...

When attempting to parse a message, with find_groups=False, files with "\r\n" on the final line will fail as the final segment will be "\n", which is then stripped to ""....

I think the fact there is no message for this strucutre returns error for parse/validation for every message after v2.2. Is this reading correct? how can we solve it?

Hello! I had a question about cardinality for different versions and message types. I'm browsing the different package folders for each version, and for /v2_5/messages.py it contains similar to the...

Hello all, I will not purport to be an HL7 guru, but I'm rather confused by the parsed structure that comes out of hl7apy and I'm not clear if this...

. Does HL7apy support **ESCAPE SEQUENCES (IN TEXT FIELDS)** handling? If yes, please let me know the reference docs. I am working on ORU^R01 HL7 message to generate a narrative...

For example, setting MSH_2='^~\&' or '^~\\&' or any combination of slashes or even hard-coding the character with the unicode character number, the ampersand refused to be there. Using u' strings...

The mllp server encoding is hard-coded to 'utf-8'. This can result in errors if decoding of stream fails due to other encoding. **Solution:** change `__init__` of MLLPServer: ``` def __init__(self,...

I have tried adding an additional OBX segment to an ORU_R01 message using a slightly modified code from Michael Sarfati from hl7apy import core hl7 = core.Message("ORU_R01", version="2.2") hl7.msh.msh_3 =...