Subscriptions R5 Backport
1.0.0 - ballot International flag

Subscriptions R5 Backport, published by HL7 FHIR Infrastructure WG. This is not an authorized publication; it is the continuous build for version 1.0.0). 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 Subscription: Multi-Resource - 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:Subscription;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "subscription-multi-resource"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"subscription-multi-resource\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-backport-subscription.html\">Backported R5 Subscription</a></p></div><p><b>status</b>: active</p><p><b>end</b>: Dec 31, 2020, 12:00:00 PM</p><p><b>reason</b>: Example Backported Subscription for Multiple Resources</p><p><b>criteria</b>: http://hl7.org/SubscriptionTopic/admission</p><h3>Channels</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td>*</td><td>, , </td><td>rest-hook</td><td><a href=\"https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d\">https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d</a></td><td>application/fhir+json</td></tr></table></div>"
  ];
  fhir:Subscription.status [ fhir:value "active"];
  fhir:Subscription.end [ fhir:value "2020-12-31T12:00:00Z"^^xsd:dateTime];
  fhir:Subscription.reason [ fhir:value "Example Backported Subscription for Multiple Resources"];
  fhir:Subscription.criteria [
     fhir:value "http://hl7.org/SubscriptionTopic/admission";
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria" ];
       fhir:Extension.valueString [ fhir:value "Observation?subject=Patient/123" ]     ]
  ];
  fhir:Subscription.channel [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period" ];
       fhir:Extension.valueUnsignedInt [ fhir:value "86400"^^xsd:nonNegativeInteger ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout" ];
       fhir:Extension.valueUnsignedInt [ fhir:value "60"^^xsd:nonNegativeInteger ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count" ];
       fhir:Extension.valuePositiveInt [ fhir:value "20"^^xsd:positiveInteger ]     ];
     fhir:Subscription.channel.type [ fhir:value "rest-hook" ];
     fhir:Subscription.channel.endpoint [ fhir:value "https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d" ];
     fhir:Subscription.channel.payload [
       fhir:value "application/fhir+json";
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content" ];
         fhir:Extension.valueCode [ fhir:value "id-only" ]       ]     ]
  ].

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

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