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

: R4 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 "r4-notification-multi-resource"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4>     ]
  ]; # 
  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:7bd91d26-c951-4520-9ac6-67f41bfbe897" ];
     fhir:Bundle.entry.resource <urn:uuid:7bd91d26-c951-4520-9ac6-67f41bfbe897>;
     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:7bd91d26-c951-4520-9ac6-67f41bfbe897> a fhir:Parameters;
  fhir:Resource.id [ fhir:value "7bd91d26-c951-4520-9ac6-67f41bfbe897"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4>     ]
  ]; # 
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "subscription" ];
     fhir:Parameters.parameter.valueReference [
       fhir:link <https://example.org/fhir/Subscription/admission>;
       fhir:Reference.reference [ fhir:value "https://example.org/fhir/Subscription/admission" ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "topic" ];
     fhir:Parameters.parameter.valueCanonical [
       fhir:value "http://hl7.org/SubscriptionTopic/admission";
       fhir:link <http://hl7.org/SubscriptionTopic/admission>     ]
  ], [
     fhir:index 2;
     fhir:Parameters.parameter.name [ fhir:value "status" ];
     fhir:Parameters.parameter.valueCode [ fhir:value "active" ]
  ], [
     fhir:index 3;
     fhir:Parameters.parameter.name [ fhir:value "type" ];
     fhir:Parameters.parameter.valueCode [ fhir:value "event-notification" ]
  ], [
     fhir:index 4;
     fhir:Parameters.parameter.name [ fhir:value "events-since-subscription-start" ];
     fhir:Parameters.parameter.valueString [ fhir:value "2" ]
  ], [
     fhir:index 5;
     fhir:Parameters.parameter.name [ fhir:value "notification-event" ];
     fhir:Parameters.parameter.part [
       fhir:index 0;
       fhir:Parameters.parameter.name [ fhir:value "event-number" ];
       fhir:Parameters.parameter.valueString [ fhir:value "2" ]     ], [
       fhir:index 1;
       fhir:Parameters.parameter.name [ fhir:value "timestamp" ];
       fhir:Parameters.parameter.valueInstant [ fhir:value "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime ]     ], [
       fhir:index 2;
       fhir:Parameters.parameter.name [ fhir:value "focus" ];
       fhir:Parameters.parameter.valueReference [
         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:index 3;
       fhir:Parameters.parameter.name [ fhir:value "additional-context" ];
       fhir:Parameters.parameter.valueReference [
         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" ]       ]     ]
  ]. # 

<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.