require_relative '../../reference_resolution_test' module IpaTestKit class PatientReferenceResolutionTest < Inferno::Test include IpaTestKit::ReferenceResolutionTest title 'Every reference within Patient resources can be read' description %( This test will attempt to read the first 50 references found in the resources from the first search. The test will fail if Inferno fails to read any of those references. ) id :ipa_010_patient_reference_resolution_test def resource_type 'Patient' end def scratch_resources scratch[:patient_resources] ||= {} end run do perform_reference_resolution_test(scratch_resources[:all]) end end end