Professional Documents
Culture Documents
Printed
Printed
Printed
A PRACTICAL RECORD FILE IS SUBMITTED TO DEPARTMENT OF COMPUTER SCIENCE FOR THE PARTIAL
FULLFILLMENT OF SSCE EXAMINATION FOR THE ACADEMIC SESSION : 2022-23
Primary
Doctor_id int(5) Key
Doctor_na
me Varchar(15) Not Null
Dept Varchar(15) Not Null
Foreign
a_id Int(5) Key
3. Staff Table:
Relationshi
Fields Data Type ps
Date/Time[ Primary
date 6] Not Null Patient_id int(5) Key
category Varchar(15) Not Null
Date/T
patient_ty date ime Not Null
pe Varchar(15) Not Null Foreign
amount Int(10) Not Null lab_no int(5) Key
7. Room
5. Inpatient Table: Table:
Relations
Fields Data Type hips Data Relations
Fields Type hips
Primary
Patient_id int(5) Key Primary
name Varchar(20) Not Null room_no Int(5) Key
gender Varchar(10) Not Null room_typ Varchar(10
address Varchar(20) Not Null e ) Not Null
room_no int(5) Not Null
date_of_ad Date/Ti Varchar(10
mit me[ 6] Not Null status ) Not Null
Foreign
date_of_di Date/Time[ Patient_id Int(5) Key
scharge 6] Not Null
advance Int(10) Not Null
8. Bill Table:
Relationshi
• Hospital DBMS SQL Server
Fields Data Type ps Database Schema Diagram
bill_no int(50) Primary Key
doctor_char
ge int Not Null
medicine_ch
arge int Not Null
Insert data into all Tables:
Now, we can use insert statement
room_charg for Insert (add) data or record into
e int Not Null tables.
operation_c • For Administrator table:
harge int Allow Null The statement below enters 2
number_of_ records or rows into patient Table:
days int Allow Null
nursing_cha
rge int Allow Null
advance int Allow Null table:
health_card Varchar(50) Allow Null
lab_charge int Allow Null
Table
• For room table:
The statement below enters 2
3. Conclusion
The project Hospital Data
Management System
(MDBS) is for
computerizing the working
in a hospital. It takes care
of all the requirements of
an average hospital and is
capable to provide easy
and effective storage of
information related to
patients that come up to
the hospital. It generates
test reports,
provide medicines
prescribed to patient and
doctor. It also provides
billing facility on the basis
of patient’s status
whether it is an indoor or
outdoor patient. The
system also provide the
facility of backup as per
the requirement.
REFERENCES
[1] https://www.academia.e
du/6880602/09_Project-
Hospital_management_syste
m?email_work_card=thumbn
ail
[2] https://www.slideshare.net/Eli
asDinsa/hospital-management-
system-database-design
[3]https://www.academia.edu/29078
722/Hospital_Management_System
_
Design_and_Implementation?email
_work_card=thumbnail