Sha256: b81b09531bf9fd741591febb3c3b66ca4c8d1c21bc697eb725a7406e3e94779a

Contents?: true

Size: 903 Bytes

Versions: 25

Compression:

Stored size: 903 Bytes

Contents

= within_patient_layout(title: "PROMS") do

  = render Renalware::Surveys::EQ5DSummaryPart.new(patient, current_user)
  br
  = render Renalware::Surveys::POSSSummaryPart.new(patient, current_user)

  / .summary-part--eq5d
  /   article
  /     header
  /       h2 EQ5D


  /   / b Example WIP for charting one question over time
  /   / = line_chart(eq5d_summary_part.data_for_question_code(1), curve: false)
  /   / br
  /   / br
  /   / br

  /   / - return if eq5d_summary_part.rows.blank?

  /   .xsss
  /     table
  /       thead
  /         tr
  /           th Date
  /           - eq5d_responses.question_labels.each do |code, label|
  /             th= label
  /       tbody
  /         - eq5d_responses.rows.each do |row|
  /           tr
  /             td= row.answered_on
  /             - eq5d_summary_part.question_labels.each do |code, label|
  /               td= row.send(code.to_sym)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
renalware-core-2.0.149 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.148 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.147 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.146 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.145 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.144 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.143 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.142 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.141 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.140 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.139 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.138 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.137 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.136 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.135 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.134 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.133 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.132 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.131 app/views/renalware/surveys/dashboards/show.html.slim
renalware-core-2.0.130 app/views/renalware/surveys/dashboards/show.html.slim