Announcement

Collapse
No announcement yet.

Complete REference FUnctions

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

  • Complete REference FUnctions

    HI everybody!
    I was wondering if all of the reference methods listed are the only ones supported by Mirth 1.4..?
    I am thinking of to create different destination for different event codes, but how?
    Is that possible?

    Thank you very much!
    Have a great day!

    Post edited by: shifting_18, at: 05/24/2007 02:40
    Tonet

  • #2
    Re:Complete REference FUnctions

    Use a filter on the destination to check the message event codes and only allow messages to pass through if the event code is correct.

    Post edited by: brendanh, at: 05/24/2007 12:02
    Brendan Haverlock | Mirth Software Engineer | Mirth Corporation

    Comment


    • #3
      Re:Complete REference FUnctions

      Ok, so is the code below alright?

      if (messageObject.getType()== 'ADT-A04')
      return true;
      else
      return false;

      I forgot to mention that I'm using an Oracle Database Reader and there is no field in it such as ADT-A04, etc. So how should I do this? Is there another way?

      How do you guys handle this in Mirth? Do you make use also of different destinations to correctly create the right HL7?
      Tonet

      Comment


      • #4
        Re:Complete REference FUnctions

        Just check the condition that would spawn an ADT-A04 message and return true for that. You would then specify ADT-A04 in the outgoing message template for that destination.
        Brendan Haverlock | Mirth Software Engineer | Mirth Corporation

        Comment


        • #5
          Re:Complete REference FUnctions

          hi! I tried declaring event code on the mapper and it worked fine! THanks brendanh! You gave me a great hint!!!

          Post edited by: shifting_18, at: 05/29/2007 18:14
          Tonet

          Comment

          Working...
          X