GSoC’20 with OpenMRS | Coding Phase — Week 8

Shivansh Rakesh
2 min readJul 26, 2020

Progress — Week 8

This week went quite well and in line with the objectives which were planned.

  • The implementation of the modified narrative generator was finalised and the required changes were made. Tests were added for ensuring coverage of the same.
  • PRs for FM2–249 & FM2–251 got merged.

Tickets:

  • [Closed] FM2–249: Improve content and layout of narratives (link)
  • [Closed] FM2–251: Add support for overriding default narratives (link)
  • [PR Under Review] FM2–252: Add support for relative path with prefix openmrs: for narrative templates (link)

Pull Requests:

Issues Faced:

Simplification of the modified narrative generator was the main topic of discussion. But it turned out that since NarrativeTemplateManifest has a private constructor, it can’t be inherited. Thus making the simplification task difficult.

Solution: The solution we settled upon was to get the necessary parts of the code from HAPI FHIR and add a license notification for the same. The necessary changes were made to them to fulfil our requirements. Also, the classes were dressed to resemble the OpenMRS conventions and unused methods were removed.

Plan for Week-9

Since next week is the last week for Coding Phase-2, the objective for next week would be to wrap up FM2–252 (hence wrapping up the planned objectives for Coding Phase-2). Also, next week would have evaluations for Coding Phase-2.

--

--