Class: CarinForBlueButtonTestKit::CARIN4BBV200::EobPharmacyLastupdatedSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
CarinForBlueButtonTestKit::CarinSearchTest
Defined in:
lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL

Class Method Summary collapse

Instance Method Summary collapse

Methods included from CarinForBlueButtonTestKit::CarinSearchTest

#all_scratch_resources, #build_search_params, #check_explanation_of_benefit_include, #check_for_include_match, #check_normal_include, #check_paths_for_match, #check_resource_against_params, #determine_paths, #determine_type, #element_has_valid_value?, #execute_search, #extract_included_resource_types, #extract_relevant_resources, #extract_resources_from_bundle, #extract_values, #filter_base_resources, #find_param_value, #included_refs, #included_resources, #initialize_include_search_params, #match_found?, #matched_base_resources, #no_resources_skip_message, #patient_id_list, #patient_id_param?, #perform_response_validation, #perform_search_and_validate, #process_codeable_concept_element, #process_date_element, #process_each_base_resource, #process_element, #process_other_element_types, #process_period_element, #process_resources, #readable_resources, #reference_match?, #references_to_save, #resource_class, #resource_id, #run_include_search, #run_search_test, #save_delayed_references, #save_resource_reference, #search_param_paths, #search_param_value, #validate_included_resources

Methods included from FHIRResourceNavigation

#find_a_value_at, #get_next_value, #resolve_path

Methods included from 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



27
28
29
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb', line 27

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

.propertiesObject



20
21
22
23
24
25
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb', line 20

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

Instance Method Details

#scratch_resourcesObject



31
32
33
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb', line 31

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