TESTING TOOL – MULTIPLE MESSAGES

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TESTING TOOL – MULTIPLE MESSAGES

  • Creator
    Topic
  • #52083
    Garrett Fletcher
    Participant

      Hello,

      I want to test multiple messages with the XLT testing tool. When I use SMAT to create a file with the messages I want to test the are a couple problems.

      We are running Version 5.3

      1.) SMAT puts the internal message ID before the MSH segment for all the messages. ( I just open the file in Notepad++ and using a regexp replace all to get rid of these, but I was wondering if there was a better way to do it while creating the file)

      2.) The testing tool will not process the file SMAT spits out with multiple messages. It looks like the Testing tool cant tell where the new messages start. The options for the input file are ‘length encoded’, ‘eof terminated’, and ‘new line terminated’. How do I create a file with multiple HL7 messatges so the Testing Tool will be able to process all the messages?

      Thanks,

      Garrett

    Viewing 2 reply threads
    • Author
      Replies
      • #72996
        Jim Kosloskey
        Participant

          Garrett,

          SMAT only puts a length before each message. If you are getting something else that is being done outside of SMAT. I suspect though that what you are seeing is the length. Leave that there.

          Then select length encoded in the Tester and you should be good to go.

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

        • #72997
          Garrett Fletcher
          Participant

            Oh, I thought that was some kind of message ID Cloverleaf assigns the message. When I tried using the untouched SMAT file with the Length Encoded option it worked like a charm!

            Thanks!

            Garrett

          • #72998
            Scott Folley
            Participant

              You will also want to specify to the testing tool that you want to process all of the messages.  There is an option to say “process one record” or “process all records”, if you leave it as “process one record” then you will only ever see the one.

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