ERD
erDiagram
appointment_patientschedule {
bigint patientscheduleid PK
bigint scheduleid FK
}
appointment_schedule {
bigint scheduleid PK
bigint organisationid FK
}
dbo_organisation {
bigint organisationid PK
}
appointment_schedule }o..o{ appointment_patientschedule : "scheduleid"
dbo_organisation }o..o{ appointment_schedule : "organisationid"