Keep Going — GSoC 2021 Week 3

Piumal Rathnayake
2 min readJun 29, 2021

During the week, the main things I was focusing on were the Location Mapping feature and Extending period support of the DHIS Connector module. So I created a set of issues on JIRA for the tasks related to extending period support.

First, let me tell you about the Period Support of this OpenMRS-DHIS2 integration. In DHIS2, datasets have a pre-assigned period type like Daily, Monthly, Yearly, etc. So the datasets keep aggregated data according to their period type. When it comes to OpenMRS, there’s no such thing and we can create reports for any time range according to our requirements. Therefore, when sending data from openmrs to DHIS2, the module automatically finds the period type of DHIS2 Dataset and creates the OpenMRS report with the respective time range. We have already improved this feature supporting most of the DHIS2 period types, and need to add the remaining period types. So I created issues for supporting 8 remaining period types. And I Sent pull requests for 2 period types.

Also, I continued working on the Automated Location Mapping feature. Last week I had sent a Pull request for generating the database, and it was reviewed and merged this week. The next task was to initiate the Location Mapping UI. I created a JIRA issue for that too and sent the Pull Request. It was made to implement the feature without the save/update functionality. The layout was selected out of 3 layouts that were discussed previously on OpenMRS Talk.

Location Mapping UI

Same as usual, I tested the things which I have to do next using my local openmrs instance. I was able to update the scheduling (automation) feature of the module to work with the automated location mapping feature. Here’s a small preview.

You may remember the Internal Server error that occurred In OpenMRS API last week. And I had created a thread to find the problem. The good news is, after some discussions, the openmrs community found the reason for the problem. So now I can find a way to fix it.

Business vector created by syarifahbrit — www.freepik.com
Image Credit: syarifahbrit — www.freepik.com

In the next week, I hope to continue working on the location mapping UI and supporting more period types. Also need to fix that bug in OpenMRS API.

--

--

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.