diff --git a/PostgreSQL/OMOP CDM postgresql constraints.txt b/PostgreSQL/OMOP CDM postgresql constraints.txt index 2fed63c..d313dae 100644 --- a/PostgreSQL/OMOP CDM postgresql constraints.txt +++ b/PostgreSQL/OMOP CDM postgresql constraints.txt @@ -181,7 +181,7 @@ ALTER TABLE visit_occurrence ADD CONSTRAINT fpk_visit_provider FOREIGN KEY (prov ALTER TABLE visit_occurrence ADD CONSTRAINT fpk_visit_care_site FOREIGN KEY (care_site_id) REFERENCES care_site (care_site_id); -ALTER TABLE visit_occurrence ADD CONSTRAINT fpk_ visit_concept_s FOREIGN KEY (visit_source_concept_id) REFERENCES concept (concept_id); +ALTER TABLE visit_occurrence ADD CONSTRAINT fpk_visit_concept_s FOREIGN KEY (visit_source_concept_id) REFERENCES concept (concept_id); ALTER TABLE visit_occurrence ADD CONSTRAINT fpk_visit_admitting_s FOREIGN KEY (admitting_source_concept_id) REFERENCES concept (concept_id);