Package Model
Class Patient
java.lang.Object
Model.User
Model.Patient
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDiagnoses
(List<String> diagnoses) void
addDiagnosis
(String diagnosis) void
addPrescription
(String prescriptionId) void
addPrescriptions
(List<String> prescriptions) void
addTreatment
(String treatment) void
addTreatments
(List<String> treatments) boolean
getDob()
int
hashCode()
void
setBloodType
(String bloodType) void
setContactInfo
(String phone, String email) void
toString()
Methods inherited from class Model.User
changePassword, getGender, getId, getName, getPassword, getRole, setGender, setName, setRole
-
Constructor Details
-
Patient
-
-
Method Details
-
setDob
-
setBloodType
-
getBloodType
-
getContactInfo
-
setContactInfo
-
getDob
-
equals
-
hashCode
-
toString
-
getMedicalRecord
-
addDiagnosis
-
addTreatment
-
addPrescription
-
getDiagnosisHistory
-
getTreatmentHistory
-
getPrescriptionHistory
-
addDiagnoses
-
addTreatments
-
addPrescriptions
-