SlideShare a Scribd company logo
1 of 12
Hospital's Registration and Billing 
Management System 
Submitted By 
Mr. Aashish Rai 
Roll no. : 8603 
T.U. Reg. No. : 
A Project Report Submitted To 
Mr. Nagendra Dangal 
Nepal Commerce Campus 
Tribhuwan University 
In partial fulfillment of requirements for the course on 
Database Management System 
For completion of 4th Semester, Bachelor's in Business Administration 
Kathmandu 
July 24, 2013
Acknowledgement 
At the beginning, I like to ensure a hearty thanks to my mentor Mr. Nagendra 
Dangal, for equipping me with all the necessary concepts and tools to wrap up 
this project in such a beautiful report. Sincere thanks to OM Hospital and 
Research Center's unkown staff who listened and quenced my queries. Similarly, 
to the pharmacy of Shivatara Hospital, Mahalaxmisthan, I am indebted towards 
you. And finally, to the Tribhuwan Universtiy Teaching Hospital, where I realized 
how the database management system is implemented and it's necessity and 
helpfulness in real scenario where thousands of data are maintained each day. 
Aashish Rai 
4th Semester, BBA 
Nepal Commerce Campus
Table of Contents: 
Content heads 
Page No.: 
Acknowledgement 
I 
Introduction 
1 
Relational schema 
2 
E-R Diagram 
3 
Schema Diagram 
4 
DDL Statements 
5 
Applicability options 
8 
Conclusion 9
Introduction: 
With some facts and researches, the project “Hospital's Registration and Billing 
Management System” is an integrated management system that helps to record 
the patient’s expenses on different heads from three different expense points, 
namely pharmacy, cafeteria and tests, of a hospital. It is not in use in real time as 
a whole, but different parts of this system comprise the current practices in three 
existing Hospitals; OM Hospital, Chabahil, Teaching Hospital, Maharajgunj, and 
Shivatara Hospital, Mahalaxmisthan. This project tired to combine the bills of a 
patient in a single database, such that the necessary data can be easily accessed 
from the database. 
The Database consists of 7 tables; employee, patient, doctor, check, pharmacy, 
cafeteria and tests. The table ‘employe’ consists of the information regarding the 
employee who had registered the patient. ‘patient’ consists of the basic data 
about the patient. ‘doctor’ consists of the information about doctor. ‘check’ 
consists information on which doctor checked which patient on which date. 
‘pharmacy’ consists of data about the pharmaceuticals purchased on patient’s 
account. ‘cafeteria’ consists of data about the orders of food and drinks made on 
patient’s account. And finally, ‘tests’ table records the data about the test hired 
by the patient. In this way the entire billing system is integrated within a single 
database. 
The database is practically applicable in the real time for hospitals which are likely 
to implement an integrated account of patient’s expenses within a single account.
Relational Schema: 
employee 
(empID, empName, counterNo) 
patient 
(patientNo, patientName, age, sex, address, deposite, regDate, disDate, remarks, 
empID) 
doctor 
(docID, docName, address, contact, faculty) 
check 
(patientNo, docID, checkdate, fee, remarks) 
pharmacy 
(patientNo, buydate, particulars, rate, qty, amount) 
cafeteria 
(patientNo, orderdate, particulars, rate, qty, amount) 
test 
(patientNo, testdate, testhead, amount, remarks)
E-R Diagram: 
doctor 
docID 
empName counterNo 
patient 
docName 
address 
contact 
faculty 
check 
employee 
empID 
register 
patientNo 
deposite 
patientName 
age 
checkdate 
sex 
remarks 
address 
fee 
disDate 
testhead 
regDate 
remarks 
test 
remarks 
amount 
testdate 
pharmacy 
cafeteria 
takes 
buys 
orders 
qty 
particulars 
rate 
amount 
buydate 
amount 
qty 
rate 
orderdate 
particulars
Schema Diagram: 
empID 
empName 
counterNo 
empID 
patientName 
age 
sex 
address 
deposite 
regDate 
disDate 
remarks 
patientNo 
docID 
checkdate 
fee 
remarks 
patientNo 
docID 
docName 
address 
contact 
faculty 
patientNo 
buydate 
particulars 
rate 
qty 
patientNo amount 
orderdate 
particulars 
rate 
qty 
amount 
patientNo 
testdate 
testhead 
amount 
remarks 
employee patient 
pharmacy 
test 
check 
cafeteria 
doctor
DDL Statements: 
For table "employee" 
CREATE TABLE employee 
( 
empID int NOT NULL, 
empName varchar(100) NOT NULL, 
counterNo int NOT NULL, 
constraint pk_empID PRIMARY KEY (empID) 
) 
For table "patient" 
CREATE TABLE patient 
( 
patientNo int NOT NULL, 
PatientName varchar(100) NOT NULL, 
age int, 
sex char, 
address varchar(100), 
deposite currency NOT NULL, 
regDate date, 
disDate date, 
remarks text, 
empID int NOT NULL, 
CONSTRAINT pk_patientNo PRIMARY KEY (patientNo), 
CONSTRAINT fk_empID FOREIGN KEY (empID) REFERENCES employee (empID) 
)
For table "doctor" 
CREATE TABLE doctor 
( 
docID int NOT NULL, 
docName varchar(100) NOT NULL, 
address varchar(100), 
contact varchar(30), 
faculty varchar(100), 
CONSTRAINT pk_docID PRIMARY KEY (docID) 
) 
For table "check" 
CREATE TABLE check 
( 
docID int NOT NULL, 
patientNo int NOT NULL, 
checkDate date, 
fee currency, 
remarks text, 
CONSTRAINT fk_docID FOREIGN KEY (docID) REFERENCES doctor (docID), 
CONSTRAINT fk1_patientNo FOREIGN KEY (patientNo) REFERENCES patient 
(patientNO) 
) 
For table "pharmacy" 
CREATE TABLE pharmacy 
( 
patientNo int NOT NULL , 
buydate date NOT NULL, 
particulars varchar(100), 
rate currency, 
qty int,
amount currency, 
CONSTRATIN ph_patientNo FOREIGN KEY (patientNo) REFERENCES patient 
(patientNo) 
) 
For table "cafeteria" 
CREATE TABLE cafeteria 
( 
patientNo int NOT NULL, 
orderdate date NOT NULL, 
particulars varchar(100), 
rate currency, 
qty int, 
amount currency, 
CONSTRAINT caf_patientNo FOREIGN KEY (patientNo) REFERENCES patient 
(patientNo), 
) 
For table "test" 
CREATE TABLE test 
( 
patientNo int NOT NULL, 
testdate date, 
testhead varchar(100), 
amount currency, 
remarks text, 
CONSTRATIN test_patientNo FOREIGN KEY (patientNo) REFERENCES patient 
(patientNo) 
)
Applicability Options: 
The database can help in generating following information: 
1. Patient's general information and medical history; 
2. Patient's stay time on hospital and deposit; 
3. Information on doctor's general information; 
4. Doctor's prescriptions and remarks on patient's health; 
5. Food habits of patient; 
6. Information on patient's total expenses for collective billing; 
7. Information on tests carried upon patient and medicines purchased on his 
behalf.
Conclusion: 
The project is focused towards creating an integrated billing system for hospital's 
patient. It is partially used in different hospitals right at now, but the combined / 
integrating database system has not be fully developed. It is not imaginary project 
and holds real value if developed sincerely. In our country where database system 
is at it's infant phase, projects as such is a good sign of striving to move forward. 
The use of database at hospitals, especially in the government hospitals will surely 
make it more efficient and minimizes the errors that occur from traditional 
papering system. It is also a research tool for researchers, and it also helps to 
identify the subtle health epidemics.

