The aim of this project is to provide a way for healthcare providers to subscribe/unsubscribe to notifications about of specific events for patients in Bahmni.
Bahmni is built for point-of-care use, and healthcare workers use it directly as they are seeing patients in resource-limited settings). This works for many workflows (e.g. seeing patients in the order they are queued), but adding a notification would allow for some improved workflows, by not requiring the doctor to actively remember to check on things.
1. A doctor requests lab tests for a patients, and wants to be notified as soon as the results are ready (or perhaps only if there are abnormal results)
One piece of this project involves developing user screens in the existing Bahmni EMR UI to let users mark their "favorite" patients, and then to indicate what kind of notifications they want to get about these patients.The simple approach would be to add a star icon in the patient header so a user can favorite/unfavorite that patient, and to have an independent "manage notifications" screen that lets the user choose what kinds of notifications they want to receive, and via what communication channels (applying this to all their favorite patients). A more complex approach would let users subscribe to specific notifications on a per-patient level. A first step in the project would be to post in the discussion forums to get feedback about which approach makes more sense.create new notification subscriptions , covering the following workflow:
I create a new notification rule -> I choose a patient -> I select one or more predefined events -> I choose a notification type -> I start getting notification whenever the event happens.
The third piece of the project involves actually delivering notifications to users. In an ideal world we would let them choose from multiple notification options (SMS, email, telegram, browser push, in-app notification, etc), but for the scope of this project we would support just a single notification mechanism that does not have any per-message cost to the hospital. An early step in the project would involve getting feedback on our discussion forums about which mechanism is good enough to start with.
- Experience working with RESTful Web Services
- Nice-to-have : Experience with microservices architectures
This project consists of two pieces of software development:
- Enhancing our existing web UI with the ability to mark patients as "favorites", and to set their desired level of notifications. This would entail contributing to a mature, sophisticated Angular 1.x application.
- Building a new microservice from the ground up that reads event feeds, determines relevant events, and delivers notifications. (You would have flexibility to choose the tech stack for this.)
- In addition the project would require communicating with interested users to refine the exact feature behavior, and to document it on the project's wiki.
To be able to subscribe to in-app notifications on one or more predefined events for a patient (one patient at a time).
To be able to receive in-app notifications.
To be able to mark notifications as read.
To be able to unsubscribe to a particular subscribed notification.
Consider visit types for the visit opened event
Consider normal / abnormal lab result for the lab result event
Add notification Types: Email, sms.