Question
Identify the classes and associations in the following narrative, draw a class diagram with multiplicities, and then answer questions 1 to 8 below: Dr. Franklin
Identify the classes and associations in the following narrative, draw a class diagram with multiplicities, and then answer questions 1 to 8 below:
Dr. Franklin runs a small medical clinic specializing in family practice. She has many patients. When the patients visit the clinic, she may perform several tests to diagnose their conditions. She bills the patient one amount for the visit plus additional amounts for each test.
1. How many classes did you include in your diagram?
- 2
- 3
- 4
- 5
2. Which of the following best describes the names of the classes that you selected for your diagram?
- Diagnoses, clinic, Dr. Franklin
- Tests, Patient visits, Patients
- Dr. Franklin, patients, patient credit
- Bills, Patients, Appointments
3. Assume that the clinic maintains a lists of tests that it can provide to patients. That list might specify the nature of each test as well as the price to be charged for the test. The list is established before any patient visit. Which of the following best describes multiplicities that would appear next to the TESTS class in an association with a class for patient visits?
- Minimum 0, Maximum 1
- Minimum 0, Maximum *
- Minimum 1, Maximum 1
- Minimum 1, Maximum *
4. Assume that the clinic tracks each patient visit separately along with all the tests performed during that visit. Consider an association between the TESTS class and a PATIENT VISIT class. Which of the following best describes multiplicities that would appear next to the PATIENT VISIT class?
- Minimum 0, Maximum 1
- Minimum 0, Maximum *
- Minimum 1, Maximum 1
- Minimum 1, Maximum *
5. Assume that Dr. Franklin records information on her patients during the first patient visit. Consider an association between the PATIENTS class and the PATIENT VISITS class. Which of the following best describes multiplicities next to the PATIENT VISIT class?
- Minimum 0, Maximum 1
- Minimum 0, Maximum *
- Minimum 1, Maximum 1
- Minimum 1, Maximum *
6. Consider an association between the PATIENTS class and the PATIENT VISITS class. Which of the following best describes multiplicities next to the PATIENT class?
- Minimum 0, Maximum 1
- Minimum 0, Maximum *
- Minimum 1, Maximum 1
- Minimum 1, Maximum *
7. Which of the following best explains the reason why your diagram does not need a class to identify Dr. Franklin?
- There is only one Dr. Franklin
- Some tests may not be performed during one visit
- All patient visits are performed by Dr. Franklin
- Dr. Franklin owns the clinic
8. Now consider the possibility that each patient may have one insurance provider. So, your model includes an INSURANCE class. Which of the following best describes the association between that class and other classes on your diagram?
- Associated with PATIENTS
- Associated with PATIENT VISITS
- Associated with TESTS
- Both Associated with PATIENTS and Associated with PATIENT VISITS
- Both Associated with PATIENT VISITS and Associated with TESTS
Step 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