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 - JSON Representation

Page standards status: Informative

Raw json | Download


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