Installation
The following components are required for setting the Haiti HIE:
iSantePlus EMR: https://github.com/IsantePlus/openmrs-distro-isanteplus https://github.com/IsantePlus/docker-isanteplus-server
Shared Health Record: https://github.com/i-tech-uw/shared-health-record
HAPI JPA FHIR Server:https://github.com/hapifhir/hapi-fhir-jpaserver-starter#deploy-with-docker-compose https://hapifhir.io/hapi-fhir/docs/server_jpa/get_started.html
Steps to install Haiti HIE
Install Docker if not available
Docker engine: https://docs.docker.com/compose/install/
Docker compose: https://docs.docker.com/compose/install/
Clone the SEDISH repository: git clone https://github.com/I-TECH-UW/sedish-haiti.org.git
Switch to the branch openhieV2
Edit the reverse proxy to point to the domain name of your server.
Download the architecture specific instant CLI executable In the root folder of the cloned repository,run
./get-cli.sh.
This downloads the architecture specific instant CLI executable and saves it in the root directory.This allows the CLI to be run with the ./instant command. The above command creates three folders and you need only one basing on your operating system.We will concentrate on the instant-linux folder which you can rename to instantTest that you can now run the CLI with the instant command Run ./instant,this should return a list of the available commands
Initialise docker swarm by running
docker swarm init
You can now start launching the packages. Start by launching the reverse proxy since its depended on by many other packages for instance run
./instant package init -n reverse-proxy-nginx --env-file .env
You can now run any package that you want to start for instance;
run ./instant package init -n addpackagenamehere --env-file .env
Testing and Validation
Setup a Postman environment pointing to the server you setup and run tests to confirm that services start as required using this workspace https://www.postman.com/itechuw/workspace/haiti-sedish