Question: Table: Patient Attributes: Patient ID ( Primary Key ) Name Age Gender Contact Info Table: Doctor Attributes: Doctor ID ( Primary Key ) Name Specialty
Table: Patient
Attributes:
Patient ID Primary Key
Name
Age
Gender
Contact Info
Table: Doctor
Attributes:
Doctor ID Primary Key
Name
Specialty
Contact Info
Table: Appointment
Attributes:
Appointment ID Primary Key
Date
Time
Patient ID Foreign Key references PatientPatient ID
Doctor ID Foreign Key references DoctorDoctor ID
Table: Medical Record
Attributes:
Record ID Primary Key
Patient ID Foreign Key references PatientPatient ID
Doctor ID Foreign Key references DoctorDoctor ID Note: OnetoOne Relationship with Doctor table
Diagnosis
Treatment
Table: Billing
Attributes:
Billing ID Primary Key
Patient ID Foreign Key references PatientPatient ID
Appointment ID Foreign Key references AppointmentAppointment ID Note: OnetoOne Relationship with Appointment table
Total Amount
Payment Status
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
