Sha256: 0264d11d7244b1985e9c5347355d85008e725415eaf45343fc9bd84a9d668e2f
Contents?: true
Size: 1.98 KB
Versions: 3
Compression:
Stored size: 1.98 KB
Contents
require_relative '../../../search_test' require_relative '../../../generator/group_metadata' module DaVinciPlanNetTestKit module DaVinciPlanNetV110 class HealthcareServiceForwardChainOrganizationNameSearchTest < Inferno::Test include DaVinciPlanNetTestKit::SearchTest title 'Server capable of forward chaining with organization.name' description %( A server SHALL be capable of supporting chaining for name through the search parameter organization for the Healthcare_service profile. This test will perform a search with organization.name using a value in the name 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 name search parameter and value and check that this search contains any instances referenced through the organization element of instances returned by the tested search. ) id :davinci_plan_net_v110_forward_chain_organization_name_search_test def properties @properties ||= SearchTestProperties.new( resource_type: 'HealthcareService', search_param_names: [], chain_param: 'name', chain_param_base: 'organization', 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[:healthcare_service_resources] ||= {} end def scratch_additional_resources scratch[:organization_resources] ||= {} end run do run_forward_chain_search_test end end end end
Version data entries
3 entries across 3 versions & 1 rubygems