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.1.1 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.1.0 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.167 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.166 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.165 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.164 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.163 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.162 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.161 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.160 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.159 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.158 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.157 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.156 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.155 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.153 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.152 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.151 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.149 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.148 app/views/renalware/letters/letters/_pathology.html.slim