<commit_before><% content_for(:title, "Search for Patients") %>

<ul class="nav nav-pills">
  <li class="active"><a href="#simple-search" data-toggle="tab">Simple Search</a></li>
  <li><a href="#advanced-search" data-toggle="tab">Advanced Search</a></li>
</ul>

<div class="tab-content margin-top">
  <div class="tab-pane active" id="simple-search">
    <%= form_for :search, :html => {id: "search_form", method: :get, class: "form-inline", onsubmit: "search_by($('#search_form').serialize()); return false;"} do |f| %>
    <div class="form-group">
      <input name="search" class="search form-control" type="text" size="30" />
      <%= submit_tag "Search", :class => "btn btn-primary" %>
      <input name="search_type" type="hidden" value="simple" />
    </div>
    <br />
    <label for="search">Search by patient name, medical record number, or RSNA ID</label>
    <% end %>
  </div>

  <div class="tab-pane" id="advanced-search">

    <%= form_for :search, :html => {id: "advanced_search_form", method: :get, class: "form-inline", onsubmit: "search_by($('#advanced_search_form').serialize()); return false;"} do %>
    <div class="form-group">
      <label class="control-label">MRN
	<input class="form-control" name="mrn" type="text" />
      </label>
    </div>

    <div class="form-group">
      <label class="control-label">Patient Name
	<input class="form-control" name="patient_name" type="text" />
      </label><commit_msg>Remove old reference to RSNA ID from search box label text<commit_after><% content_for(:title, "Search for Patients") %>

<ul class="nav nav-pills">
  <li class="active"><a href="#simple-search" data-toggle="tab">Simple Search</a></li>
  <li><a href="#advanced-search" data-toggle="tab">Advanced Search</a></li>
</ul>

<div class="tab-content margin-top">
  <div class="tab-pane active" id="simple-search">
    <%= form_for :search, :html => {id: "search_form", method: :get, class: "form-inline", onsubmit: "search_by($('#search_form').serialize()); return false;"} do |f| %>
    <div class="form-group">
      <input name="search" class="search form-control" type="text" size="30" />
      <%= submit_tag "Search", :class => "btn btn-primary" %>
      <input name="search_type" type="hidden" value="simple" />
    </div>
    <br />
    <label for="search">Search by patient name or medical record number</label>
    <% end %>
  </div>

  <div class="tab-pane" id="advanced-search">

    <%= form_for :search, :html => {id: "advanced_search_form", method: :get, class: "form-inline", onsubmit: "search_by($('#advanced_search_form').serialize()); return false;"} do %>
    <div class="form-group">
      <label class="control-label">MRN
	<input class="form-control" name="mrn" type="text" />
      </label>
    </div>

    <div class="form-group">
      <label class="control-label">Patient Name
	<input class="form-control" name="patient_name" type="text" />
      </label>
{'fraction_non_alphanumeric': 0.20665980089255062, 'fraction_numerical': 0.0013731548232063166, 'mean_word_length': 4.426443202979516, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 79, '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': '5879145', 'n_tokens_mistral': 988, 'n_tokens_neox': 945, 'n_words': 225}