For AI agents: the documentation index is at /docs/termbox/llms.txt. A Markdown version of this page is available at /docs/termbox/standard-operations/codesystem-subsumes.md or by requesting it with the Accept: text/markdown header.
Termbox Docs

CodeSystem/$subsumes

Tests the subsumption relationship between two codes in a CodeSystem.

FHIR Specification

See the official FHIR specification for supported request parameters and response parameters: https://www.hl7.org/fhir/codesystem-operation-subsumes.html.

Response

Returns a FHIR Parameters resource with one outcome parameter. Possible values are equivalent, subsumes, subsumed-by, and not-subsumed.

Example

GET /CodeSystem/$subsumes?system=http://snomed.info/sct&codeA=73211009&codeB=44054006
Accept: application/fhir+json
POST /CodeSystem/$subsumes
Content-Type: application/fhir+json

{
  "resourceType": "Parameters",
  "parameter": [
    { "name": "system", "valueUri": "http://snomed.info/sct" },
    {
      "name": "codingA",
      "valueCoding": { "system": "http://snomed.info/sct", "code": "73211009" }
    },
    {
      "name": "codingB",
      "valueCoding": { "system": "http://snomed.info/sct", "code": "44054006" }
    }
  ]
}
{
  "resourceType": "Parameters",
  "parameter": [
    { "name": "outcome", "valueCode": "subsumes" }
  ]
}

In this example, 73211009 (Diabetes mellitus) subsumes 44054006 (Type 2 diabetes mellitus). The SNOMED CT examples assume SNOMED CT is loaded in Termbox.

Last updated: