Class: CarinForBlueButtonTestKit::CARIN4BBV200DEVNONFINANCIAL::PatientReadTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReadTest
Defined in:
lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/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/patient/read_test.rb', line 22

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

#resource_typeObject



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

def resource_type
  'Patient'
end

#scratch_resourcesObject



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

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