Sha256: d138eeb5991e5cc0749e6b3c8be7cea746869b2f3f6bc8240ea81667e8f9d807
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
module Roqua module Healthy module A19 class CorrectPatientCheck attr_reader :patient_id, :record def initialize(patient_id, record) @patient_id = patient_id @record = record end def check record[:identities].try(:any?) { |i| i[:ident] == patient_id } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems