0% found this document useful (0 votes)
106 views

Assignment 2

This document describes a case study for a Medical Appointment System (MAS) that manages surgery and counseling appointments for patients. It involves patient registration, appointment management, appointment reminders, and various reporting functions. The key classes identified are Patient, Doctor, Nurse, Appointment, and Report. The system was broken down into subsystems for Registration, Appointment Management, and Reporting. A sequence diagram was provided that models the manage appointment use case between the boundary, controller, entity, and data access classes.

Uploaded by

Nur Atikah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Assignment 2

This document describes a case study for a Medical Appointment System (MAS) that manages surgery and counseling appointments for patients. It involves patient registration, appointment management, appointment reminders, and various reporting functions. The key classes identified are Patient, Doctor, Nurse, Appointment, and Report. The system was broken down into subsystems for Registration, Appointment Management, and Reporting. A sequence diagram was provided that models the manage appointment use case between the boundary, controller, entity, and data access classes.

Uploaded by

Nur Atikah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SCSP3204: Software Engineering

Problem Solving 2: Object-Oriented Detailed Design

Team Members:
1. Muhammad Akmal Bin Hisham (A18CS0122)

2. Nina Khairina Binti Mohd Khairil (A18CS0175)

3. Nur Atikah Binti Sawal (A18CS0188)

1
Given Case Study

Medical Appointment System (MAS) is a system used by doctors at clinics or hospitals to manage
surgery appointments and counselling appointments for a particular patient. The system involves
patient registration, appointment management, appointment reminders and confirmation to
patients, and various reporting. Patient should be registered before making an appointment. The
registration is done by an administrative staff where the patient should be available personally in the
clinic or hospital to register via MAS. The patient’s details include patient’s name, address, phone
number, date of birth, IC or passport number, place of employment, emergency contact information,
health insurance information, and medical history. After the registration is confirmed, the patient
will be given patientID to be used for inquires and appointments. Manage appointments can be
done by the staff who are doctors or nurses. Doctors’ records include their specialisation while
nurses have shifts. They should login to the system, then they can retrieve all the information which
is related to the patient using the patientID. Then, they can choose either surgery appointment or
counselling appointment based on the patient’s situation. For each appointment, the doctor must
choose the date, time and room number based on availability. After the doctor has confirmed the
appointment details, a detailed confirmation message will be sent to the patient. One day before the
appointment date, the system sends a reminder message to the patient including the appointment
details. MAS supports generating various types of medical reports and administrative reports. The
medical reports include medical history, counselling, consultation, operative report, discharge
summary, radiology report, pathology report, laboratory reports. While the administrative Page 2 of
2 reports include statistics of patients treated at each clinic or hospital, the number of patients who
have admitted and discharged for surgeries, the medication prescribed and their costs.

a) Draw a design class diagram for MAS that includes the dependency relationships. Identify
required attributes including their types and at least two methods/operations with
signatures for each class. (26 marks)

b) Based on the design class diagram in (a), identify suitable subsystems for MAS. Draw a
package diagram to represent the subsystems that you have identified. Organise the classes
(without attributes and operations) into respective subsystems and show the dependencies
among the subsystems. A multi-layer package is not required. (9 marks)

c) Based on the use case description for Manage Appointment in Figure 1, draw a sequence
diagram for the scenario manage appointment. The diagram should include the three
stereotypes <<booundary>>, <<controller>>, <<entity>> and <<dataAccess>>. (10 marks)

2
Answer a)

3
Answer b)

4
Answer c)

You might also like