{
"description": null,
"_filename": "ExampleScenario-Scen2ProviderToPersonaltrainerReferral.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 personal trainers near Mrs. Johansson",
"resourceId": "Scen2query1",
"description": "Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson: `GET https://registry.example.org/fhir/PractitionerRole?role=228239008|http%3A//snomed.info/sct&location.near=37.8393|84.2700|20|[mi_us]&_include=PractitionerRole:practitioner`",
"resourceType": "Binary"
}, {
"name": "Query for Get Fit assigned referrals",
"resourceId": "Scen2query2",
"description": "Query Task and associated ServiceRequest and Patient: `GET https://goodCardio.example.org/fhir/Task?status=requested&owner=https%3A//registry.example.org/fhir/Organization/Scen2OrgGetFitTraining&_include=Task:patient&_include=Task:focus`",
"resourceType": "Binary"
}, {
"name": "Query for Referral & Patient for retrieved Task",
"resourceId": "Scen2query3",
"description": "Search to retrieve ServiceRequest and Patient for specified Task: `GET https://goodCardio.example.org/fhir/ServiceRequest?_id=Scen2ServiceRequest&_include=ServiceRequest:patient`",
"resourceType": "Binary"
}, {
"name": "Query for patient physical activity conditions",
"resourceId": "Scen2query4",
"description": "Search to retrieve Conditions: `GET https://goodCardio.example.org/fhir/Condition?patient=Scen2PatientJohansson&category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`",
"resourceType": "Binary"
}, {
"name": "Query for patient physical activity observations",
"resourceId": "Scen2query5",
"description": "Search to retrieve Observations: `GET https://goodCardio.example.org/fhir/Observation?patient=Scen2PatientJohansson&category=http:%3A//hl7.org/fhir/us/physical-activity/CodeSystem/PATemporaryCodesorary-codes|PhysicalActivity`",
"resourceType": "Binary"
}, {
"name": "Query for EHR-issued task based on notification",
"resourceId": "Scen2query6",
"description": "Search to retrieve Task: `GET https://fit4life.example.org/fhir/Task?_id=Scen2TaskFit4Life`",
"resourceType": "Binary"
}, {
"name": "Query for report and referenced observations",
"resourceId": "Scen2query7",
"description": "Search on referenced Observations: `GET https://fit4.life.example.org/fhir/DiagnosticReport?id=Scen2DiagnosticReport&_include=DiagnosticReport:result`",
"resourceType": "Binary"
}, {
"name": "Mrs. Johansson Patient Record",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Patient/Scen2PatientJohansson"
}
} ],
"resourceId": "Scen2PatientJohansson",
"description": "Demographics and contact information",
"resourceType": "Patient"
}, {
"name": "Mr. Matthews Registry Entry",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Practitioner/Scen2PractitionerMatthews"
}
} ],
"resourceId": "Scen2PractitionerMatthews",
"description": "Practitioner details for personal trainer Mr. Matthews",
"resourceType": "Practitioner"
}, {
"name": "Ms. Wang Registry Entry",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Practitioner/Scen2PractitionerWang"
}
} ],
"resourceId": "Scen2PractitionerWang",
"description": "Practitioner details for personal trainer Ms. Matthews",
"resourceType": "Practitioner"
}, {
"name": "Mr. Matthews Registry Entry",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "PractitionerRole/Scen2RoleMatthews"
}
} ],
"resourceId": "Scen2RoleMatthews",
"description": "Practitioner organization details for personal trainer Mr. Matthews",
"resourceType": "PractitionerRole"
}, {
"name": "Ms. Wang Registry Entry",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Practitioner/Scen2PractitionerWang"
}
} ],
"resourceId": "Scen2PractitionerWang",
"description": "Practitioner organization details for personal trainer Ms. Matthews",
"resourceType": "PractitionerRole"
}, {
"name": "Subscription from EHR",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Subscription/Scen2SubscriptionEhr"
}
} ],
"resourceId": "Scen2SubscriptionEhr",
"description": "Establishes the subscription for the EHR to monitor tasks it's created",
"resourceType": "Subscription"
}, {
"name": "Subscription from Get Fit Training",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Subscription/Scen2SubscriptionGetFit"
}
} ],
"resourceId": "Scen2SubscriptionGetFit",
"description": "Establishes the subscription for the service provider to monitor tasks created for it",
"resourceType": "Subscription"
}, {
"name": "Searchset Bundle returning list of personal trainers",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2PractitionerTrainerSearchsetBundle"
}
} ],
"resourceId": "Scen2PractitionerTrainerSearchsetBundle",
"description": "In practice, the set of candidates would likely be longer. Note that this functionality is outside the scope of this IG.",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen2PractitionerMatthews"
} ]
}, {
"name": "Low physical activity condition",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Condition/Scen2ConditionLackOfExercise"
}
} ],
"resourceId": "Scen2ConditionLackOfExercise",
"description": "New condition added to chart",
"resourceType": "Condition"
}, {
"name": "Hypertension condition",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Condition/Scen2ConditionHypertension"
}
} ],
"resourceId": "Scen2ConditionHypertension",
"description": "Older condition",
"resourceType": "Condition"
}, {
"name": "Initial days per week of activity",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsDaysPerWeek"
}
} ],
"resourceId": "Scen2ObsDaysPerWeek",
"description": "Exercise of once per week",
"resourceType": "Observation"
}, {
"name": "New days per week of activity",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsDaysPerWeek2"
}
} ],
"resourceId": "Scen2ObsDaysPerWeek2",
"description": "Exercising 5 times per week",
"resourceType": "Observation"
}, {
"name": "Initial minutes per day of activity",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsMinutesPerDay"
}
} ],
"resourceId": "Scen2ObsMinutesPerDay",
"description": "15 minutes per day",
"resourceType": "Observation"
}, {
"name": "New minutes per day of activity",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsMinutesPerDay2"
}
} ],
"resourceId": "Scen2ObsMinutesPerDay2",
"description": "32 minutes per day",
"resourceType": "Observation"
}, {
"name": "Information about a run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityGroup"
}
} ],
"resourceId": "Scen2ObsActivityGroup",
"description": "Collection of sub-observations about a single run",
"resourceType": "Observation"
}, {
"name": "Type of activity - run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityType"
}
} ],
"resourceId": "Scen2ObsActivityType",
"description": "Indicates that the activity performed was a run",
"resourceType": "Observation"
}, {
"name": "Duration of run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityDuration"
}
} ],
"resourceId": "Scen2ObsActivityDuration",
"description": "Run was 30 minutes",
"resourceType": "Observation"
}, {
"name": "Average heart rate during run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityMeanHR"
}
} ],
"resourceId": "Scen2ObsActivityMeanHR",
"description": "Average heart rate of 132 bpm",
"resourceType": "Observation"
}, {
"name": "Peak heart rate during run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityPeakHR"
}
} ],
"resourceId": "Scen2ObsActivityPeakHR",
"description": "Peak heart rate of 177 bpm",
"resourceType": "Observation"
}, {
"name": "Experience of run by patient",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsActivityExperience"
}
} ],
"resourceId": "Scen2ObsActivityExperience",
"description": "Experience of run was positive",
"resourceType": "Observation"
}, {
"name": "Calories burned during run",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Observation/Scen2ObsCalories"
}
} ],
"resourceId": "Scen2ObsCalories",
"description": "517 calories burned during run",
"resourceType": "Observation"
}, {
"name": "Report from personal trainer",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "DiagnosticReport/Scen2DiagnosticReport"
}
} ],
"resourceId": "Scen2DiagnosticReport",
"description": "Letter to provider indicating how the consultation went",
"resourceType": "DiagnosticReport"
}, {
"name": "Referral for support",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "ServiceRequest/Scen2ServiceRequest"
}
} ],
"resourceId": "Scen2ServiceRequest",
"description": "Indicates what is to be done and when - but not by whom",
"resourceType": "ServiceRequest"
}, {
"name": "Task seeking GetFit to fulfill referral",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial GetFit Task"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen2TaskGetFitV1"
}
} ],
"versionId": "1",
"description": "Initial version of the referral fulfillment request for GetFit with a status of 'requested'"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Updated GetFit Task"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen2TaskGetFitV2"
}
} ],
"versionId": "2",
"description": "Version of the referral fulfillment request for GetFit after it has been changed to 'rejected'"
} ],
"resourceId": "Scen2TaskGetFit",
"description": "This is the initial Task seeking fulfillment",
"resourceType": "Task"
}, {
"name": "Subscription notification indicating new Task",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2SubscriptionNotificationNewTaskBundle"
}
} ],
"resourceId": "Scen2SubscriptionNotificationNewTaskBundle",
"description": "Points to the initial 'requested' version of the Task",
"resourceType": "Bundle"
}, {
"name": "Search-set Bundle returning referenced Task",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2TaskGetFitResponseBundle"
}
} ],
"resourceId": "Scen2TaskGetFitResponseBundle",
"description": "Returns Task referenced in subscription notification. Includes associated ServiceRequest and Patient",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "1",
"resourceId": "Scen2TaskGetFit"
} ]
}, {
"name": "Task seeking FitLife to fulfill referral",
"version": [ {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Initial Fit4Life Task"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen2TaskFit4LifeV1"
}
} ],
"versionId": "1",
"description": "Initial version of the referral fulfillment request for Fit4Life with a status of 'requested'"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Updated Fit4Life Task"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen2TaskFit4LifeV2"
}
} ],
"versionId": "2",
"description": "Version of the referral fulfillment request for Fit4Life after it has been changed to 'accepted'"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title",
"valueString": "Completed Fit4Life Task"
}, {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content",
"valueReference": {
"reference": "Task/Scen2TaskFit4LifeV3"
}
} ],
"versionId": "3",
"description": "Version of the referral fulfillment request for Fit4Life after it has been changed to 'completed' and a link to the report added"
} ],
"resourceId": "Scen2TaskFit4Life",
"description": "This is the second Task seeking fulfillment (after the first was rejected)",
"resourceType": "Task"
}, {
"name": "ServiceRequest search response for Fit4Life",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2ReferralFit4LifeResponseBundle"
}
} ],
"resourceId": "Scen2ReferralFit4LifeResponseBundle",
"description": "Search-set Bundle returning ServiceRequest and Patient for the Task posted to Fit4Life",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen2PatientJohansson"
} ]
}, {
"name": "Accepted Task search response for EHR",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2TaskEHRResponseBundle1"
}
} ],
"resourceId": "Scen2TaskEHRResponseBundle1",
"description": "Search-set Bundle returning 'accepted' Task with id based on subscription notification",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "2",
"resourceId": "Scen2TaskFit4Life"
} ]
}, {
"name": "Completed Task search response for EHR",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2TaskEHRResponseBundle2"
}
} ],
"resourceId": "Scen2TaskEHRResponseBundle2",
"description": "Search-set Bundle returning 'completed' Task with id based on subscription notification",
"resourceType": "Bundle",
"containedInstance": [ {
"versionId": "3",
"resourceId": "Scen2TaskFit4Life"
} ]
}, {
"name": "Condition response for Fit 4 Life",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2ConditionResponseBundle"
}
} ],
"resourceId": "Scen2ConditionResponseBundle",
"description": "Search-set Bundle containing the patient's Conditions (that Fit 4 Life has access to)",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen2ConditionHypertension"
} ]
}, {
"name": "Observation response for Fit 4 Life",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2ObservationResponseBundle"
}
} ],
"resourceId": "Scen2ObservationResponseBundle",
"description": "Search-set Bundle containing the patient's Observations (that Fit 4 Life has access to)",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen2ObsMinutesPerDay"
} ]
}, {
"name": "Subscription Notification that Task has updated",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2NotificationUpdatedTaskBundle"
}
} ],
"resourceId": "Scen2NotificationUpdatedTaskBundle",
"description": "Pointer to the Task that has been updated",
"resourceType": "Bundle"
}, {
"name": "Subscription Notification that Task has completed",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2NotificationCompletedTaskBundle"
}
} ],
"resourceId": "Scen2NotificationCompletedTaskBundle",
"description": "Pointer to the Task that has been updated",
"resourceType": "Bundle"
}, {
"name": "DiagnosticReport response for EHR",
"extension": [ {
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
"valueReference": {
"reference": "Bundle/Scen2DiagnosticReportObservationsResponseBundle"
}
} ],
"resourceId": "Scen2DiagnosticReportObservationsResponseBundle",
"description": "Search-set Bundle returning DiagnosticReport and the Observations it references",
"resourceType": "Bundle",
"containedInstance": [ {
"resourceId": "Scen2ObsCalories"
} ]
} ],
"jurisdiction": [ {
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166"
} ]
} ],
"name": "ProviderToPersonalTrainerReferral",
"process": [ {
"step": [ {
"operation": {
"name": "Create service provider-monitoring Subscription",
"type": "create",
"number": "1",
"request": {
"resourceId": "Scen2SubscriptionEhr"
},
"receiver": "Fit4Life",
"initiator": "goodCardio",
"description": "EHR posts Subscription to Fit 4 Life to monitor Tasks. Request: `POST https://fit4life.example.org/fhir/Subscription` Response: `201 Created`"
}
}, {
"operation": {
"name": "Create EHR-monitoring Subscription",
"type": "create",
"number": "2",
"request": {
"resourceId": "Scen2SubscriptionGetFit"
},
"receiver": "goodCardio",
"initiator": "getFit",
"description": "Get Fit Training posts Subscription to EHR to monitor Tasks. Request: `POST https://goodCardio.example.org/fhir/Subscription` Response: `201 Created`"
}
} ],
"title": "Subscription Establishment",
"preConditions": "Good Health Cardiology, Fit 4 Life, and Get Fit training have established legal and technical arrangements for interoperability",
"postConditions": "Subscriptions are successfully created allowing Good Health Cardiology to monitor Fit4Life-assigned Tasks and GetFit to monitor Tasks assigned to it hosted on Good Health Cardiology"
}, {
"step": [ {
"operation": {
"name": "Retrieve service provider list",
"type": "search-type",
"number": "3",
"request": {
"resourceId": "Scen2query1"
},
"receiver": "registry",
"response": {
"resourceId": "Scen2PractitionerTrainerSearchsetBundle"
},
"initiator": "goodCardio",
"description": "Search to retrieve list of Service Providers for personal trainers near Mrs. Johansson."
}
}, {
"operation": {
"name": "Subscription notification of new Task",
"type": "create",
"number": "4",
"request": {
"resourceId": "Scen2SubscriptionNotificationNewTaskBundle"
},
"receiver": "getFit",
"initiator": "goodCardio",
"description": "Service provider is notified of new Task via subscription. Request: `POST https://fit4life.example.org/fhir/Subscription` Response: `201 Created`"
}
} ],
"title": "1 Hour after appointment",
"preConditions": "EHR has completed the appointment with the patient",
"postConditions": "EHR has retrieved list of personal trainers and notified GetFit of new Task"
}, {
"step": [ {
"operation": {
"name": "Getfit retrieves referral",
"type": "search-type",
"number": "5",
"request": {
"resourceId": "Scen2query2"
},
"receiver": "goodCardio",
"response": {
"resourceId": "Scen2TaskGetFitResponseBundle"
},
"initiator": "getFit",
"description": "GetFit retrieves the referenced Task and its associated ServiceRequest and Patient."
}
}, {
"operation": {
"name": "GetFit refuses task",
"type": "update",
"number": "6",
"request": {
"versionId": "2",
"resourceId": "Scen2TaskGetFit"
},
"receiver": "goodCardio",
"initiator": "getFit",
"description": "GetFit updates the Task status to 'refused' with a reason. Request: `PUT https://goodCardio.example.org/fhir/Task/Scen2TaskGetFitV1` Response: `200 Ok`"
}
} ],
"title": "1 Day after appointment",
"preConditions": "GetFit has received the notification of new Task",
"postConditions": "GetFit has queried Task, associated ServiceRequest and Patient; and updated Task to refused"
}, {
"step": [ {
"operation": {
"name": "Create Task on Fit4Life",
"type": "create",
"number": "7",
"request": {
"versionId": "1",
"resourceId": "Scen2TaskFit4Life"
},
"receiver": "Fit4Life",
"initiator": "goodCardio",
"description": "New Task is created directly on Fit4Life's server. Request: `POST https://fit4life.example.org/fhir/Task` Response: `201 Created`"
}
}, {
"operation": {
"name": "Fit4Life retrieves referral",
"type": "search-type",
"number": "8",
"request": {
"resourceId": "Scen2query3"
},
"receiver": "goodCardio",
"response": {
"resourceId": "Scen2ReferralFit4LifeResponseBundle"
},
"initiator": "Fit4Life",
"description": "Fit4Life retrieves the ServiceRequest and Patient referenced by the Task."
}
}, {
"operation": {
"name": "Fit4Life retrieves conditions",
"type": "search-type",
"number": "9",
"request": {
"resourceId": "Scen2query4"
},
"receiver": "goodCardio",
"response": {
"resourceId": "Scen2ConditionResponseBundle"
},
"initiator": "Fit4Life",
"description": "Fit4Life retrieves the physical-activity related Conditions associated with the patient."
}
}, {
"operation": {
"name": "Fit4Life retrieves referral",
"type": "search-type",
"number": "10",
"request": {
"resourceId": "Scen2query5"
},
"receiver": "goodCardio",
"response": {
"resourceId": "Scen2ObservationResponseBundle"
},
"initiator": "Fit4Life",
"description": "Fit4Life retrieves the physical-activity related Observations associated with the patient. (In practice there would typically be more than are shown here, and some might not be for profiles defined in this IG.)"
}
}, {
"operation": {
"name": "EHR gets referral acceptance",
"type": "create",
"number": "11",
"request": {
"resourceId": "Scen2NotificationUpdatedTaskBundle"
},
"receiver": "goodCardio",
"initiator": "Fit4Life",
"description": "A subscription notification to the EHR is triggered when Fit4Life changes the prescription status to 'accepted'. Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`"
}
}, {
"operation": {
"name": "EHR retrieves accepted Task",
"type": "search-type",
"number": "12",
"request": {
"resourceId": "Scen2query6"
},
"receiver": "Fit4Life",
"response": {
"resourceId": "Scen2TaskEHRResponseBundle1"
},
"initiator": "goodCardio",
"description": "EHR retrieves the Task referenced by the subscription notification"
}
} ],
"title": "An Hour later",
"preConditions": "EHR has a Task seeking fulfillment of ServiceRequest for Fit4Life",
"postConditions": "Fit4Life has retrieved ServiceRequest, Patient, Conditions, Observations, and updated Task"
}, {
"step": [ {
"operation": {
"name": "EHR gets referral acceptance",
"type": "create",
"number": "13",
"request": {
"resourceId": "Scen2NotificationCompletedTaskBundle"
},
"receiver": "goodCardio",
"initiator": "Fit4Life",
"description": "A subscription notification to the EHR is triggered when Fit4Life changes the Task status to 'completed'. Request: `POST https://goodCardio.example.org/mySubscriptions` Response: `200 Ok`"
}
}, {
"operation": {
"name": "EHR retrieves completed Task",
"type": "search-type",
"number": "14",
"request": {
"resourceId": "Scen2query6"
},
"receiver": "Fit4Life",
"response": {
"resourceId": "Scen2TaskEHRResponseBundle2"
},
"initiator": "goodCardio",
"description": "EHR retrieves the Task referenced by the subscription notification"
}
}, {
"operation": {
"name": "EHR retrieves report",
"type": "search-type",
"number": "15",
"request": {
"resourceId": "Scen2query7"
},
"receiver": "Fit4Life",
"response": {
"resourceId": "Scen2DiagnosticReportObservationsResponseBundle"
},
"initiator": "goodCardio",
"description": "EHR retrieves the Fit4Life DiagnosticReport using the id provided in the Task. It also uses _include to retrieve referenced observations"
}
} ],
"title": "2 Months Later",
"preConditions": "Fit4Life has updated the Task",
"postConditions": "EHR has retrieved the completed Task, DiagnosticReport, and associated Observations"
} ],
"type": null,
"experimental": null,
"resourceType": "ExampleScenario",
"title": null,
"package_version": "1.0.0",
"status": "draft",
"id": "f22ee45a-8c7c-4de4-9c54-695f97d0aeae",
"kind": null,
"url": "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen2ProviderToPersonaltrainerReferral",
"version": "1.0.0",
"contact": [ {
"name": "HL7 International - Patient Care WG",
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/patientcare",
"system": "url"
} ]
} ],
"actor": [ {
"name": "Good Health Cardiology",
"type": "entity",
"actorId": "goodCardio",
"description": "EHR that records patient's exercise plan"
}, {
"name": "Get Fit Training",
"type": "entity",
"actorId": "getFit",
"description": "'Light' service provider'"
}, {
"name": "Fit 4 Life",
"type": "entity",
"actorId": "Fit4Life",
"description": "'Full' service provider'"
}, {
"name": "Service Registry",
"type": "entity",
"actorId": "registry",
"description": "Registry of candidate service providers - outside the scope of this IG"
} ]
}