GSoC Summary

Chathura Widanage
Aug 19, 2016 · 3 min read

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 :

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 :

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 :

Some screens of the DNMS application

Data pre-loading and caching
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.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store