Design the database, following an ER model.                                                             1. Patients: Patients are tracked by a unique patient ID. Personal information includes first name, last name, phone number, Date of Birth, and sex. The combination of the Patient's first and last name must be unique. Patient's sex is a mandatory field. Patient can be registered at any clinic. 2. Cancer: Type of cancer is tracked by a unique ID. Cancer is categorized as either Oral, Lung, Breast, Liver, Blood, Bone, Pancreatic, Cervical, or Prostrate. Stage of cancer can be Stage I, Stage II, or Stage III Stage of cancer detection. Treatment given: Chemotherapy only, Surgery with chemotherapy, Surgery only or Radiation therapy. Patient_id is an FK which references the ID of the Patient. Clinic_id is an FK which references the ID of the Clinic that patient register. Patient information must be stored at one clinic. Patient Date of detection of Cancer. 3. Clinic: Clinics are tracked by unique clinic ID. Each clinic has a name and location. The combination of the clinic's name and location must be unique. 4. Employees: Employees are tracked by unique Employee ID. Clinic_id is a FK which references the Clinic ID which they work at. Employees must work at a single Clinic. Personal information includes Fname, Lname and sex. The combination of an employee's first and last name must be unique.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Design the database, following an ER model.                                                            

1. Patients:

  1. Patients are tracked by a unique patient ID.
  2. Personal information includes first name, last name, phone number, Date of Birth, and sex.
  3. The combination of the Patient's first and last name must be unique.
  4. Patient's sex is a mandatory field.
  5. Patient can be registered at any clinic.

2. Cancer:

  1. Type of cancer is tracked by a unique ID.
  2. Cancer is categorized as either Oral, Lung, Breast, Liver, Blood, Bone, Pancreatic, Cervical, or Prostrate.
  3. Stage of cancer can be Stage I, Stage II, or Stage III
  4. Stage of cancer detection.
  5. Treatment given: Chemotherapy only, Surgery with chemotherapy, Surgery only or Radiation therapy.
  6. Patient_id is an FK which references the ID of the Patient.
  7. Clinic_id is an FK which references the ID of the Clinic that patient register.
  8. Patient information must be stored at one clinic.
  9. Patient Date of detection of Cancer.

3. Clinic:

  1. Clinics are tracked by unique clinic ID.
  2. Each clinic has a name and location.
  3. The combination of the clinic's name and location must be unique.

4. Employees:

  1. Employees are tracked by unique Employee ID.
  2. Clinic_id is a FK which references the Clinic ID which they work at.
  3. Employees must work at a single Clinic.
  4. Personal information includes Fname, Lname and sex.
  5. The combination of an employee's first and last name must be unique.
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Transaction Processing
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education