Sha256: 6748670aa4d161d239da3b5e034345493bcbf820227d4c66c8ac3ccbf75ccdb3
Contents?: true
Size: 402 Bytes
Versions: 17
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true 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
17 entries across 17 versions & 1 rubygems