@Controller @RequestMapping(value="/patientGraphJson.form") public class PatientDashboardGraphController extends Object
| Constructor and Description |
|---|
PatientDashboardGraphController() |
| Modifier and Type | Method and Description |
|---|---|
String |
showGraphData(Integer patientId,
Integer conceptId,
org.springframework.ui.ModelMap map)
Method to formulate a JSON string used by flot for rendering the patient graph
|
@RequestMapping(method=GET) public String showGraphData(@RequestParam(required=true,value="patientId") Integer patientId, @RequestParam(required=true,value="conceptId") Integer conceptId, org.springframework.ui.ModelMap map)
patientId - identifier for the patientconceptId - identifier of the concept for which the graph has to be plottedmap - Copyright © 2018 OpenMRS LLC.. All Rights Reserved.