Scen4PhysicalActivityPlan
type: ExampleScenario
node role: treeRoot
id:
  v: Scen4PhysicalActivityPlan
text:
  status:
    v: extensions
  div: Generated Narrative: ExampleScenario Resource ExampleScenario "Scen4PhysicalActivityPlan" wg: pc url: http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan version: 1.0.1 name: PatientWorksWithPersonalTrainer status: draft date: 2024-03-12 17:26:10+0000 publisher: HL7 International / Patient Care contact: HL7 International / Patient Care: http://www.hl7.org/Special/committees/patientcare jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US) actor actorId: patient-app type: entity name: Patient Application description: A phone or web-based app used by Ms. Scarborough to track her physical activity actor actorId: provider-app type: entity name: Provider Application description: A phone or web-based app used by Ms. Rocha to manage her clients' data instance resourceId: Scen4query1 resourceType: Binary name: Query for patient physical activity care plans description: Query for CarePlans for a patient: `GET https://ufit.example.org/fhir/CarePlan?patient=Patient/Scen4PatientScarborough&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity` instance resourceId: Scen4query2 resourceType: Binary name: Query for patient physical activity goals description: Query for Goals for a patient: `GET https://ufit.example.org/fhir/Goal?patient=Patient/Scen4PatientScarborough&status=active,on-hold,completed&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity` instance resourceId: Scen4query3 resourceType: Binary name: Query for patient uncomplete tasks description: Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold` instance resourceId: Scen4CarePlan resourceType: CarePlan name: Patient physical activity care plan description: CarePlan describing propos…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value:
    v: pc
url:
  v: http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan
version:
  v: 1.0.1
name:
  v: PatientWorksWithPersonalTrainer
status:
  v: draft
date:
  v: 2024-03-12T17:26:10+00:00
publisher:
  v: HL7 International / Patient Care
contact:
  name:
    v: HL7 International / Patient Care
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/patientcare
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: US
actor:
  actor id:
    v: patient-app
  type:
    v: entity
  name:
    v: Patient Application
  description:
    v: A phone or web-based app used by Ms. Scarborough to track her physical activity
actor:
  actor id:
    v: provider-app
  type:
    v: entity
  name:
    v: Provider Application
  description:
    v: A phone or web-based app used by Ms. Rocha to manage her clients' data
instance:
  resource id:
    v: Scen4query1
  resource type:
    v: Binary
  name:
    v: Query for patient physical activity care plans
  description:
    v: Query for CarePlans for a patient: `GET https://ufit.example.org/fhir/CarePlan?patient=Patient/Scen4PatientScarborough&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`
instance:
  resource id:
    v: Scen4query2
  resource type:
    v: Binary
  name:
    v: Query for patient physical activity goals
  description:
    v: Query for Goals for a patient: `GET https://ufit.example.org/fhir/Goal?patient=Patient/Scen4PatientScarborough&status=active,on-hold,completed&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`
