Connect For Life Distribution Modules

Hello Community!

I would like to share with you some of the modules we’ve made for Connect for Life distribution. They ware made for CfL, but with some effort they could be used by any OpenMRS distribution.

We really would like to make them as easy to integrate as possible.

SMS module

It is mostly an API module, which can connect to most SMS/WhatsApp/… service providers. We’ve been using it to send SMS and WhatsApp messages over world-wide providers like https://www.vonage.com/ , https://turn.io/ and local providers like Rwanda’s based https://www.fdibiz.com/ .

It provides a layer between between OpenMRS modules and service provider API. You would write your code against SMS module, and later when deploying a distribution, you would configure SMS to talk with a provider. The configuration can be changed during runtime, you can switch provider without code modifications or system restarts. The solution is contained within-in the module.

Sources: GitHub - johnsonandjohnson/openmrs-module-sms: Module for OpenMRS to allow the integration with the API of SMS providers. Enables sending outgoing messages, as well as to receive inbound messages. 6

Pictures:

 

sms-config

sms-config1002×1152 61.3 KB

send-sms

send-sms1009×983 41.5 KB

sms-logs1012×835 103 KB

 

Messages module

The intention of the messages module is to facilitate building Message Services within OpenMRS. A message service is something like Visit Reminder, Welcome message sent for every new Patient, Health Tips sent every week for some period, Pill Reminders etc

The module combines Java utilities to configure such services and UI to fine-tune them.

Sources: GitHub - johnsonandjohnson/openmrs-module-messages: Module for OpenMRS to allow receiving messages like call or sms, from a health facility. Messages will be delivered directly to patients and the health facility will be able to schedule the messages.

 

messages-config995×682 36 KB

 

ETL Lite module

The ETL Lite module allows to connect OpenMRS to any external DB for data pulling. It uses Velocity scripts to transform and load data into OpenMRS. Allows to schedule the “pull” for periodic synchronization. We’ve been using it to pull patients and their planned visits from a 3rd party system.

Sources: GitHub - johnsonandjohnson/openmrs-module-etllite: Module for OpenMRS to allow Extract, Transform and Load (ETL) functionalities. It is needed to extract data from relational databases, transform it using Velocity templates, and then load it into an OpenMRS system using the application provided Spring services.

Pictures:

 

etl-databases983×688 41.8 KB

etl-mapping999×1161 102 KB