Sha256: 465455a8a28e56b6285b47bf60f1a26396b3151eadfab2337c5de53296ac4272

Contents?: true

Size: 1.34 KB

Versions: 63

Compression:

Stored size: 1.34 KB

Contents

- pd_type = regime.pd_type&.to_s&.upcase

= within_patient_layout(**local_assigns,
                        title: "#{pd_type} Regime",
                        breadcrumbs: pd_summary_breadcrumb(regime.patient)) do
  .row
    .columns.medium-6
      = article_tag "Treatment" do

          dl.dl-horizontal.xlarge
            dt Last Updated:
            dd= l regime.updated_at
            dt Start:
            dd= l regime.start_date
            dt End:
            dd= default_for_blank_date(regime.end_date, "Pending")
            dt Treatment:
            dd= regime.treatment
            - if regime.apd?
              = render("renalware/pd/regimes/assistance_type", regime: regime)
            dt= attr_name(regime, :exchanges_done_by)
            dd= regime.exchanges_done_by&.text
            dt= attr_name(regime, :exchanges_done_by_if_other)
            dd= regime.exchanges_done_by_if_other&.text
            dt= attr_name(regime, :exchanges_done_by_notes)
            dd= regime.exchanges_done_by_notes
            dt On additional HD?:
            dd= yes_no(regime.add_hd)
            = render "renalware/pd/regimes/glucose", regime: regime

    - if regime.apd?
      = render "renalware/pd/regimes/apd_regime_show", regime: regime
  .row
    .columns
      = article_tag "Bags" do
        = render "renalware/pd/regime_bags/regime_bags", regime: regime

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.126 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.125 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.124 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.123 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.121 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.120 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.119 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.118 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.117 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.116 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.115 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.113 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.112 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.111 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.110 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.109 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.108 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.106 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.105 app/views/renalware/pd/regimes/show.html.slim