This query is used to count the drug types (drug_type_concept_id) across all drug era records. The input to the query is a value (or a comma-separated list of values) of a drug_type_concept_id. If the input is ommitted, all possible values are summarized.
select count(1)::integer as cntRecs, r.drug_type_concept_id
from @cdm.drug_exposure r
group by r.drug_type_concept_id;
None
| Field | Description | | --- | --- | | cntrecs | Count of drug types | | drug_type_concept_id | Drug type standardized unique identifier |
| Field | Value | | --- | --- | | cntrecs | 6544017 | | drug_type_concept_id | 38000179 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.