curl -X GET "https://api.omophub.com/v1/concepts/201826/level?include_paths=true" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "success": true, "data": { "concept": { "concept_id": 201826, "concept_name": "Type 2 diabetes mellitus", "vocabulary_id": "SNOMED", "domain_id": "Condition", "concept_class_id": "Clinical Finding" }, "hierarchy_info": { "min_levels_from_top": 4, "max_levels_from_top": 6, "average_levels_from_top": 4.8, "min_levels_from_bottom": 2, "max_levels_from_bottom": 5, "is_root_concept": false, "is_leaf_concept": false, "has_children": true, "has_parents": true, "direct_children_count": 15, "direct_parents_count": 3 }, "taxonomy_context": { "vocabulary_max_depth": 12, "relative_depth_percentage": 40.0, "granularity_level": "moderate", "taxonomy_branch": "Endocrine/metabolic disorders" }, "sample_paths": [ { "path_to_root": [ { "concept_id": 138875005, "concept_name": "SNOMED CT Concept", "level": 0, "relationship_type": "Is a" }, { "concept_id": 404684003, "concept_name": "Clinical finding", "level": 1, "relationship_type": "Is a" }, { "concept_id": 64572001, "concept_name": "Disease", "level": 2, "relationship_type": "Is a" }, { "concept_id": 73211009, "concept_name": "Diabetes mellitus", "level": 3, "relationship_type": "Is a" }, { "concept_id": 201826, "concept_name": "Type 2 diabetes mellitus", "level": 4, "relationship_type": null } ], "path_length": 5 } ] }, "meta": { "request_id": "req_concept_level_123", "timestamp": "2024-12-22T10:00:00Z", "vocab_release": "2025.2" } }
Get the hierarchical level and depth information for a concept within its vocabulary taxonomy
Show data
Show concept
Show hierarchy_info
Show taxonomy_context
Show sample_paths
Show path_to_root
Show meta
curl -X GET "https://api.omophub.com/v1/concepts/201826/level" \ -H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://api.omophub.com/v1/concepts/201826/level?relationship_type=Subsumes" \ -H "Authorization: Bearer YOUR_API_KEY"
Was this page helpful?