Sha256: a648f3513e1b2a4a123fd88da61f5a2d61e2fa0e8a60bcdf115afabb232644a5
Contents?: true
Size: 1.98 KB
Versions: 1
Compression:
Stored size: 1.98 KB
Contents
require_relative '../../../search_test' require_relative '../../../generator/group_metadata' module DaVinciPlanNetTestKit module DaVinciPlanNetV110 class PractitionerRoleForwardChainNetworkAddressSearchTest < Inferno::Test include DaVinciPlanNetTestKit::SearchTest title 'Server capable of forward chaining with network.address' description %( A server SHALL be capable of supporting chaining for address through the search parameter network for the Practitioner_role profile. This test will perform a search with network.address using a value in the address element on an instance found during _include tests executed previously during this sequence. To validate the returned instances, the test will perform a search on the Organization resource type using the same address search parameter and value and check that this search contains any instances referenced through the network element of instances returned by the tested search. ) id :davinci_plan_net_v110_forward_chain_practitioner_role_network_address_search_test def properties @properties ||= SearchTestProperties.new( resource_type: 'PractitionerRole', search_param_names: [], chain_param: 'address', chain_param_base: 'network', additional_resource_type: 'Organization' ) end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'))) end def self.additional_metadata @additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'organization', 'metadata.yml'), aliases: true)) end def scratch_resources scratch[:practitioner_role_resources] ||= {} end def scratch_additional_resources scratch[:organization_resources] ||= {} end run do run_forward_chain_search_test end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
davinci_plan_net_test_kit-0.10.1 | lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_address_search_test.rb |