Class: CarinForBlueButtonTestKit::C4BBClientEOBRequiredSearches

Inherits:
Inferno::Test
  • Object
show all
Includes:
ClientValidationTest, URLs
Defined in:
lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/eob_required_searches.rb

Instance Method Summary collapse

Methods included from ClientValidationTest

#all_resource_types, #connect_bundle, #extract_eob_profile, #flattened_all_resources, #previous_claims_data_request_resources, #previous_claims_data_request_resources_scratch, #previous_claims_data_requests, #previous_claims_data_search_parameters_scratch, #previous_resource_requests, #resource_previous_search_params, #resource_type_endpoint

Methods included from URLs

#authorization_url, #base_url, #client_fhir_base_url, #fhir_base_url, #jwks_url, #metadata_url, #patient_url, #resource_api_url, #resource_id_url, #resume_claims_data_url, #resume_fail_url, #resume_pass_url, #smart_configuration_url, #token_url

Instance Method Details

#required_searchesObject



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/eob_required_searches.rb', line 37

def required_searches
  [
    '_id',
    'patient',
    'identifier',
    '_lastUpdated',
    'service-date',
    'service-start-date',
    'billable-period-start',
    'type',
    '_include=ExplanationOfBenefit:patient',
    '_include=ExplanationOfBenefit:provider',
    '_include=ExplanationOfBenefit:care-team',
    '_include=ExplanationOfBenefit:coverage',
    '_include=ExplanationOfBenefit:insurer',
    '_include=ExplanationOfBenefit:payee',
    '_include=ExplanationOfBenefit:*'
  ]
end

#suite_idObject

allow overriding without extension - used by resource_previous_search_params logic



57
58
59
60
61
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/eob_required_searches.rb', line 57

def suite_id # allow overriding without extension - used by resource_previous_search_params logic
  return config.options[:suite_id] if config.options[:suite_id].present?

  C4BBV200ClientSuite.id
end