Help on sending HL7 messages to my intended application

saiprithipa wrote on Wednesday, April 13, 2016:

Im gonna use OpenEMR as a HIS to register a patient and request a order (ORM). All these should be in the form of HL7 messages which are sent to my application. How do I send HL7 messages to my application using OpenEMR.
Should I make use of Mirth?? If so, could somebody help me on this connectivity,

Thanks,
Sai

visolveemr wrote on Wednesday, April 13, 2016:

Yes, you can certainly use Mirth Connect, an open source interoperability interface engine. It can sit between your HIS and Lab, to process the HL7 messages in both ways.
Mirth Connect user guide can be found in this link

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

saiprithipa wrote on Wednesday, April 13, 2016:

Thanks for your response. It helps…
For the MirthConnector to process information from OpenEMR, is there some configuration or setting that should be done from OpenEMR.
Actually to talk to Mirth, OpenEMR needs to have some config rite??

visolveemr wrote on Wednesday, April 13, 2016:

No configuration settings to be done in openEMR. Everything will be handled by Mirth Connect. You can to talk to openEMR by connecting to its database from mirth connect. Example, for Patient Registration, mirth connect channel(your customized channel) will look for whether a new patient is registered in openEMR by looking into its database. From there your code can start processing to generate HL7 for the same. You can even customize HL7 in Mirth Connect as you prefer.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

saiprithipa wrote on Wednesday, April 13, 2016:

Okay got it…
But for my mirth to connect to OpenEMR’s db, i should give the server details of OpenEMR???
I am new to both Mirth and OpenEMR.
Could you help me with a source/link where I can find an example of adding one channel and creating a connection between source and mirth, mirth and destination.

saiprithipa wrote on Wednesday, April 13, 2016:

To make it generic, if at all, Iam not using Mirth, can my application directly pick data from OpenEMR’s db. I wish to know how connection can be established with the OpenEMR’s db.

visolveemr wrote on Wednesday, April 13, 2016:

Yes, you need to add openemr db details in mirth connect. Please find the attached example channel. Make sure you use updated mirth connect. Mirth Java API docs can be found here

saiprithipa wrote on Wednesday, April 13, 2016:

Thanks a ton.
When we say openemr db details, i will find it from the openemr folder that is present in my
“C:”. Could you point me to the db details of the OpenEMR.

sunsetsystems wrote on Wednesday, April 13, 2016:

OpenEMR can generate HL7 lab orders directly, and retrieve the results. Mirth is not required for that. SFTP or local directories can be used for data transport. Some info here:

http://open-emr.org/wiki/index.php/OpenEMR_4.2.1_Users_Guide#Supplementary_Topics

Rod
http://www.sunsetsystems.com/

saiprithipa wrote on Thursday, April 14, 2016:

Thanks…
Im unclear about where in OpenEMR i should do the config such that it generates a HL7 message and later a config to send to the destination ip address

  1. how to generate a hl7 message
  2. how to send this, should i give my destaination ip and port number somewhere?

sunsetsystems wrote on Thursday, April 14, 2016:

See Procedures -> Providers for setting up the connection to the lab, and Procedures -> Configuration for entering order codes that the lab will accept. To create an order use the Procedure Order form while in an encounter. Procedures -> Electronic Reports is what retrieves results.

Rod
http://www.sunsetsystems.com/

saiprithipa wrote on Friday, April 15, 2016:

Thanks for your response.
Where will i find these generated messages in OpenEMR.
Is there a Out folder or something?

sunsetsystems wrote on Friday, April 15, 2016:

Hi Sai, you specify the directories that you want to use in “Orders path” and “Results Path” of the Procedure Provider page (Procedures -> Providers).

Rod
http://www.sunsetsystems.com/