@Controller
public class VisitListController
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected org.directwebremoting.util.Logger | 
log  | 
static java.lang.String | 
PATIENT  | 
static java.lang.String | 
VISITS_PATH  | 
| Constructor and Description | 
|---|
VisitListController()  | 
| Modifier and Type | Method and Description | 
|---|---|
Patient | 
getPatient(java.lang.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 java.lang.String VISITS_PATH
public static final java.lang.String PATIENT
@RequestMapping(value="/admin/visits/datatable") @ResponseBody public DatatableResponse getVisits(@ModelAttribute Patient patient, javax.servlet.http.HttpServletRequest request)
patient - request - DatatableResponse@ModelAttribute public Patient getPatient(@RequestParam(value="patient") java.lang.Integer patientId)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.