You are on page 1of 19

Name-T.

Vinita
Class-XII
Subject-Computer Science
Session-2021-22
CERTIFICATE
This is to certify that Miss T.Vinita of class Xii
has successfully completed the Computer
Science project on the topic Hospital Management
under the guidance of Sakti Samal Sir during the academic
year 2021-22.
ACKNOWLEGMEN
T
I would like to express my special thanks of gratitude to my
teacher Mr.Sakti Samal Sir who gave me golden opportunity
to do this project of ComputerScience, which also helped me
in doing a lot of research and I came to know new things
about it.
Without their help, guidance and support it would be
impossible to complete this project.
Secondly, I would also like to thank my parents and friends
who helped me a lot in finishing this project within limited
time. I am making this project not only for marks but also
to increase my knowledge.
Once again thanks to all who helped me in doing this project.
INDEX
1. Title of the project

2. Background of the project

3. Functions and Modules

4. Flow of Project

5. Use of Technology

6. Bibliography
TOPIC OF
THE
PROJECT
HOSPITAL
MANAGEMENT

2021-22
BACKGROUND
OF
THE
PROJECT
In today’s world, all the things have become
computerized. Generally, the hospital works on paper work.
To register patient information, there is need of a lot paper
work. So, this software is useful for doing hospital work easy.
It registers the patient’s information such as- aadhar no.,
patient name, age, gender, phone no., blood group.
Generally, to take appointment, the patient has to call or meet
the receptionist of the hospital. By using this software, you
can easily take the appointment to the consultant doctor with
date and time and appointment no. of that day.
Hence, this software makes easy work for both patient and
hospital management.
FUNCTIONS
AND
MODULE
S

MODULES
import mysql.connecter:
By importing this package, we are able to establish
the connection between SQL and Python.
import datetime:
This package provides basic functions for display date
related values in the program.
import random:
This package has functionality to generate random
numbers and select numbers within a range.
FUNCTIONS
connect():
This function establishes connection between Python and
MySQL.
cursor():
It is a special control structure that facilitates the row-by-
row
processing of records in the result
set. The syntax is:
<cursor object>=<connection object>.cursor()
execute():
This function is use to execute the sql query and
retrieve records using python.
The syntax is:
<cursor object>.execute(<sql query string>)
fetchall():
This function will return all the rows from theresult set in
the form of a tuple containing the records.
commit():
This function provides changes in the database physically.
FLOW OF
THE
PROJEC
T
➢Our project is based on HOSPITAL MANAGEMENT.
The project consists of 3 modules :
1. PATIENT
2. DOCTOR
3. EXIT
In the PATIENT MODULE, you can have 5
options i.e.
I. REGISTER YOURSELF:
In this option, the patient can register himself/herself by
entering their AADHAR NO., PATIENT NAME, AGE,
GENDER, and PHONE NO. And BLOOD GROUP.
II. APPOINTMENT:
In this option, the patient can take appointment by entering
AADHAR NO.
After entering it, you will get list of doctor
i.e.CARDIOLOGIST, RHEUMATOLOGIST,
PSYCHITRIST, NEUROLOGIST,
OTOLARYNGONOLOGIST and MI ROOM.
III. LIST OF DOCTORS:
In this option, you will get the LIST OF DOCTORS with their
SPECIALITY and ROOM NO.
IV. SERVICES AVAILABLE:
In this option, you will get the list of services available in
our hospital such as:
• X-RAY
• MRI
• CT SCAN
• ENDOSCOPY
• DIALYSIS
• ULTRASOUND
• EEG
• ENMG
• ECG
V. TO MODIFY DATA:
In this option, you can change/modify the registered
details given by patient.

➢ In the DOCTOR (ADMIN) MODULE, doctor has to


enter his/her ID NO. And PASSWORD to know the
appointment of the patient with their names, age, and
appointment no. he/she has.
➢ In the last and final module i.e. EXIT MODULE, user can
end the program.

At last, program will display THANK YOU with giving a


