Time Flies — GSoC 2021 Week 2

Piumal Rathnayake
3 min readJun 22, 2021

--

It’s the end of the second week of Google Summer of Code. It means 20% of the coding period is over now. During the week, I encountered several bugs and issues which slowed down my progress. I spent a lot of time finding solutions for those, so missed some of the main objectives of the week. Need to speed up in the next weeks to go ahead of the schedule. Anyway, Let’s have a quick overview of the week.

At the beginning of the week, I wanted to test the Run Reports UI of the DHIS Connector module by adding the automated location mapping feature. Every DHIS2 dataset has a pre-defined set of organization units. Therefore I was able to fetch the available organization units of the Report-DataSet mapping using the DHIS2 API. I went through the DHIS2 API Documentation to do so. And I updated the UI to display the available location-org.unit mappings of the selected Report By using the location mapping data we previously saved in the database.

The next step was to use the DHIS2 API for the automatic ‘Send Data’ scenario. Therefore I had to use the OpenMRS Reporting REST API first to get the period indicator reports. But there was an error in the endpoint I wanted to use, so I had to wait for a solution to continue working on the Run Reports UI. Unfortunately, still I couldn’t find a solution.

However, during the week I started creating issues on Jira. I created an Epic for the location mapping feature and sent a pull request to initiate it by Generating the required database table. You may remember how I generated the table using liquibase if you read my previous post. I used the same database structure for the Pull Request.

Next week I hope to start working on other issues parallelly, instead of working only on the location mapping feature. At the moment I have already created a set of issues in JIRA, so I hope I’ll be able to send 2–3 pull requests in the upcoming week.

Sign up to discover human stories that deepen your understanding of the world.

--

--

Piumal Rathnayake
Piumal Rathnayake

Written by Piumal Rathnayake

I'm a Computer Engineering Undergraduate at University of Peradeniya, Sri Lanka. And I also work as a software engineer at Sustainable Education Foundation.

No responses yet

Write a response