Class: CancerRegistryReportingTestKit::RadiotherapyProcedureSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
SearchTest
Defined in:
lib/cancer_registry_reporting_test_kit/ehr_suite/mcode_data_access_resources/radiotherapy_procedure/radiotherapy_procedure_search_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL, FHIRResourceNavigation::PRIMITIVE_DATA_TYPES

Instance Attribute Summary

Attributes included from SearchTest

#manual_search_params

Class Method Summary collapse

Instance Method Summary collapse

Methods included from SearchTest

#all_comparator_searches_tested?, #all_provenance_revinclude_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, #element_has_valid_value?, #empty_search_params_message, #fetch_all_bundled_resources, #filter_conditions, #filter_devices, #fixed_value_search_param_name, #fixed_value_search_param_values, #fixed_value_search_params, #initial_search_variant_test_records, #is_reference_match?, #manual_search_param_hash, #manual_search_param_name, #manual_search_param_values, #manual_search_params_full, #no_resources_skip_message, #patient_id_list, #patient_id_param?, #patient_search?, #perform_comparator_searches, #perform_multiple_or_search_test, #perform_post_search, #perform_reference_with_type_search, #perform_search, #perform_search_with_status, #perform_search_with_system, #references_to_save, #required_comparators, #resource_matches_param?, #run_provenance_revinclude_search_test, #run_search_test, #save_delayed_references, #save_resource_reference, #scratch_resources_for_patient, #search_and_check_response, #search_param_paths, #search_param_value, #search_params_tag, #search_params_with_values, #search_variant_test_records, #status_search_param_name, #status_search_values, #tags, #test_medication_inclusion, #unable_to_resolve_params_message, #unescape_search_value

Methods included from FHIRResourceNavigation

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

Class Method Details

.metadataObject



37
38
39
# File 'lib/cancer_registry_reporting_test_kit/ehr_suite/mcode_data_access_resources/radiotherapy_procedure/radiotherapy_procedure_search_test.rb', line 37

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

.propertiesObject



28
29
30
31
32
33
34
35
# File 'lib/cancer_registry_reporting_test_kit/ehr_suite/mcode_data_access_resources/radiotherapy_procedure/radiotherapy_procedure_search_test.rb', line 28

def self.properties
  @properties ||= SearchTestProperties.new(
    first_search: true,
    resource_type: 'Procedure',
    search_param_names: ['patient', 'code'],
    test_post_search: false
  )
end

Instance Method Details

#scratch_resourcesObject



41
42
43
# File 'lib/cancer_registry_reporting_test_kit/ehr_suite/mcode_data_access_resources/radiotherapy_procedure/radiotherapy_procedure_search_test.rb', line 41

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