You need to PATHCOPY @NULL over the outbound OBX segments after the CONTINUE segment and before your next ITERATE over the OBR segments.
so…
ITERATE over OBR
ITERATE over OBX
COPY OBX segments to outbound message
CONTINUE meesage when OBX iteration complete
ITERATE over outbound OBX message to clear OBX lines
Hope this gets you going.