Question

1.

Dr. Franklin runs a small medical clinic specializing in family practice. She has many patients. When the patients visit the

Required: Write out a set of relational tables that correspond to the class diagram that you prepared for Problem 1. Identify3. Which of the following is the best way to implement the association between TESTS and PATIENT VISITS tables? Post the prim5. Which of the following is the best option for the PATIENT VISITS table primary key? Patient number Visit date Visit number

image.png

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)
Total 5 tables will be required as we can see we have 5 entities in the diagram.
2)
Best primary key for TESTS table will be Test Number as the Test Number will be unique for all the tests.
3)
Best association between test and patient visit can be implemented by
Post the primary key of PATIENT VISIT in TESTS as a foreign key as each visit can have multiple tests so each test can have patient visit ID which can identify the tests that patient had on that visit
4)
PATIENTS table primary key will be best implemented by Patient Number(assigned by clinic) as it will be the unique number generated for each patient and can be used to get the details of a particular patient.
5)
Patient Visit table should have Visit Number(assigned by clinic) as primary key as for each patient each visit will have a unique number which can be identified by Visit Number.
6)Association between PATIENTS and PATIENT VISITS table can be done by Posting the primary key of PATIENT in PATIENT VISITS as a foreign key because each patient can have multiple visits but vice versa is not possible.

if you like the answer please provide a thumbs up.

Add a comment
Know the answer?
Add Answer to:
1. Dr. Franklin runs a small medical clinic specializing in family practice. She has many patients....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider an association between a Pet Owners class and a Pets class in a Unified Modeling...

    Consider an association between a Pet Owners class and a Pets class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Pet Owners class are 1..1 and the multiplicities next to the Pets class are 1..*. Which of the following is the best way to implement that association in your database? Multiple Choice Post the primary key of Pet Owners as a foreign key in Pets. Post the primary key of Pets as a foreign key...

  • Consider an association indicating professional licensing status between an Accountant class and a States class in...

    Consider an association indicating professional licensing status between an Accountant class and a States class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Accountants class are 0..* and the multiplicities next to the States class are 0..*. Which of the following is the best way to implement that association in your database? Post the primary key of Accountants as a foreign key in States. Post the primary key of States as a foreign key in...

  • Refer to the following integrated diagram, showing part of the purchases and sales processes linked to...

    Refer to the following integrated diagram, showing part of the purchases and sales processes linked to the conversion process, for Questions 11 through 25. 7 Refer to the association marked with the number 1 in the preceding diagram. Which of the following is the best description of the association? Multiple Choice Each supplier participates in a minimum of zero purchases. Each supplier participates in at least one purchase. Each supplier participates in a maximum of one purchase. Supplier in the...

  • 1. Which of the following best describes the meaning of the multiplicities next to the number...

    1. Which of the following best describes the meaning of the multiplicities next to the number 1 in the preceding diagram? Stocks are traded in only one exchange. Stocks are traded in at least one exchange. Stocks are traded in a minimum of zero exchanges. Stocks are traded in a maximum of many exchanges. Both c and d are correct. 2. Which of the following best describes the meaning of the multiplicities next to the number 2 in the preceding...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Suppose you have two tables: Table Product: PROD_ID PROD_NAME PROD_PRICE PROD_PROD_DATE PROD_VENDOR 1101 Table 100 1-Jan-18...

    Suppose you have two tables: Table Product: PROD_ID PROD_NAME PROD_PRICE PROD_PROD_DATE PROD_VENDOR 1101 Table 100 1-Jan-18 2 1102 Chair 80 3-Mar-18 3 1103 Armchair 90 6-May-18 2 1104 Nightstand 110 4-Apr-18 1 1105 Bed 200 3-Mar-18 3 1106 Dresser 150 5-May-18 3 1107 Daybed 190 10-Feb-18 2 Table Vendor: VEND_ID VEND_NAME VEND_ST 1 Green Way Inc GA 2 Forrest LLC NC 3 AmeriMart NC Post a question or provide an answer on the discussion board “Help with labs REQUIRED weekly...

  • for question (c) do like this 3. A table to record the information of Dentists, Patients,...

    for question (c) do like this 3. A table to record the information of Dentists, Patients, and Appointments in a clinic is given below. DentistNo DentistName PatientNo PatientName PatientPhone AppointmentDate Appointment Time AppointmentFee On a single day each patient can have more than one appointment. It is known that DentistNo is unique for each dentist. PatientNo is unique for each patient. PatientNo must not be used as a composite key. A patient is allowed to see any dentist. (a) Use...

  • (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications...

    (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...

  • database and sql problme THE QUESTIONS 3, 4,5 and 6 REFER TO THE RELATIONAL TABLES LISTED...

    database and sql problme THE QUESTIONS 3, 4,5 and 6 REFER TO THE RELATIONAL TABLES LISTED BELOW CREATE TABLE Department ( DECIMAL(5) VARCHAR(30) CHAR(5) DATE NOT NULL NOT NULL NOT NULL * Department number /*Department name * Department manager number */ /Manager start date DNumber DName Manager MSDate CONSTRAINT Department_PK PRIMARY KEY(DNumber) CONSTRAINT Department_CK UNIQUE(DName) CREATE TABLE DeptLocation DECIMAL(5) VARCHAR(50) NOT NULL NOT NULL DNumber * Department number */ * Department location */ Address CONSTRAINT DeptLocation_PK PRIMARY KEY(DNumber, Address) CONSTRAINT...

  • I am using Oracle SQL and am new to it. I have seven tables, one of...

    I am using Oracle SQL and am new to it. I have seven tables, one of them is a subtable of two of the others. I need to do the following queries: 1. List all Patients and what Bed they are assigned to 2. List all patients who had Treatments and what Treatment they received 3. List all patients who had tests and what Test they had 4. List the employees (doctors, nurses, etc.) who assisted each patient. 5. List...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT