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 |
<ExampleScenario xmlns="http://hl7.org/fhir">
<id value="Scen4PhysicalActivityPlan"/>
<text>
<status value="extensions"/>
<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>
</text>
<url
value="http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan"/>
<version value="1.0.0"/>
<name value="PatientWorksWithPersonalTrainer"/>
<status value="draft"/>
<date value="2023-08-25T16:04:38+00:00"/>
<publisher value="HL7 International - Patient Care WG"/>
<contact>
<name value="HL7 International - Patient Care WG"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/patientcare"/>
</telecom>
</contact>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<actor>
<actorId value="patient-app"/>
<type value="entity"/>
<name value="Patient Application"/>
<description
value="A phone or web-based app used by Ms. Scarborough to track her physical activity"/>
</actor>
<actor>
<actorId value="provider-app"/>
<type value="entity"/>
<name value="Provider Application"/>
<description
value="A phone or web-based app used by Ms. Rocha to manage her clients' data"/>
</actor>
<instance>
<resourceId value="Scen4query1"/>
<resourceType value="Binary"/>
<name value="Query for patient physical activity care plans"/>
<description
value="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`"/>
</instance>
<instance>
<resourceId value="Scen4query2"/>
<resourceType value="Binary"/>
<name value="Query for patient physical activity goals"/>
<description
value="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`"/>
</instance>
<instance>
<resourceId value="Scen4query3"/>
<resourceType value="Binary"/>
<name value="Query for patient uncomplete tasks"/>
<description
value="Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`"/>
</instance>
<instance>
<resourceId value="Scen4CarePlan"/>
<resourceType value="CarePlan"/>
<name value="Patient physical activity care plan"/>
<description value="CarePlan describing proposed exercise regime"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial CarePlan"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="CarePlan/Scen4CarePlanV1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Planning for weight lifting, 30 minutes/day"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Updated CarePlan"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="CarePlan/Scen4CarePlanV2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description value="Planning for weight lifting, 15 + 30 minutes/day"/>
</version>
</instance>
<instance>
<resourceId value="Scen4Goal1"/>
<resourceType value="Goal"/>
<name value="Physical Activity weekly target"/>
<description
value="Goal indicating target number of minutes/day and days/week weight-lifting"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial goal"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Goal/Scen4Goal1V1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial value of 30 mins/day"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial goal"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Goal/Scen4Goal1V2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description value="30 mins/day-completed"/>
</version>
</instance>
<instance>
<resourceId value="Scen4Goal2"/>
<resourceType value="Goal"/>
<name value="Physical Activity weekly target"/>
<description
value="Increased goal indicating target number of minutes/day and days/week weight-lifting"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial goal"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Goal/Scen4Goal2V1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial value of 45 mins/day"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial goal"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Goal/Scen4Goal2V2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description value="Sustaining 45 mins/day"/>
</version>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4CarePlanBundle1"/>
</valueReference>
</extension>
<resourceId value="Scen4CarePlanBundle1"/>
<resourceType value="Bundle"/>
<name value="Search-set of Care Plans"/>
<description value="Initial search results on Care plan for the patient"/>
<containedInstance>
<resourceId value="Scen4CarePlan"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4CarePlanBundle2"/>
</valueReference>
</extension>
<resourceId value="Scen4CarePlanBundle2"/>
<resourceType value="Bundle"/>
<name value="Search-set of Care Plans#2"/>
<description value="New search results on Care plan for the patient"/>
<containedInstance>
<resourceId value="Scen4CarePlan"/>
<versionId value="2"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4GoalBundle1"/>
</valueReference>
</extension>
<resourceId value="Scen4GoalBundle1"/>
<resourceType value="Bundle"/>
<name value="Search-set of Goals"/>
<description value="Initial search results on Goal for the patient"/>
<containedInstance>
<resourceId value="Scen4Goal1"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4GoalBundle2"/>
</valueReference>
</extension>
<resourceId value="Scen4GoalBundle2"/>
<resourceType value="Bundle"/>
<name value="Search-set of Goals"/>
<description value="Initial search results on Goal for the patient"/>
<containedInstance>
<resourceId value="Scen4Goal2"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4TaskBundle1"/>
</valueReference>
</extension>
<resourceId value="Scen4TaskBundle1"/>
<resourceType value="Bundle"/>
<name value="Search-set of active patient Tasks#1"/>
<description
value="Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)"/>
<containedInstance>
<resourceId value="Scen4TaskFillSurvey"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4TaskBundle2"/>
</valueReference>
</extension>
<resourceId value="Scen4TaskBundle2"/>
<resourceType value="Bundle"/>
<name value="Search-set of active patient Tasks#2"/>
<description
value="Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)"/>
<containedInstance>
<resourceId value="Scen4TaskReviewVideo"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen4TaskBundle3"/>
</valueReference>
</extension>
<resourceId value="Scen4TaskBundle3"/>
<resourceType value="Bundle"/>
<name value="Search-set of active patient Tasks#3"/>
<description
value="Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)"/>
<containedInstance>
<resourceId value="Scen4TaskFillSurvey2"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationActivityType"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationActivityType"/>
<resourceType value="Observation"/>
<name value="Example physical activity type record"/>
<description
value="A sample record indicating the type of physical activity performed by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationEVSMinutesPerDay"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationEVSMinutesPerDay"/>
<resourceType value="Observation"/>
<name value="Initial minutes/day of cardio"/>
<description
value="A sample record of the minutes per day of cardio done by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationPeakDailyHeartRate"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationPeakDailyHeartRate"/>
<resourceType value="Observation"/>
<name value="Example peak daily heart rate"/>
<description
value="A sample record of daily calories captured by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationEVSMinutesPerDay2"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationEVSMinutesPerDay2"/>
<resourceType value="Observation"/>
<name value="Updated minutes/day of cardio"/>
<description
value="A second sample record of the minutes per day of cardio done by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationDailySteps"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationDailySteps"/>
<resourceType value="Observation"/>
<name value="Example daily step count"/>
<description
value="A sample record of daily steps captured by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationCaloriesPerDay"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationCaloriesPerDay"/>
<resourceType value="Observation"/>
<name value="Example daily calories"/>
<description
value="A sample record of daily calories captured by the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen4ObservationEVSMinutesPerDay3"/>
</valueReference>
</extension>
<resourceId value="Scen4ObservationEVSMinutesPerDay3"/>
<resourceType value="Observation"/>
<name value="Final minutes/day of cardio"/>
<description
value="A third sample record of the minutes per day of cardio done by the patient"/>
</instance>
<instance>
<resourceId value="Scen4TaskFillSurvey"/>
<resourceType value="Task"/>
<name value="Request for patient to fill out survey"/>
<description
value="Patient Task requesting patient to fill out a satisfaction survey"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskFillSurveyV1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial request to fill out survey"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Completed request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskFillSurveyV2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description
value="Survey has been filled out and response has been attached to Task"/>
</version>
</instance>
<instance>
<resourceId value="Scen4TaskFillSurvey2"/>
<resourceType value="Task"/>
<name value="Second request for patient to fill out survey"/>
<description
value="New patient Task requesting patient to fill out a satisfaction survey"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskFillSurvey2V1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial request to fill out survey"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Completed request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskFillSurvey2V2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description
value="Survey has been filled out and response has been attached to Task"/>
</version>
</instance>
<instance>
<resourceId value="Scen4TaskReviewVideo"/>
<resourceType value="Task"/>
<name value="Request for patient to view video"/>
<description
value="New patient Task requesting patient to fill out a satisfaction survey"/>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Initial request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskReviewVideoV1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial request to view a video"/>
</version>
<version>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
<valueString value="Completed request"/>
</extension>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
<valueReference>
<reference value="Task/Scen4TaskReviewVideoV2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description value="Updated request indicating video has been viewed"/>
</version>
</instance>
<process>
<title value="Physical Activity Plan Establishment and Observations"/>
<preConditions
value="CarePlan and initial Goal are created, Patient and Provider apps are operational"/>
<postConditions value="CarePlan and Goal successfully retrieved"/>
<step>
<operation>
<number value="1"/>
<type value="search-type"/>
<name value="Query CarePlan"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app queries exercise CarePlan describing proposed exercise regime."/>
<request>
<resourceId value="Scen4query1"/>
</request>
<response>
<resourceId value="Scen4CarePlanBundle1"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="2"/>
<type value="search-type"/>
<name value="Query Goals"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description value="Patient app queries Goals."/>
<request>
<resourceId value="Scen4query2"/>
</request>
<response>
<resourceId value="Scen4GoalBundle1"/>
</response>
</operation>
</step>
</process>
<process>
<title value="Post Observations, CarePlan adjustment and new Goals"/>
<preConditions value="Initial care plan and goal retrieved"/>
<postConditions
value="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"/>
<step>
<operation>
<number value="3"/>
<type value="create"/>
<name value="Post activity type"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationActivityType"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="4"/>
<type value="create"/>
<name value="Post min/day"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationEVSMinutesPerDay"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="5"/>
<type value="create"/>
<name value="Post peak daily heart rate"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationPeakDailyHeartRate"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="6"/>
<type value="create"/>
<name value="Post min/day #2"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationEVSMinutesPerDay2"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="7"/>
<type value="create"/>
<name value="Post daily steps"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationDailySteps"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="8"/>
<type value="create"/>
<name value="Post peak daily calories"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationCaloriesPerDay"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="9"/>
<type value="update"/>
<name value="Update goal"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`"/>
<request>
<resourceId value="Scen4Goal1"/>
<versionId value="2"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="10"/>
<type value="search-type"/>
<name value="Retrieve patient tasks#1"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="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."/>
<request>
<resourceId value="Scen4query3"/>
</request>
<response>
<resourceId value="Scen4TaskBundle1"/>
</response>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="11"/>
<type value="update"/>
<name value="Update task#1"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`"/>
<request>
<resourceId value="Scen4TaskFillSurvey"/>
<versionId value="2"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="12"/>
<type value="search-type"/>
<name value="Retrieve patient tasks#2"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="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."/>
<request>
<resourceId value="Scen4query3"/>
</request>
<response>
<resourceId value="Scen4TaskBundle2"/>
</response>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="13"/>
<type value="update"/>
<name value="Update task#2"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`"/>
<request>
<resourceId value="Scen4TaskReviewVideo"/>
<versionId value="2"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="14"/>
<type value="search-type"/>
<name value="Query CarePlan#2"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime."/>
<request>
<resourceId value="Scen4query1"/>
</request>
<response>
<resourceId value="Scen4CarePlanBundle2"/>
</response>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="15"/>
<type value="search-type"/>
<name value="Query Goals#2"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="After a phone call, patient uses app to retrieve updated Goals."/>
<request>
<resourceId value="Scen4query2"/>
</request>
<response>
<resourceId value="Scen4GoalBundle2"/>
</response>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="16"/>
<type value="create"/>
<name value="Post min/day #3"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen4ObservationEVSMinutesPerDay3"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="17"/>
<type value="update"/>
<name value="Update goal"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="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`"/>
<request>
<resourceId value="Scen4Goal2"/>
<versionId value="2"/>
</request>
</operation>
</step>
<step>
<pause value="true"/>
<operation>
<number value="18"/>
<type value="search-type"/>
<name value="Retrieve patient tasks#3"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="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."/>
<request>
<resourceId value="Scen4query3"/>
</request>
<response>
<resourceId value="Scen4TaskBundle3"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="19"/>
<type value="update"/>
<name value="Update task#3"/>
<initiator value="patient-app"/>
<receiver value="provider-app"/>
<description
value="Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`"/>
<request>
<resourceId value="Scen4TaskFillSurvey2"/>
<versionId value="2"/>
</request>
</operation>
</step>
</process>
</ExampleScenario>
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