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.83 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.82 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.81 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.80 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.79 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.78 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.77 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.76 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.75 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.74 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.73 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.72 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.71 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.70 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.69 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.68 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.67 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.64 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.63 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.62 app/views/renalware/patients/_header.html.slim