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.62 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.61 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.60 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.58 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.57 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.56 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.55 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.54 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.53 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.52 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.51 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.50 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.48 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.47 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.46 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.45 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.44 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.43 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.42 app/views/renalware/letters/letters/_pathology.html.slim
renalware-core-2.0.41 app/views/renalware/letters/letters/_pathology.html.slim