SlideShare a Scribd company logo
Hospital Database Management System
Abstract-My project Hospital Database Management
system includes registration of patients, storing their
disease details into the system. It will also contain
doctor’s information and will digitalize the whole billing
system. It has the facility to give a unique id for every
patient and stores the details of every patient and staff
automatically. It includes a search facility to know the
current status of each room. User can search availability
of a doctor and the details of a patient using the id. And
the whole process conducted by Administrator.
Keywords- Hospital, Administrator, Patients, Doctor,
Diseases, Staff, Treatments, Test, Lab reports, Schema.
1. BACKGROUND
A Hospital Database Management System (HDMS) is a
computer or web based system that facilities managing the
functioning of a hospital or any medical set up. This system
will help in making the whole functioning paperless.
The hospital database includes all the necessary patient
data. The disease history, test results, prescribed
treatment can be accessed by doctors without much delay in
order to make an accurate diagnosis and monitor the
patient's health. It enables lower risks of mistakes.
A hospital is a place where Patients come up for general
diseases. Hospitals Provide facilities like:
• Consultation by Doctors on Diseases.
• Diagnosis for diseases.
• Providing treatment facility.
• Facility for admitting Patients (providing beds,
nursing, medicines etc.)
• Immunization for Patients/Children.
Various operational works that are done in a Hospital are:
• Recording information about the Patients that
come.
• Generating bills.
• Recording information related to diagnosis given to
Patients.
• Keeping record of the Immunization provided to
Children/Patients.
• Keeping information about various diseases and
medicines available to cure them.
These are the various jobs that need to be done in a
Hospital by the operational staff and Doctors. All these
works are done on papers.
The work is done as follows:
• Information about Patients is done by just writing
the Patients name, age, and gender. Whenever the
Patient comes up his information is stored freshly.
• Bills are generated by recording price for each
facility provided to Patient on a separate sheet and
at last they all are summed up.
• Diagnosis information to patients is generally
recorded on the document, which contains Patients
information. It is destroyed after some time period
to decrease the paper load in the office.
• Immunization records of the children are
maintained in pre-formatted sheets, which are kept
in a file.
• Information about various diseases is not kept as
any document. Doctors themselves do this job by
remembering various medicines
All this work is done manually by the receptionist and
other operationalstaffand lot ofpapers are needed to be
handled and taken care of. Doctors have to remember
various medicines available for diagnosis and
sometimes miss better alternatives as they can’t
remember themat that time.
2. IDEAS
The hospital database includes all the necessary patient
data. The disease history, lab reports, prescribed
treatment can be accessed by doctors without much delay in
order to make an accurate diagnosis and monitorthe patient's
health. It enables lower risks of mistakes.
 The project maintains two levels of users:
• Administrator.
• User Level-Data Entry Operator.
 Now, I discuss the main facilities in this project are:
• Maintaining records of indoor/outdoorpatients.
• Maintaining patient’s test and examinations details.
• Providing different test facilities to a Doctor for
doctor for diagnosis of a patients.
• Maintaining patient’s prescription, medicine and
diet advice details.
• Providing billing details for indoor/outdoor
patients.
• Results of tests, prescription, precautions and diet
advice will be automatically updated in the
database.
• In this project collection of data in form different
pathology labs.
• Related test reports, patient’s details report, billing
reports can be generated as per user requirements.
• User or administrator can search a patient’s record
by his id.
• Hospital Database Management System Design:
The Hospital database management system design is a
database design use for managing hospital functions
and events. It enables the admin to register a patient for
the hospital, stores their disease details into the
database. Any of the staff members, doctor & admin is
able to add, view, edit, update or delete data.
 Purpose of Hospital Database Management System:
The purpose of the Hospital Management
System database Design is to make a secure and easy
way of storing information of the patient, doctors,
inpatient, outpatient, Rooms, and Bill payment.
 Features of the HospitalDatabase Management System:
