Object Oriented Design - Diagrams

  • Posted:
  • Proposals: 1
  • Remote
  • #7825
  • Archived
Steve R. has already sent a proposal.
  • 3


Experience Level: Expert
Create a report in Ms Word or PDF formats that contain the outcome of the following exercise. The report needs to include images/PDF versions of any diagrams. Also, please provide a zip file with the source code for the diagrams. The execise can also be found in the attached file.


GP Practice

A GP surgery contracts you to develop a software system for managing their patient records and appointment bookings. The requirements of this system are described as follows:

Patients requiring treatment register themselves with a surgery which has one or more doctors or nurses who deliver treatment. Each doctor has a list of patients for whom they are the designated Primary Care Provider (PCP).

Patient registration is a one-time activity that is done when the patient first contacts a surgery. When registering, the patient provides their name, date of birth, and gender information to the surgery. The surgery decides on an available doctor and adds the patient to that doctor’s list. Additionally, the surgery updates the patient’s PCP entry to refer to the doctor. In order to complete the registration process, it is necessary to make an initial appointment for the patient to see their doctor.

In order to see a doctor or a nurse, the patient must make an appointment with the surgery. This is done by repeatedly retrieving the next free appointment for the doctor (or nurse) and then checking with the patient if the appointment is OK. If the patient accepts that the appointment, it can be added to both the doctor’s (or nurse’s) calendar and to the patient’s records. Otherwise, it is necessary to request another appointment and check with the patient.

Appointments have a start time, a standard duration of 15mins and are entered into the doctor’s (or nurse’s) calendar. A doctor (or nurse) should be able to view all their appointments in a given date range.

(a) Draw a use case diagram for the system described above. Your diagram should include any relationships between the use cases you identify.

(b) Draw a class diagram showing a possible design for the surgery management system described above, including all necessary attributes and methods. Your diagram should show
classes and relationships (including cardinality, role names and any dependencies).
Briefly list the main design decisions made in producing the diagram and
your rationale for them.

(c) Draw a UML sequence diagram for the “Patient Registration” functionality.
Briefly list the rationale for the allocation of responsibilities in your design.

(d) Draw a UML collaboration diagram for the “Make Appointment” functionality.

State explicitly any additional assumptions that you make.

New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.