From 99e71d757bf2636d80e0777dc813516ce6b45d65 Mon Sep 17 00:00:00 2001 From: Delphine BAYLE Date: Mon, 8 Sep 2025 15:02:55 +0200 Subject: [PATCH] Correct obrSegmentPositionIndex_orc increment in ORU_R01.liquid. Put it in OBR for loop instead of OBX for loop. --- data/Templates/Hl7v2/ORU_R01.liquid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/Templates/Hl7v2/ORU_R01.liquid b/data/Templates/Hl7v2/ORU_R01.liquid index bdb323f9d..a19db92fc 100644 --- a/data/Templates/Hl7v2/ORU_R01.liquid +++ b/data/Templates/Hl7v2/ORU_R01.liquid @@ -1854,8 +1854,8 @@ {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding start {%- endcomment -%} {% endfor -%} {% assign obxSegmentPositionIndex_obr = obxSegmentPositionIndex_obr | plus: 1 -%} - {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} - {% endfor -%} - {% endfor -%} + {% endfor -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + {% endfor -%} ] } \ No newline at end of file