An er diagram for the system

Assignment Help Database Management System
Reference no: EM13775996

Assignment 2 specification

The assignment must be submitted electronically via the online assignment submission link on the study desk. Instructions will be provided on the course study desk.

If you are unable to complete the whole assignment, submit what you have done rather than nothing.

You must use the official USQ data modelling and normalization methodology. This methodology is based on Clive Finkelstein's techniques (SR 2.1 and SR 2.2) and all the examples in the lectures, study book and the tutorials use this methodology.

If you do not use the USQ methodology, you will probably be awarded a mark of zero.

You might wish to use a word processor or a drawing tool. In either case, you must adapt the drawing to conform to the USQ methodology.
This assignment covers much of the same ground as the exam and will provide you with a strong indicator of your level of preparedness for the exam. Most of the questions are of examination standard.

SECTION A (Data Modelling) (40 marks)

A local pharmacy store in Wollongong wants to develop an online system to track their product inventory as well as prescription records of their products for regulatory requirements. As part of systems development, a data model is required to determine data entities and associated attributes and business rules. You are required to develop a data model which will allow the information and activities to be recorded.

The most important data entity for the system is the ITEM entity - this entity represents all the products in the pharmacy. Item code, shelf, location and quantity are the attributes for ITEM entity. Every time an item is ordered, some of the order details such as order date, order quantity and special instructions to the patient for each item in every order are stored. Patient information includes an id, patient name, date of birth, contact number and next of kin details. Each patient may have multiple orders of several items. While most orders are from patients this is not always the case. An order can be created without necessarily being associated with a patient, e.g. order from a casual customer buying items.

An item can be of two types: medical or non-medical. Understandably more than 95% of items in the pharmacy are medical items. For non-medical items, promotion period is an additional attribute to store since the pharmacy only sells non-medical items during promotions. Medical items are further classified into three types: doctor-prescription items, over-the-counter prescription items, and no-prescription items. Prescription records are required to be stored in the system. One doctor can prescribe multiple doctor-prescription items and vice versa. We store the prescription date and special instructions by the doctor prescribing a particular item. It is also important to store the doctor's name, specialty and registration number from the Medical Board of Australia.

An over-the-counter prescription item must be given by one of the store's pharmacists after consultation with the customer. Several over-the-counter items can be prescribed by different store pharmacists; therefore we also need to store the prescription date and special instructions by the pharmacist prescribing a particular item. A pharmacist is one of two types of staff at the pharmacy store. The other type is general staff. For all staff, we store their name, date of birth. joined date and qualifications and level. For a pharmacist, we also need to store their registration number from the Pharmacy Board of Australia.

Prepare the following:

a) An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.

b) A list of relations (equivalent to Finkelstein entity list). Produce complete relations for all entities and attributes. Show all primary and foreign keys. Include all attributes that are specifically mentioned and all key attributes. You may need to create primary and foreign keys that are not specifically mentioned. You must use the Finkelstein methodology as per the study book and tutorials.

c) A SQL CREATE TABLE statement for the ITEM relation along with the creation of primary and foreign key constraints as required.

Reference no: EM13775996

Questions Cloud

Brief overview of the literature and research methodology : Slides should include a title page, overview of your proposal, hypotheses, brief overview of the literature, research methodology, and references. This project will vary in length but it is recommended that you have a minimum of TEN slides excludi..
Why are more people studying a second language : Write an essay about why are more people studying a second language?
Does law enforcement need a code of ethics : Most police agencies use the Law Enforcement Code of Ethics or a similar code of ethics when swearing in their sworn police officers. Does law enforcement need a code of ethics? Why or why not
Piaget theory of development and the information process : A parent who helps a child learn how to tie his shoe by showing the child the process and reminding the child of the steps each time the child tries to tie the shoe himself is using: ----Piaget's concept of egocentric thought.
An er diagram for the system : An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.
Write a two pages review paper for the movie chinatown : Write a two pages review paper for the movie Chinatown.
Influence managed care in the future : Identify 2 trends that you feel have a great impact on managed health care today. Discuss the effect these trends have on managed care.
Assignment problem-solving simulation : How did you interpret the problem? What strategy did you use and how did you evaluate your progress? Did you encounter any obstacles while solving the problem? Were you aware of this thought process as you worked through the problem?
Discuss process that selection of tennessee state university : Discuss the process that led to your selection of Tennessee State University (TSU) as your college of choice. Why did you select TSU and not another college?

Reviews

Write a Review

 

Database Management System Questions & Answers

  Define database systems and discuss the purpose for choosing

You have been asked to explore three database alternatives for a merchant who provides shoes to retail stores. The merchant needs the database to keep the financial records, employee records, inventory records and general use records for the busin..

  Create an entity-relationship diagram and design

create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices

  Prove that the decomposition of r into r1 and r2 is lossless

Let R be a relation schema with a set F of FDs. Prove that the decomposition of R into R1 and R2 is lossless-join if and only if F+ contains R1 ∩ R2 → R1 or R1 ∩ R2 → R2.

  Systems analysis and database design

Based on the information in the Bike Mania case study, use a suitable CASE tool or drawing package to draw up a set of diagrams showing the current physical view of the systemusing the unified modeling language (UML 2.0) notation

  Create a database with at least one table with ms acces

Create a database with at least one table with MS Access. Add drop-down lists (combo boxes), validation rules, and input masks as required.

  Develop an activity diagram for the scenario

In each task, please feel free to make any assumption necessary for the readers. The explanation of your assumptions can help the readers to understand what you have considered differently but as important criteria in producing your model.

  What amounts will be require for ordering supplies

Design a spreadsheet that will enable you to request the required funds from your team's finance officer, order supplies from the home office, and ensure dissemination of appropriate quantities to each village.

  Calculate individual consultants pay based on the tasks

Principles of database design, as demonstrated by the database design for project -  Designing and creating the following basic (master) tables for the application and "Employee" table, to hold the details of employees

  Make the flowchart of the above business processes

create the flowchart of the above business processes. The assignment will be completed in 2 parts:1. AS-IS Model2.TO-BE Model once feedback is given from Professor after completing Part 1 (AS-IS Model)

  Why would you choose a database system instead of simply

Why would you choose a database system instead of simply storing data in operating system files? When would it make sense not to use a database system?

  Create a use case based on relating functional requirements

Describe (in a one to two (1-2) page narrative) a use case, complete with typical and alternate courses, that documents the event of a bank customer withdrawing money from an ATM.

  Developing a use case diagram

Developing activity diagrams. (Please note that for the use case, "Buy Items", there are two scenarios, namely, "General public customer buys items" and "Contractor customer buys items". You should develop an activity diagram for each of the..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd