org.domain.rhims.manager
Class DataEvaluationManagerAction
java.lang.Object
org.domain.rhims.manager.DataEvaluationManagerAction
- All Implemented Interfaces:
- DataEvaluationManager
@Name(value="healthGuidelineManager")
public class DataEvaluationManagerAction
- extends java.lang.Object
- implements DataEvaluationManager
This class provides an implementation of the DeviceInputManager. It maintains
a reference to the MedicalDataDAO for persisting data. Its Seam name is
"healthGuidelineManager".
- Author:
- Shane Woolwine
|
Method Summary |
void |
evaluateMedicalData(java.lang.String patientUsername,
java.util.Date timestamp,
java.lang.String dataValueType,
double healthDataValue)
Using information received from the http servelet HealthInformationReceiver, the evaluateMedicalData
method takes the medical value and patient username and cross references it with all cases with that particular username. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataEvaluationManagerAction
public DataEvaluationManagerAction()
evaluateMedicalData
public void evaluateMedicalData(java.lang.String patientUsername,
java.util.Date timestamp,
java.lang.String dataValueType,
double healthDataValue)
- Using information received from the http servelet HealthInformationReceiver, the evaluateMedicalData
method takes the medical value and patient username and cross references it with all cases with that particular username.
In each case, it checks if the received medical value is within the case guideline. If not, it extracts the clinician
associated with the case and sends him/her an email alert.
- Specified by:
evaluateMedicalData in interface DataEvaluationManager
- Parameters:
patientUsername - String of the patient username associated with the datatimestamp - Date timestamp of when data was receiveddataValueType - Type of value of health data, represented as a stringhealthDataValue - Data value, currently just a double