@Controller public class VisitListController extends Object
Modifier and Type | Field and Description |
---|---|
protected org.directwebremoting.util.Logger |
log |
static String |
PATIENT |
static String |
VISITS_PATH |
Constructor and Description |
---|
VisitListController() |
Modifier and Type | Method and Description |
---|---|
Patient |
getPatient(Integer patientId) |
DatatableResponse |
getVisits(Patient patient,
javax.servlet.http.HttpServletRequest request)
It handles calls from DataTables.
|
protected final org.directwebremoting.util.Logger log
public static final String VISITS_PATH
public static final String PATIENT
@RequestMapping(value="/admin/visits/datatable") @ResponseBody public DatatableResponse getVisits(@ModelAttribute Patient patient, javax.servlet.http.HttpServletRequest request)
patient
- request
- DatatableResponse
Copyright © 2015 OpenMRS Inc.. All rights reserved.