Sha256: b69d755bb23c110dbfd34ac3da8e695dbb2e2ad35ee638188a5b7211199ee852

Contents?: true

Size: 1.42 KB

Versions: 45

Compression:

Stored size: 1.42 KB

Contents

tr(class="#{'dna' if clinic_visit.did_not_attend?}")
  td
    - if policy(clinic_visit).edit?
      = link_to "Edit",
                edit_patient_clinic_visit_path(patient, clinic_visit)
      = pipe_separator
    = link_to("Toggle",
              "#clinic_visit-quick-preview-#{clinic_visit.id}",
              data: { behaviour: "toggler" })
    = pipe_separator
    - if policy(clinic_visit).destroy?
      = link_to "Delete",
                patient_clinic_visit_path(patient, clinic_visit),
                method: :delete,
                data: { confirm: I18n.t("prompts.confirm_delete") }
      = pipe_separator
    = link_to_clinic_visit_letter(patient, clinic_visit)
  td.date-time= l(clinic_visit.date)
  td= yes_no(clinic_visit.did_not_attend)
  td.clinic-type= clinic_visit.clinic
  td.bmi= clinic_visit.height
  td.bmi= clinic_visit.weight
  td.bmi= clinic_visit.bmi
  td.bp= clinic_visit.bp
  td.bp= clinic_visit.standing_bp
  td.bp= clinic_visit.pulse
  td.bp= clinic_visit.temperature
  td= clinic_visit.urine_blood&.text
  td= clinic_visit.urine_protein&.text
  td.created-by= clinic_visit.created_by
= content_tag(:tr, id: "clinic_visit-quick-preview-#{clinic_visit.id}", style: "display: none")
  td(colspan=14)
    .quick-preview
      = definition_list_for(clinic_visit, size: :large) do |list|
        = list.definition(:notes){ |value| simple_format(value) }
        = list.definition(:admin_notes){ |value| simple_format(value) }

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
renalware-core-2.0.123 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.121 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.120 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.119 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.118 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.117 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.116 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.115 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.113 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.112 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.111 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.110 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.109 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.108 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.106 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.105 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.104 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.103 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.102 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.101 app/views/renalware/clinics/clinic_visits/_table_row.html.slim