web stats
ACK and accession # in on-update statement - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2012, 02:48 AM
Birkerod Birkerod is offline
What's HL7?
 
Join Date: Sep 2011
Posts: 4
Birkerod is on a distinguished road
Default ACK and accession # in on-update statement

Hi.

This will proabably be elementary to many, but am I right when I think, that the "Run on-update statement" is triggered by an ACK recived as response to a HL7 statement sent?

Second. How do I get the accession # sent back in the ACK message?
I can get the accession # that is sent, and it should be the same as the one recieved, but for the principel of the thing, how do I read data in the ACK recieved.

Sincerely
Birkerod
Reply With Quote
  #2  
Old 04-27-2012, 05:00 AM
asulis asulis is offline
Mirth Guru
 
Join Date: Dec 2006
Location: Cagliari, Sardinia, Italy
Posts: 210
asulis is an unknown quantity at this point
Default

Hi birkerod,
The "run on update statement" is a database reader connector option that allows you to do something immediately after the execution of a polling cicle (i.e. mark the read line).
About your second question you can:

1) Send the ack to another channel where to manage it, using the destination connector's "send response to" option;

2)Alternatively, you can write a postprocessing script in order to catch ack in the same channel. There are many posts in this forum about this topic.

Best regards,
Alessandro
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Mirth Corporation