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

PatientReadSummaryRuleNoParamJson

Generated Narrative

Ids

-
*

Meta

-
*

AEGIS Touchstone Testing TestScript Rule Extension

Urls

-
*

value: RulePatientSummaryTrue

Urls

-
*

value: ../_reference/rule/PatientSummaryTrue.groovy

url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/patient-read-summary-rule-no-param-json

version: 1.1.0

name: PatientReadSummaryRuleNoParamJson

status: active

date: 2020-05-29

publisher: AEGIS.net, Inc.

contact: Touchstone Support: Touchstone_Support@aegis.net

description: Demonstrate the use of the AEGIS Touchstone Testing IG rule extensions (no params) with a Patient read. The actual test is a read operation for a Patient in JSON format with the _summary=true parameter where the rule allows a single assert to test the entire returned Patient resource contents.

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

-NameHint
*patientResourceIdEnter a known Patient resource id

test

Ids

-
*

name: PatientReadSummaryRuleNoParam

description: Read a known Patient in JSON format. The expected response code is 200 (OK). The expected response payload is the Patient resource with only the allowed summary elements in JSON format.

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*ReadPatientRead the created Patient. The destination server must support the _summary=true parameter.jsonfalse/${patientResourceId}?_summary=true

action

Asserts

-ExtensionDescriptionDirectionResponseWarningOnly
*Confirm that the returned HTTP status is 200(OK).responseokayfalse

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

action

Asserts

-ExtensionDescriptionDirectionWarningOnly
*Complex rule assertion to evaluate returned Patient and determine if any non-summary elements were returned.responsefalse