Generated Narrative: TestScript
Resource TestScript "DEVSATObservationdynamicreadvalidatexml"
url: http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationdynamicreadvalidatexml
version: 0.2.0
name: DEVSATObservationdynamicreadvalidatexml
title: HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Observation XML
status: active
date: 2024-04-10
publisher: AEGIS.net, Inc.
contact: AEGIS.net, Inc.: https://www.aegis.net, Richard Ettema: mailto:richard.ettema@aegis.net
description: Example TestScript to test DEVSAT-Observation resource read and profile validation using #xml format
jurisdiction: World (m49.htm#001)
copyright: (c) Health Level 7 (HL7) International 2023
- | Index | Profile |
* | 1 | FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null') |
- | Index | Profile |
* | 1 | FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null') |
profile: http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-observation "DEVSATObservation"
- | Name | DefaultValue | Description | Hint |
* | resource_id | example | Enter a known resource id on the destination system. | [resource.id] |
test
id
PatientReadValidatename: PatientReadValidate
description: Test DEVSAT-Observation resource read on destination server and assert returned resource passes validation
action
Operations
- Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params * Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') Observation ResourceRead xml xml 1 true 1 /${resource_id} action
Asserts
- Description Direction ResponseCode WarningOnly * Confirm that the returned response code is 200 OK. response 200 false action
Asserts
- Description Direction Resource WarningOnly * Confirm that the returned response payload is the specified resource. response Observation false action
Asserts
- Description Direction ValidateProfileId WarningOnly * Confirm that the returned resource conforms to the specified profile. response DEVSATObservationProfile false