Subscriptions R5 Backport
1.2.0-ballot - ballot

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

## : R4 Notification: Full Resource with related 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 "r4-notification-full-resource-with-query"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4>     ] )
      ] ; #
      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:919ce5d0-d77c-44a7-a397-d8b2a05fd1bf"^^xsd:anyURI ] ;
        ( fhir:resource <urn:uuid:919ce5d0-d77c-44a7-a397-d8b2a05fd1bf> ) ;
    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:919ce5d0-d77c-44a7-a397-d8b2a05fd1bf> a fhir:Parameters ;
      fhir:id [ fhir:v "919ce5d0-d77c-44a7-a397-d8b2a05fd1bf"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4>     ] )
      ] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "subscription" ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:link <https://example.org/fhir/Subscription/admission> ;
    fhir:reference [ fhir:v "https://example.org/fhir/Subscription/admission" ]     ]
      ] [
    fhir:name [ fhir:v "topic" ] ;
    fhir:value [
    fhir:v "http://hl7.org/SubscriptionTopic/admission"^^xsd:anyURI ;
    fhir:link <http://hl7.org/SubscriptionTopic/admission>     ]
      ] [
    fhir:name [ fhir:v "status" ] ;
    fhir:value [ fhir:v "active" ]
      ] [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [ fhir:v "event-notification" ]
      ] [
    fhir:name [ fhir:v "events-since-subscription-start" ] ;
    fhir:value [ fhir:v "2" ]
      ] [
    fhir:name [ fhir:v "notification-event" ] ;
        ( fhir:part [
    fhir:name [ fhir:v "event-number" ] ;
    fhir:value [ fhir:v "2" ]     ] [
    fhir:name [ fhir:v "timestamp" ] ;
    fhir:value [ fhir:v "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime ]     ] [
    fhir:name [ fhir:v "focus" ] ;
    fhir:value [
    a fhir:Reference ;
    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:name [ fhir:v "related-query" ] ;
          ( fhir:part [
    fhir:name [ fhir:v "query-type" ] ;
    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:name [ fhir:v "query" ] ;
    fhir:value [ fhir:v "http://example.org/fhir/$example?patient=$notificationPatientId" ]       ] )     ] [
    fhir:name [ fhir:v "related-query" ] ;
          ( fhir:part [
    fhir:name [ fhir:v "query-type" ] ;
    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:name [ fhir:v "query" ] ;
    fhir:value [ fhir:v "http://example.org/fhir/MedicationRequest?patient=$notificationPatientId&encounter=$notificationEncounter1Id" ]       ] )     ] )
      ] ) . #

    <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" ]
      ] . #