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

How to we identify the message type like ADT/ORU/

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

  • How to we identify the message type like ADT/ORU/

    I am a beginner to the mirth project. I am going through the concepts and implementation of Mirth.

    I have a quick question,

    How to we identify the message type like ADT/ORU/SIU...etc

    Thanks in advance,
    Ranjith.

  • #2
    Re:How to we identify the message type like ADT/ORU/

    If you look at field 7 in the MSH segment you will see message type.
    All HL7 messages have the MSH segment. In field 7 you will see the message type and event code.

    thanks,
    Baziz

    Comment


    • #3
      Re:How to we identify the message type like ADT/OR

      Here's a code snippet from my channel filter to determine if a message type is "MDM".

      Code:
      if (msg['MSH']['MSH.9']['MSH.9.1'].toString() == 'MDM') {
        return true;
      }
      return false;

      Comment

      Working...
      X