This query provides all clinical/branded drugs that are indicated for a certain indication. Indications have to be provided as SNOMED-CT concept.
SELECT DISTINCT
drug.concept_id as drug_concept_id,
drug.concept_name as drug_concept_name,
drug.concept_code as drug_concept_code
FROM
@vocab.concept drug,
@vocab.concept_ancestor snomed,
@vocab.concept_ancestor ind,
@vocab.concept_relationship r
WHERE
snomed.ancestor_concept_id = $1 AND
snomed.descendant_concept_id = r.concept_id_1 AND
concept_id_2 = ind.ancestor_concept_id AND
ind.descendant_concept_id = drug.concept_id ;
| Parameter | Example | Mandatory | Notes | | --- | --- | --- | --- | | Indication Concept ID | 253954 | Yes | SNOMED-CT indication concept ID |
| 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 | 19073074 | | Drug_Concept_Name | Aminosalicylic Acid 500 MG Oral Tablet | | Drug_Concept_Code | 308122 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.