The following is a sample run of the query. The input parameters are highlighted in blue. S
SELECT COUNT(DISTINCT d.person_id) AS person_count
FROM @vocab.concept_ancestor ca
JOIN @vocab.drug_exposure d
ON d.drug_concept_id = ca.descendant_concept_id
WHERE ca.ancestor_concept_id = 4324992
GROUP BY ca.ancestor_concept_id;
| Parameter | Example | Mandatory | Notes | | --- | --- | --- | --- | | ancestor_concept_id | 4324992 | Yes | Antithrombins |
| Field | Description | | --- | --- | | person_count | A foreign key that refers to a standard concept identifier in the vocabulary for the drug concept. |
| Field | Description | | --- | --- | | person_count | |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.