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 proposed exercise regime version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial CarePlan Extension Definition for ExampleScenario.instance.version.content for Version 5.0: CarePlan/Scen4CarePlanV1 versionId: 1 description: Planning for weight lifting, 30 minutes/day version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Updated CarePlan Extension Definition for ExampleScenario.instance.version.content for Version 5.0: CarePlan/Scen4CarePlanV2 versionId: 2 description: Planning for weight lifting, 15 + 30 minutes/day instance resourceId: Scen4Goal1 resourceType: Goal name: Physical Activity weekly target description: Goal indicating target number of minutes/day and days/week weight-lifting version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial goal Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Goal/Scen4Goal1V1 versionId: 1 description: Initial value of 30 mins/day version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial goal Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Goal/Scen4Goal1V2 versionId: 2 description: 30 mins/day-completed instance resourceId: Scen4Goal2 resourceType: Goal name: Physical Activity weekly target description: Increased goal indicating target number of minutes/day and days/week weight-lifting version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial goal Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Goal/Scen4Goal2V1 versionId: 1 description: Initial value of 45 mins/day version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial goal Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Goal/Scen4Goal2V2 versionId: 2 description: Sustaining 45 mins/day instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4CarePlanBundle1 resourceId: Scen4CarePlanBundle1 resourceType: Bundle name: Search-set of Care Plans description: Initial search results on Care plan for the patient ContainedInstances - ResourceId VersionId * Scen4CarePlan 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4CarePlanBundle2 resourceId: Scen4CarePlanBundle2 resourceType: Bundle name: Search-set of Care Plans#2 description: New search results on Care plan for the patient ContainedInstances - ResourceId VersionId * Scen4CarePlan 2 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4GoalBundle1 resourceId: Scen4GoalBundle1 resourceType: Bundle name: Search-set of Goals description: Initial search results on Goal for the patient ContainedInstances - ResourceId VersionId * Scen4Goal1 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4GoalBundle2 resourceId: Scen4GoalBundle2 resourceType: Bundle name: Search-set of Goals description: Initial search results on Goal for the patient ContainedInstances - ResourceId VersionId * Scen4Goal2 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4TaskBundle1 resourceId: Scen4TaskBundle1 resourceType: Bundle name: Search-set of active patient Tasks#1 description: Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.) ContainedInstances - ResourceId VersionId * Scen4TaskFillSurvey 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4TaskBundle2 resourceId: Scen4TaskBundle2 resourceType: Bundle name: Search-set of active patient Tasks#2 description: Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.) ContainedInstances - ResourceId VersionId * Scen4TaskReviewVideo 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen4TaskBundle3 resourceId: Scen4TaskBundle3 resourceType: Bundle name: Search-set of active patient Tasks#3 description: Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.) ContainedInstances - ResourceId VersionId * Scen4TaskFillSurvey2 1 instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationActivityType resourceId: Scen4ObservationActivityType resourceType: Observation name: Example physical activity type record description: A sample record indicating the type of physical activity performed by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationEVSMinutesPerDay resourceId: Scen4ObservationEVSMinutesPerDay resourceType: Observation name: Initial minutes/day of cardio description: A sample record of the minutes per day of cardio done by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationPeakDailyHeartRate resourceId: Scen4ObservationPeakDailyHeartRate resourceType: Observation name: Example peak daily heart rate description: A sample record of daily calories captured by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationEVSMinutesPerDay2 resourceId: Scen4ObservationEVSMinutesPerDay2 resourceType: Observation name: Updated minutes/day of cardio description: A second sample record of the minutes per day of cardio done by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationDailySteps resourceId: Scen4ObservationDailySteps resourceType: Observation name: Example daily step count description: A sample record of daily steps captured by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationCaloriesPerDay resourceId: Scen4ObservationCaloriesPerDay resourceType: Observation name: Example daily calories description: A sample record of daily calories captured by the patient instance Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen4ObservationEVSMinutesPerDay3 resourceId: Scen4ObservationEVSMinutesPerDay3 resourceType: Observation name: Final minutes/day of cardio description: A third sample record of the minutes per day of cardio done by the patient instance resourceId: Scen4TaskFillSurvey resourceType: Task name: Request for patient to fill out survey description: Patient Task requesting patient to fill out a satisfaction survey version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskFillSurveyV1 versionId: 1 description: Initial request to fill out survey version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Completed request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskFillSurveyV2 versionId: 2 description: Survey has been filled out and response has been attached to Task instance resourceId: Scen4TaskFillSurvey2 resourceType: Task name: Second request for patient to fill out survey description: New patient Task requesting patient to fill out a satisfaction survey version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskFillSurvey2V1 versionId: 1 description: Initial request to fill out survey version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Completed request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskFillSurvey2V2 versionId: 2 description: Survey has been filled out and response has been attached to Task instance resourceId: Scen4TaskReviewVideo resourceType: Task name: Request for patient to view video description: New patient Task requesting patient to fill out a satisfaction survey version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Initial request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskReviewVideoV1 versionId: 1 description: Initial request to view a video version Extension Definition for ExampleScenario.instance.version.title for Version 5.0: Completed request Extension Definition for ExampleScenario.instance.version.content for Version 5.0: Task/Scen4TaskReviewVideoV2 versionId: 2 description: Updated request indicating video has been viewed process title: Physical Activity Plan Establishment and Observations preConditions: CarePlan and initial Goal are created, Patient and Provider apps are operational postConditions: CarePlan and Goal successfully retrieved step operation number: 1 type: search-type name: Query CarePlan initiator: patient-app receiver: provider-app description: Patient app queries exercise CarePlan describing proposed exercise regime. Requests - ResourceId * Scen4query1 Responses - ResourceId * Scen4CarePlanBundle1 step operation number: 2 type: search-type name: Query Goals initiator: patient-app receiver: provider-app description: Patient app queries Goals. Requests - ResourceId * Scen4query2 Responses - ResourceId * Scen4GoalBundle1 process title: Post Observations, CarePlan adjustment and new Goals preConditions: Initial care plan and goal retrieved postConditions: 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: 3 type: create name: Post activity type initiator: patient-app receiver: provider-app description: Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationActivityType step pause: true operation number: 4 type: create name: Post min/day initiator: patient-app receiver: provider-app description: Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationEVSMinutesPerDay step operation number: 5 type: create name: Post peak daily heart rate initiator: patient-app receiver: provider-app description: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationPeakDailyHeartRate step pause: true operation number: 6 type: create name: Post min/day #2 initiator: patient-app receiver: provider-app description: Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationEVSMinutesPerDay2 step operation number: 7 type: create name: Post daily steps initiator: patient-app receiver: provider-app description: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationDailySteps step pause: true operation number: 8 type: create name: Post peak daily calories initiator: patient-app receiver: provider-app description: Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationCaloriesPerDay step pause: true operation number: 9 type: update name: Update goal initiator: patient-app receiver: provider-app description: Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1` Requests - ResourceId VersionId * Scen4Goal1 2 step pause: true operation number: 10 type: search-type name: Retrieve patient tasks#1 initiator: patient-app receiver: provider-app description: 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. Requests - ResourceId * Scen4query3 Responses - ResourceId * Scen4TaskBundle1 step pause: true operation number: 11 type: update name: Update task#1 initiator: patient-app receiver: provider-app description: Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey` Requests - ResourceId VersionId * Scen4TaskFillSurvey 2 step pause: true operation number: 12 type: search-type name: Retrieve patient tasks#2 initiator: patient-app receiver: provider-app description: 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. Requests - ResourceId * Scen4query3 Responses - ResourceId * Scen4TaskBundle2 step pause: true operation number: 13 type: update name: Update task#2 initiator: patient-app receiver: provider-app description: Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo` Requests - ResourceId VersionId * Scen4TaskReviewVideo 2 step operation number: 14 type: search-type name: Query CarePlan#2 initiator: patient-app receiver: provider-app description: After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime. Requests - ResourceId * Scen4query1 Responses - ResourceId * Scen4CarePlanBundle2 step pause: true operation number: 15 type: search-type name: Query Goals#2 initiator: patient-app receiver: provider-app description: After a phone call, patient uses app to retrieve updated Goals. Requests - ResourceId * Scen4query2 Responses - ResourceId * Scen4GoalBundle2 step pause: true operation number: 16 type: create name: Post min/day #3 initiator: patient-app receiver: provider-app description: Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation` Requests - ResourceId * Scen4ObservationEVSMinutesPerDay3 step pause: true operation number: 17 type: update name: Update goal initiator: patient-app receiver: provider-app description: 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` Requests - ResourceId VersionId * Scen4Goal2 2 step pause: true operation number: 18 type: search-type name: Retrieve patient tasks#3 initiator: patient-app receiver: provider-app description: 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. Requests - ResourceId * Scen4query3 Responses - ResourceId * Scen4TaskBundle3 step operation number: 19 type: update name: Update task#3 initiator: patient-app receiver: provider-app description: Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2` Requests - ResourceId VersionId * Scen4TaskFillSurvey2 2
A phone or web-based app used by Ms. Scarborough to track her physical activity
A phone or web-based app used by Ms. Rocha to manage her clients' data
Query for patient physical activity care plans
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`
Query for patient physical activity goals
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`
Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`
CarePlan describing proposed exercise regime
Planning for weight lifting, 30 minutes/day
Planning for weight lifting, 15 + 30 minutes/day
Goal indicating target number of minutes/day and days/week weight-lifting
Increased goal indicating target number of minutes/day and days/week weight-lifting
Initial search results on Care plan for the patient
New search results on Care plan for the patient
Initial search results on Goal for the patient
Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)
A sample record indicating the type of physical activity performed by the patient
A sample record of the minutes per day of cardio done by the patient
A sample record of daily calories captured by the patient
A second sample record of the minutes per day of cardio done by the patient
A sample record of daily steps captured by the patient
A third sample record of the minutes per day of cardio done by the patient
Patient Task requesting patient to fill out a satisfaction survey
Survey has been filled out and response has been attached to Task
Second request for patient to fill out survey
New patient Task requesting patient to fill out a satisfaction survey
Updated request indicating video has been viewed
Physical Activity Plan Establishment and Observations
CarePlan and initial Goal are created, Patient and Provider apps are operational
CarePlan and Goal successfully retrieved
Patient app queries exercise CarePlan describing proposed exercise regime.
Post Observations, CarePlan adjustment and new Goals
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
Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`
Patient app posts an observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`
Patient app posts another observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`
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.
Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`
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.
Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`
After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime.
After a phone call, patient uses app to retrieve updated Goals.
Patient app posts a third observation indicating number of minutes/day of moderate to vigorous physical activity. `POST https://ufit.example.org/fhir/Observation`
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`
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.
Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`