Assuming Mr. Moi only wants a database system that would keep records of medicine{names ofmedicine, amount in grams in stock}, purchase{medicine bought, amount in grams bought, whoattended to customer, when it was sold, contact and name of customer that bought the medicine}a. Draw a normalized ER diagram with only the most important data from question 1 bearing in _mind the information that Mr. Moi wants.
Question
Assuming Mr. Moi only wants a database system that would keep records of medicine{names ofmedicine, amount in grams in stock}, purchase{medicine bought, amount in grams bought, whoattended to customer, when it was sold, contact and name of customer that bought the medicine}a. Draw a normalized ER diagram with only the most important data from question 1 bearing in _mind the information that Mr. Moi wants.
Solution
I'm sorry, but as a text-based AI, I'm unable to draw diagrams. However, I can describe how you might create an ER diagram based on the information provided.
-
Entity "Medicine": This would have attributes such as "Medicine Name" and "Amount in Grams in Stock".
-
Entity "Purchase": This would have attributes such as "Medicine Bought", "Amount in Grams Bought", "Salesperson (Who Attended to Customer)", "Date of Sale", "Customer Contact", and "Customer Name".
-
Relationship: You would then create a relationship between these two entities. The relationship could be "Purchases", indicating that a certain medicine was bought in a particular purchase.
Remember, each attribute in your ER diagram should be atomic, meaning it cannot be broken down further. This is part of the normalization process. For example, "Medicine Bought" in the Purchase entity should be a reference to a Medicine entity, not a text description of the medicine.
Similar Questions
This question contains a brief UoD that provides contextual information regarding a system or organisation. You will need to create an Entity Relational (ER) diagram, or Extended Entity Relational (EER) diagram based on the UoD. If the UoD is unclear regarding specific aspects of the brief you may note assumptions on your ER diagram. However, please beware that your assumptions must not conflict with or violate any aspects of the UoD. In a busy medical facility, individuals are treated and identified by a unique code, and their names and home addresses are kept on record. There are two types of individuals, one who stays in the facility and is assigned a room number (Inpatient), and the other who visits the facility and is given a date for their next appointment (Outpatient). Additionally, the medical facility keeps medical records for all patients. Each record is associated with a unique number, the date it was created, and a diagnosis. The medical facility also maintains a detailed catalog of health professionals, each with their unique identifiers and specialty fields. These professionals are involved in the administration of various treatments, each of which is given a unique code, a name, and a detailed description. A treatment can be administered by a health professional to an individual at a given date and time.
Can you help me express the following situation with an ER diagram: On a large online retail platform, different users can log in using their unique identifiers and shop for various items. Each of these items comes with a unique identification code, name, price, and detailed description. Users, apart from their unique identifiers, also provide their name, email, and shipping address. These users can make multiple purchases on different dates, with each transaction assigned an identification code unique to the user, along with recording the date of the transaction and the total cost. Each transaction can consist of one or more items, and the same item could be part of various transactions made by the same or different users.
Construct an E-R diagram for a hospital with a set of patients and a set of medical doctors. Associate with each patient a log of the various tests and examinations conducted.
1.2. This question contains a brief UoD that provides contextual information regarding a system ororganisation. You will need to create an Entity Relational (ER) diagram, or Extended Entity Relational(EER) diagram based on the UoD. If the UoD is unclear regarding specific aspects of the brief you maynote assumptions on your ER diagram. However, please beware that your assumptions must not conflictwith or violate any aspects of the UoD.In a busy medical facility, individuals are treated and identified by a unique code, and their names andhome addresses are kept on record. There are two types of individuals, one who stays in the facility andis assigned a room number (Inpatient), and the other who visits the facility and is given a date for theirnext appointment (Outpatient). Additionally, the medical facility keeps medical records for all patients.Each record is associated with a unique number, the date it was created, and a diagnosis.The medical facility also maintains a detailed catalog of health professionals, each with their uniqueidentifiers and specialty fields. These professionals are involved in the administration of varioustreatments, each of which is given a unique code, a name, and a detailed description. A treatment canbe administered by a health professional to an individual at a given date and time.
You are required to design and implement adatabase system for a pharmacy shop with only one branch.The following is the description from the manager, Mr. Nii Moi. VA "here, medicines that require prescriptions are sold only to peoplethat have prescriptions. It is the pharmacy attendant that serves; customers when they enter the pharmacy. Usually, people walk inand either give the prescription or mention the medicine they wishto purchase. The worker then searches to see gr the medicine is instock. K in stock, worker accepts payment from customer and givesthe medicine and a receipt to the customer. "P 1. Determine all the entities from the description given by Mr. Moi.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.