psytools 0.6.2 → 0.6.4
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 +24 -7
- package/SOURCES.md +165 -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/gds15.d.ts +11 -0
- package/dist/cjs/inventories/gds15.js +81 -0
- package/dist/cjs/inventories/index.d.ts +14 -1
- package/dist/cjs/inventories/index.js +34 -1
- package/dist/cjs/inventories/pc-ptsd-5.d.ts +12 -0
- package/dist/cjs/inventories/pc-ptsd-5.js +91 -0
- 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/phq4.d.ts +11 -0
- package/dist/cjs/inventories/phq4.js +73 -0
- package/dist/cjs/inventories/phq8.d.ts +11 -0
- package/dist/cjs/inventories/phq8.js +71 -0
- package/dist/cjs/inventories/tipi.d.ts +10 -0
- package/dist/cjs/inventories/tipi.js +70 -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/gds15.d.ts +4 -0
- package/dist/cjs/locales/de/gds15.js +34 -0
- package/dist/cjs/locales/de/pc-ptsd-5.d.ts +4 -0
- package/dist/cjs/locales/de/pc-ptsd-5.js +32 -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/phq4.d.ts +4 -0
- package/dist/cjs/locales/de/phq4.js +35 -0
- package/dist/cjs/locales/de/phq8.d.ts +4 -0
- package/dist/cjs/locales/de/phq8.js +35 -0
- package/dist/cjs/locales/de/tipi.d.ts +4 -0
- package/dist/cjs/locales/de/tipi.js +39 -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/gds15.d.ts +4 -0
- package/dist/cjs/locales/es/gds15.js +34 -0
- package/dist/cjs/locales/es/pc-ptsd-5.d.ts +4 -0
- package/dist/cjs/locales/es/pc-ptsd-5.js +32 -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/phq4.d.ts +4 -0
- package/dist/cjs/locales/es/phq4.js +35 -0
- package/dist/cjs/locales/es/phq8.d.ts +4 -0
- package/dist/cjs/locales/es/phq8.js +35 -0
- package/dist/cjs/locales/es/tipi.d.ts +4 -0
- package/dist/cjs/locales/es/tipi.js +39 -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 +66 -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/gds15.d.ts +4 -0
- package/dist/cjs/locales/tr/gds15.js +34 -0
- package/dist/cjs/locales/tr/pc-ptsd-5.d.ts +4 -0
- package/dist/cjs/locales/tr/pc-ptsd-5.js +32 -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/phq4.d.ts +4 -0
- package/dist/cjs/locales/tr/phq4.js +35 -0
- package/dist/cjs/locales/tr/phq8.d.ts +4 -0
- package/dist/cjs/locales/tr/phq8.js +33 -0
- package/dist/cjs/locales/tr/tipi.d.ts +4 -0
- package/dist/cjs/locales/tr/tipi.js +39 -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/gds15.d.ts +4 -0
- package/dist/cjs/locales/zh/gds15.js +34 -0
- package/dist/cjs/locales/zh/pc-ptsd-5.d.ts +4 -0
- package/dist/cjs/locales/zh/pc-ptsd-5.js +32 -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/phq4.d.ts +4 -0
- package/dist/cjs/locales/zh/phq4.js +35 -0
- package/dist/cjs/locales/zh/phq8.d.ts +4 -0
- package/dist/cjs/locales/zh/phq8.js +31 -0
- package/dist/cjs/locales/zh/tipi.d.ts +4 -0
- package/dist/cjs/locales/zh/tipi.js +31 -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/gds15.d.ts +11 -0
- package/dist/esm/inventories/gds15.js +78 -0
- package/dist/esm/inventories/index.d.ts +14 -1
- package/dist/esm/inventories/index.js +24 -0
- package/dist/esm/inventories/pc-ptsd-5.d.ts +12 -0
- package/dist/esm/inventories/pc-ptsd-5.js +88 -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/phq4.d.ts +11 -0
- package/dist/esm/inventories/phq4.js +70 -0
- package/dist/esm/inventories/phq8.d.ts +11 -0
- package/dist/esm/inventories/phq8.js +68 -0
- package/dist/esm/inventories/tipi.d.ts +10 -0
- package/dist/esm/inventories/tipi.js +67 -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/gds15.d.ts +4 -0
- package/dist/esm/locales/de/gds15.js +32 -0
- package/dist/esm/locales/de/pc-ptsd-5.d.ts +4 -0
- package/dist/esm/locales/de/pc-ptsd-5.js +30 -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/phq4.d.ts +4 -0
- package/dist/esm/locales/de/phq4.js +33 -0
- package/dist/esm/locales/de/phq8.d.ts +4 -0
- package/dist/esm/locales/de/phq8.js +33 -0
- package/dist/esm/locales/de/tipi.d.ts +4 -0
- package/dist/esm/locales/de/tipi.js +37 -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/gds15.d.ts +4 -0
- package/dist/esm/locales/es/gds15.js +32 -0
- package/dist/esm/locales/es/pc-ptsd-5.d.ts +4 -0
- package/dist/esm/locales/es/pc-ptsd-5.js +30 -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/phq4.d.ts +4 -0
- package/dist/esm/locales/es/phq4.js +33 -0
- package/dist/esm/locales/es/phq8.d.ts +4 -0
- package/dist/esm/locales/es/phq8.js +33 -0
- package/dist/esm/locales/es/tipi.d.ts +4 -0
- package/dist/esm/locales/es/tipi.js +37 -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 +66 -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/gds15.d.ts +4 -0
- package/dist/esm/locales/tr/gds15.js +32 -0
- package/dist/esm/locales/tr/pc-ptsd-5.d.ts +4 -0
- package/dist/esm/locales/tr/pc-ptsd-5.js +30 -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/phq4.d.ts +4 -0
- package/dist/esm/locales/tr/phq4.js +33 -0
- package/dist/esm/locales/tr/phq8.d.ts +4 -0
- package/dist/esm/locales/tr/phq8.js +31 -0
- package/dist/esm/locales/tr/tipi.d.ts +4 -0
- package/dist/esm/locales/tr/tipi.js +37 -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/gds15.d.ts +4 -0
- package/dist/esm/locales/zh/gds15.js +32 -0
- package/dist/esm/locales/zh/pc-ptsd-5.d.ts +4 -0
- package/dist/esm/locales/zh/pc-ptsd-5.js +30 -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/phq4.d.ts +4 -0
- package/dist/esm/locales/zh/phq4.js +33 -0
- package/dist/esm/locales/zh/phq8.d.ts +4 -0
- package/dist/esm/locales/zh/phq8.js +29 -0
- package/dist/esm/locales/zh/tipi.d.ts +4 -0
- package/dist/esm/locales/zh/tipi.js +29 -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 +22 -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/gds15.ts +87 -0
- package/src/inventories/index.ts +36 -1
- package/src/inventories/pc-ptsd-5.ts +96 -0
- package/src/inventories/pcl5.ts +127 -0
- package/src/inventories/phq15.ts +77 -0
- package/src/inventories/phq4.ts +76 -0
- package/src/inventories/phq8.ts +73 -0
- package/src/inventories/tipi.ts +74 -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/gds15.ts +35 -0
- package/src/locales/de/pc-ptsd-5.ts +35 -0
- package/src/locales/de/pcl5.ts +51 -0
- package/src/locales/de/phq15.ts +38 -0
- package/src/locales/de/phq4.ts +37 -0
- package/src/locales/de/phq8.ts +37 -0
- package/src/locales/de/tipi.ts +42 -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/gds15.ts +35 -0
- package/src/locales/es/pc-ptsd-5.ts +35 -0
- package/src/locales/es/pcl5.ts +51 -0
- package/src/locales/es/phq15.ts +37 -0
- package/src/locales/es/phq4.ts +37 -0
- package/src/locales/es/phq8.ts +38 -0
- package/src/locales/es/tipi.ts +42 -0
- package/src/locales/es/ucla-ls3.ts +47 -0
- package/src/locales/index.ts +66 -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/gds15.ts +35 -0
- package/src/locales/tr/pc-ptsd-5.ts +35 -0
- package/src/locales/tr/pcl5.ts +51 -0
- package/src/locales/tr/phq15.ts +37 -0
- package/src/locales/tr/phq4.ts +37 -0
- package/src/locales/tr/phq8.ts +35 -0
- package/src/locales/tr/tipi.ts +42 -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/gds15.ts +35 -0
- package/src/locales/zh/pc-ptsd-5.ts +35 -0
- package/src/locales/zh/pcl5.ts +46 -0
- package/src/locales/zh/phq15.ts +36 -0
- package/src/locales/zh/phq4.ts +36 -0
- package/src/locales/zh/phq8.ts +32 -0
- package/src/locales/zh/tipi.ts +33 -0
- package/src/locales/zh/ucla-ls3.ts +36 -0
- package/src/types.ts +10 -1
package/dist/esm/types.d.ts
CHANGED
|
@@ -137,11 +137,19 @@ export type ScoringDefinition = SumScoring | SubscaleScoring | CountScoring;
|
|
|
137
137
|
* instrument measures. `AssessmentDefinition.categories` accepts any
|
|
138
138
|
* string, so custom assessments are free to define their own taxonomy.
|
|
139
139
|
*/
|
|
140
|
-
export type InventoryCategory = "depression" | "anxiety" | "stress" | "well-being" | "adhd" | "autism" | "substance-use" | "personality" | "attachment" | "relationships" | "emotion-regulation" | "sensory-processing" | "distress" | "self-esteem"
|
|
140
|
+
export type InventoryCategory = "depression" | "anxiety" | "stress" | "well-being" | "adhd" | "autism" | "substance-use" | "personality" | "attachment" | "relationships" | "emotion-regulation" | "sensory-processing" | "distress" | "self-esteem" | "burnout"
|
|
141
141
|
/** Approach and avoidance motivation — what drives a person towards reward or away from punishment. */
|
|
142
142
|
| "motivation"
|
|
143
143
|
/** Positively valued traits of character, such as gratitude, curiosity, or perseverance. */
|
|
144
|
-
| "character-strengths"
|
|
144
|
+
| "character-strengths"
|
|
145
|
+
/** Intrusion, avoidance, negative alterations in cognition and mood, and arousal following a traumatic event. */
|
|
146
|
+
| "post-traumatic-stress"
|
|
147
|
+
/** Burden of bodily complaints — pain, fatigue, gastrointestinal and cardiopulmonary symptoms. */
|
|
148
|
+
| "somatic-symptoms"
|
|
149
|
+
/** Attitudes and behaviours around eating, body weight and shape that characterize eating disorders. */
|
|
150
|
+
| "disordered-eating"
|
|
151
|
+
/** The subjective experience of lacking companionship and social connection. */
|
|
152
|
+
| "loneliness";
|
|
145
153
|
/**
|
|
146
154
|
* Age bands used by the bundled inventories to say who an instrument is
|
|
147
155
|
* *about*. `AssessmentDefinition.audience` accepts any string, so custom
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psytools",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "Zero-dependency toolkit for psychological assessments: data models, response validation, scoring, and predefined inventories (PHQ-9, GAD-7, DASS-21, WHO-5, ASRS, AQ-10, AUDIT, Mini-IPIP, Mini-IPIP6, CES-D, ECR-R, ERQ, HSPS, SWLS, Flourishing, K10, K6, RSES, IPIP BIS/BAS, IPIP-NEO-60, IPIP-VIA-R) in multiple languages.",
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"description": "Zero-dependency toolkit for psychological assessments: data models, response validation, scoring, and predefined inventories (PHQ-9, PHQ-15, GAD-7, DASS-21, WHO-5, ASRS, AQ-10, AUDIT, Mini-IPIP, Mini-IPIP6, CES-D, ECR-R, ERQ, HSPS, SWLS, Flourishing, K10, K6, RSES, IPIP BIS/BAS, IPIP-NEO-60, IPIP-VIA-R, PCL-5, EAT-26, CSI-16, UCLA Loneliness Scale, CBI, PC-PTSD-5, PHQ-4, PHQ-8, GDS-15, TIPI) in multiple languages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"psychology",
|
|
7
7
|
"assessment",
|
|
@@ -47,7 +47,26 @@
|
|
|
47
47
|
"mental-health",
|
|
48
48
|
"therapy",
|
|
49
49
|
"screening",
|
|
50
|
-
"likert"
|
|
50
|
+
"likert",
|
|
51
|
+
"phq-15",
|
|
52
|
+
"somatic-symptoms",
|
|
53
|
+
"pcl-5",
|
|
54
|
+
"ptsd",
|
|
55
|
+
"trauma",
|
|
56
|
+
"eat-26",
|
|
57
|
+
"eating-disorders",
|
|
58
|
+
"csi-16",
|
|
59
|
+
"relationship-satisfaction",
|
|
60
|
+
"ucla-loneliness-scale",
|
|
61
|
+
"loneliness",
|
|
62
|
+
"cbi",
|
|
63
|
+
"burnout",
|
|
64
|
+
"pc-ptsd-5",
|
|
65
|
+
"phq-4",
|
|
66
|
+
"phq-8",
|
|
67
|
+
"gds-15",
|
|
68
|
+
"geriatric-depression",
|
|
69
|
+
"tipi"
|
|
51
70
|
],
|
|
52
71
|
"license": "SEE LICENSE IN LICENSE",
|
|
53
72
|
"author": "Samed Kahyaoglu <samed@luckys.dev>",
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/** Always ... Never/almost never, scored 100 down to 0 (Kristensen et al.'s own key). */
|
|
4
|
+
const frequencyOptions: AssessmentOption[] = [
|
|
5
|
+
{ value: 100, label: { en: "Always" } },
|
|
6
|
+
{ value: 75, label: { en: "Often" } },
|
|
7
|
+
{ value: 50, label: { en: "Sometimes" } },
|
|
8
|
+
{ value: 25, label: { en: "Seldom" } },
|
|
9
|
+
{ value: 0, label: { en: "Never/almost never" } },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
/** To a very high degree ... To a very low degree, scored on the same 100–0 key. */
|
|
13
|
+
const degreeOptions: AssessmentOption[] = [
|
|
14
|
+
{ value: 100, label: { en: "To a very high degree" } },
|
|
15
|
+
{ value: 75, label: { en: "To a high degree" } },
|
|
16
|
+
{ value: 50, label: { en: "Somewhat" } },
|
|
17
|
+
{ value: 25, label: { en: "To a low degree" } },
|
|
18
|
+
{ value: 0, label: { en: "To a very low degree" } },
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* CBI — Copenhagen Burnout Inventory (Kristensen, Borritz, Villadsen &
|
|
23
|
+
* Christensen, 2005).
|
|
24
|
+
*
|
|
25
|
+
* 19 items in three independent scales: personal burnout (6), work-related
|
|
26
|
+
* burnout (7), and client-related burnout (6). Each scale is scored on its
|
|
27
|
+
* own; there is no total across all 19, because the three ask about
|
|
28
|
+
* different attributions of the same exhaustion.
|
|
29
|
+
*
|
|
30
|
+
* Two response scales are mixed within the work and client scales — the
|
|
31
|
+
* degree scale on the items phrased as "is your work..." and the frequency
|
|
32
|
+
* scale on those phrased as "how often...". Both map to the same 100/75/50/
|
|
33
|
+
* 25/0 key, which is why the published score for each scale is the mean of
|
|
34
|
+
* its items on a 0–100 range. psytools reports subscale sums; divide by 6,
|
|
35
|
+
* 7, and 6 to get the published figure (the same convention the ECR-R, ERQ
|
|
36
|
+
* and HSPS entries follow).
|
|
37
|
+
*
|
|
38
|
+
* One item is reverse-keyed: work-burnout item 7, on having energy left for
|
|
39
|
+
* family and friends, where more energy means less burnout.
|
|
40
|
+
*
|
|
41
|
+
* No cutoffs are defined. The authors publish population norms (Danish
|
|
42
|
+
* means around 32 for personal burnout) rather than severity thresholds, so
|
|
43
|
+
* no bands are declared — see SOURCES.md.
|
|
44
|
+
*
|
|
45
|
+
* Item text is reproduced from the authors' own English first edition
|
|
46
|
+
* (February 2004), hosted by NFA, Denmark's National Research Centre for
|
|
47
|
+
* the Working Environment. Rights: no first-party grant exists — read the
|
|
48
|
+
* SOURCES.md entry before shipping this commercially.
|
|
49
|
+
*/
|
|
50
|
+
export const cbi: AssessmentDefinition = {
|
|
51
|
+
id: "cbi",
|
|
52
|
+
version: "1.0.0",
|
|
53
|
+
categories: ["burnout"],
|
|
54
|
+
audience: ["adult"],
|
|
55
|
+
respondent: "self",
|
|
56
|
+
title: {
|
|
57
|
+
en: "Copenhagen Burnout Inventory (CBI)",
|
|
58
|
+
},
|
|
59
|
+
description: {
|
|
60
|
+
en: "A 19-item measure of burnout in three separately-scored scales: personal, work-related, and client-related exhaustion.",
|
|
61
|
+
},
|
|
62
|
+
instructions: {
|
|
63
|
+
en: "Choose the option that best describes you. Where the questions mention clients, read the word that fits your own work — patients, students, children, or whoever you work with. Answer the client questions only if your work involves them.",
|
|
64
|
+
},
|
|
65
|
+
defaultLocale: "en",
|
|
66
|
+
options: frequencyOptions,
|
|
67
|
+
questions: [
|
|
68
|
+
// Part one: personal burnout (frequency scale).
|
|
69
|
+
{ id: "cbi-1", text: { en: "How often do you feel tired?" } },
|
|
70
|
+
{ id: "cbi-2", text: { en: "How often are you physically exhausted?" } },
|
|
71
|
+
{ id: "cbi-3", text: { en: "How often are you emotionally exhausted?" } },
|
|
72
|
+
{ id: "cbi-4", text: { en: "How often do you think: “I can’t take it anymore”?" } },
|
|
73
|
+
{ id: "cbi-5", text: { en: "How often do you feel worn out?" } },
|
|
74
|
+
{ id: "cbi-6", text: { en: "How often do you feel weak and susceptible to illness?" } },
|
|
75
|
+
// Part two: work-related burnout (first three on the degree scale).
|
|
76
|
+
{ id: "cbi-7", text: { en: "Is your work emotionally exhausting?" }, options: degreeOptions },
|
|
77
|
+
{ id: "cbi-8", text: { en: "Do you feel burnt out because of your work?" }, options: degreeOptions },
|
|
78
|
+
{ id: "cbi-9", text: { en: "Does your work frustrate you?" }, options: degreeOptions },
|
|
79
|
+
{ id: "cbi-10", text: { en: "Do you feel worn out at the end of the working day?" } },
|
|
80
|
+
{ id: "cbi-11", text: { en: "Are you exhausted in the morning at the thought of another day at work?" } },
|
|
81
|
+
{ id: "cbi-12", text: { en: "Do you feel that every working hour is tiring for you?" } },
|
|
82
|
+
{ id: "cbi-13", text: { en: "Do you have enough energy for family and friends during leisure time?" }, reverseScored: true },
|
|
83
|
+
// Part three: client-related burnout (first four on the degree scale).
|
|
84
|
+
{ id: "cbi-14", text: { en: "Do you find it hard to work with clients?" }, options: degreeOptions },
|
|
85
|
+
{ id: "cbi-15", text: { en: "Do you find it frustrating to work with clients?" }, options: degreeOptions },
|
|
86
|
+
{ id: "cbi-16", text: { en: "Does it drain your energy to work with clients?" }, options: degreeOptions },
|
|
87
|
+
{ id: "cbi-17", text: { en: "Do you feel that you give more than you get back when you work with clients?" }, options: degreeOptions },
|
|
88
|
+
{ id: "cbi-18", text: { en: "Are you tired of working with clients?" } },
|
|
89
|
+
{ id: "cbi-19", text: { en: "Do you sometimes wonder how long you will be able to continue working with clients?" } },
|
|
90
|
+
],
|
|
91
|
+
scoring: {
|
|
92
|
+
kind: "subscales",
|
|
93
|
+
subscales: [
|
|
94
|
+
{
|
|
95
|
+
id: "personal",
|
|
96
|
+
label: { en: "Personal burnout" },
|
|
97
|
+
questionIds: ["cbi-1", "cbi-2", "cbi-3", "cbi-4", "cbi-5", "cbi-6"],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: "work",
|
|
101
|
+
label: { en: "Work-related burnout" },
|
|
102
|
+
questionIds: ["cbi-7", "cbi-8", "cbi-9", "cbi-10", "cbi-11", "cbi-12", "cbi-13"],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: "client",
|
|
106
|
+
label: { en: "Client-related burnout" },
|
|
107
|
+
questionIds: ["cbi-14", "cbi-15", "cbi-16", "cbi-17", "cbi-18", "cbi-19"],
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
missing: { strategy: "prorate", minAnswered: 4 },
|
|
111
|
+
},
|
|
112
|
+
meta: {
|
|
113
|
+
reference:
|
|
114
|
+
"Kristensen, T. S., Borritz, M., Villadsen, E., & Christensen, K. B. (2005). The Copenhagen Burnout Inventory: A new tool for the assessment of burnout. Work & Stress, 19(3), 192-207.",
|
|
115
|
+
source:
|
|
116
|
+
"Item text reproduced from the authors' own English first edition (February 2004), Marianne Borritz and Tage S. Kristensen, National Institute of Occupational Health, Copenhagen; hosted by NFA (Det Nationale Forskningscenter for Arbejdsmiljoe).",
|
|
117
|
+
license:
|
|
118
|
+
"Free with conditions - no first-party grant exists. NFA, Denmark's national occupational-health research institute, hosts the complete instrument publicly with no gatekeeping, and an independent peer-reviewed validation study describes it as a public domain questionnaire; but neither the instrument nor any rights holder's own statement grants redistribution. See SOURCES.md for exactly what supports this and what is missing.",
|
|
119
|
+
licenseFlag: "free-with-conditions",
|
|
120
|
+
translationProvenance:
|
|
121
|
+
"en: reproduced from the authors' own English edition. The instrument was developed in Danish for the PUMA study; the English text is the authors' own, not a third-party translation. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from that English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
|
|
122
|
+
scoringNote:
|
|
123
|
+
"Each scale is scored separately as the mean of its items on 0-100. psytools reports sums; divide by 6 (personal), 7 (work), and 6 (client).",
|
|
124
|
+
definitions:
|
|
125
|
+
"Personal burnout: a state of prolonged physical and psychological exhaustion. Work-related burnout: the same, perceived as related to the person's work. Client-related burnout: the same, perceived as related to the person's work with clients.",
|
|
126
|
+
presentationNote:
|
|
127
|
+
"The authors instruct that the items should not be presented in the printed order and may be interleaved with questions on other topics, to avoid stereotyped response patterns. psytools keeps the published order so the definition stays checkable against the source; shuffle at presentation time if you follow the recommendation.",
|
|
128
|
+
missingDataNote:
|
|
129
|
+
"The authors' own rule classifies a respondent as a non-responder below 3 of 6 answered (personal), 4 of 7 (work), and 3 of 6 (client). A single policy cannot carry three thresholds, so minAnswered is pinned to 4 - stricter than the authors on the two 6-item scales, which fails safe by refusing to score rather than scoring thin data.",
|
|
130
|
+
},
|
|
131
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
|
|
2
|
+
|
|
3
|
+
/** Yes/no, with "yes" scoring 1. Items keyed on "no" are `reverseScored`. */
|
|
4
|
+
const yesNoOptions: AssessmentOption[] = [
|
|
5
|
+
{ value: 1, label: { en: "Yes" } },
|
|
6
|
+
{ value: 0, label: { en: "No" } },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
/** Items where "no" is the answer that indicates depression. */
|
|
10
|
+
const keyedNo = new Set([1, 5, 7, 11, 13]);
|
|
11
|
+
|
|
12
|
+
const items: string[] = [
|
|
13
|
+
"Are you basically satisfied with your life?",
|
|
14
|
+
"Have you dropped many of your activities and interests?",
|
|
15
|
+
"Do you feel that your life is empty?",
|
|
16
|
+
"Do you often get bored?",
|
|
17
|
+
"Are you in good spirits most of the time?",
|
|
18
|
+
"Are you afraid that something bad is going to happen to you?",
|
|
19
|
+
"Do you feel happy most of the time?",
|
|
20
|
+
"Do you often feel helpless?",
|
|
21
|
+
"Do you prefer to stay at home, rather than going out and doing new things?",
|
|
22
|
+
"Do you feel you have more problems with memory than most?",
|
|
23
|
+
"Do you think it is wonderful to be alive now?",
|
|
24
|
+
"Do you feel pretty worthless the way you are now?",
|
|
25
|
+
"Do you feel full of energy?",
|
|
26
|
+
"Do you feel that your situation is hopeless?",
|
|
27
|
+
"Do you think that most people are better off than you are?",
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* GDS-15: Geriatric Depression Scale, short form.
|
|
32
|
+
*
|
|
33
|
+
* 15 yes/no items about the past week, one point per answer in the
|
|
34
|
+
* depressive direction, total 0-15. "No" is the depressive answer on
|
|
35
|
+
* items 1, 5, 7, 11 and 13 (modelled as `reverseScored`), "yes" on the
|
|
36
|
+
* other ten. Bands follow the authors' own scoring page: more than 5
|
|
37
|
+
* suggests depression, more than 10 is almost always depression.
|
|
38
|
+
*/
|
|
39
|
+
export const gds15: AssessmentDefinition = {
|
|
40
|
+
id: "gds15",
|
|
41
|
+
version: "1.0.0",
|
|
42
|
+
categories: ["depression"],
|
|
43
|
+
audience: ["adult"],
|
|
44
|
+
respondent: "self",
|
|
45
|
+
title: {
|
|
46
|
+
en: "Geriatric Depression Scale, Short Form (GDS-15)",
|
|
47
|
+
},
|
|
48
|
+
description: {
|
|
49
|
+
en: "A 15-item yes/no screening scale for depression in older adults.",
|
|
50
|
+
},
|
|
51
|
+
instructions: {
|
|
52
|
+
en: "Choose the best answer for how you have felt over the past week:",
|
|
53
|
+
},
|
|
54
|
+
defaultLocale: "en",
|
|
55
|
+
options: yesNoOptions,
|
|
56
|
+
questions: items.map((text, i) => ({
|
|
57
|
+
id: `gds15-${i + 1}`,
|
|
58
|
+
text: { en: text },
|
|
59
|
+
...(keyedNo.has(i + 1) ? { reverseScored: true } : {}),
|
|
60
|
+
})),
|
|
61
|
+
scoring: {
|
|
62
|
+
kind: "sum",
|
|
63
|
+
missing: { strategy: "prorate", minAnswered: 10 },
|
|
64
|
+
bands: [
|
|
65
|
+
{ id: "below-cutoff", min: 0, max: 5, label: { en: "Below the follow-up threshold" } },
|
|
66
|
+
{
|
|
67
|
+
id: "suggestive",
|
|
68
|
+
min: 6,
|
|
69
|
+
max: 10,
|
|
70
|
+
label: { en: "Suggestive of depression: a follow-up interview is warranted" },
|
|
71
|
+
},
|
|
72
|
+
{ id: "likely", min: 11, max: 15, label: { en: "Almost always depression" } },
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
meta: {
|
|
76
|
+
reference:
|
|
77
|
+
"Sheikh, J. I., & Yesavage, J. A. (1986). Geriatric Depression Scale (GDS): Recent evidence and development of a shorter version. In Clinical Gerontology: A Guide to Assessment and Intervention (pp. 165-173). New York: The Haworth Press.",
|
|
78
|
+
license:
|
|
79
|
+
"Free: \"The original scale is in the public domain due to it being partly the result of Federal support\" (J. A. Yesavage, https://web.stanford.edu/~yesavage/GDS.html). See SOURCES.md for how this statement is read for the short form.",
|
|
80
|
+
licenseFlag: "free",
|
|
81
|
+
translationProvenance:
|
|
82
|
+
"en: transcribed from the authors' \"Short Form English\" page, https://web.stanford.edu/~yesavage/GDS.english.short.html, with the keyed answers taken from \"Short Form English Scoring\", https://web.stanford.edu/~yesavage/GDS.english.short.score.html (fetched 2026-11-21). Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5-5) from the original English; the translations listed on the authors' page were not consulted and the texts are unverified. See SOURCES.md.",
|
|
83
|
+
timeframe: "past week",
|
|
84
|
+
scoringNote:
|
|
85
|
+
"Sum 0-15, one point per answer in the depressive direction: \"no\" on items 1, 5, 7, 11, 13 and \"yes\" on the rest. Bands follow the authors' scoring page: \"for clinical purposes a score > 5 points is suggestive of depression and should warrent a follow-up interview. Scores > 10 are almost always depression.\" The same page notes that sensitivity and specificity differ across studies. Missing data: the authors prorate (score x 15 / answered) and would treat more than 5 missing items as invalid, so at least 10 answers are required; they round a fractional result up, while psytools rounds to the nearest integer.",
|
|
86
|
+
},
|
|
87
|
+
};
|
package/src/inventories/index.ts
CHANGED
|
@@ -24,9 +24,22 @@ 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";
|
|
33
|
+
import { pcPtsd5 } from "./pc-ptsd-5.ts";
|
|
34
|
+
import { phq4 } from "./phq4.ts";
|
|
35
|
+
import { phq8 } from "./phq8.ts";
|
|
36
|
+
import { gds15 } from "./gds15.ts";
|
|
37
|
+
import { tipi } from "./tipi.ts";
|
|
27
38
|
|
|
28
39
|
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses };
|
|
29
40
|
export { miniIpip6, bisBas, ipipNeo60, ipipViaR };
|
|
41
|
+
export { phq15, pcl5, eat26, csi16, uclaLs3, cbi };
|
|
42
|
+
export { pcPtsd5, phq4, phq8, gds15, tipi };
|
|
30
43
|
export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
|
|
31
44
|
|
|
32
45
|
/** All predefined inventory definitions shipped with psytools, by id. */
|
|
@@ -52,6 +65,17 @@ export const inventories: Readonly<Record<string, AssessmentDefinition>> = {
|
|
|
52
65
|
"bis-bas": bisBas,
|
|
53
66
|
"ipip-neo-60": ipipNeo60,
|
|
54
67
|
"ipip-via-r": ipipViaR,
|
|
68
|
+
phq15,
|
|
69
|
+
pcl5,
|
|
70
|
+
eat26,
|
|
71
|
+
csi16,
|
|
72
|
+
"ucla-ls3": uclaLs3,
|
|
73
|
+
cbi,
|
|
74
|
+
"pc-ptsd-5": pcPtsd5,
|
|
75
|
+
phq4,
|
|
76
|
+
phq8,
|
|
77
|
+
gds15,
|
|
78
|
+
tipi,
|
|
55
79
|
};
|
|
56
80
|
|
|
57
81
|
export type InventoryId =
|
|
@@ -75,7 +99,18 @@ export type InventoryId =
|
|
|
75
99
|
| "mini-ipip6"
|
|
76
100
|
| "bis-bas"
|
|
77
101
|
| "ipip-neo-60"
|
|
78
|
-
| "ipip-via-r"
|
|
102
|
+
| "ipip-via-r"
|
|
103
|
+
| "phq15"
|
|
104
|
+
| "pcl5"
|
|
105
|
+
| "eat26"
|
|
106
|
+
| "csi16"
|
|
107
|
+
| "ucla-ls3"
|
|
108
|
+
| "cbi"
|
|
109
|
+
| "pc-ptsd-5"
|
|
110
|
+
| "phq4"
|
|
111
|
+
| "phq8"
|
|
112
|
+
| "gds15"
|
|
113
|
+
| "tipi";
|
|
79
114
|
|
|
80
115
|
/**
|
|
81
116
|
* Instantiates a predefined inventory as an `Assessment`.
|