Sha256: 0a7a8ffaac013cb58a7834effb0923abd5608a7fa4639f313545ccd04ee43df5
Contents?: true
Size: 889 Bytes
Versions: 18
Compression:
Stored size: 889 Bytes
Contents
= within_patient_layout(title: "PROMS") do = render Renalware::Surveys::EQ5DComponent.new(patient: patient) br = render Renalware::Surveys::POSSComponent.new(patient: patient) / .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
18 entries across 18 versions & 1 rubygems