Skip to main content
This endpoint provides relationship information for a concept, showing how it connects to other concepts through various relationship types such as “Is a”, “Part of”, “Has ingredient”, and others in medical vocabularies.

Path Parameters

concept_id
integer
required
The unique identifier of the concept to retrieve relationships for
Example: 201826 (Type 2 diabetes mellitus)

Query Parameters

relationship_ids
string
Comma-separated list of relationship IDs to filter by
Example: Is a,Maps to,Has finding site
vocabulary_ids
string
Filter relationships to specific vocabularies
Example: SNOMED,ICD10CM,RxNorm
domain_ids
string
Filter related concepts to specific domains
Example: Condition,Drug,Procedure
standard_only
boolean
default:"false"
Only return relationships to standard concepts
include_invalid
boolean
default:"true"
Include relationships to deprecated/invalid concepts
include_reverse
boolean
default:"false"
Include reverse relationships (where this concept is concept_id_2)
page
integer
default:"1"
Page number for pagination (1-based)
page_size
integer
default:"100"
Number of relationships to return per page (max 1000)
vocab_release
string
Specific vocabulary release version
Example: 2025.1

Response

relationships
array
Array of relationship objects
meta
object
Response metadata including pagination

Usage Examples

All Relationships

Get all relationships for a concept:

Hierarchical Relationships Only

Retrieve only “Is a” relationships:

Cross-Vocabulary Mappings

Find mappings to ICD-10:

Including Reverse Relationships

Include relationships where this concept is the target:

Notes

  • Relationships are bidirectional in the database; use include_reverse=true to see both directions
  • Standard concepts are not filtered by default; use standard_only=true to filter
  • Large concepts may have hundreds of relationships - use pagination appropriately
  • The response includes full concept details for both source and target concepts