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

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

success
boolean
Indicates if the request was successful
data
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.