Class: CarinForBlueButtonTestKit::CARIN4BBV110::PatientReadTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReadTest
Defined in:
lib/carin_for_blue_button_test_kit/generated/v1.1.0/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



29
30
31
32
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/read_test.rb', line 29

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

#resource_typeObject



21
22
23
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/read_test.rb', line 21

def resource_type
  'Patient'
end

#scratch_resourcesObject



25
26
27
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/read_test.rb', line 25

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