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' - Task - GetFit Fulfillment Request - 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Scen2TaskGetFitResponseBundle"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "Task?status=requested&owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining&_include=Task:patient&_include=Task:focus"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Task/Scen2TaskGetFitV1"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/Task/Scen2TaskGetFitV1> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Patient/Scen2PatientJohansson"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/Patient/Scen2PatientJohansson> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/ServiceRequest/Scen2ServiceRequest"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/ServiceRequest/Scen2ServiceRequest> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] ) . # 

<http://example.org/fhir/Task/Scen2TaskGetFitV1> a fhir:Task ;
  fhir:id [ fhir:v "Scen2TaskGetFitV1"] ; # 
  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=\"Scen2TaskGetFitV1\"> </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;Scen2TaskGetFitV1&quot; </p></div><p><b>status</b>: requested</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_Scen2ServiceRequest\">See above (ServiceRequest/Scen2ServiceRequest)</a></p><p><b>for</b>: <a href=\"#Patient_Scen2PatientJohansson\">See above (Patient/Scen2PatientJohansson: Nancy Johansson)</a></p><p><b>authoredOn</b>: 2023-03-15</p><p><b>requester</b>: <a href=\"Organization-Scen2OrgGoodCardio.html\">Organization/Scen2OrgGoodCardio: Good Health Cardiology</a> &quot;Good Health Cardiology&quot;</p><p><b>owner</b>: <a href=\"Organization-Scen2OrgGetFitTraining.html\">Organization/Scen2OrgGetFitTraining: Get Fit</a> &quot;Get Fit Training&quot;</p></div>"
  ] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  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/Scen2ServiceRequest" ]
  ] ; # 
  fhir:for [
fhir:reference [ fhir:v "Patient/Scen2PatientJohansson" ] ;
fhir:display [ fhir:v "Nancy Johansson" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-03-15"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Organization/Scen2OrgGoodCardio" ] ;
fhir:display [ fhir:v "Good Health Cardiology" ]
  ] ; # 
  fhir:owner [
fhir:reference [ fhir:v "Organization/Scen2OrgGetFitTraining" ] ;
fhir:display [ fhir:v "Get Fit" ]
  ] . # 

<http://example.org/fhir/Patient/Scen2PatientJohansson> a fhir:Patient ;
  fhir:id [ fhir:v "Scen2PatientJohansson"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"Scen2PatientJohansson\"> </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 Patient &quot;Scen2PatientJohansson&quot; </p></div><p><b>identifier</b>: Medical record number: 123456 (use: USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Nancy Johansson (OFFICIAL)</p><p><b>telecom</b>: <a href=\"tel:+1(555)555-5555\">+1 (555) 555-5555</a>, <a href=\"mailto:nancy.johansson@example.org\">nancy.johansson@example.org</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1960-05-15</p><p><b>address</b>: 123 Main St Springfield IL 62701 USA (HOME)</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ] ;
fhir:display [ fhir:v "Medical record number" ]       ] ) ;
fhir:text [ fhir:v "Medical record number" ]     ] ;
fhir:system [ fhir:v "http://goodCardio.example.org/identifiers/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "123456" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Johansson" ] ;
    ( fhir:given [ fhir:v "Nancy" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+1 (555) 555-5555" ] ;
fhir:use [ fhir:v "home" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "nancy.johansson@example.org" ] ;
fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1960-05-15"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
    ( fhir:line [ fhir:v "123 Main St" ] ) ;
fhir:city [ fhir:v "Springfield" ] ;
fhir:state [ fhir:v "IL" ] ;
fhir:postalCode [ fhir:v "62701" ] ;
fhir:country [ fhir:v "USA" ]
  ] ) . # 

<http://example.org/fhir/ServiceRequest/Scen2ServiceRequest> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "Scen2ServiceRequest"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"Scen2ServiceRequest\"> </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 ServiceRequest &quot;Scen2ServiceRequest&quot; </p></div><p><b>status</b>: active</p><p><b>intent</b>: order</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>priority</b>: routine</p><p><b>code</b>: Ms. Johansson suffered from a mild heart attack last fall.  She has made a full recovery.  However, her level of physical activity has significantly declined from that prior to her incident due to discomfort and concerns about triggering another event.  I have explained that this reduced level of activity has negative implications for her health.\n\nMs. Johnson has agreed that some 1-on-1 consultation with an exercise professional who can help her resume a level of physical activity that is safe and feels positive would be helpful.  Please meet with her and support her in this endeavor. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#409063005 &quot;Counseling&quot;)</span></p><p><b>subject</b>: <a href=\"#Patient_Scen2PatientJohansson\">See above (Patient/Scen2PatientJohansson: Nancy Johansson)</a></p><p><b>occurrence</b>: 2023-03-16 --&gt; 2023-06-16</p><p><b>authoredOn</b>: 2023-03-16</p><p><b>requester</b>: <a href=\"PractitionerRole-Scen2RoleLopez.html\">PractitionerRole/Scen2RoleLopez: Dr. Lopez</a></p><p><b>reasonReference</b>: <a href=\"Condition-Scen2ConditionHypertension.html\">Condition/Scen2ConditionHypertension</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  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:priority [ fhir:v "routine"] ; # 
  fhir:code [
    ( fhir:coding [
a sct:409063005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "409063005" ] ;
fhir:display [ fhir:v "Counseling" ]     ] ) ;
fhir:text [ fhir:v "Ms. Johansson suffered from a mild heart attack last fall.  She has made a full recovery.  However, her level of physical activity has significantly declined from that prior to her incident due to discomfort and concerns about triggering another event.  I have explained that this reduced level of activity has negative implications for her health.\n\nMs. Johnson has agreed that some 1-on-1 consultation with an exercise professional who can help her resume a level of physical activity that is safe and feels positive would be helpful.  Please meet with her and support her in this endeavor." ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Scen2PatientJohansson" ] ;
fhir:display [ fhir:v "Nancy Johansson" ]
  ] ; # 
  fhir:occurrence [
a fhir:Period ;
fhir:start [ fhir:v "2023-03-16"^^xsd:date ] ;
fhir:end [ fhir:v "2023-06-16"^^xsd:date ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-03-16"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "PractitionerRole/Scen2RoleLopez" ] ;
fhir:display [ fhir:v "Dr. Lopez" ]
  ] ; # 
  fhir:reasonReference ( [
fhir:reference [ fhir:v "Condition/Scen2ConditionHypertension" ]
  ] ) . #