Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1 United States of America flag

Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. 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" ]       ] )     ]
  ] . #