Sha256: 2017fe603ca3e5c058ff05f60ed7e3a505b674f75effc6dcb407d70416919f42

Contents?: true

Size: 436 Bytes

Versions: 61

Compression:

Stored size: 436 Bytes

Contents

# frozen_string_literal: true

# When executed this job updates rolling statistics for a patient's
# last past 12 HD sessions.

module Renalware
  module HD
    class UpdateRollingPatientStatisticsJob < ApplicationJob
      queue_as :hd_patient_statistics
      queue_with_priority 1

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

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
renalware-core-2.0.44 app/jobs/renalware/hd/update_rolling_patient_statistics_job.rb