Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Subscription - EHR Monitoring Task - Scenario 2 - XML Representation

Raw xml | Download



<Subscription xmlns="http://hl7.org/fhir">
  <id value="Scen2SubscriptionEhr"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Subscription</b><a name="Scen2SubscriptionEhr"> </a></p><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">Resource Subscription &quot;Scen2SubscriptionEhr&quot; </p></div><p><b>status</b>: requested</p><p><b>contact</b>: ph: 123-456-7890(WORK), <a href="mailto:ehr@example.org">ehr@example.org</a></p><p><b>end</b>: Jan 1, 2024, 12:00:00 AM</p><p><b>reason</b>: Monitoring tasks</p><p><b>criteria</b>: Task?requester=https://registry.example.org/fhir/Organization/Scen2OrgGoodCardio</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://goodCardio.example.org/mySubscriptions">https://goodCardio.example.org/mySubscriptions</a></td><td>application/fhir+json</td></tr></table></div>
  </text>
  <status value="requested"/>
  <contact>
    <system value="phone"/>
    <value value="123-456-7890"/>
    <use value="work"/>
  </contact>
  <contact>
    <system value="email"/>
    <value value="ehr@example.org"/>
    <use value="work"/>
  </contact>
  <end value="2024-01-01T00:00:00Z"/>
  <reason value="Monitoring tasks"/>
  <criteria
            value="Task?requester=https://registry.example.org/fhir/Organization/Scen2OrgGoodCardio"/>
  <channel>
    <type value="rest-hook"/>
    <endpoint value="https://goodCardio.example.org/mySubscriptions"/>
    <payload value="application/fhir+json">
      <extension
                 url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content">
        <valueCode value="id-only"/>
      </extension>
    </payload>
  </channel>
</Subscription>