Skip to content
Partner Developer Portal

ERD

erDiagram
  dbo_address {
    bigint addressid PK
  }
  dbo_addresstype {
    bigint addresstypeid PK
  }
  dbo_patient {
    bigint patientid PK
  }
  dbo_patientaddress {
    varchar(50) _primary_key PK
    bigint addressid FK
    bigint addresstypeid FK
    bigint patientid FK
    bigint secondaryaddresstypeid FK
  }
  dbo_secondaryaddresstype {
    bigint secondaryaddresstypeid PK
  }
  dbo_address }o..o{ dbo_patientaddress : "addressid"
  dbo_addresstype }o..o{ dbo_patientaddress : "addresstypeid"
  dbo_patient }o..o{ dbo_patientaddress : "patientid"
  dbo_secondaryaddresstype }o..o{ dbo_patientaddress : "secondaryaddresstypeid"