Tata Dav School
Tata Dav School
2021- 2022
In
INFORMATICS PRACTICES(065)
Submitted By:-
NAME:- Sameer Kumar Singh
CLASS:- XII
SEC:- ‘C’
ROLL NO.:- 02
BOARD ROLL NO.:-
Under the Guidance of:-
Mr. M.K.Joshi
Faculty,
Dept. Of Computer Science
TABLE OF CONTENTS
S.NO. TITLE PAGE
NO.
1. COVER PAGE 1
2. TABLE OF CONTENT 2
3. DECLARATION 3
4. ACKNOWLEDGEMENT 4
5. GUIDE CERTIFICATE 5
6. SCHOOL CERTIFICATE 6
8. PREFACE 8
9. INTRODUCTION 9
10. OBJECTIVE 10
20. CONCLUSION 20
Signature :
M.K.Joshi
I.P.Teacher
SCHOOL CERTIFICATE
This is to certify that the project of ‘Informatics Practices
(065)’ titled “Hospital DATA MANAGEMENT SYSTEM
Which deals registration Manageent is being submitted By
Sameer KUMAR SINGH(XII Science ,sec-‘c’CBSE ROLL
22667124)
This project is a bonafide piece of work carried out with the
consultation of supervision .
Mr.R.Singh
Principal
DISSERTATION
APPROVAL CERTIFICATE
This dissertation entitled“ Hospital DATA
MANAGENT SYSTEM” devloped by RAKESH
KUMAR SINGH is approved towards partial fullfilment of
the Std .XII exam of Subject Informatics Practices (065) of
the session -2021-22.
REMARKS :
PROJECT GUIDE
EXTERNALEXAMINER
(M.K.JOSHI)
PREFACE
The research provides an opportunity to demonstrate the
application of knowledge skill and completeness required
during the technical operations. This subject improve my
technical skill and helped me to rise up in this field in the
future .
I am presenting a project file on the“Hospital DATA
MANAGEMENT SYSTEM”
in the subject Informatics Practices (065).
I tried my best to make this project wonderful it consists
many work for storing students data efficiently .I hope all
like this project work.
INTRODUCTION
Project title hospital data management system (A project for
keeping Bank data efficiently and also to update data time to
time).The objective of the project is to computerize the system of
data and handling of hospital data. This project help us to manage
all the data of the hospital like adding doctor detail, display patient
name display bill, records of workers,highest salary being paid etc.
This project can be usefull for various hospitals such as apollo
hospitals,max healthcare,d.r pathlabs ETC. It will reduce the uses of
paper which makes it user friendly . And it is very easy to use and it
also save a lot of time.
This project contains :-
1. Reading files of doctor without index
2.Adding new doctor details
3.sort doctor details by name
4.Display patients names
5.Display all bills
6.Display records of workers
7.Display highest Salary being paid
OBJECTIVE
This project is based on description about the Bank data
management system.
PROCESS
All the jobs per The scope of the project are done by this
application through python’s code my SQL application and
connector.
OUTPUT
1. Showing details of Doctors
2. Showing new doctor details
3. Showing details of all transactions of respective patients
HARDWARE AND SOFTWARE REQUIREMENTS
Recommended system requirements
Intel core i3
Processor
4gb or Higher
Disk space
Windows 8.1
Operating system
3.X.X or Higher
Python version
1 TB
HDD
Software requirements
Operating system Windows 7 or above
2.7.x or higher
Language
MySql 5.0
Database server
MySqlconnector,PIP,PANDAS
others
etc.
SECURITY CONTROL
In this application there is user ID password which is
generated for various users with desired specification and
permission unwanted and unauthentic person cannot get
login with this application this database of this system is
locked with password the data can be assessed by authorize
persons only the ties provided as per right permission of the
users it is only dependent that what kind of user are using
this application therefore data can be modified or deleted
by only legal or authorized person
FUTURE SCOPE OF THE PROJECT
This project can be used in many places in the future. As per Need
of the project I have inserted many records of the patients there are
thousands of patients record that can be stored in the database of
this system.
DEMERIT
Bugs and data rigorously testing online application Forms.
Incorporating a safety feature that allows applicants to save the
information that they have entered so that they can return to the
application even after crash.
CONCLUSION
This project has been prepared to reduce manual work and
with the help of this project all the data which collected can
maintained in a categorised manner. Every thing in this
project is automatic and in faster manner and all the data
are easily inserted into this project to get the desired output.
REFERENCE
1.Information practices, STD XII SUMITA ARORA,
DHANPAT RAI AND CO.
2.www.WIKIPEDIA.ORG
3.www.GOOGLE.CO.IN
CODING & output screen
import pandas as pd
import matplotlib.pyplot as plt
def menu():
print()
print("*********************************************
*******************************")
print( " HOSPITAL MANAGEMENT
SYSTEM PROJECT ")
print("*********************************************
******************************")
print()
print()
print("Data Analysis")
print(" 1.Know about the project")
print(" 2.Reading Doctor file without index")
print(" 3.Adding new Doctor Detail")
print(" 4.Reading Doctor File With new Column
names")
print(" 5.sort Doctor Details by Name")
print(" 6.Reading Patient File without index")
print(" 7.Deleting a column from patient table")
print(" 8.Display Patient names")
print(" 9.Display All Bills")
print(" 10.Display Total Bills")
print(" 11.Incresing Doctor Visit Charges by 500")
print(" 12.Display Records of Workers")
print(" 13.Display Highest salary being paid")
print(" 14.Saving Workers File after Increasing salary
by 500")
print("Data Visualization")
print(" 15.Line plot")
print(" 16.Bar plot")
print(" 17.Pie plot")
print(" 18.Close the program")
print()
print("*********************************************
*************************")
menu()
def about():
print("In Hospital management system is a computer
system that helps manage the\
information related to health care and aids in the job
completion of health\
care providers effectively. They manage the data
related to all departments of\
healthcare such as, Clinical. Financial.
Laboratory.\There are 16 Options including 3 plots")
def no_index():
print('Display doctor details without index')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\Doctor.csv",index_col=0)
print('without index')
print(df)
def new_doctor():
print('Adding new doctor in file doctor')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Doctor.csv")
df.at['5',:]=['105','Dr.Geeta',50,'Surgery',963547854]
print(df)
def new_colnam():
print('Display Details of Doctors with new names')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\Doctor.csv",skiprows=1,names=['doctor_id','
doctor_name','doctor_age','Department','doctor_phone'])
print(df)
def sort_doctor():
print('sorting Doctors age and details in Ascending order')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\Doctor.csv",index_col=0)
df=df.sort_values('D_age')
print(df)
def patient():
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\Patient.csv",index_col=0)
print('Patients detail without index')
print(df)
def delete_col():
print(' Delete column Age from patient')
print()
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Patient.csv")
print(df)
print()
print()
del df['p_ age']
print(df)
def patient_name():
print('Show patients list')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\Patient.csv",usecols=['p_name'])
print(df)
def bill():
print('Display Details of Bills')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv",index_col=0)
print('without index')
print(df)
def total_bill():
print('To Display total Bills')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv",index_col=0)
print(df)
print()
df1=df['Drvisit']+df['Medicines']+df['Room']
print(df1)
def fee_inc():
print('Previous Doctor fee')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv")
print(df)
print()
print('increase doctor fee by Rs.500')
print()
df['Drvisit']+=500
print(df)
def worker():
print('Show records of workers')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\workers.csv")
print(df)
def maxsalary():
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\workers.csv")
print("Highest Salary")
print(df.Salary.max())
def saveworker():
print('To increase Salary and save')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\workers.csv")
print(df)
print()
print('increase salary by Rs.500')
print()
df=df['Salary']+500
print()
df.to_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\workers.csv")
print(df)
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital
management\\workers.csv")
print(df)
def line_plot():
print('line plot')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv")
print(df)
x1=df['Medicines']
y1=df['Room']
plt.xlabel('medicines')
plt.ylabel('room')
plt.plot(x1,y1,color='r',linewidth=5,marker='o',markerfaceco
lor='blue')
plt.title('Charges of Medicines and Room recods')
def bar_plot():
print('bar plot')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv")
print(df)
x1=df['Medicines']
y1=df['Room']
plt.xlabel('medicines',fontsize=14,color="r")
plt.ylabel('room',fontsize=14,color="r")
plt.title('paid for Medicines and
Room',fontsize=14,color="blue")
plt.bar(x1,y1,width=40,facecolor='r',edgecolor='green')
plt.show()
def pie_plot():
print('pie plot')
df=pd.read_csv("C:\\Users\\SONU
KUMAR\\Desktop\\hospital management\\Hospital
bill.csv")
print(df)
plt.title(' Charges on room , Medicine , Dr.Visit on the
items')
z=eval(input('enter charges of Room , Medicine , Dr. visit
in sq braker '))
color=['red','green','blue']
items=['medicines','room','drvisit']
expl=[0,0,0.2]
plt.pie(z,colors=color,labels=items,explode=expl,autopct="%
5.1f%%")
plt.show()
opt=""
opt=int(input("enter your choice : "))
if opt == 1:
about()
if opt == 2:
no_index()
if opt == 3:
new_doctor()
if opt == 4:
new_colnam()
elif opt == 5:
sort_doctor()
elif opt == 6:
patient()
elif opt == 7:
delete_col()
elif opt == 8:
patient_name()
elif opt == 9:
bill()
elif opt == 10:
total_bill()
elif opt == 11:
fee_inc()
elif opt == 12:
worker()
elif opt == 13:
maxsalary()
elif opt == 14:
saveworker()
elif opt == 15:
line_plot()
elif opt == 16:
bar_plot()
elif opt == 17:
pie_plot()
elif opt == 18:
breakpoint
else:
print('invalid option')