GSOC 2018 OpenMRS — week 8

Ridmal Madushanka
Jul 9, 2018 · 1 min read

In this week i worked with the ATT-27 issue which is modify the Attachment REST end point for file upload to Allow the upload attachments based on the specific encounter.Main tasks of this ticket is

  1. ensure that it would be possible to specify an encounter parameter to choose which encounter to hook the attachment to.

2. If both the visit and encounter parameter are provided together then an IllegalRequestExceptionshould be thrown if the encounter does not belong to the visit.

And i created a required unit test for test the modified attachment REST end point.

Ridmal Madushanka

Written by

I am an undergraduate of faculty of information technology, University of Moratuwa.