Subscriptions R5 Backport
1.1.0 - Standard for Trial Use International flag

This page is part of the Subscriptions R5 Backport (v1.1.0: STU 1.1) based on FHIR v4.3.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: Backported Subscription: Multi-Resource - JSON Representation

Raw json | Download


{
  "resourceType" : "Subscription",
  "id" : "subscription-multi-resource",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Subscription</b><a name=\"subscription-multi-resource\"> </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;subscription-multi-resource&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>: 31 Dec 2020, 11:00:00 pm</p><p><b>reason</b>: R4/B Example Topic-Based Subscription for Multiple Resources</p><p><b>criteria</b>: http://hl7.org/SubscriptionTopic/admission</p><h3>Channels</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td>*</td><td>, , </td><td>rest-hook</td><td><a href=\"https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d\">https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d</a></td><td>application/fhir+json</td></tr></table></div>"
  },
  "status" : "active",
  "end" : "2020-12-31T12:00:00Z",
  "reason" : "R4/B Example Topic-Based Subscription for Multiple Resources",
  "criteria" : "http://hl7.org/SubscriptionTopic/admission",
  "_criteria" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria",
        "valueString" : "Observation?subject=Patient/123"
      }
    ]
  },
  "channel" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period",
        "valueUnsignedInt" : 86400
      },
      {
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout",
        "valueUnsignedInt" : 60
      },
      {
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count",
        "valuePositiveInt" : 20
      }
    ],
    "type" : "rest-hook",
    "endpoint" : "https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d",
    "payload" : "application/fhir+json",
    "_payload" : {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content",
          "valueCode" : "id-only"
        }
      ]
    }
  }
}