3 routes, 3 FRL, 1 fileset-local thread

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf 3 routes, 3 FRL, 1 fileset-local thread

  • Creator
    Topic
  • #54838
    Dustin Sayes
    Participant

      Hello,

      I want to have 1 thread handling 3 file types and depending on the file, the correct route will be chosen.

      For example three file types… the files are pre processed and a header is added. File 1 gets XXX as the first 3 characters, File 2 gets ZZZ as the first 3 characters and File 3 gets FFF as the first three characters.

      I want all 3 of the files to go to the same inbound folder for this thread. I want to use routes and route detail to determine which xlate the file runs on based on the headers.. XXX, ZZZ or FFF. (I have 3 xlates, one for each file type ZZZ, FFF, XXX – all 3 files are FRL in HL7 out) The outbound folder is the same for all 3 files types.

      How do I do this? How do I tell the route to say okay this is the XXX file then use the XXX123.xlt for this file, oh, this file is ZZZ so use the ZZZ123.xlt on this file. I have done with with ADT using ADT |1|2|3|4 etc.. type notation… but how do I do this for an FRL inbound format??

    Viewing 5 reply threads
    • Author
      Replies
      • #83169
        Charlie Bursell
        Participant

          Simple.  Just define it as an FRL route and route on the first 3 characters.  You can define different Xlates for different routes

        • #83170
          Dustin Sayes
          Participant

            currently it is set as _HCI_static_route_

            In this field is where I would put the first three characters right?

            The inbound Trx ID format is set to FRL.

            Is there someone else I need to setup? putting the first three characters in the route name field where _HCI_static_route_ is but my messages failed.

          • #83171
            Charlie Bursell
            Participant

              In the Frl TRXID setup up did you define characters 0-2?

              This is simple Level 1 stuff

            • #83172
              Dustin Sayes
              Participant

                Thanks Charlie. Your right it is simple level 1 stuff.

                I guess it has taken this many years in my cloverleaf career to deal with a site that uses so much FRL.

                Thanks! Dustin

              • #83173
                Keith McLeod
                Participant

                  Under the FRL Trx ID Determination, you need to define offset and length.

                • #83174
                  Dustin Sayes
                  Participant

                    Thanks. I had failed to set the offset and length in Trxid.

                    Working now.

                    Thank you!

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