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

<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="CarePlan-i-suggest-care-teams"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition CarePlan-i-suggest-care-teams</b></p><a name="CarePlan-i-suggest-care-teams"> </a><a name="hcCarePlan-i-suggest-care-teams"> </a><p>URL: [base]/CarePlan/[id]/$suggest-care-teams</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>regionCode</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>Region code for the care teams' managing organization</p>
</div></td></tr><tr><td>IN</td><td>municipalityCode</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>Municipality code for the care teams' managing organization</p>
</div></td></tr></table></div>
  </text>
  <url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/CarePlan-i-suggest-care-teams"/>
  <version value="9.0.0"/>
  <name value="suggest-care-teams"/>
  <title value="Suggest care teams"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2026-04-21T07:29:24+00:00"/>
  <publisher value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
  <contact>
    <name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <description value="Suggest care teams matching the conditions required by the care plan on either a regional or a municipality level. The suggested care teams has reason codes matching all the conditions addressed by the care plan and has a managing organization matching the input region code or municipality code. One of region code or municipality code must be input. If both region code and municipality code is input, then the municipality code is ignored. Return a bundle with matching care teams and their managing organizations."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DK"/>
      <display value="Denmark"/>
    </coding>
  </jurisdiction>
  <affectsState value="true"/>
  <code value="suggest-care-teams"/>
  <resource value="CarePlan"/>
  <system value="false"/>
  <type value="false"/>
  <instance value="true"/>
  <parameter>
    <name value="regionCode"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="Region code for the care teams' managing organization"/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="municipalityCode"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="Municipality code for the care teams' managing organization"/>
    <type value="string"/>
  </parameter>
</OperationDefinition>