Subscriptions R5 Backport
1.1.0 - Standard for Trial Use International flag

This page is part of the Subscriptions R5 Backport (v1.1.0: STU 1.1) based on FHIR v4.3.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: R4B Notification: Multiple Resources - 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:Resource.id [ fhir:value "r4b-notification-multi-resource"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification>     ]
  ]; # 
  fhir:Bundle.type [ fhir:value "history"]; # 
  fhir:Bundle.timestamp [ fhir:value "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime]; # 
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:f05e460f-4d56-4fa0-8e60-502404e68be5" ];
     fhir:Bundle.entry.resource <urn:uuid:f05e460f-4d56-4fa0-8e60-502404e68be5>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "https://example.org/fhir/Subscription/admission/$status" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "200" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616" ];
     fhir:Bundle.entry.resource <https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Encounter" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "201" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1" ];
     fhir:Bundle.entry.resource <https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "200" ]     ]
  ]. # 

<urn:uuid:f05e460f-4d56-4fa0-8e60-502404e68be5> a fhir:SubscriptionStatus;
  fhir:Resource.id [ fhir:value "f05e460f-4d56-4fa0-8e60-502404e68be5"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: SubscriptionStatus</b><a name=\"f05e460f-4d56-4fa0-8e60-502404e68be5\"> </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\">Resource SubscriptionStatus &quot;f05e460f-4d56-4fa0-8e60-502404e68be5&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>-</td><td><b>EventNumber</b></td><td><b>Timestamp</b></td><td><b>Focus</b></td><td><b>AdditionalContext</b></td></tr><tr><td>*</td><td>2</td><td>30 May 2020, 2:44:13 am</td><td><a href=\"#Encounter_86009987-eabe-42bf-8c02-b112b18cb616\">See above (https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616)</a></td><td><a href=\"#Patient_1599eb66-431a-447c-a3de-6897fe9ae9a1\">See above (https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1)</a></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:SubscriptionStatus.status [ fhir:value "active"]; # 
  fhir:SubscriptionStatus.type [ fhir:value "event-notification"]; # 
  fhir:SubscriptionStatus.eventsSinceSubscriptionStart [ fhir:value "2"]; # 
  fhir:SubscriptionStatus.notificationEvent [
     fhir:index 0;
     fhir:SubscriptionStatus.notificationEvent.eventNumber [ fhir:value "2" ];
     fhir:SubscriptionStatus.notificationEvent.timestamp [ fhir:value "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime ];
     fhir:SubscriptionStatus.notificationEvent.focus [
       fhir:link <https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616>;
       fhir:Reference.reference [ fhir:value "https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616" ]     ];
     fhir:SubscriptionStatus.notificationEvent.additionalContext [
       fhir:index 0;
       fhir:link <https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1>;
       fhir:Reference.reference [ fhir:value "https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1" ]     ]
  ]; # 
  fhir:SubscriptionStatus.subscription [
     fhir:link <https://example.org/fhir/Subscription/admission>;
     fhir:Reference.reference [ fhir:value "https://example.org/fhir/Subscription/admission" ]
  ]; # 
  fhir:SubscriptionStatus.topic [
     fhir:value "http://hl7.org/SubscriptionTopic/admission";
     fhir:link <http://hl7.org/SubscriptionTopic/admission>
  ]. # 

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

<https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1> a fhir:Patient;
  fhir:Resource.id [ fhir:value "1599eb66-431a-447c-a3de-6897fe9ae9a1"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"1599eb66-431a-447c-a3de-6897fe9ae9a1\"> </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\">Resource Patient &quot;1599eb66-431a-447c-a3de-6897fe9ae9a1&quot; </p></div><p><b>active</b>: true</p><p><b>name</b>: Example Patient</p></div>"
  ]; # 
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean]; # 
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "usual" ];
     fhir:HumanName.text [ fhir:value "Example Patient" ];
     fhir:HumanName.family [ fhir:value "Patient" ];
     fhir:HumanName.given [
       fhir:value "Example";
       fhir:index 0     ]
  ]. # 

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.