Sha256: f5b3878ea5102ab60f67f2954de580a8fc9ff1301954b6cfc2ba072e5f11b638

Contents?: true

Size: 433 Bytes

Versions: 116

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/problems"

module Renalware
  module Problems
    class SummaryPart < Renalware::SummaryPart
      def problems
        @problems ||= patient.problems.ordered
      end

      def cache_key
        [patient.cache_key, patient.problems.cache_key].join("~")
      end

      def to_partial_path
        "renalware/problems/problems/summary_part"
      end
    end
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
renalware-core-2.0.126 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.125 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.124 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.123 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.121 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.120 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.119 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.118 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.117 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.116 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.115 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.113 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.112 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.111 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.110 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.109 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.108 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.106 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.105 app/presenters/renalware/problems/summary_part.rb
renalware-core-2.0.104 app/presenters/renalware/problems/summary_part.rb