There are seven (8) common features of Hospital
Management System Database Design such as
Managing Administrator, Doctors, laboratory,
Inpatient, Outpatient, Rooms, and Hospital Bills
information.
• Administrator
This table of ER Diagram Hospital Management System
will be used for storing and managing the administrator
information. Administrator manage & maintain the whole
system.
• Manage Doctor
This table will be used for storing and managing the
Doctor information and login account.
• Manage Laboratory
This table will be used for storing and managing the
Laboratory transaction.
• Manage Inpatient
This table will be used for storing and managing
the inpatient information and diagnosis.
• Manage Outpatient
This table will be used for storing and managing
the inpatient information and diagnosis.
• Manage Room
This table will be used for storing and managing
the room information and assigning of patient in
every room.
• Manage Bills
The billing table will be used for managing the
statement of accounts perpatient and for the
collection of bills.
• Manage Staff
This table will be used for storing and managing
the Staff information.
 ER Diagram of Hospital Database Management System
The proposed ER diagram for Hospital DBMS with
relationship shows the entity of the proposed Hospital
Management systemdatabase,which is presented by tables;
the tables are made to meet the required specification of the
system and provide much more specific details ofeach entity
within the system.
Data Tables:
1. Administrator Table:
Fields Data Type Relationships
a_id int(5) PrimaryKey
a_name Varchar(20) Not Null
gender Varchar(10) Not Null
2. Doctor Table:
Fields Data Type Relationships
Doctor_id int(5) PrimaryKey
Doctor_name Varchar(15) Not Null
Dept Varchar(15) Not Null
a_id Int(5) Foreign Key
3. Staff Table:
Fields Data Type Relationships
s_name Varchar(15) Not Null
s_id Int(5) PrimaryKey
NID Int(12) Not Null
salary Int(5) Not Null
a_id Int(5) Foreign Key
4. Lab table:
Fields Data Type Relationships
lab_no int(5) PrimaryKey
Patient_id int(5) Not Null
weight int Not Null
Doctor_id int(5) Foreign Key
date Date/Time[6] Not Null
category Varchar(15) Not Null
patient_type Varchar(15) Not Null
amount Int(10) Not Null
5. InpatientTable:
Fields Data Type Relationships
Patient_id int(5) PrimaryKey
name Varchar(20) Not Null
gender Varchar(10) Not Null
address Varchar(20) Not Null
room_no int(5) Not Null
date_of_admit Date/Time[6] Not Null
date_of_discharge Date/Time[6 ] Not Null
advance Int(10) Not Null
lab_no int(5) Foreign Key
Doctor_id Int(5) Foreign Key
disease Varchar(20) Not Null
6. Outpatient Table:
Fields Data Type Relationships
Patient_id int(5) PrimaryKey
date Date/Time Not Null
lab_no int(5) Foreign Key
7. Room Table:
Fields Data Type Relationships
room_no Int(5) PrimaryKey
room_type Varchar(10) Not Null
status Varchar(10) Not Null
Patient_id Int(5) Foreign Key
8. Bill Table:
Fields Data Type Relationships
bill_no int(50) PrimaryKey
Patient_id int(5) Foreign Key
patient_type Varchar(10) AllowNull
doctor_charge int Not Null
medicine_charge int Not Null
room_charge int Not Null
operation_charge int AllowNull
number_of_days int AllowNull
nursing_charge int AllowNull
advance int AllowNull
health_card Varchar(50) AllowNull
lab_charge int AllowNull
bill int Not Null
Snapshot:
• Hospital DBMS Tables list in SQL Database
Server
• Hospital DBMS SQL Server Database Schema
Diagram
Insert data into all Tables:
Now, we can use insert statement for Insert (add) data or
record into tables.
• For Administrator table:
The statement below enters 2 records or rows into
patient table:
Table:
• For doctortable:
The statement below enters 2 records or rows into
doctortable:
Table:
• For lab Table:
The statement below enters 2 records or rows into
lab table:
Table:
• For inpatient table:
The statement below enters 2 records or rows into
inpatient table:
Table:
• For outpatient table:
The statement below enters 2 records or rows into
outpatient table:
Table:
• For room table:
The statement below enters 2 records or rows into
room table:
Table:
• For bill Table:
The statement below enters 2 records or rows into
bill table:
Table:
• For staff Table:
The statement below enters 2 records or rows into
staff table:
Table:
Note: We will store this kind of record or information by
using above process.
 Search a patient’s record by his id:
