<commit_before>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 }<commit_msg>Make header code a little more readable<commit_after>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 }
{'fraction_non_alphanumeric': 0.19787644787644787, 'fraction_numerical': 0.005791505791505791, 'mean_word_length': 5.323170731707317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2273647', 'n_tokens_mistral': 395, 'n_tokens_neox': 390, 'n_words': 54}