routing messages based on OBR value, not MSH type

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf routing messages based on OBR value, not MSH type

  • Creator
    Topic
  • #48203
    Jason Bond
    Participant

      This is probably a simple tcl pre proc, but I need to route some messages through a different translation based on a value in the OBR segment and not the traditional trx id in the MSH segment.  I wanted to stay as gui as possible and just set up an additional route in the route messages portion based on the value.  I know it’s not that simple, but any help would be appreciated.

      Thanks,

      Jason Bond

      Samaritan Health

    Viewing 1 reply thread
    • Author
      Replies
      • #58000
        Mark Thompson
        Participant

          Jason,

          You can do this with “pure GUI” if you like.  It is not as effecient as a Tcl pre-proc, and it can get confusing when you start killing messages during translation.

          Simply route the message to BOTH translates.  In each translate add an IF statement that examines the OBR value.  Place a SUPPRESS action in the IF for messages that you want to KILL.  It’s not effecient, but depending on your comfort level with Tcl, it might be your most supportable solution.  It’s your choice.

          - Mark Thompson
          HealthPartners

        • #58001
          Jason Bond
          Participant

            I should have thought of that, thank you, I will try that first as my tcl is not up to par yet.  Thanks again.

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