Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 2.17 KB

README.md

File metadata and controls

51 lines (39 loc) · 2.17 KB

Haiti Flag

The Bahmni Haiti Distribution

The Bahmni Haiti distribution packages common configurations and metadata to use Bahmni in Haiti.


This repository maintains the 'distro POM' for the Bahmni Haiti Distribution.

It downloads and brings in one place all artifacts needed by the distribution, simply run:

mvn clean package

This distribution can be used as a parent distribution when implementing Bahmni in Haiti. It already ships out of the box with a number of useful common features that are shared across many Haitian clinical setups: the registration process, the address hierarchy of Haiti, a concept dictionary, ... etc.

To use it, simply refer to it as a <parent> in a child distribution's pom.xml file:

<parent>
  <groupId>net.mekomsolutions</groupId>
  <artifactId>bahmni-distro-haiti</artifactId>
  <version>1.0.0</version>
</parent>

Target inventory:

  • bahmni_emr/
    The target version of the front-end apps that makes 'Bahmni EMR'.
  • bahmni_config/
    The bespoke Bahmni configuration (more here) to be consumed by Bahmni Apps.
  • openmrs_modules/
    The required set of OpenMRS modules.
  • openmrs_config/
    The OpenMRS bespoke configuration (more here) to be processed by the Initializer module.
  • openmrs_core/
    The target version of OpenMRS Core.
  • odoo_addons/
    The Odoo addons needed for the distribution
  • odoo_config/
    The Odoo configuration processed by Odoo Initializer to intialize Odoo with meaningful metadata.
  • eip_config/
    The OpenMRS EIP configuration used for integrating Bahmni with Odoo 14, SENAITE etc...

Building on Mac

We currently use sed to update property files and the sed on linux is different from the sed on Mac. So you need to use the maven docker image to build on Mac.

docker run -v <path-to-distro>/bahmni-distro-haiti:/bahmni-distro-haiti -v <path-to-home-folder>/.m2:/root/.m2 -it maven /bin/bash