Sha256: 8c658ce25e990fb08b2acf1ba0f83571d752093606b5d601cb594ae3c3003a3e

Contents?: true

Size: 516 Bytes

Versions: 7

Compression:

Stored size: 516 Bytes

Contents

module IpaTestKit
  module IpaV100
    class FHIRVersionTest < Inferno::Test
      id :ipa_100_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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ipa_test_kit-0.4.1 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.4.0 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.3.4 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.3.3 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.3.2 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.3.1 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb
ipa_test_kit-0.3.0 lib/ipa_test_kit/custom_groups/v1.0.0/capability_statement/fhir_version_test.rb