I'm a llama!
can someone help me on this ERD? you can just roughly tell me what is the entity and the relationship(which entity link to which entity).
thank you for you help
a) Patients identified by a MRN. Their names, addresses and ages must be recorded.
b) Doctors are identified by an MRN. For each doctor, the name specialty and years of experience must be recorded
c) Each pharmaceutical company is identified by name and has a phone number
d) For each drug, the trade name and formula must be recorded. Each drug is sold by a given pharmaceutical company, and the trade name 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
e) Each pharmacy has a name, address and phone number
f) Every patient has a primary physician. Every doctor has at least one patient
g) Each pharmacy sells several drugs, and has a price for each. A drug could be sold at several pharmacies, and the price could vary from one pharmacy to another
h) Doctors prescribe drugs for patients. A doctor could prescribe one or more drugs for several patients and a patient could obtain prescriptions from several doctors. Each prescription has a date and a quantity associated with it. If a doctor prescribes the same drug for the same patient more than once, several such prescriptions need to be stored
i) Pharmaceutical companies have long-term contracts with pharmacies. A pharmaceutical company can contract with several pharmacies, and a pharmacy can store a start date, an end date, and the text of the contract
j) Pharmacies appoint a supervisor for each contract. There must always be a supervisor for each contract, but the contract supervisor can change over the lifetime of the contract.