DATABASE MANAGEMENT SYSTEMS

SUBMITTED TO
MR. ABDUL GHAFFAR KHAN

Ahmed Mushtaq 081426 Sana Mushtaq 081425 Shehr Bano 081416

SUBMITTED BY

TABLE OF CONTENTS
• Introduction to Shaukat Khanum • Mission Statement • Database • Entity Relationship Diagram(ERD) • Entity • Entities of Shaukat Khanum • Tables in Access Database • Relationships • Query • Forms

• Reports • Switchboard • Conclusion • Bibliography

irrespective of their ability to pay. in Lahore. it is funded predominantly from the donations of friends and well-wishers from around the country and across the world.INTRODUCTION TO SHAUKAT KHANAM HOSPITAL Over the past decade. This pioneering. one of Pakistan's most illustrious cricketers. SKMCH&RC has established itself as a centre of excellence providing comprehensive care free of cost to thousands of indigent cancer patients. dedicated to providing firstclass treatment of cancer to all its patients. . state-of-the-art hospital located in the heart of the Punjab was founded by Imran Khan. Shaukat Khanum. the mother of legendary captain of Pakistan's World Cup– winning cricket team. The result was the Shaukat Khanum Memorial Cancer Hospital and Research Centre. Imran Khan. The inspiration to build the Hospital came from the misfortune and suffering of one individual. the first and only cancer hospital of international standards in Pakistan. As a charitable institute. including those who could not otherwise afford the expensive care. His mother's death and the personal experience of dealing with cancer in a loved one convinced him of the need for a state of the art cancer center with access to everyone.

MISSION STATEMENT To act as a model institution to alleviate the suffering of patients with cancer through the application of modern methods of curative and palliative therapy irrespective of their ability to pay. the education of health care professionals and the public and perform research into the causes and treatment of cancer. .

spreadsheets are notoriously dangerous. and patient’s treatment wards of SHAUKAT KHANAM HOSPITAL. It may be fine if an organization don't have much in the way of relational data across multiple worksheets. Worse yet. These disadvantages loom especially large when an environment is to be chosen primarily as a means of communication. However. Once you start storing many attributes against each piece of data. since the underlying logic of a set of calculations is usually contained in formulas scattered around a sheets. The process of creating groups within groups and then performing calculations on those is way more cumbersome in Excel. behind the numbers representing the results of their calculations. Microsoft's Excel spreadsheet program provides an alternative environment for many of the computations required for Macro-Investment Analysis. A software system that is used to create. DBMS manages data resources like an operating system manages hardware resources CURRENT SYSTEM Currently Shaukat Khanum is using Microsoft Excel to maintain the entire database of the hospital. patients. maintains. group. DATABASE MANAGEMENT SYSTEM (DBMS). and if it don't have many attributes against each piece of data. which we have to sort. access it and maintain the database without the hassle of data redundancy. The main purpose of this report is to accommodate the user in such a way that he/she can easily enter information. filter. DATABASE is an organized collection of logically related data. and create subgroups on which to calculate or extract values we are better off with Access. Macros are mini programs that are written into an Excel spread sheet PROPOSED SYSTEM Excel may be fine if an organization only has a small amount of data.OVERVIEW Our project is concerned with the database of the doctors. Excel on the other hand will be better for analyzing . and perhaps you find yourself repeating information across multiple worksheets. and provides controlled access to user databases. the formulas are usually hidden from sight. then it's time to start using Access. medicine. Viruses can be attached to an Excel file through macros. If we need to work on a huge number of sets of data. Users must create subset directories for data management. Excel data can be lost when the application is broken down into many files. Its ubiquity and ease of use are among its more attractive features.

you can display the information the way you want to see it . The result of a query is a table in which the columns are the attributes the user wants to see and the rows are different instances of those attributes that satisfy the qualification entered by the user. such as students or contacts. This way you can see all the fields in one screen . Access is much better suited for doing this compared to Excel. FORMS A form is a graphical representation of a table. Using a separate table for each topic means that you store that data only once. and reduces data-entry errors.up to a few hundred records of data. which makes your database more efficient. QUERY:A question answered from the database as posed in a particular querying language. A form is very good to use when you have numerous fields in a table. REPORTS: A report is an effective way to present your data in a printed format. Another important reason for using Access over Excel is. Because you have control over the size and appearance of everything on a report. As Shaukat Khanum is a huge organization we proposed them to maintain their data in Access. if you need to generate a lot of queries and reports. Database File:This is your main file that encompasses the entire database and that is saved to your hard-drive or floppy disk TABLES: A table is a collection of data about a specific topic.

Treatment SHAUKAT KHANUM Treatment_ID Treatment_Description ENTITY RELATIONSHIP DIAGRAM (ERD) Patient_Treatment Patient_ID Doctor_ID Ward_ID Treatment_ID Time Date Result Doctor Doctor_ID Doctor_Number Doctor_Fee Patient Patient_ID Patient_Name Patient_NIC Addmission_Date Discharge_Date Ward Ward_ID Ward_Name Ward_Charges Receipt Receipt_ID Patient_ID Doctor_ID Ward_ID Medicine_ID Medicine Medicine_ID Medicine_Name Medicine_Dues .

