{
"description": null,
"_filename": "ExampleScenario-Scen1ExercisePrescriptionScenario.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": "Scen1query1",
"description": "Query for CarePlans for a patient: `GET https://goodhealth.example.org/fhir/CarePlan?patient=Patient/Scen1PatientKhatun&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": "Scen1query2",
"description": "Query for Goals for a patient: `GET https://goodhealth.example.org/fhir/Goal?patient=Patient/Scen1PatientKhatun&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 exercise prescriptions and referrals",
"resourceId": "Scen1query3",
"description": "Query for ServiceRequests for a patient: `GET https://goodhealth.example.org/fhir/ServiceRequest?patient=Patient/Scen1PatientKhatun&status=active,on-hold&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity`",
"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/Scen1CarePlanV1"
}
} ],
"versionId": "1",
"description": "Planning for jogging and stationary bike"
}, {
"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/Scen1CarePlanV2"
}
} ],
"versionId": "2",
"description": "Planning for increased stationary bike"
} ],
"resourceId": "Scen1CarePlan",
"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/Scen1GoalV1"
}
} ],
"versionId": "1",
"description": "Initial value of 100 mins/week"
}, {
"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/Scen1GoalV2"
}
} ],
"versionId": "1",
"description": "Initial value of 100 mins/week-completed"
} ],
"resourceId": "Scen1Goal",
"description": "Goal indicating target number of minutes/week of moderate-vigorous physical activity",
"resourceType": "Goal"
}, {
"name": "Updated goal",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Goal/Scen1Goal2"
}
} ],
"resourceId": "Scen1Goal2",
"description": "Updated value of 150 mins/week",
"resourceType": "Bundle"
}, {
"name": "Initial care plan search response bundle",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen1CarePlanBundle1"
}
} ],
"resourceId": "Scen1CarePlanBundle1",
"description": "Only contains 1 plan, though in practice, more than one is possible",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen1CarePlan"
} ]
}, {
"name": "Second care plan search response bundle",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen1CarePlanBundle2"
}
} ],
"resourceId": "Scen1CarePlanBundle2",
"description": "In a real system, the id would be the same as the original",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "2",
"resourceId": "Scen1CarePlan"
} ]
}, {
"name": "Initial goal search response bundle",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen1GoalBundle1"
}
} ],
"resourceId": "Scen1GoalBundle1",
"description": "There could be multiple goals, but in the scenario there's only one.",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen1Goal"
} ]
}, {
"name": "Second goal search response bundle",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen1GoalBundle2"
}
} ],
"resourceId": "Scen1GoalBundle2",
"description": "In a real system, the id would be the same as the original",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen1Goal2"
} ]
}, {
"name": "Prescription for exercise",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "ServiceRequest/Scen1ExerciseRx"
}
} ],
"resourceId": "Scen1ExerciseRx",
"description": "Expressed as a ServiceRequest with performer of the patient",
"resourceType": "ServiceRequest"
}, {
"name": "Search result of exercise prescriptions and referrals",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen1ExerciseRxBundle"
}
} ],
"resourceId": "Scen1ExerciseRxBundle",
"description": "There could be a mix of an exercise prescription plus referrals, but in this case there's only the prescription.",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen1ExerciseRx"
} ]
}, {
"name": "Example physical activity days per week record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen1ObservationDaysPerWeek"
}
} ],
"resourceId": "Scen1ObservationDaysPerWeek",
"description": "Average days per week of moderate-to-vigorous physical activity.",
"resourceType": "Observation"
}, {
"name": "Example physical activity minutes per day record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen1ObservationMinsPerDay"
}
} ],
"resourceId": "Scen1ObservationMinsPerDay",
"description": "Average minutes per day of moderate-to-vigorous physical activity.",
"resourceType": "Observation"
}, {
"name": "Example physical activity minutes per week record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen1ObservationMinsPerWeek"
}
} ],
"resourceId": "Scen1ObservationMinsPerWeek",
"description": "Average minutes per week of moderate-to-vigorous physical activity.",
"resourceType": "Observation"
}, {
"name": "Example strength days per week record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen1ObservationStrengthDaysPerWeek"
}
} ],
"resourceId": "Scen1ObservationStrengthDaysPerWeek",
"description": "Average days per week of muscle-strengthening physical activity.",
"resourceType": "Observation"
} ],
"jurisdiction": [ {
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166"
} ]
} ],
"name": "ExercisePrescription",
"process": [ {
"step": [ {
"operation": {
"name": "Query CarePlan",
"type": "search-type",
"number": "1",
"request": {
"resourceId": "Scen1query1"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1CarePlanBundle1"
},
"initiator": "patientApp",
"description": "Patient app queries exercise CarePlan describing proposed exercise regime."
}
}, {
"operation": {
"name": "Query Goal",
"type": "search-type",
"number": "2",
"request": {
"resourceId": "Scen1query2"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1GoalBundle1"
},
"initiator": "patientApp",
"description": "Patient app queries Goals (100 minutes/week)."
}
}, {
"operation": {
"name": "Query ServiceRequest",
"type": "search-type",
"number": "3",
"request": {
"resourceId": "Scen1query3"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1ExerciseRxBundle"
},
"initiator": "patientApp",
"description": "Patient app queries ServiceRequest (order for ‘exercise’)."
}
} ],
"title": "Day after appointment",
"description": "The patient accesses the care plan, goals and exercise prescription made available on the EHR",
"preConditions": "Encounter (and other supporting) resources created",
"postConditions": "Patient app has retrieved exercise plan related resources"
}, {
"step": [ {
"operation": {
"name": "Post days/week",
"type": "create",
"number": "5",
"request": {
"resourceId": "Scen1ObservationDaysPerWeek"
},
"receiver": "goodHealth",
"initiator": "patientApp",
"description": "Patient app posts average days per week of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"
}
}, {
"operation": {
"name": "Post minutes/day",
"type": "create",
"number": "6",
"request": {
"resourceId": "Scen1ObservationMinsPerDay"
},
"receiver": "goodHealth",
"initiator": "patientApp",
"description": "Patient app posts average minutes per day of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"
}
}, {
"operation": {
"name": "Post minutes/week",
"type": "create",
"number": "7",
"request": {
"resourceId": "Scen1ObservationMinsPerWeek"
},
"receiver": "goodHealth",
"initiator": "patientApp",
"description": "Patient app posts average minutes per week of moderate-to-vigorous physical activity. `POST https://goodhealth.example.org/fhir/Observation`"
}
}, {
"operation": {
"name": "Post stength days/week",
"type": "create",
"number": "8",
"request": {
"resourceId": "Scen1ObservationStrengthDaysPerWeek"
},
"receiver": "goodHealth",
"initiator": "patientApp",
"description": "Patient app posts average days per week of muscle-strengthening physical activity. `POST https://goodhealth.example.org/fhir/Observation`"
}
} ],
"title": "A couple of weeks later",
"description": "The exchange noted here would actually occur many times (though not necessarily regularly). Only a single set of data is shown for simplicity.",
"preConditions": "Patient app is able to write records to EHR",
"postConditions": "EHR has weekly activity level observations"
}, {
"step": [ {
"operation": {
"name": "Query revised CarePlan",
"type": "search-type",
"number": "9",
"request": {
"resourceId": "Scen1query1"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1CarePlanBundle2"
},
"initiator": "patientApp",
"description": "Patient app queries revised CarePlan with providers notes."
}
}, {
"operation": {
"name": "Query revised Goal",
"type": "search-type",
"number": "10",
"request": {
"resourceId": "Scen1query2"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1GoalBundle2"
},
"initiator": "patientApp",
"description": "Patient app queries new Goals."
}
}, {
"operation": {
"name": "Query ServiceRequest",
"type": "search-type",
"number": "11",
"request": {
"resourceId": "Scen1query3"
},
"receiver": "goodHealth",
"response": {
"resourceId": "Scen1ExerciseRxBundle"
},
"initiator": "patientApp",
"description": "The results of this search are the same as the initial call because the exercise 'prescription' has not changed."
}
} ],
"title": "A little more than 6 months after first appointment",
"description": "In practice, the patient app would likely check for new CarePlans and Goals each time it launches. However, this is the first time there'd be something new to retrieve.",
"preConditions": "CarePlan and Goal have been updated in EHR",
"postConditions": "Patient app retrieves updated CarePlan and Goal"
} ],
"type": null,
"experimental": null,
"resourceType": "ExampleScenario",
"title": null,
"package_version": "1.0.0",
"status": "draft",
"id": "29117e6a-2742-4d97-bacc-b661c1a94a95",
"kind": null,
"url": "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen1ExercisePrescriptionScenario",
"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 App",
"type": "entity",
"actorId": "patientApp",
"description": "A patient app used to query resources related to the exercise plan"
}, {
"name": "EHR",
"type": "entity",
"actorId": "goodHealth",
"description": "EHR that records patient's exercise plan"
} ]
}