ER Models
Relationships
Recall
Relationship
works_at
CLINIC
DOCTOR
Relationship Constraints
Cardinality
Participation
Examples
Relationship Attributes
MedEx Company (so far)
Group Activity: Abstract ER Part 1
Identifying Relationship – Weak Entity
Identifying Relationship – Weak Entity
Legal
Illegal
Multiple Identifying Relationships
Ternary Relationships
Ternary Relationships cont.
A Ternary Relationship
A Ternary Relationship
A ternary relationship as a weak entity
Appointment
Appointment represented as a ternary relationship with many attributes.
Appointment represented as a weak entity identified by both doctor and patient.
Appointment represented as a weak entity identified only by doctor. This interpretation allows for empty appointment “slots”.
Recursive Relationship
Group Activity: Abstract ER Part 2