This page is part of the Subscriptions R5 Backport (v1.2.0-ballot: STU 1.2 Ballot 1) based on FHIR (HL7® FHIR® Standard) v4.3.0. The current version which supersedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions
Page standards status: Informative |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:SubscriptionTopic ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "r4b-encounter-complete"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>\n<li>previous = status:not=finished</li>\n<li>create result = TESTPASSES</li>\n<li>create result = status=finished</li>\n<li>delete result = TESTFAILS</li>\n<li>require both = true</li>\n</ul>\n</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>\n</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>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4b-encounter-complete"^^xsd:anyURI] ; #
fhir:version [ fhir:v "1.2.0-ballot"] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:date [ fhir:v "2023-12-18T22:17:27+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; #
fhir:contact ( [
fhir:name [ fhir:v "HL7 International / FHIR Infrastructure" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] )
] [
fhir:name [ fhir:v "Gino Canessa" ] ;
( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:gino.canessa@microsoft.com" ] ] )
] ) ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ] ] )
] ) ; #
fhir:resourceTrigger ( [
fhir:description [ fhir:v "Triggered when an encounter is completed." ] ;
fhir:resource [ fhir:v "Encounter"^^xsd:anyURI ] ;
( fhir:supportedInteraction [ fhir:v "create" ] [ fhir:v "update" ] ) ;
fhir:queryCriteria [
fhir:previous [ fhir:v "status:not=finished" ] ;
fhir:resultForCreate [ fhir:v "test-passes" ] ;
fhir:current [ fhir:v "status=finished" ] ;
fhir:resultForDelete [ fhir:v "test-fails" ] ;
fhir:requireBoth [ fhir:v "true"^^xsd:boolean ] ] ;
fhir:fhirPathCriteria [ fhir:v "(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')" ]
] ) ; #
fhir:canFilterBy ( [
fhir:description [ fhir:v "Filter based on the subject of an encounter." ] ;
fhir:resource [ fhir:v "Encounter"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "subject" ]
] [
fhir:description [ fhir:v "Filter based on the group membership of the subject of an encounter." ] ;
fhir:resource [ fhir:v "Encounter"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "_in" ]
] [
fhir:description [ fhir:v "Filter based on the length of an encounter." ] ;
fhir:resource [ fhir:v "Encounter"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "length" ] ;
( fhir:modifier [ fhir:v "gt" ] [ fhir:v "lt" ] [ fhir:v "ge" ] [ fhir:v "le" ] )
] ) ; #
fhir:notificationShape ( [
fhir:resource [ fhir:v "Encounter"^^xsd:anyURI ] ;
( fhir:include [ fhir:v "Encounter:patient&iterate=Patient.link" ] [ fhir:v "Encounter:practitioner" ] [ fhir:v "Encounter:service-provider" ] [ fhir:v "Encounter:account" ] [ fhir:v "Encounter:diagnosis" ] [ fhir:v "Encounter:observation" ] [ fhir:v "Encounter:location" ] )
] ) . #
IG © 2020+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.subscriptions-backport#1.2.0-ballot based on FHIR 4.3.0. Generated 2023-12-18
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change