web stats
Get Processed HL7 Message Back from Destination Processing Channel - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2016, 10:14 AM
russell.gomez russell.gomez is offline
What's HL7?
 
Join Date: Apr 2012
Posts: 5
russell.gomez is on a distinguished road
Default Get Processed HL7 Message Back from Destination Processing Channel

So here is my setup:

Acquire Channels to Process Channel to Response Back to Process Channel to Use Response for Sent Message toDeliver Channel

Acquire Channel Retrieves message from Database in XML Format
1. 1st Destination is a DB Logger to set the status of the database row that was retrieved to in process (-9)
2. 2nd Destination is the Process channel that should process the XML message according to its type in each destination connector(ADT^A04, ADT^A08, DFT^P03, BAR^P05) and return an HL7 response of the Processed Message back to the Acquire Channel
3. 3rd Destination uses HL7 response message from Process channel to deliver to TCP or SFTP or Other destination based off other channelMap data found in the Acquire Channel.
4. Once all the destinations are complete the source DB Connector would query for the next message in the database.

I have had no success to date with setting responseMap values for each Destination Connector as well as trying to return the message object in the postprocessor. I have tried a mixture of the Source Connector Response to point to the post processor and also the responseMap variable I have set but the closest I have come is when setting the return value in the postprocessor as 'message' and setting the Process Channel Source Connector Response to point to the postprocessor as I see the Response Transformed and Processed Response options appear in the messages view (alongside Raw, Encoded, Sent, and Response). The Response Transformed only shows message 488 (or 489++ etc) for each message. I am looking to have the message after it has been processed by the destination connector logic (channel writer set to None) returned to the Acquire channel for further processing (i.e. sent to Deliver Channel).

Any suggestions at all would be very helpful.
Attached Files
File Type: xml OB_Acquire_BaseChannels_22.xml (32.9 KB, 7 views)
File Type: xml OB_Process.xml (192.1 KB, 9 views)
File Type: xml OB_Delivery.xml (54.0 KB, 4 views)
Reply With Quote
Reply

Tags
postprocessor, response map

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 -8. The time now is 01:14 AM.


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