psytools 0.3.1 → 0.4.0

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.
Files changed (66) hide show
  1. package/README.md +31 -14
  2. package/SOURCES.md +63 -33
  3. package/dist/cjs/assessment.d.ts +6 -4
  4. package/dist/cjs/assessment.js +10 -6
  5. package/dist/cjs/errors.d.ts +4 -2
  6. package/dist/cjs/evaluation.d.ts +10 -5
  7. package/dist/cjs/evaluation.js +68 -31
  8. package/dist/cjs/i18n.d.ts +1 -1
  9. package/dist/cjs/i18n.js +2 -2
  10. package/dist/cjs/index.d.ts +5 -3
  11. package/dist/cjs/index.js +4 -2
  12. package/dist/cjs/inventories/aq10.js +37 -5
  13. package/dist/cjs/inventories/asrs6.js +30 -6
  14. package/dist/cjs/inventories/audit.d.ts +10 -0
  15. package/dist/cjs/inventories/audit.js +322 -0
  16. package/dist/cjs/inventories/common.js +10 -0
  17. package/dist/cjs/inventories/dass21.js +77 -19
  18. package/dist/cjs/inventories/gad7.js +25 -5
  19. package/dist/cjs/inventories/index.d.ts +4 -2
  20. package/dist/cjs/inventories/index.js +7 -1
  21. package/dist/cjs/inventories/mini-ipip.d.ts +11 -0
  22. package/dist/cjs/inventories/mini-ipip.js +370 -0
  23. package/dist/cjs/inventories/phq9.js +32 -6
  24. package/dist/cjs/inventories/who5.js +33 -5
  25. package/dist/cjs/types.d.ts +30 -1
  26. package/dist/esm/assessment.d.ts +6 -4
  27. package/dist/esm/assessment.js +11 -7
  28. package/dist/esm/errors.d.ts +4 -2
  29. package/dist/esm/evaluation.d.ts +10 -5
  30. package/dist/esm/evaluation.js +68 -31
  31. package/dist/esm/i18n.d.ts +1 -1
  32. package/dist/esm/i18n.js +1 -1
  33. package/dist/esm/index.d.ts +5 -3
  34. package/dist/esm/index.js +2 -2
  35. package/dist/esm/inventories/aq10.js +37 -5
  36. package/dist/esm/inventories/asrs6.js +30 -6
  37. package/dist/esm/inventories/audit.d.ts +10 -0
  38. package/dist/esm/inventories/audit.js +319 -0
  39. package/dist/esm/inventories/common.js +10 -0
  40. package/dist/esm/inventories/dass21.js +77 -19
  41. package/dist/esm/inventories/gad7.js +25 -5
  42. package/dist/esm/inventories/index.d.ts +4 -2
  43. package/dist/esm/inventories/index.js +5 -1
  44. package/dist/esm/inventories/mini-ipip.d.ts +11 -0
  45. package/dist/esm/inventories/mini-ipip.js +367 -0
  46. package/dist/esm/inventories/phq9.js +32 -6
  47. package/dist/esm/inventories/who5.js +33 -5
  48. package/dist/esm/types.d.ts +30 -1
  49. package/package.json +6 -2
  50. package/schema/assessment-definition.schema.json +15 -3
  51. package/src/assessment.ts +15 -9
  52. package/src/errors.ts +25 -2
  53. package/src/evaluation.ts +103 -30
  54. package/src/i18n.ts +1 -1
  55. package/src/index.ts +8 -1
  56. package/src/inventories/aq10.ts +39 -5
  57. package/src/inventories/asrs6.ts +32 -6
  58. package/src/inventories/audit.ts +325 -0
  59. package/src/inventories/common.ts +10 -0
  60. package/src/inventories/dass21.ts +78 -19
  61. package/src/inventories/gad7.ts +26 -5
  62. package/src/inventories/index.ts +14 -2
  63. package/src/inventories/mini-ipip.ts +372 -0
  64. package/src/inventories/phq9.ts +33 -6
  65. package/src/inventories/who5.ts +34 -5
  66. package/src/types.ts +38 -6
