Development

For the latest documentation see: https://github.com/jembi/openhim

All development for the RHEA Health Information Mediator is done using Mule Studio. This is an IDE for Mule ESB. This page describes how to get setup with the RHEA HIM project.

For additional information about getting started with Mule Studio, see: http://www.mulesoft.org/documentation/display/MULE3STUDIO/home.

How to get setup

How to import the Mule application:

  1. Download Mule with MuleStudio from http://www.mulesoft.org/download-mule-esb-community-edition. Mule Studio is a IDE for Mule built on top of the Eclipse platform.
  2. Check out the source code from the GIT repo here: https://github.com/jembi/openhim
  3. Open MuleStudio and import the checked out project into your workspace

How to run the Mule application in MuleStudio:

  1. In the interoperability Layer Mule application locate the mule-project.xml file.
  2. Right click on and it and choose 'run as', then choose 'Mule Application'.
  3. The app will start up and run in the eclipse console.

Running the Mock Services

The Mock services allow you to get responces from the Interoeprability Layer without having any other components setup (eg, SHR, CR, FR, PR, TS). They must be run on the along side the Interoperability Layer on the same machine ass the Interoperability Layer is setup to look for these on localhost. The mock services are also built as a mule app so you can build and deploy it as described above. You can't run 2 mule apps in MuleStudio however this is possible in the Mule stand alone instance described in the "How to deploy an instance" section (Deployment).

The source code for this app can be downloaded here: https://jembiprojects.jira.com/svn/RHEAPILOT/RHEAMockServices/

Testing the RHEA HIM

To test the RHEA HIM implementation you can use SOAP UI (http://www.soapui.org/)

A SOAP UI project that is setup for testing the API calls for the HIM can be found on github, here: https://github.com/jembi/rhea-api-tests