Class: DaVinciUSDrugFormularyTestKit::DaVinciUSDrugFormularyV201::PayerInsurancePlanNameSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
SearchTest
Defined in:
lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/payer_insurance_plan_name_search_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL

Class Method Summary collapse

Instance Method Summary collapse

Methods included from SearchTest

#all_comparator_searches_tested?, #all_include_search_params, #all_scratch_resources, #all_search_params, #all_search_params_present?, #all_search_variants_tested?, #any_valid_search_params?, #array_of_codes, #cant_resolve_next_bundle_message, #check_resource_against_params, #check_search_response, #date_comparator_value, #default_search_values, #drugpol_coding?, #element_has_valid_value?, #empty_search_params_message, #fetch_all_bundled_resources, #filter_insurance_plan, #fixed_value_search_param_name, #fixed_value_search_param_values, #fixed_value_search_params, #formulary_insurance_plan?, #initial_search_variant_test_records, #no_resources_skip_message, #payer_insurance_plan?, #perform_comparator_searches, #perform_multiple_or_search_test, #perform_post_search, #perform_reference_with_type_search, #perform_search, #perform_search_with_system, #references_to_save, #required_comparators, #resource_id_list, #resource_id_param?, #resource_status, #run_include_search_test, #run_search_test, #save_delayed_references, #save_resource_reference, #scratch_resources_for_group, #search_and_check_response, #search_param_paths, #search_param_value, #search_params_with_values, #search_variant_test_records, #status_param?, #status_search_param_name, #status_search_values, #unable_to_resolve_params_message

Methods included from FHIRResourceNavigation

#find_a_value_at, #find_slice_via_discriminator, #get_next_value, #resolve_path, #verify_slice_by_values

Methods included from DaVinciUSDrugFormularyTestKit::DateSearchValidation

#fhir_date_comparer, #get_fhir_datetime_range, #get_fhir_period_range, #is_date?, #validate_date_search, #validate_datetime_search, #validate_period_search

Class Method Details

.metadataObject



29
30
31
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/payer_insurance_plan_name_search_test.rb', line 29

def self.
  @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
end

.propertiesObject



22
23
24
25
26
27
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/payer_insurance_plan_name_search_test.rb', line 22

def self.properties
  @properties ||= SearchTestProperties.new(
    resource_type: 'InsurancePlan',
    search_param_names: ['name']
  )
end

Instance Method Details

#scratch_resourcesObject



33
34
35
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/payer_insurance_plan_name_search_test.rb', line 33

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