4. Medical Assistant: Design a Java application to give medical assistance. The system will have following sets of information:
· Symptom information that specifies, for each symptom recognized by the program, a set of possible diseases that the symptom might indicate
· Disease information that specifies, for each disease recognized by the program, a set of necessary symptoms that must accompany the disease
The MedicalDataBase class will read the first two sets of information from the user/patient and writes the information into a csv file with the name "[login to view URL]" in the following format:
"patient id" | "patient name" | "symptoms list" | "possible disease"
Definition of Done
i. The program will maintain two text files containing a list of symptoms and possible diseases, namely “[login to view URL]” & “[login to view URL]” respectively
ii. Two methods will be used:
a. void addSymptom(String symptom) that adds the symptoms for a given patient into an array of String and throws UnrecognizedSymptomException if the symptom added does not appear in the "[login to view URL]" file
b. String[] diagnosis() returns the list of possible disease consistent with the symptoms submitted thus far and throws UnrecognizedDiseaseException if the disease does not appear in the "[login to view URL]" file
iii. The patient record should be saved in a csv file namely “[login to view URL]”
iv. Apply proper validation checks on csv filename & filetype attributes
Hi
I am an expert in java and have read your requirement. I can surely assist you with this task. Please let me know if you are interested and I can begin as soon as possible.