Release 4 R6 Ballot (1st Full Ballot)

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ) in it's permanent home (it will always be available at this URL). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 for published versions

Operation-codesystem-subsumes.xml

Example OperationDefinition/CodeSystem-subsumes (XML)

Maturity Level : N/A
Responsible Owner: Vocabulary Terminology Infrastructure Work Group Standards Status : Informative Compartments : Not linked to any defined compartments

Raw XML ( canonical form + also see XML Format Specification )

Jump past Narrative

Operation Definition

<?xml version="1.0" encoding="UTF-8"?> Test the subsumption relationship between code/Coding A and code/Coding B given the semantics of subsumption in the underlying code system (see ). When invoking this operation, a client SHALL provide both a and codes, either as code or Coding parameters. The system parameter is required unless the operation is invoked on an instance of a code system resource. Other parameters are optional 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 The &quot;A&quot; 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 The &quot;B&quot; 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 (Required) The subsumption relationship between code/Coding &quot;A&quot; and code/Coding &quot;B&quot;. 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. Test the subsumption relationship between code/Coding A and code/Coding B given the semantics of subsumption in the underlying code system (see [hierarchyMeaning](codesystem-definitions.html#Cod eSystem.hierarchyMeaning)). When invoking this operation, a client SHALL provide both a and codes, either as code or Coding parameters. The system parameter is required unless the operation is invoked on an instance of a code system resource. Other parameters are optional 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 The &quot;A&quot; 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 The &quot;B&quot; 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 The subsumption relationship between code/Coding &quot;A&quot; and code/Coding &quot;B&quot;. 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.
<?xml version="1.0" encoding="UTF-8"?>
<OperationDefinition xmlns="http://hl7.org/fhir">  <id value="CodeSystem-subsumes"/>   <text>     <status value="generated"/>     <div xmlns="http://www.w3.org/1999/xhtml">      <p class="res-header-id">        <b> Generated Narrative: OperationDefinition CodeSystem-subsumes</b>       </p>       <a name="CodeSystem-subsumes"> </a>       <a name="hcCodeSystem-subsumes"> </a>       <p> URL: [base]/CodeSystem/$subsumes</p>       <p> URL: [base]/CodeSystem/[id]/$subsumes</p>       <h3> Parameters</h3>       <table class="grid">        <tr>           <td>             <b> Use</b>           </td>           <td>             <b> Name</b>           </td>           <td>             <b> Scope</b>           </td>           <td>             <b> Cardinality</b>           </td>           <td>             <b> Type</b>           </td>           <td>             <b> Binding</b>           </td>           <td>             <b> Documentation</b>           </td>         </tr>         <tr>           <td> IN</td>           <td> codeA</td>           <td/>            <td> 0..1</td>           <td>             <a href="datatypes.html#code">code</a>           </td>           <td/>            <td>             <div>               <p> The &quot;A&quot; code that is to be tested. If a code is provided, a system must
                 be provided</p> 
            </div>           </td>         </tr>         <tr>           <td> IN</td>           <td> codeB</td>           <td/>            <td> 0..1</td>           <td>             <a href="datatypes.html#code">code</a>           </td>           <td/>            <td>             <div>               <p> The &quot;B&quot; code that is to be tested. If a code is provided, a system must
                 be provided</p> 
            </div>           </td>         </tr>         <tr>           <td> IN</td>           <td> system</td>           <td> type</td>           <td> 0..1</td>           <td>             <a href="datatypes.html#uri">uri</a>           </td>           <td/>            <td>             <div>               <p> 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</p> 
            </div>           </td>         </tr>         <tr>           <td> IN</td>           <td> version</td>           <td> type</td>           <td> 0..1</td>           <td>             <a href="datatypes.html#string">string</a>           </td>           <td/>            <td>             <div>               <p> The version of the code system, if one was provided in the source data</p>             </div>           </td>         </tr>         <tr>           <td> IN</td>           <td> codingA</td>           <td/>            <td> 0..1</td>           <td>             <a href="datatypes.html#Coding">Coding</a>           </td>           <td/>            <td>             <div>               <p> The &quot;A&quot; 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</p> 
            </div>           </td>         </tr>         <tr>           <td> IN</td>           <td> codingB</td>           <td/>            <td> 0..1</td>           <td>             <a href="datatypes.html#Coding">Coding</a>           </td>           <td/>            <td>             <div>               <p> The &quot;B&quot; 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</p> 
            </div>           </td>         </tr>         <tr>           <td> OUT</td>           <td> outcome</td>           <td/>            <td> 1..1</td>           <td>             <a href="datatypes.html#code">code</a>           </td>           <td>             <a href="valueset-concept-subsumption-outcome.html">Concept Subsumption Outcome</a>  (Required)          </td>           <td>             <div>               <p> The subsumption relationship between code/Coding &quot;A&quot; and code/Coding
                 &quot;B&quot;. 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.</p> 
            </div>           </td>         </tr>       </table>     </div>   </text>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">    <valueInteger value="5"/>   </extension>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">    <valueCode value="normative"/>   </extension>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">    <valueCode value="vocab"/>   </extension>   <url value="http://hl7.org/fhir/OperationDefinition/CodeSystem-subsumes"/>   <version value="6.0.0-ballot4"/>   <name value="Subsumes"/>   <title value="Subsumption Testing"/>   <status value="active"/>   <kind value="operation"/>   <experimental value="false"/>   <date value="2025-12-18T07:07:42+11:00"/>   <publisher value="HL7 International / Terminology Infrastructure"/>   <contact>     <telecom>       <system value="url"/>       <value value="http://hl7.org/fhir"/>     </telecom>     <telecom>       <system value="email"/>       <value value="fhir@lists.hl7.org"/>     </telecom>   </contact>   <contact>     <telecom>       <system value="url"/>       <value value="http://www.hl7.org/Special/committees/Vocab"/>     </telecom>   </contact>   <description value="Test the subsumption relationship between code/Coding A and code/Coding B given
   the semantics of subsumption in the underlying code system (see [hierarchyMeaning](codesystem
  -definitions.html#CodeSystem.hierarchyMeaning)).
When invoking this operation, a client SHALL provide both A and B codes, either
   as code or Coding parameters. The system parameter is required unless the operation
   is invoked on an instance of a code system resource. Other parameters are optional"/> 
  <jurisdiction>     <coding>       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>       <code value="001"/>       <display value="World"/>     </coding>   </jurisdiction>   <affectsState value="false"/>   <code value="subsumes"/>   <resource value="CodeSystem"/>   <system value="false"/>   <type value="true"/>   <instance value="true"/>   <parameter>     <name value="codeA"/>     <use value="in"/>     <min value="0"/>     <max value="1"/>     <documentation value="The &quot;A&quot; code that is to be tested. If a code is provided, a system must
     be provided"/> 
    <type value="code"/>   </parameter>   <parameter>     <name value="codeB"/>     <use value="in"/>     <min value="0"/>     <max value="1"/>     <documentation value="The &quot;B&quot; code that is to be tested. If a code is provided, a system must
     be provided"/> 
    <type value="code"/>   </parameter>   <parameter>     <name value="system"/>     <use value="in"/>     <scope value="type"/>     <min value="0"/>     <max value="1"/>     <documentation value="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 value="uri"/>   </parameter>   <parameter>     <name value="version"/>     <use value="in"/>     <scope value="type"/>     <min value="0"/>     <max value="1"/>     <documentation value="The version of the code system, if one was provided in the source data"/>     <type value="string"/>   </parameter>   <parameter>     <name value="codingA"/>     <use value="in"/>     <min value="0"/>     <max value="1"/>     <documentation value="The &quot;A&quot; 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 value="Coding"/>   </parameter>   <parameter>     <name value="codingB"/>     <use value="in"/>     <min value="0"/>     <max value="1"/>     <documentation value="The &quot;B&quot; 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 value="Coding"/>   </parameter>   <parameter>     <name value="outcome"/>     <use value="out"/>     <min value="1"/>     <max value="1"/>     <documentation value="The subsumption relationship between code/Coding &quot;A&quot; and code/Coding
     &quot;B&quot;. 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."/> 
    <type value="code"/>     <binding>       <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">        <valueString value="ConceptSubsumptionOutcome"/>       </extension>       <strength value="required"/>       <valueSet value="http://hl7.org/fhir/ValueSet/concept-subsumption-outcome|6.0.0-ballot4"/>     </binding>   </parameter> 


</

OperationDefinition

>



Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.