https://tx.ontoserver.csiro.au/fhir/OperationDefinition/CodeSystem-it-subsumes
Operation
Test the subsumption relationship between code/Coding A and code/Coding B given the semantics of subsumption in the underlying code system (see hierarchyMeaning).
OPERATION 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) as defined in the concept-subsumption-outcome value set. If the server is unable to determine the relationship between the codes/Codings, then it returns an error response with an OperationOutcome.
URL: [base]/CodeSystem/$subsumes
URL: [base]/CodeSystem/[id]/$subsumes
May be invoked by performing an HTTP GET operation as well as a POST.
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
---|---|---|---|---|---|
IN | codeA | 0..1 | code | The "A" code that is to be tested. If a code is provided, a system must be provided | |
IN | codeB | 0..1 | code | The "B" code that is to be tested. If a code is provided, a system must be provided | |
IN | system | 0..1 | uri | The code system in which subsumption testing is to be performed. This must be provided unless the operation is invoked on a code system instance | |
IN | version | 0..1 | string | The version of the code system, if one was provided in the source data | |
IN | codingA | 0..1 | Coding | The "A" Coding that is to be tested. The code system does not have to match the specified subsumption code system, but the relationships between the code systems must be well established | |
IN | codingB | 0..1 | Coding | The "B" Coding that is to be tested. The code system does not have to match the specified subsumption code system, but the relationships between the code systems must be well established |
{ "resourceType": "OperationDefinition", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Operation</div>" }, "url": "https://tx.ontoserver.csiro.au/fhir/OperationDefinition/CodeSystem-it-subsumes", "name": "Subsumes", "title": "Test the subsumption relationship between code/Coding A and code/Coding B given the semantics of subsumption in the underlying code system (see hierarchyMeaning).", "status": "active", "kind": "operation", "description": "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) as defined in the concept-subsumption-outcome value set. If the server is unable to determine the relationship between the codes/Codings, then it returns an error response with an OperationOutcome.", "affectsState": false, "code": "subsumes", "resource": [ "CodeSystem" ], "system": false, "type": true, "instance": true, "parameter": [ { "name": "codeA", "use": "in", "min": 0, "max": "1", "documentation": "The \"A\" code that is to be tested. If a code is provided, a system must be provided", "type": "code" }, { "name": "codeB", "use": "in", "min": 0, "max": "1", "documentation": "The \"B\" code that is to be tested. If a code is provided, a system must be provided", "type": "code" }, { "name": "system", "use": "in", "min": 0, "max": "1", "documentation": "The code system in which subsumption testing is to be performed. This must be provided unless the operation is invoked on a code system instance", "type": "uri" }, { "name": "version", "use": "in", "min": 0, "max": "1", "documentation": "The version of the code system, if one was provided in the source data", "type": "string" }, { "name": "codingA", "use": "in", "min": 0, "max": "1", "documentation": "The \"A\" Coding that is to be tested. The code system does not have to match the specified subsumption code system, but the relationships between the code systems must be well established", "type": "Coding" }, { "name": "codingB", "use": "in", "min": 0, "max": "1", "documentation": "The \"B\" Coding that is to be tested. The code system does not have to match the specified subsumption code system, but the relationships between the code systems must be well established", "type": "Coding" } ] }