|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.domain.rhims.entity.MedicalDataValue
public abstract class MedicalDataValue
The MedicalDataValue class is used to represent a single medical data value recorded from a patient. It is an abstract base class that is extended by classes representing the different types of medical data, such as 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 patient field is the patient that this data was received from. The timeStamp field is the time at which this data was initially recorded by the monitoring device.
| Constructor Summary | |
|---|---|
MedicalDataValue()
Default Constructor |
|
MedicalDataValue(Patient patient,
java.util.Date timeStamp)
Constructor |
|
| Method Summary | |
|---|---|
abstract double |
getMedicalData()
Retrieve the actual data value |
abstract java.lang.String |
getMedicalDataTypeDescription()
Get a string that describes what type of data this (i.e. |
Patient |
getPatient()
|
long |
getPrimaryKey()
|
java.util.Date |
getTimeStamp()
|
void |
setPatient(Patient patient)
|
void |
setPrimaryKey(long primaryKey)
|
void |
setTimeStamp(java.util.Date timeStamp)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MedicalDataValue()
public MedicalDataValue(Patient patient,
java.util.Date timeStamp)
patient - the patient that this data was received from.timeStamp - the time at which this data was initially recorded by
the monitoring device.| Method Detail |
|---|
public abstract java.lang.String getMedicalDataTypeDescription()
public abstract double getMedicalData()
public long getPrimaryKey()
public void setPrimaryKey(long primaryKey)
public Patient getPatient()
public void setPatient(Patient patient)
public java.util.Date getTimeStamp()
public void setTimeStamp(java.util.Date timeStamp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||