Sha256: ff85283e1604f5f2596623ace6dc6ad19d42ba0bcb6287670391af8f3b2fa103

Contents?: true

Size: 336 Bytes

Versions: 18

Compression:

Stored size: 336 Bytes

Contents

module Renalware
  module PD
    class MDMPresenter < Renalware::MDMPresenter
      def current_regime
        @current_regime ||= patient.pd_regimes&.current
      end

      def latest_pd_line_change_events
        @latest_pd_line_change_events ||= Events::LineChangeEventQuery.new(patient).call(limit: 1)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc10 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc9 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc8 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc7 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc6 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc5 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc4 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc3 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.rc1 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta12 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta11 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta10 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta9 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta8 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta7 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta6 app/presenters/renalware/pd/mdm_presenter.rb
renalware-core-2.0.0.pre.beta5 app/presenters/renalware/pd/mdm_presenter.rb