Subscriptions R5 Backport
1.2.0-ballot - ballot International flag

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

: Backported SubscriptionTopic: R4 Encounter Complete - TTL Representation

Page standards status: Informative

Raw ttl | Download


@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:_Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "r4-encounter-complete"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Basic </b><a name=\"r4-encounter-complete\"> </a><a name=\"hcr4-encounter-complete\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">ResourceBasic &quot;r4-encounter-complete&quot; </p></div><p><b style=\"color: maroon\">Exception Generating Narrative: unknown extension http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionTopic.resourceTrigger </b></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.url"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/SubscriptionTopic/r4-encounter-complete"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.version"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1.2.0" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "R4 example of a basic-converted subscription topic for completed encounters." ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.title"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Backported SubscriptionTopic: R4 Encounter Complete" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.date"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2019-01-01"^^xsd:date ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "R4 example of a subscription topic for completed encounters." ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Triggered when an encounter is completed." ]     ] [
fhir:url [ fhir:v "resource"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "supportedInteraction"^^xsd:anyURI ] ;
fhir:value [ fhir:v "create" ]     ] [
fhir:url [ fhir:v "supportedInteraction"^^xsd:anyURI ] ;
fhir:value [ fhir:v "update" ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "previous"^^xsd:anyURI ] ;
fhir:value [ fhir:v "status:not=finished" ]       ] [
fhir:url [ fhir:v "resultForCreate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "test-passes" ]       ] [
fhir:url [ fhir:v "current"^^xsd:anyURI ] ;
fhir:value [ fhir:v "status=finished" ]       ] [
fhir:url [ fhir:v "resultForDelete"^^xsd:anyURI ] ;
fhir:value [ fhir:v "test-fails" ]       ] [
fhir:url [ fhir:v "requireBoth"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:url [ fhir:v "queryCriteria"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "fhirPathCriteria"^^xsd:anyURI ] ;
fhir:value [ fhir:v "(%previous.id.empty() or (%previous.status != 'finished')) and (%current.status = 'finished')" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionTopic.resourceTrigger"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Filter based on the subject of an encounter." ]     ] [
fhir:url [ fhir:v "resource"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "filterParameter"^^xsd:anyURI ] ;
fhir:value [ fhir:v "subject" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionTopic.canFilterBy"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Filter based on the group membership of the subject of an encounter." ]     ] [
fhir:url [ fhir:v "resource"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "filterParameter"^^xsd:anyURI ] ;
fhir:value [ fhir:v "_in" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionTopic.canFilterBy"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "resource"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:patient&iterate=Patient.link" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:practitioner" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:service-provider" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:account" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:diagnosis" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:observation" ]     ] [
fhir:url [ fhir:v "include"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:location" ]     ] [
fhir:url [ fhir:v "revInclude"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter:subject" ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "queryType"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org/query-types"^^xsd:anyURI ] ;
fhir:code [ fhir:v "prescribed" ] ;
fhir:display [ fhir:v "Prescribed medications" ]         ]       ] [
fhir:url [ fhir:v "query"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://example.org/fhir/Encounter/[id]/$prescribed-medications" ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query"^^xsd:anyURI ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionTopic.notificationShape"^^xsd:anyURI ]
  ] ) ; # 
  fhir:modifierExtension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionTopic.status"^^xsd:anyURI ] ;
fhir:value [ fhir:v "draft" ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/fhir-types"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SubscriptionTopic" ]     ] )
  ] . #