Can someone help me with thus database mySql question it has to done in MySQL Workbench

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Can someone help me with thus database mySql question it has to done in MySQL Workbench
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 sub-task to investigate if there is a need for a
hierarchy based on the specifications below, and to create the hierarchy design if needed. You must not create the entire design but only the aspects related to the hierarchy
as described in the instructions, cdass 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 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone
(with format '999 9999999), email (having maximum 25 characters), main specialty (e.g. pediatrics, having at most 20 characters), and for some the 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 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with
format '999 9999999'), 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.
For staff we keep the name (e.g. John Doe, having at most 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with
format '999 9999999'), 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.
Transcribed Image Text: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 sub-task to investigate if there is a need for a hierarchy based on the specifications below, and to create the hierarchy design if needed. You must not create the entire design but only the aspects related to the hierarchy as described in the instructions, cdass 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 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with format '999 9999999), email (having maximum 25 characters), main specialty (e.g. pediatrics, having at most 20 characters), and for some the 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 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with format '999 9999999'), 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. For staff we keep the name (e.g. John Doe, having at most 18 characters for first or last name, no middle name is stored), SSN (with the format '999-99-9999'), phone (with format '999 9999999'), 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.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY