diff --git a/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java b/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java index a9a7b91f..a2939450 100644 --- a/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java +++ b/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java @@ -35,8 +35,7 @@ public class VisitController extends BaseRestController { public ResponseEntity getVisitsWithDiagnosesByPatient( HttpServletRequest request, HttpServletResponse response, - @PathVariable("patientUuid") String patientUuid, - @RequestParam("patient") Patient patient) { + @PathVariable("patientUuid") String patientUuid) { RequestContext context = RestUtil.getRequestContext(request, response, Representation.DEFAULT); List visitsEntries;