Hi Jeffery,
Thanks for the insight.
I tired testing by filling in the required fields in the test message.
The main issue still remains which is it is unable to loop over ORC segments. It looks like there's a nested PIDgrpgrp() under ORCgrp().OBRgrp() that contains a subordinate ORCgrp(). For some reason, the system is unable to loop over the ORC group in this structure. Interestingly, when I removed the OBR(), from the message structure the system was able to successfully loop over multiple ORC segments. Also, if I remove this optional PIDgrpgrp() from the message specification, the issue appears to be resolved.
I’m not sure why that nested structure exists. Is it standard for HL7 OML^O21? If it is, Intersystems should ideally provide a clearer error message to help us troubleshoot this more effectively.
- Log in to post comments