This is the Version 1.1.0 Release of the Touchstone Testing Implementation Guide, based on FHIR Version 4.0.1. See the Directory of published versions
Turtle Format: TestScript-ehr-smart-launch
Raw ttl
@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:TestScript;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "ehr-smart-launch"];
fhir:Resource.meta [
fhir:Meta.profile [
fhir:value "http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript";
fhir:index 0;
fhir:link <http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript> ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><h3>Ids</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table><h3>Meta</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>url</b>: <a href=\"http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/ehr-smart-launch\">http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/ehr-smart-launch</a></p><p><b>version</b>: 1.1.0</p><p><b>name</b>: EHRSMARTLaunch</p><p><b>status</b>: active</p><p><b>date</b>: 2020-08-27</p><p><b>publisher</b>: AEGIS.net, Inc.</p><p><b>contact</b>: Touchstone Support: <a href=\"mailto:Touchstone_Support@aegis.net\">Touchstone_Support@aegis.net</a></p><p><b>description</b>: Demonstrate the use of the smart-launch operation and the new extension operation-smartLaunchRequestId.</p><p><b>jurisdiction</b>: <span title=\"Codes: {urn:iso:std:iso:3166 US}\">United States of America</span></p><p><b>copyright</b>: (c) AEGIS.net, Inc. 2015+</p><blockquote><p><b>test</b></p><h3>Ids</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>name</b>: EHR Launch With Practitioner Scope</p><p><b>description</b>: Perform EHR SMART launch sequence and test browser redirect.</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td></tr><tr><td>*</td><td></td><td><span title=\"{http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-operation-codes smart-launch}\">SMART on FHIR Launch</span></td><td>EHR server redirects client browser to Touchstone app launch URL</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>RequestURL</b></td><td><b>SourceId</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>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.</td><td>request</td><td>contains</td><td>/oauth2/smart/launch</td><td>smartLaunchRequest1</td><td>false</td></tr></table></blockquote></blockquote></div>"
];
fhir:TestScript.url [ fhir:value "http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/ehr-smart-launch"];
fhir:TestScript.version [ fhir:value "1.1.0"];
fhir:TestScript.name [ fhir:value "EHRSMARTLaunch"];
fhir:TestScript.status [ fhir:value "active"];
fhir:TestScript.date [ fhir:value "2020-08-27"^^xsd:date];
fhir:TestScript.publisher [ fhir:value "AEGIS.net, Inc."];
fhir:TestScript.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "Touchstone Support" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "Touchstone_Support@aegis.net" ];
fhir:ContactPoint.use [ fhir:value "work" ] ]
];
fhir:TestScript.description [ fhir:value "Demonstrate the use of the smart-launch operation and the new extension operation-smartLaunchRequestId."];
fhir:TestScript.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
fhir:Coding.code [ fhir:value "US" ];
fhir:Coding.display [ fhir:value "United States of America" ] ]
];
fhir:TestScript.copyright [ fhir:value "(c) AEGIS.net, Inc. 2015+"];
fhir:TestScript.test [
fhir:index 0;
fhir:Element.id [ fhir:value "EHRLaunchWithPractitionerScope" ];
fhir:TestScript.test.name [ fhir:value "EHR Launch With Practitioner Scope" ];
fhir:TestScript.test.description [ fhir:value "Perform EHR SMART launch sequence and test browser redirect." ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-operation-smartLaunchRequestId" ];
fhir:Extension.valueId [ fhir:value "smartLaunchRequest1" ] ];
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "smart-launch" ] ];
fhir:TestScript.setup.action.operation.description [ fhir:value "EHR server redirects client browser to Touchstone app launch URL" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "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." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "request" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "contains" ];
fhir:TestScript.setup.action.assert.requestURL [ fhir:value "/oauth2/smart/launch" ];
fhir:TestScript.setup.action.assert.sourceId [ fhir:value "smartLaunchRequest1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.