Remove the partial dependencies and show the 2NF relations. Part II: Appendix B of your textbook describes
Fantastic news! We've Found the answer you've been seeking!
Question:
Remove the partial dependencies and show the 2NF relations.
Transcribed Image Text:
Part II: Appendix B of your textbook describes three case studies for database design. The third case study describes a small hospital in Edinburgh that specializes in the provision of health care for the elderly people. The Wellmeadows Hospital has 17 wards with a total of 240 beds available for the short- and log-term patients, and an outpatient clinic. Each ward is uniquely identified by a number (for example, ward 11) and also a ward name (for example, Orthopedic), location (for example, E Block) and total number of beds. When a patient is first referred to the hospital, he or she is allocated a unique patient number. When a patient is prescribed medication, the details are recorded. This includes the patient's name and number, drug number and name, units per day, method of administration (for example, oral or intravenous (IV)), start and finish date. An example of a Wellmeadows Hospital report used to record the details of medication given to a patient called Robert MacDonald is shown below: Wellmeadows Hospital Patient Medication Form Patient Number: P10034 Full Name: Robert MacDonald Ward Number: Ward 11 Bed Number: 84 Ward Name: Orthopaedic 10223 Drug Number 10223 Morphine 10mg/ml 10334 Tetracyclene Antibiotic 0.5mg/ml Morphine Pain Killer 10mg/ml Name Description Dosage Method of Units per Start Date Finish Date Admin Day Pain Killer Oral 50 IV 10 Oral 10 24/03/13 24/04/14 24/03/13 17/04/13 25/04/14 02/05/15 1NF relation with a combined primary key: (patient No, drugNo, startDate) fullName, ward No, ward Name, bed No, drugName, description, dosage, methodOfAdmin, unitsPerDay, finishDate) a) List the business rules that you will use to put this data into 3NE (10 points) b) Considering the 1NE list the partial dependencies and the transitive dependencies, use the notation explained above. (5 points) c) Remove the partial dependencies and show the 2NF relations. (5 points) Part II: Appendix B of your textbook describes three case studies for database design. The third case study describes a small hospital in Edinburgh that specializes in the provision of health care for the elderly people. The Wellmeadows Hospital has 17 wards with a total of 240 beds available for the short- and log-term patients, and an outpatient clinic. Each ward is uniquely identified by a number (for example, ward 11) and also a ward name (for example, Orthopedic), location (for example, E Block) and total number of beds. When a patient is first referred to the hospital, he or she is allocated a unique patient number. When a patient is prescribed medication, the details are recorded. This includes the patient's name and number, drug number and name, units per day, method of administration (for example, oral or intravenous (IV)), start and finish date. An example of a Wellmeadows Hospital report used to record the details of medication given to a patient called Robert MacDonald is shown below: Wellmeadows Hospital Patient Medication Form Patient Number: P10034 Full Name: Robert MacDonald Ward Number: Ward 11 Bed Number: 84 Ward Name: Orthopaedic 10223 Drug Number 10223 Morphine 10mg/ml 10334 Tetracyclene Antibiotic 0.5mg/ml Morphine Pain Killer 10mg/ml Name Description Dosage Method of Units per Start Date Finish Date Admin Day Pain Killer Oral 50 IV 10 Oral 10 24/03/13 24/04/14 24/03/13 17/04/13 25/04/14 02/05/15 1NF relation with a combined primary key: (patient No, drugNo, startDate) fullName, ward No, ward Name, bed No, drugName, description, dosage, methodOfAdmin, unitsPerDay, finishDate) a) List the business rules that you will use to put this data into 3NE (10 points) b) Considering the 1NE list the partial dependencies and the transitive dependencies, use the notation explained above. (5 points) c) Remove the partial dependencies and show the 2NF relations. (5 points)
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these databases questions
-
MCMPC is facing a unique situation in a market that has evolved significantly. It is in Orange and Sullivan Counties. It faces a significant challenge. How will it compete effectively in a market...
-
Case 2 Consumers Take a Shine to Apple, Inc.* Synopsis: Few companies have been able to master the arts of product innovation, a "cool" brand image, and customer evangelism like Apple. After nearly...
-
Water flowing in a positive x-direction passes through a 90 elbow in a 6-inch-diameter pipeline and heads in a positive y-direction with a flow rate of 3.05 ft3/sec. Compute the magnitude and...
-
A mass-spring system oscillates so that the position of the mass is described by x = 10 cos (1.57t), where x is in cm when t is in seconds. Make a plot that has a dot for the position of the mass at...
-
Determine the x-and y-intercepts on the graph of the equation. Graph the equation. 15x - y = 30
-
Melissa Khan alleges that on May 27, 2004, she entered into a lease and warranty agreement with Riverbank Motors Corporation, Inc. (the Dealership), for a new, 2004 Volkswagen Toureg (the Vehicle),...
-
Julian, Cornelia, and Sheila petitioned for a corporate charter for the purpose of conducting a retail shoe business. They met all of the statutory provisions, with the exception of having their...
-
Design Deterministic Finite Automata with for each of the following independent specifications. Design a DFA that accepts the words that have odd number of's. Design a DFA where the members of has at...
-
Evaluate the definite integral of (x^2 + 2x + 3)^2 dx from x = 1 to x = 2
-
The boiling point of chloroform, , is 6 1 . 7 0 0 deg C at 1 atmosphere. In a laboratory experiment, students synthesized a new compound and found that when 1 1 . 2 9 grams of the compound were...
-
Consider a situation where phenol is partitioned between water and benzene with a partition coefficient of 1.32 in favour of benzene. Suppose we have 2g of phenol dissolved in 250ml of water. How...
-
The cost of maintaining a new car is estimated to be $75 the first year and to increase by $12 each year thereafter. How much money should be set aside for maintenance, if the car is to be kept 6...
-
Carefully explain why the marginal product of labor first rises and then falls as the use of labor increases. In which portion of the marginal product of labor curve will the firm typically produce?
-
Part I PURPOSE The purpose of this assignment is to develop learners' ability to describe customer "touchpoints" and evaluate the customer relationship practices of an organisation and describe how...
-
What are the differences between writing for the Web and writing for the printed page? Please provide several examples.
-
Read the following description and Write a response of it. The discretion of public administrators can be decreased, but not altogether eliminated. Officials will use their discretion in any given...
-
Consider an open economy characterized by the following equations: The parameters \(m_{1}\) and \(x_{1}\) are the propensities to import and export. Assume that the real exchange rate is fixed at a...
-
Consider an open economy in which the real exchange rate is fixed and equal to one. Consumption, investment, government spending, and taxes are given by where \(Y^{*}\) denotes foreign output. a....
-
Label each of the following statements true, false, or uncertain. Explain briefly. a. The interest rate parity condition means that interest rates are equal across countries. b. Other things being...
Study smarter with the SolutionInn App