Path Parameters
The unique identifier of the concept to retrieve hierarchy paths for
Example:
Example:
201826
(Type 2 diabetes mellitus)Query Parameters
Filter paths to specific vocabulary
Example:
Example:
SNOMED
Comma-separated list of relationship types to follow for path traversal
Default:
Example:
Default:
Is a
Example:
Is a,Part of
Include all intermediate concepts in each path
Include detailed information for each concept in paths
Maximum number of concepts allowed in any single path
Range:
Range:
2-15
(inclusive). Out-of-range values are rejected with 400 Bad Request and descriptive error message.Only include standard concepts in paths
Include deprecated/invalid concepts in paths
Type of paths to retrieve
Options:
Options:
all
, shortest
, longest
, distinct_roots
Include path analysis and statistics
Response format for path data. Formats are mutually exclusive.
Options:
Detailed/Compact format returns:
Graph format returns:
Options:
detailed
/compact
: Returnshierarchy_paths
array with path objects and metadatagraph
: Returnsnodes
andedges
arrays (does NOT includehierarchy_paths
)
Detailed/Compact format returns:
hierarchy_paths
: Array of path objects with full detailsmeta
: Metadata about the query and results
Graph format returns:
nodes
: Array withid
,label
, optionalmetadata
edges
: Array withsource
,target
, optionallabel
/metadata
meta
: Metadata about the query and results
Response
The source concept for which paths were retrieved
Array of complete hierarchical paths to root concepts
Statistical analysis of all paths (when include_statistics=true)
Summary of all root concepts reached through paths
Array of graph nodes (when format=graph)
Array of graph edges connecting nodes (when format=graph)
Errors
Bad Request - Invalid parameter values
Not Found - Concept or hierarchy not found
Unprocessable Entity - Semantic validation fails
Internal Server Error - Server processing error
Usage Examples
All Classification Paths
Get all possible hierarchical paths for a concept:Shortest Paths Only
Retrieve only the shortest paths to root concepts:Detailed Path Analysis
Get comprehensive path information with concept details:Cross-Vocabulary Paths
Analyze paths across multiple vocabularies:Graph Format for Visualization
Get path data in graph format for network visualization:Related Endpoints
- Get Concept Ancestors - Direct ancestor concepts
- Get Concept Hierarchy - Complete hierarchy view
- Get Concept Relationships - All relationship types
- Search Concepts - Search within hierarchies
Notes
- Path analysis is essential for understanding complex medical taxonomies with multiple inheritance
- Primary paths represent the most commonly used or clinically relevant classification route
- Path scores consider factors like clinical relevance, path length, and concept standardization
- Some concepts may have dozens of classification paths in complex vocabularies like SNOMED CT
- Common ancestors help identify key classification concepts shared across multiple paths
- Cross-vocabulary paths may include mapping relationships in addition to hierarchical ones
- Path complexity assessment helps identify concepts with unusual or complex classification patterns