Question: Consider the following medication table with sample data of a hospital that provides information on medicines to be taken by patients: MEDICATION table [

Consider the following medication table with sample data of a hospital that provides information on medicines to be taken by patients:
MEDICATION
\table[[PatNo,PatName,DocID,DocName,MedID,MedName,UWeight,Dosage,TWeight],[P0005,Isaac,D002,Jack,\table[[M011],[M002],[M003]],\table[[Lipitor],[Nexium],[Plavix]],\table[[4],[3],[5]],\table[[2],[3],[2]],\table[[8],[9],[9],[10]]],[P0012,Aries,D005,Gogo,\table[[M001],[M011],[M003]],\table[[Actos],[Lipitor],[Plavix]],\table[[7],[4],[5]],\table[[2],[3],[1]],\table[[14],[12],[5]]],[P0013,Zoe,D008,Wang,M011,Lipitor,4,4,16],[P0022,Athena,D015,Fisher,M012,Crestor,10,5,50],[P0025,Tracy,D002,Jack,\table[[M011],[M001],[M002]],\table[[Lipitor],[Actos],[Nexium]],\table[[4],[7],[3]],\table[[1],[2],[3]],\table[[4],[14],[9]]]]
Where
PatNo = unique patient number;
DocID = doctor ID;
MedID = medicine ID;
UWeight = weight of one unit of the medicine;
TWeight = total weight of the medicine tobe taken.
PatName = patient name;
DocName = doctor name;
MedName = medicine name;
Dosage = units of the medicine to be taken;
Assumptions:
Each patient has a name and a unique patient number.
Each doctor has a name and a unique doctor ID.
Each patient is assigned one doctor to look after him/her. All doctors have patients.
Each patient can be assigned to take several medicines but not all patients need to take medicine. There may be some medicines not assigned to be taken by any patient.
Each medicine has a name, a unit weight and a unique medicine ID.
(a) Normalise the MEDICATION relation to the third normal form (3NF). Show ALL your steps from UNF to 3NF by listing all the relations in UNF, 1NF,2NF and 3NF. Underline your answer's primary key attribute(s) for each relation. Explain your work in each step.
(b) Draw an entity relationship diagram to represent the normalised relations in 3NF based on the given assumptions. Ensure all entities are labelled and relationships are drawn with the correct symbols
 Consider the following medication table with sample data of a hospital

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!