Skip to content

Commit

Permalink
manual check added
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdavv committed Jun 22, 2022
1 parent a24fcee commit 2ab7785
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions working/manual_checks_after_generic.sql
Original file line number Diff line number Diff line change
Expand Up @@ -386,3 +386,12 @@ where c.vocabulary_id IN (:your_vocabs)
or
(b.concept_name ~* (select covid_inclusion from covid_inclusion) and b.concept_name !~* (select covid_exclusion from covid_exclusion)))
;

--03. Check we don't add duplicative concepts
SELECT concept_name
FROM concept c
WHERE c.vocabulary_id IN (:your_vocabs)
AND c.invalid_reason IS NULL
GROUP BY concept_name
HAVING COUNT (*) >1
;

0 comments on commit 2ab7785

Please sign in to comment.