Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › XML –> HL7 xlate, ITERATE problem
Cloverleaf v5.5, Sun, Solaris 10.
I’m simply trying to xlate an ip XML file to an op HL7 file.
Hi Johnny,
On the XML side, you are iterating at the segment level (OBX). On the HL7 output side, the iteration is at the group level.
The iteration at the group level is not happening because of a syntax error in the destination of your copy statements for the OBX segment.
Currently, you have:
—> 1(0).1(0).3(0).0(0)(%s1).OBX
As written, the %s1 variable does not affect the group, which remains 0(0)
It should be
—-> 1(0).1(0).3(0).0(%s1).OBX
This simple change should get you going.
I hope this helps.
Levy, that fixed it. Thanks. 😀