Professional Documents
Culture Documents
Assignment No 1 and 403P
Assignment No 1 and 403P
ID: Bc220403624
CS403P - Database Management Systems (Practical)
Solution:
Task#1
Possible Entities:
Patient
Medical Professional (with subtypes: Surgeon, Physician, Cardiologist, Radiologist, Physical
Therapist)
Appointment
Medical Test/Procedure
Payment
Time Slot
Task#1
Attributes:
1. Patient:
Patient ID is the primary key.
Name
Information on How to Contact Us
Medical Background
Insurance Details
2. Professional in Medicine:
Professional ID is the primary key.
Name
Specialization
Timetable of Availability
Information on How to Contact Us
3. Appointment:
Appointment ID is the primary key.
Patient ID (External Key)
Foreign Key Professional ID
Time and date
The Reason for the Visit
Additional Medical Details
Medical examination/procedure:
Primary Key Test/Procedure ID
Type
Time and date
Patient ID (External Key)
Foreign Key Professional ID
4. Payment:
Payment ID is the primary key.
Appointment ID (External Key)
Amount
Date of Payment
Payment Procedure
Time Period:
(Primary Key) Slotted
Time and date
Available (Boolean indicating whether or not the slot is available for scheduling)