{
"description": null,
"_filename": "ExampleScenario-Scen4PhysicalActivityPlan.json",
"package_name": "hl7.fhir.us.physical-activity.r4b",
"date": "2023-08-25T16:04:38+00:00",
"publisher": "HL7 International - Patient Care WG",
"instance": [ {
"name": "Query for patient physical activity care plans",
"resourceId": "Scen4query1",
"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`",
"resourceType": "Binary"
}, {
"name": "Query for patient physical activity goals",
"resourceId": "Scen4query2",
"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`",
"resourceType": "Binary"
}, {
"name": "Query for patient uncomplete tasks",
"resourceId": "Scen4query3",
"description": "Query for uncomplete patient Tasks for a patient: `GET https://ufit.example.org/fhir/Task?owner=Patient/Scen4PatientScarborough&status=active,on-hold`",
"resourceType": "Binary"
}, {
"name": "Patient physical activity care plan",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial CarePlan"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "CarePlan/Scen4CarePlanV1"
}
} ],
"versionId": "1",
"description": "Planning for weight lifting, 30 minutes/day"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Updated CarePlan"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "CarePlan/Scen4CarePlanV2"
}
} ],
"versionId": "2",
"description": "Planning for weight lifting, 15 + 30 minutes/day"
} ],
"resourceId": "Scen4CarePlan",
"description": "CarePlan describing proposed exercise regime",
"resourceType": "CarePlan"
}, {
"name": "Physical Activity weekly target",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial goal"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Goal/Scen4Goal1V1"
}
} ],
"versionId": "1",
"description": "Initial value of 30 mins/day"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial goal"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Goal/Scen4Goal1V2"
}
} ],
"versionId": "2",
"description": "30 mins/day-completed"
} ],
"resourceId": "Scen4Goal1",
"description": "Goal indicating target number of minutes/day and days/week weight-lifting",
"resourceType": "Goal"
}, {
"name": "Physical Activity weekly target",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial goal"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Goal/Scen4Goal2V1"
}
} ],
"versionId": "1",
"description": "Initial value of 45 mins/day"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial goal"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Goal/Scen4Goal2V2"
}
} ],
"versionId": "2",
"description": "Sustaining 45 mins/day"
} ],
"resourceId": "Scen4Goal2",
"description": "Increased goal indicating target number of minutes/day and days/week weight-lifting",
"resourceType": "Goal"
}, {
"name": "Search-set of Care Plans",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4CarePlanBundle1"
}
} ],
"resourceId": "Scen4CarePlanBundle1",
"description": "Initial search results on Care plan for the patient",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4CarePlan"
} ]
}, {
"name": "Search-set of Care Plans#2",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4CarePlanBundle2"
}
} ],
"resourceId": "Scen4CarePlanBundle2",
"description": "New search results on Care plan for the patient",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "2",
"resourceId": "Scen4CarePlan"
} ]
}, {
"name": "Search-set of Goals",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4GoalBundle1"
}
} ],
"resourceId": "Scen4GoalBundle1",
"description": "Initial search results on Goal for the patient",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4Goal1"
} ]
}, {
"name": "Search-set of Goals",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4GoalBundle2"
}
} ],
"resourceId": "Scen4GoalBundle2",
"description": "Initial search results on Goal for the patient",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4Goal2"
} ]
}, {
"name": "Search-set of active patient Tasks#1",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4TaskBundle1"
}
} ],
"resourceId": "Scen4TaskBundle1",
"description": "Initial search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4TaskFillSurvey"
} ]
}, {
"name": "Search-set of active patient Tasks#2",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4TaskBundle2"
}
} ],
"resourceId": "Scen4TaskBundle2",
"description": "Second search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4TaskReviewVideo"
} ]
}, {
"name": "Search-set of active patient Tasks#3",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen4TaskBundle3"
}
} ],
"resourceId": "Scen4TaskBundle3",
"description": "Third search results of uncomplete patient Tasks. (Triggered by notification from trainer's app.)",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen4TaskFillSurvey2"
} ]
}, {
"name": "Example physical activity type record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationActivityType"
}
} ],
"resourceId": "Scen4ObservationActivityType",
"description": "A sample record indicating the type of physical activity performed by the patient",
"resourceType": "Observation"
}, {
"name": "Initial minutes/day of cardio",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationEVSMinutesPerDay"
}
} ],
"resourceId": "Scen4ObservationEVSMinutesPerDay",
"description": "A sample record of the minutes per day of cardio done by the patient",
"resourceType": "Observation"
}, {
"name": "Example peak daily heart rate",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationPeakDailyHeartRate"
}
} ],
"resourceId": "Scen4ObservationPeakDailyHeartRate",
"description": "A sample record of daily calories captured by the patient",
"resourceType": "Observation"
}, {
"name": "Updated minutes/day of cardio",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationEVSMinutesPerDay2"
}
} ],
"resourceId": "Scen4ObservationEVSMinutesPerDay2",
"description": "A second sample record of the minutes per day of cardio done by the patient",
"resourceType": "Observation"
}, {
"name": "Example daily step count",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationDailySteps"
}
} ],
"resourceId": "Scen4ObservationDailySteps",
"description": "A sample record of daily steps captured by the patient",
"resourceType": "Observation"
}, {
"name": "Example daily calories",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationCaloriesPerDay"
}
} ],
"resourceId": "Scen4ObservationCaloriesPerDay",
"description": "A sample record of daily calories captured by the patient",
"resourceType": "Observation"
}, {
"name": "Final minutes/day of cardio",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen4ObservationEVSMinutesPerDay3"
}
} ],
"resourceId": "Scen4ObservationEVSMinutesPerDay3",
"description": "A third sample record of the minutes per day of cardio done by the patient",
"resourceType": "Observation"
}, {
"name": "Request for patient to fill out survey",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskFillSurveyV1"
}
} ],
"versionId": "1",
"description": "Initial request to fill out survey"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Completed request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskFillSurveyV2"
}
} ],
"versionId": "2",
"description": "Survey has been filled out and response has been attached to Task"
} ],
"resourceId": "Scen4TaskFillSurvey",
"description": "Patient Task requesting patient to fill out a satisfaction survey",
"resourceType": "Task"
}, {
"name": "Second request for patient to fill out survey",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskFillSurvey2V1"
}
} ],
"versionId": "1",
"description": "Initial request to fill out survey"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Completed request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskFillSurvey2V2"
}
} ],
"versionId": "2",
"description": "Survey has been filled out and response has been attached to Task"
} ],
"resourceId": "Scen4TaskFillSurvey2",
"description": "New patient Task requesting patient to fill out a satisfaction survey",
"resourceType": "Task"
}, {
"name": "Request for patient to view video",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskReviewVideoV1"
}
} ],
"versionId": "1",
"description": "Initial request to view a video"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Completed request"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen4TaskReviewVideoV2"
}
} ],
"versionId": "2",
"description": "Updated request indicating video has been viewed"
} ],
"resourceId": "Scen4TaskReviewVideo",
"description": "New patient Task requesting patient to fill out a satisfaction survey",
"resourceType": "Task"
} ],
"jurisdiction": [ {
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166"
} ]
} ],
"name": "PatientWorksWithPersonalTrainer",
"process": [ {
"step": [ {
"operation": {
"name": "Query CarePlan",
"type": "search-type",
"number": "1",
"request": {
"resourceId": "Scen4query1"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4CarePlanBundle1"
},
"initiator": "patient-app",
"description": "Patient app queries exercise CarePlan describing proposed exercise regime."
}
}, {
"operation": {
"name": "Query Goals",
"type": "search-type",
"number": "2",
"request": {
"resourceId": "Scen4query2"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4GoalBundle1"
},
"initiator": "patient-app",
"description": "Patient app queries Goals."
}
} ],
"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": {
"name": "Post activity type",
"type": "create",
"number": "3",
"request": {
"resourceId": "Scen4ObservationActivityType"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient app posts an observation indicating type of physical activity. `POST https://ufit.example.org/fhir/Observation`"
}
}, {
"pause": true,
"operation": {
"name": "Post min/day",
"type": "create",
"number": "4",
"request": {
"resourceId": "Scen4ObservationEVSMinutesPerDay"
},
"receiver": "provider-app",
"initiator": "patient-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`"
}
}, {
"operation": {
"name": "Post peak daily heart rate",
"type": "create",
"number": "5",
"request": {
"resourceId": "Scen4ObservationPeakDailyHeartRate"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"
}
}, {
"pause": true,
"operation": {
"name": "Post min/day #2",
"type": "create",
"number": "6",
"request": {
"resourceId": "Scen4ObservationEVSMinutesPerDay2"
},
"receiver": "provider-app",
"initiator": "patient-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`"
}
}, {
"operation": {
"name": "Post daily steps",
"type": "create",
"number": "7",
"request": {
"resourceId": "Scen4ObservationDailySteps"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"
}
}, {
"pause": true,
"operation": {
"name": "Post peak daily calories",
"type": "create",
"number": "8",
"request": {
"resourceId": "Scen4ObservationCaloriesPerDay"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient app posts an observation indicating their peak daily heart rate. `POST https://ufit.example.org/fhir/Observation`"
}
}, {
"pause": true,
"operation": {
"name": "Update goal",
"type": "update",
"number": "9",
"request": {
"versionId": "2",
"resourceId": "Scen4Goal1"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient updates their initial goal to indicate it's achieved. `PUT https://ufit.example.org/fhir/Observation/Scen4Goal1`"
}
}, {
"pause": true,
"operation": {
"name": "Retrieve patient tasks#1",
"type": "search-type",
"number": "10",
"request": {
"resourceId": "Scen4query3"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4TaskBundle1"
},
"initiator": "patient-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."
}
}, {
"pause": true,
"operation": {
"name": "Update task#1",
"type": "update",
"number": "11",
"request": {
"versionId": "2",
"resourceId": "Scen4TaskFillSurvey"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient updates the task with the completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey`"
}
}, {
"pause": true,
"operation": {
"name": "Retrieve patient tasks#2",
"type": "search-type",
"number": "12",
"request": {
"resourceId": "Scen4query3"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4TaskBundle2"
},
"initiator": "patient-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."
}
}, {
"pause": true,
"operation": {
"name": "Update task#2",
"type": "update",
"number": "13",
"request": {
"versionId": "2",
"resourceId": "Scen4TaskReviewVideo"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient updates the task indicating they've watched the video. `PUT https://ufit.example.org/fhir/Task/Scen4TaskReviewVideo`"
}
}, {
"operation": {
"name": "Query CarePlan#2",
"type": "search-type",
"number": "14",
"request": {
"resourceId": "Scen4query1"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4CarePlanBundle2"
},
"initiator": "patient-app",
"description": "After a phone call, patient uses app to retrieve updated CarePlan describing revised exercise regime."
}
}, {
"pause": true,
"operation": {
"name": "Query Goals#2",
"type": "search-type",
"number": "15",
"request": {
"resourceId": "Scen4query2"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4GoalBundle2"
},
"initiator": "patient-app",
"description": "After a phone call, patient uses app to retrieve updated Goals."
}
}, {
"pause": true,
"operation": {
"name": "Post min/day #3",
"type": "create",
"number": "16",
"request": {
"resourceId": "Scen4ObservationEVSMinutesPerDay3"
},
"receiver": "provider-app",
"initiator": "patient-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`"
}
}, {
"pause": true,
"operation": {
"name": "Update goal",
"type": "update",
"number": "17",
"request": {
"versionId": "2",
"resourceId": "Scen4Goal2"
},
"receiver": "provider-app",
"initiator": "patient-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`"
}
}, {
"pause": true,
"operation": {
"name": "Retrieve patient tasks#3",
"type": "search-type",
"number": "18",
"request": {
"resourceId": "Scen4query3"
},
"receiver": "provider-app",
"response": {
"resourceId": "Scen4TaskBundle3"
},
"initiator": "patient-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."
}
}, {
"operation": {
"name": "Update task#3",
"type": "update",
"number": "19",
"request": {
"versionId": "2",
"resourceId": "Scen4TaskFillSurvey2"
},
"receiver": "provider-app",
"initiator": "patient-app",
"description": "Patient updates the task indicating it's complete with the new completed survey. `PUT https://ufit.example.org/fhir/Task/Scen4TaskFillSurvey2`"
}
} ],
"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"
} ],
"type": null,
"experimental": null,
"resourceType": "ExampleScenario",
"title": null,
"package_version": "1.0.0",
"status": "draft",
"id": "11b2e083-29c2-402d-950c-b478b22f0eb5",
"kind": null,
"url": "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen4PhysicalActivityPlan",
"version": "1.0.0",
"contact": [ {
"name": "HL7 International - Patient Care WG",
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/patientcare",
"system": "url"
} ]
} ],
"actor": [ {
"name": "Patient Application",
"type": "entity",
"actorId": "patient-app",
"description": "A phone or web-based app used by Ms. Scarborough to track her physical activity"
}, {
"name": "Provider Application",
"type": "entity",
"actorId": "provider-app",
"description": "A phone or web-based app used by Ms. Rocha to manage her clients' data"
} ]
}