instance:
  resource id:
    v: Scen4query3
  resource type:
    v: Binary
  name:
    v: Query for patient uncomplete tasks
  description:
    v: Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`
instance:
  resource id:
    v: Scen4CarePlan
  resource type:
    v: CarePlan
  name:
    v: Patient physical activity care plan
  description:
    v: CarePlan describing proposed exercise regime
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Initial CarePlan
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/CarePlan/Scen4CarePlanV1
    version id:
      v: 1
    description:
      v: Planning for weight lifting, 30 minutes/day
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Updated CarePlan
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/CarePlan/Scen4CarePlanV2
    version id:
      v: 2
    description:
      v: Planning for weight lifting, 15 + 30 minutes/day
instance:
  resource id:
    v: Scen4Goal1
  resource type:
    v: Goal
  name:
    v: Physical Activity weekly target
  description:
    v: Goal indicating target number of minutes/day and days/week weight-lifting
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Initial goal
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/Goal/Scen4Goal1V1
    version id:
      v: 1
    description:
      v: Initial value of 30 mins/day
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Initial goal
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/Goal/Scen4Goal1V2
    version id:
      v: 2
    description:
      v: 30 mins/day-completed
instance:
  resource id:
    v: Scen4Goal2
  resource type:
    v: Goal
  name:
    v: Physical Activity weekly target
  description:
    v: Increased goal indicating target number of minutes/day and days/week weight-lifting
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Initial goal
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/Goal/Scen4Goal2V1
    version id:
      v: 1
    description:
      v: Initial value of 45 mins/day
  version:
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
      value:
        v: Initial goal
    extension:
      url:
        v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
      value: Reference
        link: http://hl7.org/fhir/us/physical-activity/Goal/Scen4Goal2V2
    version id:
      v: 2
    description:
      v: Sustaining 45 mins/day

v: CarePlan/Scen4CarePlanV1

v: CarePlan/Scen4CarePlanV2

v: Goal/Scen4Goal1V1

v: Goal/Scen4Goal1V2

v: Goal/Scen4Goal2V1

v: Goal/Scen4Goal2V2

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4CarePlanBundle1
    reference:
      v: Bundle/Scen4CarePlanBundle1
resource id:
  v: Scen4CarePlanBundle1
resource type:
  v: Bundle
name:
  v: Search-set of Care Plans
description:
  v: Initial search results on Care plan for the patient
contained instance:
  resource id:
    v: Scen4CarePlan
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4CarePlanBundle2
    reference:
      v: Bundle/Scen4CarePlanBundle2
resource id:
  v: Scen4CarePlanBundle2
resource type:
  v: Bundle
name:
  v: Search-set of Care Plans#2
description:
  v: New search results on Care plan for the patient
contained instance:
  resource id:
    v: Scen4CarePlan
  version id:
    v: 2

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4GoalBundle1
    reference:
      v: Bundle/Scen4GoalBundle1
resource id:
  v: Scen4GoalBundle1
resource type:
  v: Bundle
name:
  v: Search-set of Goals
description:
  v: Initial search results on Goal for the patient
contained instance:
  resource id:
    v: Scen4Goal1
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4GoalBundle2
    reference:
      v: Bundle/Scen4GoalBundle2
resource id:
  v: Scen4GoalBundle2
resource type:
  v: Bundle
name:
  v: Search-set of Goals
description:
  v: Initial search results on Goal for the patient
contained instance:
  resource id:
    v: Scen4Goal2
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4TaskBundle1
    reference:
      v: Bundle/Scen4TaskBundle1
resource id:
  v: Scen4TaskBundle1
resource type:
  v: Bundle
name:
  v: Search-set of active patient Tasks#1
description:
  v: Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
contained instance:
  resource id:
    v: Scen4TaskFillSurvey
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4TaskBundle2
    reference:
      v: Bundle/Scen4TaskBundle2
resource id:
  v: Scen4TaskBundle2
resource type:
  v: Bundle
name:
  v: Search-set of active patient Tasks#2
description:
  v: Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
contained instance:
  resource id:
    v: Scen4TaskReviewVideo
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Bundle/Scen4TaskBundle3
    reference:
      v: Bundle/Scen4TaskBundle3
resource id:
  v: Scen4TaskBundle3
resource type:
  v: Bundle
name:
  v: Search-set of active patient Tasks#3
description:
  v: Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
contained instance:
  resource id:
    v: Scen4TaskFillSurvey2
  version id:
    v: 1

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationActivityType
resource id:
  v: Scen4ObservationActivityType
resource type:
  v: Observation
name:
  v: Example physical activity type record
description:
  v: A sample record indicating the type of physical activity performed by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationEVSMinutesPerDay
resource id:
  v: Scen4ObservationEVSMinutesPerDay
resource type:
  v: Observation
name:
  v: Initial minutes/day of cardio
description:
  v: A sample record of the minutes per day of cardio done by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationPeakDailyHeartRate
resource id:
  v: Scen4ObservationPeakDailyHeartRate
resource type:
  v: Observation
name:
  v: Example peak daily heart rate
description:
  v: A sample record of daily calories captured by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationEVSMinutesPerDay2
resource id:
  v: Scen4ObservationEVSMinutesPerDay2
resource type:
  v: Observation
name:
  v: Updated minutes/day of cardio
description:
  v: A second sample record of the minutes per day of cardio done by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationDailySteps
    reference:
      v: Observation/Scen4ObservationDailySteps
resource id:
  v: Scen4ObservationDailySteps
resource type:
  v: Observation
name:
  v: Example daily step count
description:
  v: A sample record of daily steps captured by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationCaloriesPerDay
resource id:
  v: Scen4ObservationCaloriesPerDay
resource type:
  v: Observation
name:
  v: Example daily calories
description:
  v: A sample record of daily calories captured by the patient

extension:
  url:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content
  value: Reference
    link: http://hl7.org/fhir/us/physical-activity/Observation/Scen4ObservationEVSMinutesPerDay3
resource id:
  v: Scen4ObservationEVSMinutesPerDay3
resource type:
  v: Observation
name:
  v: Final minutes/day of cardio
description:
  v: A third sample record of the minutes per day of cardio done by the patient

resource id:
  v: Scen4TaskFillSurvey
resource type:
  v: Task
name:
  v: Request for patient to fill out survey
description:
  v: Patient Task requesting patient to fill out a satisfaction survey
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Initial request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskFillSurveyV1
      reference:
        v: Task/Scen4TaskFillSurveyV1
  version id:
    v: 1
  description:
    v: Initial request to fill out survey
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Completed request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskFillSurveyV2
      reference:
        v: Task/Scen4TaskFillSurveyV2
  version id:
    v: 2
  description:
    v: Survey has been filled out and response has been attached to Task

resource id:
  v: Scen4TaskFillSurvey2
resource type:
  v: Task
name:
  v: Second request for patient to fill out survey
description:
  v: New patient Task requesting patient to fill out a satisfaction survey
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Initial request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskFillSurvey2V1
      reference:
        v: Task/Scen4TaskFillSurvey2V1
  version id:
    v: 1
  description:
    v: Initial request to fill out survey
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Completed request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskFillSurvey2V2
      reference:
        v: Task/Scen4TaskFillSurvey2V2
  version id:
    v: 2
  description:
    v: Survey has been filled out and response has been attached to Task

resource id:
  v: Scen4TaskReviewVideo
resource type:
  v: Task
name:
  v: Request for patient to view video
description:
  v: New patient Task requesting patient to fill out a satisfaction survey
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Initial request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskReviewVideoV1
      reference:
        v: Task/Scen4TaskReviewVideoV1
  version id:
    v: 1
  description:
    v: Initial request to view a video
version:
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title
    value:
      v: Completed request
  extension:
    url:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content
    value: Reference
      link: http://hl7.org/fhir/us/physical-activity/Task/Scen4TaskReviewVideoV2
      reference:
        v: Task/Scen4TaskReviewVideoV2
  version id:
    v: 2
  description:
    v: Updated request indicating video has been viewed

title:
  v: Physical Activity Plan Establishment and Observations
pre conditions:
  v: CarePlan and initial Goal are created, Patient and Provider apps are operational
post conditions:
  v: CarePlan and Goal successfully retrieved
step:
  operation:
    number:
      v: 1
    type:
      v: search-type
    name:
      v: Query CarePlan
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app queries exercise CarePlan describing proposed exercise regime.
    request:
      resource id:
        v: Scen4query1
    response:
      resource id:
        v: Scen4CarePlanBundle1
step:
  operation:
    number:
      v: 2
    type:
      v: search-type
    name:
      v: Query Goals
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app queries Goals.
    request:
      resource id:
        v: Scen4query2
    response:
      resource id:
        v: Scen4GoalBundle1

title:
  v: Post Observations, CarePlan adjustment and new Goals
pre conditions:
  v: Initial care plan and goal retrieved
post conditions:
  v: Care plan followed, various observations are posted by the patient and initial goal accomplished (along with filling survey). Care plan is adjusted, new goal is set, and observations are posted
step:
  operation:
    number:
      v: 3
    type:
      v: create
    name:
      v: Post activity type
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationActivityType
step:
  pause:
    v: true
  operation:
    number:
      v: 4
    type:
      v: create
    name:
      v: Post min/day
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationEVSMinutesPerDay
step:
  operation:
    number:
      v: 5
    type:
      v: create
    name:
      v: Post peak daily heart rate
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationPeakDailyHeartRate
step:
  pause:
    v: true
  operation:
    number:
      v: 6
    type:
      v: create
    name:
      v: Post min/day #2
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationEVSMinutesPerDay2
step:
  operation:
    number:
      v: 7
    type:
      v: create
    name:
      v: Post daily steps
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationDailySteps
step:
  pause:
    v: true
  operation:
    number:
      v: 8
    type:
      v: create
    name:
      v: Post peak daily calories
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`
    request:
      resource id:
        v: Scen4ObservationCaloriesPerDay