@@ -1,23 +1,23 @@
1
1
  const depressionBands = [
2
- { id: "normal", min: 0, max: 9, label: { en: "Normal", tr: "Normal", de: "Normal" } },
3
- { id: "mild", min: 10, max: 13, label: { en: "Mild", tr: "Hafif", de: "Leicht" } },
4
- { id: "moderate", min: 14, max: 20, label: { en: "Moderate", tr: "Orta", de: "Moderat" } },
5
- { id: "severe", min: 21, max: 27, label: { en: "Severe", tr: "Şiddetli", de: "Schwer" } },
6
- { id: "extremely-severe", min: 28, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer" } },
2
+ { id: "normal", min: 0, max: 9, label: { en: "Normal", tr: "Normal", de: "Normal", zh: "正常", es: "Normal" } },
3
+ { id: "mild", min: 10, max: 13, label: { en: "Mild", tr: "Hafif", de: "Leicht", zh: "轻度", es: "Leve" } },
4
+ { id: "moderate", min: 14, max: 20, label: { en: "Moderate", tr: "Orta", de: "Moderat", zh: "中度", es: "Moderado" } },
5
+ { id: "severe", min: 21, max: 27, label: { en: "Severe", tr: "Şiddetli", de: "Schwer", zh: "重度", es: "Grave" } },
6
+ { id: "extremely-severe", min: 28, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer", zh: "极重度", es: "Extremadamente grave" } },
7
7
  ];
8
8
  const anxietyBands = [
9
- { id: "normal", min: 0, max: 7, label: { en: "Normal", tr: "Normal", de: "Normal" } },
10
- { id: "mild", min: 8, max: 9, label: { en: "Mild", tr: "Hafif", de: "Leicht" } },
11
- { id: "moderate", min: 10, max: 14, label: { en: "Moderate", tr: "Orta", de: "Moderat" } },
12
- { id: "severe", min: 15, max: 19, label: { en: "Severe", tr: "Şiddetli", de: "Schwer" } },
13
- { id: "extremely-severe", min: 20, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer" } },
9
+ { id: "normal", min: 0, max: 7, label: { en: "Normal", tr: "Normal", de: "Normal", zh: "正常", es: "Normal" } },
10
+ { id: "mild", min: 8, max: 9, label: { en: "Mild", tr: "Hafif", de: "Leicht", zh: "轻度", es: "Leve" } },
11
+ { id: "moderate", min: 10, max: 14, label: { en: "Moderate", tr: "Orta", de: "Moderat", zh: "中度", es: "Moderado" } },
12
+ { id: "severe", min: 15, max: 19, label: { en: "Severe", tr: "Şiddetli", de: "Schwer", zh: "重度", es: "Grave" } },
13
+ { id: "extremely-severe", min: 20, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer", zh: "极重度", es: "Extremadamente grave" } },
14
14
  ];
15
15
  const stressBands = [
16
- { id: "normal", min: 0, max: 14, label: { en: "Normal", tr: "Normal", de: "Normal" } },
17
- { id: "mild", min: 15, max: 18, label: { en: "Mild", tr: "Hafif", de: "Leicht" } },
18
- { id: "moderate", min: 19, max: 25, label: { en: "Moderate", tr: "Orta", de: "Moderat" } },
19
- { id: "severe", min: 26, max: 33, label: { en: "Severe", tr: "Şiddetli", de: "Schwer" } },
20
- { id: "extremely-severe", min: 34, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer" } },
16
+ { id: "normal", min: 0, max: 14, label: { en: "Normal", tr: "Normal", de: "Normal", zh: "正常", es: "Normal" } },
17
+ { id: "mild", min: 15, max: 18, label: { en: "Mild", tr: "Hafif", de: "Leicht", zh: "轻度", es: "Leve" } },
18
+ { id: "moderate", min: 19, max: 25, label: { en: "Moderate", tr: "Orta", de: "Moderat", zh: "中度", es: "Moderado" } },
19
+ { id: "severe", min: 26, max: 33, label: { en: "Severe", tr: "Şiddetli", de: "Schwer", zh: "重度", es: "Grave" } },
20
+ { id: "extremely-severe", min: 34, max: 42, label: { en: "Extremely severe", tr: "Çok şiddetli", de: "Sehr schwer", zh: "极重度", es: "Extremadamente grave" } },
21
21
  ];
22
22
  /**
23
23
  * DASS-21 — Depression Anxiety Stress Scales, short form.
@@ -35,16 +35,22 @@ export const dass21 = {
35
35
  en: "Depression Anxiety Stress Scales (DASS-21)",
36
36
  tr: "Depresyon Anksiyete Stres Ölçeği (DASS-21)",
37
37
  de: "Depressions-Angst-Stress-Skalen (DASS-21)",
38
+ zh: "抑郁-焦虑-压力量表(DASS-21)",
39
+ es: "Escalas de Depresión, Ansiedad y Estrés (DASS-21)",
38
40
  },
39
41
  description: {
40
42
  en: "A 21-item self-report questionnaire measuring depression, anxiety, and stress over the past week.",
41
43
  tr: "Geçtiğimiz hafta boyunca depresyon, anksiyete ve stresi ölçen 21 maddelik bir öz bildirim ölçeği.",
42
44
  de: "Ein Selbstbeurteilungsfragebogen mit 21 Items zur Messung von Depression, Angst und Stress in der vergangenen Woche.",
45
+ zh: "一份包含21个条目的自评问卷,用于测量过去一周的抑郁、焦虑和压力水平。",
46
+ es: "Un cuestionario de autoinforme de 21 ítems que mide la depresión, la ansiedad y el estrés durante la última semana.",
43
47
  },
44
48
  instructions: {
45
49
  en: "Please read each statement and select the option which indicates how much the statement applied to you over the past week. There are no right or wrong answers. Do not spend too much time on any statement.",
46
50
  tr: "Lütfen her ifadeyi okuyun ve geçtiğimiz hafta boyunca ifadenin size ne kadar uyduğunu gösteren seçeneği işaretleyin. Doğru ya da yanlış cevap yoktur. Herhangi bir ifade üzerinde çok fazla zaman harcamayın.",
47
51
  de: "Bitte lesen Sie jede Aussage und wählen Sie die Option, die angibt, wie sehr die Aussage in der vergangenen Woche auf Sie zutraf. Es gibt keine richtigen oder falschen Antworten. Verbringen Sie nicht zu viel Zeit mit einer Aussage.",
52
+ zh: "请阅读每一条陈述,并选择最能表明过去一周该陈述在多大程度上适用于您的选项。答案没有对错之分。请不要在任何一条陈述上花费太多时间。",
53
+ es: "Por favor, lea cada frase y seleccione la opción que indique en qué medida la frase se aplicó a usted durante la última semana. No hay respuestas correctas ni incorrectas. No dedique demasiado tiempo a ninguna frase.",
48
54
  },
49
55
  defaultLocale: "en",
50
56
  options: [
@@ -54,6 +60,8 @@ export const dass21 = {
54
60
  en: "Did not apply to me at all",
55
61
  tr: "Bana hiç uymadı",
56
62
  de: "Traf gar nicht auf mich zu",
63
+ zh: "完全不适用于我",
64
+ es: "No se aplicó a mí en absoluto",
57
65
  },
58
66
  },
59
67
  {
@@ -62,6 +70,8 @@ export const dass21 = {
62
70
  en: "Applied to me to some degree, or some of the time",
63
71
  tr: "Bana biraz uydu ya da zaman zaman uydu",
64
72
  de: "Traf bis zu einem gewissen Grad oder manchmal auf mich zu",
73
+ zh: "在某种程度上适用于我,或有时适用",
74
+ es: "Se aplicó a mí en cierta medida, o parte del tiempo",
65
75
  },
66
76
  },
67
77
  {
@@ -70,6 +80,8 @@ export const dass21 = {
70
80
  en: "Applied to me to a considerable degree, or a good part of the time",
71
81
  tr: "Bana oldukça uydu ya da zamanın büyük bölümünde uydu",
72
82
  de: "Traf in beträchtlichem Maße oder einen guten Teil der Zeit auf mich zu",
83
+ zh: "在相当程度上适用于我,或大部分时间适用",
84
+ es: "Se aplicó a mí en un grado considerable, o una buena parte del tiempo",
73
85
  },
74
86
  },
75
87
  {
@@ -78,6 +90,8 @@ export const dass21 = {
78
90
  en: "Applied to me very much, or most of the time",
79
91
  tr: "Bana çok uydu ya da hemen hemen her zaman uydu",
80
92
  de: "Traf sehr stark oder die meiste Zeit auf mich zu",
93
+ zh: "非常适用于我,或绝大部分时间适用",
94
+ es: "Se aplicó a mí mucho, o la mayor parte del tiempo",
81
95
  },
82
96
  },
83
97
  ],
@@ -88,6 +102,8 @@ export const dass21 = {
88
102
  en: "I found it hard to wind down",
89
103
  tr: "Sakinleşip yatışmakta zorlandım",
90
104
  de: "Ich fand es schwer, mich zu beruhigen",
105
+ zh: "我发现自己很难平静下来",
106
+ es: "Me costó calmarme",
91
107
  },
92
108
  },
93
109
  {
@@ -96,6 +112,8 @@ export const dass21 = {
96
112
  en: "I was aware of dryness of my mouth",
97
113
  tr: "Ağzımın kuruduğunu fark ettim",
98
114
  de: "Ich bemerkte, dass mein Mund trocken war",
115
+ zh: "我注意到自己口干",
116
+ es: "Noté que tenía la boca seca",
99
117
  },
100
118
  },
101
119
  {
@@ -104,6 +122,8 @@ export const dass21 = {
104
122
  en: "I couldn't seem to experience any positive feeling at all",
105
123
  tr: "Hiç olumlu duygu yaşayamadığımı fark ettim",
106
124
  de: "Ich konnte überhaupt keine positiven Gefühle mehr erleben",
125
+ zh: "我似乎完全无法体验到任何积极的感受",
126
+ es: "No parecía poder experimentar ningún sentimiento positivo en absoluto",
107
127
  },
108
128
  },
109
129
  {
@@ -112,6 +132,8 @@ export const dass21 = {
112
132
  en: "I experienced breathing difficulty (e.g. excessively rapid breathing, breathlessness in the absence of physical exertion)",
113
133
  tr: "Nefes almada zorluk yaşadım (örneğin, fiziksel çaba göstermediğim hâlde aşırı hızlı nefes alma, nefessiz kalma)",
114
134
  de: "Ich hatte Atemprobleme (z. B. übermäßig schnelle Atmung, Atemlosigkeit ohne körperliche Anstrengung)",
135
+ zh: "我感到呼吸困难(例如呼吸过快,或没有体力活动时也感到喘不过气)",
136
+ es: "Experimenté dificultad para respirar (p. ej., respiración excesivamente rápida, falta de aire sin haber hecho esfuerzo físico)",
115
137
  },
116
138
  },
117
139
  {
@@ -120,6 +142,8 @@ export const dass21 = {
120
142
  en: "I found it difficult to work up the initiative to do things",
121
143
  tr: "Bir işe başlamak için gereken isteği kendimde bulmakta zorlandım",
122
144
  de: "Es fiel mir schwer, die Initiative zu ergreifen, um Dinge zu erledigen",
145
+ zh: "我发现自己很难主动去做事情",
146
+ es: "Me resultó difícil tomar la iniciativa para hacer cosas",
123
147
  },
124
148
  },
125
149
  {
@@ -128,6 +152,8 @@ export const dass21 = {
128
152
  en: "I tended to over-react to situations",
129
153
  tr: "Olaylara aşırı tepki verme eğiliminde oldum",
130
154
  de: "Ich neigte dazu, auf Situationen überzureagieren",
155
+ zh: "我容易对事情反应过度",
156
+ es: "Tendí a reaccionar de forma exagerada ante las situaciones",
131
157
  },
132
158
  },
133
159
  {
@@ -136,6 +162,8 @@ export const dass21 = {
136
162
  en: "I experienced trembling (e.g. in the hands)",
137
163
  tr: "Titreme yaşadım (örneğin ellerde)",
138
164
  de: "Ich hatte Zittern (z. B. in den Händen)",
165
+ zh: "我出现过颤抖(例如手抖)",
166
+ es: "Experimenté temblores (p. ej., en las manos)",
139
167
  },
140
168
  },
141
169
  {
@@ -144,6 +172,8 @@ export const dass21 = {
144
172
  en: "I felt that I was using a lot of nervous energy",
145
173
  tr: "Sinirsel enerjimin çok fazla olduğunu hissettim",
146
174
  de: "Ich fühlte, dass ich viel nervöse Energie verbrauchte",
175
+ zh: "我觉得自己消耗了很多精神能量",
176
+ es: "Sentí que estaba gastando mucha energía nerviosa",
147
177
  },
148
178
  },
149
179
  {
@@ -152,6 +182,8 @@ export const dass21 = {
152
182
  en: "I was worried about situations in which I might panic and make a fool of myself",
153
183
  tr: "Panikleyip kendimi gülünç duruma düşürebileceğim durumlar nedeniyle endişelendim",
154
184
  de: "Ich machte mir Sorgen über Situationen, in denen ich in Panik geraten und mich blamieren könnte",
185
+ zh: "我担心自己会在某些场合惊慌失措、出丑",
186
+ es: "Me preocupaban las situaciones en las que podría entrar en pánico y hacer el ridículo",
155
187
  },
156
188
  },
157
189
  {
@@ -160,6 +192,8 @@ export const dass21 = {
160
192
  en: "I felt that I had nothing to look forward to",
161
193
  tr: "Dört gözle beklediğim hiçbir şey olmadığını hissettim",
162
194
  de: "Ich hatte das Gefühl, mich auf nichts mehr freuen zu können",
195
+ zh: "我觉得自己没有什么可期待的",
196
+ es: "Sentí que no tenía nada que esperar con ilusión",
163
197
  },
164
198
  },
165
199
  {
@@ -168,6 +202,8 @@ export const dass21 = {
168
202
  en: "I found myself getting agitated",
169
203
  tr: "Giderek huzursuzlandığımı fark ettim",
170
204
  de: "Ich merkte, dass ich unruhig wurde",
205
+ zh: "我发现自己变得焦躁不安",
206
+ es: "Me di cuenta de que me estaba agitando",
171
207
  },
172
208
  },
173
209
  {
@@ -176,6 +212,8 @@ export const dass21 = {
176
212
  en: "I found it difficult to relax",
177
213
  tr: "Gevşeyip rahatlamakta zorlandım",
178
214
  de: "Es fiel mir schwer, mich zu entspannen",
215
+ zh: "我发现自己很难放松",
216
+ es: "Me resultó difícil relajarme",
179
217
  },
180
218
  },
181
219
  {
@@ -184,6 +222,8 @@ export const dass21 = {
184
222
  en: "I felt down-hearted and blue",
185
223
  tr: "Kendimi üzgün ve karamsar hissettim",
186
224
  de: "Ich fühlte mich niedergeschlagen und traurig",
225
+ zh: "我感到情绪低落、忧郁",
226
+ es: "Me sentí desanimado y triste",
187
227
  },
188
228
  },
189
229
  {
@@ -192,6 +232,8 @@ export const dass21 = {
192
232
  en: "I was intolerant of anything that kept me from getting on with what I was doing",
193
233
  tr: "Yaptığım işi sürdürmeme engel olan şeylere tahammül edemedim",
194
234
  de: "Ich konnte es nicht ertragen, von dem, was ich gerade tat, abgehalten zu werden",
235
+ zh: "我无法容忍任何妨碍我继续做事的事情",
236
+ es: "No toleraba nada que me impidiera seguir con lo que estaba haciendo",
195
237
  },
196
238
  },
197
239
  {
@@ -200,6 +242,8 @@ export const dass21 = {
200
242
  en: "I felt I was close to panic",
201
243
  tr: "Panik olmaya yakın olduğumu hissettim",
202
244
  de: "Ich fühlte mich einer Panik nahe",
245
+ zh: "我感到自己快要惊慌失措了",
246
+ es: "Sentí que estaba a punto de entrar en pánico",
203
247
  },
204
248
  },
205
249
  {
@@ -208,6 +252,8 @@ export const dass21 = {
208
252
  en: "I was unable to become enthusiastic about anything",
209
253
  tr: "Hiçbir şeye karşı heves duyamadım",
210
254
  de: "Ich konnte mich für nichts mehr begeistern",
255
+ zh: "我对任何事情都提不起热情",
256
+ es: "No fui capaz de entusiasmarme con nada",
211
257
  },
212
258
  },
213
259
  {
@@ -216,6 +262,8 @@ export const dass21 = {
216
262
  en: "I felt I wasn't worth much as a person",
217
263
  tr: "Kişi olarak fazla bir değerimin olmadığını hissettim",
218
264
  de: "Ich hatte das Gefühl, als Person nicht viel wert zu sein",
265
+ zh: "我觉得自己作为一个人没有多大价值",
266
+ es: "Sentí que como persona no valía mucho",
219
267
  },
220
268
  },
221
269
  {
@@ -224,6 +272,8 @@ export const dass21 = {
224
272
  en: "I felt that I was rather touchy",
225
273
  tr: "Oldukça alıngan olduğumu hissettim",
226
274
  de: "Ich fühlte, dass ich ziemlich empfindlich war",
275
+ zh: "我觉得自己相当敏感、易被触怒",
276
+ es: "Sentí que estaba bastante susceptible",
227
277
  },
228
278
  },
229
279
  {
@@ -232,6 +282,8 @@ export const dass21 = {
232
282
  en: "I was aware of the action of my heart in the absence of physical exertion (e.g. sense of heart rate increase, heart missing a beat)",
233
283
  tr: "Fiziksel çaba göstermediğim hâlde kalbimin hareketlerini fark ettim (örneğin, kalp atışının hızlanması, kalbin bir atışı atlaması)",
234
284
  de: "Ich nahm meinen Herzschlag wahr, ohne mich körperlich angestrengt zu haben (z. B. Gefühl von Herzrasen oder Herzstolpern)",
285
+ zh: "在没有体力活动的情况下,我能察觉到自己的心跳(例如感到心率加快或心跳漏跳)",
286
+ es: "Fui consciente de los latidos de mi corazón sin haber hecho esfuerzo físico (p. ej., sensación de aumento del ritmo cardíaco, o de que el corazón se saltaba un latido)",
235
287
  },
236
288
  },
237
289
  {
@@ -240,6 +292,8 @@ export const dass21 = {
240
292
  en: "I felt scared without any good reason",
241
293
  tr: "Geçerli bir neden olmadığı hâlde korktuğumu hissettim",
242
294
  de: "Ich fühlte mich ohne triftigen Grund ängstlich",
295
+ zh: "我无缘无故地感到害怕",
296
+ es: "Me sentí asustado sin ninguna razón justificada",
243
297
  },
244
298
  },
245
299
  {
@@ -248,6 +302,8 @@ export const dass21 = {
248
302
  en: "I felt that life was meaningless",
249
303
  tr: "Yaşamın anlamsız olduğunu hissettim",
250
304
  de: "Ich hatte das Gefühl, dass das Leben sinnlos ist",
305
+ zh: "我觉得生活毫无意义",
306
+ es: "Sentí que la vida no tenía sentido",
251
307
  },
252
308
  },
253
309
  ],
@@ -256,21 +312,21 @@ export const dass21 = {
256
312
  subscales: [
257
313
  {
258
314
  id: "depression",
259
- label: { en: "Depression", tr: "Depresyon", de: "Depression" },
315
+ label: { en: "Depression", tr: "Depresyon", de: "Depression", zh: "抑郁", es: "Depresión" },
260
316
  questionIds: ["dass21-3", "dass21-5", "dass21-10", "dass21-13", "dass21-16", "dass21-17", "dass21-21"],
261
317
  multiplier: 2,
262
318
  bands: depressionBands,
263
319
  },
264
320
  {
265
321
  id: "anxiety",
266
- label: { en: "Anxiety", tr: "Anksiyete", de: "Angst" },
322
+ label: { en: "Anxiety", tr: "Anksiyete", de: "Angst", zh: "焦虑", es: "Ansiedad" },
267
323
  questionIds: ["dass21-2", "dass21-4", "dass21-7", "dass21-9", "dass21-15", "dass21-19", "dass21-20"],
268
324
  multiplier: 2,
269
325
  bands: anxietyBands,
270
326
  },
271
327
  {
272
328
  id: "stress",
273
- label: { en: "Stress", tr: "Stres", de: "Stress" },
329
+ label: { en: "Stress", tr: "Stres", de: "Stress", zh: "压力", es: "Estrés" },
274
330
  questionIds: ["dass21-1", "dass21-6", "dass21-8", "dass21-11", "dass21-12", "dass21-14", "dass21-18"],
275
331
  multiplier: 2,
276
332
  bands: stressBands,
@@ -279,7 +335,9 @@ export const dass21 = {
279
335
  },
280
336
  meta: {
281
337
  reference: "Lovibond, S. H., & Lovibond, P. F. (1995). Manual for the Depression Anxiety Stress Scales (2nd ed.). Sydney: Psychology Foundation.",
282
- license: "Public domain",
338
+ license: "Free — public domain per the official DASS site, including translations",
339
+ licenseFlag: "free",
340
+ translationProvenance: "en: reproduced from the original. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
283
341
  timeframe: "past week",
284
342
  },
285
343
  };
@@ -14,11 +14,15 @@ export const gad7 = {
14
14
  en: "Generalized Anxiety Disorder Scale (GAD-7)",
15
15
  tr: "Yaygın Anksiyete Bozukluğu Ölçeği (GAD-7)",
16
16
  de: "Generalisierte Angststörung Skala (GAD-7)",
17
+ zh: "广泛性焦虑障碍量表(GAD-7)",
18
+ es: "Escala del Trastorno de Ansiedad Generalizada (GAD-7)",
17
19
  },
18
20
  description: {
19
21
  en: "A 7-item self-report questionnaire for screening and measuring the severity of generalized anxiety.",
20
22
  tr: "Yaygın anksiyeteyi taramak ve şiddetini ölçmek için kullanılan 7 maddelik bir öz bildirim ölçeği.",
21
23
  de: "Ein Selbstbeurteilungsfragebogen mit 7 Items zum Screening und zur Schweregradmessung generalisierter Angst.",
24
+ zh: "一份包含7个条目的自评问卷,用于筛查广泛性焦虑并测量其严重程度。",
25
+ es: "Un cuestionario de autoinforme de 7 ítems para la detección y la medición de la gravedad de la ansiedad generalizada.",
22
26
  },
23
27
  instructions: twoWeekInstructions,
24
28
  defaultLocale: "en",
@@ -30,6 +34,8 @@ export const gad7 = {
30
34
  en: "Feeling nervous, anxious, or on edge",
31
35
  tr: "Sinirli, kaygılı ya da çok gergin hissetme",
32
36
  de: "Nervosität, Ängstlichkeit oder Anspannung",
37
+ zh: "感到紧张、焦虑或心情烦躁",
38
+ es: "Sentirse nervioso(a), ansioso(a) o con los nervios de punta",
33
39
  },
34
40
  },
35
41
  {
@@ -38,6 +44,8 @@ export const gad7 = {
38
44
  en: "Not being able to stop or control worrying",
39
45
  tr: "Endişelenmeyi durduramama ya da kontrol edememe",
40
46
  de: "Nicht in der Lage sein, Sorgen zu stoppen oder zu kontrollieren",
47
+ zh: "无法停止或控制担忧",
48
+ es: "No poder dejar de preocuparse o controlar la preocupación",
41
49
  },
42
50
  },
43
51
  {
@@ -46,6 +54,8 @@ export const gad7 = {
46
54
  en: "Worrying too much about different things",
47
55
  tr: "Farklı konular hakkında çok fazla endişelenme",
48
56
  de: "Übermäßige Sorgen bezüglich verschiedener Angelegenheiten",
57
+ zh: "对各种各样的事情担忧过多",
58
+ es: "Preocuparse demasiado por diferentes cosas",
49
59
  },
50
60
  },
51
61
  {
@@ -54,6 +64,8 @@ export const gad7 = {
54
64
  en: "Trouble relaxing",
55
65
  tr: "Gevşeyip rahatlamada güçlük",
56
66
  de: "Schwierigkeiten, sich zu entspannen",
67
+ zh: "难以放松",
68
+ es: "Dificultad para relajarse",
57
69
  },
58
70
  },
59
71
  {
@@ -62,6 +74,8 @@ export const gad7 = {
62
74
  en: "Being so restless that it is hard to sit still",
63
75
  tr: "Yerinde duramayacak kadar huzursuz olma",
64
76
  de: "Rastlosigkeit, sodass das Stillsitzen schwerfällt",
77
+ zh: "坐立不安,难以安静地坐着",
78
+ es: "Estar tan inquieto(a) que le resulta difícil quedarse quieto(a)",
65
79
  },
66
80
  },
67
81
  {
@@ -70,6 +84,8 @@ export const gad7 = {
70
84
  en: "Becoming easily annoyed or irritable",
71
85
  tr: "Çabuk kızma ya da kolayca sinirlenir olma",
72
86
  de: "Schnelle Verärgerung oder Gereiztheit",
87
+ zh: "容易恼怒或易被激怒",
88
+ es: "Enfadarse o irritarse con facilidad",
73
89
  },
74
90
  },
75
91
  {
@@ -78,6 +94,8 @@ export const gad7 = {
78
94
  en: "Feeling afraid, as if something awful might happen",
79
95
  tr: "Sanki çok kötü bir şey olacakmış gibi korkuya kapılma",
80
96
  de: "Angstgefühl, als könnte etwas Schlimmes passieren",
97
+ zh: "感到害怕,好像会有可怕的事情发生",
98
+ es: "Sentir miedo, como si algo terrible pudiera pasar",
81
99
  },
82
100
  },
83
101
  ],
@@ -88,31 +106,33 @@ export const gad7 = {
88
106
  id: "minimal",
89
107
  min: 0,
90
108
  max: 4,
91
- label: { en: "Minimal anxiety", tr: "Minimal anksiyete", de: "Minimale Angst" },
109
+ label: { en: "Minimal anxiety", tr: "Minimal anksiyete", de: "Minimale Angst", zh: "极轻度焦虑", es: "Ansiedad mínima" },
92
110
  },
93
111
  {
94
112
  id: "mild",
95
113
  min: 5,
96
114
  max: 9,
97
- label: { en: "Mild anxiety", tr: "Hafif anksiyete", de: "Leichte Angst" },
115
+ label: { en: "Mild anxiety", tr: "Hafif anksiyete", de: "Leichte Angst", zh: "轻度焦虑", es: "Ansiedad leve" },
98
116
  },
99
117
  {
100
118
  id: "moderate",
101
119
  min: 10,
102
120
  max: 14,
103
- label: { en: "Moderate anxiety", tr: "Orta düzeyde anksiyete", de: "Mittelgradige Angst" },
121
+ label: { en: "Moderate anxiety", tr: "Orta düzeyde anksiyete", de: "Mittelgradige Angst", zh: "中度焦虑", es: "Ansiedad moderada" },
104
122
  },
105
123
  {
106
124
  id: "severe",
107
125
  min: 15,
108
126
  max: 21,
109
- label: { en: "Severe anxiety", tr: "Şiddetli anksiyete", de: "Schwere Angst" },
127
+ label: { en: "Severe anxiety", tr: "Şiddetli anksiyete", de: "Schwere Angst", zh: "重度焦虑", es: "Ansiedad grave" },
110
128
  },
111
129
  ],
112
130
  },
113
131
  meta: {
114
132
  reference: "Spitzer, R. L., Kroenke, K., Williams, J. B., & Löwe, B. (2006). A brief measure for assessing generalized anxiety disorder: the GAD-7. Archives of Internal Medicine, 166(10), 1092-1097.",
115
- license: "Public domain",
133
+ license: "Free — no permission required to reproduce, translate, display or distribute (Pfizer educational grant)",
134
+ licenseFlag: "free",
135
+ translationProvenance: "en: reproduced from the original. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
116
136
  timeframe: "past 2 weeks",
117
137
  },
118
138
  };
@@ -6,11 +6,13 @@ import { dass21 } from "./dass21.ts";
6
6
  import { who5 } from "./who5.ts";
7
7
  import { asrs6 } from "./asrs6.ts";
8
8
  import { aq10 } from "./aq10.ts";
9
- export { phq9, gad7, dass21, who5, asrs6, aq10 };
9
+ import { audit } from "./audit.ts";
10
+ import { miniIpip } from "./mini-ipip.ts";
11
+ export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip };
10
12
  export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
11
13
  /** All predefined inventory definitions shipped with psytools, by id. */
12
14
  export declare const inventories: Readonly<Record<string, AssessmentDefinition>>;
13
- export type InventoryId = "phq9" | "gad7" | "dass21" | "who5" | "asrs6" | "aq10";
15
+ export type InventoryId = "phq9" | "gad7" | "dass21" | "who5" | "asrs6" | "aq10" | "audit" | "mini-ipip";
14
16
  /**
15
17
  * Instantiates a predefined inventory as an `Assessment`.
16
18
  * @throws PsytoolsError `unknown_inventory`
@@ -6,7 +6,9 @@ import { dass21 } from "./dass21.js";
6
6
  import { who5 } from "./who5.js";
7
7
  import { asrs6 } from "./asrs6.js";
8
8
  import { aq10 } from "./aq10.js";
9
- export { phq9, gad7, dass21, who5, asrs6, aq10 };
9
+ import { audit } from "./audit.js";
10
+ import { miniIpip } from "./mini-ipip.js";
11
+ export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip };
10
12
  export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.js";
11
13
  /** All predefined inventory definitions shipped with psytools, by id. */
12
14
  export const inventories = {
@@ -16,6 +18,8 @@ export const inventories = {
16
18
  who5,
17
19
  asrs6,
18
20
  aq10,
21
+ audit,
22
+ "mini-ipip": miniIpip,
19
23
  };
20
24
  /**
21
25
  * Instantiates a predefined inventory as an `Assessment`.
@@ -0,0 +1,11 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * Mini-IPIP — 20-item short form of the International Personality Item
4
+ * Pool Five-Factor Model measure (Donnellan et al., 2006).
5
+ *
6
+ * Measures the Big Five personality traits with 4 items each on a 1–5
7
+ * accuracy scale; half the items are reverse-keyed. Trait scores are
8
+ * descriptive (4–20 per trait, higher = more of the trait) — there are no
9
+ * clinical cutoffs, so no bands are defined. IPIP items are public domain.
10
+ */
11
+ export declare const miniIpip: AssessmentDefinition;