<commit_before>.columns.medium-12
  article
    header
      h2 Clinic Visits
      .supplemental
        span= "#{mdm.clinic_visits.length} of #{mdm.patient.summary.clinic_visits_count}"
        span.noprint
          = link_to "View All",
                      patient_clinic_visits_path(mdm.patient),
                      class: "button secondary"

    = render "renalware/clinics/clinic_visits/table",
            clinic_visits: mdm.clinic_visits,
            patient: mdm.patient<commit_msg>Add button to create new clinic visit from MDM<commit_after>.columns.medium-12
  article
    header
      h2 Clinic Visits
      .supplemental
        span= "#{mdm.clinic_visits.length} of #{mdm.patient.summary.clinic_visits_count}"
        span.noprint
          = link_to "View All",
                      patient_clinic_visits_path(mdm.patient),
                      class: "button secondary"
          = link_to new_patient_clinic_visit_path(mdm.patient),
                    class: "button",
                    target: "_blank" do
              i.fa.fa-external-link-square-alt
              | Add

    = render "renalware/clinics/clinic_visits/table",
            clinic_visits: mdm.clinic_visits,
            patient: mdm.patient
{'fraction_non_alphanumeric': 0.08825910931174089, 'fraction_numerical': 0.004858299595141701, 'mean_word_length': 1.9219858156028369, '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': '6606465', 'n_tokens_mistral': 397, 'n_tokens_neox': 369, 'n_words': 66}