@RequestMapping(value = "orders", method = RequestMethod.GET, produces = "application/json") public @ResponseBody String fetchOrdersJson( @RequestParam(value = "strFilter", required = true) String filtro) throws Exception { logger.info("Obteniendo las ordenes de examen pendienetes según filtros en JSON"); FiltroMx filtroMx = jsonToFiltroSolicitudDx(filtro); List<DaTomaMx> tomaMxList = envioMxService.getMxPendientes(filtroMx); return tomaMxToJson(tomaMxList); }