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

: Bundle 'Search Set' - YMCA Task 'accepted' - Scenario 3 - 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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Scen3TaskEHRResponseBundle1"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "https://YMCA.example.org/fhir/Task?_id=Scen3TaskYMCA"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/fhir/ServiceRequest/Scen3TaskYMCAV2"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/ServiceRequest/Scen3TaskYMCAV2> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] ) . # 

<http://example.org/fhir/ServiceRequest/Scen3TaskYMCAV2> a fhir:Task ;
  fhir:id [ fhir:v "Scen3TaskYMCAV2"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"Scen3TaskYMCAV2\"> </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 Task &quot;Scen3TaskYMCAV2&quot; </p></div><p><b>status</b>: in-progress</p><p><b>intent</b>: order</p><p><b>code</b>: Fulfill the focal request <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-task-code.html\">Task Codes</a>#fulfill)</span></p><p><b>focus</b>: <a href=\"ServiceRequest-Scen3ServiceRequest.html\">ServiceRequest/Scen3ServiceRequest</a></p><p><b>for</b>: <a href=\"Patient-Scen3PatientShevchenko.html\">Patient/Scen3PatientShevchenko: James Shevchenko</a> &quot; SHEVCHENKO&quot;</p><p><b>authoredOn</b>: 2023-05-15</p><p><b>requester</b>: <a href=\"Organization-Scen3OrgMainClinic.html\">Organization/Scen3OrgMainClinic: Main Street Clinic</a> &quot;Main Street Clinic&quot;</p><p><b>owner</b>: <a href=\"Organization-Scen3OrgYMCA.html\">Organization/Scen3OrgYMCA: Cincinnati Central YMCA</a> &quot;Cincinnati Central YMCA&quot;</p></div>"
  ] ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/CodeSystem/task-code"^^xsd:anyURI ] ;
fhir:code [ fhir:v "fulfill" ]     ] )
  ] ; # 
  fhir:focus [
fhir:reference [ fhir:v "ServiceRequest/Scen3ServiceRequest" ]
  ] ; # 
  fhir:for [
fhir:reference [ fhir:v "Patient/Scen3PatientShevchenko" ] ;
fhir:display [ fhir:v "James Shevchenko" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-05-15"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Organization/Scen3OrgMainClinic" ] ;
fhir:display [ fhir:v "Main Street Clinic" ]
  ] ; # 
  fhir:owner [
fhir:reference [ fhir:v "Organization/Scen3OrgYMCA" ] ;
fhir:display [ fhir:v "Cincinnati Central YMCA" ]
  ] . #