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 Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter9: Database Design
Section: Chapter Questions
Problem 7P
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 Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning