Design an entity-relationship diagram for a database

Assignment Help Database Management System
Reference no: EM131264690

Case Study Scenario

The purpose of the Veterinary Hospital Registration system is to handle and record all the information relating to the clients, veterinarians, pets, treatments administered, insurance coverage and appointments (open, closed, denied, cancelled and missed). The clients are owners of domestic animals such as cats, dogs, caged birds and so on. Some of the veterinarians at the hospital are specialists in particular types of animals but the majority can treat most types of animal.

All first-time clients of the hospital must register using the hospital's online registration system over the internet. For registration, the client must provide the following information: name and address, national ID number, date of birth and an email address. Once registered, a client will be given a username and password to be used to log into the system to make appointments in the future. The username and password will always be emailed to the client at the email address provided. The client will also be assigned a unique account number which will identify the client for the life of the system.

A record is kept of the pets belonging to the clients who have registered with the hospital. Details of all pets are recorded online during the client's registration. These details include the pet's name, animal type (for example: dog, cat), pet's date of birth, date registered with the hospital and the number of the insurance plan covering the pet. The pet will also be assigned a unique pet ID number which will identify the animal for the life of the system. All clients must register their pets in advance of them ever needing to see a vet at the hospital for treatment.

The hospital, in association with an insurance company, offers insurance coverage for pets belonging to clients. All clients must have an insurance plan for their pets to get treatment at the hospital. During the registration process, the system will access the insurance company's Computer System and allow the client to select a plan from a list of available insurance coverage plans. The selected plan can be for one or more pets and the plan can cover all or part of the cost of treatment. Details are kept of the plans taken up by clients including the insurance plan number, the date it was taken out, whether the plan covers one or more pet, the level of coverage and the treatments which the plan will cover.

Registered clients must make appointments for their pets in advance over the internet or by calling in to the hospital in an emergency. If a client is desirous of bringing two or more animals to the surgery each is treated as a separate appointment. For appointments to be made, clients will be prompted to provide their username and password to get access to the appointments module. Once the username and password is authenticated, clients will be prompted to provide their national ID number, the pet's ID number and the date requested for the appointment. The system will access the Vets database and the Appointments database and allow the client to choose from a vet from list of available vets and a time slot from the list of available time slots for each vet on the particular day requested. Once a vet and a time slot is selected, a record is created in the Appointments database. The record will contain client ID, pet ID, vet ID, the date, time slot, the status of the appointment (open) and the plan number of the insurance plan covering the pet. The client will then be allowed to print an appointment ticket with an appointment number and the details of the confirmed appointment. This printed appointment ticket is to be presented when clients present themselves at the hospital with their pets.

On the day of the appointment, the client must present the attendant at the hospital with the printed appointment ticket which the attendant will use to query the Appointments database to verify that the appointment is legitimate. The client will then provide ID documents to support all the information given over the Internet (name, address, national ID number). The system will automatically interface with the National Registration System to authenticate the client's national identification number. The system will also automatically interface with the insurance company's Computer System to query whether the insurance premiums for the insurance plan covering the particular pet are up-to-date. If the client's identification is not authenticated or the insurance premiums are not up-to-date, the appointment is denied. The appointment ticket is returned to the client stamped as "denied". The status field on the appointment record is updated to "denied".

After attending each appointment, the appointment ticket is stamped as "closed" by the attendant and returned to the client. The hospital attendant will also update the database with information concerning the treatment administered to the particular pet. A client sometimes makes an appointment and then either cancels it or does not turn up for the appointment. The hospital attendant will update the status field of the particular appointment record as "cancelled', or "missed" accordingly.

The management of the hospital must be able to identify clients who regularly make appointments that they do not keep and to provide reports and make ad hoc queries from all the data stored in the database of the hospital registration system.

c) Project Part C - E-R Diagram and Database Design

Using the scenario above and the context and high level diagram shown below complete the f following question. N.B. Students must use the example of the context diagram and high level diagram provided and must also create database tables together with the Entity Relationship File in word document. You must also provide the cardinalities for the Entity relationship document.

