Get Concept Level
Get the hierarchical level and depth of an OMOP concept within its vocabulary tree for quick classification and hierarchy-aware filtering.
Overview
This endpoint returns basic hierarchical positioning information for a concept, including its depth from root concepts and counts of ancestors and descendants.Path Parameters
The unique OMOP concept ID to get level information for
Query Parameters
Specific vocabulary release version (e.g., β2025.1β)
Response
Indicates whether the request was successful
Response data containing concept level information
Response metadata and API information
Usage Examples
Basic Level Information
Get hierarchy level for a concept:With Specific Vocabulary Version
Get level information for a specific vocabulary release:Important Notes
- Depth interpretation -
depth_from_rootindicates how many βIs aβ relationship steps exist between this concept and the root - Descendant count -
total_descendantsincludes all child concepts at any depth below - Ancestor count -
total_ancestorsincludes all parent concepts up to the root
Related Endpoints
- Get Concept Hierarchy - Full hierarchical tree
- Get Concept Ancestors - Parent concepts
- Get Concept Descendants - Child concepts