This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v1.0.0: STU1 Release 1) based on FHIR 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
: Encounter Start Subscription Topic Example - 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 "encounter-start-subscription-example"] ; #
fhir:meta [
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-encounter-start-subscription"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-encounter-start-subscription> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Encounter Start Subscription Example</b></p></div>"
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:reason [ fhir:v "Creation of subscription based on encounter-start trigger event from PlanDefintiion."] ; #
fhir:criteria [
fhir:v "http://hl7.org/fhir/us/medmorph/SubscriptionTopic/encounter-start" ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter?status=in-progress" ] ] )
] ; #
fhir:channel [
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period"^^xsd:anyURI ] ;
fhir:value [ fhir:v "86400"^^xsd:nonNegativeInteger ] ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout"^^xsd:anyURI ] ;
fhir:value [ fhir:v "60"^^xsd:nonNegativeInteger ] ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count"^^xsd:anyURI ] ;
fhir:value [ fhir:v "20"^^xsd:positiveInteger ] ] ) ;
fhir:type [ fhir:v "rest-hook" ] ;
fhir:endpoint [ fhir:v "https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d"^^xsd:anyURI ] ;
fhir:payload [
fhir:v "application/fhir+json" ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content"^^xsd:anyURI ] ;
fhir:value [ fhir:v "id-only" ] ] ) ]
] . #