Sha256: c169266b6aa1a211befedcbf493f26263adfe5c10064c07943b99f0f411b9d56
Contents?: true
Size: 1.91 KB
Versions: 8
Compression:
Stored size: 1.91 KB
Contents
# frozen_string_literal: true require_relative '../export_operation_tests' module BulkDataTestKit module BulkDataV101 class BulkDataExportOperationSupportTest < Inferno::Test include BulkDataTestKit::BulkDataExportOperationTests id :bulk_data_export_operation_support title 'Bulk Data Server declares support for particular bulk data export operation in CapabilityStatement' description <<~DESCRIPTION This test verifies that the Bulk Data Server declares support for a particular bulk data operation in its server CapabilityStatement. Given flexibility in the FHIR specification for declaring constrained OperationDefinitions, this test only verifies that the server declares any operation for the specific resource in the CapabilityStatement. It does not verify that it declares the standard bulk data export OperationDefinition provided in the Bulk Data specification, nor does it attempt to resolve any non-standard OperationDefinitions to verify if it is a constrained version of the standard OperationDefintion. This test will provide a warning if no operations are declared via the `CapabilityStatement.rest.resource.operation.name` element. It will also provide an informational message if an operation on the particular resource exists, but does not point to the standard OperationDefinition canonical URL. Additionally, this test provides a warning if the bulk data server does not include the following URL in its `CapabilityStatement.instantiates` element: http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data DESCRIPTION def self.properties @properties ||= BulkDataTestKitProperties.new( resource_type: config.options[:resource_type] ) end run do check_export_support end end end end
Version data entries
8 entries across 8 versions & 1 rubygems