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.104 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.103 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.102 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.101 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.100 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.99 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.98 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.97 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.96 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.95 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.94 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.93 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.92 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.91 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.90 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.89 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.88 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.87 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.86 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.85 app/views/renalware/letters/letters/_pathology.html.slim