Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

hl7 message pre-processing help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • hl7 message pre-processing help

    Mirth is moving the hl7 meessage file from source dir to destination dir without processing.
    I dont see any errors or other information.
    I don't see any information in the dashboard that it read the file.

    Found out that the hl7 message file contains EOL as \xOA. Once I change it to \xOD (manually) it works.

    I tried using preprocessor to replace: return message.replace(/\x0A/g,"\x0D")

    It does not work. Seems like its not getting executed.

    Any ideas how to handle this.

    thank you.

  • #2
    Does anyone know how to fix this issue? I'm having issues where a text file has multiple HL7 messages in it but the file is not in the proper format. I'm trying to do something similar in the preprocessor and then shuffle it into another channel so it can then parse out the individual messages. Alas, it's not working and I'm not getting errors.

    Thanks

    Comment


    • #3
      Originally posted by smeddows View Post
      Does anyone know how to fix this issue? I'm having issues where a text file has multiple HL7 messages in it but the file is not in the proper format. I'm trying to do something similar in the preprocessor and then shuffle it into another channel so it can then parse out the individual messages. Alas, it's not working and I'm not getting errors.

      Thanks
      What exactly is going wrong? What preprocessor code are you using?
      Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

      Nicholas Rupley
      Work: 949-237-6069
      Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


      - How do I foo?
      - You just bar.

      Comment


      • #4
        I think you need to remove the quotes from the 0xD...not sure though
        I can be reached through gmail and Google Talk using davidrothbauer at gmail dot com
        http://www.linkedin.com/pub/david-rothbauer/5/923/518
        codeismydrug.wordpress.com
        hl7coders.wordpress.com

        Test all my code suggestions prior to implementation

        Comment

        Working...
        X