Sha256: e26b704476c649c39f3c25b5e94a39b6c21b36d79b7aa4ce63ded4c65e885965
Contents?: true
Size: 857 Bytes
Versions: 11
Compression:
Stored size: 857 Bytes
Contents
require_relative '../../../read_test' require 'json' module CarinForBlueButtonTestKit module CARIN4BBV200 class RelatedPersonReadTest < Inferno::Test include CarinForBlueButtonTestKit::ReadTest title 'Server returns correct RelatedPerson resource from RelatedPerson read interaction' description 'A server SHALL support the RelatedPerson read interaction.' id :c4bb_v200_related_person_read_test def resource_type 'RelatedPerson' end def scratch_resources scratch[:relatedperson_resources] ||= {} end def resource_ids return [] unless respond_to? :additional_related_person_ids additional_related_person_ids.split(',').map(&:strip) end run do perform_read_test(scratch.dig(:references, 'RelatedPerson')) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems