         ON (f.id = d.id)
 ;
 
+ALTER TABLE dw_contact_diseases
+    ADD CONSTRAINT dw_contact_diseases_pkey PRIMARY KEY (id);
+
 ANALYZE;
 
 TRUNCATE trisano.etl_success;

        ON (f.id = q.id)
;

CREATE TABLE dw_contact_questions AS
SELECT
    q.*

    p.type = 'Clinician'
;

ALTER TABLE dw_morbidity_clinicians
    ADD CONSTRAINT dw_morbidity_clinicians_pkey PRIMARY KEY (id);
CREATE INDEX dw_morbidity_clinicians_event_id_ix
    ON dw_morbidity_clinicians (dw_morbidity_events_id);

CREATE TABLE dw_contact_clinicians AS
SELECT
    p.id AS id,
