ITERATE: TYPE:Group BASIS: 1(0).1 VARIABLE: %g2
nested ITERATE: TYPE:Segment BASIS: 1(0).1(%g2).0(0).OBR VARIABLE: %s2
nested IF 1(0).1(%g2).0(0).OBR(%s2).00258 eq =P
COPY =whatever -> 1(0).1(%g2).1(0).OBX(%s2).00569.[0]
With this xlate, it writes out an OBX, but they are not associated with the corresponding OBR. They are all placed at the end of the message. I need to put a MATH operation in, but I am not sure where. Any help would be greatly appreciated.