Since Version 2.0.1 Messages are added an additional level
sedabelga opened this issue · 2 comments
Up to the version 2.0.1 a new nested level is added to readed messages.
For example a PID Messages like:
MSH|^~\&|||||||ADT^A01||P|2.3.1| PID|1||6255197
The PID Segment in version 2.0.0 has been interpreted as follows:
<PID.1><PID.1.1>1</PID.1.1></PID.1><PID.2/><PID.3><PID.3.1>6255197</PID.3.1><PID.3.2/><PID.3.3/><PID.3.4/><PID.3.5>IDSGPA</PID.3.5></PID.3><PID.3><PID.3.1>6255197</PID.3.1></PID.3></PID>
Up to the version 2.0.1 the message is interpreted as follows:
<PID><PID.1><PID.1.1>1</PID.1.1></PID.1><PID.2/><PID.3><PID.3.1><PID.3.1.1>6255197</PID.3.1.1></PID.3.1></PID>
I think the new nested segments are wrong and shall be corrected and display as in the version 2.0.0.
Can you please give the exact output you are getting from this library vs the one you're expecting? The XML response you've shared isn't returned by this library.
Closing due to inactivity