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
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of a Subscription notification with payload: empty
@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-empty> a fhir:Bundle; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "notification-empty"]; 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 "1"^^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] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Bundle/notification-empty.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Bundle/notification-empty.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.