0% found this document useful (0 votes)
777 views

Entity Relationship Diagram: Doctor Patient

The entity relationship diagram models the relationships between patients, doctors, appointments, and medical records. It shows that a doctor can treat many patients and reserve appointments for patients. Each patient is assigned one doctor and can have one appointment. Appointments are linked to the assigned doctor and patient, and store medical details like blood pressure, weight, and treatment notes.

Uploaded by

Majd Haddad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
777 views

Entity Relationship Diagram: Doctor Patient

The entity relationship diagram models the relationships between patients, doctors, appointments, and medical records. It shows that a doctor can treat many patients and reserve appointments for patients. Each patient is assigned one doctor and can have one appointment. Appointments are linked to the assigned doctor and patient, and store medical details like blood pressure, weight, and treatment notes.

Uploaded by

Majd Haddad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Entity Relationship Diagram

Appointment seekers
Treating doctors
Patient
doctorid pk
Doctor (1,n)
(1,1) PatientID:INTEGER (PK)
DoctorID:INTEGER (PK)
Name:LONG VARCHAR patientid pk
Headers Name:LONG VARCHAR doctorid pk
(1,n) Phone:NUMERIC
Phone:NUMERIC Reservers
(1,1) Email:LONG VARCHAR
SpecialtyNumber:INTEGER
Address:LONG VARCHAR
headerid fk Specialty:LONG VARCHAR
AddedDate:DATE
HeadID:INTEGER(FK) doctorid fk
Is header by Allergies:LONG VARCHAR
(n,0) DoctorID:INTEGER (FK)
Treated at
(0,1)

Appointment
doctorid fk AppointmentID:INTEGER (PK)
DoctorID:INTEGER (FK) patientid fk
Reserved for PatientID:INTEGER(FK)
(0,n) Appointment seeker for
BloodPressure:VARCHAR (1,n)
Weight:VARCHAR
AppointmentDate:DATE
TreatmentNotes:LONG VARCHAR
Medicines:LONG VARCHAR

You might also like