psytools 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -5
- package/README.md +14 -4
- package/SOURCES.md +108 -3
- package/dist/cjs/inventories/cbi.d.ts +31 -0
- package/dist/cjs/inventories/cbi.js +122 -0
- package/dist/cjs/inventories/csi16.d.ts +10 -0
- package/dist/cjs/inventories/csi16.js +160 -0
- package/dist/cjs/inventories/eat26.d.ts +12 -0
- package/dist/cjs/inventories/eat26.js +111 -0
- package/dist/cjs/inventories/index.d.ts +8 -1
- package/dist/cjs/inventories/index.js +19 -1
- package/dist/cjs/inventories/pcl5.d.ts +10 -0
- package/dist/cjs/inventories/pcl5.js +124 -0
- package/dist/cjs/inventories/phq15.d.ts +10 -0
- package/dist/cjs/inventories/phq15.js +74 -0
- package/dist/cjs/inventories/ucla-ls3.d.ts +10 -0
- package/dist/cjs/inventories/ucla-ls3.js +127 -0
- package/dist/cjs/locales/de/cbi.d.ts +7 -0
- package/dist/cjs/locales/de/cbi.js +110 -0
- package/dist/cjs/locales/de/csi16.d.ts +3 -0
- package/dist/cjs/locales/de/csi16.js +61 -0
- package/dist/cjs/locales/de/eat26.d.ts +3 -0
- package/dist/cjs/locales/de/eat26.js +47 -0
- package/dist/cjs/locales/de/pcl5.d.ts +4 -0
- package/dist/cjs/locales/de/pcl5.js +48 -0
- package/dist/cjs/locales/de/phq15.d.ts +4 -0
- package/dist/cjs/locales/de/phq15.js +35 -0
- package/dist/cjs/locales/de/ucla-ls3.d.ts +4 -0
- package/dist/cjs/locales/de/ucla-ls3.js +48 -0
- package/dist/cjs/locales/es/cbi.d.ts +7 -0
- package/dist/cjs/locales/es/cbi.js +110 -0
- package/dist/cjs/locales/es/csi16.d.ts +3 -0
- package/dist/cjs/locales/es/csi16.js +68 -0
- package/dist/cjs/locales/es/eat26.d.ts +3 -0
- package/dist/cjs/locales/es/eat26.js +47 -0
- package/dist/cjs/locales/es/pcl5.d.ts +4 -0
- package/dist/cjs/locales/es/pcl5.js +48 -0
- package/dist/cjs/locales/es/phq15.d.ts +4 -0
- package/dist/cjs/locales/es/phq15.js +35 -0
- package/dist/cjs/locales/es/ucla-ls3.d.ts +4 -0
- package/dist/cjs/locales/es/ucla-ls3.js +44 -0
- package/dist/cjs/locales/index.js +36 -0
- package/dist/cjs/locales/tr/cbi.d.ts +8 -0
- package/dist/cjs/locales/tr/cbi.js +111 -0
- package/dist/cjs/locales/tr/csi16.d.ts +3 -0
- package/dist/cjs/locales/tr/csi16.js +68 -0
- package/dist/cjs/locales/tr/eat26.d.ts +3 -0
- package/dist/cjs/locales/tr/eat26.js +47 -0
- package/dist/cjs/locales/tr/pcl5.d.ts +4 -0
- package/dist/cjs/locales/tr/pcl5.js +48 -0
- package/dist/cjs/locales/tr/phq15.d.ts +4 -0
- package/dist/cjs/locales/tr/phq15.js +35 -0
- package/dist/cjs/locales/tr/ucla-ls3.d.ts +4 -0
- package/dist/cjs/locales/tr/ucla-ls3.js +44 -0
- package/dist/cjs/locales/zh/cbi.d.ts +7 -0
- package/dist/cjs/locales/zh/cbi.js +110 -0
- package/dist/cjs/locales/zh/csi16.d.ts +3 -0
- package/dist/cjs/locales/zh/csi16.js +46 -0
- package/dist/cjs/locales/zh/eat26.d.ts +3 -0
- package/dist/cjs/locales/zh/eat26.js +45 -0
- package/dist/cjs/locales/zh/pcl5.d.ts +4 -0
- package/dist/cjs/locales/zh/pcl5.js +44 -0
- package/dist/cjs/locales/zh/phq15.d.ts +4 -0
- package/dist/cjs/locales/zh/phq15.js +35 -0
- package/dist/cjs/locales/zh/ucla-ls3.d.ts +4 -0
- package/dist/cjs/locales/zh/ucla-ls3.js +34 -0
- package/dist/cjs/types.d.ts +10 -2
- package/dist/esm/inventories/cbi.d.ts +31 -0
- package/dist/esm/inventories/cbi.js +119 -0
- package/dist/esm/inventories/csi16.d.ts +10 -0
- package/dist/esm/inventories/csi16.js +157 -0
- package/dist/esm/inventories/eat26.d.ts +12 -0
- package/dist/esm/inventories/eat26.js +108 -0
- package/dist/esm/inventories/index.d.ts +8 -1
- package/dist/esm/inventories/index.js +13 -0
- package/dist/esm/inventories/pcl5.d.ts +10 -0
- package/dist/esm/inventories/pcl5.js +121 -0
- package/dist/esm/inventories/phq15.d.ts +10 -0
- package/dist/esm/inventories/phq15.js +71 -0
- package/dist/esm/inventories/ucla-ls3.d.ts +10 -0
- package/dist/esm/inventories/ucla-ls3.js +124 -0
- package/dist/esm/locales/de/cbi.d.ts +7 -0
- package/dist/esm/locales/de/cbi.js +108 -0
- package/dist/esm/locales/de/csi16.d.ts +3 -0
- package/dist/esm/locales/de/csi16.js +59 -0
- package/dist/esm/locales/de/eat26.d.ts +3 -0
- package/dist/esm/locales/de/eat26.js +45 -0
- package/dist/esm/locales/de/pcl5.d.ts +4 -0
- package/dist/esm/locales/de/pcl5.js +46 -0
- package/dist/esm/locales/de/phq15.d.ts +4 -0
- package/dist/esm/locales/de/phq15.js +33 -0
- package/dist/esm/locales/de/ucla-ls3.d.ts +4 -0
- package/dist/esm/locales/de/ucla-ls3.js +46 -0
- package/dist/esm/locales/es/cbi.d.ts +7 -0
- package/dist/esm/locales/es/cbi.js +108 -0
- package/dist/esm/locales/es/csi16.d.ts +3 -0
- package/dist/esm/locales/es/csi16.js +66 -0
- package/dist/esm/locales/es/eat26.d.ts +3 -0
- package/dist/esm/locales/es/eat26.js +45 -0
- package/dist/esm/locales/es/pcl5.d.ts +4 -0
- package/dist/esm/locales/es/pcl5.js +46 -0
- package/dist/esm/locales/es/phq15.d.ts +4 -0
- package/dist/esm/locales/es/phq15.js +33 -0
- package/dist/esm/locales/es/ucla-ls3.d.ts +4 -0
- package/dist/esm/locales/es/ucla-ls3.js +42 -0
- package/dist/esm/locales/index.js +36 -0
- package/dist/esm/locales/tr/cbi.d.ts +8 -0
- package/dist/esm/locales/tr/cbi.js +109 -0
- package/dist/esm/locales/tr/csi16.d.ts +3 -0
- package/dist/esm/locales/tr/csi16.js +66 -0
- package/dist/esm/locales/tr/eat26.d.ts +3 -0
- package/dist/esm/locales/tr/eat26.js +45 -0
- package/dist/esm/locales/tr/pcl5.d.ts +4 -0
- package/dist/esm/locales/tr/pcl5.js +46 -0
- package/dist/esm/locales/tr/phq15.d.ts +4 -0
- package/dist/esm/locales/tr/phq15.js +33 -0
- package/dist/esm/locales/tr/ucla-ls3.d.ts +4 -0
- package/dist/esm/locales/tr/ucla-ls3.js +42 -0
- package/dist/esm/locales/zh/cbi.d.ts +7 -0
- package/dist/esm/locales/zh/cbi.js +108 -0
- package/dist/esm/locales/zh/csi16.d.ts +3 -0
- package/dist/esm/locales/zh/csi16.js +44 -0
- package/dist/esm/locales/zh/eat26.d.ts +3 -0
- package/dist/esm/locales/zh/eat26.js +43 -0
- package/dist/esm/locales/zh/pcl5.d.ts +4 -0
- package/dist/esm/locales/zh/pcl5.js +42 -0
- package/dist/esm/locales/zh/phq15.d.ts +4 -0
- package/dist/esm/locales/zh/phq15.js +33 -0
- package/dist/esm/locales/zh/ucla-ls3.d.ts +4 -0
- package/dist/esm/locales/zh/ucla-ls3.js +32 -0
- package/dist/esm/types.d.ts +10 -2
- package/package.json +14 -3
- package/src/inventories/cbi.ts +131 -0
- package/src/inventories/csi16.ts +189 -0
- package/src/inventories/eat26.ts +118 -0
- package/src/inventories/index.ts +20 -1
- package/src/inventories/pcl5.ts +127 -0
- package/src/inventories/phq15.ts +77 -0
- package/src/inventories/ucla-ls3.ts +131 -0
- package/src/locales/de/cbi.ts +111 -0
- package/src/locales/de/csi16.ts +66 -0
- package/src/locales/de/eat26.ts +52 -0
- package/src/locales/de/pcl5.ts +51 -0
- package/src/locales/de/phq15.ts +38 -0
- package/src/locales/de/ucla-ls3.ts +51 -0
- package/src/locales/es/cbi.ts +111 -0
- package/src/locales/es/csi16.ts +73 -0
- package/src/locales/es/eat26.ts +52 -0
- package/src/locales/es/pcl5.ts +51 -0
- package/src/locales/es/phq15.ts +37 -0
- package/src/locales/es/ucla-ls3.ts +47 -0
- package/src/locales/index.ts +36 -0
- package/src/locales/tr/cbi.ts +112 -0
- package/src/locales/tr/csi16.ts +73 -0
- package/src/locales/tr/eat26.ts +52 -0
- package/src/locales/tr/pcl5.ts +51 -0
- package/src/locales/tr/phq15.ts +37 -0
- package/src/locales/tr/ucla-ls3.ts +46 -0
- package/src/locales/zh/cbi.ts +111 -0
- package/src/locales/zh/csi16.ts +51 -0
- package/src/locales/zh/eat26.ts +48 -0
- package/src/locales/zh/pcl5.ts +46 -0
- package/src/locales/zh/phq15.ts +36 -0
- package/src/locales/zh/ucla-ls3.ts +36 -0
- package/src/types.ts +10 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/** Descending 5–0 scale: the pole named first on the form scores highest. */
|
|
4
|
+
const descending: AssessmentOption[] = [5, 4, 3, 2, 1, 0].map((value) => ({
|
|
5
|
+
value,
|
|
6
|
+
label: { en: String(value) },
|
|
7
|
+
}));
|
|
8
|
+
|
|
9
|
+
/** Ascending 0–5 scale, for the two pairs the form prints the other way round. */
|
|
10
|
+
const ascending: AssessmentOption[] = [0, 1, 2, 3, 4, 5].map((value) => ({
|
|
11
|
+
value,
|
|
12
|
+
label: { en: String(value) },
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
const labelled = (labels: string[], values: number[]): AssessmentOption[] =>
|
|
16
|
+
labels.map((label, i) => ({ value: values[i]!, label: { en: label } }));
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* CSI-16 — Couples Satisfaction Index, 16-item version.
|
|
20
|
+
*
|
|
21
|
+
* 16 items on four different answer scales, total 0–81, higher is more
|
|
22
|
+
* satisfied; below 51.5 suggests notable dissatisfaction. Freely
|
|
23
|
+
* available for clinical and research use per the authors' own form;
|
|
24
|
+
* commercial use is not addressed either way — see SOURCES.md.
|
|
25
|
+
*/
|
|
26
|
+
export const csi16: AssessmentDefinition = {
|
|
27
|
+
id: "csi16",
|
|
28
|
+
version: "1.0.0",
|
|
29
|
+
categories: ["relationships"],
|
|
30
|
+
audience: ["adult"],
|
|
31
|
+
respondent: "self",
|
|
32
|
+
title: {
|
|
33
|
+
en: "Couples Satisfaction Index (CSI-16)",
|
|
34
|
+
},
|
|
35
|
+
description: {
|
|
36
|
+
en: "A 16-item self-report measure of relationship satisfaction, built with item response theory for precision in the dissatisfied range.",
|
|
37
|
+
},
|
|
38
|
+
instructions: {
|
|
39
|
+
en: "For each of the following items, select the answer that best describes how you feel about your relationship. Base your responses on your first impressions and immediate feelings about the item.",
|
|
40
|
+
},
|
|
41
|
+
defaultLocale: "en",
|
|
42
|
+
// Most items use the 0-5 "Not at all ... Completely" scale; the rest
|
|
43
|
+
// carry their own, so the assessment-level scale is that one.
|
|
44
|
+
options: labelled(
|
|
45
|
+
["Not at all", "A little", "Somewhat", "Mostly", "Almost Completely", "Completely"],
|
|
46
|
+
[0, 1, 2, 3, 4, 5],
|
|
47
|
+
),
|
|
48
|
+
questions: [
|
|
49
|
+
{
|
|
50
|
+
id: "csi16-1",
|
|
51
|
+
text: {
|
|
52
|
+
en: "Please indicate the degree of happiness, all things considered, of your relationship.",
|
|
53
|
+
},
|
|
54
|
+
options: labelled(
|
|
55
|
+
[
|
|
56
|
+
"Extremely Unhappy",
|
|
57
|
+
"Fairly Unhappy",
|
|
58
|
+
"A Little Unhappy",
|
|
59
|
+
"Happy",
|
|
60
|
+
"Very Happy",
|
|
61
|
+
"Extremely Happy",
|
|
62
|
+
"Perfect",
|
|
63
|
+
],
|
|
64
|
+
[0, 1, 2, 3, 4, 5, 6],
|
|
65
|
+
),
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "csi16-2",
|
|
69
|
+
text: {
|
|
70
|
+
en: "In general, how often do you think that things between you and your partner are going well?",
|
|
71
|
+
},
|
|
72
|
+
options: labelled(
|
|
73
|
+
[
|
|
74
|
+
"All the time",
|
|
75
|
+
"Most of the time",
|
|
76
|
+
"More often than not",
|
|
77
|
+
"Occasionally",
|
|
78
|
+
"Rarely",
|
|
79
|
+
"Never",
|
|
80
|
+
],
|
|
81
|
+
[5, 4, 3, 2, 1, 0],
|
|
82
|
+
),
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: "csi16-3",
|
|
86
|
+
text: { en: "Our relationship is strong" },
|
|
87
|
+
options: labelled(
|
|
88
|
+
[
|
|
89
|
+
"Not at all TRUE",
|
|
90
|
+
"A little TRUE",
|
|
91
|
+
"Somewhat TRUE",
|
|
92
|
+
"Mostly TRUE",
|
|
93
|
+
"Almost Completely TRUE",
|
|
94
|
+
"Completely TRUE",
|
|
95
|
+
],
|
|
96
|
+
[0, 1, 2, 3, 4, 5],
|
|
97
|
+
),
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: "csi16-4",
|
|
101
|
+
text: { en: "My relationship with my partner makes me happy" },
|
|
102
|
+
options: labelled(
|
|
103
|
+
[
|
|
104
|
+
"Not at all TRUE",
|
|
105
|
+
"A little TRUE",
|
|
106
|
+
"Somewhat TRUE",
|
|
107
|
+
"Mostly TRUE",
|
|
108
|
+
"Almost Completely TRUE",
|
|
109
|
+
"Completely TRUE",
|
|
110
|
+
],
|
|
111
|
+
[0, 1, 2, 3, 4, 5],
|
|
112
|
+
),
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: "csi16-5",
|
|
116
|
+
text: { en: "I have a warm and comfortable relationship with my partner" },
|
|
117
|
+
options: labelled(
|
|
118
|
+
[
|
|
119
|
+
"Not at all TRUE",
|
|
120
|
+
"A little TRUE",
|
|
121
|
+
"Somewhat TRUE",
|
|
122
|
+
"Mostly TRUE",
|
|
123
|
+
"Almost Completely TRUE",
|
|
124
|
+
"Completely TRUE",
|
|
125
|
+
],
|
|
126
|
+
[0, 1, 2, 3, 4, 5],
|
|
127
|
+
),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: "csi16-6",
|
|
131
|
+
text: { en: "I really feel like part of a team with my partner" },
|
|
132
|
+
options: labelled(
|
|
133
|
+
[
|
|
134
|
+
"Not at all TRUE",
|
|
135
|
+
"A little TRUE",
|
|
136
|
+
"Somewhat TRUE",
|
|
137
|
+
"Mostly TRUE",
|
|
138
|
+
"Almost Completely TRUE",
|
|
139
|
+
"Completely TRUE",
|
|
140
|
+
],
|
|
141
|
+
[0, 1, 2, 3, 4, 5],
|
|
142
|
+
),
|
|
143
|
+
},
|
|
144
|
+
{ id: "csi16-7", text: { en: "How rewarding is your relationship with your partner?" } },
|
|
145
|
+
{ id: "csi16-8", text: { en: "How well does your partner meet your needs?" } },
|
|
146
|
+
{
|
|
147
|
+
id: "csi16-9",
|
|
148
|
+
text: { en: "To what extent has your relationship met your original expectations?" },
|
|
149
|
+
},
|
|
150
|
+
{ id: "csi16-10", text: { en: "In general, how satisfied are you with your relationship?" } },
|
|
151
|
+
{ id: "csi16-11", text: { en: "INTERESTING — BORING" }, options: descending },
|
|
152
|
+
{ id: "csi16-12", text: { en: "BAD — GOOD" }, options: ascending },
|
|
153
|
+
{ id: "csi16-13", text: { en: "FULL — EMPTY" }, options: descending },
|
|
154
|
+
{ id: "csi16-14", text: { en: "STURDY — FRAGILE" }, options: descending },
|
|
155
|
+
{ id: "csi16-15", text: { en: "DISCOURAGING — HOPEFUL" }, options: ascending },
|
|
156
|
+
{ id: "csi16-16", text: { en: "ENJOYABLE — MISERABLE" }, options: descending },
|
|
157
|
+
],
|
|
158
|
+
scoring: {
|
|
159
|
+
kind: "sum",
|
|
160
|
+
missing: { strategy: "require-complete" },
|
|
161
|
+
bands: [
|
|
162
|
+
{
|
|
163
|
+
id: "dissatisfied",
|
|
164
|
+
min: 0,
|
|
165
|
+
max: 51,
|
|
166
|
+
label: { en: "Notable relationship dissatisfaction" },
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: "satisfied",
|
|
170
|
+
min: 52,
|
|
171
|
+
max: 81,
|
|
172
|
+
label: { en: "No notable relationship dissatisfaction" },
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
meta: {
|
|
177
|
+
reference:
|
|
178
|
+
"Funk, J. L., & Rogge, R. D. (2007). Testing the ruler with item response theory: Increasing precision of measurement for relationship satisfaction with the Couples Satisfaction Index. Journal of Family Psychology, 21(4), 572-583.",
|
|
179
|
+
license:
|
|
180
|
+
"Free with conditions — the authors state the CSI scales are freely available for use in both clinical and research settings with no additional permission necessary; commercial use is not addressed either way",
|
|
181
|
+
licenseFlag: "free-with-conditions",
|
|
182
|
+
translationProvenance:
|
|
183
|
+
"en: transcribed from the authors' own CSI-16 form, https://couples-research.com/measures/. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; published adaptations were not consulted and the texts are unverified. See SOURCES.md.",
|
|
184
|
+
scoringNote:
|
|
185
|
+
"Sum 0-81, higher is more satisfied — the opposite direction from every other bundled inventory, where a higher score means more of a problem. The authors' cutoff is 51.5, so the bundled bands split at 51/52. Four different answer scales are in play, which is why most items carry their own `options`: item 1 is a 7-point 0-6 happiness scale, item 2 runs 5 down to 0, items 3-6 are 0-5 agreement, items 7-10 are the 0-5 assessment-level scale, and items 11-16 are semantic differentials.",
|
|
186
|
+
renderingNote:
|
|
187
|
+
"Items 11-16 are semantic differentials: two opposing words with six unlabelled positions between them. The `text` carries both poles in the order the authors print them, left to right, and the six options are labelled with the position numbers as they appear on the authors' own form. The authors note that when they administer the scale they replace those numbers with blank circles or radio buttons; a renderer wanting that should draw the poles from `text` at each end of a row of six controls, keyed by option position. `instructions` carries the only instruction line printed on the form, which on paper introduces items 11-16; items 1-10 carry self-contained stems and need none.",
|
|
188
|
+
},
|
|
189
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The EAT-26's six frequency anchors. Items 1–25 score only the top three
|
|
5
|
+
* (Always 3, Usually 2, Often 1; Sometimes/Rarely/Never all 0) and item 26
|
|
6
|
+
* scores the bottom three the other way round — the instrument's own
|
|
7
|
+
* asymmetric key, not a reversal of a symmetric scale, which is why both
|
|
8
|
+
* scales are spelled out rather than expressed with `reverseScored`.
|
|
9
|
+
*/
|
|
10
|
+
const frequencyLabels = ["Always", "Usually", "Often", "Sometimes", "Rarely", "Never"];
|
|
11
|
+
|
|
12
|
+
const symptomOptions: AssessmentOption[] = [3, 2, 1, 0, 0, 0].map((value, i) => ({
|
|
13
|
+
value,
|
|
14
|
+
label: { en: frequencyLabels[i]! },
|
|
15
|
+
}));
|
|
16
|
+
|
|
17
|
+
const item26Options: AssessmentOption[] = [0, 0, 0, 1, 2, 3].map((value, i) => ({
|
|
18
|
+
value,
|
|
19
|
+
label: { en: frequencyLabels[i]! },
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* EAT-26 — Eating Attitudes Test, 26-item version.
|
|
24
|
+
*
|
|
25
|
+
* 26 items, total 0–78, referral recommended at 20 or above. psytools
|
|
26
|
+
* bundles Part B of Garner's form (the 26 scored items); the BMI section
|
|
27
|
+
* and the five behavioural questions of Parts A and C are part of his
|
|
28
|
+
* wider screening protocol, not of the EAT-26 score, and are not shipped.
|
|
29
|
+
* Free for individual use; commercial web platforms that charge user fees
|
|
30
|
+
* need a licensing agreement from the copyright holder — see SOURCES.md.
|
|
31
|
+
*/
|
|
32
|
+
export const eat26: AssessmentDefinition = {
|
|
33
|
+
id: "eat26",
|
|
34
|
+
version: "1.0.0",
|
|
35
|
+
categories: ["disordered-eating"],
|
|
36
|
+
audience: ["adolescent", "adult"],
|
|
37
|
+
respondent: "self",
|
|
38
|
+
title: {
|
|
39
|
+
en: "Eating Attitudes Test (EAT-26)",
|
|
40
|
+
},
|
|
41
|
+
description: {
|
|
42
|
+
en: "A 26-item self-report screening measure of symptoms and concerns characteristic of eating disorders.",
|
|
43
|
+
},
|
|
44
|
+
instructions: {
|
|
45
|
+
en: "This is a screening measure to help you determine whether you might have an eating disorder that needs professional attention. This screening measure is not designed to make a diagnosis of an eating disorder or take the place of a professional consultation. Please fill out the below form as accurately, honestly and completely as possible. There are no right or wrong answers. All of your responses are confidential.",
|
|
46
|
+
},
|
|
47
|
+
defaultLocale: "en",
|
|
48
|
+
options: symptomOptions,
|
|
49
|
+
questions: [
|
|
50
|
+
{ id: "eat26-1", text: { en: "Am terrified about being overweight." } },
|
|
51
|
+
{ id: "eat26-2", text: { en: "Avoid eating when I am hungry." } },
|
|
52
|
+
{ id: "eat26-3", text: { en: "Find myself preoccupied with food." } },
|
|
53
|
+
{
|
|
54
|
+
id: "eat26-4",
|
|
55
|
+
text: { en: "Have gone on eating binges where I feel that I may not be able to stop." },
|
|
56
|
+
},
|
|
57
|
+
{ id: "eat26-5", text: { en: "Cut my food into small pieces." } },
|
|
58
|
+
{ id: "eat26-6", text: { en: "Aware of the calorie content of foods that I eat." } },
|
|
59
|
+
{
|
|
60
|
+
id: "eat26-7",
|
|
61
|
+
text: {
|
|
62
|
+
en: "Particularly avoid food with a high carbohydrate content (i.e. bread, rice, potatoes, etc.)",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{ id: "eat26-8", text: { en: "Feel that others would prefer if I ate more." } },
|
|
66
|
+
{ id: "eat26-9", text: { en: "Vomit after I have eaten." } },
|
|
67
|
+
{ id: "eat26-10", text: { en: "Feel extremely guilty after eating." } },
|
|
68
|
+
{ id: "eat26-11", text: { en: "Am preoccupied with a desire to be thinner." } },
|
|
69
|
+
{ id: "eat26-12", text: { en: "Think about burning up calories when I exercise." } },
|
|
70
|
+
{ id: "eat26-13", text: { en: "Other people think that I am too thin." } },
|
|
71
|
+
{ id: "eat26-14", text: { en: "Am preoccupied with the thought of having fat on my body." } },
|
|
72
|
+
{ id: "eat26-15", text: { en: "Take longer than others to eat my meals." } },
|
|
73
|
+
{ id: "eat26-16", text: { en: "Avoid foods with sugar in them." } },
|
|
74
|
+
{ id: "eat26-17", text: { en: "Eat diet foods." } },
|
|
75
|
+
{ id: "eat26-18", text: { en: "Feel that food controls my life." } },
|
|
76
|
+
{ id: "eat26-19", text: { en: "Display self-control around food." } },
|
|
77
|
+
{ id: "eat26-20", text: { en: "Feel that others pressure me to eat." } },
|
|
78
|
+
{ id: "eat26-21", text: { en: "Give too much time and thought to food." } },
|
|
79
|
+
{ id: "eat26-22", text: { en: "Feel uncomfortable after eating sweets." } },
|
|
80
|
+
{ id: "eat26-23", text: { en: "Engage in dieting behavior." } },
|
|
81
|
+
{ id: "eat26-24", text: { en: "Like my stomach to be empty." } },
|
|
82
|
+
{ id: "eat26-25", text: { en: "Have the impulse to vomit after meals." } },
|
|
83
|
+
{ id: "eat26-26", text: { en: "Enjoy trying new rich foods." }, options: item26Options },
|
|
84
|
+
],
|
|
85
|
+
scoring: {
|
|
86
|
+
kind: "sum",
|
|
87
|
+
missing: { strategy: "prorate", minAnswered: 21 },
|
|
88
|
+
bands: [
|
|
89
|
+
{
|
|
90
|
+
id: "below-cutoff",
|
|
91
|
+
min: 0,
|
|
92
|
+
max: 19,
|
|
93
|
+
label: { en: "Below the referral cutoff" },
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: "at-or-above-cutoff",
|
|
97
|
+
min: 20,
|
|
98
|
+
max: 78,
|
|
99
|
+
label: {
|
|
100
|
+
en: "At or above the referral cutoff — evaluation by a qualified professional is recommended",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
meta: {
|
|
106
|
+
reference:
|
|
107
|
+
"Garner, D. M., Olmsted, M. P., Bohr, Y., & Garfinkel, P. E. (1982). The Eating Attitudes Test: Psychometric features and clinical correlates. Psychological Medicine, 12(4), 871-878.",
|
|
108
|
+
license:
|
|
109
|
+
"Free with conditions — free for individual use, all fees and royalties waived; commercial web platforms that charge user fees must obtain a licensing agreement from the copyright holder (David M. Garner / Eating Attitudes LLC)",
|
|
110
|
+
licenseFlag: "free-with-conditions",
|
|
111
|
+
translationProvenance:
|
|
112
|
+
"en: transcribed from the copyright holder's own EAT-26 form, https://www.eat-26.com/downloads/. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; official translations and published adaptations were not consulted and the texts are unverified. See SOURCES.md.",
|
|
113
|
+
renderingNote:
|
|
114
|
+
"Three of the six anchors on every item score the same number (0), so an option's value does not identify which anchor was chosen. Key rendered options and stored raw responses by their position in the `options` array, not by `value`, or the three zero-scoring anchors collapse into one another in the UI. The collapse is the instrument's own key, not a simplification: Garner's scoring table gives Sometimes, Rarely and Never the same 0 on items 1-25.",
|
|
115
|
+
scoringNote:
|
|
116
|
+
"Sum 0-78 on Garner's own asymmetric key: for items 1-25 Always scores 3, Usually 2, Often 1, and Sometimes/Rarely/Never all score 0; item 26 is scored the other way round (Never 3, Rarely 2, Sometimes 1, the rest 0). A score of 20 or above is Garner's referral criterion. His three subscales are documented but not scored, because the total is the referral criterion: dieting = items 1, 6, 7, 10, 11, 12, 14, 16, 17, 22, 23, 24, 26; bulimia and food preoccupation = 3, 4, 9, 18, 21, 25; oral control = 2, 5, 8, 13, 15, 19, 20. Garner's full screening protocol also refers a respondent on low age-referenced BMI or on any of five behavioural questions (bingeing, vomiting, laxative use, exercise, weight loss); those are not part of the 26-item score and are not implemented, so a score below 20 alone does not complete his referral logic.",
|
|
117
|
+
},
|
|
118
|
+
};
|
package/src/inventories/index.ts
CHANGED
|
@@ -24,9 +24,16 @@ import { miniIpip6 } from "./mini-ipip6.ts";
|
|
|
24
24
|
import { bisBas } from "./bis-bas.ts";
|
|
25
25
|
import { ipipNeo60 } from "./ipip-neo-60.ts";
|
|
26
26
|
import { ipipViaR } from "./ipip-via-r.ts";
|
|
27
|
+
import { phq15 } from "./phq15.ts";
|
|
28
|
+
import { pcl5 } from "./pcl5.ts";
|
|
29
|
+
import { eat26 } from "./eat26.ts";
|
|
30
|
+
import { csi16 } from "./csi16.ts";
|
|
31
|
+
import { uclaLs3 } from "./ucla-ls3.ts";
|
|
32
|
+
import { cbi } from "./cbi.ts";
|
|
27
33
|
|
|
28
34
|
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses };
|
|
29
35
|
export { miniIpip6, bisBas, ipipNeo60, ipipViaR };
|
|
36
|
+
export { phq15, pcl5, eat26, csi16, uclaLs3, cbi };
|
|
30
37
|
export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
|
|
31
38
|
|
|
32
39
|
/** All predefined inventory definitions shipped with psytools, by id. */
|
|
@@ -52,6 +59,12 @@ export const inventories: Readonly<Record<string, AssessmentDefinition>> = {
|
|
|
52
59
|
"bis-bas": bisBas,
|
|
53
60
|
"ipip-neo-60": ipipNeo60,
|
|
54
61
|
"ipip-via-r": ipipViaR,
|
|
62
|
+
phq15,
|
|
63
|
+
pcl5,
|
|
64
|
+
eat26,
|
|
65
|
+
csi16,
|
|
66
|
+
"ucla-ls3": uclaLs3,
|
|
67
|
+
cbi,
|
|
55
68
|
};
|
|
56
69
|
|
|
57
70
|
export type InventoryId =
|
|
@@ -75,7 +88,13 @@ export type InventoryId =
|
|
|
75
88
|
| "mini-ipip6"
|
|
76
89
|
| "bis-bas"
|
|
77
90
|
| "ipip-neo-60"
|
|
78
|
-
| "ipip-via-r"
|
|
91
|
+
| "ipip-via-r"
|
|
92
|
+
| "phq15"
|
|
93
|
+
| "pcl5"
|
|
94
|
+
| "eat26"
|
|
95
|
+
| "csi16"
|
|
96
|
+
| "ucla-ls3"
|
|
97
|
+
| "cbi";
|
|
79
98
|
|
|
80
99
|
/**
|
|
81
100
|
* Instantiates a predefined inventory as an `Assessment`.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/** The 0–4 bother scale of the PCL-5 ("in the past month"). */
|
|
4
|
+
const botherOptions: AssessmentOption[] = [
|
|
5
|
+
{ value: 0, label: { en: "Not at all" } },
|
|
6
|
+
{ value: 1, label: { en: "A little bit" } },
|
|
7
|
+
{ value: 2, label: { en: "Moderately" } },
|
|
8
|
+
{ value: 3, label: { en: "Quite a bit" } },
|
|
9
|
+
{ value: 4, label: { en: "Extremely" } },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* PCL-5 — PTSD Checklist for DSM-5, standard (past month) form.
|
|
14
|
+
*
|
|
15
|
+
* 20 items, 0–4 scale, total 0–80. Developed by staff at the VA's
|
|
16
|
+
* National Center for PTSD and in the public domain. No bands are
|
|
17
|
+
* defined: the VA publishes a cutoff *range* (31–33) it calls initial
|
|
18
|
+
* research, not a settled threshold — see `meta.scoringNote`.
|
|
19
|
+
*/
|
|
20
|
+
export const pcl5: AssessmentDefinition = {
|
|
21
|
+
id: "pcl5",
|
|
22
|
+
version: "1.0.0",
|
|
23
|
+
categories: ["post-traumatic-stress"],
|
|
24
|
+
audience: ["adult"],
|
|
25
|
+
respondent: "self",
|
|
26
|
+
title: {
|
|
27
|
+
en: "PTSD Checklist for DSM-5 (PCL-5)",
|
|
28
|
+
},
|
|
29
|
+
description: {
|
|
30
|
+
en: "A 20-item self-report measure of the DSM-5 symptoms of posttraumatic stress disorder over the past month.",
|
|
31
|
+
},
|
|
32
|
+
instructions: {
|
|
33
|
+
en: "Below is a list of problems that people sometimes have in response to a very stressful experience. Keeping your worst event in mind, please read each problem carefully and then select one of the numbers to the right to indicate how much you have been bothered by that problem in the past month.",
|
|
34
|
+
},
|
|
35
|
+
defaultLocale: "en",
|
|
36
|
+
options: botherOptions,
|
|
37
|
+
questions: [
|
|
38
|
+
{
|
|
39
|
+
id: "pcl5-1",
|
|
40
|
+
text: { en: "Repeated, disturbing, and unwanted memories of the stressful experience?" },
|
|
41
|
+
},
|
|
42
|
+
{ id: "pcl5-2", text: { en: "Repeated, disturbing dreams of the stressful experience?" } },
|
|
43
|
+
{
|
|
44
|
+
id: "pcl5-3",
|
|
45
|
+
text: {
|
|
46
|
+
en: "Suddenly feeling or acting as if the stressful experience were actually happening again (as if you were actually back there reliving it)?",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: "pcl5-4",
|
|
51
|
+
text: { en: "Feeling very upset when something reminded you of the stressful experience?" },
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "pcl5-5",
|
|
55
|
+
text: {
|
|
56
|
+
en: "Having strong physical reactions when something reminded you of the stressful experience (for example, heart pounding, trouble breathing, sweating)?",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "pcl5-6",
|
|
61
|
+
text: { en: "Avoiding memories, thoughts, or feelings related to the stressful experience?" },
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "pcl5-7",
|
|
65
|
+
text: {
|
|
66
|
+
en: "Avoiding external reminders of the stressful experience (for example, people, places, conversations, activities, objects, or situations)?",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "pcl5-8",
|
|
71
|
+
text: { en: "Trouble remembering important parts of the stressful experience?" },
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: "pcl5-9",
|
|
75
|
+
text: {
|
|
76
|
+
en: "Having strong negative beliefs about yourself, other people, or the world (for example, having thoughts such as: I am bad, there is something seriously wrong with me, no one can be trusted, the world is completely dangerous)?",
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "pcl5-10",
|
|
81
|
+
text: {
|
|
82
|
+
en: "Blaming yourself or someone else for the stressful experience or what happened after it?",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: "pcl5-11",
|
|
87
|
+
text: {
|
|
88
|
+
en: "Having strong negative feelings such as fear, horror, anger, guilt, or shame?",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
{ id: "pcl5-12", text: { en: "Loss of interest in activities that you used to enjoy?" } },
|
|
92
|
+
{ id: "pcl5-13", text: { en: "Feeling distant or cut off from other people?" } },
|
|
93
|
+
{
|
|
94
|
+
id: "pcl5-14",
|
|
95
|
+
text: {
|
|
96
|
+
en: "Trouble experiencing positive feelings (for example, being unable to feel happiness or have loving feelings for people close to you)?",
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: "pcl5-15",
|
|
101
|
+
text: { en: "Irritable behavior, angry outbursts, or acting aggressively?" },
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "pcl5-16",
|
|
105
|
+
text: { en: "Taking too many risks or doing things that could cause you harm?" },
|
|
106
|
+
},
|
|
107
|
+
{ id: "pcl5-17", text: { en: "Being “superalert” or watchful or on guard?" } },
|
|
108
|
+
{ id: "pcl5-18", text: { en: "Feeling jumpy or easily startled?" } },
|
|
109
|
+
{ id: "pcl5-19", text: { en: "Having difficulty concentrating?" } },
|
|
110
|
+
{ id: "pcl5-20", text: { en: "Trouble falling or staying asleep?" } },
|
|
111
|
+
],
|
|
112
|
+
scoring: {
|
|
113
|
+
kind: "sum",
|
|
114
|
+
missing: { strategy: "prorate", minAnswered: 16 },
|
|
115
|
+
},
|
|
116
|
+
meta: {
|
|
117
|
+
reference:
|
|
118
|
+
"Weathers, F. W., Litz, B. T., Keane, T. M., Palmieri, P. A., Marx, B. P., & Schnurr, P. P. (2013). The PTSD Checklist for DSM-5 (PCL-5) - Standard [Measurement instrument]. National Center for PTSD. Available from https://www.ptsd.va.gov/",
|
|
119
|
+
license: "Free — developed by staff at the VA's National Center for PTSD, in the public domain and not copyrighted",
|
|
120
|
+
licenseFlag: "free",
|
|
121
|
+
translationProvenance:
|
|
122
|
+
"en: transcribed from the VA's own PCL-5 Standard form PDF (version date 29 August 2023), https://www.ptsd.va.gov/professional/assessment/adult-sr/ptsd-checklist.asp. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; the VA's own Spanish version was not consulted and the texts are unverified. See SOURCES.md.",
|
|
123
|
+
timeframe: "past month",
|
|
124
|
+
scoringNote:
|
|
125
|
+
"Sum 0-80. No severity bands are defined on purpose: the VA states that \"initial research suggests that a PCL-5 cutoff score between 31-33 is indicative of probable PTSD across samples\" — a range offered as initial research, not a settled threshold, and one the VA asks users to weigh against their own setting. Encoding one number of that range as a band boundary would render a provisional finding to a user as a categorical verdict. Apply your own cutoff over `score` if your protocol names one. The VA's separate DSM-5 provisional-diagnosis rule (at least 1 item from cluster B, 1 from C, 2 from D and 2 from E, each rated 2 or higher) is not implemented; the clusters are B: items 1-5, C: items 6-7, D: items 8-14, E: items 15-20.",
|
|
126
|
+
},
|
|
127
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/** The 0–2 bother scale of the PHQ-15 ("during the last 4 weeks"). */
|
|
4
|
+
const botherOptions: AssessmentOption[] = [
|
|
5
|
+
{ value: 0, label: { en: "Not bothered at all" } },
|
|
6
|
+
{ value: 1, label: { en: "Bothered a little" } },
|
|
7
|
+
{ value: 2, label: { en: "Bothered a lot" } },
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* PHQ-15 — Patient Health Questionnaire-15 (somatic symptom severity).
|
|
12
|
+
*
|
|
13
|
+
* 15 items, 0–2 bother scale, total 0–30, recall window 4 weeks. Same
|
|
14
|
+
* Pfizer grant as the bundled PHQ-9 and GAD-7: no permission required to
|
|
15
|
+
* reproduce, translate, display or distribute. Item 4 is printed
|
|
16
|
+
* "[women only]" on the instrument, so it is `optional`.
|
|
17
|
+
*/
|
|
18
|
+
export const phq15: AssessmentDefinition = {
|
|
19
|
+
id: "phq15",
|
|
20
|
+
version: "1.0.0",
|
|
21
|
+
categories: ["somatic-symptoms"],
|
|
22
|
+
audience: ["adult"],
|
|
23
|
+
respondent: "self",
|
|
24
|
+
title: {
|
|
25
|
+
en: "Patient Health Questionnaire-15 (PHQ-15)",
|
|
26
|
+
},
|
|
27
|
+
description: {
|
|
28
|
+
en: "A 15-item self-report scale measuring the severity of common physical symptoms, used to screen for somatization and somatoform disorders.",
|
|
29
|
+
},
|
|
30
|
+
instructions: {
|
|
31
|
+
en: "During the last 4 weeks, how much have you been bothered by any of the following problems?",
|
|
32
|
+
},
|
|
33
|
+
defaultLocale: "en",
|
|
34
|
+
options: botherOptions,
|
|
35
|
+
questions: [
|
|
36
|
+
{ id: "phq15-1", text: { en: "Stomach pain" } },
|
|
37
|
+
{ id: "phq15-2", text: { en: "Back pain" } },
|
|
38
|
+
{ id: "phq15-3", text: { en: "Pain in your arms, legs, or joints (knees, hips, etc)" } },
|
|
39
|
+
{
|
|
40
|
+
id: "phq15-4",
|
|
41
|
+
text: { en: "Menstrual cramps or other problems with your periods [women only]" },
|
|
42
|
+
optional: true,
|
|
43
|
+
},
|
|
44
|
+
{ id: "phq15-5", text: { en: "Headaches" } },
|
|
45
|
+
{ id: "phq15-6", text: { en: "Chest pain" } },
|
|
46
|
+
{ id: "phq15-7", text: { en: "Dizziness" } },
|
|
47
|
+
{ id: "phq15-8", text: { en: "Fainting spells" } },
|
|
48
|
+
{ id: "phq15-9", text: { en: "Feeling your heart pound or race" } },
|
|
49
|
+
{ id: "phq15-10", text: { en: "Shortness of breath" } },
|
|
50
|
+
{ id: "phq15-11", text: { en: "Pain or problems during sexual intercourse" } },
|
|
51
|
+
{ id: "phq15-12", text: { en: "Constipation, loose bowels, or diarrhea" } },
|
|
52
|
+
{ id: "phq15-13", text: { en: "Nausea, gas, or indigestion" } },
|
|
53
|
+
{ id: "phq15-14", text: { en: "Feeling tired or having low energy" } },
|
|
54
|
+
{ id: "phq15-15", text: { en: "Trouble sleeping" } },
|
|
55
|
+
],
|
|
56
|
+
scoring: {
|
|
57
|
+
kind: "sum",
|
|
58
|
+
missing: { strategy: "ignore" },
|
|
59
|
+
bands: [
|
|
60
|
+
{ id: "minimal", min: 0, max: 4, label: { en: "Minimal somatic symptoms" } },
|
|
61
|
+
{ id: "low", min: 5, max: 9, label: { en: "Low somatic symptom severity" } },
|
|
62
|
+
{ id: "medium", min: 10, max: 14, label: { en: "Medium somatic symptom severity" } },
|
|
63
|
+
{ id: "high", min: 15, max: 30, label: { en: "High somatic symptom severity" } },
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
reference:
|
|
68
|
+
"Kroenke, K., Spitzer, R. L., & Williams, J. B. W. (2002). The PHQ-15: Validity of a new measure for evaluating the severity of somatic symptoms. Psychosomatic Medicine, 64(2), 258-266.",
|
|
69
|
+
license: "Free — no permission required to reproduce, translate, display or distribute (Pfizer educational grant)",
|
|
70
|
+
licenseFlag: "free",
|
|
71
|
+
translationProvenance:
|
|
72
|
+
"en: transcribed from the Pfizer instrument (footer: \"Copyright Pfizer Inc. No permission required to reproduce, translate, display, or distribute.\"), source instrument https://www.phqscreeners.com. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
|
|
73
|
+
timeframe: "past 4 weeks",
|
|
74
|
+
scoringNote:
|
|
75
|
+
"Sum 0-30. Item 4 is printed \"[women only]\" on the instrument and is marked optional; unanswered items contribute 0. Two of the fifteen items are shared with the PHQ-9 — item 14 (tired) is PHQ-9 item 4 and item 15 (sleep) is PHQ-9 item 3 — but on the PHQ-15's 0-2 scale, not the PHQ-9's 0-3, so answers are not interchangeable between the two inventories.",
|
|
76
|
+
},
|
|
77
|
+
};
|