Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Subscription-example-notification-id-only.ttl

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of a Subscription notification with payload: id-only

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

<http://hl7.org/fhir/Bundle/notification-id-only> a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "notification-id-only"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/subscription-event-count" ];
       fhir:Extension.valueUnsignedInt [ fhir:value "2"^^xsd:nonNegativeInteger ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/bundle-event-count" ];
       fhir:Extension.valueUnsignedInt [ fhir:value "1"^^xsd:nonNegativeInteger ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/subscription-status" ];
       fhir:Extension.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/subscription-topic-url" ];
       fhir:Extension.valueUrl [ fhir:value "https://example.org/baseR4/Topic/admission" ]
     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/subscription-url" ];
       fhir:Extension.valueUrl [ fhir:value "https://example.org/Subscription/cb2dce51-a1f5-40b4-a98b-c934eae368e8" ]
     ]
  ];
  fhir:Bundle.type [ fhir:value "history"];
  fhir:Bundle.timestamp [ fhir:value "2019-08-07T10:24:13.1882432-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.org/baseR4/Encounter/2" ];
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ];
       fhir:Bundle.entry.request.url [ fhir:value "Encounter/2" ]
     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "201" ]
     ]
  ] .

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

<http://hl7.org/fhir/Bundle/notification-id-only.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Bundle/notification-id-only.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.