GSoC’20 with OpenMRS | Coding Phase — Week 4

Shivansh Rakesh
2 min readJun 28, 2020

Progress — Week 4

The fourth week of the GSoC period ended. This week went as it was planned. No major issues were faced. Default narratives for the following resources were created:

  • RelatedPerson
  • Task
  • PractitionerRole
  • Generic datatypes used in the above

Tickets:

  • [Under Review] FM2–230: Create default narratives for resources (RelatedPerson, Task, PractitionerRole) (link)

Active Pull Requests:

  • [Under Review] FM2: PR#207 (link)
  • [Under Review] FM2: PR#219 (link)
  • [Under Review] FM2: PR#232 (link)

Issue(s) Faced

This week had no major issues to deal with. Though, there were some changes suggested by Ian (discussion link):

  • Change in property table layout: Currently, there is one main hapiPropertyTable which contains most of the properties in a narrative. But, in cases where there are multiple sub-properties in a property with multiple entries, there are separate subPropertyTable for those. In order to maintain the order of the property listing, currently the main table has to be broken to give space for these sub-tables. This creates an inconsistency in the alignment. Thus, the suggestion is to make these sub-tables reside in the rows of the main-table itself.
  • Addition of details to properties of type Coding: Currently, for the properties of type Coding, only the ‘Value’ attribute is displayed in the narratives. The suggestion is to display the ‘Detail’ attribute associated with the value too, to make it more descriptive.

These changes shall be covered in the coming week, on top of the commits in the above listed PRs once they get approved, as these changes would also require changes in the expected narrative of all resources.

Plan for Evaluation Period-1

Week-4 was the last week of Coding Phase-1. Next week is the evaluation period for Coding Phase-1. The plan for next week is as follows:

  • Working on the suggestions mentioned in the previous section.
  • Wrapping up of the tasks for Coding Phase-1.
  • Submission of Evaluation for Coding Phase-1.

--

--