web stats
Sending unsolicited messages to a client through a TCP Listener - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2013, 08:32 AM
mmaund mmaund is offline
Mirth Newb
 
Join Date: Mar 2008
Posts: 13
mmaund
Question Sending unsolicited messages to a client through a TCP Listener

Hello,

We have a International customer that has an LIS system they believe (either due to technical limits or IT Policy) needs to be the TCP Client that establishes connections to our Data Manager. I know Mirth can be a TCP Listener but this configuration is typically used if the LIS has data it needs to send (aka ADT Feed).

This customor is requesting that their LIS initiate the TCP connection to Mirth but Mirth will be the source of the information that needs to be sent to the LIS over this channel.

My question is, if Mirth is the TCP Listener, how do we send HL7 messages (ORU) to the LIS through this Listener channel? (We can stick with the newest Mirth v3.0.0.6931 since I know it has a few more features at our disposal.) Would this require a trick using two channels and the response message?

Here is the proposed workflow between a data manager/Mirth (DM) and an LIS.
1. LIS initiates a TCP connection to Mirth Connect on an IP/Port. I don't believe the LIS sends any request message other than the low-level TCP connection request.
2. When the DM has data to send, it needs to send it to the LIS.
NOTE: it is usually the case at this point that Mirth would be the sender (not the listener).

I am having trouble understanding how to make this work where Mirth is the Message client but is the TCP Listener.

I hope this makes sense. I usually convince the LIS vendor that they need to be the TCP Server so Mirth can initiate connections when it has data to send.

Thank you much.

Mark
Reply With Quote
  #2  
Old 11-20-2013, 10:21 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

We don't support that yet, but there's an open ticket for it: MIRTH-2446

Feel free to vote/comment on it.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
client, listener, mode, server, tcp

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 02:25 AM.


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