Final Project Object-Oriented Programming
Write a program that helps a hospital assessing and planning treatment requirements:
a. Determine if the patient satisfies epidemiological and clinical criteria, and classify this patient as a suspect case of one of the following respiratory diseases: COVID-19, Influenza, or a common cold.
b. Get the information of the symptoms (see Figure 1). You can read the data from a text file. Use a class hierarchy trough inheritance to classify the three respiratory diseases-more details in Note 1.
c. Depending on which respiratory disease, the program will provide are commendation (you can read the advice from a text file) —more information in Note 1.
d. Use an array of objects to save the information of the patient (name, age, location state) in case it was positive for COVID-19.
e. The program will show some statistics about patients.
i. How many patients do have COVID in Mexico?
ii. How many from each state?
iii. What is the average age of the patients that have COVID?
f. Handle any error during the program using Exceptions.
Note1: Use a text file to read the information in "b" or "c."
Create a Graphical User Interface (GUI) appropriate to the program.