Goal: Iterate through 2 groups of incoming frl fields (diag_1 thru diag_10 then dg2_1 thru dg2_11) placing them in HL7’s 0(0).DG1(1) thru 0(0).DG1(21).
Problem: The first iteration through (list 1 thru 10) works fine. However, when iterating a second time from 1 thru 11 and incrementing the variable by 10, our output gives unexpected results. Help!