The following is a description of some data requirements for a chain of pharmacies. Draw the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The following is a description of some data requirements for a chain of pharmacies. Draw the appropriate entity-relationship (E-R) diagram. Clearly show all cardinality constraints, cardinality limits, and existence dependencies: (a) A pharmaceutical company manufactures one or more drugs, and each drug is manufactured and marketed by exactly one pharmaceutical company. (b) Drugs are sold in pharmacies. Each pharmacy has a unique identification. Every pharmacy sells one or more drugs, but some pharmacies do not sell every drug. (c) Drug sales must be recorded by prescription, which are kept as a record by the pharmacy. A prescription clearly identifies the drug, physician, and patient, as well as the date it is filled. (d) Doctors prescribe drugs for patients. A doctor can prescribe one or more drugs for a patient and a patient can get one or more prescriptions, but a prescription is written by only one doctor. (e) Pharmaceutical companies may have long-term contracts with pharmacies and a pharmacy can contract with zero, one, or more pharmaceutical companies. Each contract is uniquely identified by a contract number. 1. The following is a description of some data requirements for a chain of pharmacies. Draw the appropriate entity-relationship (E-R) diagram. Clearly show all cardinality constraints, cardinality limits, and existence dependencies: (a) A pharmaceutical company manufactures one or more drugs, and each drug is manufactured and marketed by exactly one pharmaceutical company. (b) Drugs are sold in pharmacies. Each pharmacy has a unique identification. Every pharmacy sells one or more drugs, but some pharmacies do not sell every drug. (c) Drug sales must be recorded by prescription, which are kept as a record by the pharmacy. A prescription clearly identifies the drug, physician, and patient, as well as the date it is filled. (d) Doctors prescribe drugs for patients. A doctor can prescribe one or more drugs for a patient and a patient can get one or more prescriptions, but a prescription is written by only one doctor. (e) Pharmaceutical companies may have long-term contracts with pharmacies and a pharmacy can contract with zero, one, or more pharmaceutical companies. Each contract is uniquely identified by a contract number. 1.
Expert Answer:
Answer rating: 100% (QA)
To create an entityrelationship ER diagram based on the given data requirements we can identify the ... View the full answer
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these programming questions
-
In what ways do organizational structures and systems adapt and evolve to accommodate the dynamic demands of change initiatives ?
-
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 health care, you agree. Here's the...
-
KYC's stock price can go up by 15 percent every year, or down by 10 percent. Both outcomes are equally likely. The risk free rate is 5 percent, and the current stock price of KYC is 100. (a) Price a...
-
Plastic Co Pte Ltd (Plastico) is a Fiji company. The company has issued and paid up capital of $250,000 held in equal parts by two brothers. The companys business involves making plastic products for...
-
The shore of the ocean is very rocky at a particular place. The rocks form a cave sloping upward from an underwater opening, as shown in Figure Q19.13a. (a) Inside the cave is falls with the tides, ,...
-
For many businesses in today's belt-tightening economy, decisions on pay need to be strategic to ensure that employees are treated fairly and to ensure that businesses can remain viable. This...
-
With reference to the preceding exercise, find the probabilities that the random variable will take on a value (a) less than 8.0; (b) between 4.5 and 6.5 . Data From Preceding Exercise Determining a...
-
Sherman Co. began operations on January 1, 2014, and completed several transactions during 2014 and 2015 that involved sales on credit, accounts receivable collections, and bad debts. These...
-
Two + 3 . 0 nC charges are 1 0 m from each other. What is the electric potential energy of this system of particles?
-
Rainmaker Environmental Consultants is just finishing its second year of operations. The companys unadjusted trial balance at October 31, 2023, follows. Rainmaker prepares adjustments each October...
-
Discuss the process of developing a brand and suggest some ways to make a brand famous and sustainable?
-
Jacob is a member of WCC (an LLC taxed as a partnership). Jacob was allocated $150,000 of business income from WCC for the year. Jacob's marginal income tax rate is 37 percent. The business...
-
What will happen to a country that fixes the price of the foreign exchange below equilibrium? What factors will shift the supply and demand for currency?
-
paid $ 8 2 on January 2 2 0 2 4 , for 2 shares of Came Cosmetics common stock The investment represents a 2 0 % interest in the net assets of Came and gave the ability to exercise significant...
-
Discuss the economics of free 2 year education at community college for all Americans. Can you relate this to grade inflation?
-
A good investor is also a good arbitrageur who keeps constant awareness on chances to make easy money. Suppose you observe the following exchange rates: S($/) = $1.3/. The one-year forward rate is F...
-
Which of the following is NOT a principle of probability? Choose the correct answer below. O A. The probability of an event that is certain to occur is 1. OB. The probability of any event is between...
-
On October 1, 2021, Adoll Company acquired 2,600 shares of its $1 par value stock for $38 per share and held these shares in treasury. On March 1, 2023, Adoll resold all the treasury shares for $34...
-
Propose some specific settings where natural language interaction would be particularly useful and explain why.
-
Interview a friend or family member about each of the entities, attributes, relationships, and relevant business rules he or she comes into contact with at work. Use this information to construct and...
-
Describe the various roles typically found in a help desk function.
-
If the sample standard deviations instead of the sample ranges are used to estimate \(\sigma\), the control limits for the resulting \(\bar{x}\) chart are given by \(\overline{\bar{x}} \pm A_{1}...
-
In order to establish control charts for an extraction job, 30 samples of five measurements of the extracted ores are taken, and the results are \(\overline{\bar{x}}=25.96\) tons and \(\bar{s}=1.5\)...
-
Suppose that with the samples of Exercise 15.6, it is desired to establish control also over the variability of the process. Using the method of Exercise 15.5 and the values of \(\overline{\bar{x}}\)...
Study smarter with the SolutionInn App