Class: CarinForBlueButtonTestKit::C4BBClientPatientRequiredSearches

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/patient_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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/patient_required_searches.rb', line 32

def required_searches
  [
    '_id',
    'birthdate',
    'family',
    'gender',
    'given',
    'identifier',
    'name',
    'birthdate+family',
    'family+gender',
    'birthdate+name',
    'gender+name'
  ]
end

#suite_idObject

allow overriding without extension - used by resource_previous_search_params logic



48
49
50
51
52
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/patient_required_searches.rb', line 48

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