To see patient’s record, we will use select
statement.
I would like to see how much bill, doctor charge,
medicine charge, room charge, operation charge,
nursing charge are came and how much advance
given the first patient's
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 systemalso
provide the facility of backup as per the requirement.
REFERENCES
[1] https://www.academia.edu/6880602/09_Project-
Hospital_management_system?email_work_card=thumbnail
[2] https://www.slideshare.net/EliasDinsa/hospital-management-system-
database-design
[3]https://ww w.academia.edu/29078722/Hospital_M anagement_System_
Design_and_Implementation?email_work_card=thumbnail

More Related Content

What's hot

Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management System
RANJIT SINGH
 
[PPT] Hospital management system - Quanta-his
[PPT] Hospital management system - Quanta-his[PPT] Hospital management system - Quanta-his
[PPT] Hospital management system - Quanta-his
Birlamedisoft Pvt. Ltd
 
Hospital management
Hospital managementHospital management
Hospital management
Vivek Gautam
 
Hospital management system
Hospital management systemHospital management system
Hospital Management System.pptx
Hospital Management System.pptxHospital Management System.pptx
Hospital Management System.pptx
LakshayPanchal
 
Complete project on hospital maangement system
Complete project on hospital maangement systemComplete project on hospital maangement system
Complete project on hospital maangement system
Rahul Kumar
 
Hospital management system DBMS PROJECT USING APEX 5.04
Hospital management system DBMS PROJECT USING APEX 5.04Hospital management system DBMS PROJECT USING APEX 5.04
Hospital management system DBMS PROJECT USING APEX 5.04
Mahmudul Hasan
 
Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management System
Saurabh Tripathi
 
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
NICHOLAS RATEMO
 
HOSPITAL MANAGEMENT SYSTEM PROJECT
HOSPITAL MANAGEMENT SYSTEM PROJECTHOSPITAL MANAGEMENT SYSTEM PROJECT
HOSPITAL MANAGEMENT SYSTEM PROJECT
MUHAMMAD HUZAIFA CHAUDHARY
 
Hospital management system
Hospital management systemHospital management system
Hospital management system
Abhishek Gupta SAP FICO Consultant
 
Hospital management-system
Hospital management-systemHospital management-system
Hospital management-systemsam143143
 
Computer Patient Record
Computer Patient RecordComputer Patient Record
Computer Patient Record
Ivor Kovic
 
Healthcare copy
Healthcare   copyHealthcare   copy
Healthcare copy
priyanka_McKEN
 
Hospital Management System (2nd Task)
Hospital Management System (2nd Task)Hospital Management System (2nd Task)
Hospital Management System (2nd Task)
SN Chakraborty
 
Hospital Management System Presentation
Hospital Management System PresentationHospital Management System Presentation
Hospital Management System PresentationSanjeev Kumar Rao
 
Hospital Infomation System
Hospital Infomation SystemHospital Infomation System
Hospital Infomation SystemNguyen Truong
 
Hospital management system 1819095.pptx
Hospital management system 1819095.pptxHospital management system 1819095.pptx
Hospital management system 1819095.pptx
RakshyaPariyar1
 
Hospital Management system Database design
Hospital Management system Database designHospital Management system Database design
Hospital Management system Database designElias Dinsa
 
Patient record management system(s.e. diagrams)
Patient record management system(s.e. diagrams)Patient record management system(s.e. diagrams)
Patient record management system(s.e. diagrams)
Syeda Javeria
 

What's hot (20)

Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management System
 
[PPT] Hospital management system - Quanta-his
[PPT] Hospital management system - Quanta-his[PPT] Hospital management system - Quanta-his
[PPT] Hospital management system - Quanta-his
 
Hospital management
Hospital managementHospital management
Hospital management
 
Hospital management system
Hospital management systemHospital management system
Hospital management system
 
