Sha256: 62dfeb30c9da7f62c1f32e23a8770899c69c3ef18a9e428401f741ef18bc2193

Contents?: true

Size: 1.98 KB

Versions: 112

Compression:

Stored size: 1.98 KB

Contents

= content_tag_for(:div, peritonitis_episode) do
  = article_tag "Details" do
    .row
      .columns.small-12.medium-6
        dl.dl-horizontal
            dt Start
            dd= l peritonitis_episode.treatment_start_date
            dt End
            dd= l peritonitis_episode.treatment_end_date

      .columns.small-12.medium-6
        dl.dl-horizontal
          dt Episode Types
          dd= peritonitis_episode.episode_types_summary
          dt Catheter Removed
          dd= yes_no(peritonitis_episode.catheter_removed)

        dl.dl-horizontal
          dt Last Updated:
          dd= l peritonitis_episode.updated_at

  .row
    .large-6.columns
      = article_tag "White Cell Count" do
        ul.table-data-list
          li Total: #{default_for_blank_units(peritonitis_episode.white_cell_total, "x 10\u2079", "N/A")}
          li Neutro: #{default_for_blank_units(peritonitis_episode.white_cell_neutro, "%", "N/A")}
          li Lympho: #{default_for_blank_units(peritonitis_episode.white_cell_lympho, "%", "N/A")}
          li Degen: #{default_for_blank_units(peritonitis_episode.white_cell_degen, "%", "N/A")}
          li Other: #{default_for_blank_units(peritonitis_episode.white_cell_other, "%", "N/A")}

    .large-6.columns
      = article_tag "Causes/Symptoms" do
        ul.table-data-list
          li Line Break: #{yes_no(peritonitis_episode.line_break)}
          li Exit Site Infection: #{yes_no(peritonitis_episode.exit_site_infection)}
          li Diarrhoea: #{yes_no(peritonitis_episode.diarrhoea)}
          li Abdominal Pain: #{yes_no(peritonitis_episode.abdominal_pain)}
          li Fluid Description: #{default_for_associated(peritonitis_episode.fluid_description, :description, "N/A")}

  .row
    .large-12.columns
      = article_tag "Peritonitis Episode Notes" do
        p= peritonitis_episode.notes

  .right
    = link_to "Edit",
              edit_patient_pd_peritonitis_episode_path(patient, peritonitis_episode),
              remote: true,
              class: %i(button tiny)

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
renalware-core-2.0.56 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.55 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.54 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.53 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.52 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.51 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.50 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.48 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.47 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.46 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.45 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.44 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.43 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.42 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.41 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.40 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.39 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.38 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.37 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.36 app/views/renalware/pd/peritonitis_episodes/_details.html.slim