Test the subsumption relationship between code/Coding A and code/Coding B given the semantics of subsumption in the underlying code system. For more details, see the official documentation FHIR CodeSystem $subsumes
The subsumption relationship between code/Coding "A" and code/Coding "B". There are 4 possible codes to be returned: equivalent, subsumes, subsumed-by, and not-subsumed. If the server is unable to determine the relationship between the codes/Codings, then it returns an error.
Requests examples
With code
equivalent
GET [base]/CodeSystem/$subsumes?system=http://hl7.org/fhir/goal-status&codeA=accepted&codeB=accepted
or:
POST [base]/CodeSystem/$subsumescontent-type:text/yamlresourceType:Parametersparameter:- {name:system,valueUri:'http://hl7.org/fhir/goal-status'}- {name:codeA,valueCode:accepted}- {name:codeB,valueCode:accepted}
GET [base]/CodeSystem/$subsumes?system=http://hl7.org/fhir/goal-status&codeA=accepted&codeB=achieved
or:
POST [base]/CodeSystem/$subsumescontent-type:text/yamlresourceType:Parametersparameter:- {name:system,valueUri:'http://hl7.org/fhir/goal-status'}- {name:codeA,valueCode:accepted}- {name:codeB,valueCode:achieved}
GET [base]/CodeSystem/$subsumes?system=http://hl7.org/fhir/goal-status&codeA=achieved&codeB=accepted
or:
POST [base]/CodeSystem/$subsumescontent-type:text/yamlresourceType:Parametersparameter:- {name:system,valueUri:'http://hl7.org/fhir/goal-status'}- {name:codeA,valueCode:achieved}- {name:codeB,valueCode:accepted}
GET [base]/CodeSystem/$subsumes?system=http://hl7.org/fhir/goal-status&codeA=cancelled&codeB=proposed
or:
POST [base]/CodeSystem/$subsumescontent-type:text/yamlresourceType:Parametersparameter:- {name:system,valueUri:'http://hl7.org/fhir/goal-status'}- {name:codeA,valueCode:cancelled}- {name:codeB,valueCode:proposed}