More Related Content

Similar to haaaams

Hospital database management_system_sql
Hospital database management_system_sqlHospital database management_system_sql
Hospital database management_system_sqlSumedhMasal
 
Clinic Management System
Clinic Management SystemClinic Management System
Clinic Management SystemOsamaSoliman29
 
Hospital management system
Hospital management systemHospital management system
Hospital management systemsubu
 
Dbms mini project
Dbms mini projectDbms mini project
Dbms mini projectHome
 
hospital management system
hospital management systemhospital management system
hospital management systemshivangi singh
 
Hospital Management Record System Proposal
Hospital Management Record System ProposalHospital Management Record System Proposal
Hospital Management Record System ProposalBishal Bista
 
Using Enterprise Data To Drive Improvement
Using Enterprise Data To Drive ImprovementUsing Enterprise Data To Drive Improvement
Using Enterprise Data To Drive ImprovementEdgewater
 
Hospital Management System (2nd Task)
Hospital Management System (2nd Task)Hospital Management System (2nd Task)
Hospital Management System (2nd Task)SN Chakraborty
 
A budget planning model for health care hospitals
A budget planning model for health care hospitalsA budget planning model for health care hospitals
A budget planning model for health care hospitalsAlexander Decker
 
Coding Guidelines For Pathology Lab Billing Services.pptx
Coding Guidelines For Pathology Lab Billing Services.pptxCoding Guidelines For Pathology Lab Billing Services.pptx
Coding Guidelines For Pathology Lab Billing Services.pptxDanny Johnsmith
 
