Professional Documents
Culture Documents
Hospital Management Class Xii Kashis and Riya
Hospital Management Class Xii Kashis and Riya
Hospital Management Class Xii Kashis and Riya
KANPUR
GUIDED BY:
Mr. Kumar Gaurav PGT – CS
Senior Wing Coordinator
CERTIFICATE
This is to certify that project report
entitled HOSPITAL MANAGEMENT
SYSTEM has been successfully
completed by Roll No. – [
AND . ] is being
submitted for Practical Examination of
Class XII (AISSCE: 2022 – 2023) in
Computer Science (Code – 083).
No part of this project is being
submitted to any other school/ institute
for award for any Certificate.
GUIDED BY:
Mr. Kumar Gaurav PGT – CS
Senior Wing Coordinator
TABLE OF CONTENTS [ T O C ]
SER DESCRIPTION
01 ACKNOWLEDGEMENT
02 INTRODUCTION
04 PROPOSED SYSTEM
07 FLOW CHART
08 SOURCE CODE
09 OUTPUT
10 TESTING
12 BIBLIOGRAPHY
AKNOWLEDGEMENT
I would like to express my special
thanks of gratitude to my teacher Mr.
KUMAR GAURAV as well as our
principal Mr. V. MURALIDHARAN who
gave me the golden opportunity to do
this wonderful project on the topic
HOSPITAL MANAGEMENT SYSTEM,
which also helped me in doing a lot of
Research and I came to know about so
many new things I am really thankful to
them.
Secondly, I would also like to thank my
parents and friends who helped me a
lot in finalizing this project within the
limited time frame
INTRODUCTION
One has to use the data management software. Software has been
an ascent in atomization various organisations. Many software products
working are now in markets, which have helped in making the
organizations work easier and efficiently. Data management initially
had to maintain a lot of ledgers and a lot of paper work has to be done
but now software product on this organization has made their work
faster and easier. Now only this software has to be loaded on the
computer and work can be done.
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be
obtained by clicking the button. Moreover, now it’s an age of computers
of and automating such an organization gives the better look.
SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)
INITIATION PHASE
PYTHON-MYSQL CONNECTING
NEED OF USER
SOURCE CODE
print('
print("HOSPITAL MANAGEMENT SYSTEM")
print('
print('"GOD WISHES YOU"')
print("1.LOGIN")
print("2.EXIT")
choice=int(input("ENTER YOUR
CHOICE:")) if choice==1:
u1=input("enter user name:")
pwd1=input("enter the
password:") while u1=='vasu'and
pwd1=='vasu6072':
print('connected')
print("WELCOME TO HOSPITAL")
print("successfully connected")
print('1.RegisteringPatient
details')
print('2.RegisteringDoctor
details')
print('3.RegisteringWorker
details') print("4.total patient
details") print("5.total doctor
details") print("6.total worker
details") print('7.Patient
detail') print('8.Doctor detail')
print('9.Worker detail')
print('10.Exit')
choice=int(input('ENTER YOUR
CHOICE:')) if choice==1:
p_name=input('Enter Patient Name:')
p_age=int(input('Enter Age:'))
p_problems=input('Enter the
Problem/Disease:')
p_phono=int(input('Enter Phone
number:'))
sql_insert="insert into patient_details
values(""'"+p_name+"',"+str(p_age)+",'"+p_problems+"'
,"+str(p_phono
)+")"
c1.execute(sql_insert)
print('SUCCESSFULLY REGISTERED')
conn.commit()
elif choice==2:
elif choice==3:
w_name=input('Enter Worker
Name:')
w_age=int(input('Enter
Age:'))
w_workname=input('Enter type of
work:') w_phono=int(input('Enter
Phone number:')) sql_insert="insert
into worker_details
values(""'"+w_name+"',"+str(w_age)+",'"+w_workname+"'
,"+str(w_phono)+")"
c1.execute(sql_insert)
print('successfully
registered') conn.commit()
elif choice==4:
sql_w='select*from
patient_details '
c1.execute(sql_w)
r =
c1.fetchall
() for i in
r :
print(i)
elif choice==5:
sql_x="select*from
doctor_details"
c1.execute(sql_x)
s=c1.fetc
hall()
for i in
s:
print(i)
elif choice==6:
sql_y="select*from
worker_details"
c1.execute(sql_y)
t=c1.fetc
hall()
for i in
t:
print(i)
elif choice==7:
p_name=("{}")'.format(h)
c1.execute(
sql_w) u =
c1.fetchall
() for i in
u:
print(i)
elif choice==8:
d=input("Enter the
name:")
sql_d='select*from doctor_details
where p_name=("{}")'.format(d)
c1.execute(sql_d)
v=c1.fetc
hall()
for i in
v:
print(i)
elif choice==9:
f=input("Enter the
name:")
sql_f='select*from worker_details
where p_name=("{}")'.format(f)
c1.execute(
sql_f)
w=c1.fetcha
ll() for i
in w:
print(i)
elif
choice==
10:
exit()
b
rea
k
els
e:
print('wrong
username&password') if
choice==2:
exit()
OUTPUT
Login output:
After login:
TESTING METHODS
Software testing methods are traditionally divided into black box
testing and white box testing. These two approaches are used to
describe the point of view that a test engineer takes when designing test
cases.
BLACK BOX TESTING
Black box testing treats the software as a "black box," without
any knowledge of internal implementation. Black box testing methods
include: equivalence partitioning, boundary value analysis, all-pairs
testing, fuzz testing, model-based testing, traceability matrix,
exploratory testing and specification-based testing.
SPECIFICATION-BASED
TESTING
I. Windows OS
II. Python
BIBLIOGRAPHY
***