Subscriptions R5 Backport
1.2.0-ballot - ballot

Subscriptions R5 Backport, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-subscription-backport-ig/ and changes regularly. See the Directory of published versions

## : Backported Subscription: Custom Channel - XML Representation

Raw xml | Download

    <Subscription xmlns="http://hl7.org/fhir">
      <id value="subscription-zulip"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"/>
      </meta>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Subscription </b><a name="subscription-zulip"> </a><a name="hcsubscription-zulip"> </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">ResourceSubscription &quot;subscription-zulip&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-backport-subscription.html">R4/B Topic-Based Subscription</a></p></div><p><b>status</b>: active</p><p><b>end</b>: Dec 31, 2020, 12:00:00 PM</p><p><b>reason</b>: R4/B Example Topic-Based Subscription for Patient Admission via Zulip</p><p><b>criteria</b>: http://hl7.org/SubscriptionTopic/admission</p><h3>Channels</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td style="display: none">*</td><td>, , </td><td>rest-hook</td><td><a href="https://example.org/Endpoints/ZulipForwarder">https://example.org/Endpoints/ZulipForwarder</a></td><td>application/fhir+json</td></tr></table></div>
      </text>
      <status value="active"/>
      <end value="2020-12-31T12:00:00Z"/>
      <reason
              value="R4/B Example Topic-Based Subscription for Patient Admission via Zulip"/>
      <criteria value="http://hl7.org/SubscriptionTopic/admission">
        <extension
                   url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria">
          <valueString value="Encounter?patient=Patient/123"/>
        </extension>
      </criteria>
      <channel>
        <extension
                   url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period">
          <valueUnsignedInt value="86400"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout">
          <valueUnsignedInt value="60"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count">
          <valuePositiveInt value="20"/>
        </extension>
        <type value="rest-hook">
          <extension
                     url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type">
            <valueCoding>
              <system value="http://example.org/subscription-channel-type"/>
              <code value="zulip"/>
              <display value="Zulip Notification Channel"/>
            </valueCoding>
          </extension>
        </type>
        <endpoint value="https://example.org/Endpoints/ZulipForwarder"/>
        <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>