Sending ORU^R01 messages to OpenEMR

hongyan99 wrote on Thursday, July 14, 2016:

I am new to OpenEMR and is asked to research on how to integrate our system with OpenEMR by sending ORU message to it. How would I do that? Is there any code samples and document that some one can share or point me to? Appreciate that in advance!

gowepp wrote on Thursday, July 14, 2016:

Hello Li,

You take a look into Mirth connect which is used to enable bi-directional messages between systems and applications.

Thanks,
Wepp Team

sunsetsystems wrote on Thursday, July 14, 2016:

There is also direct support for lab results. Go here and scroll down to “Diagnostic Studies”.

Rod
http://www.sunsetsystems.com/

hongyan99 wrote on Thursday, July 14, 2016:

Thanks very much to both of you Wepp and Rod! I’ll take a look and come back with more questions if any. Thank you!

hongyan99 wrote on Thursday, July 14, 2016:

I followed the instruction in “Diagnostic Studies” and went to my installation of OpenEMR (v4.2.2), I don’t see the “Enable Lab Exchange” option. What I’m seeing are “Enable New Crop eRx Service”, “Enable NewCrop eRx import status message” and “Enable philMail Direct Messaging Service”. Does it mean that the document is outdated or my installation is wrong? Or should I use an older version of OpenEMR?

Thanks!

gowepp wrote on Thursday, July 14, 2016:

Please take a look on this this setting was removed.

Thanks,
Wepp Team

hongyan99 wrote on Thursday, July 14, 2016:

Thanks Wepp. I’m not sure that I fully understand this. I see that the setting is disabled. How would I send a ORU^R01 message than? Using Mirth? Is there any samples? Forgive me for my ignorance, I’m brand new to OpenEMR or Mirth.

Thanks,
Hongyan

visolveemr wrote on Friday, July 15, 2016:

Hi Hongyan,

Lab Service need to be created as a pre requirement (Admin -> Address book).

To receive ORU^R01 hl7 messages from anywhere in openemr, we need to configure providers in the procedures tab like in the image(provider_config.png).

Once configured provider, place the ORU^R01 HL7 in the results folder. This can be done via mirth transfer/sftp upload/manual.

Once the above steps are done, navigate to “Procedures -> Electronic Reports” in openEmr. When Electronic reports page loads, the results will be processed and will be displayed (patient_results.png).

Attached sample ORU HL7 message for clear reference.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc

hongyan99 wrote on Friday, July 15, 2016:

Thank you very much ViSolve. Finally got it working! One minor issue: When I navigate to the Procedures->Electronic Reports, I got an error

Cannot create file “/var/www/html/openemr/sites/default/procedure_results/2/ORU.hl7”

I know how to manually fix that but better if I don’t have to do that. Is there any settings I need to do to avoid that?

Thanks,
Hongyan

hongyan99 wrote on Friday, July 15, 2016:

Also, in the Electronic Report for the test patient, I see this in the header line:

“Patient has not authorized the Patient Portal”

How would I authorize the Patient Portal for the patient?

Thanks.

hongyan99 wrote on Friday, July 15, 2016:

My bad. I found the instruction. So ignore my question.

Basically I’m following this instruction:

http://www.open-emr.org/wiki/index.php/Patient_Portal

visolveemr wrote on Saturday, July 16, 2016:

Hi Hongyan,
From our view currently there are no settings available for this in OpenEMR. This need to be configured manaually. Else this can be done by code changes in following file “interface/orders/receive_hl7_results.inc.php”

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc

hongyan99 wrote on Saturday, July 16, 2016:

Thanks ViSolve! I created folders and updated the permissions manually and it works for now that way. Thank you!