Sha256: 47cb8995e38cd810dbeb6aaa472e459f55865dccd537edd842c513a2ca66c6d3

Contents?: true

Size: 1.86 KB

Versions: 29

Compression:

Stored size: 1.86 KB

Contents

<div class="panel panel-default cdb_panel" id="phq9-container">
  <div class="panel-heading">
    <h3 class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#phqCollapse">
        PHQ9
      </a>
      <span class="text-primary"><%= link_to "Manage", think_feel_do_engine.coach_phq_assessments_path(participant_id: @participant.id) %></span>
    </h3>
  </div>

  <div id="phqCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover generic-data-table data-table" id="phq_assessments">
          <thead>
          <tr>
            <th class="not-displayed"></th>
            <th class="not-displayed"></th>
            <th>Release Date</th>
            <th>Created Date</th>
            <th>Assessment Score</th>
            <th>Incomplete?</th>
            <th>Q1</th>
            <th>Q2</th>
            <th>Q3</th>
            <th>Q4</th>
            <th>Q5</th>
            <th>Q6</th>
            <th>Q7</th>
            <th>Q8</th>
            <th>Q9</th>
          </tr>
          </thead>
          <tbody>
          <%= render partial: "think_feel_do_engine/phq_assessments/phq_assessment", collection: @participant.phq_assessments.order(:release_date) %>
          </tbody>
        </table>
      </div>

      <p class="text-info">* Indicates an incomplete phq assessment.</p>
    </div>
  </div>
</div>

<script type="text/javascript">
  $(function() {
    return $('#phq_assessments').dataTable({
      order: [[0, 'desc']],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },{
          targets: [1],
          visible: false
        },{
          targets: [2],
          orderData: [0]
        },{
          targets: [3],
          orderData: [1]
        }
      ]
    });
  });
</script>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.20.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb
think_feel_do_engine-3.19.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_phq9_data.html.erb