I’m trying to do an iteration with the PR1 segment. This is the fallowing output with just a BULKCOPY:
MESSAGE 1
0(0).MSH(0) : >data…
0(0).EVN(0) : >data…
0(0).PID(0) : >data…
0(0).PV1(0) : >data…
0(0).DG1(0) : >data…
0(0).DG1(1) : >data…
0(0).DG1(2) : >data…
0(0).DRG(0) : >data…
1(0).0(0).PR1(0) : >data…
1(0).0(1).PR1(0) : >data…
1(0).0(2).PR1(0) : >data…
But what I’m trying to do is to with every PR1 line I want to manipulate the data as the Iteration increments. Currently the manipulation of the data doesn’t goes beyond the 1(0).0(0).PR1 and doesn’t do anything for 1(0).0(1).PR1 etc… For my iteration I’m doing the group type. The HL7 layout is as fallows:
[ DG1 ]
[ DRG ]
[
{
PR1
[{ ROL } ]
}
]
Any help would be great.