Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
Bahmni Tele-consultation Feature Setup on v0.92 or v0.93
Bahmni Tele-consultation Feature Setup on v0.92 or v0.93
About the Feature
The Bahmni tele-consultation feature release is set of artefacts that can be deployed/installed on an existing Bahmni system using 0.92 version. These artefacts would enable the healthcare professionals using bahmni to schedule video tele-consultation appointments.
In the file /var/www/bahmni_config/openmrs/apps/customDisplayControl/views/patientAppointmentsDashboard.html, the the following header and its content:
<th>
Join Teleconsultation
</th>
<button style="background: #669998; color: white;" ng-if="showJoinTeleconsultationOption($index)" ng-click="openJitsiMeet($index)">
Join Teleconsultation
</button>
3. If the send email functionality is turned off for tele-consulation, on click of Check and Save button it will display the below warning on the UI
set bahmni.appointment.teleConsultation.sendEmail true in OpenMRS global property to enable the send email functionality.
Fall back mechanism (To restore the system back to original state before tele-consultation feature was installed)
Before proceeding with the installation steps take the backup of the following:
appointments omod in /opt/openmrs/modules/ folder.
bahmniapps directory under /var/www/ folder.
bahmni_config directory under /var/www/ folder
If you want to revert the feature, please restore the above backups of appointments omod, bahmniapps and bahmni_config directories and restart openmrs service.
Configuring Teleconsultation Server
You may configure the server URL pattern for the teleconsultation link.
Go to : /Administration => Advance Settings, and edit the property
The placeholder {0} above is replaced with a unique id for the teleconsultation link.
By default the above uses jitsi demo server, which you should absolutely change for production. Either use a self hosted service or use a paid - jitsi as a service.
Please refer to the following documentation if you want to host your own JITSI server.
3)Add these lines to the .env file (For setting the timezone)
OPENMRS_TZ='Asia/Kolkata' 4)Add these lines to the .env file (For setting the email configuration)
MAIL_TRANSPORT_PROTOCOL=smtp
MAIL_SMTP_AUTH=true
MAIL_SMTP_STARTTLS_ENABLE=true
MAIL_SMTP_SSL_ENABLE=false
MAIL_DEBUG=false
SEND_MAIL=true
MAIL_FROM= ADD YOUR MAIL ADDRESS
MAIL_SMTP_HOST= ADD YOUR SMTP HOST
MAIL_SMTP_PORT=587
MAIL_USER= ADD YOUR MAIL USERNAME
MAIL_PASSWORD= ADD YOUR MAIL PASSWORD
5)Add these lines to the .docker-compose.yaml file TZ: ${OPENMRS_TZ:?}
As per @Angshuman Sarkar , if someone uses the new appointment scheduling module (v93), they will need to set allowVirtualConsultation=true to see the tele-consultation feature. See this: https://github.com/Bahmni/default-config/blob/ef6efa1ee114d3d03c9fcd89fa574192027027b5/openmrs/apps/appointments/app.json#L11
Adding this comment here until we have an updated documentation page for Tele-consultation feature.