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

  How might an information system administrator make a case

How might an information system administrator make a case for the implementation of Enterprise

  Design a questionnaire containing

Q.1 Suppose you want to run university cafeteria and want to know the food items desired by the students. Write a step by step procedure to carry out this research. Q.2 Design a questionnaire containing 10-15 questions to collect primary data for t..

  Would source code be handled differently than documentation

How will two developers be precluded from making different changes to the same SCI at the same time?

  What are the cost and schedule variances

what are the cost and schedule variances? What are the three indexes, the ETC, and the EAC? Use the proportionality rule.

  What would be the limitations of this approach

What is the danger of not having a strategic intent? In your answer, assume you are a hospital in a city with a population of 30,000 people, located about 50 miles away from a large city.

  Different types of digital modulation schemes

How can we compare the performance of two or more different types of digital modulation schemes?

  Write a java program that reads in a user-entered string

Write a Java program that reads in a user-entered string and determine whether it is a palindrome or not. Consider using the trim() function in the String class to get rid of all the empty spaces.

  The current network diagram infrastructure

1. Determine which devices you will use for both the current network diagram infrastructure consisting of firewalls, routers, and workstations as well as the device you need to incorporate.

  Bob''s encryption company

Suppose Bob's encryption company produces two machines, A and B, both of this are supposed to be implemen- tations of RSA using the same modulus n = pq for some unknown primes p and q

  Create logic circuit to decode dtmf-like keypad

Create the logic circuit which will decode a DTMF-like keypad. Keypad comprises of 16 keys, numbered 0 to 9, *, #, A, B, C, and D. Underneath keypad are four horizontal lines and four vertical lines.

  A cyber-attack or information security breach

Find a recent article on a cyber-attack or information security breach. Submit a 1-2 page long summary of the article.

  How the project might be reorganized

Assume that a serious, unanticipated setback occurs and instead of taking 10 days, task T5 takes 40 days. Draw up new bar charts showing how the project might be reorganized.

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