This repo represents configuration for BahmniLite (more applicable for clinics).
https://github.com/CRUDEM/openmrs-config-hsc
https://github.com/Siko099/openmrs-config-uganda
Step 1: Latest OpenMRS image is already packaged with openmrs-initializer-module. Make sure you have openmrs-initializer-module in modules directory(/openmrs/data/modules
). If not copy or package openmrs-initializer-module into your openmrs modules.
Step 2: Follow the steps here to volume mount your local folder.
Step 3: Make sure we have CSV's with respective folder names inside masterdata/configuration folder in source folder of clinic-config
configuration/
├── addresshierarchy/
├── locations/
├── privileges/
├── roles/
Step 4: Starting up docker would load up openmrs initializer
Step 5: On every change in masterdata folder of clinic-config restart openmrs service by running docker-compose restart openmrs
-
All the liquibase changesets in masterdata/configuration are only added temporarily for testing.
-
Backup of OpenMRS DB with pre-loaded CIEL Concepts and checksums of masterdata/configuration are maintained in bahmni-scripts repository
-
Whenever we are loading the CIEL zip for the first time we would need a restart of openmrs to retire duplicate diagnosis concepts from CIEL