AEGIS Touchstone Testing Implementation Guide

This is the Version 1.5.0 Release of the Touchstone Testing Implementation Guide, based on FHIR Version 4.0.1. See the Directory of published versions

PatientReadStopTestOnFailJson

Generated Narrative

Resource "patient-read-stopTestOnFail-json"

Profile: AEGIS Touchstone Testing TestScript Profile

url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/patient-read-stopTestOnFail-json

version: 1.5.0

name: PatientReadStopTestOnFailJson

status: active

date: 2020-08-27

publisher: AEGIS.net, Inc.

contact: Touchstone Support: Touchstone_Support@aegis.net

description: Demonstrate the use of a Patient read and use of the new assert extension stopTestOnFail.

jurisdiction: US (unknown#US)

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

profile: http://hl7.org/fhir/StructureDefinition/Patient "Patient"

test

name: PatientReadStopTestOnFail

description: Read a Patient in JSON format. The expected response code is 200 (Ok). The expected response payload is the read Patient resource in JSON format.

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')PatientRead a Patient.jsonfalse/example

action

Asserts

-ExtensionDescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(Ok).response200false

action

Asserts

-ExtensionDescriptionDirectionContentTypeWarningOnly
*Confirm that the returned format is JSON.responsejsonfalse

action

Asserts

-ExtensionDescriptionDirectionResourceWarningOnly
*Confirm that the returned resource type is Patient.responsePatientfalse

action

Asserts

-ExtensionDescriptionDirectionValidateProfileIdWarningOnly
*Validate that the returned resource conforms to the base FHIR Patient profile.responsepatient-profilefalse