You are on page 1of 15

Exercise 14.

14

Patient Medication Form for the


Wellmeadows Hospital
Patient Medication Form for the Wellmeadows Hospital

• (a) Identify the functional dependencies


represented by the data shown in the form
– patientNo  fullName
– wardNo  wardName
– wardName  wardNo
– patientNo  wardName
– patientNo  wardNo
– patientNo bedNo
– drugNo  name, description, dosage, methodOfAdmin
– patientNo, drugNo, startDate  unitsPerDay, finishDate,
fullName, wardName, wardNo, bedNo
Patient Medication Form for the Wellmeadows Hospital

• (b) Describe and illustrate the process of


normalizing the data shown in Figure 14.19
to First (1NF), Second (2NF), and Third (3NF).
1NF(Approach 1)
• Patient (patientNo, drugNo, startDate,
fullName, wardNo, wardName, bedNo, name,
description, dosage, methodOfAdmin,
unitsPerDay, finishDate)
2NF
– PatientNo  fullName, wardNo, wardName, bedNo (Partial
dependency)
– drugNo  name, description, dosage, methodOfAdmin (Partial
dependency)

• Patient (patientNo, drugNo, startDate, unitsPerDay, finish Date)

• Drug (drugNo, name, description, dosage, methodOfAdmin)

• PatientName (patientNo, fullName, wardNo, wardName, bedNo)


3NF
– PatientNo wardNo
– wardNo  wardName
• Transitive dependancy
• Patient (patientNo, drugNo, startDate, unitsPerDay, finish Date)

• Drug (drugNo, name, description, dosage, methodOfAdmin)

• PatientName( patientNo, fullName, wardNo, bedNo)

• Ward (wardNo, wardName)


Exercise 14.16

Agency supply part-time staff to hotels


Agency supply part-time staff to hotels

• An agency called Instant Cover supplies part-


time/temporary staff to hotels within Scotland.
The table shown in Figure 14.20 lists the time
spent by agency staff working at various hotels.
The National Insurance Number (NIN) is unique
for every member of staff.
• (b) Describe and illustrate the process of
normalizing the data shown in Figure 14.19 to
First (1NF), Second (2NF), and Third (3NF).
1NF
2NF

Patrial dependency

Patrial dependency
2NF

______________ ______

______
2NF

______________ ______

______
Transitive dependency
3NF

You might also like