Closed rmngrc closed 5 years ago
Hello @rmngrc,
Thank you for this awesome pull request, you rock! 🚀 Could you please add some tests to increase the code coverage? 🏅
Regards,
@rimiti Sure thing! I'm already on it. Will amend the changes soon.
Thank you!
Thank you @rimiti :)
Can you please ping me when a new version is published on npm?
It's released (with https://github.com/rimiti/hl7-object-parser/pull/8) 🚀
Thank you @rmngrc for you awesome work and @nelfurion for your review.
Great stuff! Thank you for your responsiveness @rimiti
Let me know if you would need any help improving/maintaining anything related to this library.
Yeah, it was a great team working. 🤓
For the moment, I don't need help to maintaining this package, but if one day I'll need you'll be notified with pleasure. 👍
Hello!
First of all, thank you for this library. Found very nice the fact that we can customise the output object by creating the mapping!
One of the bad things though come when trying to parse an HL7 message with many segments of one kind, like test results which may contain many observations and notes. See this message as example extracted from https://hl7messageparser.azurewebsites.net/Parse/Samples:
I made some changes to the lib to loop through the different segments first and not just by the keys set up in the mapping object.
With the following object in the mapping:
This would be parsed as:
Hope you find it useful and we can merge it soon.
PS: I am working in the meantime on extending the unit tests for this case.