Replies: 1 comment
-
Have you had a look at the wiki for examples on how to decode messages? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just started using NHAPI and trying to understand how it parses messages, and how you access segments.
I have an HL7 message like this:
I parse it like this:
I can access the MSH and EVN segments by using the GetStructure method:
message.GetStructure("MSH")
But I can't access the OBX, ORC, OBR, PID or custom ZDR segment using GetStructure.
If I convert the message to xml like this:
I get the following structure:
What I don't understand is why are the PID, ORC, OBR, OBX and ZDR segments encoded inside an ORU_R01.RESPONSE, and how do I access those segments from the IMessage?
Beta Was this translation helpful? Give feedback.
All reactions