You are on page 1of 5

National University of Computer & Emerging Sciences, Islamabad

Computer Science Department

HOME WORK - ASSIGNMENT COVER SHEET

COURSE TITLE DATABASE SYSTEMS COURSE CODE CS204

INSTRUCTOR EJAZ AHMED TYPE  (Please tick)


Indiv. Group
ASSIGNMENT NO 1

ASSIGNMENT Lab Project –IVOR Hospital System

HAND OUT DATE 11-APR-2018 DUE DATE 02-MAY-2018

ESTIMATE TIME 30 Hours

ASSESSMENT CRITERIA (or attached) % Mark

Instructions to Candidates:
Grade Distribution is Attached

Submission: Print & online slate

Tools: Oracle Database & PHP


Group of max 4 students is allowed, individual work is discouraged with 10% deduction

TO BE COMPLETED BY STUDENT GROUP MEMBERS ID

NAME ID Sec#
ID NO
ID Sec#
Time Taken
ID Sec#
DECLARATION: I/We declare that this Coursework is my/our group’s own work

SIGNATURES (All members)

GRADE/ MARK AWARDED COMMENTS

INSTRUCTOR’S SIGNATURE DATE


Lab Project: Database Development

Objective:
Enable the student to design and develop a database. In this project, the student are required to
show their abilities of:
 Analyzing the System Requirement
 Represent the requirement into logical design using Entity Relationship (ER) or/and
Enhanced Entity Relationship (EER) model
 Mapping the designed model into relational schemas
 Transform the relational schemas into normalized tables
 Writing SQL statements to creates the tables including all applied integrity constraints
 Writing SQL statements to populate the initial records of each table
 Front End Development of Forms/ Reports using PHP & Oracle database

Case Brief

THE IVOR PAINE MEMORIAL HOSPITAL

1. Introduction

The Ivor Paine Memorial Hospital wishes to develop a database system. The hospital is organized in
the following way.

There are number of wards each of which contain a number of patients. A patient may be assigned to
only one ward. Each ward has a unique name. Wards cater for certain specialties e.g., orthopedic,
geriatric etc. A ward may cater for only specialty but a specialty may be treated on more than one
ward.

Working on each wards are number of nurses: a day sister, a night sister, a number of staff nurses and
a number of non-registered nurses. A nurse works on one ward only. On a ward patients are grouped
into care-units. Each care-unit has a unique number within the hospital. For each care-unit a group of
nurses is allocated to care solely for the patients in that particular care-unit. A staff nurse is in charge
of each care-unit. A nurse is only ever involved with a single care unit. A patient can only belong to
one care unit.

In the hospital there are number of doctors, a few of which hold the position of consultant. Each
consultant has a single specialty although there may be a number of consultants with an identical
specialty. Each consultant has a team of doctors. A doctor can belong to only one team at a time. A
patient is in the charge of just one doctor but may receive treatment from more than one doctor
depending on the type of complaint(s) the patient may have.

At present the hospital has a manual record system but this needs rationalization. It is hoped that the
new computerized system will remove data redundancy that at the same time service the information
needs of the various user groups in the hospital.
2. The following manual records are kept:

All medical staff uses the following patient record. A patient can have a number of complaints at the
same time and can receive a number of different treatments for the same complaint over a period of
time. However at any given time for a particular complaint a patient can only be treated by one
doctor and can only receive one type of treatment for that complaint.

Form: Input Patient No


IVOR PAINE MEMORIAL HOSPITAL
PATIENT RECORD

Patient No: Doctor No:


Doctor Name:
Consultant:

Patient Name: Date of Birth:

-----------------------------------------------------------------------

Medical History

Complaint Treatment Doctor Date Treatment Date treatment


Code Code Started Ended

For administrative purposes the following record is kept for each ward. Each bed in the hospital has a
unique number. When a patient is discharged his/ her entry is crossed off the record.

Form & Report: Input Ward Name (List Item)


IVOR PAINE MEMORIAL HOSPITAL
WARD RECORD

Ward Name: Specialty:

Day Sister: Night sister:

Staff Nurses: Non-registered Nurses:

-----------------------------------------------------------------------

Patient Information

Patient Patient Care Bed Consultant Date Admitted


No Name Unit No
Each consultant keeps the following record about each of the doctors in his/ her team. Possible
positions are students(s), junior houseman(jh), senior houseman (sh), assistant registrar(ar) and
registrar(r). The record is used to monitor performance. Every six months the consultant assigns a
performance grade to the doctor.

Form: Input Staff No


IVOR PAINE MEMORIAL HOSPITAL
CONSULTANT TEAM RECORD

Staff No: Name:

Position: Date joined team:

-----------------------------------------------------------------------
Progress
Previous Experience

From To Position Establishment Date Performance


Date Date Grade
The following reports/ queries are needed:
1. A list of consultants and the doctors in their team.
2. A list of wards with respective sisters, care units and staff nurses in charge of care units.
3. A list of patients and their complaints, treatments and dates of treatment.
4. A list junior houseman and their patients and the staff nurse for the care-unit of that patient.
5. A list of consultants with a unique speciality.
6. A list of complaints, treatments given for that complaint and experience history of the doctor
giving that particular treatment.
7. A list of patients with more than one complaint and their treatments.
8. A list of patients grouped by treatment within complaint.
9. A performance history for a particular doctor.
10. Full medical details for a particular patient.
11. A list of treatments that have been given for a particular complaint between two given dates
ordered by treatment.
12. A list of the different positions held by staff in the hospital and a count of the number of staff
in each position.
Document inclusive of following items in appropriate format
 ER and/or EER diagram
 Relational schemas
 Description of all tables
 SQL statements used to create tables and initial instances.
 SQL statements as the answer to the needed 12 queries
 Other

Grade distribution:

Items %
ER and/or EER diagram 20
Relational Schemas/ Mapping 10
Tables’ description 10
Forms & Reports (Listed above-MANUAL records) 20
SQL statements: 20
- creating tables
- populating tables
- answering the needed queries
- Data Sets (Schema State)
Presentation (DEMO) 20
TOTAL 100

You might also like