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

Assign 1

The document describes two assignments: 1. A patient record and scheduling system with classes like Patient, Doctor, Nurse, Appointment, and Medication. The assignment asks to identify classes and attributes and construct a UML domain class model. 2. A point of sale (POS) system with use cases like processing sales and payments. The system supports different interfaces and business rules. The assignment asks to create a use case diagram, sequence diagram, and UML domain class model identifying classes like Customer, Payment, Product, and Inventory.

Uploaded by

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

Assign 1

The document describes two assignments: 1. A patient record and scheduling system with classes like Patient, Doctor, Nurse, Appointment, and Medication. The assignment asks to identify classes and attributes and construct a UML domain class model. 2. A point of sale (POS) system with use cases like processing sales and payments. The system supports different interfaces and business rules. The assignment asks to create a use case diagram, sequence diagram, and UML domain class model identifying classes like Customer, Payment, Product, and Inventory.

Uploaded by

estherwangari534
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

NAME: Gloria Obuya

ID: 664997

Assignment 1 (20 marks)


A)
Patient Record and Scheduling System Exercise

A patient record and scheduling system in a doctor’s office is used by the receptionists, nurses,
and doctors. The receptionists use the system to enter new patient information when first-time
patients visit the doctor. They also schedule all appointments. The nurses use the system to keep
track of the results of each visit including diagnosis and medications. For each visit, free form
text fields are used captures information on diagnosis and treatment. Multiple medications may
be prescribed during each visit. The nurses can also access the information to print out a history
of patient visits. The doctors primarily use the system to view patient history. The doctors may
enter some patient treatment information and prescriptions occasionally, but most frequently they
let the nurses enter this information. -- Each patient is assigned to a family. The head of family is
responsible for the person with the primary medical coverage. Information about doctors is
maintained since a family has a primary care physician, but different doctors may be the ones
seeing the patient during the visit.
(i) Identify Classes and their attributes
1. Patient: name, patient ID, date of birth, gender, contact information, medical
history
2. Doctor: doctor ID, name, contact information, specialty, patient id
3. Receptionist: reception ID name, contact information
4. Nurse: nurse ID, name, contact information, doctor id
5. Appointment: appointment ID, date, time, doctor id, patient id
6. Medication: medicine id, medicine name, patient id
7. Family: family id, family head, patient id.

(ii) Construct a Domain Class Model using UML


B)
The NextGen POS System
Point-of-Sale (POS) system is application used to record sales and secure payment at store.
System includes hardware and software –Has interfaces to various service apps, like tax
calculator and inventory control, and the system should work even if access to these external
services is down (i.e., at least allow checkout with cash if the credit card processing interface
goes down) .Needs to support multiple client-side interface types, like thin web-browser,
touchscreen, wireless phone, etc. We plan to sell this to many types of businesses which may
have different business processing rules – we need flexibility and the ability to customize.

(i) Construct a Use case Diagram


(ii) Construct a Sequence Diagram
(iii) Identify Classes and their attributes
Customer: Customer ID, Customer Name, Purchase Records
Payment: Transaction ID, Payment Method, Amount, Change, Customer ID
Product: Product ID, Product Name, Product Amount, Description, Price, Item
ID
Inventory: Item Name, Item ID, Description, Quantity, Location, Product ID

(iv) Construct a Domain Class Model

You might also like