DBMS Final Term Paper
DBMS Final Term Paper
SYSTEM
INDEX
SR_NO TOPIC PAGE_NO
1) INTRODUCTION (1-2)
1.1 DATABASE AND ITS APPLICATIONS 1
1.4 SCOPE 2
7) CONCLUSION (9)
REFERENCES (10)
(i).
1. ER-DIAGRAM FIG.1 4
2. IMPLEMENTATION TABLE.1 6
IN REAL LIFE
3. IMPLEMENTATION TABLE.2 7
IN REAL LIFE
4. IMPLEMENTATION TABLE.3 7
IN REAL LIFE
6. IMPLEMENTATION TABLE.4 8
IN REAL LIFE
(ii).
1. INTRODUCTION
1.1 DATABASE
Database is collection of related information stored so that it is available to many users for
different purposes. Database management system is very large and integrated collection of data.
Database contains the information about one particular enterprise. DBMS is software package to
design, maintain and store data. DBMS is important to all organizations because
It save time
Easier to retrieve data as needed
Make backup of vital data much easier
Improve efficiency with fewer error
Enhances the efficiency of the organization.
Banking
Airlines
Tele-communication
Hospital management system
Universities
Flight reservation system etc.
A Hospital is a place where Patients come up for general diseases. Hospitals provide facilities
like:-
Pg_no 1
Facility for admitting Patients (providing beds, nursing, medicines etc.).
Immunization for Patients/Children
1.4 SCOPE
Software can be used in any Hospital, Clinic, Dispensary or Pathology labs for maintaining
patient details and their test results. The scope includes the following points:-
To make the existing system more efficient.
To provide a user friendly environment where user can be serviced better.
Make functioning of library faster.
Provide a system where the library staff can catch defaulters and not let them escape.
To minimize the loss done to books
Pg_no 2
2. ADVANCED AND EXISTING SYSTEM
Existing system refers to the system that is being followed till now. Presently all the hospital
functionalities are done manually. That is if a patient want to consult a doctor he can visit their
till his chance called. This make the person very difficult. Out Patient and In Patient tickets are
distributed directly. The main disadvantage is time consuming.
To avoid all these limitations and make the system working more accurately it needs to be
computerized. The Advanced Hospital Management System can be entered using a username
and password. It is accessible either by an administrator or receptionist. Only they can add data
into the database. The data can be retrieved easily. The interface is very user-friendly. The data
are well protected for personal use and makes the data processing very fast.
3.1 INTRODUCTION
Basically, the entity-relationship models are real world situations as a collection of entities and
relationships amongst the entities. An ER model gives graphical representation of entities. Their
attributes and relationships between those entities. In this project, I use ER model of hospital
management system to define the relationship between the doctor and patient with hospital.
Pg_no 3
Thus, an ER diagram helps in clear understanding the structure of entities and relationships of
hospital management system..
Regn_no
name
Hospital
name
Patn_no
Work for Admit in
name
Street_no
city
Doctor_ID
patient H.NO
Doctor
address
speciality
Treats age
treatment
date result
time
Fig .1
In above fig.1, the relationship between the doctor and patient and explanation about the whole structure
of hospital management system is shown. In fig 1,the hospital is the main entity of hospital management
consists of regn no and name . The doctor is also part of the management of hospital treats the patient.
The doctor is given with the relation entities of name, specialization and doctor_id. The patient is
given with entities of his/ her name, patient number, age and address (address is further divided into
multi valued entities of HNO, Street no, city). Doctor works for hospital and patient admitted in
hospital.
Pg_no 4
4. IMPLEMENTATION IN REAL LIFE AND RELATED QUERIES
All the above information in ER diagram is the just the pictorial representation of hospital management
system so now I am going to implement the whole hospital management as real life example in which a
database would be designed or created for keeping the daily records of patient .
Let the database of hospital management having following entities in table 1 is made for patients that are
admitted or come for checkup in the hospital. The admitted patient fee is decide by the doctor according
to the treatment given to him/her.
For Table 1
1) Insert into
check(s_no,name,p_no,age,addres,date_adm,admitted_checkup,date_discharg,disease,medicin,temp,fees)
values(‘Ram lal’,’132’,’39’,’ludhiana’,’2-oct’,’checkup’,’2-oct’,’fever’,’102’,’50’);
2) ) Insert into
check(s_no,name,p_no,age,addres,date_adm,admitted_checkup,date_discharg,disease,medicin,temp,fees)
values(‘Ajay’,’133’,’36’,’jalandhar’,’2-oct’,’checkup’,’2-oct’,’viral’,’100’,’50’);
3) Insert into
check(s_no,name,p_no,age,addres,date_adm,admitted_checkup,date_discharg,disease,medicin,temp,fees)
values(‘Sahil’,’132’,’19’,’phagwara’,’3-oct’,’admitted’,’7-oct’,’dengu’,’104’,’200’);
4) Insert into
Pg_no 5
check(s_no,name,p_no,age,addres,date_adm,admitted_checkup,date_discharg,disease,medicin,temp,fees)
values(‘Dipti’,’135’,’26’,’ludhiana’,’3-oct’,’admitted’,’9-oct’,’typoid’,’104’,’200’);
5) Insert into
check(s_no,name,p_no,age,addres,date_adm,admitted_checkup,date_discharg,disease,medicin,temp,fees)
values(‘Sema’,’136’,’22’,’phagwara’,’3-oct’,’checkup’,’3-oct’,’viral’,’100’,’50’);
Result :-
S_no Name P_no age address date Admitted Date_ temp fees
_
adm checkup Dischr Disease
1 Ram lal 132 39 ludhiana 2-oct checkup 2-oct fever 102 50
Pg_no 6
Table 1
Pg_no 6
5. RELATED QUERIES
Q:- find the name and temperature of patients that are not admitted in hospital.
Where admitted_checkup=’checkup’;
Result:-
Name Temp
Ram lal 102
Ajay 100
Sema 100
Table 2
Q:- find the name , address , disease having age greater than 25
Where age>25;
Result :-
Q:- find the the name of persons and address of person having temperature =100 and age less
than 30 and pay 50 rs
Result :-
This includes the sql database of hospital management system in form of form entry which help
the user for extra GUI property with easy handling and filling of information of patients in form
of database. The form is built up ith the help of oracle form builder . the one of example of
hospital management system form is as follow in which we may easily retrieve or fill the data.
As the collection info of patient is much easy through forms cause it give a graphical interface
Img.1
Pg_no 8
Img 2
CONCLUSION
In nutshell it must be said that the project Hospital Management System (HMS) is for
computerizing the working in a hospital. The software 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 prescription details
including various tests, diet advice, and medicines prescribed to patient and doctor. It also
provides injection details and billing facility on the basis of patient’s status whether it is an
indoor or outdoor patient. The system also provides the facility of backup as per the requirement.
Pg_no 9
References
[I] http://www.authorstream.com/Presentation/suman.imed-496125-database-
management-system/
[II] http://www.google.co.in/images?hl=en&biw=1024&bih=499&gbv=2&tbs=isch:1&sa=1
&q=er+diagram+of+relation+of+doctor+and+patient+with+hospital&aq=f&aqi=
&aql=& oq=&gs_rfai=
[III] http://www.itprojectsforyou.com/upload/projectspdf/AHMS.pdf
[IV] http://www.iisjaipur.org/iiim-current-08/MCA_IV_Sem_Pro_Eva/09.Project-
Hospital%20management%20system.pdf
[V] http://www.scribd.com/doc/24070840/Hospital-Management-System-Synopsis-
and-Project-Report
[VI] http://www.slideshare.net/subu/hospital-management-system