<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="-s-apply"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><h2>apply</h2><p>OPERATION: apply</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-apply</pre><div><p>Create a careplan for a specific episodeOfCare using this PlanDefinition as a template.</p>
</div><p>URL: [base]/$apply</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</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>planDefinition</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>episodeOfCare</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/references.html#Reference">Reference</a></td><td/><td/></tr></table></div>
</text>
<url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-apply"/>
<name value="apply"/>
<status value="active"/>
<kind value="operation"/>
<date value="2020-10-27T14:11:48+00:00"/>
<description
value="Create a careplan for a specific episodeOfCare using this PlanDefinition as a template."/>
<idempotent value="false"/>
<code value="apply"/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
<name value="planDefinition"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Reference"/>
</parameter>
<parameter>
<name value="episodeOfCare"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Reference"/>
</parameter>
</OperationDefinition>