web stats
"Respond From" ACK doesn't respond correctly. - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2008, 01:28 PM
dvenier dvenier is offline
Mirth Newb
 
Join Date: Oct 2007
Posts: 21
dvenier
Default "Respond From" ACK doesn't respond correctly.

I'm trying to test Mirth as a pass through for a few things but I'm having a problem with the negative acks. If a positive ack is returned from the other system the ack is fine, but if a negative ack is returned to Mirth, it forwards on the ack to the originator with a more data than necessary. See below for what was sent and what I expected to see sent.

I have the "Send ACK:" section of the source setup to "Respond from: Destination 1".
Any help would be appreciated!

Here is what I receive as the ACK:
Code:
NACK sent from receiver:  [Application Reject]

Segment "FTS" [59]: Unexpected segment, Path: 'PATIENT_RESULT/ORDER_OBSERVATION[20]/OBSERVATION[0]'. \.br\Required field missing, Path: 'MSH/MessageControlID'.: MSH|~\E\\T\|Engine|Engine Clinic^0001|Billing System|Billing System|20080404162336||ACK|1207340195|P|2.3
MSA|AR|
ERR|Segment "FTS" [59]: Unexpected segment, Path: 'PATIENT_RESULT/ORDER_OBSERVATION[20]/OBSERVATION[0]'. \.br\Required field missing, Path: 'MSH/MessageControlID'.
Here is what I expected to receive:
Code:
MSH|^~\&|Engine|Engine Clinic^0001|Billing System|Billing System|20080404162336||ACK|1207340195|P|2.3
MSA|AR|
ERR|Segment "FTS" [59]: Unexpected segment, Path: 'PATIENT_RESULT/ORDER_OBSERVATION[20]/OBSERVATION[0]'. \.br\Required field missing, Path: 'MSH/MessageControlID'.
Reply With Quote
  #2  
Old 04-09-2008, 05:13 AM
dvenier dvenier is offline
Mirth Newb
 
Join Date: Oct 2007
Posts: 21
dvenier
Default Re:"Respond From" ACK doesn't respond correctly.

Anyone have any thoughts on this one or is this a bug that should be submitted?
Thanks,
-Dave
Reply With Quote
  #3  
Old 04-09-2008, 09:32 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default Re:"Respond From" ACK doesn't respond co

If you "respond from destination 1" you will want to put a custom ack in the response map of destination 1. If you just want to respond with a standard ack if the destinations were sent successfully, simply select send ack yes.

Post edited by: jacobb, at: 04/09/2008 10:33
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
  #4  
Old 07-02-2008, 01:40 AM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default Re:"Respond From" ACK doesn't respond correctly.

Hi Jacobb,

I seem to be having a problem with Acknowledgements as a Standard ACK wont suffice. Can you please guide me on how to create a custom ACK message.

Any help on this will be great!!!

Thanks,
Ali
Reply With Quote
  #5  
Old 07-06-2008, 09:25 PM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default Re:"Respond From" ACK doesn't respond correctly.

Hi All,

Has anyone faced this problem ? Help is greatly appreciated.

Thanks,
mac
Reply With Quote
  #6  
Old 08-22-2008, 06:47 AM
jpiascik jpiascik is offline
Mirth Newb
 
Join Date: Oct 2006
Location: Connecticut
Posts: 22
jpiascik
Default Re:"Respond From" ACK doesn't respond correctly.

Hi everyone,

Has there been any more direction on how to set up custom ACKs? I'm trying to send one to a TCP Sender for an X12 ACK. I think I have everything setup correctly (adding ACK string to response map in source connector transformer script, setting 'respond from' in the source connector to the response variable), but I do not see the ACK being returned over the wire (using WireShark to monitor).

Thanks.
Reply With Quote
  #7  
Old 08-22-2008, 06:55 AM
jpiascik jpiascik is offline
Mirth Newb
 
Join Date: Oct 2006
Location: Connecticut
Posts: 22
jpiascik
Default Re:"Respond From" ACK doesn't respond correctly.

In my last post, 'TCP Sender' should be 'TCP Connector'. Here are some screen prints of my setup for the ACK.

Building the ACK in the Source Connector Transformer:

ack="ISA*00* *00* *ZZ*ENVOY * * *080819*1640*U*00401*169222813*0*T*:~TA1*169222813 *080819*1640*A*011~IEA*1*169222813~";
responseMap.put('ack', ResponseFactory.getSuccessResponse(ack));

Setting the ?Respond from:? in the Source Connector:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
X12 ack as 'Respond From' on TCP Listener jpiascik Support 3 08-27-2008 04:44 AM
Mirth not starting correctly dblodgett Support 1 01-22-2008 04:54 PM
Will Mirth work correctly behind a load balancer? jbartels Support 1 04-02-2007 04:49 PM


All times are GMT -8. The time now is 11:57 PM.


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