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

<Subscription xmlns="http://hl7.org/fhir">
  <id value="ExampleOhhSubscriptionCarePlan"/>
  <meta>
    <profile value="https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-subscription"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Subscription ExampleOhhSubscriptionCarePlan</b></p><a name="ExampleOhhSubscriptionCarePlan"> </a><a name="hcExampleOhhSubscriptionCarePlan"> </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-ohh-subscription.html">OHH Subscription Profile</a></p></div><p><b>status</b>: Requested</p><p><b>reason</b>: Receive new responses for CarePlan 123</p><p><b>criteria</b>: QuestionnaireResponse?based-on=CarePlan/123</p><h3>Channels</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td style="display: none">*</td><td>Rest Hook</td><td><a href="https://your-his.com/Subscription-Notification/QuestionnaireResponse">https://your-his.com/Subscription-Notification/QuestionnaireResponse</a></td><td>application/fhir+json</td></tr></table></div>
  </text>
  <status value="requested"/>
  <reason value="Receive new responses for CarePlan 123"/>
  <criteria value="QuestionnaireResponse?based-on=CarePlan/123"/>
  <channel>
    <type value="rest-hook"/>
    <endpoint value="https://your-his.com/Subscription-Notification/QuestionnaireResponse"/>
    <payload value="application/fhir+json"/>
  </channel>
</Subscription>