Sha256: aad229ab43dec7c304b902f8d8421af833bb8b8756ee436cac48b152ce091ad6

Contents?: true

Size: 1.95 KB

Versions: 8

Compression:

Stored size: 1.95 KB

Contents

= content_for(:actions) do
  =render "renalware/pd/dashboards/show/page_actions", patient: patient

= within_patient_layout do
  - if dashboard.current_regime.present?
    = render "renalware/pd/regimes/current_regime",
              current_regime: dashboard.current_regime

  - if dashboard.capd_regimes.any?
    = render "renalware/pd/dashboards/show/capd_regimes",
             capd_regimes: dashboard.capd_regimes,
             patient: patient

  - if dashboard.apd_regimes.any?
    = render "renalware/pd/dashboards/show/apd_regimes",
             apd_regimes: dashboard.apd_regimes,
             patient: patient

  - if dashboard.peritonitis_episodes.any?
    = render "renalware/pd/dashboards/show/peritonitis_episodes",
           peritonitis_episodes: dashboard.peritonitis_episodes,
           patient: patient

  - if dashboard.exit_site_infections.any?
    = render "renalware/pd/dashboards/show/exit_site_infections",
           exit_site_infections: dashboard.exit_site_infections,
           patient: patient

  - if dashboard.pet_adequacies.any?
    = render "renalware/pd/dashboards/show/pet_adequacies",
           pet_adequacies: dashboard.pet_adequacies,
           patient: patient

  - if dashboard.assessments.any?
    = render "renalware/pd/assessments/list",
              assessments: dashboard.assessments,
              patient: patient

  - if dashboard.training_sessions.any?
    = render "renalware/pd/training_sessions/list",
              training_sessions: dashboard.training_sessions,
              patient: patient
  .row
    .medium-6.large-6.columns
      = render "renalware/clinical/dry_weights/list",
               patient: patient,
               limit: 5

    - if dashboard.latest_pd_line_change_events.any?
      .medium-6.large-6.columns.end
        = render "renalware/events/events/simple/list",
                 events: dashboard.latest_pd_line_change_events,
                 patient: patient,
                 title: "Latest Line Change Event"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/pd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/pd/dashboards/show.html.slim