Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Help with Iterate on IN1 and IN2
I have tried to get these segments to iterate with no success. Any help would be appreciated.
Let’s start in your basis, remove %g1 and replace with 0. If you look at the HL7 path on the left side of you screen, the %g1 goes in the location that is edittable. So your basis should be 5(0).0 with %g1 as the variable.
You probably need to put %g1 in your copy statment for the destination too, i.e., 6(%g1).
Hope this helps,
Robert Milfajt Northwestern Medicine Chicago, IL
If I look at the original HL7 there are 3 IN1 segments but I’m still only getting 1. Same with the IN2 segment.
I made the changes like you said but still no luck. Normally I don’t have this much trouble but…..
I’m not sure why you’re trying to copy your 5(0).0 basis into your 6 basis with a path copy.
In your Itterate try a Basis of: 5(0).0
In your path copy try: 5(0).0(%g1) -> 5(0).0(%g1)
I take back my last post as I just looked at your outbound variant. Instead try the following:
Basis: 5(0).0
Path Copy: 5(0).0(%g1) -> 6(%g1)
If the above doesn’t work you may have to try path copying each segment:
Path Copy 5(0).0(%g1).IN1 -> 6(%g1).IN1
Path Copy 5(0).0(%g1).IN2 -> 6(%g1).IN2
etc.