Coding Guidelines For Pathology Lab Billing Services.pdf
Coding Guidelines For Pathology Lab Billing Services.pdfCoding Guidelines For Pathology Lab Billing Services.pdf
Coding Guidelines For Pathology Lab Billing Services.pdfDanny Johnsmith
 
Key Strategies for Improving Hospital Flow
Key Strategies for Improving Hospital FlowKey Strategies for Improving Hospital Flow
Key Strategies for Improving Hospital FlowEmCare
 
Clinicmax EHR for Oncology
Clinicmax EHR for OncologyClinicmax EHR for Oncology
Clinicmax EHR for OncologyPlastemart
 
Medicity (Hospital management system)
Medicity (Hospital management system)Medicity (Hospital management system)
Medicity (Hospital management system)YOGESH SHARMA
 
Conway Regional Hospital has recently hired you to help them.pdf
Conway Regional Hospital has recently hired you to help them.pdfConway Regional Hospital has recently hired you to help them.pdf
Conway Regional Hospital has recently hired you to help them.pdfabhijitakolkar1
 
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docx
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docxCIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docx
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docxclarebernice
 
Online clinic reservation
Online clinic reservationOnline clinic reservation
Online clinic reservationMay Ann Mas
 

Similar to haaaams (20)

Hospital database management_system_sql
Hospital database management_system_sqlHospital database management_system_sql
Hospital database management_system_sql
 
Clinic Management System
Clinic Management SystemClinic Management System
Clinic Management System
 
Hospital management system
Hospital management systemHospital management system
Hospital management system
 
Dbms mini project
Dbms mini projectDbms mini project
Dbms mini project
 
hospital management system
hospital management systemhospital management system
hospital management system
 
Hospital Management Record System Proposal
Hospital Management Record System ProposalHospital Management Record System Proposal
Hospital Management Record System Proposal
 
Using Enterprise Data To Drive Improvement
Using Enterprise Data To Drive ImprovementUsing Enterprise Data To Drive Improvement
Using Enterprise Data To Drive Improvement
 
Hospital Management System (2nd Task)
Hospital Management System (2nd Task)Hospital Management System (2nd Task)
Hospital Management System (2nd Task)
 
A budget planning model for health care hospitals
A budget planning model for health care hospitalsA budget planning model for health care hospitals
A budget planning model for health care hospitals
 
Coding Guidelines For Pathology Lab Billing Services.pptx
Coding Guidelines For Pathology Lab Billing Services.pptxCoding Guidelines For Pathology Lab Billing Services.pptx
Coding Guidelines For Pathology Lab Billing Services.pptx
 
