This action might not be possible to undo. Are you sure you want to continue?
Term Paper of DBMS
SUBMITTED TO: MR.JANPREET SINGH
SUBMITTED BY:RAKESH SONI N1802 B30
1 DATABASE AND ITS APPLICATIONS 1.1 LIMITATIONS OF EXISTING SYSTEM ( 3) 3 3) ER DIARAM RELATIONSHIPS IN HOSPITAL MANAGEMENT SYSTEM 3.4 SCOPE 2 PAGE_NO (1-2) 1 1-2 2 1) 2) ADVANCED AND EXISTING SYSTEM 2.2 HOSPITAL MANEGEMENT SYSTEM 1.INDEX SR_NO TOPIC INTRODUCTION 1.3 NEED OF DATABASE IN HOSPITAL AND MANAGEMENT SYSTEM 1.2 INTRODUCTION TO E-R MODELS E-R DIAGRAM OF HOSPITAL MANAGEMENT SYSTEM (3-4) 3-4 4 4) IMPLEMENTATION IN REAL LIFE (5-6) 5) RELATED QUERIES (8) 6) FORM BUILDING AS A REAL LIFE EXAMPLE (8-9) .1 3.
NO 1.2 7 4.1 IMG. TOPIC ER-DIAGRAM IMPLEMENTATION IN REAL LIFE FIG NAME FIG.1 PAGE_NO 4 6 3. 8.1 TABLE. IMPLEMENTATION IN REAL LIFE TABLE.4 8 7.2 8 9 . IMPLEMENTATION IN REAL LIFE TABLE.3 7 6.7) CONCLUSION (9) REFERENCES (10) (i). IMPLEMENTATION IN REAL LIFE TABLE. INDEX OF TABLES AND FIGUES SR. 2. FORM BUILDING FORM BUILDING IMG.
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. Database contains the information about one particular enterprise. INTRODUCTION 1. DBMS is software package to design. Database management system is very large and integrated collection of data.1 DATABASE Database is collection of related information stored so that it is available to many users for different purposes.(ii). Some of applications of DBMS are listed below:• • • • Banking Airlines Tele-communication Hospital management system . maintain and store data. 1.
Hospital Management System includes registration of patients. list of medicine . Providing treatment facility. User can search availability of a doctor and the details of a patient using the id. nursing. bills .• • Universities Flight reservation system etc. Our software has the facility to give a unique id for every patient and stores the details of every patient and the staff automatically. list of doctors or consultants. The Software of hospital management system objectives includes:• • Maintaining Patient details. Hospitals provide facilities like:• • • • • Consultation by Doctors on Diseases. storing their details into the system and also computerized billing in the pharmacy. Nurses. Doctor. The project aimed to develop and maintain the day to day state of admission/discharge of patient. medicines etc. .2 HOSPITAL MANAGEMENT SYSTEM A Hospital is a place where Patients come up for general diseases. This management system has been developed to form whole management system including Employees.). Facility for admitting Patients (providing beds. Providing Prescription. Patients and Bills.3 NEED OF DATABASE IN HOSPITAL MANAGEMENT SYSTEM A “Hospital management system” is computerized management system. It includes a search facility to know the current status of each room. Diagnosis for diseases. Precautions and Diet advice. and labs. Immunization for Patients/Children Pg_no 1 1. 1.
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. Consumes large volume of paper work. The main disadvantage is time consuming. That is if a patient want to consult a doctor he can visit their till his chance called. The Advanced Hospital Management System can be entered using a username and password. Out Patient and In Patient tickets are distributed directly. To avoid all these limitations and make the system working more accurately it needs to be computerized. ADVANCED AND EXISTING SYSTEM Existing system refers to the system that is being followed till now. This make the person very difficult. Clinic.• • Providing and maintaining all kinds of tests for a patient. It is accessible either by an administrator or receptionist.1 LIMITATIONS OF EXISTING SYSTEM Lack of security of data. Only they can add data . To minimize the loss done to books 2. Time consuming. 1. Manual work No direct role for the higher officials. Pg_no 2 2. Provide a system where the library staff can catch defaulters and not let them escape. Presently all the hospital functionalities are done manually. To provide a user friendly environment where user can be serviced better. Billing and Report generation. Make functioning of library faster.4 SCOPE Software can be used in any Hospital.
E-R DIAGRAM RELATIONSHIP IN HOSPITAL MANAGEMENT SYSTEM 3. The interface is very user-friendly. an ER diagram helps in clear understanding the structure of entities and relationships of hospital management system. An ER model gives graphical representation of entities. In this project. 3.1 INTRODUCTION Basically. Their attributes and relationships between those entities. the entity-relationship models are real world situations as a collection of entities and relationships amongst the entities.2 ER DIAGRAM OF HOSPITAL MANAGEMENT SYSTEM Pg_n o3 nam e Regn_ no Hospital nam e Doctor _ID W or k for Ad mit in Patn_ no nam e cit y H. Thus. The data are well protected for personal use and makes the data processing very fast.N O Street_ no Doctor patien t Tr ea ts treatme nt speciali ty addre ss ag e . The data can be retrieved easily..into the database. 3. I use ER model of hospital management system to define the relationship between the doctor and patient with hospital.
1) Insert into . The patient is given with entities of his/ her name. The doctor is given with the relation entities of name. For Table 1 Create table check (s_no int. age and address (address is further divided into multi valued entities of HNO.medicin nvarchar(50). 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 .date_dischr nvarchar(50). specialization and doctor_id. Street no.1 In above fig. In fig 1. Pg_no 4 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.temp int.admitted_checkup nvarchar(50).name nvarchar(50) not null.date_adm nvarchar(50).age int.addres nvarchar(50). Doctor works for hospital and patient admitted in hospital. The admitted patient fee is decide by the doctor according to the treatment given to him/her.dat e tim e resu lt Fig . 4. patient number.p_no nvarchar(50) primary key.1.fees int). city).disease nvarchar(50).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 relationship between the doctor and patient and explanation about the whole structure of hospital management system is shown.
’26’.addres.medicin.’19’.’fever’.p_no.date_discharg.age.’ludhiana’.temp.disease.date_discharg.’viral’.fees) values(‘Ram lal’.’phagwara’.age.’9-oct’.’checkup’.medicin.admitted_checkup.fees) values(‘Sema’.disease.’admitted’.’36’.’104’.’checkup’.p_no.’2-oct’.’136’.’3-oct’.age.name.age.disease.admitted_checkup.’50’).’7-oct’.addres.’100’.’132’. 5) Insert into check(s_no.date_adm.’104’.medicin.’jalandhar’.p_no.temp.fees) values(‘Dipti’.’39’.’133’. 4) Insert into check(s_no.fees) values(‘Sahil’.disease.temp.’ludhiana’.fees) values(‘Ajay’.’2-oct’.date_adm.addres.admitted_checkup.date_adm.medicin.’50’).admitted_checkup.’22’.medicin.date_adm. Pg_no 5 Result :S_no Name P_no age address date adm 1 Ram lal 132 39 ludhiana Admitted _ checkup Date_ Dischr 2-oct Disease fever 102 50 temp fees 2-oct checkup 2 Ajay 133 36 jalandhar 2-oct checkup 2-oct viral 100 50 .’132’.addres.p_no.temp.date_discharg.temp.name.name.age.’typoid’.check(s_no.’checkup’.’3-oct’.’135’.’2-oct’.date_discharg.disease. 2) ) Insert into check(s_no.date_discharg.’100’.’50’).’phagwara’.’200’).’3-oct’.addres.’dengu’. 3) Insert into check(s_no.name.admitted_checkup.’102’.’viral’.’200’).p_no.name.’3-oct’.’admitted’.’2-oct’.date_adm.
. Result:Name Ram lal Ajay Sema Table 2 Temp 102 100 100 Pg_no 6 Q:.disease from check Where age>25.select name.temp from check Where admitted_checkup=’checkup’.address. disease having age greater than 25 Ans:.select name.find the name .find the name and temperature of patients that are not admitted in hospital. address . Ans:.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 Pg_no 6 Table 1 5. RELATED QUERIES Q:.
the one of example of hospital management system form is as follow in which we may easily retrieve or fill the data.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 :.admitted_checkup.address from check Where temp=’100’ and age<30 and fees=’50’. 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. Pg_n o7 Result :name sema Admitted_checkup Checkup Table 4 address phagwara 6.select name. As the collection info of patient is much easy through forms cause it give a graphical interface Pg_no 8 . The form is built up ith the help of oracle form builder .Result :Name Ram lal Ajay dipti Address Ludhiana Jalandhar Ludhiana disease fever viral typhoid Table 3 Q:.
Img.1 Img 2 CONCLUSION .
provide prescription details including various tests. 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.google.pdf [V] http://www.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.org/iiim-current-08/MCA_IV_Sem_Pro_Eva/09.com/doc/24070840/Hospital-Management-System-Synopsisand-Project-Report [VI] http://www.pdf [IV] http://www. diet advice. 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 .itprojectsforyou.authorstream.iisjaipur.slideshare.It generates test reports.com/upload/projectspdf/AHMS.In nutshell it must be said that the project Hospital Management System (HMS) is for computerizing the working in a hospital. References Pg_no 9 [I] http://www. The system also provides the facility of backup as per the requirement.net/subu/hospital-management-system .scribd.imed-496125-databasemanagement-system/ [II] http://www.co.com/Presentation/suman.ProjectHospital%20management%20system.
[VII] Book refer “writer name”.Dalwinder Singh salaria “Title”.2.34 Pg_no 10 .1to 2.Database management system “page follow”.