Skip to content

Conversation

@Delne
Copy link

@Delne Delne commented Sep 8, 2025

Fixes #605

This change ensures that obrSegmentPositionIndex_orc is incremented correctly inside the OBR loop rather than the OBX loop.
Previously, checkParent always referenced the first ORC segment depending on message structure, instead of the actual ORC parent of the current OBR.
By adjusting the position index logic, the correct ORC-OBR relationship is now maintained.

Put it in OBR for loop instead of OBX for loop.
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

Successfully merging this pull request may close these issues.

Bug in ORU_R01.liquid : obrSegmentPositionIndex_orc incorrectly incremented in OBX loop instead of OBR loop

1 participant