Overview
Tests whether concept A subsumes (is an ancestor of) concept B, or vice versa. Used for hierarchy-aware code validation and clinical decision support. Supports both type-level and instance-level invocation.Request
By OMOP concept ID
Instance-level
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
codeA | code | Yes | First concept code |
codeB | code | Yes | Second concept code |
system | uri | Yes (type-level) | Code system URI |
Response
Possible Outcomes
| Outcome | Meaning |
|---|---|
equivalent | A and B are the same concept |
subsumes | A is an ancestor of B (A subsumes B) |
subsumed-by | A is a descendant of B (B subsumes A) |
not-subsumed | No hierarchical relationship between A and B |
Examples
Errors
| HTTP | Issue Code | Cause |
|---|---|---|
| 400 | invalid | Missing codeA, codeB, or system parameter |
| 403 | forbidden | Restricted vocabulary (CPT4) |
| 404 | not-found | Code not found in the specified code system |