Implementation of a National OpenHIE-based Health Information Exchange for Botswana
# Botswana Health Information Exchange - Reference Implementation
## Install Instructions
### 1. Install `docker` and `docker-compose` commands:
-
docs.docker.com
-
docs.docker.com
### 2. Domain vs. Port-based Setup
Decide whether you're running a domain-based or port-based setup. Based on this, either use the `docker-compose.yml` file for domain-based, or the `docker-compose.local.yml` file for port-based.
This decision determines how services will be reached, and what environment needs to be used for testing. In each case, the traffic is routed through the `nginx` container, which distributes the traffic correctly based on domains or ports. See the `nginx` configuration in the corresponding `docker-compose.yml` file, and the configurations in `./configs/nginx`.
We assume a port-based setup for these instructions.
### 3. Check out repository:
```sh
git clone
github.com
```
### 4. Start up core containers:
```sh
cd hie-botswana
docker-compose -f docker-compose.local.yml up -d openhim-core openhim-console mongo-db opencr-fhir shr-fhir opencr-es kafka zookeeper nginx
```
### 5. OpenHIM Password Setup:
Open the OpenHIM console in the browser and use default login and password:
`root@openmrs.org`/`openhim-password`.
Change the password when prompted to one that your mediators will use.
### 6. Start up mediators:
Ensure the chosen password is set correctly in the configuration files for these mediators in the `mediator`:`api`:`password` setting:
-
github.com
-
github.com
-
github.com
Then, start up the mediators:
```sh
docker-compose -f docker-compose.local.yml up -d shr opencr fhir-converter
```
You can check the logs of the mediators by running:
```sh …