I need help to Split a HL7 message based on ORC segments which is repetitive

Clovertech Forums Cloverleaf I need help to Split a HL7 message based on ORC segments which is repetitive

  • Creator
    Topic
  • #111972
    Raj
    Participant

      Any help with Tcl script  to do this will be helpful  or how i should be doing this with Xlate.

       

      Thanks

      Raj

    Viewing 0 reply threads
    • Author
      Replies
      • #111973
        Jim Kosloskey
        Participant

          Place a SUPPRESS Action at the beginning of your Xlate.

          ITERATE over the ORC Group. At the end of the ORC logic before the ORC ITERATE ends, issue a CONTINUE Action.

          The Xlate will always try to produce a message. Using the CONTINUE you are taking control of when messages will be produced within the Xlate so the SUPPRESS unilaterally executed cause the message the Xlate would produce on its own (in this cas a copy of the last message you CONTINUE) to be SUPPRESSed.

          Use a CONTINUE instead of a SEND. The CONTINUE causes each message to pass on to the next processing step in Cloverleaf (post-Xlate), the SEND causes the message to go immediately to the destination thread.

          I cover this and more in my Xlate ITERATE Class.

          Jim

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

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.