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?
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
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.
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.
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!
‘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.