org.domain.rhims.entity
Class MedicalDataValue
java.lang.Object
org.domain.rhims.entity.MedicalDataValue
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="medicalDataValue")
public class MedicalDataValue
- extends java.lang.Object
- implements java.io.Serializable
The MedicalDataValue class is used to represent a single medical data value
recorded from a patient. Examples are pulse and blood pressure.
It is an entity class that is persisted.
Its Seam name is "medicalDataValue".
The primaryKey field is used for persistance reasons. It will most likely be
replaced by a composite key class in the future.
The patientID field is the unique id number of the patient that this data
was received from.
The medicalDataType field is the physiological parameter that this data value
is for, i.e. pulse or blood pressure.
The medicalData field is the actual data value.
The timeStamp field is the time at which this data was initially recorded by
the monitoring device.
- Author:
- Mitch Williams
- See Also:
- Serialized Form
|
Constructor Summary |
MedicalDataValue()
Default Constructor |
MedicalDataValue(java.lang.String medicalData,
java.lang.String medicalDataType,
long patientID,
java.util.Date timeStamp)
Constructor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MedicalDataValue
public MedicalDataValue()
- Default Constructor
MedicalDataValue
public MedicalDataValue(java.lang.String medicalData,
java.lang.String medicalDataType,
long patientID,
java.util.Date timeStamp)
- Constructor
- Parameters:
medicalData - the actual data valuemedicalDataType - the physiological parameter that this data value is
for, i.e. pulse or blood pressure.patientID - the unique id number of the patient that this data was
received from.timeStamp - the time at which this data was initially recorded by
the monitoring device.
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long primaryKey)
getPatientID
public long getPatientID()
setPatientID
public void setPatientID(long patientID)
getMedicalDataType
public java.lang.String getMedicalDataType()
setMedicalDataType
public void setMedicalDataType(java.lang.String medicalDataType)
getMedicalData
public java.lang.String getMedicalData()
setMedicalData
public void setMedicalData(java.lang.String medicalData)
getTimeStamp
public java.util.Date getTimeStamp()
setTimeStamp
public void setTimeStamp(java.util.Date timeStamp)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object