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.0.pre.rc4 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/pd/peritonitis_episodes/_details.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/pd/peritonitis_episodes/_details.html.slim