Computer Documentation Akshay
Computer Documentation Akshay
COMPUTER SCIENCE
Project report
on
HOSPITAL ADMINISTRATION SYSTEM
2024-2025
1
MAR JAMES KALASSERY MEMORIAL
THRIKODITHANAM, CHANAGANACHERY5
PH:2447634
E-mail: [email protected],web:www.shps-kili.org
CERTIFICATE
2
DECLARATION
I AKSHAY SAJI MATHEWS certifies that the
project entitled is a bona-fide record of
HOSPITAL ADMINISTRATION SYSTEM group
work done under the guidance of Mrs. JUBIE
JOSEPH, SACRED HEART PUBLIC SCHOOL
KILIMALA in partial fulfillment of the
requirements for the award of SSE under the
subject computer science. The work done in
this project has not been submitted for any
other study.
3
ACKNOWLEDGEMENT
My project would not have been a success without the grace of
GOD ALMIGHTY and timely creativity support rendered by
many.
I express my sincere and heartful gratitude to my principal
Rev. Fr. PIOUS PAIKKATTUMATTATHIL for giving me a chance to
undertake this project work.
Yours
sincerely,
4
CONTENTS
I. INTRODUCTION
V. PROCESS DESIGN
VIII. BIBLIOGRAPHY
5
I. INTRODUCTION
Q. Write a menu-driven program for a hospital that allows the
admin to manage doctor and patient details. The program should
enable the admin to add new doctors and patients, display their
details update existing information, and delete entries.
Specifically, the admin should be able to enter details such as a
doctor’s name, contact number, and specialization, as well as a
patient’s name, age, and department. Additionally, the program
should provide functionalities to show doctor and patient details
and the ability to cancel appointments for the user.
6
II. PROJECT SPECIFICATION
➢ Application area: - Hospital Administration
➢ End-user:- Admin
➢ Front End:- Python
➢ Back End:- MySQL
Main output:-
7
III. SYSTEM SPECIFICATION
• HARDWARE REQUIREMENTS: -
o RAM: 16Gb
o Processor: Intel i7-1300HX
o Hard disk: 1TB
• SOFTWARE REQUIREMENTS: -
8
IV.MENU CHOICE & ACTION
• Main menu
o For admin: -
1.Display The details of the doctors: -
It helps to Display the details present in database of all the
doctor or individually.
2.Entering and storing details of Doctor or Patient: -
It helps to enter and store details of a doctor like Doctor ID,
Name, Specialization and patient details like Appointment
number, Name, Department.
3.Updating details:-
It helps in updating existing details of a doctor by entering
Doctor ID.
4.Deleting a record: -
It helps to delete details of a doctor by entering the
respective Doctor ID.
5. Exit: -
It helps the admin to exit the database.
o For user:-
1.Display Doctor details: -
It helps the Patient to view the details of available doctors.
2.Showing patient details: -
It helps the patient to search for their data by entering
appointment number and display their details.
3.Cancel Appointment:-
It helps the patient to cancel their appointment.
4.Show Hospital timing:-
It displays the hospital open hours.
9
V.PROCESS DESIGN
This program aids in the day-to-day operations and functions of a
Hospital. This program takes care of all the basic functions needed
in a Hospital like inserting the details of the doctor, taking
appointment, cancelling appointment, updating details etc.
I. The program has been divided to options for both user and
admin smoother user experience: -
1. All operations needed by the admin.
2. All options needed by the user.
3. To end program and sign out.
10
I.OPTIONS
1.Options for admin: -
This displays all the operations that is available to the hospital
administrator.
3.Signing out: -
This helps to end the program after a workday by exiting the
loop.
II.ADMIN
This option enables the admin to view details of all the doctors
present in the database in an orderly way. It displays in tuple
format for easier and quicker understanding.
11
2. Inserting details (Doctor/Patient): -
This option enables the admin to insert details for doctor like
doctor ID, name, Gender, Specialization, contact number and
Salary and patient details like Appointment number, Name,
Age, Date of birth, Department and store it in the database. The
details are stored in table format for easier use and access.
3. Updating Record: -
When this option is selected the program asks to add the new
updated detail about the doctor. After the successful addition of
the new updated details of the doctor of currently present in the
database is displayed in list format for confirmation.
4. Deleting record: -
III.USER
This enables the patient to search and display for their details.
When this option is chosen the program asks the patient to
input his/her appointment number. Then the program searches
for that appointment number and displays all the data
regarding that patient.
3.Cancel appointment:-
13
When this option is chosen the program asks the patient to
input his/her appointment number, Then the program
searches for that appointment number and deletes entire
details of that patient with corresponding appointment
number.
4.Show Timing:-
This function helps the user to know the open hours for the
Hospital.
14
VI. SOURCE CODE
15
16
17
18
VII. SAMPLE OUTPUT
I. ADMIN
i. Displaying details:
19
ii. Adding record:
20
iii. Updating record:
21
iv. Deleting a record:
II. USER/PATIENT
22
ii. Displaying patient details
23
iii. Cancel patient appointment:
24
VIII.BIBLIOGRAPHY
o Computer Science with Python for Class XII-Preethi
Arora
o Computer Science with Python for Class XII-Sumitha
Arora
o https://www.programiz.com/python-programming
o http://programmingwithmosh.com
25