Translating HL7 message to FRL with multiple record types

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Translating HL7 message to FRL with multiple record types

  • Creator
    Topic
  • #47630
    Richard Horning
    Participant

      All..

      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..

    Viewing 1 reply thread
    • Author
      Replies
      • #56314
        garry r fisher
        Participant

          Hi,

          Can you post your xlate and possibly your HRL. I do similar things quite regularly and the problem I usually have is getting my repitition variables correct i.e. %s1 etc.

          Garry

        • #56315
          Richard Horning
          Participant

            Garry..

            I hope the attached document contains my HRL and my Xlate.

            Thanks..

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.