AEGIS Touchstone Testing Implementation Guide

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

PatientReadNotFoundRulesetWithParamJson

Generated Narrative

Ids

-
*

Meta

-
*

AEGIS Touchstone Testing TestScript Ruleset Extension

Urls

-
*

value: RulesetPatientNotFound

Urls

-
*

value: ../_reference/ruleset/RuleSet-NotFound-Groovy.xml

Urls

-
*

Urls

-
*

Urls

-
*

Urls

-
*

url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/patient-read-notfound-ruleset-with-param-json

version: 1.1.0

name: PatientReadNotFoundRulesetWithParamJson

status: active

date: 2020-05-29

publisher: AEGIS.net, Inc.

contact: Touchstone Support: Touchstone_Support@aegis.net

description: Demonstrate the use of a ruleset with a Patient read. The actual test is a read operation for a Patient in JSON format where the patient is not found and a ruleset is used to conditionally check the system under test to either skip or apply checks for HTTP response headers the payload content.

jurisdiction: United States of America

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

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Patient; version: 4.0.1; name: Patient; ACTIVE; date: Oct 31, 2019 6:29:23 PM; publisher: Health Level Seven International (Patient Administration); http://hl7.org/fhir, http://www.hl7.org/Special/com...; description: Demographics and other administrative information about an individual or animal receiving care or other health-related services.; purpose: Tracking patient is the center of the healthcare process.; 4.0.1; RESOURCE; type: Patient; baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource; SPECIALIZATION

Variables

-NameDescriptionHint
*NotFoundPatientResourceIdEnter a Patient resource id that does not exist on the destination system.[Not Found Resource Id]

test

Ids

-
*

name: ReadNotFoundJSON

description: Test the read operation for a known, not found (never existed) Patient resource instance. The expected HTTP response is 404 (Not Found) and optional content of an OperationOutcome resource in JSON format.

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*ReadPatientPatient read operation for a known, not found (never existed) resource instance.jsontrue/${NotFoundPatientResourceId}

action

Asserts

-ExtensionDescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned HTTP status is 404(Not Found).response404false

action

Asserts

-ExtensionDescriptionDirectionWarningOnly
*Complex ruleset assertion to conditionally validate expected HTTP Headers and payload.responsefalse