step:
  pause:
    v: true
  operation:
    number:
      v: 9
    type:
      v: update
    name:
      v: Update goal
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`
    request:
      resource id:
        v: Scen4Goal1
      version id:
        v: 2
step:
  pause:
    v: true
  operation:
    number:
      v: 10
    type:
      v: search-type
    name:
      v: Retrieve patient tasks#1
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to fill out a survey.
    request:
      resource id:
        v: Scen4query3
    response:
      resource id:
        v: Scen4TaskBundle1
step:
  pause:
    v: true
  operation:
    number:
      v: 11
    type:
      v: update
    name:
      v: Update task#1
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`
    request:
      resource id:
        v: Scen4TaskFillSurvey
      version id:
        v: 2
step:
  pause:
    v: true
  operation:
    number:
      v: 12
    type:
      v: search-type
    name:
      v: Retrieve patient tasks#2
    initiator:
      v: patient-app
    receiver:
      v: provider-app
    description:
      v: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to reivew a video.
    request:
      resource id:
        v: Scen4query3
    response:
      resource id:
        v: Scen4TaskBundle2

pause:
  v: true
operation:
  number:
    v: 13
  type:
    v: update
  name:
    v: Update task#2
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`
  request:
    resource id:
      v: Scen4TaskReviewVideo
    version id:
      v: 2

operation:
  number:
    v: 14
  type:
    v: search-type
  name:
    v: Query CarePlan#2
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime.
  request:
    resource id:
      v: Scen4query1
  response:
    resource id:
      v: Scen4CarePlanBundle2

pause:
  v: true
operation:
  number:
    v: 15
  type:
    v: search-type
  name:
    v: Query Goals#2
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: After a phone call, patient uses app to retrieve updated Goals.
  request:
    resource id:
      v: Scen4query2
  response:
    resource id:
      v: Scen4GoalBundle2

pause:
  v: true
operation:
  number:
    v: 16
  type:
    v: create
  name:
    v: Post min/day #3
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
  request:
    resource id:
      v: Scen4ObservationEVSMinutesPerDay3

pause:
  v: true
operation:
  number:
    v: 17
  type:
    v: update
  name:
    v: Update goal
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: Patient updates their second goal to indicate it's achieved, but they want to stay where they are. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal2`
  request:
    resource id:
      v: Scen4Goal2
    version id:
      v: 2

pause:
  v: true
operation:
  number:
    v: 18
  type:
    v: search-type
  name:
    v: Retrieve patient tasks#3
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: Based on an SMS prompt from an 'internal' subscription, the patient app checks for new tasks assigned by their trainer and receives request to complete a second survey.
  request:
    resource id:
      v: Scen4query3
  response:
    resource id:
      v: Scen4TaskBundle3

operation:
  number:
    v: 19
  type:
    v: update
  name:
    v: Update task#3
  initiator:
    v: patient-app
  receiver:
    v: provider-app
  description:
    v: Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`
  request:
    resource id:
      v: Scen4TaskFillSurvey2
    version id:
      v: 2