Sha256: 259052d7dba49fcc4c71bb800f8e1a7a4b63ae3a7c859a5982940a2913aaa86f

Contents?: true

Size: 476 Bytes

Versions: 2

Compression:

Stored size: 476 Bytes

Contents

module USCoreTestKit
  class FHIRVersionTest < Inferno::Test
    id :us_core_311_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

2 entries across 2 versions & 1 rubygems

Version Path
us_core_test_kit-0.1.1 lib/us_core_test_kit/custom_groups/capability_statement/fhir_version_test.rb
us_core_test_kit-0.1.0 lib/us_core_test_kit/custom_groups/capability_statement/fhir_version_test.rb