Sha256: dd229de4f1d37d7c435da10f36f64e61b0c0738aa56ed64d93fbf4291fc8db71

Contents?: true

Size: 665 Bytes

Versions: 56

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

# When executed this job updates rolling statistics for a patient's
# last past 12 HD sessions.
# Because this job will be triggered again the next time an HD Sessions is
# created, it is not crucial to keep each event around - ie they have a short
# shelf-life. For this reason we only retry 3 times then delete failed jobs.
module Renalware
  module HD
    class UpdateRollingPatientStatisticsJob < ApplicationJob
      queue_as :hd_patient_statistics
      queue_with_priority 4

      # :reek:UtilityFunction
      def perform(patient)
        UpdateRollingPatientStatistics.new(patient: patient).call
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.1.0 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.167 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.166 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.165 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.164 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.163 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.162 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.161 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.160 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.159 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.158 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.157 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.156 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.155 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.153 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.152 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.151 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.149 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb
renalware-core-2.0.148 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb