Skip to content

Commit

Permalink
update for 8d364af
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur committed Oct 31, 2022
1 parent ded6a4e commit a5b9c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion working/packages/vocabulary_pack/CheckManualSynonyms.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BEGIN
LEFT JOIN concept c ON c.concept_code = csm.synonym_concept_code AND c.vocabulary_id = csm.synonym_vocabulary_id
LEFT JOIN concept_stage cs ON cs.concept_code = csm.synonym_concept_code AND cs.vocabulary_id = csm.synonym_vocabulary_id
LEFT JOIN vocabulary v ON v.vocabulary_id = csm.synonym_vocabulary_id
LEFT JOIN concept c_l ON c_l.concept_id = csm.language_concept_id AND c_l.vocabulary_id='SNOMED' AND c_l.domain_id='Observation' AND c_l.concept_class_id='Qualifier Value' AND c_l.concept_name ilike '%language'
LEFT JOIN concept c_l ON c_l.concept_id = csm.language_concept_id AND c_l.vocabulary_id IN ('SNOMED','Language') AND c_l.domain_id='Language' AND c_l.concept_class_id='Qualifier Value' AND c_l.concept_name ilike '%language'
) AS s0
WHERE reason IS NOT NULL LIMIT 1;

Expand Down

0 comments on commit a5b9c40

Please sign in to comment.