GSoC Summary

Throughout the last four months I was quite fortunate to work on DHIS2 tracker longitudinal charts project under the guidance of my two mentors Dr. Roshan Hewapathirana and Dr. Pamod Amarakoon. In order to achieve the goals of the project I had to work with the DHIS2 web api and DHIS2 tracker capture module. Here is a summary of the work I have done during the GSoC 2016.

Work Done

Developed the tracker longitudinal charts app.

Github Repository :
https://github.com/chathurawidanage/dhis2-tracker-longitudinal-charts

This application has two components, one for the administrators to define charts and other one for the general users to view the data of the tracked entities plotted on the defined charts.

Some screens of the application.

Administrator’s Dashboard
Defining new charts
Reference data are uploaded as a CSV
View Component

Modifying DHIS2 Tracker Capture to allow app integration

Even though DHIS2 has plans for supporting tracker capture widgets, it has not implemented this feature yet.

Changes Done : http://bazaar.launchpad.net/~chathurawidanage/dhis2/tracker-longitudinal-charts/revision/22886

So as a solution for this I have modified a separate version of DHIS2 to support external applications inside tracker capture.

Sample Manifest with trackerEndPointDefined

After this patch is applied, tracker capture displays the icons of the supported apps as list on the top and clicking on the icon spawns the application and passes the tracked entity instance ID and the program ID to the application.

Longitudinal Charts app with tracker integration support

For those who want to test the chart app without above core modifications can use following bookmarklet to spawn the charts app from tracker capture.

Additional Work done after GSoC

The view component of the chart app has been created in a way making it easily pluggable to any other application. By utilizing this capability, currently I am developing the web version of the DNMS, which is an android application developed by Health Informatics Society of Sri Lanka to monitor the nutrition of children at district level. This project is still in its early stages..

Github repository : https://github.com/chathurawidanage/dnms

Some screens of the DNMS application

Data pre-loading and caching
Dahsboard
Identifying children having health risks
Child Profile
Longitudinal Charts integration in child profile

Credits for other open source projects

Following open source libraries and frameworks have been used during the development of above applications.

Also I would like to thank my mentors Dr. Roshan Hewapathirana, Dr. Pamod Amarakoon and DHIS2 community for helping and guiding me throughout the project and providing helpful reviews.