Hospital Management System.pptx
Hospital Management System.pptxHospital Management System.pptx
Hospital Management System.pptx
 
Complete project on hospital maangement system
Complete project on hospital maangement systemComplete project on hospital maangement system
Complete project on hospital maangement system
 
Hospital management system DBMS PROJECT USING APEX 5.04
Hospital management system DBMS PROJECT USING APEX 5.04Hospital management system DBMS PROJECT USING APEX 5.04
Hospital management system DBMS PROJECT USING APEX 5.04
 
Hospital Management System
Hospital Management SystemHospital Management System
Hospital Management System
 
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
PROJECT-HOSPITAL MANAGEMENT SYSTEM CHAP. 1 TO 4
 
HOSPITAL MANAGEMENT SYSTEM PROJECT
HOSPITAL MANAGEMENT SYSTEM PROJECTHOSPITAL MANAGEMENT SYSTEM PROJECT
HOSPITAL MANAGEMENT SYSTEM PROJECT
 
Hospital management system
Hospital management systemHospital management system
Hospital management system
 
Hospital management-system
Hospital management-systemHospital management-system
Hospital management-system
 
Computer Patient Record
Computer Patient RecordComputer Patient Record
Computer Patient Record
 
Healthcare copy
Healthcare   copyHealthcare   copy
Healthcare copy
 
Hospital Management System (2nd Task)
Hospital Management System (2nd Task)Hospital Management System (2nd Task)
Hospital Management System (2nd Task)
 
Hospital Management System Presentation
Hospital Management System PresentationHospital Management System Presentation
Hospital Management System Presentation
 
Hospital Infomation System
Hospital Infomation SystemHospital Infomation System
Hospital Infomation System
 
Hospital management system 1819095.pptx
Hospital management system 1819095.pptxHospital management system 1819095.pptx
Hospital management system 1819095.pptx
 
Hospital Management system Database design
Hospital Management system Database designHospital Management system Database design
Hospital Management system Database design
 
Patient record management system(s.e. diagrams)
Patient record management system(s.e. diagrams)Patient record management system(s.e. diagrams)
Patient record management system(s.e. diagrams)
 

Similar to Hospital database management_system_sql

Dbms mini project
Dbms mini projectDbms mini project
Dbms mini project
Home
 
Hospital Management Record System Proposal
Hospital Management Record System ProposalHospital Management Record System Proposal
Hospital Management Record System Proposal
Bishal Bista
 
Hosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptxHosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptx
rohanthombre2
 
Medicity (Hospital management system)
Medicity (Hospital management system)Medicity (Hospital management system)
Medicity (Hospital management system)
YOGESH SHARMA
 
Hospital Information Management System 24092010
Hospital Information Management System 24092010Hospital Information Management System 24092010
Hospital Information Management System 24092010
Seema Kavatkar
 
Health_care_Project_Presentation.pptx
Health_care_Project_Presentation.pptxHealth_care_Project_Presentation.pptx
Health_care_Project_Presentation.pptx
abhi0207055
 
Synopsis of hms(Hospital Management System)
Synopsis of hms(Hospital Management System)Synopsis of hms(Hospital Management System)
Synopsis of hms(Hospital Management System)
Farooq Stanikzai
 
HORIZON HI-TECH SOFT SYSTEMS
 HORIZON HI-TECH SOFT SYSTEMS HORIZON HI-TECH SOFT SYSTEMS
HORIZON HI-TECH SOFT SYSTEMS
Mahalakshmi Lingadurai
 
Healthcare
HealthcareHealthcare
Healthcare
Shamsuak
 
Benefits of having a hospital information system in place
Benefits of having a hospital information system in placeBenefits of having a hospital information system in place
Benefits of having a hospital information system in place
BigSun Technologies Pvt. Ltd
 
monika 1819127 hms[732] 2.pptx
monika 1819127 hms[732] 2.pptxmonika 1819127 hms[732] 2.pptx
monika 1819127 hms[732] 2.pptx
monikapoonia11
 
