Sha256: 1076dd0cfc0302fbbdecc2f4447f0d5311deaf0e9df4f8eef14aa57790e14944

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

require "renalware/letters/part"

module Renalware
  module Letters
    class Part::Problems < DumbDelegator
      def initialize(patient, _event = Event::Unknown.new)
        @patient = patient
        super(patient.problems.includes(:notes))
      end

      def to_partial_path
        "renalware/letters/parts/problems"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta11 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta10 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta9 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta8 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta7 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta6 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta5 app/models/renalware/letters/part/problems.rb
renalware-core-2.0.0.pre.beta4 app/models/renalware/letters/part/problems.rb