Search Similar Concepts
Find semantically similar medical concepts using advanced machine learning algorithms with flexible search criteria and body parameters.
Documentation Index
Fetch the complete documentation index at: https://docs.omophub.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint identifies medical concepts that are semantically similar to a provided query or set of criteria. It leverages advanced machine learning models trained on medical terminology to discover related concepts that may not share exact keywords but are clinically relevant and contextually similar.Request Body
Primary search query or concept description to find similar concepts for
Target vocabularies to search within (array of strings)
Examples:
Examples:
["SNOMED", "ICD10CM"], ["RXNORM", "NDC"]Clinical domains to focus the similarity search (array of strings)
Examples:
Examples:
["Condition", "Procedure"], ["Drug", "Device"]Concept classes to include in similarity search (array of strings)
Examples:
Examples:
["Clinical Finding", "Procedure"], ["Ingredient", "Brand Name"]Minimum similarity score threshold (0 to 1.0)
Higher values = More strict similarity matching
Higher values = More strict similarity matching
Number of similar concepts to return per page
Page number (1-based indexing)
Include similarity scores in the response
Include explanations for why concepts are considered similar
Filter to standard concepts only
Options:
Options:
S (standard), C (classification), N (non-standard)Include invalid/deprecated concepts in similarity search
Similarity algorithm to use
Options:
Options:
semantic- Neural embedding-based similarity. Best for finding conceptually similar terms (e.g., “heart attack” → “Myocardial infarction”).lexical- Text-based Jaccard word similarity. Good for fuzzy text matching and typo tolerance.hybrid(default) - Combines word and character similarity for balanced matching.
Response
Indicates if the request was successful
Contains the similar concepts search results
Usage Examples
Basic Similarity Search
Find concepts similar to a medical condition:Cross-Vocabulary Similarity
Find similar concepts across multiple vocabularies:Pharmacological Similarity
Find similar drug concepts with detailed scoring:Semantic Search for Clinical Terms
Use neural embeddings to find conceptually similar terms (even when words don’t match):Algorithm Comparison
| Feature | semantic | lexical | hybrid (default) |
|---|---|---|---|
| Model | Neural embeddings | Jaccard word similarity | Word + character similarity |
| Best for | Conceptual similarity | Fuzzy text matching | Balanced matching |
| ”heart attack” → “MI” | Excellent | Poor (word mismatch) | Poor |
| Typo tolerance | Moderate | Good | Good |
| Total counts | Approximate | Exact | Exact |
| Speed | Fast (15-50ms) | Fast (50-200ms) | Fast (50-200ms) |
| Requirements | Embedding service | None | None |
Semantic Algorithm Pagination: When using
algorithm: "semantic", the total_candidates and pagination counts are approximate values optimized for performance. Use has_next in the response to reliably determine if more results exist.Related Endpoints
- GET Search Similar by ID - Get similar concepts for a specific concept ID
- Semantic Search - Dedicated semantic search endpoint using neural embeddings
- Advanced Search - Advanced search with multiple criteria