Skip to content

Commit

Permalink
filter mapping level query by drug domain solves #62
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Moinat authored May 4, 2021
1 parent 712bc3f commit 3c4fdc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inst/sql/sql_server/checks/mapping_levels_drugs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ select concept_class_id as "Class",
count_big(distinct drug_source_value) as "#Source Codes"
from @cdmDatabaseSchema.drug_exposure
join @vocabDatabaseSchema.concept on drug_concept_id=concept_id
where concept.domain_id = 'Drug'
group by concept_class_id
order by "#Source Codes" DESC

0 comments on commit 3c4fdc6

Please sign in to comment.