<commit_before><%= error_messages_for 'medical_treatment' %>
<!--[form:medical_treatments]-->

<p><b>Bat</b>
<%= @medical_problem.bat.band %></p>

<p><b>Medical Problem</b>
<%= @medical_problem.title %></p>

<p><b>Description</b>
<%= @medical_problem.description %></p>

<p><label for="medical_treatment_date_opened">Date started</label><br/>
<%= date_select 'medical_treatment', 'date_opened'  %></p>

<p><label for="medical_treatment_title">Treatment (include medications, dosages, suggested end date, etc.)</label><br/>
</p>

<%= text_field_with_auto_complete :medical_treatment, :title, {:size => 50},
  {:skip_style => true, :url => url_for(:controller => :medical_treatments, :action => :auto_complete_treatments, :escape => false),
  :method => :get, :param_name => 'search'} %>

<!--[eoform:medical_treatments]--><commit_msg>Limiting the text form to match the database limit on medical treatment titles<commit_after><%= error_messages_for 'medical_treatment' %>
<!--[form:medical_treatments]-->

<p><b>Bat</b>
<%= @medical_problem.bat.band %></p>

<p><b>Medical Problem</b>
<%= @medical_problem.title %></p>

<p><b>Description</b>
<%= @medical_problem.description %></p>

<p><label for="medical_treatment_date_opened">Date started</label><br/>
<%= date_select 'medical_treatment', 'date_opened'  %></p>

<p><label for="medical_treatment_title">Treatment (include medications, dosages, suggested end date, etc.)</label><br/>
</p>

<%= text_field_with_auto_complete :medical_treatment, :title, {:size => 45, :maxlength => 45},
  {:skip_style => true, :url => url_for(:controller => :medical_treatments, :action => :auto_complete_treatments, :escape => false),
  :method => :get, :param_name => 'search'} %>

<!--[eoform:medical_treatments]-->
{'fraction_non_alphanumeric': 0.20811892510005717, 'fraction_numerical': 0.003430531732418525, 'mean_word_length': 7.027522935779817, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 80, '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': '237723', 'n_tokens_mistral': 682, 'n_tokens_neox': 586, 'n_words': 113}