Introduction
To install Bahmni Connect, you need to install the "bahmni" command line tool, which provides various options for installing / configuring Bahmni. You can refer Install Bahmni on CentOS. The difference you see for offline server setup is, You need install bahmni-event-log-service which is used for the pulling the event logs for using the data offline as described here. And bahmni-offline module
Bahmni Offline InstallationConnect Installation
- As mentioned earlier bahmni-event-log-service and bahmni-offline modules are necessary for bahmni-offline
- To install offline 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-offline group. You can find sample inventory file here
To run Bahmni OfflineConnect, Offline concepts needs to be added into the openmrs database. This can be easily done using the script at https://github.com/Bahmni/event-log-service/blob/master/event-log-service-webapp/src/main/resources/sql-scripts/copyOfflineConcepts.py To this, copy it into the machine where Bahmni has been installed and run python copyOfflineConcepts.py. If any errors occurs which says ImportError: No module named MySQLdb, install pip by sudo easy_install pip followed by sudo pip install MySQL-python. Then run the aforementioned command again to install offline concepts.
Refer( Bahmni Connect Features#2)ConfiguringAddressHierarchyBasedonanImplementation'sNeeds ConfiguringAddressHierarchyBasedonanImplementation'sNeeds to install and configure offline filter cr
Good luck.
...
Below query checks whether location_id info available in encounter table for corresponding visits and populate them in visit table. If no visit info in encounter it will those visits to unknown location
...