0.2.2 - ci-build

FastAccessControl, published by MITRE. This guide is not an authorized publication; it is the continuous build for version 0.2.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/awatson1978/fhir-access-control-ig/ and changes regularly. See the Directory of published versions

TestScript: SMART Client Registration

Official URL: http:// Version: 0.2.2
Draft as of 2022-06-14 Computable Name: SMART_Client_Registration

Generated Narrative: TestScript TestScript-gszMyXpwsdoAjJZeh

url: PolstToConsent

version: 0.2.2

name: SMART_Client_Registration

title: R4 TestScript - SMART on FHIR Client Registration

status: Draft

date: 2022-06-14 23:24:46+0000

publisher: MITRE

contact: MITRE: https://www.mitre.org

Origins

-IndexProfile
*1[not stated] FHIR-Client: FHIR-Client

Destinations

-IndexProfile
*1[not stated] FHIR-Server: FHIR-Server

fixture

id

47be8943-2604-5d89-abb9-5c4e13a5120b

autocreate: true

autodelete: true

resource: Registration Payload 1

fixture

id

8b3f5577-4344-5c5e-91a0-ac4942632496

autocreate: true

autodelete: true

fixture

id

b079ec7f-b12a-5fec-bd06-338c44571163

autocreate: true

autodelete: true

fixture

id

f6c54af2-61fd-586d-afde-2d402ebf33af

autocreate: true

autodelete: true

fixture

id

ff897a54-61db-5461-aebb-a42fc4ed0e4d

autocreate: true

autodelete: true

test

id

61dcf836-8376-5637-90e0-24ede617b7b7

name: National Directory - FHIR Metadata

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Test script operation code read: ReadNational Directory - FHIR MetadataGET /baseR4/metadatajsontrueGET/baseR4/metadata

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 200(OK).okayfalse

test

id

e3daf953-6237-5170-8750-3100c0d76cb3

name: Registration (SMART on FHIR)

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodSourceIdUrl
*Test script operation code create: CreateRegistration (SMART on FHIR)POST /oauth/registrationjsontruePOST47be8943-2604-5d89-abb9-5c4e13a5120b/oauth/registration

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 201(Success).createdfalse

action

Asserts

-DescriptionWarningOnly
*Body contains the followingfalse

test

id

dcd8fa9d-767f-5c63-9648-dffa6974d322

name: Authorize - Stand Alone

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Test script operation code read: ReadAuthorize - Stand AloneGET /oauth/authorizejsontrueGET/oauth/authorize

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 200(OK).okayfalse

action

Asserts

-DescriptionWarningOnly
*Body contains the followingfalse

test

id

e61c9e92-fcdc-5ca3-8b0c-c80d55b50e4e

name: Token request

action

Operations

-TypeLabelDescriptionAcceptEncodeRequestUrlMethodUrl
*Test script operation code read: ReadToken requestGET /oauth/token?client_id=12345&code=5KFP8pBZcbqkSuNnY&grant_type=authorization_code&redirect_uri=https%3A%2F%2Finferno.healthit.gov%2Fsuites%2Fcustom%2Fsmart%2FredirectjsontrueGET/oauth/token

action

Asserts

-DescriptionResponseWarningOnly
*Confirm that the returned HTTP status is 200(OK).okayfalse

action

Asserts

-DescriptionWarningOnly
*Body contains the followingfalse