diff --git a/README.md b/README.md index e31d5e0..b3b6247 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,31 @@ -# HaitiHealthBox -An all-inclusive health information system setup for health facilities in Haiti +## OMRS-LIS Local setup -# Setup Instructions +Spin up the services -## Step One: Install Docker -See https://docs.docker.com/engine/install/ - -Test to make sure both of these commands work: -```sh -docker -v -docker compose version +``` +docker-compose up -d ``` -**Note: If your docker version does not support the `docker compose` syntax, -install `docker-compose` using the instructions here: https://docs.docker.com/compose/install/** +Acces the services at +| Instance | URL | credentials (user : password)| +|---------- |:-------------:|------: | +| Openmrs 3x | http://localhost/openmrs/spa  | admin : Admin123 | +| Openmrs 2.x | http://localhost/openmrs/  | admin : Admin123 | +| OpenHIM | http://localhost:3000/ | root@openhim.org : admin | +| OpenELIS | https://localhost/OpenELIS-Global/ |  admin : adminADMIN!| -## Step Two: Get HaitiHealthBox from GitHub +## Instructions +see [Instructions](https://wiki.openmrs.org/display/projects/Order+Entry+UI+Administrator+Guide#OrderEntryUIAdministratorGuide-SettingsandConfiguration) to configure the Lab Order Entry Owa -Run the following command: -```sh -git clone https://github.com/I-TECH-UW/HaitiHealthBox.git -``` +### Configure the LIS +1. Add the necesary Lab Unit permisions to the User +Go To `Admin -> User Management -> Select User -> Under "Roles" ,Choose "ALL Lab Units" and select "All Permissions"` -If you want to use a specific version from the [version list](https://github.com/I-TECH-UW/HaitiHealthBox/releases), you can check out the corresponding tag. For example, to use version `0.0.0-alpha`, run: -```sh -git checkout v0.0.0-alpha -``` +2. Enable Importing electronic orders +Go To `Admin -> Order Entry Configuration -> Select "external orders" -> Click "Modify" -> select "True"` -Otherwise, you can use the latest `main` branch that is the default. +3. Add the Right Test Catalogue ie tests with `Loinc Codes` that map to the Test Concepts in OpenMRS -## Step Three: Set some configurations -Set some temporary variables to store your desired iSantePlus Database and iSantePlus admin passwords: - -```sh -export IPLUS_ADMIN_PW= -export IPLUS_DB_PW= -``` -## Step Four: Boot up Docker Enviornment -Navigate to the `HaitiHealthBox` directory on your machine and run the following command: -```sh -docker-compose up -d -``` +see [more](https://i-tech-uw.github.io/healthinformationexchange/lis-workflows/lis-workflows.html#tutorial-lab-order-communication-between-openmrs-and-openelis) for the EMR-LIS communication diff --git a/docker-compose.yml b/docker-compose.yml index 31ce942..2f28a1a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,8 @@ services: # platform: linux/x86_64 container_name: emr-mysql command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci" - ports: - - "3306:3306" + ports: + - "3306:3306" environment: - MYSQL_DATABASE=openmrs - MYSQL_ROOT_PASSWORD=Admin123