Sha256: bce7c5d4e9375e17077346b947f5f8ef44a7d7f63284e0f1fa1ab432929fa165
Contents?: true
Size: 1.11 KB
Versions: 6
Compression:
Stored size: 1.11 KB
Contents
require_relative '../../../search_test' require_relative '../../../generator/group_metadata' module USCoreTestKit module USCoreV700 class SpecimenIdSearchTest < Inferno::Test include USCoreTestKit::SearchTest title 'Server returns valid results for Specimen search by _id' description %( A server SHALL support searching by _id on the Specimen resource. This test will pass if resources are returned and match the search criteria. If none are returned, the test is skipped. [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core/STU7/CapabilityStatement-us-core-server.html) ) id :us_core_v700_specimen__id_search_test def self.properties @properties ||= SearchTestProperties.new( resource_type: 'Specimen', search_param_names: ['_id'] ) end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)) end def scratch_resources scratch[:specimen_resources] ||= {} end run do run_search_test end end end end
Version data entries
6 entries across 6 versions & 1 rubygems