Skip to content
Partner Developer Portal

ERD

erDiagram
  appointment_assignmentlistpatientschedule {
    bigint assignmentlistpatientscheduleid PK
  }
  appointment_assignmentlistpatientscheduleslot {
    varchar(50) _primary_key PK
    bigint slotid FK
  }
  appointment_embargotype {
    bigint embargotypeid PK
  }
  appointment_linkedslot {
    bigint linkedslotid PK
    bigint slotid FK
  }
  appointment_session {
    bigint sessionid PK
  }
  appointment_slot {
    bigint slotid PK
    bigint assignmentlistpatientscheduleid FK
    bigint embargotypeid FK
    bigint patientid FK
    bigint sessionid FK
    bigint slottypeid FK
  }
  appointment_slothistory {
    bigint slothistoryid PK
    bigint slotid FK
  }
  appointment_slotstatus {
    varchar(50) _primary_key PK
    bigint slotid FK
  }
  appointment_slottype {
    bigint slottypeid PK
  }
  dbo_patient {
    bigint patientid PK
  }
  appointment_slot }o..o{ appointment_assignmentlistpatientscheduleslot : "slotid"
  appointment_slot }o..o{ appointment_linkedslot : "slotid"
  appointment_assignmentlistpatientschedule }o..o{ appointment_slot : "assignmentlistpatientscheduleid"
  appointment_embargotype }o..o{ appointment_slot : "embargotypeid"
  dbo_patient }o..o{ appointment_slot : "patientid"
  appointment_session }o..o{ appointment_slot : "sessionid"
  appointment_slottype }o..o{ appointment_slot : "slottypeid"
  appointment_slot }o..o{ appointment_slothistory : "slotid"
  appointment_slot }o..o{ appointment_slotstatus : "slotid"