Medicine Name and Medicine Dues) The associative entity type RECEIPT has the attributes Receipt ID.Medicine ID) . Doctor ID.Entity Relationship Diagram As seen in the Entity Relationship Diagram represent the patient receiving a treatment from a doctor. Doctor ID. Ward ID Treatment ID Time and Results) values are recorded for these attributes for each instance of PATIENT TREATMENT. The patient was entered in the Ward(Ward ID Ward Name Ward Charges) for the Treatment(Treatment ID and Treatment Description) and he was prescribed the Medicine(Medicine ID. Ward ID. Name. Admission date and Discharge date)The associative entity type PATIENT TREATMENT has the attributes Patient ID. NIC #. When a patient arrives at the hospital a new customer database is started by entering the detail of that patient (Patient ID. Patient ID.

• INSTANCE • TYPE A collection of entities which often corresponds to a table. place.ENTITY A person. event or concept which often corresponds to a row in a table of Microsoft access. object. ENTITIES OF SHAUKAT KHANUM MEMORIAL CANCER HOSPITAL DATABASE MAJOR ENTITIES • • • • • Doctors Patients Wards Medicine Treatment ASSOCIATIVE ENTITIES • Patient_ treatment • receipts ATTRIBUTES: Doctors • • • Doctors ID Doctors Number Doctors Fee .

Patients • Patient ID • Patient Name • Patient NIC • Admission Date • Discharge Date Wards • Ward ID • Ward Name • Ward Charges Medicine • Medicine ID • Medicine Name • Medicine dues Treatment • Treatment ID • Treatment Description Patient Treatment • Patient ID • Doctor ID • Ward ID • Treatment ID • Results • Time • Date Receipts • Receipts ID • Patient ID • Doctor ID • Ward ID • Medicine ID .

TABLE Primary key: medicine_id Field Name medicine_id medicine_ name medicine_dues Data Type Text Text Currency Field Size 50 50 .TABLES IN ACCESS DATABASE DOCTOR TABLE Primary key: doctor_id Field Name doctors_id doctors_number doctors_fee Data Type Text Text Currency Field Size 50 50 MEDICINE.

PATIENT TREATMENT TABLE Primary key: patient_id.doctors_id.time.treatment_id.date Field Name patient_id doctors_id ward_id treatment_id time results Data Type Text Text Text Text Date/Time Text Field Size 50 50 50 50 50 .ward_id.

PATIENT TABLE Primary key: patient_id Field Name patient_id patient_name patient_NIC admission_date discharge_date Data Type Text Text Text Date/Time Date/Time Field Size 50 50 50 WARD TABLE Primary key: ward_id Field Name ward_id ward_number ward_charges Data Type Text Text Currency Field Size 50 50 .

RECEIPT TABLE Primary key: Receipt_id.medicine_id Field Name Receipt_id Patient_id doctors_id ward_id medicine_id Data Type Text Text Text Text Text Field Size 50 50 50 50 50 TREATMENT TABLE Primary key: treatment_id Field Name treatment_id treatmen_description Data Type Text Date/Time Field Size 50 .Patient id.ward_id.doctors_id.

RELATIONSHIP#1 RELATIONSHIP TYPE: One to Many STATEMENT: Doctor gives Patient Treatment PATIENT TREATMENT DOCTOR RELATIONSHIP#2 RELATIONSHIP TYPE: One to Many STATEMENT: Doctor Info is included in the receipts. DOCTOR RECEIPTS .RELATIONSHIPS Link between entities which corresponds to primary key to foreign key equivalencies in related tables. • INSTANCE • TYPE category of relationship that is link between entity types.

RELATIONSHIP#3 RELATIONSHIP TYPE: One to Many STATEMENT: Patient gets the Patient Treatment PATIENT PATIENT TREATMENT RELATIONSHIP#4 RELATIONSHIP TYPE: One to Many STATEMENT: Treatment prescribed for the Patient Treatment PATIENT TREATMENT TREATMENT .

RELATIONSHIP#5 RELATIONSHIP TYPE: One to Many STATEMENT: Patient Treatment takes place in the hospital Ward PATIENT TREATMENT WARD RELATIONSHIP#6 RELATIONSHIP TYPE: One to Many STATEMENT: Ward Info is included in the Receipts. RECEIPTS WARD .

RELATIONSHIP#7 RELATIONSHIP TYPE : One to Many STATEMENT: Patient gets Receipts at the time of discharge RECEIPTS Patient RELATIONSHIP#8 RELATIONSHIP TYPE : One to Many STATEMENT: Medicine record are entered in the receipts RECEIPTS MEDICINE .

QUERY PATIENT TREATMENT QUERY .

RECEIPT QUERY .

FORMS DOCTOR FORM: .

MEDICINE FORM .

PATIENT TREATMENT FORM .

PATIENT FORM .

PATIENT RECEIPT FORM .

TREATMENT FORM .

WARD FORM .

REPORTS PATIENT RECEIPTS .

PATIENT TREATMENT .

SWITCHBOARD MAIN SWITCHBOARD .

FORM SWITCHBOARD: .

REPORT SWITCHBOARD .

pk/images? hl=en&q=shaukat+khanum&btnG=Search+Images&gbv=2 .BIBLIOGRAPHY Modern Database Management • Jaffrey A.shaukatkhanum.com.google.org.Hoffer • Mary B Prescott • Fred R Mac Fadden Websites • http://www.pk • http://images.

Sign up to vote on this title
UsefulNot useful