org.jscience.medicine
Class Patient

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.medicine.Patient
All Implemented Interfaces:
Named

public class Patient
extends Role

The Patient class provides some useful information about the health of an individual.


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Patient(Individual individual, MedicalSituation situation)
          Creates a new Patient object.
 
Method Summary
 void addMedicalRecord(Report medicalRecord)
          DOCUMENT ME!
 void addPathology(Pathology pathology)
          DOCUMENT ME!
 void addTreatment(Treatment treatment)
          DOCUMENT ME!
 float getBloodOxygen()
          DOCUMENT ME!
 float getBloodPressure()
          DOCUMENT ME!
 float getCardiacRate()
          DOCUMENT ME!
 java.util.Set getCurrentPathologies()
          DOCUMENT ME!
 java.util.Vector getMedicalRecords()
          DOCUMENT ME!
 float getNormalTemperature()
          DOCUMENT ME!
 float getPainScale()
          DOCUMENT ME!
 float getRespiratoryRate()
          DOCUMENT ME!
 float getTemperature()
          DOCUMENT ME!
 java.util.Set getTreatments()
          DOCUMENT ME!
 void removeLastMedicalRecord()
          DOCUMENT ME!
 void removeMedicalRecord(Report medicalRecord)
          DOCUMENT ME!
 void removePathology(Pathology pathology)
          DOCUMENT ME!
 void removeTreatment(Treatment treatment)
          DOCUMENT ME!
 void setBloodOxygen(float bloodOxygen)
          DOCUMENT ME!
 void setBloodPressure(float pressure)
          DOCUMENT ME!
 void setCardiacRate(float rate)
          DOCUMENT ME!
 void setCurrentPathologies(java.util.Set pathologies)
          DOCUMENT ME!
 void setMedicalRecords(java.util.Vector medicalRecords)
          DOCUMENT ME!
 void setNormalTemperature(float normalTemperature)
          DOCUMENT ME!
 void setPainScale(float painScale)
          DOCUMENT ME!
 void setRespiratoryRate(float respiratoryRate)
          DOCUMENT ME!
 void setTemperature(float temperature)
          DOCUMENT ME!
 void setTreatments(java.util.Set treatments)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Patient

public Patient(Individual individual,
               MedicalSituation situation)
Creates a new Patient object.

Parameters:
individual - DOCUMENT ME!
situation - DOCUMENT ME!
Method Detail

getBloodPressure

public float getBloodPressure()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBloodPressure

public void setBloodPressure(float pressure)
DOCUMENT ME!

Parameters:
pressure - DOCUMENT ME!

getCardiacRate

public float getCardiacRate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCardiacRate

public void setCardiacRate(float rate)
DOCUMENT ME!

Parameters:
rate - DOCUMENT ME!

getTemperature

public float getTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTemperature

public void setTemperature(float temperature)
DOCUMENT ME!

Parameters:
temperature - DOCUMENT ME!

getNormalTemperature

public float getNormalTemperature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setNormalTemperature

public void setNormalTemperature(float normalTemperature)
DOCUMENT ME!

Parameters:
normalTemperature - DOCUMENT ME!

getRespiratoryRate

public float getRespiratoryRate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRespiratoryRate

public void setRespiratoryRate(float respiratoryRate)
DOCUMENT ME!

Parameters:
respiratoryRate - DOCUMENT ME!

getPainScale

public float getPainScale()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPainScale

public void setPainScale(float painScale)
DOCUMENT ME!

Parameters:
painScale - DOCUMENT ME!

getBloodOxygen

public float getBloodOxygen()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBloodOxygen

public void setBloodOxygen(float bloodOxygen)
DOCUMENT ME!

Parameters:
bloodOxygen - DOCUMENT ME!

getCurrentPathologies

public java.util.Set getCurrentPathologies()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCurrentPathologies

public void setCurrentPathologies(java.util.Set pathologies)
DOCUMENT ME!

Parameters:
pathologies - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

addPathology

public void addPathology(Pathology pathology)
DOCUMENT ME!

Parameters:
pathology - DOCUMENT ME!

removePathology

public void removePathology(Pathology pathology)
DOCUMENT ME!

Parameters:
pathology - DOCUMENT ME!

getTreatments

public java.util.Set getTreatments()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTreatments

public void setTreatments(java.util.Set treatments)
DOCUMENT ME!

Parameters:
treatments - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

addTreatment

public void addTreatment(Treatment treatment)
DOCUMENT ME!

Parameters:
treatment - DOCUMENT ME!

removeTreatment

public void removeTreatment(Treatment treatment)
DOCUMENT ME!

Parameters:
treatment - DOCUMENT ME!

getMedicalRecords

public java.util.Vector getMedicalRecords()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addMedicalRecord

public void addMedicalRecord(Report medicalRecord)
DOCUMENT ME!

Parameters:
medicalRecord - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

removeMedicalRecord

public void removeMedicalRecord(Report medicalRecord)
DOCUMENT ME!

Parameters:
medicalRecord - DOCUMENT ME!

removeLastMedicalRecord

public void removeLastMedicalRecord()
DOCUMENT ME!


setMedicalRecords

public void setMedicalRecords(java.util.Vector medicalRecords)
DOCUMENT ME!

Parameters:
medicalRecords - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!