In the first post of our Mirth Connect Series, we gave a brief introduction of Mirth and its architecture. As promised, we are back with another post on Mirth Connect to show how we integrated Epic EHR with a lab system using Mirth Connect.

EHRs are an important part of healthcare ecosystem but their integration with insurance, billing labs, and other EHRs still remains a challenge. Although there have been numerous technology solutions over the years to tackle the integration challenges but no one-stop solution like Mirth which seamlessly listens, validates, transforms, routes and manages to create a robust and scalable integration channels.

Recently we worked with one of our customers to integrate their Epic EHR installation to an in-house lab information system(LIS). Their current process was manual and cumbersome. A complete pathology workflows would take days to complete. Although, they had built an integration solution but it was not as effective as they anticipated since their internal  IT team had limited exposure on both Epic as well as custom built LIS.

Considering Epic is based on Mumps, we had limited options to get data directly from Epic. It is quite easy to turn on HL7 data hose as Epic has a strong support for HL7 exports.

 how to integrate Epic with lab systems via Mirth

Let us take a look at how we integrated Epic with Mirth to create a faster, easier, secure, and effective system to integrate Epic with a custom LIS.

Extracting Data from Epic

Since Epic takes care of the message generation, all we needed was a listener to accept the messages and normalize to build a format which LIS would accept. Here is how to create a simple TCP listener channel in Mirth

Steps to define TCP settings on the Source tab:

  1. Connector Type- Select TCP Listener
  2. Listener Settings – Select All interfaces and add port to Local port.
  3. Listener Settings – Specify a TCP/IP Port Number make sure that this port must not conflict with any other ports in use by Mirth or any other software running on the machine.
  4. TCP Listener Settings – Select MLLP in Transmission Mode:
  5. Once you are done save, enable and deploy the channel

After defining these settings our channel was ready to pull data from Epic, and we were able to pull data successfully.

De-Identifying HL7 datapatient information

The Customer had a specific requirement to not transfer any PHI to LIS. They maintain a universal patient index and multiple patient identities in various applications were linked with this Universal Patient ID. This could be easily handled at the
Mirth level with a simple transformer or another chained Mirth channel. We opted for another channel as there were some specific requirements to preprocess the message before it gets routed to LIS.

Lab application workflow:

Although data insertion to their LIS was straightforward but customer’s LIS had a specific workflow implementation around provider and patient notifications e.g. any entry to LIS interface via the frontend would:

  • Flag the lab record if any abnormality.
  • Generate a notification for the provider on abnormality as well as lab results availability.
  • Generate a notification for the patient on lab results availability.

To flag the lab record if lab results are out of range, we had to build out a rules repository. Every lab result was put through a range check and marked normal or abnormal based on range check results. For the notification, we interfaced with their notification API directly from Mirth to generate provider and patient notification as each record got processed and saved.

We were able to get the interface live within 2 months time, which would not have been possible, hadn’t it been for the infrastructure provided by Mirth. This is just an example that when it comes to creating cost-effective implementation of business rules and workflows,  no one does it better than Mirth.

Need any assistance on Mirth? Get in touch we would love to help!


June 17, 2016
how to integrate Epic with lab information system with Mirth

Case Study : Integrating Epic EHR and Lab Information system with Mirth connect

In the first post of our Mirth Connect Series, we gave a brief introduction of Mirth and its architecture. As promised, we are back with another post on Mirth Connect to show how we integrated Epic EHR with a lab system using Mirth Connect. EHRs are an important part of […]
May 31, 2016
healthcare influencers to follow on twitter

Top 10 Healthcare Influencers to Follow on Twitter

In a generation that is more likely to go online to find a health related answer than visit their doctor, social media has played the catalyst. More than 40% of consumers admit that the information found via social media affect the way they deal with their health. Even health care […]
May 26, 2016
mobile health to connected health: trends shaping future of healthcare

Mobile Health: Trends Shaping the Future of Health Care [Infographic]

Mobile technology has touched upon every aspect of our lives. We use our mobile devices to communicate, socialize, take pictures, and now manage our health.  Mobile health (mHealth) —  practicing, delivering, managing health via mobile devices — has enabled providers, patients and whole healthcare system to bring connected health to […]
May 12, 2016
predictive care 6 EHR trends for shaping the future of care

EHRs Today and Tomorrow: 6 Trends Shaping the Future [Infographic]

Just a decade ago, nine out of ten doctors in the U.S. managed patient’s records by hand and stored them in color-coded files. But with the apparent limitations of paper: expensive to store; hard to copy; vulnerable to damage; impossible to track; and not to forget the risk it brings […]
May 6, 2016
mhealth apps: Solution to increasing healthcare cost & decreasing adherence

Mobile Health Applications & Medication Adherence : Prescription for Better Outcomes

Nearly half of the population of the United States have either one or more long-term health conditions such as diabetes or a heart disease and are supposed to use medications regularly. As per Therapeutic Drug Use report by Center of Disease Control and Prevention (CDC), 48.7% of patients are taking […]
April 22, 2016
mhealth a field of endless promises

Efficacy, Effectiveness, and Engagement: Mobile Health and A Field of Endless Promises

An elderly fellow, with a fingertip glued to his iPhone camera waiting for his heart rate to pop on the screen. A new dieter stepping onto the scale, sighing dejectedly while peering at her smartphone. And this is the new reality of personal health care. Users are getting more and […]