Sample - Software Requirements Specification for Hospital Info Management System
Sample - Software Requirements Specification for Hospital Info Management SystemSample - Software Requirements Specification for Hospital Info Management System
Sample - Software Requirements Specification for Hospital Info Management System
NainaKhan29
 
Hospital presentation
Hospital presentationHospital presentation
Hospital presentation
RANJIT SINGH
 
hospital management.pptx
hospital management.pptxhospital management.pptx
hospital management.pptx
DhanrajCanchiBhoopal
 
Health informationexchangeacrossus healthinstitution (1)
Health informationexchangeacrossus healthinstitution (1)Health informationexchangeacrossus healthinstitution (1)
Health informationexchangeacrossus healthinstitution (1)
University of Illinois,Chicago
 
Hospital Management Software.pdf
Hospital Management Software.pdfHospital Management Software.pdf
Hospital Management Software.pdf
Techugo
 
Hospital management software development.
Hospital management software development.Hospital management software development.
Hospital management software development.
Techugo
 
Hospital Software - Its Benefits & Key Modules
Hospital Software - Its Benefits & Key ModulesHospital Software - Its Benefits & Key Modules
Hospital Software - Its Benefits & Key Modules
SoftClinic Software
 
hospitals.pptx
hospitals.pptxhospitals.pptx
hospitals.pptx
ABDULRAHMAN404686
 

Similar to Hospital database management_system_sql (20)

Dbms mini project
Dbms mini projectDbms mini project
Dbms mini project
 
Hospital Management Record System Proposal
Hospital Management Record System ProposalHospital Management Record System Proposal
Hospital Management Record System Proposal
 
Hosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptxHosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptx
 
Medicity (Hospital management system)
Medicity (Hospital management system)Medicity (Hospital management system)
Medicity (Hospital management system)
 
Hospital management
Hospital managementHospital management
Hospital management
 
Hospital Information Management System 24092010
Hospital Information Management System 24092010Hospital Information Management System 24092010
Hospital Information Management System 24092010
 
Health_care_Project_Presentation.pptx
Health_care_Project_Presentation.pptxHealth_care_Project_Presentation.pptx
Health_care_Project_Presentation.pptx
 
Synopsis of hms(Hospital Management System)
Synopsis of hms(Hospital Management System)Synopsis of hms(Hospital Management System)
Synopsis of hms(Hospital Management System)
 
HORIZON HI-TECH SOFT SYSTEMS
 HORIZON HI-TECH SOFT SYSTEMS HORIZON HI-TECH SOFT SYSTEMS
HORIZON HI-TECH SOFT SYSTEMS
 
Healthcare
HealthcareHealthcare
Healthcare
 
Benefits of having a hospital information system in place
Benefits of having a hospital information system in placeBenefits of having a hospital information system in place
Benefits of having a hospital information system in place
 
monika 1819127 hms[732] 2.pptx
monika 1819127 hms[732] 2.pptxmonika 1819127 hms[732] 2.pptx
monika 1819127 hms[732] 2.pptx
 
Sample - Software Requirements Specification for Hospital Info Management System
Sample - Software Requirements Specification for Hospital Info Management SystemSample - Software Requirements Specification for Hospital Info Management System
Sample - Software Requirements Specification for Hospital Info Management System
 
Hospital presentation
Hospital presentationHospital presentation
Hospital presentation
 
hospital management.pptx
hospital management.pptxhospital management.pptx
hospital management.pptx
 
Health informationexchangeacrossus healthinstitution (1)
Health informationexchangeacrossus healthinstitution (1)Health informationexchangeacrossus healthinstitution (1)
Health informationexchangeacrossus healthinstitution (1)
 
Hospital Management Software.pdf
Hospital Management Software.pdfHospital Management Software.pdf
Hospital Management Software.pdf
 
Hospital management software development.
Hospital management software development.Hospital management software development.
Hospital management software development.
 
Hospital Software - Its Benefits & Key Modules
Hospital Software - Its Benefits & Key ModulesHospital Software - Its Benefits & Key Modules
Hospital Software - Its Benefits & Key Modules
 
