find_similar_concepts
Find medical concepts similar to a reference concept, name, or query using semantic, lexical, or hybrid algorithms. Explore related concepts and build phenotype sets.
Instructions
Find medical concepts similar to a reference concept, name, or natural language query. Supports three algorithms: 'semantic' (neural embeddings — best for meaning), 'lexical' (text matching — best for typos), 'hybrid' (combined — default). Provide exactly ONE of: concept_id, concept_name, or query. Use this to explore related concepts, find alternative codes, or build phenotype concept sets. Tip: For drug vocabularies like RxNorm, use drug class names ('ACE inhibitors', 'beta blockers', 'antihypertensives') rather than symptom descriptions ('medications for high blood pressure') — the embedding model aligns better with clinical terminology than lay language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| concept_id | No | Find concepts similar to this OMOP concept ID | |
| concept_name | No | Find concepts similar to this concept name | |
| query | No | Find concepts matching this natural language description | |
| algorithm | No | Similarity algorithm: 'semantic' (meaning), 'lexical' (text), 'hybrid' (both). Default 'hybrid'. | hybrid |
| similarity_threshold | No | Minimum similarity score (0.0-1.0). Default 0.7. | |
| page_size | No | Number of results (1-100, default 20) | |
| vocabulary_ids | No | Comma-separated vocabulary IDs to filter results. Examples: 'SNOMED', 'ICD10CM'. | |
| domain_ids | No | Comma-separated domain IDs to filter results. Examples: 'Condition', 'Drug'. |