+ All Categories
Home > Documents > DBMS mahesh

DBMS mahesh

Date post: 14-Oct-2014
Category:
Upload: mahesh-kumar
View: 270 times
Download: 0 times
Share this document with a friend
18
TOPIC:- HOSPITAL MANAGEMENT SYSTEM Term Paper of DBMS
Transcript
Page 1: DBMS mahesh

TOPIC:- HOSPITAL MANAGEMENT

SYSTEM

Term Paper of DBMS

SUBMITTED TO: - SUBMITTED BY:-

MR.JANPREET SINGH RAKESH SONI

N1802

B30

Page 2: DBMS mahesh

INDEX

SR_NO TOPIC PAGE_NO

1) INTRODUCTION (1-2)

1.1 DATABASE AND ITS APPLICATIONS 1

1.2 HOSPITAL MANEGEMENT SYSTEM 1-2

1.3 NEED OF DATABASE IN HOSPITAL AND MANAGEMENT SYSTEM 2

1.4 SCOPE 2

2) ADVANCED AND EXISTING SYSTEM ( 3)

2.1 LIMITATIONS OF EXISTING SYSTEM 3

3) ER DIARAM RELATIONSHIPS IN HOSPITAL MANAGEMENT SYSTEM (3-4)

3.1 INTRODUCTION TO E-R MODELS 3-4

3.2 E-R DIAGRAM OF HOSPITAL MANAGEMENT SYSTEM 4

4) IMPLEMENTATION IN REAL LIFE (5-6)

5) RELATED QUERIES (8)

6) FORM BUILDING AS A REAL LIFE EXAMPLE (8-9)

7) CONCLUSION (9)

REFERENCES (10)

Page 3: DBMS mahesh

(i).

INDEX OF TABLES AND FIGUES

SR.NO TOPIC FIG NAME PAGE_NO

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

7. FORM BUILDING IMG.1 8

8. FORM BUILDING IMG.2 9

Page 4: DBMS mahesh

(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.

Some of applications of DBMS are listed below:-

Banking

Airlines

Tele-communication

Hospital management system

Universities

Flight reservation system etc.

1.2 HOSPITAL MANAGEMENT SYSTEM

A Hospital is a place where Patients come up for general diseases. Hospitals provide facilities

like:-

Consultation by Doctors on Diseases.

Page 5: DBMS mahesh

Diagnosis for diseases.

Providing treatment facility.

Facility for admitting Patients (providing beds, nursing, medicines etc.).

Immunization for Patients/Children

1.3 NEED OF DATABASE IN HOSPITAL MANAGEMENT SYSTEM

A “Hospital management system” is computerized management system. This management

system has been developed to form whole management system including Employees, Doctor,

Nurses, Patients and Bills. Hospital Management System includes registration of patients, storing

their details into the system and also computerized billing in the pharmacy, and labs. Our

software has the facility to give a unique id for every patient and stores the details of every

patient and the 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.

The project aimed to develop and maintain the day to day state of admission/discharge of

patient, list of doctors or consultants, list of medicine , bills . The Software of hospital

management system objectives includes:-

Maintaining Patient details.

Providing Prescription, Precautions and Diet advice.

Providing and maintaining all kinds of tests for a patient.

Billing and Report generation.

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.

Pg_no 1

Page 6: DBMS mahesh

Provide a system where the library staff can catch defaulters and not let them escape.

To minimize the loss done to books

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.

2.1 LIMITATIONS OF EXISTING SYSTEM

Lack of security of data.

Time consuming.

Consumes large volume of paper work.

Manual work

No direct role for the higher officials.

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. E-R DIAGRAM RELATIONSHIP IN HOSPITAL MANAGEMENT

SYSTEM

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

Pg_no 2

Pg_no 3

Page 7: DBMS mahesh

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.

Thus, an ER diagram helps in clear understanding the structure of entities and relationships of

hospital management system..

3.2 ER DIAGRAM OF HOSPITAL MANAGEMENT SYSTEM

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

Hospital

Regn_noname

Work for

Admit in

Doctorpatient

name

Doctor_ID

speciality

Patn_no

name

address

age

Street_nocit

yH.NO

Treats

treatment

datetime

result

Pg_no 4

Page 8: DBMS mahesh

multi valued entities of HNO, Street no, city). Doctor works for hospital and patient admitted in

hospital.

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

Create table check

(s_no int,name nvarchar(50) not null,p_no nvarchar(50) primary key,age int,addres

nvarchar(50),date_adm nvarchar(50),admitted_checkup nvarchar(50),date_dischr nvarchar(50),disease

nvarchar(50),medicin nvarchar(50),temp int,fees int);

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)

Page 9: DBMS mahesh

values(‘Sahil’,’132’,’19’,’phagwara’,’3-oct’,’admitted’,’7-oct’,’dengu’,’104’,’200’);

4) Insert into

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

2 Ajay 133 36 jalandhar 2-oct checkup 2-oct viral 100 50

3 Sahil 134 19 phagwara 3-oct admitted 7-oct dengu 104 200

4 Dipti 135 26 ludhiana 3-oct admitted 9-oct typoid 104 200

5 Sema 136 22 phgwara 3-oct checkup 3-oct viral 100 50

Table 1

Pg_no 5

Page 10: DBMS mahesh

5. RELATED QUERIES

Q:- find the name and temperature of patients that are not admitted in hospital.

Ans:- select name,temp from check

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

Ans:- select name,address,disease from check

Where age>25;

Result :-

Name Address disease

Ram lal Ludhiana fever

Ajay Jalandhar viral

dipti Ludhiana typhoid

Table 3

Pg_no 6

Pg_no 7

Pg_no 6

Page 11: DBMS mahesh

Q:- find the the name of persons and address of person having temperature =100 and age less

than 30 and pay 50 rs

And its admit or checkup status

Ans :- select name,admitted_checkup,address from check

Where temp=’100’ and age<30 and fees=’50’;

Result :-

name Admitted_checkup address

sema Checkup phagwara

Table 4

6. FORM BUILDING AS A REAL LIFE EXAMPLE

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

Page 12: DBMS mahesh

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

Page 13: DBMS mahesh

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

[VII] Book refer “writer name”- Dalwinder Singh salaria

“Title”- Database management system “page follow”- 2.1to 2.34

Pg_no 10


Recommended