BIS 245
WEEK 5 BUSINESS CASE
STUDY
The Attributesand Primary Keys are as follows:
Primary Keys:
PatientID
DoctorID
Medical ProcedureID
Appointment ID
Attributes:
Patient
Entity:
Name
Contact
DOD Birth
Sex
InsuranceI
D Phone
Doctor Entity:
Doctor ID
Doctor Name
Specialty
AppointmentEntity:
Appointment ID
Doctor ID
Patient ID
DateTime
Procedure Entity:
MedicalProcedureID
OrderNumber
, Answerdone.com
Patient ID
DoctorID
TreatmentID
The Entity Relationships:
A patient can have many doctors (one-to-many
relationship) A doctor may order several tests (one-to-
many relationship)
One doctor can perform a single procedure (one-to-one relationship)
The foreign keys needed in the Database design are: