@Controller
@RequestMapping(value="/patientGraphJson.form")
public class PatientDashboardGraphController
extends java.lang.Object
Constructor and Description |
---|
PatientDashboardGraphController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
showGraphData(java.lang.Integer patientId,
java.lang.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 java.lang.String showGraphData(@RequestParam(required=true,value="patientId") java.lang.Integer patientId, @RequestParam(required=true,value="conceptId") java.lang.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 Inc.. All Rights Reserved.