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
Page standards status: Informative |
@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:ExampleScenario ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Scen4PhysicalActivityPlan"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ExampleScenario</b><a name=\"Scen4PhysicalActivityPlan\"> </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 ExampleScenario "Scen4PhysicalActivityPlan" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: PatientWorksWithPersonalTrainer</p><p><b>status</b>: draft</p><p><b>date</b>: 2023-08-25 16:04:38+0000</p><p><b>publisher</b>: HL7 International - Patient Care WG</p><p><b>contact</b>: HL7 International - Patient Care WG: <a href=\"http://www.hl7.org/Special/committees/patientcare\">http://www.hl7.org/Special/committees/patientcare</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>actor</b></p><p><b>actorId</b>: patient-app</p><p><b>type</b>: entity</p><p><b>name</b>: Patient Application</p><p><b>description</b>: A phone or web-based app used by Ms. Scarborough to track her physical activity</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: provider-app</p><p><b>type</b>: entity</p><p><b>name</b>: Provider Application</p><p><b>description</b>: A phone or web-based app used by Ms. Rocha to manage her clients' data</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4query1</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient physical activity care plans</p><p><b>description</b>: Query for CarePlans for a patient: `GET https://ufit.example.org/fhir/CarePlan?patient=Patient/Scen4PatientScarborough&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4query2</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient physical activity goals</p><p><b>description</b>: Query for Goals for a patient: `GET 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`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4query3</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient uncomplete tasks</p><p><b>description</b>: Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4CarePlan</p><p><b>resourceType</b>: CarePlan</p><p><b>name</b>: Patient physical activity care plan</p><p><b>description</b>: CarePlan describing proposed exercise regime</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial CarePlan</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"CarePlan-Scen4CarePlanV1.html\">CarePlan/Scen4CarePlanV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Planning for weight lifting, 30 minutes/day</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Updated CarePlan</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"CarePlan-Scen4CarePlanV2.html\">CarePlan/Scen4CarePlanV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Planning for weight lifting, 15 + 30 minutes/day</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4Goal1</p><p><b>resourceType</b>: Goal</p><p><b>name</b>: Physical Activity weekly target</p><p><b>description</b>: Goal indicating target number of minutes/day and days/week weight-lifting</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial goal</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Goal-Scen4Goal1V1.html\">Goal/Scen4Goal1V1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial value of 30 mins/day</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial goal</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Goal-Scen4Goal1V2.html\">Goal/Scen4Goal1V2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: 30 mins/day-completed</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4Goal2</p><p><b>resourceType</b>: Goal</p><p><b>name</b>: Physical Activity weekly target</p><p><b>description</b>: Increased goal indicating target number of minutes/day and days/week weight-lifting</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial goal</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Goal-Scen4Goal2V1.html\">Goal/Scen4Goal2V1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial value of 45 mins/day</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial goal</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Goal-Scen4Goal2V2.html\">Goal/Scen4Goal2V2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Sustaining 45 mins/day</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4CarePlanBundle1.html\">Bundle/Scen4CarePlanBundle1</a></p><p><b>resourceId</b>: Scen4CarePlanBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of Care Plans</p><p><b>description</b>: Initial search results on Care plan for the patient</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4CarePlan</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4CarePlanBundle2.html\">Bundle/Scen4CarePlanBundle2</a></p><p><b>resourceId</b>: Scen4CarePlanBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of Care Plans#2</p><p><b>description</b>: New search results on Care plan for the patient</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4CarePlan</td><td>2</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4GoalBundle1.html\">Bundle/Scen4GoalBundle1</a></p><p><b>resourceId</b>: Scen4GoalBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of Goals</p><p><b>description</b>: Initial search results on Goal for the patient</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4Goal1</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4GoalBundle2.html\">Bundle/Scen4GoalBundle2</a></p><p><b>resourceId</b>: Scen4GoalBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of Goals</p><p><b>description</b>: Initial search results on Goal for the patient</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4Goal2</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4TaskBundle1.html\">Bundle/Scen4TaskBundle1</a></p><p><b>resourceId</b>: Scen4TaskBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of active patient Tasks#1</p><p><b>description</b>: Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskFillSurvey</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4TaskBundle2.html\">Bundle/Scen4TaskBundle2</a></p><p><b>resourceId</b>: Scen4TaskBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of active patient Tasks#2</p><p><b>description</b>: Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskReviewVideo</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen4TaskBundle3.html\">Bundle/Scen4TaskBundle3</a></p><p><b>resourceId</b>: Scen4TaskBundle3</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set of active patient Tasks#3</p><p><b>description</b>: Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskFillSurvey2</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationActivityType.html\">Observation/Scen4ObservationActivityType</a></p><p><b>resourceId</b>: Scen4ObservationActivityType</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example physical activity type record</p><p><b>description</b>: A sample record indicating the type of physical activity performed by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationEVSMinutesPerDay.html\">Observation/Scen4ObservationEVSMinutesPerDay</a></p><p><b>resourceId</b>: Scen4ObservationEVSMinutesPerDay</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Initial minutes/day of cardio</p><p><b>description</b>: A sample record of the minutes per day of cardio done by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationPeakDailyHeartRate.html\">Observation/Scen4ObservationPeakDailyHeartRate</a></p><p><b>resourceId</b>: Scen4ObservationPeakDailyHeartRate</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example peak daily heart rate</p><p><b>description</b>: A sample record of daily calories captured by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationEVSMinutesPerDay2.html\">Observation/Scen4ObservationEVSMinutesPerDay2</a></p><p><b>resourceId</b>: Scen4ObservationEVSMinutesPerDay2</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Updated minutes/day of cardio</p><p><b>description</b>: A second sample record of the minutes per day of cardio done by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationDailySteps.html\">Observation/Scen4ObservationDailySteps</a></p><p><b>resourceId</b>: Scen4ObservationDailySteps</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example daily step count</p><p><b>description</b>: A sample record of daily steps captured by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationCaloriesPerDay.html\">Observation/Scen4ObservationCaloriesPerDay</a></p><p><b>resourceId</b>: Scen4ObservationCaloriesPerDay</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example daily calories</p><p><b>description</b>: A sample record of daily calories captured by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen4ObservationEVSMinutesPerDay3.html\">Observation/Scen4ObservationEVSMinutesPerDay3</a></p><p><b>resourceId</b>: Scen4ObservationEVSMinutesPerDay3</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Final minutes/day of cardio</p><p><b>description</b>: A third sample record of the minutes per day of cardio done by the patient</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4TaskFillSurvey</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Request for patient to fill out survey</p><p><b>description</b>: Patient Task requesting patient to fill out a satisfaction survey</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskFillSurveyV1.html\">Task/Scen4TaskFillSurveyV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial request to fill out survey</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Completed request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskFillSurveyV2.html\">Task/Scen4TaskFillSurveyV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Survey has been filled out and response has been attached to Task</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4TaskFillSurvey2</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Second request for patient to fill out survey</p><p><b>description</b>: New patient Task requesting patient to fill out a satisfaction survey</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskFillSurvey2V1.html\">Task/Scen4TaskFillSurvey2V1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial request to fill out survey</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Completed request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskFillSurvey2V2.html\">Task/Scen4TaskFillSurvey2V2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Survey has been filled out and response has been attached to Task</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen4TaskReviewVideo</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Request for patient to view video</p><p><b>description</b>: New patient Task requesting patient to fill out a satisfaction survey</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskReviewVideoV1.html\">Task/Scen4TaskReviewVideoV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial request to view a video</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Completed request</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen4TaskReviewVideoV2.html\">Task/Scen4TaskReviewVideoV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Updated request indicating video has been viewed</p></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Physical Activity Plan Establishment and Observations</p><p><b>preConditions</b>: CarePlan and initial Goal are created, Patient and Provider apps are operational</p><p><b>postConditions</b>: CarePlan and Goal successfully retrieved</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 1</p><p><b>type</b>: search-type</p><p><b>name</b>: Query CarePlan</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app queries exercise CarePlan describing proposed exercise regime.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query1</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4CarePlanBundle1</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 2</p><p><b>type</b>: search-type</p><p><b>name</b>: Query Goals</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app queries Goals.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query2</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4GoalBundle1</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Post Observations, CarePlan adjustment and new Goals</p><p><b>preConditions</b>: Initial care plan and goal retrieved</p><p><b>postConditions</b>: Care plan followed, various observations are posted by the patient and initial goal accomplished (along with filling survey). Care plan is adjusted, new goal is set, and observations are posted</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 3</p><p><b>type</b>: create</p><p><b>name</b>: Post activity type</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationActivityType</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 4</p><p><b>type</b>: create</p><p><b>name</b>: Post min/day</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationEVSMinutesPerDay</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 5</p><p><b>type</b>: create</p><p><b>name</b>: Post peak daily heart rate</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationPeakDailyHeartRate</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 6</p><p><b>type</b>: create</p><p><b>name</b>: Post min/day #2</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationEVSMinutesPerDay2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 7</p><p><b>type</b>: create</p><p><b>name</b>: Post daily steps</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationDailySteps</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 8</p><p><b>type</b>: create</p><p><b>name</b>: Post peak daily calories</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationCaloriesPerDay</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 9</p><p><b>type</b>: update</p><p><b>name</b>: Update goal</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4Goal1</td><td>2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 10</p><p><b>type</b>: search-type</p><p><b>name</b>: Retrieve patient tasks#1</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to fill out a survey.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query3</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskBundle1</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 11</p><p><b>type</b>: update</p><p><b>name</b>: Update task#1</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskFillSurvey</td><td>2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 12</p><p><b>type</b>: search-type</p><p><b>name</b>: Retrieve patient tasks#2</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to reivew a video.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query3</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 13</p><p><b>type</b>: update</p><p><b>name</b>: Update task#2</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskReviewVideo</td><td>2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 14</p><p><b>type</b>: search-type</p><p><b>name</b>: Query CarePlan#2</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query1</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4CarePlanBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 15</p><p><b>type</b>: search-type</p><p><b>name</b>: Query Goals#2</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: After a phone call, patient uses app to retrieve updated Goals.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query2</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4GoalBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 16</p><p><b>type</b>: create</p><p><b>name</b>: Post min/day #3</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4ObservationEVSMinutesPerDay3</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 17</p><p><b>type</b>: update</p><p><b>name</b>: Update goal</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient updates their second goal to indicate it's achieved, but they want to stay where they are. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal2`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4Goal2</td><td>2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><p><b>pause</b>: true</p><blockquote><p><b>operation</b></p><p><b>number</b>: 18</p><p><b>type</b>: search-type</p><p><b>name</b>: Retrieve patient tasks#3</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to complete a second survey.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4query3</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskBundle3</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 19</p><p><b>type</b>: update</p><p><b>name</b>: Update task#3</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: provider-app</p><p><b>description</b>: Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen4TaskFillSurvey2</td><td>2</td></tr></table></blockquote></blockquote></blockquote></div>" ] ; # fhir:url [ fhir:v "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan"^^xsd:anyURI] ; # fhir:version [ fhir:v "1.0.0"] ; # fhir:name [ fhir:v "PatientWorksWithPersonalTrainer"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2023-08-25T16:04:38+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International - Patient Care WG"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 International - Patient Care WG" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ] ] ) ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ] ) ] ) ; # fhir:actor ( [ fhir:actorId [ fhir:v "patient-app" ] ; fhir:type [ fhir:v "entity" ] ; fhir:name [ fhir:v "Patient Application" ] ; fhir:description [ fhir:v "A phone or web-based app used by Ms. Scarborough to track her physical activity" ] ] [ fhir:actorId [ fhir:v "provider-app" ] ; fhir:type [ fhir:v "entity" ] ; fhir:name [ fhir:v "Provider Application" ] ; fhir:description [ fhir:v "A phone or web-based app used by Ms. Rocha to manage her clients' data" ] ] ) ; # fhir:instance ( [ fhir:resourceId [ fhir:v "Scen4query1" ] ; fhir:resourceType [ fhir:v "Binary" ] ; fhir:name [ fhir:v "Query for patient physical activity care plans" ] ; fhir:description [ fhir:v "Query for CarePlans for a patient: `GET https://ufit.example.org/fhir/CarePlan?patient=Patient/Scen4PatientScarborough&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`" ] ] [ fhir:resourceId [ fhir:v "Scen4query2" ] ; fhir:resourceType [ fhir:v "Binary" ] ; fhir:name [ fhir:v "Query for patient physical activity goals" ] ; fhir:description [ fhir:v "Query for Goals for a patient: `GET 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`" ] ] [ fhir:resourceId [ fhir:v "Scen4query3" ] ; fhir:resourceType [ fhir:v "Binary" ] ; fhir:name [ fhir:v "Query for patient uncomplete tasks" ] ; fhir:description [ fhir:v "Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`" ] ] [ fhir:resourceId [ fhir:v "Scen4CarePlan" ] ; fhir:resourceType [ fhir:v "CarePlan" ] ; fhir:name [ fhir:v "Patient physical activity care plan" ] ; fhir:description [ fhir:v "CarePlan describing proposed exercise regime" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial CarePlan" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "CarePlan/Scen4CarePlanV1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Planning for weight lifting, 30 minutes/day" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Updated CarePlan" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "CarePlan/Scen4CarePlanV2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Planning for weight lifting, 15 + 30 minutes/day" ] ] ) ] [ fhir:resourceId [ fhir:v "Scen4Goal1" ] ; fhir:resourceType [ fhir:v "Goal" ] ; fhir:name [ fhir:v "Physical Activity weekly target" ] ; fhir:description [ fhir:v "Goal indicating target number of minutes/day and days/week weight-lifting" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial goal" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Goal/Scen4Goal1V1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial value of 30 mins/day" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial goal" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Goal/Scen4Goal1V2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "30 mins/day-completed" ] ] ) ] [ fhir:resourceId [ fhir:v "Scen4Goal2" ] ; fhir:resourceType [ fhir:v "Goal" ] ; fhir:name [ fhir:v "Physical Activity weekly target" ] ; fhir:description [ fhir:v "Increased goal indicating target number of minutes/day and days/week weight-lifting" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial goal" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Goal/Scen4Goal2V1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial value of 45 mins/day" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial goal" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Goal/Scen4Goal2V2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Sustaining 45 mins/day" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4CarePlanBundle1" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4CarePlanBundle1" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of Care Plans" ] ; fhir:description [ fhir:v "Initial search results on Care plan for the patient" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4CarePlan" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4CarePlanBundle2" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4CarePlanBundle2" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of Care Plans#2" ] ; fhir:description [ fhir:v "New search results on Care plan for the patient" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4CarePlan" ] ; fhir:versionId [ fhir:v "2" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4GoalBundle1" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4GoalBundle1" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of Goals" ] ; fhir:description [ fhir:v "Initial search results on Goal for the patient" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4Goal1" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4GoalBundle2" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4GoalBundle2" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of Goals" ] ; fhir:description [ fhir:v "Initial search results on Goal for the patient" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4Goal2" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4TaskBundle1" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4TaskBundle1" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of active patient Tasks#1" ] ; fhir:description [ fhir:v "Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4TaskBundle2" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4TaskBundle2" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of active patient Tasks#2" ] ; fhir:description [ fhir:v "Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4TaskReviewVideo" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen4TaskBundle3" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4TaskBundle3" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Search-set of active patient Tasks#3" ] ; fhir:description [ fhir:v "Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey2" ] ; fhir:versionId [ fhir:v "1" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationActivityType" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationActivityType" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Example physical activity type record" ] ; fhir:description [ fhir:v "A sample record indicating the type of physical activity performed by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationEVSMinutesPerDay" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Initial minutes/day of cardio" ] ; fhir:description [ fhir:v "A sample record of the minutes per day of cardio done by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationPeakDailyHeartRate" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationPeakDailyHeartRate" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Example peak daily heart rate" ] ; fhir:description [ fhir:v "A sample record of daily calories captured by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationEVSMinutesPerDay2" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay2" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Updated minutes/day of cardio" ] ; fhir:description [ fhir:v "A second sample record of the minutes per day of cardio done by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationDailySteps" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationDailySteps" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Example daily step count" ] ; fhir:description [ fhir:v "A sample record of daily steps captured by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationCaloriesPerDay" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationCaloriesPerDay" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Example daily calories" ] ; fhir:description [ fhir:v "A sample record of daily calories captured by the patient" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Observation/Scen4ObservationEVSMinutesPerDay3" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay3" ] ; fhir:resourceType [ fhir:v "Observation" ] ; fhir:name [ fhir:v "Final minutes/day of cardio" ] ; fhir:description [ fhir:v "A third sample record of the minutes per day of cardio done by the patient" ] ] [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey" ] ; fhir:resourceType [ fhir:v "Task" ] ; fhir:name [ fhir:v "Request for patient to fill out survey" ] ; fhir:description [ fhir:v "Patient Task requesting patient to fill out a satisfaction survey" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskFillSurveyV1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial request to fill out survey" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Completed request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskFillSurveyV2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Survey has been filled out and response has been attached to Task" ] ] ) ] [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey2" ] ; fhir:resourceType [ fhir:v "Task" ] ; fhir:name [ fhir:v "Second request for patient to fill out survey" ] ; fhir:description [ fhir:v "New patient Task requesting patient to fill out a satisfaction survey" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskFillSurvey2V1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial request to fill out survey" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Completed request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskFillSurvey2V2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Survey has been filled out and response has been attached to Task" ] ] ) ] [ fhir:resourceId [ fhir:v "Scen4TaskReviewVideo" ] ; fhir:resourceType [ fhir:v "Task" ] ; fhir:name [ fhir:v "Request for patient to view video" ] ; fhir:description [ fhir:v "New patient Task requesting patient to fill out a satisfaction survey" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskReviewVideoV1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial request to view a video" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Completed request" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen4TaskReviewVideoV2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Updated request indicating video has been viewed" ] ] ) ] ) ; # fhir:process ( [ fhir:title [ fhir:v "Physical Activity Plan Establishment and Observations" ] ; fhir:preConditions [ fhir:v "CarePlan and initial Goal are created, Patient and Provider apps are operational" ] ; fhir:postConditions [ fhir:v "CarePlan and Goal successfully retrieved" ] ; ( fhir:step [ fhir:operation [ fhir:number [ fhir:v "1" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Query CarePlan" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app queries exercise CarePlan describing proposed exercise regime." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query1" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4CarePlanBundle1" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "2" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Query Goals" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app queries Goals." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query2" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4GoalBundle1" ] ] ] ] ) ] [ fhir:title [ fhir:v "Post Observations, CarePlan adjustment and new Goals" ] ; fhir:preConditions [ fhir:v "Initial care plan and goal retrieved" ] ; fhir:postConditions [ fhir:v "Care plan followed, various observations are posted by the patient and initial goal accomplished (along with filling survey). Care plan is adjusted, new goal is set, and observations are posted" ] ; ( fhir:step [ fhir:operation [ fhir:number [ fhir:v "3" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post activity type" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationActivityType" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "4" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post min/day" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "5" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post peak daily heart rate" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationPeakDailyHeartRate" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "6" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post min/day #2" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay2" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "7" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post daily steps" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationDailySteps" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "8" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post peak daily calories" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationCaloriesPerDay" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "9" ] ; fhir:type [ fhir:v "update" ] ; fhir:name [ fhir:v "Update goal" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4Goal1" ] ; fhir:versionId [ fhir:v "2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "10" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Retrieve patient tasks#1" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to fill out a survey." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query3" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4TaskBundle1" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "11" ] ; fhir:type [ fhir:v "update" ] ; fhir:name [ fhir:v "Update task#1" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey" ] ; fhir:versionId [ fhir:v "2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "12" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Retrieve patient tasks#2" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to reivew a video." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query3" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4TaskBundle2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "13" ] ; fhir:type [ fhir:v "update" ] ; fhir:name [ fhir:v "Update task#2" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4TaskReviewVideo" ] ; fhir:versionId [ fhir:v "2" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "14" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Query CarePlan#2" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query1" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4CarePlanBundle2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "15" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Query Goals#2" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "After a phone call, patient uses app to retrieve updated Goals." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query2" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4GoalBundle2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "16" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Post min/day #3" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4ObservationEVSMinutesPerDay3" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "17" ] ; fhir:type [ fhir:v "update" ] ; fhir:name [ fhir:v "Update goal" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient updates their second goal to indicate it's achieved, but they want to stay where they are. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal2`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4Goal2" ] ; fhir:versionId [ fhir:v "2" ] ] ] ] [ fhir:pause [ fhir:v "true"^^xsd:boolean ] ; fhir:operation [ fhir:number [ fhir:v "18" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "Retrieve patient tasks#3" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to complete a second survey." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4query3" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen4TaskBundle3" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "19" ] ; fhir:type [ fhir:v "update" ] ; fhir:name [ fhir:v "Update task#3" ] ; fhir:initiator [ fhir:v "patient-app" ] ; fhir:receiver [ fhir:v "provider-app" ] ; fhir:description [ fhir:v "Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen4TaskFillSurvey2" ] ; fhir:versionId [ fhir:v "2" ] ] ] ] ) ] ) . #
IG © 2022+ HL7 International - Patient Care WG. Package hl7.fhir.us.physical-activity#1.0.0 based on FHIR 4.0.1. Generated 2023-08-25
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change