Appointments module provides the ability to give appointments to patients and then manage their flow through once they arrive at a clinic. In simple terms, the module allows implementations to do the following:
Create a schedule of when providers are available to see patients
Schedule appointments for patients based on provider schedule
Manage the patient queue through the clinic when the patients arrive for their appointments.
Steps:
1. Add ‘omod’ files required for 'Appointments module' to OpenMRS
Download and add the following omod files in /opt/openmrs/modules and restart OpenMRS.
After adding the above omods in the modules folder, ‘App: appointmentschedulingui.home’ privilege and other privileges required for the appointments module are automatically added in OpenMRS.
2. Assign Roles and Privileges
Create a new Appointment role in OpenMRS->Administration->Manage Roles. Assign the appointments module related privileges to that role and then assign this new role to a user.
Run the below query for adding Telephone Number person attribute type. If 'Telephone Number'person attribute type already exists, the query will throw an error. You can safely ignore it.
Run the below query for adding Unknown Patient person attribute type. If 'Unknown Patient'person attribute type already exists, the query will throw an error. You can safely ignore it.
4. Accessing the Appointment module from Bahmni Application
The Appointment module can be added to Bahmni's Application Dashboard using the following configuration in "extension.json" (->/default-config/openmrs/apps/home/)
As mentioned in point 3, Appointment module needs some SQL files to be executed. You can automate this process by adding liquibase migrations if required. Please refer to this example of one of the Bahmni implementations that uses liquibase migrations.
The Ansible installation supports adding additional OMODs like appointment module as part of the installation process. Refer to this for more information.