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

Physical Activity Implementation Guide, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/physical-activity/ and changes regularly. See the Directory of published versions

: Bundle 'Search Set' - ServiceRequest - Exercise program referral - 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 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 "Scen3ServiceRequestYMCAResponseBundle"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "https://mainClinic.example.org/fhir/ServiceRequest?_id=Scen3ServiceRequest&_include=ServiceRequest:patient"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/fhir/ServiceRequest/Scen3ServiceRequest"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/ServiceRequest/Scen3ServiceRequest> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Patient/Scen3PatientShevchenko"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/Patient/Scen3PatientShevchenko> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] ) . # 

<http://example.org/fhir/ServiceRequest/Scen3ServiceRequest> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "Scen3ServiceRequest"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_Scen3ServiceRequest\"> </a><p><b>Generated Narrative: ServiceRequest</b><a name=\"Scen3ServiceRequest\"> </a><a name=\"hcScen3ServiceRequest\"> </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;Scen3ServiceRequest&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>: Referral to physical activity program <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#390893007)</span></p><p><b>subject</b>: <a href=\"#Patient_Scen3PatientShevchenko\">See above (Patient/Scen3PatientShevchenko: Nancy Johansson)</a></p><p><b>occurrence</b>: 2023-05-15 --&gt; 2023-08-30</p><p><b>authoredOn</b>: 2023-05-15</p><p><b>requester</b>: <a href=\"PractitionerRole-Scen3RoleBlackrock.html\">PractitionerRole/Scen3RoleBlackrock: Dr. Blackrock</a></p><p><b>reasonCode</b>: Lack of physical exercise <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#40979000)</span></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:390893007 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "390893007" ] ;
fhir:display [ fhir:v "Referral to physical activity program" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Scen3PatientShevchenko" ] ;
fhir:display [ fhir:v "Nancy Johansson" ]
  ] ; # 
  fhir:occurrence [
a fhir:Period ;
fhir:start [ fhir:v "2023-05-15"^^xsd:date ] ;
fhir:end [ fhir:v "2023-08-30"^^xsd:date ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-05-15"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "PractitionerRole/Scen3RoleBlackrock" ] ;
fhir:display [ fhir:v "Dr. Blackrock" ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:40979000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "40979000" ] ;
fhir:display [ fhir:v "Lack of physical exercise" ]     ] )
  ] ) . # 

<http://example.org/fhir/Patient/Scen3PatientShevchenko> a fhir:Patient ;
  fhir:id [ fhir:v "Scen3PatientShevchenko"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_Scen3PatientShevchenko\"> </a><p><b>Generated Narrative: Patient</b><a name=\"Scen3PatientShevchenko\"> </a><a name=\"hcScen3PatientShevchenko\"> </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;Scen3PatientShevchenko&quot; </p></div><p><b>identifier</b>: <code>http://hospital.example.org/patients</code>/123456</p><p><b>active</b>: true</p><p><b>name</b>: James Shevchenko (OFFICIAL)</p><p><b>telecom</b>: <a href=\"tel:+1-800-123-4567\">+1-800-123-4567</a>, <a href=\"mailto:mshevchenko@example.com\">mshevchenko@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1980-01-01</p><p><b>address</b>: 123 Main St Cincinnati OH 45202 USA (HOME)</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://hospital.example.org/patients"^^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 "Shevchenko" ] ;
    ( fhir:given [ fhir:v "James" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+1-800-123-4567" ] ;
fhir:use [ fhir:v "home" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mshevchenko@example.com" ] ;
fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1980-01-01"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
    ( fhir:line [ fhir:v "123 Main St" ] ) ;
fhir:city [ fhir:v "Cincinnati" ] ;
fhir:state [ fhir:v "OH" ] ;
fhir:postalCode [ fhir:v "45202" ] ;
fhir:country [ fhir:v "USA" ]
  ] ) . #