E/R – ODL – UML
CS145
Monday November 26
Sanaz Motahari-Asl
E/R ODL UML CS145 Monday November 26 Sanaz Motahari-Asl Problem - - PowerPoint PPT Presentation
E/R ODL UML CS145 Monday November 26 Sanaz Motahari-Asl Problem Statement The Prescriptions-R-X chain of pharmacies has offered to give you a free lifetime supply of medicine if you design its database. Given the rising cost of
Sanaz Motahari-Asl
– Patients are identified by an SSN, and their names,
– Doctors are identified by an SSN. For each doctor, the
– Each pharmaceutical company is identified by name
– For each drug, the trade name and formula must be
– Each pharmacy has a name, address, and phone
– Every patient has a primary physician. Every doctor
– Each pharmacy sells several drugs and has a price for
– Doctors prescribe drugs for patients. A doctor could
– Pharmaceutical companies have long-term contracts
– Pharmacies appoint a supervisor for each contract.