GSoC’21 @ OpenMRS-Week 3
Week 3 Experience
Week 3 was a great learning week. I felt that I have expanded my knowledge about software writing and things about Java due to the patience and guidance of my mentors.
Tickets I worked on
There were no new tickets I worked on this week.
There were some more scopes of improvement in FM2–398 as mentioned in the PR reviews. The main improvement was to add a custom matcher for checking that the
$lastn operation results were grouped by code, sorted and count of distinct
obsDatetime was at most the value specified in the
max parameter. The reviewed changes have been pushed, so I guess it will be merged next week.
For FM2–400 Ian suggested that it would be best to refactor the code so that the redundant functionalities in
$lastn-encounters could be written using some common code. I have pushed these changes as well, although there might be a few more reviews on this.
FM2–401 requires adding to module R3, the functionality and tests we added in FM2–400 for module R4. The code is there in my local, although FM2–400 needs to be merged before I push FM2–401. So as soon as FM2–400 is merged, FM2–401 will be pushed.
Plans for Week 4
Since Week 4 is the pre-final week before the first evaluation, I hope to get
$lastn-encounters completed before the weekend, so that I could improve the units tests for
$lastn in week 5.