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

## Example SubscriptionTopic: Backported SubscriptionTopic: R4B Encounter Complete

Page standards status: Informative

Resource Triggers
Resource | Interactions | Criteria | FHIR Path | Description
--- | --- | --- | --- | ---
Encounter | create, update | previous = status:not=finished create result = TESTPASSES create result = status=finished delete result = TESTFAILS require both = true | (%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished') | Triggered when an encounter is completed.

Can Filter By
Resource | Filter Parameter | Comparators
--- | --- | ---
Encounter | subject |
Encounter | _in |
Encounter | length | gt, lt, ge, le

Notification Shapes
Resource | Includes
--- | ---
Encounter | Encounter:patient&iterate=Patient.link, Encounter:practitioner, Encounter:service-provider, Encounter:account, Encounter:diagnosis, Encounter:observation, Encounter:location