<?xml version="1.0" encoding="UTF-8"?>

<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="deactivate-hierarchy"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition deactivate-hierarchy</b></p><a name="deactivate-hierarchy"> </a><a name="hcdeactivate-hierarchy"> </a><p>URL: [base]/Organization/[id]/$deactivate-hierarchy</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>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/list.html">List</a></td><td/><td><div><p>A List of Organizations changed by this operation.</p>
</div></td></tr></table></div>
  </text>
  <url value="https://sequoiaproject.org/fhir/rce/OperationDefinition/deactivate-hierarchy"/>
  <version value="1.9.0"/>
  <name value="DeactivateHierarchy"/>
  <title value="Deactivate Hierarchy"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2025-12-22T10:07:35-05:00"/>
  <publisher value="Recognized Coordinating Entity (RCE)"/>
  <contact>
    <name value="Recognized Coordinating Entity (RCE)"/>
    <telecom>
      <system value="url"/>
      <value value="http://rce.sequoiaproject.org/rce/"/>
    </telecom>
  </contact>
  <description value="Changes the Organization.active element to false for the specified Organization and all Organizations that descend from it (directly or indirectly) via Organization.partOf."/>
  <code value="deactivate-hierarchy"/>
  <base value="https://sequoiaproject.org/fhir/rce/OperationDefinition/deactivate-hierarchy"/>
  <resource value="Organization"/>
  <system value="false"/>
  <type value="false"/>
  <instance value="true"/>
  <parameter>
    <name value="return"/>
    <use value="out"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="A List of Organizations changed by this operation."/>
    <type value="List"/>
  </parameter>
</OperationDefinition>