Sha256: 7f4ee5bf38c2b3666885af78460eea09be471548868a2cd03ed31181a896b96c

Contents?: true

Size: 763 Bytes

Versions: 161

Compression:

Stored size: 763 Bytes

Contents

ruby:
  diff = Renalware::Pathology::ObservationsDiff.new(
    patient: letter.patient,
    observation_set_a: letter.pathology_snapshot,
    observation_set_b: letter.patient.current_observation_set&.values,
    descriptions: Renalware::Letters::RelevantObservationDescription.all
  )
- if letter.clinical?
  article.letter-pathology
    header
      h2 Pathology

    - if letter.new_record?
      = f.input :pathology_timestamp, as: :hidden
    - else
      = f.input :pathology_timestamp,
                collection: [\
                  ["Yes", Time.zone.now],
                  ["No", letter.pathology_timestamp], \
                ], \
                as: :inline_radio_buttons,
                label: "Include pathology updates below"

    = diff.to_html

Version data entries

161 entries across 161 versions & 1 rubygems

Version Path
renalware-core-2.0.84 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.83 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.82 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.81 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.80 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.79 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.78 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.77 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.76 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.75 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.74 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.73 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.72 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.71 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.70 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.69 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.68 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.67 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.64 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.63 app/views/renalware/letters/letters/_pathology.html.slim