Question: ( Conceptual Data Models ) ( a ) The Keep Well Medical Centre is run by five doctors with three practice nurses. When a patient

(Conceptual Data Models)
(a) The Keep Well Medical Centre is run by five doctors with three practice nurses. When a patient calls for an appointment, he or she usually sees the same doctor, but at busy times patients may see any of the doctors or nurses. Once a patient has been seen by the doctor or nurse, the medical records are updated and the doctor may also write out a prescription for the patient.
Draw a class diagram to represent this information.
Note that there is no separate class for medical records. This is because the information that would be held in this class is already part of Patient.
(b) Sometimes the doctor considers that the patient needs further tests. These tests may be routine or intensive; they are carried out at one of the local hospitals. Extend the diagram that you drew for part (a) to include this extra information.
(c) Study the class diagram below and answer the questions that follow it.
Note: Where the multiplicity is one only, the "1" symbol may be omitted
(i) Does a customer have to have at least one account?
(ii) Can a customer have both current and savings accounts?
(iii) Is a Deposit part of a transaction or a kind of transaction?
(iv) How is a cash machine related to a branch?
( Conceptual Data Models ) ( a ) The Keep Well

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!