I have a need to translate a OMS_O05 HL7 message to a multiple record type FRL file. The inbound OMS message has the following structure.
MSH
ORC
{
RQD
RQ1
}
The output FRL has the following structure
H – Header
L – Line item 1
L – Line item 2
L – Line item 3
ETC…
The output H record contains information from the MSH and ORC segments. Each line item L record contains information from the corresponding RQD/RQ1 group.
I have set up two FRL’s for the H and L formats. I have also set up an HRL over the two FRL’s (not sure if my repeating entries are correct). I am able to create the translation to move the MSH/ORC to the H format, but my iterative copies from the RQD/RQ1 group to the L format only creates one L segment. I am quite sure that the iteration in the Xlate is correct, but I’m wondering if someone might give me some insight as to why I don’t get multiple L segments when I have multiple RQD/RQ1 groups. Thanks..