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
Page standards status: Informative |
<SubscriptionTopic xmlns="http://hl7.org/fhir">
<id value="r4b-encounter-complete"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><table class="grid"><tr><td colspan="5"><b>Resource Triggers</b></td></tr><tr><th><b>Resource</b></th><th><b>Interactions</b></th><th><b>Criteria</b></th><th><b>FHIR Path</b></th><th><b>Description</b></th></tr><tr><td><a href="http://hl7.org/fhir/R4B/encounter.html">Encounter</a></td><td>create, update</td><td><div><ul>
<li>previous = status:not=finished</li>
<li>create result = TESTPASSES</li>
<li>create result = status=finished</li>
<li>delete result = TESTFAILS</li>
<li>require both = true</li>
</ul>
</div></td><td>(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')</td><td><div><p>Triggered when an encounter is completed.</p>
</div></td></tr></table><table class="grid"><tr><td colspan="3"><b>Can Filter By</b></td></tr><tr><th><b>Resource</b></th><th><b>Filter Parameter</b></th><th><b>Comparators</b></th></tr><tr><td><a href="http://hl7.org/fhir/R4B/encounter.html">Encounter</a></td><td>subject</td><td/></tr><tr><td><a href="http://hl7.org/fhir/R4B/encounter.html">Encounter</a></td><td>_in</td><td/></tr><tr><td><a href="http://hl7.org/fhir/R4B/encounter.html">Encounter</a></td><td>length</td><td>gt, lt, ge, le</td></tr></table><table class="grid"><tr><td colspan="2"><b>Notification Shapes</b></td></tr><tr><th><b>Resource</b></th><th><b>Includes</b></th></tr><tr><td><a href="http://hl7.org/fhir/R4B/encounter.html">Encounter</a></td><td>Encounter:patient&iterate=Patient.link, Encounter:practitioner, Encounter:service-provider, Encounter:account, Encounter:diagnosis, Encounter:observation, Encounter:location</td></tr></table></div>
</text>
<url
value="http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4b-encounter-complete"/>
<version value="1.2.0-ballot"/>
<status value="draft"/>
<date value="2024-06-17T16:09:47+00:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<name value="HL7 International / FHIR Infrastructure"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<contact>
<name value="Gino Canessa"/>
<telecom>
<system value="email"/>
<value value="mailto:gino.canessa@microsoft.com"/>
</telecom>
</contact>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<resourceTrigger>
<description value="Triggered when an encounter is completed."/>
<resource value="Encounter"/>
<supportedInteraction value="create"/>
<supportedInteraction value="update"/>
<queryCriteria>
<previous value="status:not=finished"/>
<resultForCreate value="test-passes"/>
<current value="status=finished"/>
<resultForDelete value="test-fails"/>
<requireBoth value="true"/>
</queryCriteria>
<fhirPathCriteria
value="(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')"/>
</resourceTrigger>
<canFilterBy>
<description value="Filter based on the subject of an encounter."/>
<resource value="Encounter"/>
<filterParameter value="subject"/>
</canFilterBy>
<canFilterBy>
<description
value="Filter based on the group membership of the subject of an encounter."/>
<resource value="Encounter"/>
<filterParameter value="_in"/>
</canFilterBy>
<canFilterBy>
<description value="Filter based on the length of an encounter."/>
<resource value="Encounter"/>
<filterParameter value="length"/>
<modifier value="gt"/>
<modifier value="lt"/>
<modifier value="ge"/>
<modifier value="le"/>
</canFilterBy>
<notificationShape>
<resource value="Encounter"/>
<include value="Encounter:patient&iterate=Patient.link"/>
<include value="Encounter:practitioner"/>
<include value="Encounter:service-provider"/>
<include value="Encounter:account"/>
<include value="Encounter:diagnosis"/>
<include value="Encounter:observation"/>
<include value="Encounter:location"/>
</notificationShape>
</SubscriptionTopic>