Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1 United States of America flag

Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. See the Directory of published versions

: Encounter End Subscription Topic Example - JSON Representation

Raw json | Download


{
  "resourceType" : "Subscription",
  "id" : "encounter-end-subscription-example",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-encounter-end-subscription"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Encounter Start Subscription Example</b></p></div>"
  },
  "status" : "active",
  "reason" : "Creation of subscription based on encounter-end trigger event from PlanDefintiion.",
  "criteria" : "http://hl7.org/fhir/us/medmorph/SubscriptionTopic/encounter-end",
  "_criteria" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria",
        "valueString" : "Encounter?status=finished"
      }
    ]
  },
  "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"
        }
      ]
    }
  }
}