Question: In java Analysis and Design (60 points, parts A and B, 30 points each) A. Analyze the following problem domain and provide the UML class
Analysis and Design (60 points, parts A and B, 30 points each) A. Analyze the following problem domain and provide the UML class diagram for it. Make sure to include th associations and relationships such as inheritance. Also make sure to appropriately identify abstract methods and classes. You are asked to design an information system to be used by doctors, patients and clinics. Patients and doctors have names and addresses. Patients' addresses and phone numbers are where they live and their cellphone number, and a doctor's address and phone number is the address and phone number of the clinic where he/she works. Doctors can be primary care doctors or specialists. A clinic has one or more doctors working there. than All doctors bill patients for a visit and can make appointment for a patient. If the visit to a primary care doctor is less 15 minutes, the primary care doctor copay charge is $20, however for a visit that is more than 15 minutes, but less 30, the copay charge is $30. The specialists each have a specialty field (for example surgery, urology, etc.) and charge patients a co-pay of $40 for every visit. After each visit, each patient goes through checkout. For all doctors, bills the patient. Billing is done differently for a primary care, it first asks the staff receptionist to enter the leng visit, and then a copay for the day is generated and added to the account balance of the patient. For a specialist, billing the patient prints a statement with the name of the doctor and the copay amount. Check out at the end o also books next of the patient with the primary care doctor. Booking an appointment adds a new appointment which includes the doctor, the patient, the appointment date, and expected appointment length to the patient's set appointments and it also adds it to the doctor's appointments. Given a date, a doctor can print his appointments scheduled for that date. the checkout f a primary care visit Patients may be disabled or not-disabled. Each patient has his/her own schedule of appointments. When new appointments are booked they are added to the patient's schedule of appointments. Every patient can find appointment, print his appointments schedule, and can do a next appoin appointment plan will print the name of the doctor to be visit for the visit. For patients who are not disabled, the estimating of trip time uses 2 x uberT appointment length, and estimating of the cost uses is/her next tment plan given an appointment. A Next ed, the address to go, estimated trip time, and estimated me(start,destination)+ 2 x uberCost(start.destination) + copay, where start and destination are patient's address and the ad clinic. For the patients who are disabled the city provides transportation help with Sunride, which they call and it $2 for each trip. For them, estimating of trip time uses 2 x currentSunRide Time(start,des and destination are again the patient's address and the address of doctor's clinic. charges tination) + appointment length, and estimating of the cost will be 2 + co pay, where start Notes: @) constructors. (i) You can assume the functions uberTime, uberCost, and currentSunRideTime are available. (ii) Indicate You do not need to include getter or setter methods for either part A or part B, but you do need to include abstract methods, classes by writing the word "abstract before them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
