Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for newline (\n) returns as well as normally expected carriage (\r) returns #13

Open
SathusanK opened this issue Dec 30, 2022 · 1 comment

Comments

@SathusanK
Copy link

SathusanK commented Dec 30, 2022

Currently if you try to use .create to create an object representing the hl7 message, it will only identify the MSH segment when the HL7 string has newline returns between each segment. Is it possible to account for this edge case?

I have also identified that the use of \r instead of \n is standard for HL7, but apparently this can vary between operating systems when copy-pasting messages.

Thank you.

@Bugs5382
Copy link

Bugs5382 commented Jun 4, 2024

@SathusanK - I have fixed this issue with my package: https://github.com/Bugs5382/node-hl7-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants