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.99 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.98 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.97 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.96 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.95 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.94 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.93 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.92 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.91 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.90 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.89 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.88 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.87 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.86 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.85 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.84 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.83 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.82 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.81 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.80 app/views/renalware/pd/peritonitis_episodes/_details.html.slim