Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Subscription - GetFit Monitoring Task - Scenario 2 - 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 "Scen2SubscriptionGetFit"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Subscription</b><a name=\"Scen2SubscriptionGetFit\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Subscription &quot;Scen2SubscriptionGetFit&quot; </p></div><p><b>status</b>: requested</p><p><b>contact</b>: ph: 987-654-3210(WORK), <a href=\"mailto:getFit@example.org\">getFit@example.org</a></p><p><b>end</b>: Jan 1, 2024, 12:00:00 AM</p><p><b>reason</b>: Monitoring task updates</p><p><b>criteria</b>: Task?owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining</p><h3>Channels</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td style=\"display: none\">*</td><td>rest-hook</td><td><a href=\"https://getFit.example.org/subscriptionNotifications\">https://getFit.example.org/subscriptionNotifications</a></td><td>application/fhir+json</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:contact ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "987-654-3210" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "getFit@example.org" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:end [ fhir:v "2024-01-01T00:00:00Z"^^xsd:dateTime] ; # 
  fhir:reason [ fhir:v "Monitoring task updates"] ; # 
  fhir:criteria [ fhir:v "Task?owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining"] ; # 
  fhir:channel [
fhir:type [ fhir:v "rest-hook" ] ;
fhir:endpoint [ fhir:v "https://getFit.example.org/subscriptionNotifications"^^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 "empty" ]       ] )     ]
  ] . #