GSoC 2020 at OpenMRS | Week 7
The seventh week of the coding period for GSoC'20 began on 13th July and ends today i.e. 19th July. The week saw considerable progress on the _include feature implementation, with most of the resources supporting it now. There were no major issues faced during the week, apart from just one where some translators in the FHIR v2 module did not have null checks at various places, leading to unexpected NullPointerExceptions. I picked up this task and resolved the issue by adding null checks at all the vulnerable points in the translators. Also, with the first release of the FHIR module in mind, this was one of the important and critical tasks to be completed.
It is different from _include in the sense that, _revinclude retreives all resources which refer to the searched resource whereas _include retrieves all resources which are referred to by the searched resource. I'll work on refactoring the module to support _revinclude and try to implement a small framework that makes it easier to extend the feature to all resources.
The JIRA tickets for issues I'll work on are:
Have a good day! See you next week...
Tickets worked on during Week 7
Since the FHIR v2 module is going to be released in the next 2 weeks, there are no additional feature commits being done on it for now and will be taken up only after the release. Therefore, my _include pull requests are still not created, though the work is complete for the tickets mentioned. I worked on six issues and the JIRA tickets for them are as follows:- Add null checks to translators (Status: Merged)
- Update AllergyIntolerance resource to support _include (Status: Completed but PR not created yet)
- Update Condition resource to support _include (Status: Completed but PR not created yet)
- Update DiagnosticReport resource to support _include (Status: Completed but PR not created yet)
- Update Encounter resource to support _include (Status: Completed but PR not created yet)
- Update MedicationRequest to support _include (Status: Completed but PR not created yet)
Plan for Week 8
The tasks for the next week include implementing _include for Person, RelatedPerson and ServiceRequest resources. After these, I'll start working on _revinclude feature implementation, commonly known as reverse include.It is different from _include in the sense that, _revinclude retreives all resources which refer to the searched resource whereas _include retrieves all resources which are referred to by the searched resource. I'll work on refactoring the module to support _revinclude and try to implement a small framework that makes it easier to extend the feature to all resources.
The JIRA tickets for issues I'll work on are:
- Update Person resource to support _include
- Update RelatedPerson resource to support _include
- Update ServiceRequest resource to support _include
- Refactor module to support _revinclude
Have a good day! See you next week...