Hi all
I am trying to populate a select box with MrrtReportTemplates, it has a resource MrrtReportTemplateResource which was implemented according to our standard here by extending DataDelegatingCrudResource. https://github.com/openmrs/openmrs-module-radiology/blob/master/omod/src/main/java/org/openmrs/module/radiology/report/template/web/resource/MrrtReportTemplateResource.java#L32
Here is my javascript code https://github.com/ivange94/openmrs-module-radiology/blob/RAD-273/omod/src/main/webapp/orders/radiologyReportSegment.jsp#L21-L28
When I run it I get a bad request from server. I am trying to retrieve all templates and populate the select element on the page.