Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can this please be done in Java Activity 1. Design required classes for the following problem specification: Dr. Stewart Little wants to keep the record
Can this please be done in Java
Activity 1. Design required classes for the following problem specification: Dr. Stewart Little wants to keep the record of his patients. Every patient has profile information, such as name, DOB, gender, list of relatives, address, list of contact numbers, list of previous visits, upcoming visit, list of previous diseases, and list of specialists. Every contact number can have area code, and number. Every visit can have date, reason, list of prescriptions, and a note. Every relative has name, contact number, relation with the patient and rank or priority of contact. Every address has apartment number (if any), house number, street name, city, province, and postal code. Every specialist has name, specialty, contact number, and address. Note that you have to create a separate class for each of the patient data that has more than one piece of information, such as address, contact number, relative, etc. Also, for every data that might have more than one item, such as contact numbers, or previous visits, you have to create an ArrayList. Therefore, they need to have capability of adding/deleting/modifying the list of corresponding items. Dr. Little also wants to have a unique signature for himself including his profile information. He wants to be able to update this information later on when needed. Try to provide some getter methods for the list of patients, list of relatives of a patient, list of contact numbers of a patient, list of previous visits of a patient, etc. Dr. Little would like to have these lists of information by giving the name of a given patient. After designing all the classes create a tester class, in which Dr. Little can add/update/delete his patientsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started