/** * @see org.openmrs.module.webservices.rest.web.resource.api.Searchable#search(org.openmrs.module.webservices.rest.web.RequestContext) */ @Override public SimpleObject search(RequestContext context) throws ResponseException { PageableResult result = doSearch(context); return result.toSimpleObject(this); }