Class: CarinForBlueButtonTestKit::CARIN4BBV200DEVNONFINANCIAL::EobOutpatientInstitutionalNonFinancialReadTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReadTest
Defined in:
lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb

Instance Method Summary collapse

Methods included from ReadTest

#all_scratch_resources, #bad_resource_id_message, #no_resources_skip_message, #perform_read_test, #read_and_validate, #readable_resources, #resource_class, #resource_id

Instance Method Details

#resource_idsObject



22
23
24
25
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb', line 22

def resource_ids
  return [] unless respond_to? :additional_eob_outpatient_institutional_non_financial_ids
  additional_eob_outpatient_institutional_non_financial_ids.split(',').map(&:strip)
end

#resource_typeObject



14
15
16
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb', line 14

def resource_type
  'ExplanationOfBenefit'
end

#scratch_resourcesObject



18
19
20
# File 'lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb', line 18

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