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="Scen1ExercisePrescriptionScenario"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: ExampleScenario</b><a name="Scen1ExercisePrescriptionScenario"> </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 "Scen1ExercisePrescriptionScenario" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen1ExercisePrescriptionScenario</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: ExercisePrescription</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>: patientApp</p><p><b>type</b>: entity</p><p><b>name</b>: Patient App</p><p><b>description</b>: A patient app used to query resources related to the exercise plan</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: goodHealth</p><p><b>type</b>: entity</p><p><b>name</b>: EHR</p><p><b>description</b>: EHR that records patient's exercise plan</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen1query1</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://goodhealth.example.org/fhir/CarePlan?patient=Patient/Scen1PatientKhatun&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>: Scen1query2</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://goodhealth.example.org/fhir/Goal?patient=Patient/Scen1PatientKhatun&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>: Scen1query3</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient exercise prescriptions and referrals</p><p><b>description</b>: Query for ServiceRequests for a patient: `GET https://goodhealth.example.org/fhir/ServiceRequest?patient=Patient/Scen1PatientKhatun&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>: Scen1CarePlan</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-Scen1CarePlanV1.html">CarePlan/Scen1CarePlanV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Planning for jogging and stationary bike</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-Scen1CarePlanV2.html">CarePlan/Scen1CarePlanV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Planning for increased stationary bike</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen1Goal</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/week of moderate-vigorous physical activity</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-Scen1GoalV1.html">Goal/Scen1GoalV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial value of 100 mins/week</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-Scen1GoalV2.html">Goal/Scen1GoalV2</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial value of 100 mins/week-completed</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Goal-Scen1Goal2.html">Goal/Scen1Goal2</a></p><p><b>resourceId</b>: Scen1Goal2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Updated goal</p><p><b>description</b>: Updated value of 150 mins/week</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen1CarePlanBundle1.html">Bundle/Scen1CarePlanBundle1</a></p><p><b>resourceId</b>: Scen1CarePlanBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Initial care plan search response bundle</p><p><b>description</b>: Only contains 1 plan, though in practice, more than one is possible</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>Scen1CarePlan</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-Scen1CarePlanBundle2.html">Bundle/Scen1CarePlanBundle2</a></p><p><b>resourceId</b>: Scen1CarePlanBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Second care plan search response bundle</p><p><b>description</b>: In a real system, the id would be the same as the original</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>Scen1CarePlan</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-Scen1GoalBundle1.html">Bundle/Scen1GoalBundle1</a></p><p><b>resourceId</b>: Scen1GoalBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Initial goal search response bundle</p><p><b>description</b>: There could be multiple goals, but in the scenario there's only one.</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>Scen1Goal</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-Scen1GoalBundle2.html">Bundle/Scen1GoalBundle2</a></p><p><b>resourceId</b>: Scen1GoalBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Second goal search response bundle</p><p><b>description</b>: In a real system, the id would be the same as the original</p><h3>ContainedInstances</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ResourceId</b></td></tr><tr><td style="display: none">*</td><td>Scen1Goal2</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="ServiceRequest-Scen1ExerciseRx.html">ServiceRequest/Scen1ExerciseRx</a></p><p><b>resourceId</b>: Scen1ExerciseRx</p><p><b>resourceType</b>: ServiceRequest</p><p><b>name</b>: Prescription for exercise</p><p><b>description</b>: Expressed as a ServiceRequest with performer of 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="Bundle-Scen1ExerciseRxBundle.html">Bundle/Scen1ExerciseRxBundle</a></p><p><b>resourceId</b>: Scen1ExerciseRxBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search result of exercise prescriptions and referrals</p><p><b>description</b>: There could be a mix of an exercise prescription plus referrals, but in this case there's only the prescription.</p><h3>ContainedInstances</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ResourceId</b></td></tr><tr><td style="display: none">*</td><td>Scen1ExerciseRx</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-Scen1ObservationDaysPerWeek.html">Observation/Scen1ObservationDaysPerWeek</a></p><p><b>resourceId</b>: Scen1ObservationDaysPerWeek</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example physical activity days per week record</p><p><b>description</b>: Average days per week of moderate-to-vigorous physical activity.</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen1ObservationMinsPerDay.html">Observation/Scen1ObservationMinsPerDay</a></p><p><b>resourceId</b>: Scen1ObservationMinsPerDay</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example physical activity minutes per day record</p><p><b>description</b>: Average minutes per day of moderate-to-vigorous physical activity.</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen1ObservationMinsPerWeek.html">Observation/Scen1ObservationMinsPerWeek</a></p><p><b>resourceId</b>: Scen1ObservationMinsPerWeek</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example physical activity minutes per week record</p><p><b>description</b>: Average minutes per week of moderate-to-vigorous physical activity.</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen1ObservationStrengthDaysPerWeek.html">Observation/Scen1ObservationStrengthDaysPerWeek</a></p><p><b>resourceId</b>: Scen1ObservationStrengthDaysPerWeek</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Example strength days per week record</p><p><b>description</b>: Average days per week of muscle-strengthening physical activity.</p></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Day after appointment</p><p><b>description</b>: The patient accesses the care plan, goals and exercise prescription made available on the EHR</p><p><b>preConditions</b>: Encounter (and other supporting) resources created</p><p><b>postConditions</b>: Patient app has retrieved exercise plan related resources</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>: patientApp</p><p><b>receiver</b>: goodHealth</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>Scen1query1</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>Scen1CarePlanBundle1</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 Goal</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app queries Goals (100 minutes/week).</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>Scen1query2</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>Scen1GoalBundle1</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 3</p><p><b>type</b>: search-type</p><p><b>name</b>: Query ServiceRequest</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app queries ServiceRequest (order for ‘exercise’).</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>Scen1query3</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>Scen1ExerciseRxBundle</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: A couple of weeks later</p><p><b>description</b>: The exchange noted here would actually occur many times (though not necessarily regularly). Only a single set of data is shown for simplicity.</p><p><b>preConditions</b>: Patient app is able to write records to EHR</p><p><b>postConditions</b>: EHR has weekly activity level observations</p><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 days/week</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app posts average days per week of moderate-to-vigorous physical activity. `POST https://goodhealth.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>Scen1ObservationDaysPerWeek</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 6</p><p><b>type</b>: create</p><p><b>name</b>: Post minutes/day</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app posts average minutes per day of moderate-to-vigorous physical activity. `POST https://goodhealth.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>Scen1ObservationMinsPerDay</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 minutes/week</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app posts average minutes per week of moderate-to-vigorous physical activity. `POST https://goodhealth.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>Scen1ObservationMinsPerWeek</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 8</p><p><b>type</b>: create</p><p><b>name</b>: Post stength days/week</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app posts average days per week of muscle-strengthening physical activity. `POST https://goodhealth.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>Scen1ObservationStrengthDaysPerWeek</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: A little more than 6 months after first appointment</p><p><b>description</b>: In practice, the patient app would likely check for new CarePlans and Goals each time it launches. However, this is the first time there'd be something new to retrieve.</p><p><b>preConditions</b>: CarePlan and Goal have been updated in EHR</p><p><b>postConditions</b>: Patient app retrieves updated CarePlan and Goal</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 9</p><p><b>type</b>: search-type</p><p><b>name</b>: Query revised CarePlan</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app queries revised CarePlan with providers notes.</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>Scen1query1</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>Scen1CarePlanBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 10</p><p><b>type</b>: search-type</p><p><b>name</b>: Query revised Goal</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: Patient app queries new 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>Scen1query2</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>Scen1GoalBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 11</p><p><b>type</b>: search-type</p><p><b>name</b>: Query ServiceRequest</p><p><b>initiator</b>: patientApp</p><p><b>receiver</b>: goodHealth</p><p><b>description</b>: The results of this search are the same as the initial call because the exercise 'prescription' has not changed.</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>Scen1query3</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>Scen1ExerciseRxBundle</td></tr></table></blockquote></blockquote></blockquote></div>
</text>
<url
value="http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen1ExercisePrescriptionScenario"/>
<version value="1.0.0"/>
<name value="ExercisePrescription"/>
<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="patientApp"/>
<type value="entity"/>
<name value="Patient App"/>
<description
value="A patient app used to query resources related to the exercise plan"/>
</actor>
<actor>
<actorId value="goodHealth"/>
<type value="entity"/>
<name value="EHR"/>
<description value="EHR that records patient's exercise plan"/>
</actor>
<instance>
<resourceId value="Scen1query1"/>
<resourceType value="Binary"/>
<name value="Query for patient physical activity care plans"/>
<description
value="Query for CarePlans for a patient: `GET https://goodhealth.example.org/fhir/CarePlan?patient=Patient/Scen1PatientKhatun&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`"/>
</instance>
<instance>
<resourceId value="Scen1query2"/>
<resourceType value="Binary"/>
<name value="Query for patient physical activity goals"/>
<description
value="Query for Goals for a patient: `GET https://goodhealth.example.org/fhir/Goal?patient=Patient/Scen1PatientKhatun&status=active,on-hold,completed&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`"/>
</instance>
<instance>
<resourceId value="Scen1query3"/>
<resourceType value="Binary"/>
<name value="Query for patient exercise prescriptions and referrals"/>
<description
value="Query for ServiceRequests for a patient: `GET https://goodhealth.example.org/fhir/ServiceRequest?patient=Patient/Scen1PatientKhatun&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`"/>
</instance>
<instance>
<resourceId value="Scen1CarePlan"/>
<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/Scen1CarePlanV1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Planning for jogging and stationary bike"/>
</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/Scen1CarePlanV2"/>
</valueReference>
</extension>
<versionId value="2"/>
<description value="Planning for increased stationary bike"/>
</version>
</instance>
<instance>
<resourceId value="Scen1Goal"/>
<resourceType value="Goal"/>
<name value="Physical Activity weekly target"/>
<description
value="Goal indicating target number of minutes/week of moderate-vigorous physical activity"/>
<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/Scen1GoalV1"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial value of 100 mins/week"/>
</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/Scen1GoalV2"/>
</valueReference>
</extension>
<versionId value="1"/>
<description value="Initial value of 100 mins/week-completed"/>
</version>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Goal/Scen1Goal2"/>
</valueReference>
</extension>
<resourceId value="Scen1Goal2"/>
<resourceType value="Bundle"/>
<name value="Updated goal"/>
<description value="Updated value of 150 mins/week"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen1CarePlanBundle1"/>
</valueReference>
</extension>
<resourceId value="Scen1CarePlanBundle1"/>
<resourceType value="Bundle"/>
<name value="Initial care plan search response bundle"/>
<description
value="Only contains 1 plan, though in practice, more than one is possible"/>
<containedInstance>
<resourceId value="Scen1CarePlan"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen1CarePlanBundle2"/>
</valueReference>
</extension>
<resourceId value="Scen1CarePlanBundle2"/>
<resourceType value="Bundle"/>
<name value="Second care plan search response bundle"/>
<description
value="In a real system, the id would be the same as the original"/>
<containedInstance>
<resourceId value="Scen1CarePlan"/>
<versionId value="2"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen1GoalBundle1"/>
</valueReference>
</extension>
<resourceId value="Scen1GoalBundle1"/>
<resourceType value="Bundle"/>
<name value="Initial goal search response bundle"/>
<description
value="There could be multiple goals, but in the scenario there's only one."/>
<containedInstance>
<resourceId value="Scen1Goal"/>
<versionId value="1"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen1GoalBundle2"/>
</valueReference>
</extension>
<resourceId value="Scen1GoalBundle2"/>
<resourceType value="Bundle"/>
<name value="Second goal search response bundle"/>
<description
value="In a real system, the id would be the same as the original"/>
<containedInstance>
<resourceId value="Scen1Goal2"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="ServiceRequest/Scen1ExerciseRx"/>
</valueReference>
</extension>
<resourceId value="Scen1ExerciseRx"/>
<resourceType value="ServiceRequest"/>
<name value="Prescription for exercise"/>
<description
value="Expressed as a ServiceRequest with performer of the patient"/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Bundle/Scen1ExerciseRxBundle"/>
</valueReference>
</extension>
<resourceId value="Scen1ExerciseRxBundle"/>
<resourceType value="Bundle"/>
<name value="Search result of exercise prescriptions and referrals"/>
<description
value="There could be a mix of an exercise prescription plus referrals, but in this case there's only the prescription."/>
<containedInstance>
<resourceId value="Scen1ExerciseRx"/>
</containedInstance>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen1ObservationDaysPerWeek"/>
</valueReference>
</extension>
<resourceId value="Scen1ObservationDaysPerWeek"/>
<resourceType value="Observation"/>
<name value="Example physical activity days per week record"/>
<description
value="Average days per week of moderate-to-vigorous physical activity."/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen1ObservationMinsPerDay"/>
</valueReference>
</extension>
<resourceId value="Scen1ObservationMinsPerDay"/>
<resourceType value="Observation"/>
<name value="Example physical activity minutes per day record"/>
<description
value="Average minutes per day of moderate-to-vigorous physical activity."/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen1ObservationMinsPerWeek"/>
</valueReference>
</extension>
<resourceId value="Scen1ObservationMinsPerWeek"/>
<resourceType value="Observation"/>
<name value="Example physical activity minutes per week record"/>
<description
value="Average minutes per week of moderate-to-vigorous physical activity."/>
</instance>
<instance>
<extension
url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
<valueReference>
<reference value="Observation/Scen1ObservationStrengthDaysPerWeek"/>
</valueReference>
</extension>
<resourceId value="Scen1ObservationStrengthDaysPerWeek"/>
<resourceType value="Observation"/>
<name value="Example strength days per week record"/>
<description
value="Average days per week of muscle-strengthening physical activity."/>
</instance>
<process>
<title value="Day after appointment"/>
<description
value="The patient accesses the care plan, goals and exercise prescription made available on the EHR"/>
<preConditions
value="Encounter (and other supporting) resources created"/>
<postConditions
value="Patient app has retrieved exercise plan related resources"/>
<step>
<operation>
<number value="1"/>
<type value="search-type"/>
<name value="Query CarePlan"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app queries exercise CarePlan describing proposed exercise regime."/>
<request>
<resourceId value="Scen1query1"/>
</request>
<response>
<resourceId value="Scen1CarePlanBundle1"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="2"/>
<type value="search-type"/>
<name value="Query Goal"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description value="Patient app queries Goals (100 minutes/week)."/>
<request>
<resourceId value="Scen1query2"/>
</request>
<response>
<resourceId value="Scen1GoalBundle1"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="3"/>
<type value="search-type"/>
<name value="Query ServiceRequest"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app queries ServiceRequest (order for ‘exercise’)."/>
<request>
<resourceId value="Scen1query3"/>
</request>
<response>
<resourceId value="Scen1ExerciseRxBundle"/>
</response>
</operation>
</step>
</process>
<process>
<title value="A couple of weeks later"/>
<description
value="The exchange noted here would actually occur many times (though not necessarily regularly). Only a single set of data is shown for simplicity."/>
<preConditions value="Patient app is able to write records to EHR"/>
<postConditions value="EHR has weekly activity level observations"/>
<step>
<operation>
<number value="5"/>
<type value="create"/>
<name value="Post days/week"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app posts average days per week of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen1ObservationDaysPerWeek"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="6"/>
<type value="create"/>
<name value="Post minutes/day"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app posts average minutes per day of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen1ObservationMinsPerDay"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="7"/>
<type value="create"/>
<name value="Post minutes/week"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app posts average minutes per week of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen1ObservationMinsPerWeek"/>
</request>
</operation>
</step>
<step>
<operation>
<number value="8"/>
<type value="create"/>
<name value="Post stength days/week"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app posts average days per week of muscle-strengthening physical activity. `POST https://goodhealth.example.org/fhir/Observation`"/>
<request>
<resourceId value="Scen1ObservationStrengthDaysPerWeek"/>
</request>
</operation>
</step>
</process>
<process>
<title value="A little more than 6 months after first appointment"/>
<description
value="In practice, the patient app would likely check for new CarePlans and Goals each time it launches. However, this is the first time there'd be something new to retrieve."/>
<preConditions value="CarePlan and Goal have been updated in EHR"/>
<postConditions value="Patient app retrieves updated CarePlan and Goal"/>
<step>
<operation>
<number value="9"/>
<type value="search-type"/>
<name value="Query revised CarePlan"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="Patient app queries revised CarePlan with providers notes."/>
<request>
<resourceId value="Scen1query1"/>
</request>
<response>
<resourceId value="Scen1CarePlanBundle2"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="10"/>
<type value="search-type"/>
<name value="Query revised Goal"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description value="Patient app queries new Goals."/>
<request>
<resourceId value="Scen1query2"/>
</request>
<response>
<resourceId value="Scen1GoalBundle2"/>
</response>
</operation>
</step>
<step>
<operation>
<number value="11"/>
<type value="search-type"/>
<name value="Query ServiceRequest"/>
<initiator value="patientApp"/>
<receiver value="goodHealth"/>
<description
value="The results of this search are the same as the initial call because the exercise 'prescription' has not changed."/>
<request>
<resourceId value="Scen1query3"/>
</request>
<response>
<resourceId value="Scen1ExerciseRxBundle"/>
</response>
</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