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

<Subscription xmlns="http://hl7.org/fhir">
  <id value="Subscription-Rigoletto-OnCarePlanCreated"/>
  <meta>
    <profile value="https://rigoletto.na.icar.cnr.it/StructureDefinition/subscription-rigoletto-workflow"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Subscription Subscription-Rigoletto-OnCarePlanCreated</b></p><a name="Subscription-Rigoletto-OnCarePlanCreated"> </a><a name="hcSubscription-Rigoletto-OnCarePlanCreated"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-subscription-rigoletto-workflow.html">Subscription_Workflow_Rigoletto</a></p></div><p><b>status</b>: Requested</p><p><b>reason</b>: Trigger quando un nuovo CarePlan è creato</p><p><b>criteria</b>: CarePlan?category=WorkflowCapability</p><h3>Channels</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Endpoint</b></td></tr><tr><td style="display: none">*</td><td>Rest Hook</td><td><a href="http://sistema/OnCarePlanChange">http://sistema/OnCarePlanChange</a></td></tr></table></div>
  </text>
  <status value="requested"/>
  <reason value="Trigger quando un nuovo CarePlan è creato"/>
  <criteria value="CarePlan?category=WorkflowCapability"/>
  <channel>
    <type value="rest-hook"/>
    <endpoint value="http://sistema/OnCarePlanChange"/>
  </channel>
</Subscription>