positive message i.e. ”STAY SAFE, STAY HEALTHY.”
and “HEALTH IS WEALTH.” It will also display the names
of developers.
USE OF
TECHNOLOG
Y
❖ WHAT IS MySQL?
MySQL is a relational DBMS that can run virtually all
platforms, including Linux, Unix and Windows. Popular for
web-based applications and online publishing, MySQL is a
part of open-source enterprise stack LAMP(Linux, Apache,
MySQL, PHP).
MySQL is a freely available open source RDBMS that uses
Structured Query Language (SQL). It is down-loadable from
site www.mysql.org MySQL is fast, reliable,scalable
alternative to many of the commercial RDBMs available
today. MySQL provides you with a rich set of features that
support a secure environment for storing, maintaining, and
accessing data.
MySQL was created and supported by MySQLAB, a
company based in Sweden. This company is now a subsidiary
of Sun Microsystems, which holds the copyright to most of
the codebase. On April 20th, 2009 Oracle Corp., which
develops and sells the proprietary Oracle database, announced
a deal to acquire Sun Microsystems.
SQL provides many different types of commands used
for different purposes. SQL commands can be divided
into following categories:
i. Data Definition Language (DDL)
ii. Data Manipulation Language (DML)
iii. Transaction Control Language (TCL)
iv. Session Control Commands
v. System Control Commands
❖ WHAT IS PYTHON?
Python is an interpreted, object-oriented,high-level
programming language with dynamic semantics. Its high-
level built in data structures, combined with dynamic typing
and dynamic binding; make it very attractive for Rapid
Application Development, as well as for use as a scripting or
glue language to connect existing components
together.Python's simple, easy to learn syntax emphasizes
readability and therefore reduces the cost of program
maintenance. Python supports modules and packages, which
encourages program modularity and code reuse. The Python
interpreter and the extensive standard
library are available in source or binary form without charge
for all major platforms, and can be freely distributed.
Often, programmers fall in love with Python because of the
increased productivity it provides. Debugging Python
programs is easy:
a bug or bad input will never cause a segmentation fault.
Instead, when the interpreter discovers an error, it raises an
exception. A source level debugger allows inspection of local
and global variables,evaluation of arbitrary expressions,
setting breakpoints, stepping through the code a line at a
time, and so on. The debugger is written in Python itself,
testifying to Python's introspective power. On the other hand,
often the quickest way to debug a program is to add a few
print statements to the source:
the fast edit-test-debug cycle makes this simple approach
very effective.
HARDWARE
AND SOFTWARE
REQUIREMEN
T
SYSTEM:
OS- Windows 7 Professional 32-Bit (6.1, Build
7601)
Language: English
System Manufacture-Gigabyte Technology
Co., Ltd
BIOS:-BIOS Date: 08/03/13 09:45:07
Ver: 04.06.05
Processor:- Intel (R) Core TM i3-3220CPU
@3.30 GHz (4CPUs), ~3.3GHz
Memory: 2048 MB RAM
DirectX Version: Direct XII
DISPLAY DEVICE:
Name:-Intel(R) HD Graphics
Manufacturer: - Gigabyte Technology
Co., Ltd
Chip Type: - Intel(R) HD Graphics Family
DAC Type:-Internal
Approx. Total Memory:-775 MB
Current Display mode: - 1336 X 768
(32 Bit)(60Hz)
Monitor:- Generic PnP Monitor
DRIVER:
Main Driver: - igdumdim 32.dll,igd loiumd
32.dll,igd lo
Version:-10.18.10.3345
Date:-10/28/13
WHQL logo’s:- Yes
DDI Version: II
Driver Model:-WDDM 1.1
BIBLIOGRAPHY
❖ To develop this project many references were used:

1. COMPUTER SCIENCE TEXTBOOK


CLASS 12: SUMITA ARORA
2. https://www.google.com
3. https://www.python.org.in
4. https://www.mysql.org
5. https://www.tutorialaicsip.com

You might also like