PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.subscriptions-backport@1.2.0-ballot
    http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4b-encounter-complete
{
  "description": null,
  "_filename": "example/SubscriptionTopic-r4b-encounter-complete.json",
  "package_name": "hl7.fhir.uv.subscriptions-backport",
  "date": "2023-12-18T22:17:27+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "canFilterBy": [ {
    "resource": "Encounter",
    "description": "Filter based on the subject of an encounter.",
    "filterParameter": "subject"
  }, {
    "resource": "Encounter",
    "description": "Filter based on the group membership of the subject of an encounter.",
    "filterParameter": "_in"
  }, {
    "modifier": [ "gt", "lt", "ge", "le" ],
    "resource": "Encounter",
    "description": "Filter based on the length of an encounter.",
    "filterParameter": "length"
  } ],
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "World"
    } ]
  } ],
  "name": null,
  "type": null,
  "experimental": null,
  "resourceType": "SubscriptionTopic",
  "title": null,
  "package_version": "1.2.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fhir"
  } ],
  "status": "draft",
  "id": "36c7679a-10f7-4d76-893d-523acad7680e",
  "kind": null,
  "url": "http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4b-encounter-complete",
  "notificationShape": [ {
    "include": [ "Encounter:patient&iterate=Patient.link", "Encounter:practitioner", "Encounter:service-provider", "Encounter:account", "Encounter:diagnosis", "Encounter:observation", "Encounter:location" ],
    "resource": "Encounter"
  } ],
  "version": "1.2.0-ballot",
  "contact": [ {
    "name": "HL7 International / FHIR Infrastructure",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/fiwg",
      "system": "url"
    } ]
  }, {
    "name": "Gino Canessa",
    "telecom": [ {
      "value": "mailto:gino.canessa@microsoft.com",
      "system": "email"
    } ]
  } ],
  "resourceTrigger": [ {
    "resource": "Encounter",
    "description": "Triggered when an encounter is completed.",
    "queryCriteria": {
      "current": "status=finished",
      "previous": "status:not=finished",
      "requireBoth": true,
      "resultForCreate": "test-passes",
      "resultForDelete": "test-fails"
    },
    "fhirPathCriteria": "(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')",
    "supportedInteraction": [ "create", "update" ]
  } ]
}