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

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Scenario 2 - Provider to Personal Trainer Post-Rehabilitation Referral - XML Representation

Page standards status: Informative

Raw xml | Download



<ExampleScenario xmlns="http://hl7.org/fhir">
  <id value="Scen2ProviderToPersonaltrainerReferral"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: ExampleScenario</b><a name="Scen2ProviderToPersonaltrainerReferral"> </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 &quot;Scen2ProviderToPersonaltrainerReferral&quot; </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen2ProviderToPersonaltrainerReferral</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: ProviderToPersonalTrainerReferral</p><p><b>status</b>: draft</p><p><b>date</b>: 2023-08-25 15:35:25+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>: goodCardio</p><p><b>type</b>: entity</p><p><b>name</b>: Good Health Cardiology</p><p><b>description</b>: EHR that records patient's exercise plan</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: getFit</p><p><b>type</b>: entity</p><p><b>name</b>: Get Fit Training</p><p><b>description</b>: 'Light' service provider'</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: Fit4Life</p><p><b>type</b>: entity</p><p><b>name</b>: Fit 4 Life</p><p><b>description</b>: 'Full' service provider'</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: registry</p><p><b>type</b>: entity</p><p><b>name</b>: Service Registry</p><p><b>description</b>: Registry of candidate service providers - outside the scope of this IG</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query1</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for personal trainers near Mrs. Johansson</p><p><b>description</b>: Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson: `GET https://registry.example.org/fhir/PractitionerRole?role=228239008|http%3A//snomed.info/sct&amp;location.near=37.8393|84.2700|20|[mi_us]&amp;_include=PractitionerRole:practitioner`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query2</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for Get Fit assigned referrals</p><p><b>description</b>: Query Task and associated ServiceRequest and Patient: `GET https://goodCardio.example.org/fhir/Task?status=requested&amp;owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining&amp;_include=Task:patient&amp;_include=Task:focus`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query3</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for Referral &amp; Patient for retrieved Task</p><p><b>description</b>: Search to retrieve ServiceRequest and Patient for specified Task: `GET https://goodCardio.example.org/fhir/ServiceRequest?_id=Scen2ServiceRequest&amp;_include=ServiceRequest:patient`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query4</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient physical activity conditions</p><p><b>description</b>: Search to retrieve Conditions: `GET https://goodCardio.example.org/fhir/Condition?patient=Scen2PatientJohansson&amp;category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query5</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for patient physical activity observations</p><p><b>description</b>: Search to retrieve Observations: `GET https://goodCardio.example.org/fhir/Observation?patient=Scen2PatientJohansson&amp;category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query6</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for EHR-issued task based on notification</p><p><b>description</b>: Search to retrieve Task: `GET https://fit4life.example.org/fhir/Task?_id=Scen2TaskFit4Life`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2query7</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for report and referenced observations</p><p><b>description</b>: Search on referenced Observations: `GET https://fit4.life.example.org/fhir/DiagnosticReport?id=Scen2DiagnosticReport&amp;_include=DiagnosticReport:result`</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Patient-Scen2PatientJohansson.html">Patient/Scen2PatientJohansson</a> &quot; JOHANSSON&quot;</p><p><b>resourceId</b>: Scen2PatientJohansson</p><p><b>resourceType</b>: Patient</p><p><b>name</b>: Mrs. Johansson Patient Record</p><p><b>description</b>: Demographics and contact information</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Practitioner-Scen2PractitionerMatthews.html">Practitioner/Scen2PractitionerMatthews</a> &quot; MATTHEWS&quot;</p><p><b>resourceId</b>: Scen2PractitionerMatthews</p><p><b>resourceType</b>: Practitioner</p><p><b>name</b>: Mr. Matthews Registry Entry</p><p><b>description</b>: Practitioner details for personal trainer Mr. Matthews</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Practitioner-Scen2PractitionerWang.html">Practitioner/Scen2PractitionerWang</a> &quot; WANG&quot;</p><p><b>resourceId</b>: Scen2PractitionerWang</p><p><b>resourceType</b>: Practitioner</p><p><b>name</b>: Ms. Wang Registry Entry</p><p><b>description</b>: Practitioner details for personal trainer Ms. Matthews</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="PractitionerRole-Scen2RoleMatthews.html">PractitionerRole/Scen2RoleMatthews</a></p><p><b>resourceId</b>: Scen2RoleMatthews</p><p><b>resourceType</b>: PractitionerRole</p><p><b>name</b>: Mr. Matthews Registry Entry</p><p><b>description</b>: Practitioner organization details for personal trainer Mr. Matthews</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Practitioner-Scen2PractitionerWang.html">Practitioner/Scen2PractitionerWang</a> &quot; WANG&quot;</p><p><b>resourceId</b>: Scen2PractitionerWang</p><p><b>resourceType</b>: PractitionerRole</p><p><b>name</b>: Ms. Wang Registry Entry</p><p><b>description</b>: Practitioner organization details for personal trainer Ms. Matthews</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Subscription-Scen2SubscriptionEhr.html">Subscription/Scen2SubscriptionEhr</a></p><p><b>resourceId</b>: Scen2SubscriptionEhr</p><p><b>resourceType</b>: Subscription</p><p><b>name</b>: Subscription from EHR</p><p><b>description</b>: Establishes the subscription for the EHR to monitor tasks it's created</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Subscription-Scen2SubscriptionGetFit.html">Subscription/Scen2SubscriptionGetFit</a></p><p><b>resourceId</b>: Scen2SubscriptionGetFit</p><p><b>resourceType</b>: Subscription</p><p><b>name</b>: Subscription from Get Fit Training</p><p><b>description</b>: Establishes the subscription for the service provider to monitor tasks created for it</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen2PractitionerTrainerSearchsetBundle.html">Bundle/Scen2PractitionerTrainerSearchsetBundle</a></p><p><b>resourceId</b>: Scen2PractitionerTrainerSearchsetBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Searchset Bundle returning list of personal trainers</p><p><b>description</b>: In practice, the set of candidates would likely be longer.  Note that this functionality is outside the scope of this IG.</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>Scen2PractitionerMatthews</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="Condition-Scen2ConditionLackOfExercise.html">Condition/Scen2ConditionLackOfExercise</a></p><p><b>resourceId</b>: Scen2ConditionLackOfExercise</p><p><b>resourceType</b>: Condition</p><p><b>name</b>: Low physical activity condition</p><p><b>description</b>: New condition added to chart</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Condition-Scen2ConditionHypertension.html">Condition/Scen2ConditionHypertension</a></p><p><b>resourceId</b>: Scen2ConditionHypertension</p><p><b>resourceType</b>: Condition</p><p><b>name</b>: Hypertension condition</p><p><b>description</b>: Older condition</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsDaysPerWeek.html">Observation/Scen2ObsDaysPerWeek</a></p><p><b>resourceId</b>: Scen2ObsDaysPerWeek</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Initial days per week of activity</p><p><b>description</b>: Exercise of once per week</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsDaysPerWeek2.html">Observation/Scen2ObsDaysPerWeek2</a></p><p><b>resourceId</b>: Scen2ObsDaysPerWeek2</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: New days per week of activity</p><p><b>description</b>: Exercising 5 times per week</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsMinutesPerDay.html">Observation/Scen2ObsMinutesPerDay</a></p><p><b>resourceId</b>: Scen2ObsMinutesPerDay</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Initial minutes per day of activity</p><p><b>description</b>: 15 minutes per day</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsMinutesPerDay2.html">Observation/Scen2ObsMinutesPerDay2</a></p><p><b>resourceId</b>: Scen2ObsMinutesPerDay2</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: New minutes per day of activity</p><p><b>description</b>: 32 minutes per day</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityGroup.html">Observation/Scen2ObsActivityGroup</a></p><p><b>resourceId</b>: Scen2ObsActivityGroup</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Information about a run</p><p><b>description</b>: Collection of sub-observations about a single run</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityType.html">Observation/Scen2ObsActivityType</a></p><p><b>resourceId</b>: Scen2ObsActivityType</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Type of activity - run</p><p><b>description</b>: Indicates that the activity performed was a run</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityDuration.html">Observation/Scen2ObsActivityDuration</a></p><p><b>resourceId</b>: Scen2ObsActivityDuration</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Duration of run</p><p><b>description</b>: Run was 30 minutes</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityMeanHR.html">Observation/Scen2ObsActivityMeanHR</a></p><p><b>resourceId</b>: Scen2ObsActivityMeanHR</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Average heart rate during run</p><p><b>description</b>: Average heart rate of 132 bpm</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityPeakHR.html">Observation/Scen2ObsActivityPeakHR</a></p><p><b>resourceId</b>: Scen2ObsActivityPeakHR</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Peak heart rate during run</p><p><b>description</b>: Peak heart rate of 177 bpm</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsActivityExperience.html">Observation/Scen2ObsActivityExperience</a></p><p><b>resourceId</b>: Scen2ObsActivityExperience</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Experience of run by patient</p><p><b>description</b>: Experience of run was positive</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Observation-Scen2ObsCalories.html">Observation/Scen2ObsCalories</a></p><p><b>resourceId</b>: Scen2ObsCalories</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Calories burned during run</p><p><b>description</b>: 517 calories burned during run</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="DiagnosticReport-Scen2DiagnosticReport.html">DiagnosticReport/Scen2DiagnosticReport</a></p><p><b>resourceId</b>: Scen2DiagnosticReport</p><p><b>resourceType</b>: DiagnosticReport</p><p><b>name</b>: Report from personal trainer</p><p><b>description</b>: Letter to provider indicating how the consultation went</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="ServiceRequest-Scen2ServiceRequest.html">ServiceRequest/Scen2ServiceRequest</a></p><p><b>resourceId</b>: Scen2ServiceRequest</p><p><b>resourceType</b>: ServiceRequest</p><p><b>name</b>: Referral for support</p><p><b>description</b>: Indicates what is to be done and when - but not by whom</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2TaskGetFit</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Task seeking GetFit to fulfill referral</p><p><b>description</b>: This is the initial Task seeking fulfillment</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial GetFit Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen2TaskGetFitV1.html">Task/Scen2TaskGetFitV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial version of the referral fulfillment request for GetFit with a status of 'requested'</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Updated GetFit Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen2TaskGetFitV2.html">Task/Scen2TaskGetFitV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Version of the referral fulfillment request for GetFit after it has been changed to 'rejected'</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-Scen2SubscriptionNotificationNewTaskBundle.html">Bundle/Scen2SubscriptionNotificationNewTaskBundle</a></p><p><b>resourceId</b>: Scen2SubscriptionNotificationNewTaskBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Subscription notification indicating new Task</p><p><b>description</b>: Points to the initial 'requested' version of the Task</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen2TaskGetFitResponseBundle.html">Bundle/Scen2TaskGetFitResponseBundle</a></p><p><b>resourceId</b>: Scen2TaskGetFitResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Search-set Bundle returning referenced Task</p><p><b>description</b>: Returns Task referenced in subscription notification.  Includes associated ServiceRequest and 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>Scen2TaskGetFit</td><td>1</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen2TaskFit4Life</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Task seeking FitLife to fulfill referral</p><p><b>description</b>: This is the second Task seeking fulfillment (after the first was rejected)</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial Fit4Life Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen2TaskFit4LifeV1.html">Task/Scen2TaskFit4LifeV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial version of the referral fulfillment request for Fit4Life with a status of 'requested'</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Updated Fit4Life Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen2TaskFit4LifeV2.html">Task/Scen2TaskFit4LifeV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Version of the referral fulfillment request for Fit4Life after it has been changed to 'accepted'</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Completed Fit4Life Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen2TaskFit4LifeV3.html">Task/Scen2TaskFit4LifeV3</a></p><p><b>versionId</b>: 3</p><p><b>description</b>: Version of the referral fulfillment request for Fit4Life after it has been changed to 'completed' and a link to the report added</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-Scen2ReferralFit4LifeResponseBundle.html">Bundle/Scen2ReferralFit4LifeResponseBundle</a></p><p><b>resourceId</b>: Scen2ReferralFit4LifeResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: ServiceRequest search response for Fit4Life</p><p><b>description</b>: Search-set Bundle returning ServiceRequest and Patient for the Task posted to Fit4Life</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>Scen2PatientJohansson</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-Scen2TaskEHRResponseBundle1.html">Bundle/Scen2TaskEHRResponseBundle1</a></p><p><b>resourceId</b>: Scen2TaskEHRResponseBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Accepted Task search response for EHR</p><p><b>description</b>: Search-set Bundle returning 'accepted' Task with id based on subscription notification</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>Scen2TaskFit4Life</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-Scen2TaskEHRResponseBundle2.html">Bundle/Scen2TaskEHRResponseBundle2</a></p><p><b>resourceId</b>: Scen2TaskEHRResponseBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Completed Task search response for EHR</p><p><b>description</b>: Search-set Bundle returning 'completed' Task with id based on subscription notification</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>Scen2TaskFit4Life</td><td>3</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-Scen2ConditionResponseBundle.html">Bundle/Scen2ConditionResponseBundle</a></p><p><b>resourceId</b>: Scen2ConditionResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Condition response for Fit 4 Life</p><p><b>description</b>: Search-set Bundle containing the patient's Conditions (that Fit 4 Life has access to)</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>Scen2ConditionHypertension</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-Scen2ObservationResponseBundle.html">Bundle/Scen2ObservationResponseBundle</a></p><p><b>resourceId</b>: Scen2ObservationResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Observation response for Fit 4 Life</p><p><b>description</b>: Search-set Bundle containing the patient's Observations (that Fit 4 Life has access to)</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>Scen2ObsMinutesPerDay</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-Scen2NotificationUpdatedTaskBundle.html">Bundle/Scen2NotificationUpdatedTaskBundle</a></p><p><b>resourceId</b>: Scen2NotificationUpdatedTaskBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Subscription Notification that Task has updated</p><p><b>description</b>: Pointer to the Task that has been updated</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen2NotificationCompletedTaskBundle.html">Bundle/Scen2NotificationCompletedTaskBundle</a></p><p><b>resourceId</b>: Scen2NotificationCompletedTaskBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Subscription Notification that Task has completed</p><p><b>description</b>: Pointer to the Task that has been updated</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen2DiagnosticReportObservationsResponseBundle.html">Bundle/Scen2DiagnosticReportObservationsResponseBundle</a></p><p><b>resourceId</b>: Scen2DiagnosticReportObservationsResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: DiagnosticReport response for EHR</p><p><b>description</b>: Search-set Bundle returning DiagnosticReport and the Observations it references</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>Scen2ObsCalories</td></tr></table></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Subscription Establishment</p><p><b>preConditions</b>: Good Health Cardiology, Fit 4 Life, and Get Fit training have established legal and technical arrangements for interoperability</p><p><b>postConditions</b>: Subscriptions are successfully created allowing Good Health Cardiology to monitor Fit4Life-assigned Tasks and GetFit to monitor Tasks assigned to it hosted on Good Health Cardiology</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 1</p><p><b>type</b>: create</p><p><b>name</b>: Create service provider-monitoring Subscription</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: Fit4Life</p><p><b>description</b>: EHR posts Subscription to Fit 4 Life to monitor Tasks. Request: `POST https://fit4life.example.org/fhir/Subscription`  Response: `201 Created`</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>Scen2SubscriptionEhr</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>: create</p><p><b>name</b>: Create EHR-monitoring Subscription</p><p><b>initiator</b>: getFit</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: Get Fit Training posts Subscription to EHR to monitor Tasks. Request: `POST https://goodCardio.example.org/fhir/Subscription`  Response: `201 Created`</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>Scen2SubscriptionGetFit</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: 1 Hour after appointment</p><p><b>preConditions</b>: EHR has completed the appointment with the patient</p><p><b>postConditions</b>: EHR has retrieved list of personal trainers and notified GetFit of new Task</p><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>: Retrieve service provider list</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: registry</p><p><b>description</b>: Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson.</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>Scen2query1</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>Scen2PractitionerTrainerSearchsetBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 4</p><p><b>type</b>: create</p><p><b>name</b>: Subscription notification of new Task</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: getFit</p><p><b>description</b>: Service provider is notified of new Task via subscription. Request: `POST https://fit4life.example.org/fhir/Subscription`  Response: `201 Created`</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>Scen2SubscriptionNotificationNewTaskBundle</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: 1 Day after appointment</p><p><b>preConditions</b>: GetFit has received the notification of new Task</p><p><b>postConditions</b>: GetFit has queried Task, associated ServiceRequest and Patient; and updated Task to refused</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 5</p><p><b>type</b>: search-type</p><p><b>name</b>: Getfit retrieves referral</p><p><b>initiator</b>: getFit</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: GetFit retrieves the referenced Task and its associated ServiceRequest and Patient.</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>Scen2query2</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>Scen2TaskGetFitResponseBundle</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>: update</p><p><b>name</b>: GetFit refuses task</p><p><b>initiator</b>: getFit</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: GetFit updates the Task status to 'refused' with a reason.  Request: `PUT https://goodCardio.example.org/fhir/Task/Scen2TaskGetFitV1` Response: `200 Ok`</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>Scen2TaskGetFit</td><td>2</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: An Hour later</p><p><b>preConditions</b>: EHR has a Task seeking fulfillment of ServiceRequest for Fit4Life</p><p><b>postConditions</b>: Fit4Life has retrieved ServiceRequest, Patient, Conditions, Observations, and updated Task</p><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>: Create Task on Fit4Life</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: Fit4Life</p><p><b>description</b>: New Task is created directly on Fit4Life's server.  Request: `POST https://fit4life.example.org/fhir/Task` Response: `201 Created`</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>Scen2TaskFit4Life</td><td>1</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>: search-type</p><p><b>name</b>: Fit4Life retrieves referral</p><p><b>initiator</b>: Fit4Life</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: Fit4Life retrieves the ServiceRequest and Patient referenced by the Task.</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>Scen2query3</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>Scen2ReferralFit4LifeResponseBundle</td></tr></table></blockquote></blockquote><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>: Fit4Life retrieves conditions</p><p><b>initiator</b>: Fit4Life</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: Fit4Life retrieves the physical-activity related Conditions associated with the patient.</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>Scen2query4</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>Scen2ConditionResponseBundle</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>: Fit4Life retrieves referral</p><p><b>initiator</b>: Fit4Life</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: Fit4Life retrieves the physical-activity related Observations associated with the patient.  (In practice there would typically be more than are shown here, and some might not be for profiles defined in this IG.)</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>Scen2query5</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>Scen2ObservationResponseBundle</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>: create</p><p><b>name</b>: EHR gets referral acceptance</p><p><b>initiator</b>: Fit4Life</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: A subscription notification to the EHR is triggered when Fit4Life changes the prescription status to 'accepted'.  Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`</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>Scen2NotificationUpdatedTaskBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 12</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves accepted Task</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: Fit4Life</p><p><b>description</b>: EHR retrieves the Task referenced by the subscription notification</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>Scen2query6</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>Scen2TaskEHRResponseBundle1</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: 2 Months Later</p><p><b>preConditions</b>: Fit4Life has updated the Task</p><p><b>postConditions</b>: EHR has retrieved the completed Task, DiagnosticReport, and associated Observations</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 13</p><p><b>type</b>: create</p><p><b>name</b>: EHR gets referral acceptance</p><p><b>initiator</b>: Fit4Life</p><p><b>receiver</b>: goodCardio</p><p><b>description</b>: A subscription notification to the EHR is triggered when Fit4Life changes the Task status to 'completed'.  Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`</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>Scen2NotificationCompletedTaskBundle</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>: EHR retrieves completed Task</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: Fit4Life</p><p><b>description</b>: EHR retrieves the Task referenced by the subscription notification</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>Scen2query6</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>Scen2TaskEHRResponseBundle2</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 15</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves report</p><p><b>initiator</b>: goodCardio</p><p><b>receiver</b>: Fit4Life</p><p><b>description</b>: EHR retrieves the Fit4Life DiagnosticReport using the id provided in the Task.  It also uses _include to retrieve referenced observations</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>Scen2query7</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>Scen2DiagnosticReportObservationsResponseBundle</td></tr></table></blockquote></blockquote></blockquote></div>
  </text>
  <url
       value="http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen2ProviderToPersonaltrainerReferral"/>
  <version value="1.0.0"/>
  <name value="ProviderToPersonalTrainerReferral"/>
  <status value="draft"/>
  <date value="2023-08-25T15:35:25+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="goodCardio"/>
    <type value="entity"/>
    <name value="Good Health Cardiology"/>
    <description value="EHR that records patient's exercise plan"/>
  </actor>
  <actor>
    <actorId value="getFit"/>
    <type value="entity"/>
    <name value="Get Fit Training"/>
    <description value="'Light' service provider'"/>
  </actor>
  <actor>
    <actorId value="Fit4Life"/>
    <type value="entity"/>
    <name value="Fit 4 Life"/>
    <description value="'Full' service provider'"/>
  </actor>
  <actor>
    <actorId value="registry"/>
    <type value="entity"/>
    <name value="Service Registry"/>
    <description
                 value="Registry of candidate service providers - outside the scope of this IG"/>
  </actor>
  <instance>
    <resourceId value="Scen2query1"/>
    <resourceType value="Binary"/>
    <name value="Query for personal trainers near Mrs. Johansson"/>
    <description
                 value="Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson: `GET https://registry.example.org/fhir/PractitionerRole?role=228239008|http%3A//snomed.info/sct&amp;location.near=37.8393|84.2700|20|[mi_us]&amp;_include=PractitionerRole:practitioner`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query2"/>
    <resourceType value="Binary"/>
    <name value="Query for Get Fit assigned referrals"/>
    <description
                 value="Query Task and associated ServiceRequest and Patient: `GET https://goodCardio.example.org/fhir/Task?status=requested&amp;owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining&amp;_include=Task:patient&amp;_include=Task:focus`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query3"/>
    <resourceType value="Binary"/>
    <name value="Query for Referral &amp; Patient for retrieved Task"/>
    <description
                 value="Search to retrieve ServiceRequest and Patient for specified Task: `GET https://goodCardio.example.org/fhir/ServiceRequest?_id=Scen2ServiceRequest&amp;_include=ServiceRequest:patient`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query4"/>
    <resourceType value="Binary"/>
    <name value="Query for patient physical activity conditions"/>
    <description
                 value="Search to retrieve Conditions: `GET https://goodCardio.example.org/fhir/Condition?patient=Scen2PatientJohansson&amp;category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query5"/>
    <resourceType value="Binary"/>
    <name value="Query for patient physical activity observations"/>
    <description
                 value="Search to retrieve Observations: `GET https://goodCardio.example.org/fhir/Observation?patient=Scen2PatientJohansson&amp;category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query6"/>
    <resourceType value="Binary"/>
    <name value="Query for EHR-issued task based on notification"/>
    <description
                 value="Search to retrieve Task: `GET https://fit4life.example.org/fhir/Task?_id=Scen2TaskFit4Life`"/>
  </instance>
  <instance>
    <resourceId value="Scen2query7"/>
    <resourceType value="Binary"/>
    <name value="Query for report and referenced observations"/>
    <description
                 value="Search on referenced Observations: `GET https://fit4.life.example.org/fhir/DiagnosticReport?id=Scen2DiagnosticReport&amp;_include=DiagnosticReport:result`"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Patient/Scen2PatientJohansson"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2PatientJohansson"/>
    <resourceType value="Patient"/>
    <name value="Mrs. Johansson Patient Record"/>
    <description value="Demographics and contact information"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Practitioner/Scen2PractitionerMatthews"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2PractitionerMatthews"/>
    <resourceType value="Practitioner"/>
    <name value="Mr. Matthews Registry Entry"/>
    <description
                 value="Practitioner details for personal trainer Mr. Matthews"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Practitioner/Scen2PractitionerWang"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2PractitionerWang"/>
    <resourceType value="Practitioner"/>
    <name value="Ms. Wang Registry Entry"/>
    <description
                 value="Practitioner details for personal trainer Ms. Matthews"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="PractitionerRole/Scen2RoleMatthews"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2RoleMatthews"/>
    <resourceType value="PractitionerRole"/>
    <name value="Mr. Matthews Registry Entry"/>
    <description
                 value="Practitioner organization details for personal trainer Mr. Matthews"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Practitioner/Scen2PractitionerWang"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2PractitionerWang"/>
    <resourceType value="PractitionerRole"/>
    <name value="Ms. Wang Registry Entry"/>
    <description
                 value="Practitioner organization details for personal trainer Ms. Matthews"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Subscription/Scen2SubscriptionEhr"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2SubscriptionEhr"/>
    <resourceType value="Subscription"/>
    <name value="Subscription from EHR"/>
    <description
                 value="Establishes the subscription for the EHR to monitor tasks it's created"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Subscription/Scen2SubscriptionGetFit"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2SubscriptionGetFit"/>
    <resourceType value="Subscription"/>
    <name value="Subscription from Get Fit Training"/>
    <description
                 value="Establishes the subscription for the service provider to monitor tasks created for it"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2PractitionerTrainerSearchsetBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2PractitionerTrainerSearchsetBundle"/>
    <resourceType value="Bundle"/>
    <name value="Searchset Bundle returning list of personal trainers"/>
    <description
                 value="In practice, the set of candidates would likely be longer.  Note that this functionality is outside the scope of this IG."/>
    <containedInstance>
      <resourceId value="Scen2PractitionerMatthews"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Condition/Scen2ConditionLackOfExercise"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ConditionLackOfExercise"/>
    <resourceType value="Condition"/>
    <name value="Low physical activity condition"/>
    <description value="New condition added to chart"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Condition/Scen2ConditionHypertension"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ConditionHypertension"/>
    <resourceType value="Condition"/>
    <name value="Hypertension condition"/>
    <description value="Older condition"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsDaysPerWeek"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsDaysPerWeek"/>
    <resourceType value="Observation"/>
    <name value="Initial days per week of activity"/>
    <description value="Exercise of once per week"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsDaysPerWeek2"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsDaysPerWeek2"/>
    <resourceType value="Observation"/>
    <name value="New days per week of activity"/>
    <description value="Exercising 5 times per week"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsMinutesPerDay"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsMinutesPerDay"/>
    <resourceType value="Observation"/>
    <name value="Initial minutes per day of activity"/>
    <description value="15 minutes per day"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsMinutesPerDay2"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsMinutesPerDay2"/>
    <resourceType value="Observation"/>
    <name value="New minutes per day of activity"/>
    <description value="32 minutes per day"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityGroup"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityGroup"/>
    <resourceType value="Observation"/>
    <name value="Information about a run"/>
    <description value="Collection of sub-observations about a single run"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityType"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityType"/>
    <resourceType value="Observation"/>
    <name value="Type of activity - run"/>
    <description value="Indicates that the activity performed was a run"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityDuration"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityDuration"/>
    <resourceType value="Observation"/>
    <name value="Duration of run"/>
    <description value="Run was 30 minutes"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityMeanHR"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityMeanHR"/>
    <resourceType value="Observation"/>
    <name value="Average heart rate during run"/>
    <description value="Average heart rate of 132 bpm"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityPeakHR"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityPeakHR"/>
    <resourceType value="Observation"/>
    <name value="Peak heart rate during run"/>
    <description value="Peak heart rate of 177 bpm"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsActivityExperience"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsActivityExperience"/>
    <resourceType value="Observation"/>
    <name value="Experience of run by patient"/>
    <description value="Experience of run was positive"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Observation/Scen2ObsCalories"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObsCalories"/>
    <resourceType value="Observation"/>
    <name value="Calories burned during run"/>
    <description value="517 calories burned during run"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="DiagnosticReport/Scen2DiagnosticReport"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2DiagnosticReport"/>
    <resourceType value="DiagnosticReport"/>
    <name value="Report from personal trainer"/>
    <description
                 value="Letter to provider indicating how the consultation went"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="ServiceRequest/Scen2ServiceRequest"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ServiceRequest"/>
    <resourceType value="ServiceRequest"/>
    <name value="Referral for support"/>
    <description
                 value="Indicates what is to be done and when - but not by whom"/>
  </instance>
  <instance>
    <resourceId value="Scen2TaskGetFit"/>
    <resourceType value="Task"/>
    <name value="Task seeking GetFit to fulfill referral"/>
    <description value="This is the initial Task seeking fulfillment"/>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Initial GetFit Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen2TaskGetFitV1"/>
        </valueReference>
      </extension>
      <versionId value="1"/>
      <description
                   value="Initial version of the referral fulfillment request for GetFit with a status of 'requested'"/>
    </version>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Updated GetFit Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen2TaskGetFitV2"/>
        </valueReference>
      </extension>
      <versionId value="2"/>
      <description
                   value="Version of the referral fulfillment request for GetFit after it has been changed to 'rejected'"/>
    </version>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2SubscriptionNotificationNewTaskBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2SubscriptionNotificationNewTaskBundle"/>
    <resourceType value="Bundle"/>
    <name value="Subscription notification indicating new Task"/>
    <description
                 value="Points to the initial 'requested' version of the Task"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2TaskGetFitResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2TaskGetFitResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="Search-set Bundle returning referenced Task"/>
    <description
                 value="Returns Task referenced in subscription notification.  Includes associated ServiceRequest and Patient"/>
    <containedInstance>
      <resourceId value="Scen2TaskGetFit"/>
      <versionId value="1"/>
    </containedInstance>
  </instance>
  <instance>
    <resourceId value="Scen2TaskFit4Life"/>
    <resourceType value="Task"/>
    <name value="Task seeking FitLife to fulfill referral"/>
    <description
                 value="This is the second Task seeking fulfillment (after the first was rejected)"/>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Initial Fit4Life Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen2TaskFit4LifeV1"/>
        </valueReference>
      </extension>
      <versionId value="1"/>
      <description
                   value="Initial version of the referral fulfillment request for Fit4Life with a status of 'requested'"/>
    </version>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Updated Fit4Life Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen2TaskFit4LifeV2"/>
        </valueReference>
      </extension>
      <versionId value="2"/>
      <description
                   value="Version of the referral fulfillment request for Fit4Life after it has been changed to 'accepted'"/>
    </version>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Completed Fit4Life Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen2TaskFit4LifeV3"/>
        </valueReference>
      </extension>
      <versionId value="3"/>
      <description
                   value="Version of the referral fulfillment request for Fit4Life after it has been changed to 'completed' and a link to the report added"/>
    </version>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2ReferralFit4LifeResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ReferralFit4LifeResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="ServiceRequest search response for Fit4Life"/>
    <description
                 value="Search-set Bundle returning ServiceRequest and Patient for the Task posted to Fit4Life"/>
    <containedInstance>
      <resourceId value="Scen2PatientJohansson"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2TaskEHRResponseBundle1"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2TaskEHRResponseBundle1"/>
    <resourceType value="Bundle"/>
    <name value="Accepted Task search response for EHR"/>
    <description
                 value="Search-set Bundle returning 'accepted' Task with id based on subscription notification"/>
    <containedInstance>
      <resourceId value="Scen2TaskFit4Life"/>
      <versionId value="2"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2TaskEHRResponseBundle2"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2TaskEHRResponseBundle2"/>
    <resourceType value="Bundle"/>
    <name value="Completed Task search response for EHR"/>
    <description
                 value="Search-set Bundle returning 'completed' Task with id based on subscription notification"/>
    <containedInstance>
      <resourceId value="Scen2TaskFit4Life"/>
      <versionId value="3"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2ConditionResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ConditionResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="Condition response for Fit 4 Life"/>
    <description
                 value="Search-set Bundle containing the patient's Conditions (that Fit 4 Life has access to)"/>
    <containedInstance>
      <resourceId value="Scen2ConditionHypertension"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2ObservationResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2ObservationResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="Observation response for Fit 4 Life"/>
    <description
                 value="Search-set Bundle containing the patient's Observations (that Fit 4 Life has access to)"/>
    <containedInstance>
      <resourceId value="Scen2ObsMinutesPerDay"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2NotificationUpdatedTaskBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2NotificationUpdatedTaskBundle"/>
    <resourceType value="Bundle"/>
    <name value="Subscription Notification that Task has updated"/>
    <description value="Pointer to the Task that has been updated"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen2NotificationCompletedTaskBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2NotificationCompletedTaskBundle"/>
    <resourceType value="Bundle"/>
    <name value="Subscription Notification that Task has completed"/>
    <description value="Pointer to the Task that has been updated"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference
                   value="Bundle/Scen2DiagnosticReportObservationsResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen2DiagnosticReportObservationsResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="DiagnosticReport response for EHR"/>
    <description
                 value="Search-set Bundle returning DiagnosticReport and the Observations it references"/>
    <containedInstance>
      <resourceId value="Scen2ObsCalories"/>
    </containedInstance>
  </instance>
  <process>
    <title value="Subscription Establishment"/>
    <preConditions
                   value="Good Health Cardiology, Fit 4 Life, and Get Fit training have established legal and technical arrangements for interoperability"/>
    <postConditions
                    value="Subscriptions are successfully created allowing Good Health Cardiology to monitor Fit4Life-assigned Tasks and GetFit to monitor Tasks assigned to it hosted on Good Health Cardiology"/>
    <step>
      <operation>
        <number value="1"/>
        <type value="create"/>
        <name value="Create service provider-monitoring Subscription"/>
        <initiator value="goodCardio"/>
        <receiver value="Fit4Life"/>
        <description
                     value="EHR posts Subscription to Fit 4 Life to monitor Tasks. Request: `POST https://fit4life.example.org/fhir/Subscription`  Response: `201 Created`"/>
        <request>
          <resourceId value="Scen2SubscriptionEhr"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="2"/>
        <type value="create"/>
        <name value="Create EHR-monitoring Subscription"/>
        <initiator value="getFit"/>
        <receiver value="goodCardio"/>
        <description
                     value="Get Fit Training posts Subscription to EHR to monitor Tasks. Request: `POST https://goodCardio.example.org/fhir/Subscription`  Response: `201 Created`"/>
        <request>
          <resourceId value="Scen2SubscriptionGetFit"/>
        </request>
      </operation>
    </step>
  </process>
  <process>
    <title value="1 Hour after appointment"/>
    <preConditions
                   value="EHR has completed the appointment with the patient"/>
    <postConditions
                    value="EHR has retrieved list of personal trainers and notified GetFit of new Task"/>
    <step>
      <operation>
        <number value="3"/>
        <type value="search-type"/>
        <name value="Retrieve service provider list"/>
        <initiator value="goodCardio"/>
        <receiver value="registry"/>
        <description
                     value="Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson."/>
        <request>
          <resourceId value="Scen2query1"/>
        </request>
        <response>
          <resourceId value="Scen2PractitionerTrainerSearchsetBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="4"/>
        <type value="create"/>
        <name value="Subscription notification of new Task"/>
        <initiator value="goodCardio"/>
        <receiver value="getFit"/>
        <description
                     value="Service provider is notified of new Task via subscription. Request: `POST https://fit4life.example.org/fhir/Subscription`  Response: `201 Created`"/>
        <request>
          <resourceId value="Scen2SubscriptionNotificationNewTaskBundle"/>
        </request>
      </operation>
    </step>
  </process>
  <process>
    <title value="1 Day after appointment"/>
    <preConditions value="GetFit has received the notification of new Task"/>
    <postConditions
                    value="GetFit has queried Task, associated ServiceRequest and Patient; and updated Task to refused"/>
    <step>
      <operation>
        <number value="5"/>
        <type value="search-type"/>
        <name value="Getfit retrieves referral"/>
        <initiator value="getFit"/>
        <receiver value="goodCardio"/>
        <description
                     value="GetFit retrieves the referenced Task and its associated ServiceRequest and Patient."/>
        <request>
          <resourceId value="Scen2query2"/>
        </request>
        <response>
          <resourceId value="Scen2TaskGetFitResponseBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="6"/>
        <type value="update"/>
        <name value="GetFit refuses task"/>
        <initiator value="getFit"/>
        <receiver value="goodCardio"/>
        <description
                     value="GetFit updates the Task status to 'refused' with a reason.  Request: `PUT https://goodCardio.example.org/fhir/Task/Scen2TaskGetFitV1` Response: `200 Ok`"/>
        <request>
          <resourceId value="Scen2TaskGetFit"/>
          <versionId value="2"/>
        </request>
      </operation>
    </step>
  </process>
  <process>
    <title value="An Hour later"/>
    <preConditions
                   value="EHR has a Task seeking fulfillment of ServiceRequest for Fit4Life"/>
    <postConditions
                    value="Fit4Life has retrieved ServiceRequest, Patient, Conditions, Observations, and updated Task"/>
    <step>
      <operation>
        <number value="7"/>
        <type value="create"/>
        <name value="Create Task on Fit4Life"/>
        <initiator value="goodCardio"/>
        <receiver value="Fit4Life"/>
        <description
                     value="New Task is created directly on Fit4Life's server.  Request: `POST https://fit4life.example.org/fhir/Task` Response: `201 Created`"/>
        <request>
          <resourceId value="Scen2TaskFit4Life"/>
          <versionId value="1"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="8"/>
        <type value="search-type"/>
        <name value="Fit4Life retrieves referral"/>
        <initiator value="Fit4Life"/>
        <receiver value="goodCardio"/>
        <description
                     value="Fit4Life retrieves the ServiceRequest and Patient referenced by the Task."/>
        <request>
          <resourceId value="Scen2query3"/>
        </request>
        <response>
          <resourceId value="Scen2ReferralFit4LifeResponseBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="9"/>
        <type value="search-type"/>
        <name value="Fit4Life retrieves conditions"/>
        <initiator value="Fit4Life"/>
        <receiver value="goodCardio"/>
        <description
                     value="Fit4Life retrieves the physical-activity related Conditions associated with the patient."/>
        <request>
          <resourceId value="Scen2query4"/>
        </request>
        <response>
          <resourceId value="Scen2ConditionResponseBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="10"/>
        <type value="search-type"/>
        <name value="Fit4Life retrieves referral"/>
        <initiator value="Fit4Life"/>
        <receiver value="goodCardio"/>
        <description
                     value="Fit4Life retrieves the physical-activity related Observations associated with the patient.  (In practice there would typically be more than are shown here, and some might not be for profiles defined in this IG.)"/>
        <request>
          <resourceId value="Scen2query5"/>
        </request>
        <response>
          <resourceId value="Scen2ObservationResponseBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="11"/>
        <type value="create"/>
        <name value="EHR gets referral acceptance"/>
        <initiator value="Fit4Life"/>
        <receiver value="goodCardio"/>
        <description
                     value="A subscription notification to the EHR is triggered when Fit4Life changes the prescription status to 'accepted'.  Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`"/>
        <request>
          <resourceId value="Scen2NotificationUpdatedTaskBundle"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="12"/>
        <type value="search-type"/>
        <name value="EHR retrieves accepted Task"/>
        <initiator value="goodCardio"/>
        <receiver value="Fit4Life"/>
        <description
                     value="EHR retrieves the Task referenced by the subscription notification"/>
        <request>
          <resourceId value="Scen2query6"/>
        </request>
        <response>
          <resourceId value="Scen2TaskEHRResponseBundle1"/>
        </response>
      </operation>
    </step>
  </process>
  <process>
    <title value="2 Months Later"/>
    <preConditions value="Fit4Life has updated the Task"/>
    <postConditions
                    value="EHR has retrieved the completed Task, DiagnosticReport, and associated Observations"/>
    <step>
      <operation>
        <number value="13"/>
        <type value="create"/>
        <name value="EHR gets referral acceptance"/>
        <initiator value="Fit4Life"/>
        <receiver value="goodCardio"/>
        <description
                     value="A subscription notification to the EHR is triggered when Fit4Life changes the Task status to 'completed'.  Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`"/>
        <request>
          <resourceId value="Scen2NotificationCompletedTaskBundle"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="14"/>
        <type value="search-type"/>
        <name value="EHR retrieves completed Task"/>
        <initiator value="goodCardio"/>
        <receiver value="Fit4Life"/>
        <description
                     value="EHR retrieves the Task referenced by the subscription notification"/>
        <request>
          <resourceId value="Scen2query6"/>
        </request>
        <response>
          <resourceId value="Scen2TaskEHRResponseBundle2"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="15"/>
        <type value="search-type"/>
        <name value="EHR retrieves report"/>
        <initiator value="goodCardio"/>
        <receiver value="Fit4Life"/>
        <description
                     value="EHR retrieves the Fit4Life DiagnosticReport using the id provided in the Task.  It also uses _include to retrieve referenced observations"/>
        <request>
          <resourceId value="Scen2query7"/>
        </request>
        <response>
          <resourceId
                      value="Scen2DiagnosticReportObservationsResponseBundle"/>
        </response>
      </operation>
    </step>
  </process>
</ExampleScenario>