Multiple Outbound Messages from a Single Inbound

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multiple Outbound Messages from a Single Inbound

  • Creator
    Topic
  • #50481
    David Harrison
    Participant

      I am developing an ordercomms interface between Radiology and PAS. The Rad system supplies HL7 messages whilst the PAS uses SMS Openlink.

      The Rad system generates ORU^R01 messages which can contain reports, in the OBX segment, for more than one examination

    Viewing 2 reply threads
    • Author
      Replies
      • #66266
        Anonymous
        Participant

          Yes you can do this.

          Try the continue command.

          Basic structure I use is

          Suppress –

          Build comon part of message

          Iterstart –

           do stuff

            continue

          iterend.

        • #66267
          Jim Kosloskey
          Participant

            Dave,

            It is doable – I have done it  and helped others do it many times.

            I prefer to use CONTINUE rather than SEND. CONTINUE moves the message from the Translate to the next step in the engine; SEND moves the message immediately to the outbound thread.

            In most cases SEND will seem to work fine until one needs to add a post Xlate proc. With SEND the post Xlate proc will be bypassed and it could take some time to figure out what is happening.

            Judicious placement of the SEND/CONTINUE is critical to success. Each situation is a little different so it may be cumbersome to assist via the forum.

            Don’t forget to have a SUPPRESS (I usually put it first in my Xlate unless I am creating messages inside an IF). This will assure the message the Xlate always builds no matter what does NOT get sent.

            So inside your ITERATE at the point you know you need a message, do the CONTINUE. If you place the CONTINUE outside of the ITERATE it may only produce one message.

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #66268

            You may also want to consider doing this in a tps proc.

            -- Max Drown (Infor)

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