Question: Part 3 : Entity Relationship Diagram ( 2 0 points ) Draw an ERD based on the following information. The model represents the operations of
Part : Entity Relationship Diagram points
Draw an ERD based on the following information. The model represents the operations of a pharmaceutical chain where data needs to be kept on every transaction involving pharmaceutical companies, drugs, patients, and doctors.
Patients are identified by IDs, their names, addresses, and birthdates that allows us to know the patients age
Every patient has one primary doctor.
Every doctor has at least one patient.
Doctors are identified by IDs, name, specialty, and years of experience that is calculated using the doctors date of first service.
Doctors prescribe drugs for patients.
A doctor could prescribe one or more drugs for several patients, and a patient could obtain one or more prescriptions from the doctor.
Each prescription has a date and a quantity associated with it You can assume that if a doctor prescribes the same drug for the same patient more than once, only the last such prescription needs to be stored.
For each drug, the trade name and formula must be recordered. Each drug is sold by a given pharmaceutical company, and the tradename identifies a drug uniquely from among the products of that company. If a pharmaceutical company is deleted, you need not keep track of its products any longer.
Each pharmaceutical company is identified by a company code, name and phone numbers it is common for a pharmaceutical company to have multiples phone numbers
Make sure that you show:
All the attributes listed above including multivalued and derived attributes. points
The primary key and foreign keys. points
The relationship strength strong vs weak points
The relationship participation optional vs mandatory points
The entity strength strong vs weak pointsPart : Entity Relationship Diagram points
Draw an ERD based on the following information. The model represents the operations of a pharmaceutical chain where data needs to be kept on every transaction involving pharmaceutical companies, drugs, patients, and doctors.
Patients are identified by IDs, their names, addresses, and birthdates that allows us to know the patients age
Every patient has one primary doctor.
Every doctor has at least one patient.
Doctors are identified by IDs, name, specialty, and years of experience that is calculated using the doctors date of first service.
Doctors prescribe drugs for patients.
A doctor could prescribe one or more drugs for several patients, and a patient could obtain one or more prescriptions from the doctor.
Each prescription has a date and a quantity associated with it You can assume that if a doctor prescribes the same drug for the same patient more than once, only the last such prescription needs to be stored.
For each drug, the trade name and formula must be recordered. Each drug is sold by a given pharmaceutical company, and the tradename identifies a drug uniquely from among the products of that company. If a pharmaceutical company is deleted, you need not keep track of its products any longer.
Each pharmaceutical company is identified by a company code, name and phone numbers it is common for a pharmaceutical company to have multiples phone numbers
Make sure that you show:
All the attributes listed above including multivalued and derived attributes. points
The primary key and foreign keys. points
The relationship strength strong vs weak points
The relationship participation optional vs mandatory points
The entity strength strong vs weak points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
