Bahmni ABDM from bahmni-india-package.git not working

I’ve tried to follow the steps in: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3148087297/Running+Bahmni+with+ABDM+Integration+on+Docker

c:\dev\GitHub\bahmni-india-package>docker compose up -d [+] Building 0.0s (0/0) [+] Running 8/9 [+] Running 8/9ni-india-package_default Created 0.7s :heavy_check_mark: Network bahmni-india-package_default Created 0.7s :heavy_check_mark: Container bahmni-india-package-proxy-1 Started 4.6s :heavy_check_mark: Container bahmni-india-package-bahmni-web-1 Starte… 3.6s

  • Container bahmni-india-package-openmrsdb-1 Startin… 2063.1s :heavy_check_mark: Container bahmni-india-package-bahmni-config-1 Sta… 4.0s :heavy_check_mark: Container bahmni-india-package-patient-documents-1 Started 3.9s :heavy_check_mark: Container bahmni-india-package-appointments-1 Star… 4.3s :heavy_check_mark: Container bahmni-india-package-openmrs-1 Created 0.1s :heavy_check_mark: Container bahmni-india-package-implementer-interface-1 Created 0.1s

  • Container bahmni-india-package-openmrsdb-1 Startin… 2063.1s

Doesn’t complete and the application dashboard does not load, please help/advise

docker-openmrsdb-5_too_long

There seems to be different sets of instructions to setup Bahmni ABDM functionality?

  1. Running Bahmni with ABDM Integration on Docker https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3148087297/Running+Bahmni+with+ABDM+Integration+on+Docker Last updated: [Mar 21, 2023]

  2. How to setup Bahmni-ABDM Features https://bahmni.atlassian.net/wiki/spaces/BAH/pages/2981101569/How+to+setup+Bahmni-ABDM+Features Last updated: [Sept 07, 2022]

  3. openmrs-module-hip/omod/docs/dev-setup.md https://github.com/bahmniindiadistro/openmrs-module-hip/blob/master/omod/docs/dev-setup.md Last updated: [June 11, 2021]

(1) Seems newest and with docker. (2) & (3) Seem to be VirtualBox + Vagrant setup

  1. Getting Started Quickly with Bahmni on Docker https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3117744129/Getting+Started+Quickly+with+Bahmni+on+Docker Seems general way to install with docker Bahmni Lite or Standard but there is no mention of ABDM? The .env file of the bahmni-lite & bahmni-standard does not have the variables concerning ABDM like ‘HIP_URL’ etc which is present in bahmni-india-package.git.

For me bahmni-docker/bahmni-lite & bahmni-docker/bahmni-standard works, the application opens with steps in 4) but is missing ABDM functionality/setup steps?

So to try ABDM functionality in Bahmni is 1) Running Bahmni with ABDM Integration on Docker bahmni-india-package.git the recommended steps & approach? And this is the one I’m having trouble with above

Sorry, was a problem with my environment. Setups in 1) works for Bahmni with ABDM

The LITE packages in Bahmni GLOBAL, are not specific to India and hence do not mention or package anything ABDM (which is an India standard).

The ABDM modules are ONLY for INDIA, and therefore is in a separate repository with its own “docker compose” setup. That is here: GitHub - BahmniIndiaDistro/bahmni-india-package. This docker compose package builds on-top-of Bahmni Global Lite and then adds the ABDM modules on top of it.

For anyone wanting to try Bahmni with ABDM, they must use this repo:

The same codebase is also deployed in our “ADBM” environment mentioned on this page (Point 3: Dev with ABDM): https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3037757441/Bahmni+Lite+Environments

Thank you for the information and links.

I was able to view the ABDM functionality on the demo site (Point 3: Dev with ABDM)

However ABDM-demo

When running bahmni-india-packge in my environment (with abdm profile added to .env file), after adding ABDM role to the user, I’m not able to see the ABDM functionality related buttons that are visible on the demo link.

Also followed the steps to 1st start emr profile only, after it is up, add/enable the abdm profile.

Is there some additional settings that need to be done? Or is there some built in validation that is taking place and then conditionally displaying the buttons?

I have followed the steps here to update the properties as well: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3148087297/Running+Bahmni+with+ABDM+Integration+on+Docker

Updating the properties in .env as mentioned there such as: HIP_URL=https://(my-ngork-url)/hiprovider

Along with registering the same URL in my ABDM sandbox as HRP URL

Thanks for reporting. There seems to be a wrong configuration image name set in the .env file. We will fix it soon. In the mean time, you can update the value of CONFIG_IMAGE_NAME to bahmniindiadistro/clinic-config and then update your containers by running docker compose up -d

1 Like

Thanks, the Git seems updated now with the new images. The ABDM related UI/buttons are visible

However, still having trouble with connection to my ABDM sandbox, to check for example Verify ABHA, putting in the ABHA number/address does not fetch the details

Following steps from here, what should be the properties?

https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3148087297/Running+Bahmni+with+ABDM+Integration+on+Docker

Does the Sandbox URL need to be updated as “url”: “https://MY_HASH.ngrok-free.app/hiprovider” or “url”: “https://MY_HASH.ngrok-free.app”

Get facilities from my ABDM sandbox: { “bridge”: { “id”: “MY_SBX_ID”, “name”: “MY_SBX_SECRET”, “url”: “https://MY_HASH.ngrok-free.app/hiprovider”, “active”: true, “blocklisted”: false }, “services”: [ { “id”: “test-hip-01”, “name”: “Test Hip 01”, “types”: [ “HIP”, “HIU” ], “endpoints”: {}, “active”: true } ] }

#.env initial properties mentioned to be updated

ABDM_GATEWAY_CLIENT_ID=“dummy_id” ABDM_GATEWAY_CLIENT_SECRET=“dummy-secret”

HIU_ID=“Bahmni” HIU_NAME=“Bahmni” HIU_DATA_PUSH_URL=“http://hiu:8003/data/notification” HIU_BACKEND_BASE_URL=https://localhost/hiu-api

#My properties

ABDM_GATEWAY_CLIENT_ID=MY_SBX_ID ABDM_GATEWAY_CLIENT_SECRET=MY_SBX_SECRET

HIU_ID=“test-hip-01” HIU_NAME=“Test Hip 01”

#Find for the key HIU_DATA_PUSH_URL and set the value as https://YOUR_DOMAIN/hiu-api/data/notification #(or) https://HASH.in.ngrok.io/hiu-api/data/notification depending on your configuration.

HIU_DATA_PUSH_URL=“https://MY_HASH.ngrok-free.app/data/notification” or HIU_DATA_PUSH_URL=“https://MY_HASH.ngrok-free.app/hiu-api/data/notification”

#Note: Make sure to update localhost with your-domain HIU_BACKEND_BASE_URL=https://YOUR_DOMAIN/hiu-api

HIU_BACKEND_BASE_URL=https://MY_HASH.ngrok-free.app/hiu-api

Additional properties that maybe need to be updated? HIP_URL=“http://hip” HIP_CORS_ALLOWED_ORIGIN=“http://localhost” HIP_OTP_SERVICE_URL=http://otp ABDM_CONSENT_NOTIFICATION_URL=“http://localhost:8003/consent/notification