+ All Categories
Home > Documents > Case Study UML(1)

Case Study UML(1)

Date post: 08-Nov-2014
Category:
Upload: dervashmohayadeen
View: 610 times
Download: 19 times
Share this document with a friend
Description:
usecase diagram
Popular Tags:
45
Case Study – Hospital Management System Problem Statement: A system to manage the activities in a hospital: Patients request for appointment for any doctor. The details of the existing patients are retrieved by the system. New patients update their details in the system before they request for appointment with the help of assistant. The assistant confirms the appointment based on the availability of free slots for the respective doctors and the patient is informed. Assistant may cancel the appointment at any time. In this case study, we have exploded only one use case which has the “include” and “extend” conditions. The corresponding sequence diagram and design level class diagrams for this use case diagram is also shown. Use Case Diagram: Sequence Diagram:
Transcript
Page 1: Case Study UML(1)

Case Study – Hospital Management System Problem Statement:

A system to manage the activities in a hospital:

Patients request for appointment for any doctor. The details of the existing patients are retrieved by the system. New patients update their details in the system before they request for appointment with the help of assistant.

The assistant confirms the appointment based on the availability of free slots for the respective doctors and the patient is informed.

Assistant may cancel the appointment at any time.  

In this case study, we have exploded only one use case which has the “include” and “extend” conditions. The corresponding sequence diagram and design level class diagrams for this use case diagram is also shown. Use Case Diagram: 

 Sequence Diagram: 

 

Page 2: Case Study UML(1)

 Design Level Class Diagram: 

 

Page 3: Case Study UML(1)

Airport Check-In and Security Screening

Restaurant

e-Library OPAC

Page 4: Case Study UML(1)

Bank ATM Use Cases

Page 11: Case Study UML(1)

SEQUENCE DIAGRAM FOR AIRPORTCHECK_IN AND BOARDING OF PASSENGERS

COLLABORATION DIAGRAMFOR AIRPORT CHECK-IN

AND BOARDING PASSENGERS

Page 12: Case Study UML(1)

STATE CHART DIAGRAMFOR CHECK-IN EMPLOYEE [AS OBJECT]

STATE CHART DIAGRAMFOR BOARDING EMPLOYEE

[AS OBJECT]

Page 15: Case Study UML(1)

3. CASE STUDY: COURSE-WARE MANAGEMENT SYSTEM

Construct the design element for a course ware management system that can be used to manage courses and classes for an organisation that specialize in providing training.

The organisation offers a variety of courses in a avariety of areas such as learning management techniques and understanding different software languages and technologies.

Each course is made up of set of topics. Tutors in the organisation are assigned courses to teach according to the

area that is specialized in and their availability. The organisation publish and maintain a calendar of different courses

and assign tutors every year. There is a group of Course Administrator in the organisation to manage

the courses including course content, assign courses to tutor and define the course schedule.

The training organisation aim to use the Course-ware Management System to get a better control and visibility to the management of courses as also to streamline the process of generating and managing the schedule of the different courses.

Use Case Diagram:-

Activity Diagram

Page 17: Case Study UML(1)

The hospital has several specialized departments like Cardiology, Gynecologic, Orthopedics, Pediatrics, ENT etc. OPD is another independent department. A doctor is only associated with one specialized department at a time though he/she can be a member of the OPD(Outside Patients Department) department. Each doctor has a visiting time and day in a week.

At reception the patient details are entered and the fees are also taken and the patient is tracked on the basis of the Id generated.            In routine a patient can visit the doctors either directly selecting a doctor or by getting admitted to the hospital and then a doctor visits the patients.

A doctor can prescribe tests for the patient to perform. The patient visits the lab to get done the tests prescribed by his/her doctor. The reports are given to the patient. The payments pertaining to the tests are done at the reception. Referring the reports, the doctor prescribes the patient medicines or further tests or is asked to get admitted.

A patient is admitted into a ward of a specialized department (if available) as per the doctor’s prescription. The number of wards is limited and if there is no vacant ward the admission of the patient is rescheduled.

As per the prescription of the doctor the patient is operated on a specified date and time as decided by the doctor who is doing the operation.After the completion of the treatment a patient may get discharged on an advice of a doctor and upon the complete payment of all due charges at the reception. On payment of full dues the reception generates a discharge ticket for the patient

Use Case Diagram:-

Class Diagram:-

Page 25: Case Study UML(1)

Collaboration Diagram for Discharge from Hospital :-

5. Case Study :- RAILWAY RESERVATION SYSTEM

Railway Reservation System is a system used for booking tickets over internet.Any Customer Can book tickets for different trains.Customer can book a ticket only if the tickets are available.Customer searches for the availability of tickets then if the tickets are available he books the tickets by initially filling details in a form.Tickets can be booked in two ways by i-ticket or by e-ticket booking.

In case of i-ticket booking customer can book the tickets online and the tickets are couriered to Particular customer at their address.But in case of e-ticket booking and cancelling tickets are booked and cancelled online sitting at the home and customer himself has to take print of the ticket but in both the cases amount for tickets are deducted from customers account. 

For cancellation of ticket the customer has to go at reservation office than fill cancellation form and ask the clerk to cancel the ticket than the refund is

Page 26: Case Study UML(1)

transferred to customer account.After booking ticket the customer has to checkout by paying fare amount to clerk.

Use Case Diagram :- Railway Reservation

ACTIVITY DIAGRAM FOR BOOKING TICKET:

Page 31: Case Study UML(1)

The Retail Store Management System is a system designed for managing i.e. For ordering, arranging and selling goods.

The Retailer checks for the availability of goods in the store. If the stock of goods is less then retailer places order for goods. While ordering the goods, goods area received at store, the retailer then arrange them by product or by price,then retailer makes payment. If the stock of goods is available then he will arrange goods for selling.

The retailer then sales the goods directly to the customer. The customer buys the items from retailer. The retailer preapares bill for goods purchased by the customer, he receives amount bycredit or by cash from customer. The supplier supplies the goods to the store in the system. The overall sysytem is used to manage the goods in th store.

USE Case Diagram:-

Activity Diagram :-Managing Goods

Page 35: Case Study UML(1)

7. CASE STUDY:- ATM MACHINE AND SYSTEM

ATM or rather Automated Teller Machine is also called as ANY TIME MONEY by many. The ATM system is connected to banks.

The ATM is given the utmost security in terms of technology because its a stand alone system and easily prone to malicious attacks.

The Below diagrams are has come up in Mumbai University MCA exams.

Class Diagram for ATM Machine

Use Case Diagram ATM Machine

Activity Diagram for ATM Machine 1


Recommended