org.domain.rhims.entity
Class Pulse

java.lang.Object
  extended by org.domain.rhims.entity.MedicalDataValue
      extended by 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
 
Method Summary
 double getMedicalData()
          Retrieve the actual data value
 java.lang.String getMedicalDataTypeDescription()
          Get a string that describes what type of data this (i.e.
 void setMedicalData(int medicalData)
           
 
Methods inherited from class org.domain.rhims.entity.MedicalDataValue
getPatient, getPrimaryKey, getTimeStamp, setPatient, setPrimaryKey, setTimeStamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pulse

public Pulse()

Pulse

public Pulse(Patient patient,
             java.util.Date timeStamp,
             int medicalData)
Constructor

Parameters:
patient - the Patient that this data was received from
timeStamp - the time at which this data was initially recorded by the monitoring device.
medicalData - the actual data value
Method Detail

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