Coding Guidelines For Pathology Lab Billing Services.pdf
Coding Guidelines For Pathology Lab Billing Services.pdfCoding Guidelines For Pathology Lab Billing Services.pdf
Coding Guidelines For Pathology Lab Billing Services.pdf
 
Key Strategies for Improving Hospital Flow
Key Strategies for Improving Hospital FlowKey Strategies for Improving Hospital Flow
Key Strategies for Improving Hospital Flow
 
Clinicmax EHR for Oncology
Clinicmax EHR for OncologyClinicmax EHR for Oncology
Clinicmax EHR for Oncology
 
Medicity (Hospital management system)
Medicity (Hospital management system)Medicity (Hospital management system)
Medicity (Hospital management system)
 
Recovera
RecoveraRecovera
Recovera
 
Conway Regional Hospital has recently hired you to help them.pdf
Conway Regional Hospital has recently hired you to help them.pdfConway Regional Hospital has recently hired you to help them.pdf
Conway Regional Hospital has recently hired you to help them.pdf
 
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docx
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docxCIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docx
CIS336 Lab 2 The Expanded Entity Relationship DiagramLAB OVERVI.docx
 
Saude
SaudeSaude
Saude
 
Online clinic reservation
Online clinic reservationOnline clinic reservation
Online clinic reservation
 
Research critique example rmt 3
Research critique example rmt 3Research critique example rmt 3
Research critique example rmt 3
 

Recently uploaded

Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 

Recently uploaded (20)

Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 

