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.103 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.102 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.101 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.100 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.99 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.98 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.97 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.96 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.95 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.94 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.93 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.92 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.91 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.90 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.89 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.88 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.87 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.86 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.85 app/views/renalware/patients/_header.html.slim
renalware-core-2.0.84 app/views/renalware/patients/_header.html.slim