n.    If an attribute is not readily apparent from the user information, then make one up that makes sense for the particular entity.   Therefore, all entities should end up with at least an identifier and another attribute that makes sense. Please use a drawing tool of some type to show the ERD diagram (Word, PowerPoint, and Visio all work well).   I want you to get in the habit of drawing these with a computer instead of by hand, as this will be important as we get to more difficult examples.   You may us

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
100%

San Diego Hospital Example ERD Problem

Entity Relationship Diagramming is a "top down" user process.  Take the following user provided information and draw the appropriate ERD. 

Follow the Simple Procedure for ERD diagramming to design an ERD using the following user provided information.    Remember the ERD will eventually turn into the design for a database from a top down view.   Make sure you resolve any many to many conflicts.   Label an identifier or primary key and all pertinent attributes given.    If an attribute is not readily apparent from the user information, then make one up that makes sense for the particular entity.   Therefore, all entities should end up with at least an identifier and another attribute that makes sense.

Please use a drawing tool of some type to show the ERD diagram (Word, PowerPoint, and Visio all work well).   I want you to get in the habit of drawing these with a computer instead of by hand, as this will be important as we get to more difficult examples.   You may use either the ER-Model or Crow's foot model, though answers will be provided in the Crow's foot by the instructor.   Make sure you show entities, relationships, cardinality, and optionality.

San Diego Hospital Example

San Diego Hospital needs a database to help track information.  Here are some general business rules regarding San Diego Hospital.  Patients are always treated in a single ward, though the hospital is divided into 18 wards.  Usually each patient has a single doctor, though occasionally they will have two or more.  Healthcare assistants (nurses) also attend to patients.  A number of these nurses are assigned to each ward.  A nurse is only assigned to one ward though a doctor can practice in all 18 wards.  The hospital does not track the wards that the doctor visits.  There is a 25-dollar billing charge that must be tracked each time a nurse visits a patient.

Expert Solution
Step 1

ERD using Cows foot notation

No of entities:

1. Patient entity
2. Ward entity
3. Doctor entity
4. Attend entity
5. Nurse entity
Relationship:

There are treated in relationship between Patient entity and ward entity
There are has relationship between Patient entity and Doctor entity
There are handle relationship between Nurse entity and Attend entity
There are visit to relationship between Attend entity and Patient entity
There are assigned to relationship between Ward entity and Nurse entity
Cardinality:

There are M:1 cardinality between Patient entity and ward entity
There are M:1 cardinality between Patient entity and Doctor entity
There are 1:M cardinality between Nurse entity and Attend entity
There are M:1 cardinality between Attend entity and Patient entity
There are 1:M cardinality between Ward entity and Nurse entity.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Database Environment
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