Overview
This endpoint returns the hierarchical structure of concept classes, showing how concept classes relate to each other through parent-child relationships. This is essential for understanding the taxonomic organization of medical terminology classification systems.Path Parameters
The concept class ID to get hierarchy for (e.g., “Clinical Finding”, “Procedure”, “Substance”)
Query Parameters
Hierarchy direction: “ancestors” (parents), “descendants” (children), or “both”
Maximum number of hierarchy levels to traverse (1-20)
Comma-separated list of vocabularies to filter hierarchy (e.g., “SNOMED,ICD10CM”)
Include count of concepts in each class
Include cross-references to equivalent classes in other vocabularies
Specific vocabulary release version (e.g., “2024.1”)
Response
Indicates if the request was successful
Information about the requested concept class
Hierarchical structure of concept classes
Equivalent classes in other vocabularies (when include_cross_references=true)
Statistics about the hierarchy structure
Usage Examples
Basic Hierarchy
Get the basic hierarchical structure:Ancestors Only
Get parent classes only:Detailed Hierarchy with Counts
Get comprehensive hierarchy information:Cross-Vocabulary Analysis
Compare class structures across vocabularies:Building Taxonomy Trees
Use for creating interactive taxonomy browsers:Important Notes
- URL encoding - Class IDs with spaces must be URL encoded
- Vocabulary differences - Hierarchical structures vary significantly between vocabularies
- Performance - Deep hierarchies with concept counts may take longer to process
- Cross-references - Mapping confidence indicates quality of cross-vocabulary equivalences
- Navigation - Use
has_children
flag to determine if further expansion is possible
Related Endpoints
- Get Concept Classes - List all concept classes
- Get Class Concepts - Get concepts within a class
- Get Concept Hierarchy - Individual concept hierarchies