FHIR IG analytics| Package | hl7.fhir.uv.subscriptions-backport.r4b |
| Resource Type | SubscriptionTopic |
| Id | SubscriptionTopic-r4b-encounter-complete.json |
| FHIR Version | R4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
| Resource Triggers | ||||
| Resource | Interactions | Criteria | FHIR Path | Description |
|---|---|---|---|---|
| Encounter | create, update |
| (%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 |
{
"resourceType": "SubscriptionTopic",
"id": "r4b-encounter-complete",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}
],
"url": "http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4b-encounter-complete",
"version": "1.2.0-ballot",
"status": "draft",
"date": "2023-12-18T22:17:27+00:00",
"publisher": "HL7 International / FHIR Infrastructure",
"contact": [
{
"name": "HL7 International / FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
},
{
"name": "Gino Canessa",
"telecom": [
{
"system": "email",
"value": "mailto:gino.canessa@microsoft.com"
}
]
}
],
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"resourceTrigger": [
{
"description": "Triggered when an encounter is completed.",
"resource": "Encounter",
"supportedInteraction": [
"create",
"update"
],
"queryCriteria": {
"previous": "status:not=finished",
"resultForCreate": "test-passes",
"current": "status=finished",
"resultForDelete": "test-fails",
"requireBoth": true
},
"fhirPathCriteria": "(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')"
}
],
"canFilterBy": [
{
"description": "Filter based on the subject of an encounter.",
"resource": "Encounter",
"filterParameter": "subject"
},
{
"description": "Filter based on the group membership of the subject of an encounter.",
"resource": "Encounter",
"filterParameter": "_in"
},
{
"description": "Filter based on the length of an encounter.",
"resource": "Encounter",
"filterParameter": "length",
"modifier": [
"gt",
"lt",
"ge",
"le"
]
}
],
"notificationShape": [
{
"resource": "Encounter",
"include": [
"Encounter:patient&iterate=Patient.link",
"Encounter:practitioner",
"Encounter:service-provider",
"Encounter:account",
"Encounter:diagnosis",
"Encounter:observation",
"Encounter:location"
]
}
]
}