Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Info

Bahmni has implemented ABDM features and have been ABDM certified. This document aim to explain the repositories which contains the Bahmni-ABDM integration code and how to setup ABDM features on an existing Bahmni implementation.

...

  1. ABDM Sandbox client ID and Secrete

  2. HIU/HIP services and Bridges defined.

Github Repositories

https://github.com/Bahmni-Covid19 BahmniIndiaDistro

Repositories:

  1. NDHM-React
    This repository contains the frontend code for ABHA verification pop-up.
    Tech stack- ReactJs

...

  1. Install Bahmni.

  2. Download ndhm artefact and place it at /var/www/

    Code Block
    #Download ndhm artefact
    yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/ndhm.zip
    
    unzip ndhm.zip -d ndhm
    mv ndhm /var/www/
    chown bahmni:bahmni /var/www/ndhm
  3. Download Bahmniapps artefact and place it at /var/www/

    Code Block
    #Download bahmnniapps artefact
    yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/bahmniapps.zip
    
    unzip bahmniapps.zip -d bahmniapps
    mv bahmniapps /var/www/
    chown bahmni:bahmni /var/www/bahmniapps
  4. Download bahmni_config artefact and place it at /var/www/

    Code Block
    #Download bahmni_config artefact
    yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/bahmni_config.zip
    
    unzip bahmni_config.zip -d bahmniapps
    mv bahmni_config /var/www/
    chown bahmni:bahmni /var/www/bahmni_config
  5. Download hip omod artefact and place it at /opt/openmrs/modules

  6. Code Block
    #Download hip artefact
    yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/hipmodule.omod
    
    mv hipmodule.omod /opt/openmrs/modules/
    chown bahmni:bahmni /opt/openmrs/modules/hipmodule.omod
  7. Deploy the following dependencies as well.

    Code Block
    yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/fhir2-omod-1.0.0-SNAPSHOT.omod
    
    mv fhir2-omod-1.0.0-SNAPSHOT.omod /opt/openmrs/modules/
    chown bahmni:bahmni /opt/openmrs/modules/hir2-omod-1.0.0-SNAPSHOT.omod
    Code Blockyum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/Jackson-annotations-2.10.0.jar yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/Jackson-databind-2.10.0.jar yum https://github.com/BahmniIndiaDistro/ndhm-react/releases/download/Release_v1/Jackson-core-2.10.0.jar mv Jackson-annotations-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/ mv Jackson-databind-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/ mv Jackson-core-2.10.0.jar /opt/openmrs/openmrs/WEB-INF/lib/

  8. Pull down hip-service image (bahmnicovid19/health-information-provider:latest), hiu-backend(bahmnicovid19/health-information-user:latest), hiu ui( bahmnicovid19/hiu-ui:latest) from docker hub

  9. Use the following docker-compose.yml for hip and docker-compose.yml for HIU to start up the containers

  10. Run the following command to restart openmrs:

    Code Block
    systemctl restart openmrs
  11. Update /etc/httpd/conf.d/ssl.conf file to have the following

    Code Block
    Alias  /ndhm /var/www/ndhm
  12. Restart httpd service

    Code Block
    systemctl restart httpd

...