Sha256: f2f1b00d00c59788777e8dc44b0d8fe1d3d0f8cc4230193c5a1da35c29785402

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 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
            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 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

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/pd/regimes/show.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/pd/regimes/show.html.slim