Bahmni on Raspberry Pi - EMR4All project

Dear All,

We are pleased to announce the positive progress in the deployment of Bahmni on Raspberry Pi 5. This milestone is part of our ongoing efforts in the EMR4All project, which is supported by the OpenMRS community.

Currently, Bahmni EMR runs correctly on Raspberry Pi, which is a significant step forward. However, further work is ongoing to finalise the integration of the Bahmni standard version, including the creation of new ARM64-compatible images and the necessary adjustments to ensure compatibility.

Why this is important

As part of the EMR4All project vision, which aims to bridge the gap for remote patient management, to enable healthcare facilities in remote locations - where internet access and electricity are scarce - to run EMR offline. By leveraging the capacity of Bahmni to run on Raspberry Pi as a server, it is a game changer to equip healthcare facilities operating in challenging environments.

Repository & Future Updates

We have made the Bahmni Integration Repository publicly available and it will be updated with new releases. You can access it here: :link: Bahmni-on-PI Repository.

For more details on the EMR4All project, please visit :earth_africa: www.emr4all.org

Best regards,

Benjamin Nyange MUSOLE

3 Likes

@bennyange Thanks for sharing the update. Would be great if you can share this on the upcoming PAT call. Also we would like to understand how is the repo different from bahmni-docker. If some configurations are needed, we are happy to incorporate in the product repository itself to reduce management overhead.

2 Likes

Thanks @mohant , for sure we are glad to share the experience at the PAT call . Could you please share the schedule for us to attend ?

Deploying Bahmni on Raspberry Pi (ARM64) presented challenges due to the lack of official ARM64 images, requiring the manual creation of MySQL, PostgreSQL, and Odoo images. Bahmni Platform 2.5 also doesn’t support MySQL 9, causing OpenMRS to fail due to missing database tables. To resolve this, we built and pushed custom ARM64 images, updated Docker-Compose configurations, and worked on ensuring OpenMRS initializes correctly. With the database now running, the next focus is fine-tuning Odoo, OpenELIS, and PACS to ensure a fully functional deployment. Progress is steady, and automation may be the next step. We are glad to provide more details about.

Regards, Benjamin

Hi @bennyange Thanks for sharing the update. And great work on bringing up the emr components on Raspberry PI. You can find the PAT call invite and details on this thread. Bahmni PAT Call on 19 February 2025. We have that happening every week Wednesday 1.00 PM UT, 6.30 PM IST.

Thanks for the invitation @mohant . We will join the call to present the result of integrating Bahmni on Raspberry PI. @tendomart will also be part of the call for the software side. Looking forward to meeting Best regards,

1 Like

Thanks for the PACT Call, It was a fantastic opportunity to connect with the Bahmni community, exchange ideas, and gather valuable feedback for improving the Bahmni integration into Raspberry PI as part of the EMR4All project,

We have successfully deployed Bahmin standard version modules of OpenMRS, OpenELIS (Laboratory), and Pact (Radiology) into Raspberry PI 5. We are still reviewing Odoo as remaining module for fully integration of Bahmni.

  • Current Progress & Issues:
    • Updated OpenELIS, PACS, and OpenELIS-DB images to platform:linux/arm64.
    • Odoo Issue: Missing manifest for linux/arm64; will use a custom image as a fix.
    • MySQL Compatibility: Bahmni (Platform 2.5) does not support MySQL 9; downgraded to MySQL 8.0.
    • Some tables were not being written properly, causing OpenMRS to fail; issued from Bahmni’s database image for ARM64 that was solved.
    • Custom Database Images Created: Manually built images for MySQL, PostgreSQL, and Odoo; OpenMRS is running but requires fine-tuning.
  • Next Steps & Moving Forward:
    • Finalize Odoo integration and ensure all database images function properly.
    • Roll out cloud data sync feature for improved scalability.
    • Resolve OpenMRS table-writing issue to ensure stable deployment.
    • Continue refining Bahmni on Raspberry Pi to enhance usability.

Dev work carried by with @tendomart

For more details, please check out our slide presentation: :page_facing_up: Bahmni EMR on Raspberry Pi - EMR4All Project.pptx

Thanks again for the continuous support!

Best Regards,

1 Like