This page is part of the Carequality Subscription Implementation Guide for Push Notifications (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. 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
: Example Subscribing - 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:id [ fhir:v "CEQSubscriptionExample"] ; #
fhir:meta [
( fhir:profile [
fhir:v "https://carequality.org/IG/push-notifications/StructureDefinition/CEQsubscription"^^xsd:anyURI ;
fhir:link <https://carequality.org/IG/push-notifications/StructureDefinition/CEQsubscription> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Subscription CEQSubscriptionExample</b></p><a name=\"CEQSubscriptionExample\"> </a><a name=\"hcCEQSubscriptionExample\"> </a><a name=\"CEQSubscriptionExample-en-US\"> </a><blockquote><p><b>Carequality Subscription Required Elements</b></p><ul><li>subIdentifier: sub123</li><li>searchParamName: PatientID</li><li>searchModifier: eq</li><li>endUser: Dr. David AnyDoc</li><li>CQOrganization: 02yr0qwy40</li></ul></blockquote><p><b>Backport R5 Subscription Topic Canonical</b>: <code>http://www.carequality.org/CEQTopic/snradmit</code></p><p><b>status</b>: Active</p><p><b>contact</b>: ph: 555-555-5555</p><p><b>end</b>: 2021-01-01 00:00:00+0000</p><p><b>reason</b>: Example</p><p><b>criteria</b>: Patient?identifier=MRN123</p><h3>Channels</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>Rest Hook</td><td><a href=\"http://www.example.org/fhir/subscription/sub123\">http://www.example.org/fhir/subscription/sub123</a></td></tr></table></div>"
] ; #
fhir:extension ( [
( fhir:extension [
fhir:url [ fhir:v "subIdentifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "sub123" ] ] [
fhir:url [ fhir:v "searchParamName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "PatientID" ] ] [
fhir:url [ fhir:v "searchModifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "eq" ] ] [
fhir:url [ fhir:v "endUser"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Dr. David AnyDoc" ] ] [
fhir:url [ fhir:v "CQOrganization"^^xsd:anyURI ] ;
fhir:value [ fhir:v "02yr0qwy40" ] ] ) ;
fhir:url [ fhir:v "https://carequality.org/IG/push-notifications/StructureDefinition/CEQextension"^^xsd:anyURI ]
] [
fhir:url [ fhir:v "https://carequality.org/IG/push-notifications/StructureDefinition/backport-topic-canonical"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://www.carequality.org/CEQTopic/snradmit"^^xsd:anyURI ;
fhir:link <http://www.carequality.org/CEQTopic/snradmit> ]
] ) ; #
fhir:status [ fhir:v "active"] ; #
fhir:contact ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "555-555-5555" ]
] ) ; #
fhir:end [ fhir:v "2021-01-01T00:00:00Z"^^xsd:dateTime] ; #
fhir:reason [ fhir:v "Example"] ; #
fhir:criteria [ fhir:v "Patient?identifier=MRN123"] ; #
fhir:channel [
fhir:type [ fhir:v "rest-hook" ] ;
fhir:endpoint [ fhir:v "http://www.example.org/fhir/subscription/sub123"^^xsd:anyURI ]
] . #