public class PatientGraphData extends Object
Constructor and Description |
---|
PatientGraphData()
Constructor to initialise the JSON object which will represent the flot data
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(long time,
Double valueNumeric)
Method to add the x and y co-ordinates of the patient graph
|
void |
setAbsoluteHigh(Double hiAbsolute)
Auto generated method comment
|
void |
setAbsoluteLow(Double lowAbsolute)
Auto generated method comment
|
void |
setConceptName(String conceptName) |
void |
setCriticalHigh(Double hiCritical)
Method to set the critical high value of the concept
|
void |
setCriticalLow(Double lowCritical)
Method to set the critical low value
|
void |
setNormalHigh(Double hiNormal)
Auto generated method comment
|
void |
setNormalLow(Double lowNormal)
Auto generated method comment
|
void |
setUnits(String units)
Sets the units of the for which the graph is to be plotted
|
String |
toString() |
public PatientGraphData()
public void addValue(long time, Double valueNumeric)
time
- date of the observationvalueNumeric
- value of the recorded observationpublic String toString()
toString
in class Object
Object.toString()
public void setCriticalHigh(Double hiCritical)
hiCritical
- highest value allowed for the conceptpublic void setCriticalLow(Double lowCritical)
lowCritical
- lowest value allowed for the conceptpublic void setAbsoluteHigh(Double hiAbsolute)
hiAbsolute
- public void setAbsoluteLow(Double lowAbsolute)
lowAbsolute
- public void setNormalHigh(Double hiNormal)
hiNormal
- public void setNormalLow(Double lowNormal)
lowNormal
- public void setUnits(String units)
units
- the units associated with the conceptpublic void setConceptName(String conceptName)
Copyright © 2015 OpenMRS Inc.. All rights reserved.