Scalable Consent Management Testing Guide
0.1.0 - ci-build United States of America flag

Scalable Consent Management Testing Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

TestScript: FAST Consent Capabilities XML

Official URL: http://hl7.org/fhir/us/consent-management-tg/TestScript/fastconsentcapabilitiesxml Version: 0.1.0
Standards status: Trial-use Maturity Level: 1 Computable Name: FASTConsentCapabilitiesXML

Copyright/Legal: (c) HL7 International / Community Based Collaborative Care 2025

Test a FAST Consent Management Server CapabilityStatement using XML Format

StructureDefinition Work Group: cbcc

url: TestScript FAST Consent Capabilities XML

version: 0.1.0

name: FASTConsentCapabilitiesXML

title: FAST Consent Capabilities XML

status: Active

date: 2025-05-22

publisher: HL7 International / Community Based Collaborative Care

contact: HL7 International / Community Based Collaborative Care: http://www.hl7.org/Special/committees/cbcc

description:

Test a FAST Consent Management Server CapabilityStatement using XML Format

jurisdiction: United States of America

copyright:

(c) HL7 International / Community Based Collaborative Care 2025

Origins

-IndexProfile
*1Test script profile origin type FHIR-Client: FHIR Client

Destinations

-IndexProfile
*1Test script profile destination type FHIR-Server: FHIR Server

profile: http://hl7.org/fhir/StructureDefinition/CapabilityStatement

test

id

FASTConsentCapabilitiesXML

name: FASTConsentCapabilitiesXML

description: Test a FAST Consent Management Server CapabilityStatement using XML Format against the destination server and assert successful response.

action

Operations

-TypeDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParams
*Test script operation code metadata: metadataGet the CapabilityStatementxmlxml1true1metadata

action

Asserts

-ExtensionDescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned response code is 200 OK.response200false

action

Asserts

-ExtensionDescriptionDirectionResourceWarningOnly
*Confirm that the returned response payload is a CapabilityStatement resource.responseCapabilityStatementfalse

action

Asserts

-ExtensionDescriptionDirectionValidateProfileIdWarningOnly
*Confirm that the returned CapabilityStatement conforms to the base FHIR specification.responseCapabilityStatementProfilefalse

action

Asserts

-ExtensionDescriptionDirectionPathValueWarningOnly
*Confirm that the returned CapabilityStatement contains the fhirVersion 4.0.1.response$.fhirVersion4.0.1false

action

Asserts

-ExtensionDescriptionDirectionExpressionWarningOnly
*Confirm that the returned CapabilityStatement declares support for the Consent resource.responseCapabilityStatement.rest.where(mode = 'server').resource.where(type = 'Consent').exists()false

action

Asserts

-ExtensionDescriptionDirectionExpressionWarningOnly
*Confirm that the returned CapabilityStatement declares support for the FAST Consent profile.responseCapabilityStatement.rest.where(mode = 'server').resource.where(type = 'Consent' and supportedProfile = 'http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent').exists()false