Skip to main content

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

string
required
Primary search query or concept description to find similar concepts for
array
Target vocabularies to search within (array of strings)
Examples: ["SNOMED", "ICD10CM"], ["RXNORM", "NDC"]
array
Clinical domains to focus the similarity search (array of strings)
Examples: ["Condition", "Procedure"], ["Drug", "Device"]
array
Concept classes to include in similarity search (array of strings)
Examples: ["Clinical Finding", "Procedure"], ["Ingredient", "Brand Name"]
number
default:"0.7"
Minimum similarity score threshold (0 to 1.0)
Higher values = More strict similarity matching
integer
default:"20"
Number of similar concepts to return per page
integer
default:"1"
Page number (1-based indexing)
boolean
default:"true"
Include similarity scores in the response
boolean
default:"false"
Include explanations for why concepts are considered similar
string
Filter to standard concepts only
Options: S (standard), C (classification), N (non-standard)
boolean
default:"true"
Include invalid/deprecated concepts in similarity search
string
default:"hybrid"
Similarity algorithm to use
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

boolean
Indicates if the request was successful
object
Contains the similar concepts search results

Usage Examples

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):
This will find “Myocardial infarction” and related concepts even though the words “heart” and “attack” don’t appear in the medical term.

Algorithm Comparison

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.