Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Java Please... Activity 1. Design required classes for the following problem specification: Dr. Stewart Little wants to keep the record of his patients. Every

Use Java Please...image text in transcribed

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 patients

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

What are the objectives of job evaluation ?

Answered: 1 week ago

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

6. Does your speech have a clear and logical structure?

Answered: 1 week ago