To install Bahmni Connect, you need to install the "bahmni" command line tool, which provides various options for installing / configuring Bahmni. Please refer to Install Bahmni on CentOSto perform the basic installation steps. Additionally, for the Bahmni Connect server setup two other modules have to be installed - the bahmni-offline module and the bahmni-event-log-service which is used for pulling the event logs to use the data offline as described here.
As mentioned earlier the bahmni-event-log-service and bahmni-offline modules are necessary for Bahmni Connect.
To install Bahmni Connect specific components, please add the host entry in respective groups of the inventory file along with other entries such as bahmni-emr, bahmni-reports etc. For example, to install bahmni-event-log-service and bahmni-reports components, the host entry should be present in the bahmni-event-log-service and bahmni-offlinegroup.Here is a find sample inventory file.
Refer to (Bahmni Connect Features) to install and configure the synchronization strategies, especially for Location based strategy.
Pre-requisites for older versions
The query below checks whether location_id info available in the encounter table for corresponding visits and populates them in visit table. If no visit info is in the encounter table, it will populate the visits with unknown location.