Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

NAME: NGATUNGA ELIZABETH

REGISTRATION NUMBER: 2009-04-04091


PROJECT TITLE: DESIGN AND IMPLEMENTATION OF SMS BASED
APPOINTMENT SYSTEM

DATABASE DESIGN STEPS


1. Data collection

Visiting the case study


Questionnaires
Discussions with various patients and doctors
Analyzing the findings

2. Find and organize the information required from the collected data and identify
the attributes.
Patient information
-registered
-scheduled appointment
-cancelled
Doctors information
-type of a doctor
-availability
-number of patients to attend
Appointment status
-date of appointment
3. Information is divided into tables.
Doctors
Patients
Departments

4. information is then turned into columns.

DEPARTMENT

DOCTORS

PATIENTS

Department_id

Doctor_id

Patient_regno

Department_name

Doctor_name

Patient_name

No_of_patients

Appointment_status

Availability_status

Appointment_date

Department_id

Doctor_id

5. Specifying primary keys.

In department table-department ID is a primary key


In doctors table-doctor id is a primary key
In patients table-patient registration number is a primary key

6. Set up the table relationships.


ENTITY RELATION DIAGRAM

DEPARTMENT
Department_id
Department_name

DOCTOR
Department_id
Doctor_id
Doctor_name
Appointment_da
te

PATIENT

No_of_patients

Registration_no

Availability_stat
us

Patient_name
Doctor_id
Appointment_date
Appointment_stat
us

7. Refining the design.


8. Applying normalization to see if tables are structured correctly.

You might also like