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 3 - Patient Seeks Referral for Exercise Program - XML Representation

Page standards status: Informative

Raw xml | Download



<ExampleScenario xmlns="http://hl7.org/fhir">
  <id value="Scen3ProviderToYMCAReferral"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: ExampleScenario</b><a name="Scen3ProviderToYMCAReferral"> </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;Scen3ProviderToYMCAReferral&quot; </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen3ProviderToYMCAReferral</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: PatientSeeksReferralforExerciseProgram</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>: mainClinic</p><p><b>type</b>: entity</p><p><b>name</b>: Main Street Clinic</p><p><b>description</b>: Dr. Blackrock's EHR - creates referral at patient's request</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: YMCA</p><p><b>type</b>: entity</p><p><b>name</b>: Cincinnati Central YMCA</p><p><b>description</b>: Fitness service provider who offers exercise program</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen3query1</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for Referral &amp; Patient for YMCA Task</p><p><b>description</b>: Search to retrieve ServiceRequest and Patient for specified Task: `GET https://mainClinic.example.org/fhir/ServiceRequest?_id=Scen3ServiceRequest&amp;_include=ServiceRequest:patient`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen3query2</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://YMCA.example.org/fhir/Task?_id=Scen3TaskYMCA`</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Subscription-Scen3SubscriptionEhr.html">Subscription/Scen3SubscriptionEhr</a></p><p><b>resourceId</b>: Scen3SubscriptionEhr</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>resourceId</b>: Scen3TaskYMCA</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Task seeking FitLife to fulfill referral</p><p><b>description</b>: A Task seeking fulfillment by the YMCA of the referral for an exercise program</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen3TaskYMCAV1.html">Task/Scen3TaskYMCAV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial version of the referral fulfillment request for YMCA 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 YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen3TaskYMCAV2.html">Task/Scen3TaskYMCAV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Version of the referral fulfillment request for YMCA 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 YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href="Task-Scen3TaskYMCAV3.html">Task/Scen3TaskYMCAV3</a></p><p><b>versionId</b>: 3</p><p><b>description</b>: Version of the referral fulfillment request for YMCA 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-Scen3ServiceRequestYMCAResponseBundle.html">Bundle/Scen3ServiceRequestYMCAResponseBundle</a></p><p><b>resourceId</b>: Scen3ServiceRequestYMCAResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: ServiceRequest search response for YMCA</p><p><b>description</b>: Search-set Bundle returning ServiceRequest and Patient for the Task posted to the YMCA</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href="Bundle-Scen3NotificationUpdatedTaskBundle.html">Bundle/Scen3NotificationUpdatedTaskBundle</a></p><p><b>resourceId</b>: Scen3NotificationUpdatedTaskBundle</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-Scen3NotificationCompletedTaskBundle.html">Bundle/Scen3NotificationCompletedTaskBundle</a></p><p><b>resourceId</b>: Scen3NotificationCompletedTaskBundle</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-Scen3TaskEHRResponseBundle1.html">Bundle/Scen3TaskEHRResponseBundle1</a></p><p><b>resourceId</b>: Scen3TaskEHRResponseBundle1</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>Scen3TaskYMCA</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-Scen3TaskEHRResponseBundle2.html">Bundle/Scen3TaskEHRResponseBundle2</a></p><p><b>resourceId</b>: Scen3TaskEHRResponseBundle2</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>Scen3TaskYMCA</td><td>3</td></tr></table></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Subscription Establishment</p><p><b>preConditions</b>: Main Street Clinic and Cinicinnati Central YMCA have established legal and technical arrangements for interoperability</p><p><b>postConditions</b>: Subscription is successfully created allowing Main Street Clinic to monitor YMCA-assigned Tasks</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 EHR-monitoring Subscription</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: YMCA posts Subscription to EHR to monitor Tasks. Request: `POST https://mainClinic.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>Scen3SubscriptionEhr</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: A minute after creation of ServiceRequest</p><p><b>preConditions</b>: EHR has created a ServiceRequest for Mr. Shevchenko</p><p><b>postConditions</b>: YMCA has retrieved the ServiceRequest and the Patient, and updated the Task to 'in-progress'</p><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 Task on YMCA</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</p><p><b>description</b>: New Task is created directly on YMCA's server.  Request: `POST https://YMCA.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>Scen3TaskYMCA</td><td>1</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 3</p><p><b>type</b>: search-type</p><p><b>name</b>: YMCA retrieves referral</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: YMCA 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>Scen3query1</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>Scen3ServiceRequestYMCAResponseBundle</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>: EHR gets referral acceptance</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: A subscription notification to the EHR is triggered when YMCA changes the prescription status to 'in-progress'.  Request: `POST https://mainClinic.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>Scen3NotificationUpdatedTaskBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 5</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves in-progress Task</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</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>Scen3query2</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>Scen3TaskEHRResponseBundle1</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: About 4 Months Later</p><p><b>preConditions</b>: YMCA is actively working on the Task</p><p><b>postConditions</b>: YMCA has completed the referral and Dr. Blackrock is aware of the results</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 6</p><p><b>type</b>: create</p><p><b>name</b>: EHR gets referral acceptance</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: A subscription notification to the EHR is triggered when the YMCA changes the Task status to 'completed'.  Request: `POST https://mainClinic.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>Scen3NotificationCompletedTaskBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 7</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves completed Task</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</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>Scen3query2</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>Scen3TaskEHRResponseBundle2</td></tr></table></blockquote></blockquote></blockquote></div>
  </text>
  <url
       value="http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen3ProviderToYMCAReferral"/>
  <version value="1.0.0"/>
  <name value="PatientSeeksReferralforExerciseProgram"/>
  <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="mainClinic"/>
    <type value="entity"/>
    <name value="Main Street Clinic"/>
    <description
                 value="Dr. Blackrock's EHR - creates referral at patient's request"/>
  </actor>
  <actor>
    <actorId value="YMCA"/>
    <type value="entity"/>
    <name value="Cincinnati Central YMCA"/>
    <description
                 value="Fitness service provider who offers exercise program"/>
  </actor>
  <instance>
    <resourceId value="Scen3query1"/>
    <resourceType value="Binary"/>
    <name value="Query for Referral &amp; Patient for YMCA Task"/>
    <description
                 value="Search to retrieve ServiceRequest and Patient for specified Task: `GET https://mainClinic.example.org/fhir/ServiceRequest?_id=Scen3ServiceRequest&amp;_include=ServiceRequest:patient`"/>
  </instance>
  <instance>
    <resourceId value="Scen3query2"/>
    <resourceType value="Binary"/>
    <name value="Query for EHR-issued task based on notification"/>
    <description
                 value="Search to retrieve Task: `GET https://YMCA.example.org/fhir/Task?_id=Scen3TaskYMCA`"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Subscription/Scen3SubscriptionEhr"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3SubscriptionEhr"/>
    <resourceType value="Subscription"/>
    <name value="Subscription from EHR"/>
    <description
                 value="Establishes the subscription for the EHR to monitor tasks it's created"/>
  </instance>
  <instance>
    <resourceId value="Scen3TaskYMCA"/>
    <resourceType value="Task"/>
    <name value="Task seeking FitLife to fulfill referral"/>
    <description
                 value="A Task seeking fulfillment by the YMCA of the referral for an exercise program"/>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Initial YMCA Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen3TaskYMCAV1"/>
        </valueReference>
      </extension>
      <versionId value="1"/>
      <description
                   value="Initial version of the referral fulfillment request for YMCA with a status of 'requested'"/>
    </version>
    <version>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title">
        <valueString value="Updated YMCA Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen3TaskYMCAV2"/>
        </valueReference>
      </extension>
      <versionId value="2"/>
      <description
                   value="Version of the referral fulfillment request for YMCA 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 YMCA Task"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content">
        <valueReference>
          <reference value="Task/Scen3TaskYMCAV3"/>
        </valueReference>
      </extension>
      <versionId value="3"/>
      <description
                   value="Version of the referral fulfillment request for YMCA 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/Scen3ServiceRequestYMCAResponseBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3ServiceRequestYMCAResponseBundle"/>
    <resourceType value="Bundle"/>
    <name value="ServiceRequest search response for YMCA"/>
    <description
                 value="Search-set Bundle returning ServiceRequest and Patient for the Task posted to the YMCA"/>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen3NotificationUpdatedTaskBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3NotificationUpdatedTaskBundle"/>
    <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/Scen3NotificationCompletedTaskBundle"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3NotificationCompletedTaskBundle"/>
    <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/Scen3TaskEHRResponseBundle1"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3TaskEHRResponseBundle1"/>
    <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="Scen3TaskYMCA"/>
      <versionId value="2"/>
    </containedInstance>
  </instance>
  <instance>
    <extension
               url="http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content">
      <valueReference>
        <reference value="Bundle/Scen3TaskEHRResponseBundle2"/>
      </valueReference>
    </extension>
    <resourceId value="Scen3TaskEHRResponseBundle2"/>
    <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="Scen3TaskYMCA"/>
      <versionId value="3"/>
    </containedInstance>
  </instance>
  <process>
    <title value="Subscription Establishment"/>
    <preConditions
                   value="Main Street Clinic and Cinicinnati Central YMCA have established legal and technical arrangements for interoperability"/>
    <postConditions
                    value="Subscription is successfully created allowing Main Street Clinic to monitor YMCA-assigned Tasks"/>
    <step>
      <operation>
        <number value="1"/>
        <type value="create"/>
        <name value="Create EHR-monitoring Subscription"/>
        <initiator value="YMCA"/>
        <receiver value="mainClinic"/>
        <description
                     value="YMCA posts Subscription to EHR to monitor Tasks. Request: `POST https://mainClinic.example.org/fhir/Subscription`  Response: `201 Created`"/>
        <request>
          <resourceId value="Scen3SubscriptionEhr"/>
        </request>
      </operation>
    </step>
  </process>
  <process>
    <title value="A minute after creation of ServiceRequest"/>
    <preConditions
                   value="EHR has created a ServiceRequest for Mr. Shevchenko"/>
    <postConditions
                    value="YMCA has retrieved the ServiceRequest and the Patient, and updated the Task to 'in-progress'"/>
    <step>
      <operation>
        <number value="2"/>
        <type value="create"/>
        <name value="Create Task on YMCA"/>
        <initiator value="mainClinic"/>
        <receiver value="YMCA"/>
        <description
                     value="New Task is created directly on YMCA's server.  Request: `POST https://YMCA.example.org/fhir/Task` Response: `201 Created`"/>
        <request>
          <resourceId value="Scen3TaskYMCA"/>
          <versionId value="1"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="3"/>
        <type value="search-type"/>
        <name value="YMCA retrieves referral"/>
        <initiator value="YMCA"/>
        <receiver value="mainClinic"/>
        <description
                     value="YMCA retrieves the ServiceRequest and Patient referenced by the Task."/>
        <request>
          <resourceId value="Scen3query1"/>
        </request>
        <response>
          <resourceId value="Scen3ServiceRequestYMCAResponseBundle"/>
        </response>
      </operation>
    </step>
    <step>
      <operation>
        <number value="4"/>
        <type value="create"/>
        <name value="EHR gets referral acceptance"/>
        <initiator value="YMCA"/>
        <receiver value="mainClinic"/>
        <description
                     value="A subscription notification to the EHR is triggered when YMCA changes the prescription status to 'in-progress'.  Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`"/>
        <request>
          <resourceId value="Scen3NotificationUpdatedTaskBundle"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="5"/>
        <type value="search-type"/>
        <name value="EHR retrieves in-progress Task"/>
        <initiator value="mainClinic"/>
        <receiver value="YMCA"/>
        <description
                     value="EHR retrieves the Task referenced by the subscription notification"/>
        <request>
          <resourceId value="Scen3query2"/>
        </request>
        <response>
          <resourceId value="Scen3TaskEHRResponseBundle1"/>
        </response>
      </operation>
    </step>
  </process>
  <process>
    <title value="About 4 Months Later"/>
    <preConditions value="YMCA is actively working on the Task"/>
    <postConditions
                    value="YMCA has completed the referral and Dr. Blackrock is aware of the results"/>
    <step>
      <operation>
        <number value="6"/>
        <type value="create"/>
        <name value="EHR gets referral acceptance"/>
        <initiator value="YMCA"/>
        <receiver value="mainClinic"/>
        <description
                     value="A subscription notification to the EHR is triggered when the YMCA changes the Task status to 'completed'.  Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`"/>
        <request>
          <resourceId value="Scen3NotificationCompletedTaskBundle"/>
        </request>
      </operation>
    </step>
    <step>
      <operation>
        <number value="7"/>
        <type value="search-type"/>
        <name value="EHR retrieves completed Task"/>
        <initiator value="mainClinic"/>
        <receiver value="YMCA"/>
        <description
                     value="EHR retrieves the Task referenced by the subscription notification"/>
        <request>
          <resourceId value="Scen3query2"/>
        </request>
        <response>
          <resourceId value="Scen3TaskEHRResponseBundle2"/>
        </response>
      </operation>
    </step>
  </process>
</ExampleScenario>