Generated Narrative: TestScript
Resource TestScript "USCoreCapabilityStatementxml"
AEGIS Touchstone Testing TestScript Rule Extension
url
ruleId
value: rule-verifyTLS
url
path
value: ./VerifyTLS.groovy
url: http://hl7.org/fhir/us/core-tg/TestScript/USCoreCapabilityStatementxml
version: 3.1.1-1
name: USCoreCapabilityStatementxml
title: Tests for CapabilityStatement using the FHIR CapabilityStatement Resource XML
status: active
date: 2023-08-25
publisher: HL7 FHIR Infrastructure WG
contact: HL7 FHIR Infrastructure WG: https://hl7.org/Special/committees/fiwg, Richard Ettema: mailto:richard.ettema@aegis.net
description: Tests for CapabilityStatement using the FHIR CapabilityStatement Resource using XML format.
jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)
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
01-FHIRServerConformancename: 01-FHIRServerConformance
description: FHIR Server Supports the Conformance Interactions
action
operation
type: Capabilities (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code capabilities = 'Capabilities', stated as 'null')
description: GET on Metadata
accept: xml
contentType: xml
destination: 1
encodeRequestUrl: true
origin: 1
params: /metadata
requestHeader
action
Asserts
- Extension Description Direction Operator ResponseCode WarningOnly * Confirm that the returned response code is 200 OK or 201 Created. response in 200,201 false action
Asserts
- Extension Description Direction Resource WarningOnly * Confirm that the returned response payload is a CapabilityStatement resource. response CapabilityStatement false action
Asserts
- Extension Description Direction Operator RequestURL WarningOnly * Verify the base Url uses https response contains https false action
Asserts
- Extension Description Direction WarningOnly * , OAuth 2.0 authorize endpoint secured by transport layer security. Apps MUST assure that sensitive information (authentication secrets, authorization codes, tokens) is transmitted ONLY to authenticated servers, over TLS-secured channels. response false action
Asserts
- Extension Description Direction Expression Value WarningOnly * Expect fhirVersion is 4.0.1 response CapabilityStatement.fhirVersion 4.0.1 false action
Asserts
- Extension Description Direction Expression Value WarningOnly * Validate for json support against the Capability profile response CapabilityStatement.format json,application/json,application/fhir+json false action
Asserts
- Extension Description Direction Expression WarningOnly * Verify that at lease one non-patient US Core profile is supported response CapabilityStatement.rest.resource.where(supportedProfile.startsWith('http://hl7.org/fhir/us/core/StructureDefinition/') and supportedProfile!='http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient').count()>0 false