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

: R4B Notification: Full Resource with Query - TTL Representation

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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "r4b-notification-full-resource-with-query"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification>     ] )
  ] ; # 
  fhir:type [ fhir:v "history"] ; # 
  fhir:timestamp [ fhir:v "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:1aa43532-94b7-4463-8049-338045636f7b"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:1aa43532-94b7-4463-8049-338045636f7b> ) ;
fhir:request [
fhir:method [ fhir:v "GET" ] ;
fhir:url [ fhir:v "https://example.org/fhir/Subscription/admission/$status"^^xsd:anyURI ]     ] ;
fhir:response [
fhir:status [ fhir:v "200" ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Encounter"^^xsd:anyURI ]     ] ;
fhir:response [
fhir:status [ fhir:v "201" ]     ]
  ] ) . # 

<urn:uuid:1aa43532-94b7-4463-8049-338045636f7b> a fhir:SubscriptionStatus ;
  fhir:id [ fhir:v "1aa43532-94b7-4463-8049-338045636f7b"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"SubscriptionStatus_1aa43532-94b7-4463-8049-338045636f7b\"> </a><p><b>Generated Narrative: SubscriptionStatus </b><a name=\"1aa43532-94b7-4463-8049-338045636f7b\"> </a><a name=\"hc1aa43532-94b7-4463-8049-338045636f7b\"> </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\">ResourceSubscriptionStatus &quot;1aa43532-94b7-4463-8049-338045636f7b&quot; </p></div><p><b>status</b>: active</p><p><b>type</b>: event-notification</p><p><b>eventsSinceSubscriptionStart</b>: 2</p><h3>NotificationEvents</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>EventNumber</b></td><td><b>Timestamp</b></td><td><b>Focus</b></td></tr><tr><td style=\"display: none\">*</td><td>, </td><td>2</td><td>May 29, 2020, 4:44:13 PM</td><td>See on this page: https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616</td></tr></table><p><b>subscription</b>: <a href=\"https://example.org/fhir/Subscription/admission\">https://example.org/fhir/Subscription/admission</a></p><p><b>topic</b>: <a href=\"http://hl7.org/SubscriptionTopic/admission\">http://hl7.org/SubscriptionTopic/admission</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [ fhir:v "event-notification"] ; # 
  fhir:eventsSinceSubscriptionStart [ fhir:v "2"] ; # 
  fhir:notificationEvent ( [
    ( fhir:extension [
      ( 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 "example" ] ;
fhir:display [ fhir:v "Example query" ]         ]       ] [
fhir:url [ fhir:v "query"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://example.org/fhir/$example?patient=$notificationPatientId" ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query"^^xsd:anyURI ]     ] [
      ( 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/MedicationRequest?patient=$notificationPatientId&encounter=$notificationEncounter1Id" ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-related-query"^^xsd:anyURI ]     ] ) ;
fhir:eventNumber [ fhir:v "2" ] ;
fhir:timestamp [ fhir:v "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime ] ;
fhir:focus [
fhir:link <https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616> ;
fhir:reference [ fhir:v "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616" ]     ]
  ] ) ; # 
  fhir:subscription [
fhir:link <https://example.org/fhir/Subscription/admission> ;
fhir:reference [ fhir:v "https://example.org/fhir/Subscription/admission" ]
  ] ; # 
  fhir:topic [
fhir:v "http://hl7.org/SubscriptionTopic/admission"^^xsd:anyURI ;
fhir:link <http://hl7.org/SubscriptionTopic/admission>
  ] . # 

<https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616> a fhir:Encounter ;
  fhir:id [ fhir:v "86009987-eabe-42bf-8c02-b112b18cb616"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_86009987-eabe-42bf-8c02-b112b18cb616\"> </a><p><b>Generated Narrative: Encounter </b><a name=\"86009987-eabe-42bf-8c02-b112b18cb616\"> </a><a name=\"hc86009987-eabe-42bf-8c02-b112b18cb616\"> </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\">ResourceEncounter &quot;86009987-eabe-42bf-8c02-b112b18cb616&quot; </p></div><p><b>status</b>: in-progress</p><p><b>class</b>: virtual (Details: ActCode code VR  = ' virtual ', stated as ' null ')</p><p><b>subject</b>: <a href=\"Bundle-r4-notification-multi-resource.html#https-//example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1\">https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1: Example Patient</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "VR" ]
  ] ; # 
  fhir:subject [
fhir:link <https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1> ;
fhir:reference [ fhir:v "https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1" ] ;
fhir:display [ fhir:v "Example Patient" ]
  ] . #