Announcement

Collapse
No announcement yet.

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