haaaams

  • 1. Hospital's Registration and Billing Management System Submitted By Mr. Aashish Rai Roll no. : 8603 T.U. Reg. No. : A Project Report Submitted To Mr. Nagendra Dangal Nepal Commerce Campus Tribhuwan University In partial fulfillment of requirements for the course on Database Management System For completion of 4th Semester, Bachelor's in Business Administration Kathmandu July 24, 2013
  • 2. Acknowledgement At the beginning, I like to ensure a hearty thanks to my mentor Mr. Nagendra Dangal, for equipping me with all the necessary concepts and tools to wrap up this project in such a beautiful report. Sincere thanks to OM Hospital and Research Center's unkown staff who listened and quenced my queries. Similarly, to the pharmacy of Shivatara Hospital, Mahalaxmisthan, I am indebted towards you. And finally, to the Tribhuwan Universtiy Teaching Hospital, where I realized how the database management system is implemented and it's necessity and helpfulness in real scenario where thousands of data are maintained each day. Aashish Rai 4th Semester, BBA Nepal Commerce Campus
  • 3. Table of Contents: Content heads Page No.: Acknowledgement I Introduction 1 Relational schema 2 E-R Diagram 3 Schema Diagram 4 DDL Statements 5 Applicability options 8 Conclusion 9
  • 4. Introduction: With some facts and researches, the project “Hospital's Registration and Billing Management System” is an integrated management system that helps to record the patient’s expenses on different heads from three different expense points, namely pharmacy, cafeteria and tests, of a hospital. It is not in use in real time as a whole, but different parts of this system comprise the current practices in three existing Hospitals; OM Hospital, Chabahil, Teaching Hospital, Maharajgunj, and Shivatara Hospital, Mahalaxmisthan. This project tired to combine the bills of a patient in a single database, such that the necessary data can be easily accessed from the database. The Database consists of 7 tables; employee, patient, doctor, check, pharmacy, cafeteria and tests. The table ‘employe’ consists of the information regarding the employee who had registered the patient. ‘patient’ consists of the basic data about the patient. ‘doctor’ consists of the information about doctor. ‘check’ consists information on which doctor checked which patient on which date. ‘pharmacy’ consists of data about the pharmaceuticals purchased on patient’s account. ‘cafeteria’ consists of data about the orders of food and drinks made on patient’s account. And finally, ‘tests’ table records the data about the test hired by the patient. In this way the entire billing system is integrated within a single database. The database is practically applicable in the real time for hospitals which are likely to implement an integrated account of patient’s expenses within a single account.
  • 5. Relational Schema: employee (empID, empName, counterNo) patient (patientNo, patientName, age, sex, address, deposite, regDate, disDate, remarks, empID) doctor (docID, docName, address, contact, faculty) check (patientNo, docID, checkdate, fee, remarks) pharmacy (patientNo, buydate, particulars, rate, qty, amount) cafeteria (patientNo, orderdate, particulars, rate, qty, amount) test (patientNo, testdate, testhead, amount, remarks)
  • 6. E-R Diagram: doctor docID empName counterNo patient docName address contact faculty check employee empID register patientNo deposite patientName age checkdate sex remarks address fee disDate testhead regDate remarks test remarks amount testdate pharmacy cafeteria takes buys orders qty particulars rate amount buydate amount qty rate orderdate particulars
  • 7. Schema Diagram: empID empName counterNo empID patientName age sex address deposite regDate disDate remarks patientNo docID checkdate fee remarks patientNo docID docName address contact faculty patientNo buydate particulars rate qty patientNo amount orderdate particulars rate qty amount patientNo testdate testhead amount remarks employee patient pharmacy test check cafeteria doctor
  • 8. DDL Statements: For table "employee" CREATE TABLE employee ( empID int NOT NULL, empName varchar(100) NOT NULL, counterNo int NOT NULL, constraint pk_empID PRIMARY KEY (empID) ) For table "patient" CREATE TABLE patient ( patientNo int NOT NULL, PatientName varchar(100) NOT NULL, age int, sex char, address varchar(100), deposite currency NOT NULL, regDate date, disDate date, remarks text, empID int NOT NULL, CONSTRAINT pk_patientNo PRIMARY KEY (patientNo), CONSTRAINT fk_empID FOREIGN KEY (empID) REFERENCES employee (empID) )
  • 9. For table "doctor" CREATE TABLE doctor ( docID int NOT NULL, docName varchar(100) NOT NULL, address varchar(100), contact varchar(30), faculty varchar(100), CONSTRAINT pk_docID PRIMARY KEY (docID) ) For table "check" CREATE TABLE check ( docID int NOT NULL, patientNo int NOT NULL, checkDate date, fee currency, remarks text, CONSTRAINT fk_docID FOREIGN KEY (docID) REFERENCES doctor (docID), CONSTRAINT fk1_patientNo FOREIGN KEY (patientNo) REFERENCES patient (patientNO) ) For table "pharmacy" CREATE TABLE pharmacy ( patientNo int NOT NULL , buydate date NOT NULL, particulars varchar(100), rate currency, qty int,
  • 10. amount currency, CONSTRATIN ph_patientNo FOREIGN KEY (patientNo) REFERENCES patient (patientNo) ) For table "cafeteria" CREATE TABLE cafeteria ( patientNo int NOT NULL, orderdate date NOT NULL, particulars varchar(100), rate currency, qty int, amount currency, CONSTRAINT caf_patientNo FOREIGN KEY (patientNo) REFERENCES patient (patientNo), ) For table "test" CREATE TABLE test ( patientNo int NOT NULL, testdate date, testhead varchar(100), amount currency, remarks text, CONSTRATIN test_patientNo FOREIGN KEY (patientNo) REFERENCES patient (patientNo) )
  • 11. Applicability Options: The database can help in generating following information: 1. Patient's general information and medical history; 2. Patient's stay time on hospital and deposit; 3. Information on doctor's general information; 4. Doctor's prescriptions and remarks on patient's health; 5. Food habits of patient; 6. Information on patient's total expenses for collective billing; 7. Information on tests carried upon patient and medicines purchased on his behalf.
  • 12. Conclusion: The project is focused towards creating an integrated billing system for hospital's patient. It is partially used in different hospitals right at now, but the combined / integrating database system has not be fully developed. It is not imaginary project and holds real value if developed sincerely. In our country where database system is at it's infant phase, projects as such is a good sign of striving to move forward. The use of database at hospitals, especially in the government hospitals will surely make it more efficient and minimizes the errors that occur from traditional papering system. It is also a research tool for researchers, and it also helps to identify the subtle health epidemics.