In OMOP CDM sql server constraints.txt the foreign key fpk_concept_synonym_concept is used multiple times.
`
ALTER TABLE concept_synonym ADD CONSTRAINT fpk_concept_synonym_concept FOREIGN KEY (concept_id) REFERENCES concept (concept_id);
ALTER TABLE concept_synonym ADD CONSTRAINT fpk_concept_synonym_concept FOREIGN KEY (language_concept_id) REFERENCES concept (concept_id);
`
One, or both, of these foreign keys should be renamed. This breaks inserting foreign keys onto the standardized vocabulary.
In
OMOP CDM sql server constraints.txt
the foreign keyfpk_concept_synonym_concept
is used multiple times. ` ALTER TABLE concept_synonym ADD CONSTRAINT fpk_concept_synonym_concept FOREIGN KEY (concept_id) REFERENCES concept (concept_id);ALTER TABLE concept_synonym ADD CONSTRAINT fpk_concept_synonym_concept FOREIGN KEY (language_concept_id) REFERENCES concept (concept_id); ` One, or both, of these foreign keys should be renamed. This breaks inserting foreign keys onto the standardized vocabulary.