I’m not sure what you mean by control. This file comes from a client.
The format of the vrl is:
Account#|Ref Dr|Pat Type|I9^Diag1~I9^Diag2~I9^Diag3
I was able to get it to work using a list iteration. But I had to limit it to fixed number of codes.
I would like to use a method that would map all the codes into separate DG1 segments regardless of how many there are.
It was unusual that the field used HL7 delimiters in a VRL. So, we tried copying them over to a temp field on the right side and then trying a field iteration from that side. But it did not work.