public class PatientGraphData
extends java.lang.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,
java.lang.Double valueNumeric)
Method to add the x and y co-ordinates of the patient graph
|
void |
setAbsoluteHigh(java.lang.Double hiAbsolute)
Auto generated method comment
|
void |
setAbsoluteLow(java.lang.Double lowAbsolute)
Auto generated method comment
|
void |
setConceptName(java.lang.String conceptName) |
void |
setCriticalHigh(java.lang.Double hiCritical)
Method to set the critical high value of the concept
|
void |
setCriticalLow(java.lang.Double lowCritical)
Method to set the critical low value
|
void |
setNormalHigh(java.lang.Double hiNormal)
Auto generated method comment
|
void |
setNormalLow(java.lang.Double lowNormal)
Auto generated method comment
|
void |
setUnits(java.lang.String units)
Sets the units of the for which the graph is to be
plotted
|
java.lang.String |
toString() |
public PatientGraphData()
public void addValue(long time, java.lang.Double valueNumeric)
time
- date of the observationvalueNumeric
- value of the recorded observationpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void setCriticalHigh(java.lang.Double hiCritical)
hiCritical
- highest value allowed for the conceptpublic void setCriticalLow(java.lang.Double lowCritical)
lowCritical
- lowest value allowed for the conceptpublic void setAbsoluteHigh(java.lang.Double hiAbsolute)
hiAbsolute
- public void setAbsoluteLow(java.lang.Double lowAbsolute)
lowAbsolute
- public void setNormalHigh(java.lang.Double hiNormal)
hiNormal
- public void setNormalLow(java.lang.Double lowNormal)
lowNormal
- public void setUnits(java.lang.String units)
units
- the units associated with the conceptpublic void setConceptName(java.lang.String conceptName)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.