This query is used to determine the number of distinct drugs (drug_concept_id) from the RxNorm vocabulary. See vocabulary queries for obtaining valid drug_concept_id values.
The following is a sample run of the query.
SELECT
COUNT(DISTINCT drug_concept_id) AS number_drugs
FROM @cdm.drug_exposure
INNER JOIN @cdm.concept
ON concept_id = drug_concept_id
WHERE LOWER(domain_id)='drug'
AND vocabulary_id='RxNorm'
AND standard_concept='S';
None.
| Field | Description | | --- | --- | | number_drugs | The count of distinct drug concepts. |
| Field | Description | | --- | --- | | number_drugs | 10889 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.