Sha256: 9a97038fa738b87df5c299f8220cd19afd5f0c14be190ad9a5b3bf9ca5af98b3

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

module IpaTestKit
  class FHIRVersionTest < Inferno::Test
    id :ipa_010_fhir_version
    title 'Server is using FHIR R4'
    description %(
        This test inspects the CapabilityStatement returned by the server to
        verify that the server is using FHIR R4.
      )

    run do
      server_version = fhir_client.detect_version.to_s.upcase
      assert server_version == 'R4', "Server is using FHIR version #{server_version} rather than R4"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ipa_test_kit-0.2.0 lib/ipa_test_kit/custom_groups/capability_statement/fhir_version_test.rb