Case Study UML(1)

September 5, 2017 | Author: dervash_mohayadeen | Category: Automated Teller Machine, Ticket (Admission), Retail, Medical Prescription, Use Case
Share Embed Donate


Short Description

usecase diagram...

Description

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:

Design Level Class Diagram:

Airport Check-In and Security Screening

Restaurant

e-Library OPAC

Bank ATM Use Cases

Hospital Use Cases

1. Use Case Diagram:- Library Management System

Activity Diagram for Issue Book in Library :-

Activity Diagram for Return Book in Library:-

Class Diagram for Library System:-

State diagram for Book:

State diagram for Librarian:

Collaboration diagram for issuing Book:

Collaboration diagram for returning Book:

Sequence diagram for issuing book:

Sequence diagram for returning book:

Component diagram for Library Management System:

Deployment Diagram for Library management system:-

2. USE CASE DIAGRAM FOR AIRPORTCHECK-IN AND BOARDING OF PASSENGERS

SEQUENCE DIAGRAM FOR AIRPORTCHECK_IN AND BOARDING OF PASSENGERS

COLLABORATION DIAGRAMFOR AIRPORT CHECK-IN AND BOARDING PASSENGERS

STATE CHART DIAGRAMFOR CHECK-IN EMPLOYEE [AS OBJECT]

STATE CHART DIAGRAMFOR BOARDING EMPLOYEE [AS OBJECT]

CLASS DIAGRAM FORAIRPORT CHECK-IN AND BOARDING OFPASSENGERS

DEPLOYMENTDIAGRAM FOR AIRPORT CHECK-IN ANDBOARDING OF PASSENGERS

COMPONENT DIAGRAM FOR AIRPORT CHECK-IN AND BOARDING OF PASSENGERS

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

Class Diagram:-

4. CASE STUDY: Hospital Management System

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:-

Activity Diagram Registration :-

Activity Diagram for Ward Allocation:-

Activity Diagram for Tests to Perform:-

Activity Diagram for Treatment and Operations:-

Activity Diagram Discharge:-

State Chart Diagram for Patient:-

State Diagram for Doctor:-

State Diagram for Ward Object:-

Sequence Diagram for Patient Admit / Registration:-

Sequence Diagram Test & Operation:-

Sequence Diagram Discharge from Hospital :-

Collaboration Diagram Admit to Hospital:-

Collaboration Diagram for Treatment at Hospital:-

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 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:

ACTIVITY DIAGRAM FOR CANCEL TICKET:

CLASS DIAGRAM FOR RAILWAY RESERVATION SYSTEM:

COLLABORATION DIAGRAM FOR CANCEL TICKET:

COLLABORATION DIAGRAM FOR BOOKING TICKET:

SEQUENCE DIAGRAM FOR CANCEL TICKET:

SEQUENCE DIAGRAM FOR BOOKING TICKET:

DEPLOYMENT DIAGRAM FOR RAILWAY RESERVATION SYSTEM:

COMPONENT DIAGRAM FOR RAILWAY RESERVATION SYSTEM :

6. CASE STUDY: Retail Store Management System 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

Class Diagram:

State Chart Diagram :: Order Goods

Sequence Diagram :: Managing Goods

Collaboration Diagram :: Managing Goods

Deployment Diagram:-

ComponentDiagram:-

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

Activity Diagram for ATM Machine 2

Activity Diagram for Overall ATM Machine:-

Activity Diagram Verify Password ATM Machine:-

Sequence Diagram for ATM Machine :-

Sequence Diagram for Invalid Pin ATM Machine:-

Sequence Diagram ATM withdrawal:-

Collaboration Diagram For ATM machine:-

Collaboration Diagram for ATM withdrawal :-

State Diagram for One Transaction ATM machine:-

State Diagram one Session ATM Machine:-

Component Diagram ATM Machine:-

Deployment Diagram ATM Machine :-

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF