Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 1.9 KB

README.md

File metadata and controls

38 lines (21 loc) · 1.9 KB

Bahmni Clinic configuration and data.

Bahmni Config

This repo represents configuration for BahmniLite (more applicable for clinics).

References to openmrs-module-initializer for Bahmni

https://github.com/CRUDEM/openmrs-config-hsc

https://github.com/Siko099/openmrs-config-uganda

Steps to follow for openmrs initializer to load masterdata [ For Development Purpose ]

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

Note:

  1. All the liquibase changesets in masterdata/configuration are only added temporarily for testing.

  2. Backup of OpenMRS DB with pre-loaded CIEL Concepts and checksums of masterdata/configuration are maintained in bahmni-scripts repository

  3. 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