hospitals.pptx
hospitals.pptxhospitals.pptx
hospitals.pptx
 

Recently uploaded

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 

Recently uploaded (20)

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 

Hospital database management_system_sql

  • 1. Hospital Database Management System Abstract-My project Hospital Database Management system includes registration of patients, storing their disease details into the system. It will also contain doctor’s information and will digitalize the whole billing system. It has the facility to give a unique id for every patient and stores the details of every patient and staff automatically. It includes a search facility to know the current status of each room. User can search availability of a doctor and the details of a patient using the id. And the whole process conducted by Administrator. Keywords- Hospital, Administrator, Patients, Doctor, Diseases, Staff, Treatments, Test, Lab reports, Schema. 1. BACKGROUND A Hospital Database Management System (HDMS) is a computer or web based system that facilities managing the functioning of a hospital or any medical set up. This system will help in making the whole functioning paperless. The hospital database includes all the necessary patient data. The disease history, test results, prescribed treatment can be accessed by doctors without much delay in order to make an accurate diagnosis and monitor the patient's health. It enables lower risks of mistakes. A hospital is a place where Patients come up for general diseases. Hospitals Provide facilities like: • Consultation by Doctors on Diseases. • Diagnosis for diseases. • Providing treatment facility. • Facility for admitting Patients (providing beds, nursing, medicines etc.) • Immunization for Patients/Children. Various operational works that are done in a Hospital are: • Recording information about the Patients that come. • Generating bills. • Recording information related to diagnosis given to Patients. • Keeping record of the Immunization provided to Children/Patients. • Keeping information about various diseases and medicines available to cure them. These are the various jobs that need to be done in a Hospital by the operational staff and Doctors. All these works are done on papers. The work is done as follows: • Information about Patients is done by just writing the Patients name, age, and gender. Whenever the Patient comes up his information is stored freshly. • Bills are generated by recording price for each facility provided to Patient on a separate sheet and at last they all are summed up. • Diagnosis information to patients is generally recorded on the document, which contains Patients information. It is destroyed after some time period to decrease the paper load in the office. • Immunization records of the children are maintained in pre-formatted sheets, which are kept in a file. • Information about various diseases is not kept as any document. Doctors themselves do this job by remembering various medicines All this work is done manually by the receptionist and other operationalstaffand lot ofpapers are needed to be handled and taken care of. Doctors have to remember various medicines available for diagnosis and sometimes miss better alternatives as they can’t remember themat that time. 2. IDEAS The hospital database includes all the necessary patient data. The disease history, lab reports, prescribed treatment can be accessed by doctors without much delay in order to make an accurate diagnosis and monitorthe patient's health. It enables lower risks of mistakes.  The project maintains two levels of users: • Administrator. • User Level-Data Entry Operator.  Now, I discuss the main facilities in this project are: • Maintaining records of indoor/outdoorpatients. • Maintaining patient’s test and examinations details. • Providing different test facilities to a Doctor for doctor for diagnosis of a patients. • Maintaining patient’s prescription, medicine and diet advice details. • Providing billing details for indoor/outdoor patients. • Results of tests, prescription, precautions and diet advice will be automatically updated in the database. • In this project collection of data in form different pathology labs. • Related test reports, patient’s details report, billing reports can be generated as per user requirements.
  • 2. • User or administrator can search a patient’s record by his id. • Hospital Database Management System Design: The Hospital database management system design is a database design use for managing hospital functions and events. It enables the admin to register a patient for the hospital, stores their disease details into the database. Any of the staff members, doctor & admin is able to add, view, edit, update or delete data.  Purpose of Hospital Database Management System: The purpose of the Hospital Management System database Design is to make a secure and easy way of storing information of the patient, doctors, inpatient, outpatient, Rooms, and Bill payment.  Features of the HospitalDatabase Management System: There are seven (8) common features of Hospital Management System Database Design such as Managing Administrator, Doctors, laboratory, Inpatient, Outpatient, Rooms, and Hospital Bills information. • Administrator This table of ER Diagram Hospital Management System will be used for storing and managing the administrator information. Administrator manage & maintain the whole system. • Manage Doctor This table will be used for storing and managing the Doctor information and login account. • Manage Laboratory This table will be used for storing and managing the Laboratory transaction. • Manage Inpatient This table will be used for storing and managing the inpatient information and diagnosis. • Manage Outpatient This table will be used for storing and managing the inpatient information and diagnosis. • Manage Room This table will be used for storing and managing the room information and assigning of patient in every room. • Manage Bills The billing table will be used for managing the statement of accounts perpatient and for the collection of bills. • Manage Staff This table will be used for storing and managing the Staff information.  ER Diagram of Hospital Database Management System The proposed ER diagram for Hospital DBMS with relationship shows the entity of the proposed Hospital Management systemdatabase,which is presented by tables; the tables are made to meet the required specification of the system and provide much more specific details ofeach entity within the system. Data Tables: 1. Administrator Table: Fields Data Type Relationships a_id int(5) PrimaryKey a_name Varchar(20) Not Null gender Varchar(10) Not Null 2. Doctor Table: Fields Data Type Relationships Doctor_id int(5) PrimaryKey Doctor_name Varchar(15) Not Null Dept Varchar(15) Not Null a_id Int(5) Foreign Key
  • 3. 3. Staff Table: Fields Data Type Relationships s_name Varchar(15) Not Null s_id Int(5) PrimaryKey NID Int(12) Not Null salary Int(5) Not Null a_id Int(5) Foreign Key 4. Lab table: Fields Data Type Relationships lab_no int(5) PrimaryKey Patient_id int(5) Not Null weight int Not Null Doctor_id int(5) Foreign Key date Date/Time[6] Not Null category Varchar(15) Not Null patient_type Varchar(15) Not Null amount Int(10) Not Null 5. InpatientTable: Fields Data Type Relationships Patient_id int(5) PrimaryKey name Varchar(20) Not Null gender Varchar(10) Not Null address Varchar(20) Not Null room_no int(5) Not Null date_of_admit Date/Time[6] Not Null date_of_discharge Date/Time[6 ] Not Null advance Int(10) Not Null lab_no int(5) Foreign Key Doctor_id Int(5) Foreign Key disease Varchar(20) Not Null 6. Outpatient Table: Fields Data Type Relationships Patient_id int(5) PrimaryKey date Date/Time Not Null lab_no int(5) Foreign Key 7. Room Table: Fields Data Type Relationships room_no Int(5) PrimaryKey room_type Varchar(10) Not Null status Varchar(10) Not Null Patient_id Int(5) Foreign Key 8. Bill Table: Fields Data Type Relationships bill_no int(50) PrimaryKey Patient_id int(5) Foreign Key patient_type Varchar(10) AllowNull doctor_charge int Not Null medicine_charge int Not Null room_charge int Not Null operation_charge int AllowNull number_of_days int AllowNull nursing_charge int AllowNull advance int AllowNull health_card Varchar(50) AllowNull lab_charge int AllowNull bill int Not Null Snapshot: • Hospital DBMS Tables list in SQL Database Server • Hospital DBMS SQL Server Database Schema Diagram Insert data into all Tables: Now, we can use insert statement for Insert (add) data or record into tables. • For Administrator table: The statement below enters 2 records or rows into patient table:
  • 4. Table: • For doctortable: The statement below enters 2 records or rows into doctortable: Table: • For lab Table: The statement below enters 2 records or rows into lab table: Table: • For inpatient table: The statement below enters 2 records or rows into inpatient table: Table: • For outpatient table: The statement below enters 2 records or rows into outpatient table: Table: • For room table: The statement below enters 2 records or rows into room table: Table: • For bill Table: The statement below enters 2 records or rows into bill table: Table: • For staff Table: The statement below enters 2 records or rows into staff table: Table: Note: We will store this kind of record or information by using above process.  Search a patient’s record by his id: To see patient’s record, we will use select statement. I would like to see how much bill, doctor charge, medicine charge, room charge, operation charge, nursing charge are came and how much advance given the first patient's 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 systemalso provide the facility of backup as per the requirement.