Sha256: 7912d8f6ca311c68fac023ebb31f108f90840037e604c3896fa7e8346b075bb4

Contents?: true

Size: 1.16 KB

Versions: 93

Compression:

Stored size: 1.16 KB

Contents

- back_path ||= nil
- patient = Renalware::Patients::BannerPresenter.new(patient)

.header.patient-header
  / If screen-is-mobile-size is visible then we collapse the patient LH nav
  / (A media query rule hides and shows it, and some js looks for its visibility
  / when the browser is resized)
  #screen-is-mobile-size
  dl.full-screenable
    - if back_path
      dt
      dd.back-link
        = link_to back_path do
          i.fas.fa-arrow-left
          |  Back
    dd.name.patient-menu-toggler
      a
        i.fas.fa-ellipsis-v
        = patient
    - if patient.hospital_identifiers.all.count > 1
      - patient.hospital_identifiers.all.each do |hospital_identifier|
        dl.hospital_no
          dt= hospital_identifier[0]
          dd.selectable.clipboardable= hospital_identifier[1]
    - else
      dt= patient.hospital_identifier.name
      dd.selectable.clipboardable= patient.hospital_identifier.id
    dt= t(".nhs_number")
    dd.selectable.clipboardable= formatted_nhs_number(patient)
    dt= t(".sex")
    dd= patient.sex
    dt= t(".born_on")
    dd= "#{l(patient.born_on)} (#{patient.age}y)"
    dt= t(".modality")
    dd= patient.current_modality_description

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
renalware-core-2.0.146 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.145 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.144 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.143 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.142 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.141 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.140 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.139 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.138 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.137 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.136 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.135 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.134 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.133 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.132 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.131 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.130 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.129 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.128 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.127 app/views/renalware/patients/_header.html.slim