Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Entity names: singular nouns (or noun phrase) written in CAPITAL LETTERS, using _ instead of space, must start with a two letter sufix with your

image text in transcribed

Entity names: singular nouns (or noun phrase) written in CAPITAL LETTERS, using _ instead of space, must start with a two letter sufix with your first name and last name initials (e.g. if your name is John Doe, an entity name will be PERSON_D) Attribute names: singular nouns (or noun phrase) written in CAPITAL LETTERS, using _ instead of space, must start with a two-letter sufix with your first name and last name initials (e.g. if your name is John Doe, an attribute name will be FIRST_NAME_JD) Additional conventions might be specified by your instructor (e.g. prefix the attribute names with the entity name or abbreviation) Hierarchy Relationships: no name shown Hierarchy: Show the characteristics symbol, total/partial, disjoint/overlapping, type discriminator. Entity Diagram You must include all the following in your entity diagram (see rubric for a complete list of elements graded): All neded entities with names following conventions, All neded attributes with names following conventions. Mark if they are required or unique. Select the correct domain and size. The primary key for each entity. All needed foreign keys. Hierarchy: Show the characteristics symbol, total/partial, disjoint/overlapping, type discriminator. Requirements Specification (this is a fictional scenario) A large business, with several medical practices, contacted your company to create a database design. You received the task to investigate if there is a need for a hierarchy based on the specifications below, and to create the hierarchy analysis if needed. You must not create the entire analysis but only the aspects related to the hierarchy as described in the instructions, class lectures and sample examples. This is the relevant fragment from the requirements specification related to your task. In the practice we have only medical doctors, nurses and staff. For the doctors we keep the name (e.g. John Doe, having at most 20 characters for first or last name, no middle name stored), SSN (with the format '999-99-9999"), phone (with format '999-999-9999"), email (having maximum 25 characters), main specialty (e.g. pediatrics, having at most 20 characters), medical school (having at most 30 characters). A doctor may have appointments and write prescripions. For nurses we keep the name (e.g. John Doe, having at most 20 characters for first or last name, no middle name is stored), SSN (with the format '999- 99-9999'), phone with format 999.999-9999'), and nurse program they completed (having at most 30 characters). A nurse will prepare the patient during the visit and may collect various data. A doctor is not allowed to perform nurse duties. F or staff we keep the (e.g. John Doe, having at most 20 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with format "999-999-9999'), and their role (e.g. receptionist, scheduler, accountant). Based on the practice policies, a nurse or a doctor will not be allowed to perform staff duties. The company wants to keep a log with who was working daily, between what hours and in which role. The company also wants to fast identify the role of a person in the organization (e.g. doctor, nurse, ...), based on the last name or id

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

1. Explain the 2nd world war. 2. Who is the father of history?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago