Sha256: dcd6c63fe19c085a3a917253f4597e9cab86cd5801bb7f3c23ae0eac9682af21

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

require_relative '../../reference_resolution_test'

module IpaTestKit
  class MedicationStatementReferenceResolutionTest < Inferno::Test
    include IpaTestKit::ReferenceResolutionTest

    title 'Every reference within MedicationStatement resources can be read'
    description %(
      This test will attempt to read the first 50 references found in the
      resources from the first search. The test will fail if Inferno fails to
      read any of those references.
    )

    id :ipa_010_medication_statement_reference_resolution_test

    def resource_type
      'MedicationStatement'
    end

    def scratch_resources
      scratch[:medication_statement_resources] ||= {}
    end

    run do
      perform_reference_resolution_test(scratch_resources[:all])
    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/generated/medication_statement/medication_statement_reference_resolution_test.rb