Sha256: a4c0b04b313290a249d2eea6b7d5c07a4e4c78339f364f983651c0ad88009214
Contents?: true
Size: 513 Bytes
Versions: 13
Compression:
Stored size: 513 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/patients" require "attr_extras" module Renalware module Patients class ClearPatientUKRDCData pattr_initialize [:patient!, :by!] def self.call(**args) new(**args).call end def call patient.send_to_rpv = false patient.rpv_decision_on = Time.zone.today patient.rpv_recorded_by = by.to_s patient.skip_death_validations = true patient.save_by!(by) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems