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