Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sketch the ERD for the following scenario. Please use similar format to draw.io if possible. Use proper ERD notations for attributes, entities, and relationships. Show

Sketch the ERD for the following scenario. Please use similar format to draw.io if possible.
Use proper ERD notations for attributes, entities, and relationships. Show all cardinalities, primary keys and foreign keys. Resolve all multi-valued attributes (if applicable) & M:N relationships properly.
1)
A doctor's office has many Patients. Each Patient has a unique Patient Id ,a Name, and a Phone. A Patient may refer other Patients to the doctor. A Patient may refer several other patients to the doctor and some patients have not referred anyone. Not all patients have been referred by other patients and if they were referred they were referred by only one other patient. A doctor writes Prescriptions for Patients. A Prescription has a unique Prescription ID, Date Written, and Signature. The Prescription is written to a specific Patient for a specific Drug. Each Drug has a unique Drug code as well as a Drug Name, Security Level, and Side Effect. A drug may have more than one Side Effect. Some Patients will not have Prescriptions and some Patients may have more than one Prescription. Not all Drugs have Prescriptions written and some Drugs may have more than one Prescription. We must also keep track of the Amount of the Drug the Prescription is written for.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

4. Who would lead the group?

Answered: 1 week ago