Define the primary key for each of your entities

Assignment Help Basic Computer Science
Reference no: EM131136425

Create a MS Word document that includes your responses to all questions. Also, submit your working MS Access Database for questions 7-8.

1. Identify appropriate attributes for the following entities in the personal healthcare context. Show your attributes for the three entities using the format in Figure 7.4 of UML for DB Design. (Note: You can also create the entities in Visio using the UML Database Notation template and paste into your submission document.)

The purpose of the data model is to capture all of the data needed for a person to measure and track their health over time.

• Patient is an entity that contains attributes that describe the person that is a patient, e.g, contact information. It will include one instance for every person that is using the database to keep track of their health related data.

• HealthMeasure is an entity that provides the list of health measures that are available from the system. It will include one instance for each thing a patient can measure on their own, e.g., weight, heart rate, blood pressure.

• PatientMeasurements is an entity that keeps track of every time a HealthMeasure is recorded for a patient. It will include many instances for each patient, e.g., one instance for each weight measurements recorded during a year, i.e., 52 instances if a person weighed weekly for one year. It will also include many instances for each instance of the HealthMeasure table, e.g., one instance for every time blood pressure was measured for a patient.

2. Define the primary key for each of your entities/classes. To assign the primary key consider the rules for primary keys from the virtual lecture for assignment 1, most importantly that the attribute(s) must have a unique value for every instance of the entity/class. Indicate the primary keys using a PK notation. Define any foreign keys in your entities.

3. Using UML DataBase Notation in Visio, create a diagram showing any relationships among your entities. (Use Figure 7.5 from UML for DB Design, appendix #1 and appendix #4 as examples of UML diagram notation). Paste this diagram into your submission document.

4. Expand the UML diagram from question #3 by creating entities with attributes and keys (in the same format as question 1) that will allow a patient to keep track of any medications they take. Include at least two additional entities that you define/create to provide this capability. Note any assumptions. Extend the diagram you created in question 3. Paste this new diagram into your submission document.

5. Convert the UML diagram (created in question #4) to a relational model. Note any assumptions. (Use appendix #2, #3 and #4 (below) as the basis of the expectation of the correct answer.)

Relational model format is:

RelationName (Key Attribute underlined, Foreign Key italics, Attribute1, Attribute2, etc.)

6. Compare your relations to the tables presented in Appendix #6. Briefly (a paragraph or so) describe any differences you observe in your submission document.

7. Create the tables from appendix #5 in Access. Insert the instances given in appendix #6 into these tables. Submit your Access Database to show completion of this question and question 8.

8. Using the tables from question #7 write simple queries to show the following:

a. List the description, units, normal low range value, normal high range value, and health measure ID for all measures in the health measures table.
b. What is the average heart rate from the Patient_Measurements table?
c. How many different Patient Measurements (count) were made for patient id 1001?
d. Display the patient last name, first name, health measure description, date of the measurement, patient measurement value, and health measure units for any patients where their measure is greater than the high end of the normal range of the health measure. List these items for the patients alphabetically last name, then first name, then by measurement date.
e. Create a SQL statement named Measure_Units_View that consists of Health_Measure_ID, health measure description, and units from the Health_Measures_tbl. Use the Measure_Units_View query to list the measures that have units = "mmhg".

Attachment:- Data_Base_Access.pdf

Reference no: EM131136425

Questions Cloud

Is this type of activity important in us political : Is this type of activity important in U.S. political and civic life? Explain your response and give at least two additional examples of how a person can participate in a democratic society
Complete the financial plan document : Which aspect of the industry (customers, competitors, suppliers) may create the greatest risk for your business? Explain.
Why the equilibrium levels of output are unaffected : Explain first why the equilibrium levels of output and the interest rate are unaffected. Then show whether the current account improves or worsens as a result of the increased government purchases of goods and services.
How the situation relates to at least one amendment : Discuss whether you think any limitations to their activities would be reasonable and why. Include an explanation of how the situation relates to at least one amendment in the Bill of Rights
Define the primary key for each of your entities : Define the primary key for each of your entities/classes. To assign the primary key consider the rules for primary keys from the virtual lecture for assignment 1.
What can be done to trigger this depreciation : Your country is in recession. You feel that a policy of exchange rate depreciation will stimulate aggregate demand and bring the country out of the recession.
Income statement for summers cruise company : Prepare the 2010 income statement for Summers Cruise Company. E1-16 Presented below is information related to the sole proprietorship of Kevin Johnson, attorney.
Emphasize the seriousness of the controversy : Follow the directions below for the completion of the conclusion and abstract assignment for Unit VIII. If you have questions, please email your professor for assistance.
Presented below is financial information related to the 2010 : Presented below is financial information related to the 2010 operations of Summers Cruise Company.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd