Mirth Connect Quick Start
HL7 can be said as the standard that has been set for data interchange in Healthcare systems. Mirth is an open source cross platform HL7 interface engine that enables bidirectional message sending. It eases the process of generating and sending messages over multiple transports. Mirth is distributed under the MPL 1 license. At Deerwalk we have had to communicate with many HL7 systems and have found Mirth to be a good framework for interfacing with HL7. We have noticed that there is not a lot of documentation on getting a Mirth solution up and running so we have built a quick start guide to using Mirth.
Setting up Mirth
First off we need to download Mirth and install on our development machine. Mirth connect setup can be easily acquired from the download section of their official website (http://www.mirthcorp.com/community/downloads). There are installers for Windows, Linux and Mac OS X. In this quick start guide we will be using the Windows version. Once Mirth is installed on your system it will need to be configured through the Mirth Connect Server Manager. To do this from the Programs->Mirth launch the ‘Mirth Connect Server Manager’.
By default Mirth uses ports 8080, 8443 and 1099 and these should work fine unless they conflict with other services on the existing system, in which case they can be changed in the server tab. The database tab determines which database Mirth uses for its internal purposes. Mirth provides support for Derby, Postgres, MySql, oracle and SQL Server. Obviously the choice in database can affect the overall performance of Mirth in this walk through we have chosen to use SQL Server.
Data transformation using Mirth begins with creating a channel. A channel takes in raw data and outputs the transformed message. Our projects normally involve reading data from a SQL Server and generating a PID segment of an HL7 message. In order to do this a channel has to be setup and has the following parts to be configured:
Hope this helps you get started with Mirth. It would be great to know that we helped somebody escape the unnecessary hardships that we had to go through just to learn the basics of Mirth.