Touchstone FHIR Testing
2.0.0 - current International flag

Touchstone FHIR Testing v2.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Example TestScript: TestScript EHR SMARTLaunch Example

Active as of 2023-07-03

Generated Narrative: TestScript

Resource TestScript "ehr-smart-launch"

Profile: AEGIS Touchstone Testing TestScript Profile

url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/ehr-smart-launch

version: 2.0.0

name: EHRSMARTLaunch

status: active

date: 2023-07-03

publisher: AEGIS.net, Inc.

contact: AEGIS.net, Inc.: https://www.aegis.net, Richard Ettema: mailto:richard.ettema@aegis.net

description: Demonstrate the use of the smart-launch operation and the new extension operation-smartLaunchRequestId.

jurisdiction: World (m49.htm#001)

copyright: (c) AEGIS.net, Inc. 2015+

Variables

-NameDescriptionHint
*launchValueEnter the launch value for the EHR Launch request.[Launch Value]

test

id

EHRLaunchWithPractitionerScope

name: EHR Launch With Practitioner Scope

description: Perform EHR SMART launch sequence and test browser redirect.

action

Operations

-ExtensionTypeDescriptionEncodeRequestUrlParams
*smart-launch (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-operation-codes code smart-launch = 'smart-launch', stated as 'null')EHR server redirects client browser to Touchstone app launch URLfalse?launch=${launchValue}

action

Asserts

-DescriptionDirectionOperatorRequestURLSourceIdWarningOnly
*EHR server redirects client browser to Touchstone app launch URI. Client browser sent from EHR server to app launch URI of client app as described in SMART EHR Launch Sequence.requestcontains/oauth2/smart/launchsmartLaunchRequest1false