<commit_before>  <div id="container">
  <header>
    <h1>cypress</h1>
    <nav>
      <a href="account.html">account</a>
      <a href="about.html">about</a>
      <a href="feedback.html">feedback</a>
      <a href="help.html">help</a>
      <a href="logout.html">logout</a>
    </nav>
  </header>
  <div>
    <nav class="breadcrumb">
      <a href="home.html">Home</a>  &raquo;
      <a href="ctb.html">Certification Test Bed</a> &raquo;
      <span>Patient information</span>
    </nav>
    <section class="patient">
      <div>
      <img src="/images/patient_photo.png" width="100" height="130" style="position:absolute;top:0;left:0">
      <span style="margin-left:120px;position:relative;top:0"><strong><%= @patient.last %></strong>, <%= @patient.first %></span>
      <dl>
        <dt>Gender</dt><dd><%= @patient.gender %></dd>
        <dt>DOB</dt><dd><%= Time.at(@patient.birthdate).strftime('%m/%d/%Y') %></dd>
      </dl>
      </div>
      <a href="next_vendor.html" class="advance">next patient</a>
    </section>

    <section id="patient_nqf">
      <table>
        <thead>
          <tr>
            <th>NQF #</th>
            <th>N/A</th>
            <th>IP</th>
            <th>DEN</th>
            <th>NUM</th>
            <th>EX</th>
          </tr>
        </thead>
        <tbody>
          <% @results.each do |result| %>
          <tr>
            <td><%= "#{result.value.measure_id}#{result.value.sub_id}" %></td>
            <td><%= raw result_to_markup(!result.value.population?) %></td>
            <td><%= raw result_to_markup(result.value.population?) %></td>
            <td><%= raw result_to_markup(result.value.denominator?) %></td>
            <td><%= raw result_to_markup(result.value.numerator?) %></td>
            <td><%= raw result_to_markup(result.value.exclusions?) %></td>
          </tr>
          <% end %>
        </tbody>
      </table>
    </section>
    <section id="patient_characteristics">
      <table>
        <tbody>
          <tr>
            <th colspan="6">Patient Characteristics</th>
          </tr>
          <tr>
            <td>tobacco user
            <td><strong>NO</strong>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <th colspan="6">Care Goal</th>
          </tr>
          <tr>
            <td>V65.3
            <td>follow up BMI management plan
            <td>
            <td>
            <td>
            <td><time datetime="2010-12-23">12/23/2010</time>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <th colspan="6">Physical Exam Findings
          </tr>
          <tr>
            <td>22517007
            <td>BMI
            <td>
            <td><strong>28</strong>
            <td>
            <td><time datetime="2010-12-23">12/23/2010
          </tr>
          <tr>
            <td>364075005
            <td>heart rate
            <td>
            <td><strong>72</strong>
            <td>bpm
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">86</span>
            <td><span class="na">bpm</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>   
          <tr>
            <td>12929001
            <td>systolic bp
            <td>
            <td><strong>134</strong>
            <td>mmHg
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">119</span>
            <td><span class="na">mmHg</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>   
          <tr>
            <td>163031004
            <td>diastolic bp
            <td>
            <td><strong>86</strong>
            <td>mmHg
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">75</span>
            <td><span class="na">mmHg</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Laboratory test
        </tr>
        <tr>
          <td>12773-8
          <td>LDL cholesterol
          <td>
          <td><strong>140</strong>
          <td>mg/dL
          <td><time datetime="2010-12-23">12/23/2010
        </tr>
        </tbody>
        <tbody>
        <tr>
          <td>
          <td>
          <td>
          <td><span class="na">155</span>
          <td><span class="na">mmHg</span>
          <td><time datetime="2010-08-03" class="na">08/03/2010
        </tr>
        <tr>
          <th colspan="6">Diagnostic study</th>
        </tr>
        <tr>
          <td>78300
          <td>bone scan
          <td>
          <td>
          <td>
          <td><time datetime="2001-06-02">06/02/2001</time>
        </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Communication</th>
        </tr>
        <tr>
          <td>103699006
          <td>dietary consultation
          <td>
          <td>
          <td>
          <td><time datetime="2010-12-23">12/23/2010
        </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Encounters</th>
        </tr>
        <% @patient.encounters.each do |encounter| -%>
        <tr>
          <td><%= code_display(encounter.codes)%></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td><time><%= encounter.time %></time></td>
        </tr>
        <% end -%>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Diagnosis</th>
        </tr>
        <tr>
          <td>410.0
          <td>hypertension
          <td>
          <td>
          <td>
          <td><time datetime="2008-05-06">05/06/2008
        </tr>
        <tr>
          <td>A_c118
          <td><span class="na">myocardial infarction</span> <span class="status">Resolved</span>
          <td>
          <td>
          <td>
          <td><time datetime="209-02-18">02/18/2009<commit_msg>Using the new helper to display the date in human readable format<commit_after>  <div id="container">
  <header>
    <h1>cypress</h1>
    <nav>
      <a href="account.html">account</a>
      <a href="about.html">about</a>
      <a href="feedback.html">feedback</a>
      <a href="help.html">help</a>
      <a href="logout.html">logout</a>
    </nav>
  </header>
  <div>
    <nav class="breadcrumb">
      <a href="home.html">Home</a>  &raquo;
      <a href="ctb.html">Certification Test Bed</a> &raquo;
      <span>Patient information</span>
    </nav>
    <section class="patient">
      <div>
      <img src="/images/patient_photo.png" width="100" height="130" style="position:absolute;top:0;left:0">
      <span style="margin-left:120px;position:relative;top:0"><strong><%= @patient.last %></strong>, <%= @patient.first %></span>
      <dl>
        <dt>Gender</dt><dd><%= @patient.gender %></dd>
        <dt>DOB</dt><dd><%= display_time(@patient.birthdate) %></dd>
      </dl>
      </div>
      <a href="next_vendor.html" class="advance">next patient</a>
    </section>

    <section id="patient_nqf">
      <table>
        <thead>
          <tr>
            <th>NQF #</th>
            <th>N/A</th>
            <th>IP</th>
            <th>DEN</th>
            <th>NUM</th>
            <th>EX</th>
          </tr>
        </thead>
        <tbody>
          <% @results.each do |result| %>
          <tr>
            <td><%= "#{result.value.measure_id}#{result.value.sub_id}" %></td>
            <td><%= raw result_to_markup(!result.value.population?) %></td>
            <td><%= raw result_to_markup(result.value.population?) %></td>
            <td><%= raw result_to_markup(result.value.denominator?) %></td>
            <td><%= raw result_to_markup(result.value.numerator?) %></td>
            <td><%= raw result_to_markup(result.value.exclusions?) %></td>
          </tr>
          <% end %>
        </tbody>
      </table>
    </section>
    <section id="patient_characteristics">
      <table>
        <tbody>
          <tr>
            <th colspan="6">Patient Characteristics</th>
          </tr>
          <tr>
            <td>tobacco user
            <td><strong>NO</strong>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <th colspan="6">Care Goal</th>
          </tr>
          <tr>
            <td>V65.3
            <td>follow up BMI management plan
            <td>
            <td>
            <td>
            <td><time datetime="2010-12-23">12/23/2010</time>
          </tr>
        </tbody>
        <tbody>
          <tr>
            <th colspan="6">Physical Exam Findings
          </tr>
          <tr>
            <td>22517007
            <td>BMI
            <td>
            <td><strong>28</strong>
            <td>
            <td><time datetime="2010-12-23">12/23/2010
          </tr>
          <tr>
            <td>364075005
            <td>heart rate
            <td>
            <td><strong>72</strong>
            <td>bpm
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">86</span>
            <td><span class="na">bpm</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>   
          <tr>
            <td>12929001
            <td>systolic bp
            <td>
            <td><strong>134</strong>
            <td>mmHg
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">119</span>
            <td><span class="na">mmHg</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>   
          <tr>
            <td>163031004
            <td>diastolic bp
            <td>
            <td><strong>86</strong>
            <td>mmHg
            <td><time datetime="2010-12-23">12/23/2010
          </tr>   
          <tr>
            <td>
            <td>
            <td>
            <td><span class="na">75</span>
            <td><span class="na">mmHg</span>
            <td><time datetime="2010-08-03" class="na">08/03/2010
          </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Laboratory test
        </tr>
        <tr>
          <td>12773-8
          <td>LDL cholesterol
          <td>
          <td><strong>140</strong>
          <td>mg/dL
          <td><time datetime="2010-12-23">12/23/2010
        </tr>
        </tbody>
        <tbody>
        <tr>
          <td>
          <td>
          <td>
          <td><span class="na">155</span>
          <td><span class="na">mmHg</span>
          <td><time datetime="2010-08-03" class="na">08/03/2010
        </tr>
        <tr>
          <th colspan="6">Diagnostic study</th>
        </tr>
        <tr>
          <td>78300
          <td>bone scan
          <td>
          <td>
          <td>
          <td><time datetime="2001-06-02">06/02/2001</time>
        </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Communication</th>
        </tr>
        <tr>
          <td>103699006
          <td>dietary consultation
          <td>
          <td>
          <td>
          <td><time datetime="2010-12-23">12/23/2010
        </tr>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Encounters</th>
        </tr>
        <% @patient.encounters.each do |encounter| -%>
        <tr>
          <td><%= code_display(encounter.codes)%></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td><time><%= display_time(encounter.time) %></time></td>
        </tr>
        <% end -%>
        </tbody>
        <tbody>
        <tr>
          <th colspan="6">Diagnosis</th>
        </tr>
        <tr>
          <td>410.0
          <td>hypertension
          <td>
          <td>
          <td>
          <td><time datetime="2008-05-06">05/06/2008
        </tr>
        <tr>
          <td>A_c118
          <td><span class="na">myocardial infarction</span> <span class="status">Resolved</span>
          <td>
          <td>
          <td>
          <td><time datetime="209-02-18">02/18/2009
{'fraction_non_alphanumeric': 0.1814724919093851, 'fraction_numerical': 0.053559870550161814, 'mean_word_length': 1.3419856006062902, 'pattern_counts': {'":': 0, '<': 653, '<?xml version=': 0, '>': 653, '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': '1533916', 'n_tokens_mistral': 4640, 'n_tokens_neox': 4105, 'n_words': 678}