Class HealthInformation
java.lang.Object
com.ehealthsystem.healthInformation.HealthInformation
Represents the health information of a user
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHealthInformation
(String ICD, String disease, String medication) set the attributes when creating a new object -
Method Summary
Modifier and TypeMethodDescriptionget the disease returnedgetICD()
get ICD returnedget the medication returnedvoid
setDisease
(String disease) set the diseasevoid
set the ICDvoid
setMedication
(String medication) set the medication
-
Field Details
-
ICD
-
disease
-
medication
-
-
Constructor Details
-
HealthInformation
set the attributes when creating a new object- Parameters:
ICD
-disease
-medication
-
-
-
Method Details
-
getICD
get ICD returned- Returns:
- The ICD as a String.
-
getDisease
get the disease returned- Returns:
- The disease as a String.
-
getMedication
get the medication returned- Returns:
- The medication as a String.
-
setICD
set the ICD- Parameters:
ICD
-
-
setDisease
set the disease- Parameters:
disease
-
-
setMedication
set the medication- Parameters:
medication
-
-