Sha256: 82b54875aad4ce85e7419b41bafb9d83c7f65e8f0b39f8a144f30b9756cfceba

Contents?: true

Size: 650 Bytes

Versions: 6

Compression:

Stored size: 650 Bytes

Contents

require_relative '../../../read_test'

module USCoreTestKit
  module USCoreV700
    class RelatedPersonReadTest < Inferno::Test
      include USCoreTestKit::ReadTest

      title 'Server returns correct RelatedPerson resource from RelatedPerson read interaction'
      description 'A server SHALL support the RelatedPerson read interaction.'

      id :us_core_v700_related_person_read_test

      def resource_type
        'RelatedPerson'
      end

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

      run do
        perform_read_test(scratch.dig(:references, 'RelatedPerson'))
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
us_core_test_kit-0.9.2 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb
us_core_test_kit-0.9.1 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb
us_core_test_kit-0.9.0 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb
us_core_test_kit-0.8.2 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb
us_core_test_kit-0.8.1 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb
us_core_test_kit-0.8.0 lib/us_core_test_kit/generated/v7.0.0/related_person/related_person_read_test.rb