This query provides all clinical or branded drugs that are indicated for a certain indication. Indications have to be given as FDB indicationsor NDF-RT indications. Indications can be identified using the generic query G03](http://vocabqueries.omop.org/general-queries/g3), or, if at least one drug is known for this indication, query [D04.
SELECT drug.concept_id AS drug_concept_id,
drug.concept_name AS drug_concept_name,
drug.concept_code AS drug_concept_code
FROM @vocab.concept AS drug
JOIN @vocab.concept_ancestor AS a
ON a.descendant_concept_id = drug.concept_id
WHERE a.ancestor_concept_id = $1
AND drug.standard_concept = 'S'
AND drug.domain_id = 'Drug'
;
| Parameter | Example | Mandatory | Notes | | --- | --- | --- | --- | | Indication Concept ID | 1710446 | Yes | Cycloserine ingredient concept |
| Field | Description | | --- | --- | | drug_concept_id | Concept ID of the drug | | drug_concept_name | Name of the drug | | drug_concept_code | Concept code of the drug |
| Field | Value | | --- | --- | | Drug_Concept_ID | 1710447 | | Drug_Concept_Name | Cycloserine 250 MG Oral Capsule | | Drug_Concept_Code | 197551 |
https://github.com/OHDSI/CommonDataModel/wiki/drug_exposure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.