Integrating CFL’s SMS Module into O3
Primary mentor | @Piotr Wargulak |
Backup mentor | @Dawid Ruchniewicz |
Assigned to | @JESSIE SSEBULIBA |
Abstract
The CFL SMS module in general is an API module. It provides a layer between other OMRS modules and common SMS (or any text message) service providers.
The main advantage is that once you make your module to work with the SMS, you can later configure any provider to work with the SMS module without any additional coding, that includes world-wide services like Vonage, turn.io and also local service providers like Rwanda-based FDI. The complete solution comes as an OpenMRS module, no other middleware is required. Some general documentation regarding the module can be found here.
We think it might be useful for other implementations and we would like to make it more accessible.
The goal of the project is:
Making an O3 UI for configuring a service provider, inc.: maintenance view with list of all messages sent from the system. There are no O3 designs, but there is customized 2.x style UI to base new design on.
Making an O3 UI, aimed at system administrators, to facilitate configuration of Scheduling SMSes on a predefined interval.
In short, using the SMS module you can configure that: at 12 o’clock the system should get recipients and corresponding text messages from an OMRS report and send SMS to everyone on that list.
Required Skills
Familiarity with REST interfaces
Familiarity with OpenMRS
React
Project Rating and Length
Medium
175 hours
Objectives
Abtract goal
Making an SMS module easier to use for O3-based OpenMRS distributions by providing an O3-compatible UI.
Mandatory Goal
Making an O3 UI design for configuring a service provider, "Send SMS" test page, SMS's Logs page.Configure service provider admin page design, reviewed and shared here."Send SMS" test admin page design, reviewed and shared here.SMS's Logs admin page design, reviewed and shared here.Implementing O3 ESM with the pages...Optional Goal
Making an O3 UI design for Scheduling SMSes on a predefined interval feature
Implementing the page in the Mandatory Goal's module
Not an objectives
Ensuring the SMS module is included in OpenMRS 3.x Reference Application is not an objective of this project.
Resources
OpenMRS ESM repository: https://github.com/openmrs/openmrs-esm-patient-communications
Current OMRS module which includes 2.x UI: https://github.com/johnsonandjohnson/openmrs-module-sms
OpenMRS distribution demo, which includes SMS module: https://demo.jnj.connect-for-life.org/openmrs (admin/Admin123) The server resets every 24hrs!
SMS module documentation: https://github.com/johnsonandjohnson/openmrs-distro-cfl/wiki/Admin-SMS
General OpenMRS O3 design guidelines: Designer Onboarding to OpenMRS 3#Self-OnboardingGuide
SMS API REST documentation: https://demo.jnj.connect-for-life.org/openmrs/module/sms/apiDocs.htm (or as sms-swagger.json)
Weekly blogs: https://medium.com/@jexsie
Epic link: O3-3280: Integrating CFL’s SMS Module into O3Merge & Test