<commit_before><div class="modal fade new-call" tabindex="-1" role="dialog" id="call-<%= patient.primary_phone_display %>">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-body">
        <div class="calls-layout">
          <button type="button" class="close close-terms" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          <h4 class="modal-title calls-request">Call <b><%= patient.name %></b> now:</h4>
          <br>
          <h4 class="calls-phone"><%= patient.primary_phone_display %></h4>
          <br>

          <p><%= link_to "I reached the patient", patient_calls_path(patient, call: { status: 'Reached patient'} ), method: :post, class: 'btn btn-primary', id: 'calls-btn' %></p>

          <% if patient.voicemail_preference == :no %>
            <p class='text-danger'><strong>Do not leave this patient a voicemail</strong></p>
          <% elsif patient.voicemail_preference == :yes %>
            <p class='text-success'>Voicemail OK; Okay to identify as DCAF</p>
            <p><%= link_to "I left a voicemail for the patient", patient_calls_path(patient, call: { status: "Left voicemail" } ), method: :post, remote: true, class: 'calls-response' %></p>
          <% elsif patient.voicemail_preference == :not_specified %>
            <p class='text-warning'><strong>Voicemail OK; Do not identify as DCAF</strong></p>
            <p><%= link_to "I left a voicemail for the patient", patient_calls_path(patient, call: { status: "Left voicemail" } ), method: :post, remote: true, class: 'calls-response' %></p>
          <% end %>

          <p><%= link_to "I couldn't reach the patient", patient_calls_path(patient, call: { status: "Couldn't reach patient" } ), method: :post, remote: true, class: 'calls-response' %></p>
        </div><!-- calls-layout -->
      </div><!-- /.modal-body -->
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<commit_msg>resolve merge conflicts to patient center<commit_after><div class="modal fade new-call" tabindex="-1" role="dialog" id="call-<%= patient.primary_phone_display %>">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-body">
        <div class="calls-layout">
          <button type="button" class="close close-terms" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          <h4 class="modal-title calls-request">Call <b><%= patient.name %></b> now:</h4>
          <br>

          <% if patient.other_contact.present? && patient.other_phone.present? %>
            <h4 class="modal-title calls-request calls-other-contact">
              <%= patient.other_contact %>
              <% if patient.other_contact_relationship.present? %> (<%= patient.other_contact_relationship %>) <% end %>
              is the primary contact for this patient:
            </h4>          
            <h4 class="calls-phone"><%= patient.other_phone_display %></h4>
            <h4 class="modal-title calls-request"><%= patient.name %>'s number:</h4>
          <% end %>
          <h4 class="calls-phone"><%= patient.primary_phone_display %></h4>
          <br>

          <p><%= link_to "I reached the patient", patient_calls_path(patient, call: { status: 'Reached patient'} ), method: :post, class: 'btn btn-primary', id: 'calls-btn' %></p>

          <% if patient.voicemail_preference == :no %>
            <p class='text-danger'><strong>Do not leave this patient a voicemail</strong></p>
          <% elsif patient.voicemail_preference == :yes %>
            <p class='text-success'>Voicemail OK; Okay to identify as DCAF</p>
            <p><%= link_to "I left a voicemail for the patient", patient_calls_path(patient, call: { status: "Left voicemail" } ), method: :post, remote: true, class: 'calls-response' %></p>
          <% elsif patient.voicemail_preference == :not_specified %>
            <p class='text-warning'><strong>Voicemail OK; Do not identify as DCAF</strong></p>
            <p><%= link_to "I left a voicemail for the patient", patient_calls_path(patient, call: { status: "Left voicemail" } ), method: :post, remote: true, class: 'calls-response' %></p>
          <% end %>

          <p><%= link_to "I couldn't reach the patient", patient_calls_path(patient, call: { status: "Couldn't reach patient" } ), method: :post, remote: true, class: 'calls-response' %></p>
        </div><!-- calls-layout -->
      </div><!-- /.modal-body -->
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

{'fraction_non_alphanumeric': 0.1860313315926893, 'fraction_numerical': 0.0034812880765883376, 'mean_word_length': 2.986990459670425, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, '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': '4635125', 'n_tokens_mistral': 1465, 'n_tokens_neox': 1419, 'n_words': 358}