KEMBAR78
Project Report | PDF | Inheritance (Object Oriented Programming) | Class (Computer Programming)
0% found this document useful (0 votes)
5 views7 pages

Project Report

The Hospital Management System project is a menu-based application developed using object-oriented programming concepts, allowing users to manage patients, doctors, and room bookings. It includes functionalities for adding, viewing, and searching patient and doctor information, as well as checking room availability. Future enhancements are planned to include additional features like patient reports and a user interface.

Uploaded by

Purnendu Bhowmik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views7 pages

Project Report

The Hospital Management System project is a menu-based application developed using object-oriented programming concepts, allowing users to manage patients, doctors, and room bookings. It includes functionalities for adding, viewing, and searching patient and doctor information, as well as checking room availability. Future enhancements are planned to include additional features like patient reports and a user interface.

Uploaded by

Purnendu Bhowmik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Course Code: CSE110

Course Title: Object-Oriented Programming


Section: 05

PROJECT REPORT
on
Hospital Management System

Submitted to:
Tanni Mittra
Senior Lecturer
Department of Computer Science & Engineering

Submitted by:
Group no: 01

Name Student ID
Purnendu Bhowmik Shuvro 2023-1-60-085
Afsana Malik 2023-1-60-126
Adnan Anan Sikder 2023-2-60-217

Date of Submission: 29th May 2024


Project Description
1. Introduction :
The Hospital Management System is a menu-based application.
The user can use some features in this application, such as: adding
a patient or doctor, reserving a room, and checking the available
room for admitting the patient. The project is built by OOP concepts
like encapsulation, abstraction, and inheritance.

2. Flow Chart :
Algorithm:

1. Start

2. Display Menu

3. Repeat

4. Prompt for User Input

5. Read User Input

6. Switch (User Input):

▪ Case 0: Exit

8. Break Loop

▪ Case 1: Go to the Patient option

▪ Case 2: Go to the Doctor option

▪ Case 3: Go to Room option

▪ Case 4: Go to Bill option

▪ Default: Display "Invalid Input"

7. End Switch

5. Until (User Input == 0)

6. Stop
3. UML Diagram :

There are 14 classes used for this project. They are: Person,
BillPayement, Bill, Treatment, FileHandler, CustomException,
PaymentFailedException, Hospital, Room, RoomNotAvaliableException,
Person, Doctor, SpecialistDoctor, Surgeon.
Interface: BillPayement
Abstract class: Person & CustomException
Class Association:
Hospital has-a-relation Patient, Doctor, Room
Patient has-a-relation Treatment, Bill
Treatment has-a-relation Bill
Bill has-a-relation BillPayment
Inheritance:
1. Super Class: CustomException
a. Sub Class: RoomNotAvaliableException
b. Sub Class: PaymentFailedException
2. Super Class: Person
a. Sub Class: Patient
b. Sub Class: Doctor (Superclass for SpecialistDoctor)
i. Sub Class: SpecialistDoctor (Superclass for Surgeon)
1. Sub Class: Surgeon
Encapsulation:
1. Protected modifier is used for Name & id variable in Person class.
2. Private modifier is used for other variables in other classes
4. Functionally:

Patient Management: In this project, the user can register, show, and find
information about the patient.
Add a patient: The user can add a patient by providing the
patient’s id, name, age & gender in this project.
View a patient: The user can see the information about the patient
in this project.
Search a patient: The user can search the patient’s details by
providing the patient’s id.
Doctor Management: The user can search a doctor by providing the
doctor’s id.
Booking Room: The user can check about the availability of the room and
book a room for the patient.
Check availability: In this function, the user can search if there is any
room available.
Reserve room: the user can reserve a room for the patient by using this
method.
5. Conclusion :

This project has some limitations. We will add some features such as
Patient’s Report and Medical History, Medical Staff Management,
Appointments, Medical Tests, etc. In the future, we will try to use a user
interface. We will try to develop our project to maintain big-scale
management in the hospital.
Overall, we say that it is a simple project to understand for everyone.

You might also like