org.domain.rhims.entity
Class Pulse
java.lang.Object
org.domain.rhims.entity.MedicalDataValue
org.domain.rhims.entity.Pulse
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="pulse")
public class Pulse
- extends MedicalDataValue
The Pulse class extends the base MedicalDataValue class to support
pulse data.
- Author:
- Mitch Williams
- See Also:
- Serialized Form
|
Constructor Summary |
Pulse()
|
Pulse(Patient patient,
java.util.Date timeStamp,
int medicalData)
Constructor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pulse
public Pulse()
Pulse
public Pulse(Patient patient,
java.util.Date timeStamp,
int medicalData)
- Constructor
- Parameters:
patient - the Patient that this data was received fromtimeStamp - the time at which this data was initially recorded by
the monitoring device.medicalData - the actual data value
getMedicalData
public double getMedicalData()
- Description copied from class:
MedicalDataValue
- Retrieve the actual data value
- Specified by:
getMedicalData in class MedicalDataValue
- Returns:
- a double representation of the medical data value
setMedicalData
public void setMedicalData(int medicalData)
getMedicalDataTypeDescription
public java.lang.String getMedicalDataTypeDescription()
- Description copied from class:
MedicalDataValue
- Get a string that describes what type of data this (i.e. "Pulse")
- Specified by:
getMedicalDataTypeDescription in class MedicalDataValue
- Returns:
- a string containing the type of the medical data