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.
This week was mostly about continue the implementation of the Bahmni atom feed reader microservice. Currently, it polls the patients’ atom feed and triggers when a new event occurs.
Next week I’ll be working on a webhook to display notifications on the frontend of the application. This works as follows
You can find the current implementation of the microservice here.
We had the 2nd evaluation this week. By the end of this week I was able to complete the first phase of the project which was to develop subscriptions management module which allows the user to create, modify & delete subscriptions made by the user.
In addition to that I was able to implement a module to read Bahmni atom feed. In the upcoming week I will integerate Java Spark microservice framework with the module so that it can be run as a service which expose endpoints to register and trigger subscriptions.
This week I involved in completing all frontend and backend operations related to the subscription management. In addition to adding new subscriptions, users can modify existing subscriptions as well.
Following are the UIs implemented related to subscription management.
This week I worked on adding referential integrity constraints, other missing database tables and newly added privileges to liquibase file which will be take effect at the time of omod initialization.
In addition to that I worked on implementing omod operations and other backend operations to create and fetch subscriptions.
I have to work on writing test cases for the previous tickets as well. That’s all for this week… :)
This week I was involved in fixing some issues associated with database tables. In addition to that I worked on liquibase.xml file which create required tables, insert privilege data to tables enforce referential integrity.
At the time of installing omod, it checks whether all changes in liquibase.xml file are added to the platform. If not it add all changes to the OpenMRS platform.
In addition to above changes I created a seperate JIRA component for notifications module and create some tasks(some were already fixed). You can find all the task related to the project here.
This is the end of the 5th week of GSoC coding period. I got my first evaluation completed. I was really happy to have a poitive feesback from my mentor. I would like to make this a chance to thank him for the support and guidance provided so far.
This week I recieved JIRA & Trello boards for the project. In addition to that I was able to integrate Bahmni styling to the OWA module.
An OpenMRS module is composed of 3 major components.
During the 3rd week of the coding period I had to face several challenges related to ui implementation. I initially used Material-UI to implement components like tables. But the problem was when it comes to form design material ui’s text fields and selects are lot different than the styling used in Bahmni app. Because of that I had to use react-bootstrap libray to implement forms. Below is the subscription edit form implemented using react-bootstrap library.
I was able to complete all basic UIs including subscription management, edit subscriptions and add patients during this work using react & redux. However after discussing with the community they suggested to use Bahmni EMR UI look and feel instead of OpenMRS ref app style. Therefore will have to adapt these UIs to reflect above mentioned changes.
Today is the last day of the 2nd week of GSoC coding period. I was able to start the implementation of front end of the Bahmni Notification module with the help of my mentor Daniel. Eventhough I started development of frontend using Angular, I moved my development environment to React+Redux after digging through pros and cons of each approach.
However first half of week 2 spent to solve issue with the AngularJS boilerplate generated by the OpenMRS OWA Generator tool. After having a discussion on OpenMRS Talk we were able to confirm that it is a issue with the generated…