Integrating Mirth with CareMotive’s SMSP

mirthMirth Connect is a popular open source integration engine for the healthcare sector, so I thought I
would explore what would be involved in integrating it with our Spine Mini Services Provider using our Java client-side library and testing it against our Internet-hosted SMSP test instance.

    As it turns out, it’s simplicity itself; the outline steps being:

  1. Place the following JARs must be placed in the custom-lib directory (e.g. C:\ProgramFiles\Mirth Connect\custom-lib):a. ITKSerialisation.jarb. ITKSerialisationAPI.jarc. SMSPClientLib.jard. slf4j-api-1.7.6.jar

    e. slf4j-simple-1.7.6.jar

    The first two JARs together constitute the CareMotive SMSP client library for Java.

  2. Place the smspclient.properties file into the Mirth conf directory (e.g. C:\Program Files\MirthConnect\conf). This is initially configured to point to our Internet-hosted SMSP test instance so no need to modify it.
  3. Set up a Mirth destination channel of type JavaScript Writer from within which you can call the SMSP client library Java classes and methods to make the appropriate SMSP calls. In the example below we call the verifyNHSNumber SMSP service and just return the SMSP response code.

If you’re interested in gaining access to PDS via SMSP (remember it doesn’t require you to go through compliance) then get in touch (paul.richardson@caremotive.co.uk ) and I can provide you with the client libraries and any sample source that we have that might be helpful – plus access to our Internet-hosted test instance of SMSP. We’ve had clients who have integrated their product in a single day!

We also have a .NET DLL version of the client library, plus a PHP version in the wings, and are currently engaged in adding the services for accessing CP-IS (Child Protection – Information Sharing) and Summary Care Record.

Tags: