Mirth connection

imras wrote on Monday, December 16, 2013:

Hi,

Being new to OpenEmr I have a question regarding Mirth integration with OpenEmr.
The background: I participate in a project to develop a HL7 gateway for a med tech company. The med tech device will receive incoming HL7 patient registration requests and send outgoing HL7 lab results. Mirth will be involved.
Our idea is to use OpenEmr as a test tool.

My question: Do I need to modifiy openEmr software source code to achieve these Mirth connections, or is it possible just to change OpenEmr configuration files?
I couldn’t really find any clear information on this. Maybe I just didn’t look hard enough?

visolveemr wrote on Monday, December 16, 2013:

Kjell

From our understanding your Problem is:
you need to integrate your med device with a EMR(in this case OpenEMR) for demonstration. You are planning to use mirth as an intermediate Parser. So you want to know how mirth can communicate with OpenEMR.

The Solution:

In perspective of a developer, OpenEMR is nothing more than a Organized Database. So using mirth one can pool database and create any kind of HL7 transactions. The same reverse process can be applied to write data into database.

Send Patient Registrations:

Medical transactions are always Protocol Based. To register a patient one should use ADT-A04 feed. So we can directly communicate with OpenEMR database, pool necessary data records and compose a HL7 ADT-A04 message.

Receive Result Information:

Normally results will be sent in a HL7 ORU message. So the developer can parse information from the incoming ORU message and affect the database.

For doing the above stuffs, there is no need to change anything in the code. May be to keep track of patient registration sent,etc you may have to alter some tables, so that mirth will manipulate the modified records and compose ADT’s.

To manipulate procedure order-results, you can make use of following tables:

1.) Procedure Order
2.) Procedure Type
3.) Procedure report
4.) Procedure result

Hope This Helps

Thanks
OpenEMR Customization/Support provider,
ViSolve Inc
services@visolve.com

sunsetsystems wrote on Monday, December 16, 2013:

OpenEMR can already generate HL7 orders and receive HL7 results without itself requiring Mirth. There’s some introductory info here:

http://open-emr.org/wiki/index.php/Electronic_Procedure_Orders

Rod
http://www.sunsetsystems.com/

tmccormi wrote on Tuesday, December 17, 2013:

WE use Mirth in various ways to connect HL7 sources to OpenEMR, we tend to use mirth to create reformed record from incoming HL7 into a table in OpenEMR and process it from the incoming table into the target tables.

–Tony
www-mi-squared

juggernautsei wrote on Friday, December 04, 2015:

Rod,
Is there any more information on how OE is supposed to drop this HL7 file and import a return ORU from the ORM?

Thanks, cause we’re trying like the dickens to make this happen so we don’t have to use myrth.

sunsetsystems wrote on Friday, December 04, 2015:

Sherwin, if you look in Procedures -> Providers you’ll see theat SFTP and Local Filesystem are the methods currently available. If you have any specific questions I’ll try to be of help.

Rod
http://www.sunsetsystems.com/

shangyujuan wrote on Tuesday, March 15, 2016:

Hi,Tony,sorry to disturb you,I find this discussion and really want to know the result,I was trying to connect openemr with mirth,so that I can sent procedure order to it and receive it as well,is all of this feasible?And how to configure this provider(mirth)?So many thanks!

cmswest wrote on Tuesday, March 15, 2016:

i have mirth write the hl7 result to a file and then configure the procedure-> provider to read from either the local filesystem or sftp

maybe you could try that approach with the order?

http://www.mirthcorp.com/community/wiki/display/mirthuserguidev1r8p0/Filter+and+Mapping+Transformer

mdsupport wrote on Tuesday, March 15, 2016:

‘Provider’ configuration you refer can fetch and put HL7 files … like a broker or EDI mailbox. However, you should consider Tony’s approach since Mirth connectors have much more robust handling of hl7 structures.

cmswest wrote on Tuesday, March 15, 2016:

Rod’s electronic procedure code handles the hl7 robustly, thanks MD support

tmccormi wrote on Tuesday, March 15, 2016:

If you are just pulling in lab orders then I agree, just use Rod’s HL7 code.