This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Informative |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:ExampleScenario ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Scen3ProviderToYMCAReferral"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ExampleScenario</b><a name=\"Scen3ProviderToYMCAReferral\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ExampleScenario "Scen3ProviderToYMCAReferral" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen3ProviderToYMCAReferral</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: PatientSeeksReferralforExerciseProgram</p><p><b>status</b>: draft</p><p><b>date</b>: 2023-08-25 15:35:25+0000</p><p><b>publisher</b>: HL7 International - Patient Care WG</p><p><b>contact</b>: HL7 International - Patient Care WG: <a href=\"http://www.hl7.org/Special/committees/patientcare\">http://www.hl7.org/Special/committees/patientcare</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>actor</b></p><p><b>actorId</b>: mainClinic</p><p><b>type</b>: entity</p><p><b>name</b>: Main Street Clinic</p><p><b>description</b>: Dr. Blackrock's EHR - creates referral at patient's request</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: YMCA</p><p><b>type</b>: entity</p><p><b>name</b>: Cincinnati Central YMCA</p><p><b>description</b>: Fitness service provider who offers exercise program</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen3query1</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for Referral & Patient for YMCA Task</p><p><b>description</b>: Search to retrieve ServiceRequest and Patient for specified Task: `GET https://mainClinic.example.org/fhir/ServiceRequest?_id=Scen3ServiceRequest&_include=ServiceRequest:patient`</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen3query2</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for EHR-issued task based on notification</p><p><b>description</b>: Search to retrieve Task: `GET https://YMCA.example.org/fhir/Task?_id=Scen3TaskYMCA`</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Subscription-Scen3SubscriptionEhr.html\">Subscription/Scen3SubscriptionEhr</a></p><p><b>resourceId</b>: Scen3SubscriptionEhr</p><p><b>resourceType</b>: Subscription</p><p><b>name</b>: Subscription from EHR</p><p><b>description</b>: Establishes the subscription for the EHR to monitor tasks it's created</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen3TaskYMCA</p><p><b>resourceType</b>: Task</p><p><b>name</b>: Task seeking FitLife to fulfill referral</p><p><b>description</b>: A Task seeking fulfillment by the YMCA of the referral for an exercise program</p><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Initial YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen3TaskYMCAV1.html\">Task/Scen3TaskYMCAV1</a></p><p><b>versionId</b>: 1</p><p><b>description</b>: Initial version of the referral fulfillment request for YMCA with a status of 'requested'</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Updated YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen3TaskYMCAV2.html\">Task/Scen3TaskYMCAV2</a></p><p><b>versionId</b>: 2</p><p><b>description</b>: Version of the referral fulfillment request for YMCA after it has been changed to 'accepted'</p></blockquote><blockquote><p><b>version</b></p><p><b>Extension Definition for ExampleScenario.instance.version.title for Version 5.0</b>: Completed YMCA Task</p><p><b>Extension Definition for ExampleScenario.instance.version.content for Version 5.0</b>: <a href=\"Task-Scen3TaskYMCAV3.html\">Task/Scen3TaskYMCAV3</a></p><p><b>versionId</b>: 3</p><p><b>description</b>: Version of the referral fulfillment request for YMCA after it has been changed to 'completed' and a link to the report added</p></blockquote></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen3ServiceRequestYMCAResponseBundle.html\">Bundle/Scen3ServiceRequestYMCAResponseBundle</a></p><p><b>resourceId</b>: Scen3ServiceRequestYMCAResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: ServiceRequest search response for YMCA</p><p><b>description</b>: Search-set Bundle returning ServiceRequest and Patient for the Task posted to the YMCA</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen3NotificationUpdatedTaskBundle.html\">Bundle/Scen3NotificationUpdatedTaskBundle</a></p><p><b>resourceId</b>: Scen3NotificationUpdatedTaskBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Subscription Notification that Task has updated</p><p><b>description</b>: Pointer to the Task that has been updated</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen3NotificationCompletedTaskBundle.html\">Bundle/Scen3NotificationCompletedTaskBundle</a></p><p><b>resourceId</b>: Scen3NotificationCompletedTaskBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Subscription Notification that Task has completed</p><p><b>description</b>: Pointer to the Task that has been updated</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen3TaskEHRResponseBundle1.html\">Bundle/Scen3TaskEHRResponseBundle1</a></p><p><b>resourceId</b>: Scen3TaskEHRResponseBundle1</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Accepted Task search response for EHR</p><p><b>description</b>: Search-set Bundle returning 'accepted' Task with id based on subscription notification</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3TaskYMCA</td><td>2</td></tr></table></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen3TaskEHRResponseBundle2.html\">Bundle/Scen3TaskEHRResponseBundle2</a></p><p><b>resourceId</b>: Scen3TaskEHRResponseBundle2</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Completed Task search response for EHR</p><p><b>description</b>: Search-set Bundle returning 'completed' Task with id based on subscription notification</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3TaskYMCA</td><td>3</td></tr></table></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Subscription Establishment</p><p><b>preConditions</b>: Main Street Clinic and Cinicinnati Central YMCA have established legal and technical arrangements for interoperability</p><p><b>postConditions</b>: Subscription is successfully created allowing Main Street Clinic to monitor YMCA-assigned Tasks</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 1</p><p><b>type</b>: create</p><p><b>name</b>: Create EHR-monitoring Subscription</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: YMCA posts Subscription to EHR to monitor Tasks. Request: `POST https://mainClinic.example.org/fhir/Subscription` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3SubscriptionEhr</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: A minute after creation of ServiceRequest</p><p><b>preConditions</b>: EHR has created a ServiceRequest for Mr. Shevchenko</p><p><b>postConditions</b>: YMCA has retrieved the ServiceRequest and the Patient, and updated the Task to 'in-progress'</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 2</p><p><b>type</b>: create</p><p><b>name</b>: Create Task on YMCA</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</p><p><b>description</b>: New Task is created directly on YMCA's server. Request: `POST https://YMCA.example.org/fhir/Task` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td><td><b>VersionId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3TaskYMCA</td><td>1</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 3</p><p><b>type</b>: search-type</p><p><b>name</b>: YMCA retrieves referral</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: YMCA retrieves the ServiceRequest and Patient referenced by the Task.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3query1</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3ServiceRequestYMCAResponseBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 4</p><p><b>type</b>: create</p><p><b>name</b>: EHR gets referral acceptance</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: A subscription notification to the EHR is triggered when YMCA changes the prescription status to 'in-progress'. Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3NotificationUpdatedTaskBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 5</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves in-progress Task</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</p><p><b>description</b>: EHR retrieves the Task referenced by the subscription notification</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3query2</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3TaskEHRResponseBundle1</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: About 4 Months Later</p><p><b>preConditions</b>: YMCA is actively working on the Task</p><p><b>postConditions</b>: YMCA has completed the referral and Dr. Blackrock is aware of the results</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 6</p><p><b>type</b>: create</p><p><b>name</b>: EHR gets referral acceptance</p><p><b>initiator</b>: YMCA</p><p><b>receiver</b>: mainClinic</p><p><b>description</b>: A subscription notification to the EHR is triggered when the YMCA changes the Task status to 'completed'. Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3NotificationCompletedTaskBundle</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 7</p><p><b>type</b>: search-type</p><p><b>name</b>: EHR retrieves completed Task</p><p><b>initiator</b>: mainClinic</p><p><b>receiver</b>: YMCA</p><p><b>description</b>: EHR retrieves the Task referenced by the subscription notification</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3query2</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen3TaskEHRResponseBundle2</td></tr></table></blockquote></blockquote></blockquote></div>" ] ; # fhir:url [ fhir:v "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen3ProviderToYMCAReferral"^^xsd:anyURI] ; # fhir:version [ fhir:v "1.0.0"] ; # fhir:name [ fhir:v "PatientSeeksReferralforExerciseProgram"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2023-08-25T15:35:25+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International - Patient Care WG"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 International - Patient Care WG" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ] ] ) ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ] ) ] ) ; # fhir:actor ( [ fhir:actorId [ fhir:v "mainClinic" ] ; fhir:type [ fhir:v "entity" ] ; fhir:name [ fhir:v "Main Street Clinic" ] ; fhir:description [ fhir:v "Dr. Blackrock's EHR - creates referral at patient's request" ] ] [ fhir:actorId [ fhir:v "YMCA" ] ; fhir:type [ fhir:v "entity" ] ; fhir:name [ fhir:v "Cincinnati Central YMCA" ] ; fhir:description [ fhir:v "Fitness service provider who offers exercise program" ] ] ) ; # fhir:instance ( [ fhir:resourceId [ fhir:v "Scen3query1" ] ; fhir:resourceType [ fhir:v "Binary" ] ; fhir:name [ fhir:v "Query for Referral & Patient for YMCA Task" ] ; fhir:description [ fhir:v "Search to retrieve ServiceRequest and Patient for specified Task: `GET https://mainClinic.example.org/fhir/ServiceRequest?_id=Scen3ServiceRequest&_include=ServiceRequest:patient`" ] ] [ fhir:resourceId [ fhir:v "Scen3query2" ] ; fhir:resourceType [ fhir:v "Binary" ] ; fhir:name [ fhir:v "Query for EHR-issued task based on notification" ] ; fhir:description [ fhir:v "Search to retrieve Task: `GET https://YMCA.example.org/fhir/Task?_id=Scen3TaskYMCA`" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Subscription/Scen3SubscriptionEhr" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3SubscriptionEhr" ] ; fhir:resourceType [ fhir:v "Subscription" ] ; fhir:name [ fhir:v "Subscription from EHR" ] ; fhir:description [ fhir:v "Establishes the subscription for the EHR to monitor tasks it's created" ] ] [ fhir:resourceId [ fhir:v "Scen3TaskYMCA" ] ; fhir:resourceType [ fhir:v "Task" ] ; fhir:name [ fhir:v "Task seeking FitLife to fulfill referral" ] ; fhir:description [ fhir:v "A Task seeking fulfillment by the YMCA of the referral for an exercise program" ] ; ( fhir:version [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Initial YMCA Task" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen3TaskYMCAV1" ] ] ] ) ; fhir:versionId [ fhir:v "1" ] ; fhir:description [ fhir:v "Initial version of the referral fulfillment request for YMCA with a status of 'requested'" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Updated YMCA Task" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen3TaskYMCAV2" ] ] ] ) ; fhir:versionId [ fhir:v "2" ] ; fhir:description [ fhir:v "Version of the referral fulfillment request for YMCA after it has been changed to 'accepted'" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "Completed YMCA Task" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.version.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Task/Scen3TaskYMCAV3" ] ] ] ) ; fhir:versionId [ fhir:v "3" ] ; fhir:description [ fhir:v "Version of the referral fulfillment request for YMCA after it has been changed to 'completed' and a link to the report added" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen3ServiceRequestYMCAResponseBundle" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3ServiceRequestYMCAResponseBundle" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "ServiceRequest search response for YMCA" ] ; fhir:description [ fhir:v "Search-set Bundle returning ServiceRequest and Patient for the Task posted to the YMCA" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen3NotificationUpdatedTaskBundle" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3NotificationUpdatedTaskBundle" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Subscription Notification that Task has updated" ] ; fhir:description [ fhir:v "Pointer to the Task that has been updated" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen3NotificationCompletedTaskBundle" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3NotificationCompletedTaskBundle" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Subscription Notification that Task has completed" ] ; fhir:description [ fhir:v "Pointer to the Task that has been updated" ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen3TaskEHRResponseBundle1" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3TaskEHRResponseBundle1" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Accepted Task search response for EHR" ] ; fhir:description [ fhir:v "Search-set Bundle returning 'accepted' Task with id based on subscription notification" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen3TaskYMCA" ] ; fhir:versionId [ fhir:v "2" ] ] ) ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Bundle/Scen3TaskEHRResponseBundle2" ] ] ] ) ; fhir:resourceId [ fhir:v "Scen3TaskEHRResponseBundle2" ] ; fhir:resourceType [ fhir:v "Bundle" ] ; fhir:name [ fhir:v "Completed Task search response for EHR" ] ; fhir:description [ fhir:v "Search-set Bundle returning 'completed' Task with id based on subscription notification" ] ; ( fhir:containedInstance [ fhir:resourceId [ fhir:v "Scen3TaskYMCA" ] ; fhir:versionId [ fhir:v "3" ] ] ) ] ) ; # fhir:process ( [ fhir:title [ fhir:v "Subscription Establishment" ] ; fhir:preConditions [ fhir:v "Main Street Clinic and Cinicinnati Central YMCA have established legal and technical arrangements for interoperability" ] ; fhir:postConditions [ fhir:v "Subscription is successfully created allowing Main Street Clinic to monitor YMCA-assigned Tasks" ] ; ( fhir:step [ fhir:operation [ fhir:number [ fhir:v "1" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Create EHR-monitoring Subscription" ] ; fhir:initiator [ fhir:v "YMCA" ] ; fhir:receiver [ fhir:v "mainClinic" ] ; fhir:description [ fhir:v "YMCA posts Subscription to EHR to monitor Tasks. Request: `POST https://mainClinic.example.org/fhir/Subscription` Response: `201 Created`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3SubscriptionEhr" ] ] ] ] ) ] [ fhir:title [ fhir:v "A minute after creation of ServiceRequest" ] ; fhir:preConditions [ fhir:v "EHR has created a ServiceRequest for Mr. Shevchenko" ] ; fhir:postConditions [ fhir:v "YMCA has retrieved the ServiceRequest and the Patient, and updated the Task to 'in-progress'" ] ; ( fhir:step [ fhir:operation [ fhir:number [ fhir:v "2" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "Create Task on YMCA" ] ; fhir:initiator [ fhir:v "mainClinic" ] ; fhir:receiver [ fhir:v "YMCA" ] ; fhir:description [ fhir:v "New Task is created directly on YMCA's server. Request: `POST https://YMCA.example.org/fhir/Task` Response: `201 Created`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3TaskYMCA" ] ; fhir:versionId [ fhir:v "1" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "3" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "YMCA retrieves referral" ] ; fhir:initiator [ fhir:v "YMCA" ] ; fhir:receiver [ fhir:v "mainClinic" ] ; fhir:description [ fhir:v "YMCA retrieves the ServiceRequest and Patient referenced by the Task." ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3query1" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen3ServiceRequestYMCAResponseBundle" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "4" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "EHR gets referral acceptance" ] ; fhir:initiator [ fhir:v "YMCA" ] ; fhir:receiver [ fhir:v "mainClinic" ] ; fhir:description [ fhir:v "A subscription notification to the EHR is triggered when YMCA changes the prescription status to 'in-progress'. Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3NotificationUpdatedTaskBundle" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "5" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "EHR retrieves in-progress Task" ] ; fhir:initiator [ fhir:v "mainClinic" ] ; fhir:receiver [ fhir:v "YMCA" ] ; fhir:description [ fhir:v "EHR retrieves the Task referenced by the subscription notification" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3query2" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen3TaskEHRResponseBundle1" ] ] ] ] ) ] [ fhir:title [ fhir:v "About 4 Months Later" ] ; fhir:preConditions [ fhir:v "YMCA is actively working on the Task" ] ; fhir:postConditions [ fhir:v "YMCA has completed the referral and Dr. Blackrock is aware of the results" ] ; ( fhir:step [ fhir:operation [ fhir:number [ fhir:v "6" ] ; fhir:type [ fhir:v "create" ] ; fhir:name [ fhir:v "EHR gets referral acceptance" ] ; fhir:initiator [ fhir:v "YMCA" ] ; fhir:receiver [ fhir:v "mainClinic" ] ; fhir:description [ fhir:v "A subscription notification to the EHR is triggered when the YMCA changes the Task status to 'completed'. Request: `POST https://mainClinic.example.org/mySubscriptions` Response: `200 Ok`" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3NotificationCompletedTaskBundle" ] ] ] ] [ fhir:operation [ fhir:number [ fhir:v "7" ] ; fhir:type [ fhir:v "search-type" ] ; fhir:name [ fhir:v "EHR retrieves completed Task" ] ; fhir:initiator [ fhir:v "mainClinic" ] ; fhir:receiver [ fhir:v "YMCA" ] ; fhir:description [ fhir:v "EHR retrieves the Task referenced by the subscription notification" ] ; fhir:request [ fhir:resourceId [ fhir:v "Scen3query2" ] ] ; fhir:response [ fhir:resourceId [ fhir:v "Scen3TaskEHRResponseBundle2" ] ] ] ] ) ] ) . #
IG © 2022+ HL7 International - Patient Care WG. Package hl7.fhir.us.physical-activity#1.0.0 based on FHIR 4.0.1. Generated 2023-08-25
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change