Class HealthInformation

java.lang.Object
com.ehealthsystem.healthInformation.HealthInformation

public class HealthInformation extends Object
Represents the health information of a user
  • Field Details

    • ICD

      private String ICD
    • disease

      private String disease
    • medication

      private String medication
  • Constructor Details

    • HealthInformation

      public HealthInformation(String ICD, String disease, String medication)
      set the attributes when creating a new object
      Parameters:
      ICD -
      disease -
      medication -
  • Method Details

    • getICD

      public String getICD()
      get ICD returned
      Returns:
      The ICD as a String.
    • getDisease

      public String getDisease()
      get the disease returned
      Returns:
      The disease as a String.
    • getMedication

      public String getMedication()
      get the medication returned
      Returns:
      The medication as a String.
    • setICD

      public void setICD(String ICD)
      set the ICD
      Parameters:
      ICD -
    • setDisease

      public void setDisease(String disease)
      set the disease
      Parameters:
      disease -
    • setMedication

      public void setMedication(String medication)
      set the medication
      Parameters:
      medication -