XML –> HL7 xlate, ITERATE problem

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XML –> HL7 xlate, ITERATE problem

  • Creator
    Topic
  • #51331
    Johnny Anderson
    Participant

    Cloverleaf v5.5, Sun, Solaris 10.

    I’m simply trying to xlate an ip XML file to an op HL7 file.

Viewing 1 reply thread
  • Author
    Replies
    • #69754
      Levy Lazarre
      Participant

      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.

    • #69755
      Johnny Anderson
      Participant

      Levy, that fixed it.  Thanks.  ðŸ˜€

Viewing 1 reply thread
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,080
Forums
28
Topics
9,258
Replies
34,286
Topic Tags
275