This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
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 Subscription
@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/Subscription/example> a fhir:Subscription; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>" ]; fhir:Subscription.status [ fhir:value "requested"]; fhir:Subscription.contact [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "phone" ]; fhir:ContactPoint.value [ fhir:value "ext 4123" ] ]; fhir:Subscription.end [ fhir:value "2021-01-01T00:00:00Z"^^xsd:dateTime]; fhir:Subscription.reason [ fhir:value "Monitor new neonatal function"]; fhir:Subscription.criteria [ fhir:value "Observation?code=http://loinc.org|1975-2"]; fhir:Subscription.channel [ fhir:Subscription.channel.type [ fhir:value "rest-hook" ]; fhir:Subscription.channel.endpoint [ fhir:value "https://biliwatch.com/customers/mount-auburn-miu/on-result" ]; fhir:Subscription.channel.payload [ fhir:value "application/fhir+json" ]; fhir:Subscription.channel.header [ fhir:value "Authorization: Bearer secret-token-abc-123"; fhir:index 0 ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Subscription/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Subscription/example.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.