Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started