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 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

: Bundle 'Search Set' - Goal - Updated goal(s) - Scenario 4 - 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 "Scen4GoalBundle2"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "2"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "https://ufit.example.org/fhir/Goal?patient=Patient/Scen4PatientScarborough&status=active,on-hold,completed&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Goal/Scen4Goal1V2"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/Goal/Scen4Goal1V2> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Goal/Scen4Goal2V1"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/Goal/Scen4Goal2V1> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] ) . # 

<http://example.org/fhir/Goal/Scen4Goal1V2> a fhir:Goal ;
  fhir:id [ fhir:v "Scen4Goal1V2"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Goal</b><a name=\"Scen4Goal1V2\"> </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 Goal &quot;Scen4Goal1V2&quot; </p></div><p><b>lifecycleStatus</b>: active</p><p><b>achievementStatus</b>: Achieved <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-goal-achievement.html\">Goal achievement status</a>#achieved)</span></p><p><b>category</b>: Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>description</b>: Lifting 30 minutes a day, 5 days a week. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-Scen4PatientScarborough.html\">Patient/Scen4PatientScarborough: Jessica Scarborough</a> &quot; SCARBOROUGH&quot;</p></div>"
  ] ; # 
  fhir:lifecycleStatus [ fhir:v "active"] ; # 
  fhir:achievementStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/goal-achievement"^^xsd:anyURI ] ;
fhir:code [ fhir:v "achieved" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PhysicalActivity" ]     ] )
  ] ) ; # 
  fhir:description [
fhir:text [ fhir:v "Lifting 30 minutes a day, 5 days a week." ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Scen4PatientScarborough" ] ;
fhir:display [ fhir:v "Jessica Scarborough" ]
  ] . # 

<http://example.org/fhir/Goal/Scen4Goal2V1> a fhir:Goal ;
  fhir:id [ fhir:v "Scen4Goal2V1"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Goal</b><a name=\"Scen4Goal2V1\"> </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 Goal &quot;Scen4Goal2V1&quot; </p></div><p><b>lifecycleStatus</b>: active</p><p><b>achievementStatus</b>: In Progress <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-goal-achievement.html\">Goal achievement status</a>#in-progress)</span></p><p><b>category</b>: Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>description</b>: Lifting 45 minutes a day, 5 days a week. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-Scen4PatientScarborough.html\">Patient/Scen4PatientScarborough: Jessica Scarborough</a> &quot; SCARBOROUGH&quot;</p></div>"
  ] ; # 
  fhir:lifecycleStatus [ fhir:v "active"] ; # 
  fhir:achievementStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/goal-achievement"^^xsd:anyURI ] ;
fhir:code [ fhir:v "in-progress" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PhysicalActivity" ]     ] )
  ] ) ; # 
  fhir:description [
fhir:text [ fhir:v "Lifting 45 minutes a day, 5 days a week." ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Scen4PatientScarborough" ] ;
fhir:display [ fhir:v "Jessica Scarborough" ]
  ] . #