/clinic-config

Bahmni India clinic configuration

Primary LanguageHTMLMIT LicenseMIT

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