Iterating on a subgroup

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Iterating on a subgroup

  • Creator
    Topic
  • #48620
    Jay Yeiser
    Participant

      How do you set up an xlate to iterate on a HL7 sub group?  I see how to iterate through groups, segments, and fields but I do not see how to iterate through sub groups.

    Viewing 0 reply threads
    • Author
      Replies
      • #59185
        Keith McLeod
        Participant

          You need to add the %g1 variable in the basis of the iterate for the subgroup.  Then for the sub group you need to use a different variable such as %g2. For instance if the basis for the group was 0 and the variable was %g1 then for the subgroup its basis might be 0(%g1).0 with the subgroup variable of %g2.  Hope this helps….. Check the basis for the subgroup……

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