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.1.1 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.1.0 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.167 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.166 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.165 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.164 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.163 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.162 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.161 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.160 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.159 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.158 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.157 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.156 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.155 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.153 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.152 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.151 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.149 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.148 app/views/renalware/pd/regimes/show.html.slim