How do I install Bahmni on top of an existing OpenMRS installation?

Posted on behalf of a community question

I already have OpenMRS installed on my machine. I would like to install Bahmni “on top”, so that Bahmni uses my existing instance of OpenMRS. Is this possible? I know that Bahmni has various RPMs. Could I maybe choose to not install the “openmrs” rpm, and install the others. Will it work?

In my opinion, the following things will be needed:

  1. Compatible version of OpenMRS.
  2. Extra modules in OpenMRS needed by Bahmni. The list of modules could potentially be seen in the Bahmni demo instance here: https://emrdemo.bahmni.org/openmrs/admin/modules/module.list (superman/Admin123)
  3. Extra concepts needed by Bahmni for Forms / Diagnosis / Complaints / etc. I am not sure if we have a list of concepts somewhere, maybe in script?

What else?

Plus, is there a script for easily registering the bintray RPM repo, so I can fire individual rpm install commands?

Hi @gsluthra the following are some of the things that needs to be taken care of while installing bahmni on top of another openmrs.

  1. OpenMRS versions - The version of your existing OpenMRS should be same as what Bahmni supports. As of the current release (0.80), Bahmni is on OpenMRS 1.12.x
  2. OMOD support - The OMODs that are used in the existing installation should be compatible with what is supported by Bahmni.
  3. Database Migrations - Once the bahmni and its compatible omods are placed loaded, the migrations are run during the boot up of the tomcat (the usual openmrs way of handling migrations). If there are some conflicting migrations (including any concepts), that needs to be taken care.

Great question @gsluthra. Myself and @mseaton have both struggled through this problem I believe. You can find my notes here.

2 Likes

We need to use OpenMRS 1.11.5 with Bahmni. Can someone comment on the changes between OpenMRS 1.12.x, currently used by Bahmni, WRT DB schema, modules compatibility etc? Thanks.

Broadly speaking, it is not supported to try to run Bahmni against a different version of the OpenMRS platform than the team tests it and releases it against.

The features that are in Platform 1.12, but not 1.11.5 would be something like these: https://issues.openmrs.org/issues/?jql=project%20%3D%20TRUNK%20and%20fixVersion%3D"Platform%201.12.0"%20and%20fixVersion%20!%3D%20"Platform%201.11.5"%20and%20fixVersion%20!%3D%20"Platform%201.11.4"%20and%20fixVersion%20!%3D%20"Platform%201.11.3"%20and%20fixVersion%20!%3D%20"Platform%201.11.2"%20and%20fixVersion%20!%3D%20"Platform%201.11.1"%20and%20fixVersion%20!%3D%20"Platform%201.11.0"

··· On Thu, Mar 17, 2016 at 7:16 AM, saadat dowlati wrote:

sdowlati https://talk.openmrs.org/users/sdowlati saadat dowlati https://talk.openmrs.org/users/sdowlati March 17

We need to use OpenMRS 1.11.5 with Bahmni. Can someone comment on the changes between OpenMRS 1.12.x, currently used by Bahmni, WRT DB schema, modules compatibility etc? Thanks.

Visit Topic https://talk.openmrs.org/t/how-do-i-install-bahmni-on-top-of-an-existing-openmrs-installation/4729/5 or reply to this email to respond

In Reply To pascal https://talk.openmrs.org/users/pascal Pascal Brandt https://talk.openmrs.org/users/pascal Community Manager, EMEA Region February 17 Great question @gsluthra https://talk.openmrs.org/users/gsluthra. Myself and @mseaton https://talk.openmrs.org/users/mseaton have both struggled through this problem I believe. You can find my notes here https://github.com/esaude/openmrs-distro-esaude/wiki/Replacing-The-Bahmni-OpenMRS-Backend .

Visit Topic https://talk.openmrs.org/t/how-do-i-install-bahmni-on-top-of-an-existing-openmrs-installation/4729/5 or reply to this email to respond

To stop receiving notifications for this particular topic, click here https://talk.openmrs.org/t/how-do-i-install-bahmni-on-top-of-an-existing-openmrs-installation/4729/unsubscribe. To unsubscribe from these emails, change your user preferences https://talk.openmrs.org/my/preferences

or, click here <reply@talk.openmrs.org?subject=unsubscribe> to unsubscribe via email.