Hospital Management System: A Project Report On
Hospital Management System: A Project Report On
Hospital Management System: A Project Report On
Submitted by
JULIE GAYARI
Class: XII Science
Roll No. 13
1
CERTIFICATE
2
SER INDEX PAGE NO
01 ACKNOWLEDGEMENT 04
02 OBJECTIVES 05
03 INTRODUCTION 06
05 FLOW CHART 16
06 SOURCE CODE 16
07 OUTPUT 22
12 CONCLUSION 25
13 BIBLIOGRAPHY 26
3
ACKNOWLEDGEMENT
Julie Gayari
XII Science
4
OBJECTIVES
The aim is to create tangible and useful IT application. The learner gets
to indentify a real-world problem by exploring the environment and
acquire knowledge about functioning of organization and how data can
be generated, stored and managed.
Tangible equipments are based on three concepts:
- Interaction through physical contact, which creates responses in
the digital environment.
- the practicality in day-to-day applications that can make life easier
and are increasingly gaining market space,
- And collaborations which allows from organizing meetings to
performing remote surgeries.
5
INTRODUCTION
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.
6
NumPy arrays have a fixed size at creation, unlike Python lists
(which can grow dynamically). Changing the size of
an ndarray will create a new array and delete the original.
The elements in a NumPy array are all required to be of the same
data type, and thus will be the same size in memory. The
exception: one can have arrays of (Python, including NumPy)
objects, thereby allowing for arrays of different sized elements.
The structure of a CSV file is given away by its name. Normally, CSV
files use a comma to separate each specific data value. Here’s what that
structure looks like:
7
column 1 name,column 2 name, column 3 name
first row data 1,first row data 2,first row data 3
second row data 1,second row data 2,second row data 3
...
What is MySQL?
MySQL is a database management system.
A database is a structured collection of data. It may be anything from a simple
shopping list to a picture gallery or the vast amounts of information in a
corporate network. To add, access, and process data stored in a computer
database, you need a database management system such as MySQL Server.
Since computers are very good at handling large amounts of data, database
management systems play a central role in computing, as standalone utilities,
or as parts of other applications.
8
for Hospital and Health care services. This System can be
used in any Hospital, Clinic, Diagnostics or Pathology labs
for maintaining patient details and their test results. It
Integrates the entire Resources of a Hospital into One
Integrated Software Application.
10
Establish system boundaries; identify goals, objectives, critical success factors, and
performance measures.
Evaluate costs and benefits of alternative approaches to satisfy the basic functional
requirements
Assess project risks
Identify and initiate risk mitigation actions, and Develop high-level technical
architecture, process models, data models, and a concept of operations. This phase
explores potential technical solutions within the context of the business need.
It may include several trade-off decisions such as the decision to use COTS software
products as opposed to developing custom software or reusing software components, or
the decision to use an incremental delivery versus a complete, onetime deployment.
Construction of executable prototypes is encouraged to evaluate technology to support
the business process. The System Boundary Document serves as an important reference
document to support the Information Technology Project Request (ITPR) process.
The ITPR must be approved by the State CIO before the project can move forward.
11
Further define and refine the functional and data requirements and document
them in the Requirements Document,
Complete business process reengineering of the functions to be supported
(i.e., verify what information drives the business process, what information
is generated, who generates it, where does the information go, and who
processes it),
Develop detailed data and process models (system inputs, outputs, and the
process.
Develop the test and evaluation requirements that will be used to determine
acceptable system performance.
DESIGN PHASE
During this phase, the system is designed to satisfy the functional
requirements identified in the previous phase. Since problems in the design
phase could be very expensive to solve in the later stage of the software
development, a variety of elements are considered in the design to mitigate
risk. These include:
12
INTEGRATION AND TEST PHASE
Testing at the development facility by the contractor and possibly supported by end users
Testing as a deployed system with end users working together with contract personnel
Operational testing by the end user alone performing all functions. Requirements are
traced throughout testing ,a final Independent Verification & Validation evaluation is
performed and all documentation is reviewed and accepted prior to acceptance of the
system.
FLOW CHART
13
Source Code
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='',database=
'project')
if conn.is_connected():
print('successfully connected')
c1=conn.cursor()
print('---------------------------------------------')
print('---------------------------------------------')
print("1.LOGIN")
print("2.EXIT")
if choice==1:
14
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('7.Patient detail')
print('8.Doctor detail')
print('9.Worker detail')
print('10.Exit')
if choice==1:
p_age=int(input('Enter Age:'))
values(""'"+p_name+"',"+str(p_age)
+",'"+p_problems+"',"+str(p_phono)+")"
15
c1.execute(sql_insert)
print('SUCCESSFULLY REGISTERED')
conn.commit()
elif choice==2:
d_age=int(input('Enter Age:'))
values(""'"+d_name+"',"+str(d_age)
+",'"+d_department+"',"+str(d_phono)+")"
c1.execute(sql_insert)
print('successfully registered')
conn.commit()
elif choice==3:
w_age=int(input('Enter Age:'))
values(""'"+w_name+"',"+str(w_age)
+",'"+w_workname+"',"+str(w_phono)+")"
16
c1.execute(sql_insert)
print('successfully registered')
conn.commit()
elif choice==4:
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.fetchall()
for i in s:
print(i)
elif choice==6:
sql_y="select*from worker_details"
c1.execute(sql_y)
t=c1.fetchall()
for i in t:
print(i)
17
elif choice==7:
p_name=("{}")'.format(h)
c1.execute(sql_w)
u = c1.fetchall()
for i in u:
print(i)
elif choice==8:
p_name=("{}")'.format(d)
c1.execute(sql_d)
v=c1.fetchall()
for i in v:
print(i)
elif choice==9:
p_name=("{}")'.format(f)
c1.execute(sql_f)
18
w=c1.fetchall()
for i in w:
print(i)
elif choice==10:
exit()
break
else:
print('wrong username&password')
if choice==2:
exit()
OUTPUT
Login output:
19
After login:
20
21
HARDWARE AND SOFTWARE
REQUIREMENTS
22
CONCLUSION
This project has described how a number of important data technologies work and it
has provided guidelines on the right way to use those technologies. We have covered
technologies for storing data, accessing data, processing data, and publishing data on
the web. We have also focused on writing computer languages.
There are a number of important ideas to take away from this book.
One of these is that the computer is a very flexible and powerful tool, and it is a tool
that is ours to control. Files and documents, especially those in open standard formats,
can be manipulated using a variety of software tools, not just one specific piece of
software. A programming language is a tool that allows us to manipulate data stored
in files and to manipulate data held in RAM in unlimited ways. Even with a basic
knowledge of programming, we can perform a huge variety of data processing tasks.
A related idea is that computer code is the preferred approach to communicating our
instructions to the computer. This approach allows us to be precise and expressive, it
provides a complete record of our actions, and it allows others to replicate our work.
23
BIBLIOGRAPHY
3. https://www.w3resource.com/
4. https://www.coursera.org/articles
5. https://www.python.org/doc/essays/blurb/
6. https://www.youtube.com/watch?v=c-6PjpGPxaI&t=418s
7. https://www.youtube.com/watch?
v=NOkQLnyFC80&t=1776s
9. https://dev.mysql.com/doc/refman/8.0/en/what-is-
mysql.html
24