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
tablePatNoPatName,DocID,DocName,MedID,MedName,UWeight,Dosage,TWeightPIsaac,DJack,tableMMMtableLipitorNexiumPlavixtabletabletablePAries,DGogo,tableMMMtableActosLipitorPlavixtabletabletablePZoe,DWang,MLipitor,PAthena,DFisher,MCrestor,PTracy,DJack,tableMMMtableLipitorActosNexiumtabletabletable
Where
PatNo unique patient number;
DocID doctor ;
MedID medicine ;
UWeight weight one unit the medicine;
TWeight total weight the medicine 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 himher 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 NF Show ALL your steps from UNF to by listing all the relations in UNF, and NF Underline your answer's primary key attributes for each relation. Explain your work in each step.
b Draw an entity relationship diagram to represent the normalised relations in based on the given assumptions. Ensure all entities are labelled and relationships are drawn with the correct symbols
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
