Generated Narrative: TestScript
Resource TestScript "DEVSATCapabilitiesProviderxml"
Testing Scope Canonical Value: R4 Developer Satisfaction Provider Capability Statement
url: http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATCapabilitiesProviderxml
version: 0.2.0
name: DEVSATCapabilitiesProviderxml
title: HL7 FHIR R4 TestScript Capabilities Provider 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 the Developer Satisfaction Provider Actor Capablities 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://hl7.org/fhir/StructureDefinition/CapabilityStatement "CapabilityStatement"
test
id
CapabilitiesProvidername: CapabilitiesProvider
description: Test Developer Satisfaction Provider Actor Capablities using XML format and assert successful returned CapabilityStatement
action
Operations
- Type Description Accept ContentType Destination EncodeRequestUrl Origin Params * metadata (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code metadata = 'metadata', stated as 'null') Provider Actor CapabilityStatement in XML format xml xml 1 true 1 /metadata 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 a CapabilityStatement resource. response CapabilityStatement false action
Asserts
- Description Direction ValidateProfileId WarningOnly * Confirm that the returned CapabilityStatement conforms to the FHIR specification. response CapabilityStatementProfile false action
Asserts
- Description Direction Expression WarningOnly * Confirm that the returned CapabilityStatement instantiates the Developer Satisfaction Provider Capabilities. response CapabilityStatement.where(instantiates = 'http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/CapabilityStatement/dev-satisfaction-provider-r4').exists() false