Getting Diagnoses Summary Using Rest API

@dkayiwa I have added a rest resource in emrapi module exactly the way Darius have described in point (2). My question is how do I test this url.

If I use url like this: http://localhost:8084/openmrs/ws/rest/emrapi/patientdiagnoses?patientUuid=6afdb2e5-28ea-11e7-bf5c-28d244b594c0

If gives me unknown resource error: “message”: “Resource does not exist. Please check documentation for implemented resources and their paths [null]”,

All other apis, apart from emrapi has this urls pattern: http://localhost:8084/openmrs/ws/rest/v1/* which is working perfectly fine.

Only emrapi rest resource seems to have different url pattern. So What will be the url for emrapi rest resources.

(Its midnight here, I will catch you up tomorrow again)