Treatment Outcome Survey

Patient-Reported Outcomes (PROs) are essential for measuring treatment effectiveness from the patient's perspective. This comprehensive outcome survey captures baseline symptoms, post-treatment status, side effects, and overall quality of life changes. Features visual slider scales for pain and symptom severity, enabling easy before/after comparison and treatment effectiveness calculation.

Healthcare

Try the Form

Help us understand how your treatment is working. Your feedback guides your care plan.
Baseline Symptoms (Before Treatment)
Recall how you felt BEFORE starting this treatment
5/10
5 /10
010
Moderate pain
50%
50 %
0100
Current Symptoms (After Treatment)
Rate how you feel NOW, after treatment
3/10
3 /10
010
70%
70 %
0100
Your Progress
📊 Treatment Progress ────────────────────────────── 👍 Pain: 5/10 → 3/10 (+40% improvement) 👍 Function: 50% → 70% (+40% improvement)
Specific Symptoms
Much Worse Worse Same Better Much Better
Primary symptom/condition*
Energy levels
Sleep quality
Mood/emotional state
Appetite
Mobility/movement
Side Effects
 
Overall Assessment
0/5
0/5
 
Additional Comments
Treatment Outcome Summary
📈 Treatment Outcome Summary ═══════════════════════════════════ 📉 Pain: 5/10 → 3/10 📈 Function: 50% → 70% 🎯 Overall Improvement: 40%
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
export function treatmentOutcomeSurvey(form: FormTs) {
// Treatment Outcome Survey - Before/After symptom tracking
// Demonstrates: Slider x4 (before/after), MatrixQuestion, StarRating x2,
// EmojiRating, CheckboxList, RadioButton, computed values, dynamic styling
 
// ============================================
// HEADER
// ============================================
form.addRow(row => {
row.addTextPanel('header', {
label: 'Treatment Outcome Survey',
computedValue: () => 'Help us understand how your treatment is working. Your feedback guides your care plan.',
customStyles: {
background: 'linear-gradient(135deg, #0891b2 0%, #0e7490 100%)',
color: 'white',
padding: '28px',
borderRadius: '12px',
textAlign: 'center'
}
});
});
 
// ============================================
// SECTION 1: Baseline Symptoms (Before)
// ============================================
const baselineSection = form.addSubform('baselineSection', {
title: 'Baseline Symptoms (Before Treatment)',
customStyles: {
backgroundColor: '#f0f9ff',
padding: '16px',
borderRadius: '8px',
borderLeft: '4px solid #0ea5e9'
}
});
 
baselineSection.addRow(row => {
row.addTextPanel('baselineInfo', {
computedValue: () => 'Recall how you felt BEFORE starting this treatment',
customStyles: {
color: '#0369a1',
fontSize: '14px',
fontStyle: 'italic',
marginBottom: '8px'
}
});
});
 
baselineSection.addRow(row => {
row.addSlider('painBefore', {
label: 'Pain level before treatment',
min: 0,
max: 10,
step: 1,
showValue: true,
unit: '/10',
defaultValue: 5
});
});
 
baselineSection.addRow(row => {
row.addTextPanel('painBeforeLabel', {
computedValue: () => {
const val = baselineSection.slider('painBefore')?.value();
if (val === 0) return '0 = No pain';
if (val !== null && val !== undefined && val <= 3) return 'Mild discomfort';
if (val !== null && val !== undefined && val <= 6) return 'Moderate pain';
if (val !== null && val !== undefined && val <= 8) return 'Severe pain';
return 'Very severe pain';
},
customStyles: {
textAlign: 'center',
fontSize: '13px',
color: '#64748b',
marginTop: '-8px'
}
});
});
 
baselineSection.addRow(row => {
row.addSlider('functionBefore', {
label: 'Daily functioning ability before treatment',
min: 0,
max: 100,
step: 10,
showValue: true,
unit: '%',
defaultValue: 50
});
});
 
// ============================================
// SECTION 2: Current Symptoms (After)
// ============================================
const currentSection = form.addSubform('currentSection', {
title: 'Current Symptoms (After Treatment)',
customStyles: {
backgroundColor: '#f0fdf4',
padding: '16px',
borderRadius: '8px',
borderLeft: '4px solid #22c55e'
}
});
 
currentSection.addRow(row => {
row.addTextPanel('currentInfo', {
computedValue: () => 'Rate how you feel NOW, after treatment',
customStyles: {
color: '#15803d',
fontSize: '14px',
fontStyle: 'italic',
marginBottom: '8px'
}
});
});
 
currentSection.addRow(row => {
row.addSlider('painAfter', {
label: 'Current pain level',
min: 0,
max: 10,
step: 1,
showValue: true,
unit: '/10',
defaultValue: 3
});
});
 
currentSection.addRow(row => {
row.addSlider('functionAfter', {
label: 'Current daily functioning ability',
min: 0,
max: 100,
step: 10,
showValue: true,
unit: '%',
defaultValue: 70
});
});
 
// ============================================
// SECTION 3: Improvement Calculation
// ============================================
const improvementSection = form.addSubform('improvementSection', {
title: 'Your Progress'
});
 
improvementSection.addRow(row => {
row.addTextPanel('improvementCalc', {
computedValue: () => {
const painBefore = baselineSection.slider('painBefore')?.value() ?? 5;
const painAfter = currentSection.slider('painAfter')?.value() ?? 5;
const funcBefore = baselineSection.slider('functionBefore')?.value() ?? 50;
const funcAfter = currentSection.slider('functionAfter')?.value() ?? 50;
 
const painImprovement = painBefore > 0 ? Math.round(((painBefore - painAfter) / painBefore) * 100) : 0;
const funcImprovement = funcBefore > 0 ? Math.round(((funcAfter - funcBefore) / funcBefore) * 100) : 0;
 
let painEmoji = painImprovement >= 50 ? '🎉' : painImprovement >= 25 ? '👍' : painImprovement > 0 ? '📈' : '⚠️';
let funcEmoji = funcImprovement >= 50 ? '🎉' : funcImprovement >= 25 ? '👍' : funcImprovement > 0 ? '📈' : '⚠️';
 
let summary = `📊 Treatment Progress\n`;
summary += `${'─'.repeat(30)}\n\n`;
summary += `${painEmoji} Pain: ${painBefore}/10 → ${painAfter}/10 (${painImprovement > 0 ? '+' : ''}${painImprovement}% ${painImprovement >= 0 ? 'improvement' : 'change'})\n\n`;
summary += `${funcEmoji} Function: ${funcBefore}% → ${funcAfter}% (${funcImprovement > 0 ? '+' : ''}${funcImprovement}% improvement)`;
 
return summary;
},
customStyles: () => {
const painBefore = baselineSection.slider('painBefore')?.value() ?? 5;
const painAfter = currentSection.slider('painAfter')?.value() ?? 5;
const improvement = painBefore > 0 ? Math.round(((painBefore - painAfter) / painBefore) * 100) : 0;
 
const base = {
padding: '16px',
borderRadius: '8px',
whiteSpace: 'pre-wrap',
fontFamily: 'monospace',
fontSize: '14px',
textAlign: 'center'
};
 
if (improvement >= 50) return { ...base, backgroundColor: '#dcfce7', borderLeft: '4px solid #22c55e' };
if (improvement >= 25) return { ...base, backgroundColor: '#fef9c3', borderLeft: '4px solid #eab308' };
if (improvement > 0) return { ...base, backgroundColor: '#e0f2fe', borderLeft: '4px solid #0ea5e9' };
return { ...base, backgroundColor: '#fee2e2', borderLeft: '4px solid #ef4444' };
}
});
});
 
// ============================================
// SECTION 4: Symptom Details
// ============================================
const symptomsSection = form.addSubform('symptomsSection', {
title: 'Specific Symptoms'
});
 
symptomsSection.addRow(row => {
row.addMatrixQuestion('symptomChanges', {
label: 'How have these symptoms changed since treatment?',
rows: [
{ id: 'primary', label: 'Primary symptom/condition', isRequired: true },
{ id: 'energy', label: 'Energy levels' },
{ id: 'sleep', label: 'Sleep quality' },
{ id: 'mood', label: 'Mood/emotional state' },
{ id: 'appetite', label: 'Appetite' },
{ id: 'mobility', label: 'Mobility/movement' }
],
columns: [
{ id: 'much-worse', label: 'Much Worse' },
{ id: 'worse', label: 'Worse' },
{ id: 'same', label: 'Same' },
{ id: 'better', label: 'Better' },
{ id: 'much-better', label: 'Much Better' }
],
striped: true,
fullWidth: true
});
});
 
// ============================================
// SECTION 5: Side Effects
// ============================================
const sideEffectsSection = form.addSubform('sideEffectsSection', {
title: 'Side Effects'
});
 
sideEffectsSection.addRow(row => {
row.addRadioButton('hasSideEffects', {
label: 'Have you experienced any side effects from the treatment?',
options: [
{ id: 'none', name: 'No side effects' },
{ id: 'mild', name: 'Mild side effects' },
{ id: 'moderate', name: 'Moderate side effects' },
{ id: 'severe', name: 'Severe side effects' }
],
orientation: 'horizontal'
});
});
 
sideEffectsSection.addRow(row => {
row.addCheckboxList('sideEffectTypes', {
label: 'Which side effects have you experienced? (Select all that apply)',
options: [
{ id: 'nausea', name: 'Nausea/stomach upset' },
{ id: 'headache', name: 'Headache' },
{ id: 'fatigue', name: 'Fatigue/tiredness' },
{ id: 'dizziness', name: 'Dizziness' },
{ id: 'sleep-issues', name: 'Sleep disturbances' },
{ id: 'appetite', name: 'Appetite changes' },
{ id: 'skin', name: 'Skin reactions' },
{ id: 'other', name: 'Other' }
],
orientation: 'vertical',
isVisible: () => {
const val = sideEffectsSection.radioButton('hasSideEffects')?.value();
return val !== null && val !== 'none';
}
});
});
 
sideEffectsSection.addSpacer({ isVisible: () => {
const val = sideEffectsSection.radioButton('hasSideEffects')?.value();
return val !== null && val !== 'none';
}});
 
sideEffectsSection.addRow(row => {
row.addTextarea('sideEffectDetails', {
label: 'Please describe your side effects in more detail',
placeholder: 'Include severity, duration, and any patterns you\'ve noticed...',
rows: 2,
isVisible: () => {
const val = sideEffectsSection.radioButton('hasSideEffects')?.value();
return val !== null && val !== 'none';
}
});
});
 
// ============================================
// SECTION 6: Overall Assessment
// ============================================
const overallSection = form.addSubform('overallSection', {
title: 'Overall Assessment'
});
 
overallSection.addRow(row => {
row.addEmojiRating('overallWellbeing', {
label: 'How would you rate your overall wellbeing today?',
preset: 'satisfaction',
size: 'lg',
showLabels: true,
alignment: 'center'
});
});
 
overallSection.addRow(row => {
row.addStarRating('treatmentSatisfaction', {
label: 'Overall satisfaction with your treatment',
maxStars: 5,
size: 'lg',
alignment: 'center'
}, '1fr');
 
row.addStarRating('careTeamRating', {
label: 'Rating of your care team',
maxStars: 5,
size: 'lg',
alignment: 'center'
}, '1fr');
});
 
overallSection.addRow(row => {
row.addRadioButton('treatmentContinue', {
label: 'Would you like to continue with this treatment?',
options: [
{ id: 'yes-working', name: 'Yes, it\'s working well' },
{ id: 'yes-wait', name: 'Yes, but need more time to see results' },
{ id: 'unsure', name: 'Unsure, need to discuss with provider' },
{ id: 'no', name: 'No, prefer to try something different' }
],
orientation: 'vertical'
});
});
 
// ============================================
// SECTION 7: Additional Comments
// ============================================
const commentsSection = form.addSubform('commentsSection', {
title: 'Additional Comments'
});
 
commentsSection.addSpacer();
 
commentsSection.addRow(row => {
row.addTextarea('additionalComments', {
label: 'Is there anything else you\'d like your care team to know?',
placeholder: 'Share any concerns, questions, or observations about your treatment...',
rows: 3
});
});
 
// ============================================
// SUMMARY SECTION
// ============================================
const summarySection = form.addSubform('summary', {
title: 'Treatment Outcome Summary'
});
 
summarySection.addRow(row => {
row.addTextPanel('summaryContent', {
computedValue: () => {
const painBefore = baselineSection.slider('painBefore')?.value() ?? 5;
const painAfter = currentSection.slider('painAfter')?.value() ?? 5;
const funcBefore = baselineSection.slider('functionBefore')?.value() ?? 50;
const funcAfter = currentSection.slider('functionAfter')?.value() ?? 50;
const wellbeing = overallSection.emojiRating('overallWellbeing')?.value();
const satisfaction = overallSection.starRating('treatmentSatisfaction')?.value();
const continueChoice = overallSection.radioButton('treatmentContinue')?.value();
 
const painImprovement = painBefore > 0 ? Math.round(((painBefore - painAfter) / painBefore) * 100) : 0;
 
let emoji = painImprovement >= 50 ? '🎉' : painImprovement >= 25 ? '📈' : painImprovement > 0 ? '📊' : '⚠️';
 
let summary = `${emoji} Treatment Outcome Summary\n`;
summary += `${'═'.repeat(35)}\n\n`;
summary += `📉 Pain: ${painBefore}/10 → ${painAfter}/10\n`;
summary += `📈 Function: ${funcBefore}% → ${funcAfter}%\n`;
summary += `🎯 Overall Improvement: ${painImprovement}%\n`;
 
if (wellbeing) {
const wellbeingLabels: Record<string, string> = {
'very-bad': '😢 Struggling',
'bad': '😕 Not great',
'neutral': '😐 Fair',
'good': '🙂 Good',
'excellent': '😊 Excellent'
};
summary += `\n${wellbeingLabels[wellbeing] || wellbeing}`;
}
 
if (satisfaction) {
summary += `\n⭐ Satisfaction: ${satisfaction}/5`;
}
 
if (continueChoice) {
const choiceLabels: Record<string, string> = {
'yes-working': '✅ Wants to continue',
'yes-wait': '⏳ Needs more time',
'unsure': '❓ Needs discussion',
'no': '❌ Prefers alternative'
};
summary += `\n${choiceLabels[continueChoice] || ''}`;
}
 
return summary;
},
customStyles: () => {
const painBefore = baselineSection.slider('painBefore')?.value() ?? 5;
const painAfter = currentSection.slider('painAfter')?.value() ?? 5;
const improvement = painBefore > 0 ? Math.round(((painBefore - painAfter) / painBefore) * 100) : 0;
 
const base = {
padding: '16px',
borderRadius: '8px',
whiteSpace: 'pre-wrap',
fontFamily: 'monospace',
fontSize: '14px'
};
 
if (improvement >= 50) return { ...base, backgroundColor: '#dcfce7', borderLeft: '4px solid #22c55e' };
if (improvement >= 25) return { ...base, backgroundColor: '#fef9c3', borderLeft: '4px solid #eab308' };
if (improvement > 0) return { ...base, backgroundColor: '#e0f2fe', borderLeft: '4px solid #0ea5e9' };
return { ...base, backgroundColor: '#fef2f2', borderLeft: '4px solid #ef4444' };
}
});
});
 
// ============================================
// FORM CONFIGURATION
// ============================================
form.configureSubmitButton({
label: 'Submit Treatment Feedback'
});
 
form.configureCompletionScreen({
type: 'text',
title: 'Thank you for completing your treatment outcome survey!',
message: 'Your feedback helps us understand how your treatment is working and guides future care decisions. Your healthcare provider will review your responses. If you have urgent concerns, please contact your care team directly.'
});
}
 

Frequently Asked Questions

What are Patient-Reported Outcomes (PROs)?

PROs are health outcomes directly reported by patients without interpretation by healthcare providers. They capture the patient's perspective on symptoms, functioning, and quality of life - essential data for evidence-based care.

How often should I send outcome surveys?

Timing depends on the treatment type. Acute conditions may need weekly follow-ups, while chronic condition management might use monthly or quarterly surveys. Key milestones include: baseline, mid-treatment, end of treatment, and long-term follow-up.

Is this form HIPAA compliant?

The form template itself doesn't collect PHI directly. However, ensure your deployment environment is HIPAA compliant (encrypted transmission, secure storage, access controls). Consider using patient ID codes instead of names for anonymity.

Can this be used for clinical trials?

Yes, this form captures standard PRO data points used in clinical research. For formal trials, you may need to validate the specific outcome measures and ensure regulatory compliance with FDA PRO guidance.

How do I interpret the improvement scores?

The form calculates percentage improvement automatically. Generally: >50% improvement is excellent, 25-50% is good, 10-25% is moderate, and <10% may indicate need for treatment adjustment. Always interpret within clinical context.