This project contains the dockerized HIE setup for OpenMRS . see PLIR archtecture
Ensure you have Docker and Docker compose installed locally. See Docker Installation Instructions for your environment. If running on Linux, check https://docs.docker.com/compose/install/ to install docker compose.
To run the project , follow the instructions below .
-
Clone the repository locally
git clone https://github.com/alvinkimbowa/openmrs-hie-dockerized-setup.git
-
Move to the project root directory and spin up the pre-configured OpenMRS ,OpenHIM ,Hapi-Fhir and the streaming-binlog pipeline instances .
./run.sh
-
You should be able to acces the OpenMRS ,OpenHIM and Hapi-Fhir instances at the following urls
Instance | URL | credentials (user : password) |
---|---|---|
OpenMRS | http://localhost:8080/openmrs | admin : Admin123 |
OpenHIM | http://localhost:9000 | root@openhim.org : openhim |
Hapi FHir | http://localhost:8090 | hapi : hapi123 |
OpenCR | http://localhost:3000/crux | root@intrahealth.org : intrahealth |
Note:
- The Openhim instance is pre-configured with the necesary meta-data.
Openhim has two clients
hapi
, for the SHR transactions (credentials -> hapi : Admin123)opencr
, for the the CR transactions . Listens to endpoints*/CR/fhir/*
(credentials -> opencr : Admin123)
Wait for the plir-streaming-pipeline container to start running before adding any data into OpenMRS. The running Pipeline will then listen to any data changes added in to OpenMRS and route them to the FHIR server through OpenHIM.
-
To remove and clean out all created containers and volumes, run
./stop.sh