Database Assignment 312
Database Assignment 312
SYSTEMS
SUBMITTED TO
SUBMITTED BY
SN ADMISSION NUMBER
1 2010308084
2 2120308023
3 1910308015
4 1910308035
5 1910308060
6 1910308085
7 1910308111
8 1910308132
9 2010308021
10 2010308043
11 2010308066
12 2010308102
13 2010308124
14 1810308053
INTRODUCTION TO NASIHA HOSPITAL
donations of friends and well-wishers from around the country and across the
world. The inspiration to build the Hospital came from the misfortune and
zamfara’s club team, Muhammad bashir. His son'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, including those who
could not otherwise afford the expensive care. The result was the Nasiha
Memorial Cancer Hospital and Research Centre, in Gusau, the first and only
first class treatment of cancer to all its patients, irrespective of their ability to
pay.
PROBLEM
this report is to accommodate the user in such a way that he/she can easily enter
information, access it and maintain the database without the hassle of data
redundancy.
CURRENT SYSTEM
Currently Nasiha is using Microsoft Excel to maintain the entire database of the
ubiquity and ease of use are among its more attractive features. However,
yet, the formulas are usually hidden from sight, behind the numbers
representing the results of their calculations. These disadvantages loom
Excel data can be lost when the application is broken down into files. Viruses
can be attached to an Excel file through macros. Macros are mini programs that
PROPOSED SYSTEM
Excel may be in fine if an organisation only has a small amount of data, and if it
don’t have many attributes against each piece of data. It may be fine if an
organisation don’t have much in the way of relational data across multiple
worksheets. Once you start storing many attributes against each piece of data,
and perhaps you find yourself repeating information across multiple worksheets,
then it’s time to start using Access. If we need to work on a huge number of sets
of data, which we have to sort, filter, group and create subgroups on which to
Access.
The process of creating groups and then performing calculations on those is way
more cumbersome with Excel. Excel on the other hand will be better for
Access is much better suited for doing this compared to Excel. As Nasiha is a
or contacts. Using a separate table for each topic means that you store the data
only once, which makes your database more efficient, and reduces data-entry
errors.
to use when you have numerous fields in a table. This way you can see all the
querying language. 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
format. Because you have control over the size and appearance of everything on
a report, you can display the information the way you want to see it.
NASIHA HOSPITAL
(ERD)
Entity Relationship Diagram
treatment from a doctor. When a patient arrives at the hospital a new customer
database is started by entering the detail of that patient (Patient ID, Name, NIC,
Admission date and Discharge date). The associativity entity type PATIENT
TREATMENT has the attributes (Patient ID, Doctor ID, Ward ID, Treatment
ID, Time and Results) values are recorded for these attributes for each instance
Ward Name, Ward Charges) for the Treatment(Treatment ID, Medicine Name
and Medicine Dues). The associativity entity type RECEIPT has the attributes
(Receipt ID, Doctor ID, Patient ID, Ward ID, Medicine ID).
ENTITY
INSTANCE
TYPE
CANCER DATABASE
MAJOR ENTITIES
Doctors
Patients
Wards
Medicine
Treatment
ASSOCIATIVE ENTITIES
Patient_treatment
Receipts
ATTRIBUTES:
Doctors
Doctors ID
Doctors number
Doctors fee
Patients
Patients ID
Patients name
Patients 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
TABLES IN DATABASE
DOCTOR TABLE
Primary key: doctors_id
doctors_id Text 50
doctors_name Text 50
doctors_fee Currency
MEDICINE TABLE
medicine_id Text 50
medicine_name Text 50
medicine_dues Currency
patient_id Text 50
doctors_id Text 50
ward_id Text 50
treatment_id Text 50
time Date/Time
Results Text 50
PATIENT TABLE
patient_id Text 50
patient_name Text 50
patient_NIC Text 50
admission_date Date/Time
discharge_date Date/Time
WARD TABLE
ward_id Text 50
ward_number Text 50
ward_charges Currency 50
RECEIPT TABLE
receipt_id Text 50
patient_id Text 50
doctors_id Text 50
ward_id Text 50
medicine_id Text 50
RECEIPT TABLE
receipt_id Text 50
patient_id Text 50
doctors_id Text 50
ward_id Text 50
medicine_id Text 50