1) Assume you are required to design an Entity-Relationship diagram for a database in which all information pertaining to the system is to be stored. Given the information in the case, state all the E-R entities and use them to sketch an E-R Diagram showing both maximum and minimum cardinalities for each relationship in the diagram. State ALL assumptions made to arrive at the cardinalities.

2) For all E-R entities, provide the primary key attribute and four (4) or more other attributes (make up these where the information from the case proves insufficient).

3) For all relationships in your E-R diagram above, show the database tables for a relational database design. Provide at least two attribute along with the primary key attribute for any new table derived.

Reference no: EM131264690

Questions Cloud

Advantages and disadvantages of team written documents : What are the advantages and disadvantages of team-written documents? - List five factors to consider when selecting a communication channel.
Why not engage our investors in the method : Since the international world is becoming obsessed through "eco-friendliness", IBM is trying to be an answerable industry leader in that region as well. Why not engage our investors in the method?
Describe frances and al leadership styles : Based on the information provided, describe Frances's and Al's leadership styles. What are the important factors that the leaders of Willard and Eastern must consider in order to be effective
What part does context play in your interpretations : What attitudes do the following body movements suggest to you? Do these movements always mean the same thing? What part does context play in your interpretations?
Design an entity-relationship diagram for a database : Identify clients who regularly make appointments that they do not keep and to provide reports and make ad hoc queries from all the data stored in the database of the hospital registration system - design an Entity-Relationship diagram for a databas..
Calculate the vessel thickness required for each material : Calculate the vessel thickness required for each material. Assume a vessel inner radius of r1 = 2 m, a pressure of p = 0.7 MPa, and a safety factor on the material strength of X = 3. Comment on the values obtained. Why are some much larger than ot..
What nonverbal behavior will make you more impressive : Nonverbal Communication: How to Be More Influential- what nonverbal behavior will make you more impressive and influential?
What factors have contributed to the importance of markets : What factors have contributed to the importance of international markets on Operations Management? In what areas have these factors impacted Operations Management?
How does the format and organization of each report enhance : What goals, challenges, and plans do top managers emphasize in their discussion of results? How does the format and organization of each report enhance or detract from the information being presented?

Reviews

len1264690

11/3/2016 7:35:54 AM

Project Description: Please see sample Questions on ERD and Solutions....... This is exactly what I want to see in the solution... Person must be knowledgeable in database design and drawing entity relationship designs. The persons must also be able to demonstrate proficiency in reading case scenario and drawing the diagram. Will have them redo diagram if not completed to Tutor Specification. Notes is included on what is expected from the tutor. 1. Must be knowledgeable of cardinalities. 2. Must be knowledable of drawing ERD diagram 3. Must be knowledgeable of Database table as shown in the notes provided. 4. Must be able to demonstrate what was in the table.

len1264690

11/3/2016 7:35:15 AM

Total: 10 Entity Relationship Diagram 10 All relationships appropriately named and proper symbols used. 5 50% or more of all relationships appropriately named and proper symbols used. 0 Less than 50% Relationships inappropriately named and proper symbols not used. Deduct 2 marks for each incorrect relationship given over the maximum number of relationships.

len1264690

11/3/2016 7:34:51 AM

Total: 20 E-R Entities 20 All E-R Entities from the case study correct with proper names. 15 75% or more of all E-R Entities from the case study correct with proper names. 10 50% or more of all E-R Entities from the case study correct with proper names. 5 25% or more of all E-R Entities from the case study correct with proper names. 0 Less than 25 % or more of all E-R Entities from the case study correct with proper names. Deduct 2 marks for each incorrect ER entity given over the maximum number of entities. 20 Primary keys identified and all attributes in table with appropriate names. 15 Primary keys identified and 75% or more of all attributes in tables with appropriate names. 10 Primary keys identified and 50% or more of all attributes in tables with appropriate names. 5 Primary keys identified and 25% or more of all attributes in tables with appropriate names. 0 Primary keys not identified and less than 25% attributes in tables with appropriate names. Deduct 2 marks for each incorrect attribute given over the maximum number of attributes.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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