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

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

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.