<OperationDefinition xmlns="http://hl7.org/fhir"> <id value="PlanDefinition-i-apply"/> <text> <status value="generated"/> <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/PlanDefinition-i-apply</pre><div><p>Create a careplan for a specific episodeOfCare using this PlanDefinition as a template.</p> </div><p>URL: [base]/PlanDefinition/[id]/$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>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/PlanDefinition-i-apply"/> <version value="2019.6"/> <name value="apply"/> <status value="active"/> <kind value="operation"/> <date value="2019-11-08T13:01:00+00:00"/> <description value="Create a careplan for a specific episodeOfCare using this PlanDefinition as a template."/> <idempotent value="false"/> <code value="apply"/> <resource value="PlanDefinition"/> <system value="false"/> <type value="false"/> <instance value="true"/> <parameter> <name value="episodeOfCare"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="Reference"/> </parameter> </OperationDefinition>