Python-based OpenHIM mediators(Docker) for OpenIMIS

The code contains Python-based OpenHIM mediators created for Healthix by Dr. Stephen Mburu and Mr. Peter Kaniu. The developers are based in School of Computing and Informatics, University of Nairobi. The mediators expose FHIR R4 APIs for exchange of data between openIMIS and external systems via openHIM.


Installation Guide

This guide assumes successful installation of OpenIMIS (http://openimis.org/), OpenHIM (https://openhim.org), docker and docker-compose.

To run the mediator project:

  1. Run docker-compose build

  2. Make migrations

    docker-compose run mediators python manage.py makemigrations

  3. Create Super User

    docker-compose run mediators python manage.py createsuperuser

  4. Login to the admin and update config variables

  5. Go to the /mediators/urls.py file and uncomment the last block of code

  6. Run docker-compose up

  7. Confirm mediators have been successfully registered in the openhim console