This page is part of the Specialty Medication Enrollment (v2.0.0: STU2) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
This example illustrates the Task content that (a) links the request to the patient prescription and (b) provides the information needed to launch the SMART application–where the user will complete the task.
Key elements are…
__appContext
parameterThe Task.identifier value (representing application context associated with the Task) is shared during SMART app launch within the __appContext
parameter of the OAuth 2.0 access token response. It is conveyed in the __appContext
parameter.
In this example, the __appContext
parameter will be populated as…
"__appContext": "launch-context-id-01345005"
Resource Task "specialty-rx-task-smart-launch-1"
Profile: Specialty Rx Task - SMART Launch
identifier: SMART App Context ID: launch-context-id-01345005
status: requested
intent: plan
code: Complete Questionnaire in SMART App (Specialty Rx Code System - Task Characteristic#complete-app-questionnaire)
description: Launch the My Pharmacy SMART app and complete the questionnaire.
for: Patient/specialty-rx-patient-1 " DOE"
authoredOn: 2020-03-11
requester: Organization/specialty-rx-organization-pharmacy-1: Our Pharmacy "Our Pharmacy"
owner: Practitioner/specialty-rx-practitioner-1: Jane Smith MD " SMITH"
reasonReference: MedicationRequest/specialty-rx-medicationrequest-1: Humira Injector Pen - 2020-03-10
- | Type | Value[x] |
* | SMART Application Client ID (Specialty Rx Code System - Task Characteristic#smart-app-client-id) | id: smart-app-1033450 |