h4.patient-info
  = "#{@patient.to_s(:full_name)} - KCH: #{@patient.local_patient_id}, Age: #{@patient.age}, #{I18n.t("enums.gender.#{@patient.sex}")}, DoB: #{@patient.birth_date}, #{@patient.current_modality.blank? || @patient.current_modality.new_record? ? "No Modal" : @patient.current_modality.modality_code.name}"

nav.sub-nav-container
  dl.sub-nav role="menu"
    dt
    = render partial: "renalware/patients/patient_sub_nav", locals: { model: @patient }

h4.patient-info
  = "#{@patient.to_s(:full_name)} - "
  = "KCH: #{@patient.local_patient_id}, "
  = "Age: #{@patient.age}, "
  = "#{I18n.t("enums.gender.#{@patient.sex}")}, "
  = "DoB: #{@patient.birth_date}, "
  = "#{@patient.current_modality.blank? || @patient.current_modality.new_record? ? "No Modal" : @patient.current_modality.modality_code.name}"
nav.sub-nav-container
  dl.sub-nav role="menu"
    dt
    = render partial: "renalware/patients/patient_sub_nav", locals: { model: @patient }

Make header code a little more readable
Make header code a little more readable

airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core