psytools 0.5.2 → 0.5.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.
Files changed (246) hide show
  1. package/README.md +32 -12
  2. package/SOURCES.md +116 -8
  3. package/dist/cjs/index.d.ts +2 -2
  4. package/dist/cjs/index.js +10 -1
  5. package/dist/cjs/inventories/aq10.js +3 -0
  6. package/dist/cjs/inventories/asrs6.d.ts +12 -5
  7. package/dist/cjs/inventories/asrs6.js +17 -6
  8. package/dist/cjs/inventories/audit.js +3 -0
  9. package/dist/cjs/inventories/cesd.d.ts +11 -0
  10. package/dist/cjs/inventories/cesd.js +207 -0
  11. package/dist/cjs/inventories/common.d.ts +11 -0
  12. package/dist/cjs/inventories/common.js +26 -1
  13. package/dist/cjs/inventories/dass21.js +3 -0
  14. package/dist/cjs/inventories/ecr-r.d.ts +16 -0
  15. package/dist/cjs/inventories/ecr-r.js +114 -0
  16. package/dist/cjs/inventories/erq.d.ts +16 -0
  17. package/dist/cjs/inventories/erq.js +79 -0
  18. package/dist/cjs/inventories/flourishing.d.ts +12 -0
  19. package/dist/cjs/inventories/flourishing.js +53 -0
  20. package/dist/cjs/inventories/gad7.js +3 -0
  21. package/dist/cjs/inventories/hsps.d.ts +14 -0
  22. package/dist/cjs/inventories/hsps.js +83 -0
  23. package/dist/cjs/inventories/index.d.ts +11 -2
  24. package/dist/cjs/inventories/index.js +28 -1
  25. package/dist/cjs/inventories/k10.d.ts +12 -0
  26. package/dist/cjs/inventories/k10.js +62 -0
  27. package/dist/cjs/inventories/k6.d.ts +12 -0
  28. package/dist/cjs/inventories/k6.js +57 -0
  29. package/dist/cjs/inventories/mini-ipip.js +3 -0
  30. package/dist/cjs/inventories/phq9.js +3 -0
  31. package/dist/cjs/inventories/rses.d.ts +11 -0
  32. package/dist/cjs/inventories/rses.js +63 -0
  33. package/dist/cjs/inventories/swls.d.ts +12 -0
  34. package/dist/cjs/inventories/swls.js +59 -0
  35. package/dist/cjs/inventories/who5.js +3 -0
  36. package/dist/cjs/locales/de/cesd.d.ts +4 -0
  37. package/dist/cjs/locales/de/cesd.js +43 -0
  38. package/dist/cjs/locales/de/erq.d.ts +4 -0
  39. package/dist/cjs/locales/de/erq.js +36 -0
  40. package/dist/cjs/locales/de/flourishing.d.ts +4 -0
  41. package/dist/cjs/locales/de/flourishing.js +30 -0
  42. package/dist/cjs/locales/de/k10.d.ts +4 -0
  43. package/dist/cjs/locales/de/k10.js +36 -0
  44. package/dist/cjs/locales/de/k6.d.ts +4 -0
  45. package/dist/cjs/locales/de/k6.js +31 -0
  46. package/dist/cjs/locales/de/rses.d.ts +4 -0
  47. package/dist/cjs/locales/de/rses.js +34 -0
  48. package/dist/cjs/locales/de/swls.d.ts +4 -0
  49. package/dist/cjs/locales/de/swls.js +36 -0
  50. package/dist/cjs/locales/es/cesd.d.ts +4 -0
  51. package/dist/cjs/locales/es/cesd.js +43 -0
  52. package/dist/cjs/locales/es/erq.d.ts +4 -0
  53. package/dist/cjs/locales/es/erq.js +36 -0
  54. package/dist/cjs/locales/es/flourishing.d.ts +4 -0
  55. package/dist/cjs/locales/es/flourishing.js +46 -0
  56. package/dist/cjs/locales/es/k10.d.ts +4 -0
  57. package/dist/cjs/locales/es/k10.js +56 -0
  58. package/dist/cjs/locales/es/k6.d.ts +4 -0
  59. package/dist/cjs/locales/es/k6.js +43 -0
  60. package/dist/cjs/locales/es/rses.d.ts +4 -0
  61. package/dist/cjs/locales/es/rses.js +54 -0
  62. package/dist/cjs/locales/es/swls.d.ts +4 -0
  63. package/dist/cjs/locales/es/swls.js +46 -0
  64. package/dist/cjs/locales/index.js +51 -0
  65. package/dist/cjs/locales/tr/cesd.d.ts +4 -0
  66. package/dist/cjs/locales/tr/cesd.js +43 -0
  67. package/dist/cjs/locales/tr/ecr-r.d.ts +12 -0
  68. package/dist/cjs/locales/tr/ecr-r.js +70 -0
  69. package/dist/cjs/locales/tr/erq.d.ts +10 -0
  70. package/dist/cjs/locales/tr/erq.js +42 -0
  71. package/dist/cjs/locales/tr/flourishing.d.ts +4 -0
  72. package/dist/cjs/locales/tr/flourishing.js +46 -0
  73. package/dist/cjs/locales/tr/hsps.d.ts +10 -0
  74. package/dist/cjs/locales/tr/hsps.js +55 -0
  75. package/dist/cjs/locales/tr/k10.d.ts +4 -0
  76. package/dist/cjs/locales/tr/k10.js +56 -0
  77. package/dist/cjs/locales/tr/k6.d.ts +4 -0
  78. package/dist/cjs/locales/tr/k6.js +43 -0
  79. package/dist/cjs/locales/tr/rses.d.ts +4 -0
  80. package/dist/cjs/locales/tr/rses.js +54 -0
  81. package/dist/cjs/locales/tr/swls.d.ts +4 -0
  82. package/dist/cjs/locales/tr/swls.js +46 -0
  83. package/dist/cjs/locales/zh/cesd.d.ts +4 -0
  84. package/dist/cjs/locales/zh/cesd.js +43 -0
  85. package/dist/cjs/locales/zh/erq.d.ts +4 -0
  86. package/dist/cjs/locales/zh/erq.js +36 -0
  87. package/dist/cjs/locales/zh/flourishing.d.ts +4 -0
  88. package/dist/cjs/locales/zh/flourishing.js +46 -0
  89. package/dist/cjs/locales/zh/k10.d.ts +4 -0
  90. package/dist/cjs/locales/zh/k10.js +56 -0
  91. package/dist/cjs/locales/zh/k6.d.ts +4 -0
  92. package/dist/cjs/locales/zh/k6.js +43 -0
  93. package/dist/cjs/locales/zh/rses.d.ts +4 -0
  94. package/dist/cjs/locales/zh/rses.js +54 -0
  95. package/dist/cjs/locales/zh/swls.d.ts +4 -0
  96. package/dist/cjs/locales/zh/swls.js +46 -0
  97. package/dist/cjs/types.d.ts +52 -0
  98. package/dist/esm/index.d.ts +2 -2
  99. package/dist/esm/index.js +1 -1
  100. package/dist/esm/inventories/aq10.js +3 -0
  101. package/dist/esm/inventories/asrs6.d.ts +12 -5
  102. package/dist/esm/inventories/asrs6.js +17 -6
  103. package/dist/esm/inventories/audit.js +3 -0
  104. package/dist/esm/inventories/cesd.d.ts +11 -0
  105. package/dist/esm/inventories/cesd.js +204 -0
  106. package/dist/esm/inventories/common.d.ts +11 -0
  107. package/dist/esm/inventories/common.js +25 -0
  108. package/dist/esm/inventories/dass21.js +3 -0
  109. package/dist/esm/inventories/ecr-r.d.ts +16 -0
  110. package/dist/esm/inventories/ecr-r.js +111 -0
  111. package/dist/esm/inventories/erq.d.ts +16 -0
  112. package/dist/esm/inventories/erq.js +76 -0
  113. package/dist/esm/inventories/flourishing.d.ts +12 -0
  114. package/dist/esm/inventories/flourishing.js +50 -0
  115. package/dist/esm/inventories/gad7.js +3 -0
  116. package/dist/esm/inventories/hsps.d.ts +14 -0
  117. package/dist/esm/inventories/hsps.js +80 -0
  118. package/dist/esm/inventories/index.d.ts +11 -2
  119. package/dist/esm/inventories/index.js +19 -1
  120. package/dist/esm/inventories/k10.d.ts +12 -0
  121. package/dist/esm/inventories/k10.js +59 -0
  122. package/dist/esm/inventories/k6.d.ts +12 -0
  123. package/dist/esm/inventories/k6.js +54 -0
  124. package/dist/esm/inventories/mini-ipip.js +3 -0
  125. package/dist/esm/inventories/phq9.js +3 -0
  126. package/dist/esm/inventories/rses.d.ts +11 -0
  127. package/dist/esm/inventories/rses.js +60 -0
  128. package/dist/esm/inventories/swls.d.ts +12 -0
  129. package/dist/esm/inventories/swls.js +56 -0
  130. package/dist/esm/inventories/who5.js +3 -0
  131. package/dist/esm/locales/de/cesd.d.ts +4 -0
  132. package/dist/esm/locales/de/cesd.js +41 -0
  133. package/dist/esm/locales/de/erq.d.ts +4 -0
  134. package/dist/esm/locales/de/erq.js +34 -0
  135. package/dist/esm/locales/de/flourishing.d.ts +4 -0
  136. package/dist/esm/locales/de/flourishing.js +28 -0
  137. package/dist/esm/locales/de/k10.d.ts +4 -0
  138. package/dist/esm/locales/de/k10.js +34 -0
  139. package/dist/esm/locales/de/k6.d.ts +4 -0
  140. package/dist/esm/locales/de/k6.js +29 -0
  141. package/dist/esm/locales/de/rses.d.ts +4 -0
  142. package/dist/esm/locales/de/rses.js +32 -0
  143. package/dist/esm/locales/de/swls.d.ts +4 -0
  144. package/dist/esm/locales/de/swls.js +34 -0
  145. package/dist/esm/locales/es/cesd.d.ts +4 -0
  146. package/dist/esm/locales/es/cesd.js +41 -0
  147. package/dist/esm/locales/es/erq.d.ts +4 -0
  148. package/dist/esm/locales/es/erq.js +34 -0
  149. package/dist/esm/locales/es/flourishing.d.ts +4 -0
  150. package/dist/esm/locales/es/flourishing.js +44 -0
  151. package/dist/esm/locales/es/k10.d.ts +4 -0
  152. package/dist/esm/locales/es/k10.js +54 -0
  153. package/dist/esm/locales/es/k6.d.ts +4 -0
  154. package/dist/esm/locales/es/k6.js +41 -0
  155. package/dist/esm/locales/es/rses.d.ts +4 -0
  156. package/dist/esm/locales/es/rses.js +52 -0
  157. package/dist/esm/locales/es/swls.d.ts +4 -0
  158. package/dist/esm/locales/es/swls.js +44 -0
  159. package/dist/esm/locales/index.js +51 -0
  160. package/dist/esm/locales/tr/cesd.d.ts +4 -0
  161. package/dist/esm/locales/tr/cesd.js +41 -0
  162. package/dist/esm/locales/tr/ecr-r.d.ts +12 -0
  163. package/dist/esm/locales/tr/ecr-r.js +68 -0
  164. package/dist/esm/locales/tr/erq.d.ts +10 -0
  165. package/dist/esm/locales/tr/erq.js +40 -0
  166. package/dist/esm/locales/tr/flourishing.d.ts +4 -0
  167. package/dist/esm/locales/tr/flourishing.js +44 -0
  168. package/dist/esm/locales/tr/hsps.d.ts +10 -0
  169. package/dist/esm/locales/tr/hsps.js +53 -0
  170. package/dist/esm/locales/tr/k10.d.ts +4 -0
  171. package/dist/esm/locales/tr/k10.js +54 -0
  172. package/dist/esm/locales/tr/k6.d.ts +4 -0
  173. package/dist/esm/locales/tr/k6.js +41 -0
  174. package/dist/esm/locales/tr/rses.d.ts +4 -0
  175. package/dist/esm/locales/tr/rses.js +52 -0
  176. package/dist/esm/locales/tr/swls.d.ts +4 -0
  177. package/dist/esm/locales/tr/swls.js +44 -0
  178. package/dist/esm/locales/zh/cesd.d.ts +4 -0
  179. package/dist/esm/locales/zh/cesd.js +41 -0
  180. package/dist/esm/locales/zh/erq.d.ts +4 -0
  181. package/dist/esm/locales/zh/erq.js +34 -0
  182. package/dist/esm/locales/zh/flourishing.d.ts +4 -0
  183. package/dist/esm/locales/zh/flourishing.js +44 -0
  184. package/dist/esm/locales/zh/k10.d.ts +4 -0
  185. package/dist/esm/locales/zh/k10.js +54 -0
  186. package/dist/esm/locales/zh/k6.d.ts +4 -0
  187. package/dist/esm/locales/zh/k6.js +41 -0
  188. package/dist/esm/locales/zh/rses.d.ts +4 -0
  189. package/dist/esm/locales/zh/rses.js +52 -0
  190. package/dist/esm/locales/zh/swls.d.ts +4 -0
  191. package/dist/esm/locales/zh/swls.js +44 -0
  192. package/dist/esm/types.d.ts +52 -0
  193. package/package.json +18 -2
  194. package/schema/assessment-definition.schema.json +16 -0
  195. package/src/index.ts +12 -0
  196. package/src/inventories/aq10.ts +3 -0
  197. package/src/inventories/asrs6.ts +18 -6
  198. package/src/inventories/audit.ts +3 -0
  199. package/src/inventories/cesd.ts +210 -0
  200. package/src/inventories/common.ts +27 -0
  201. package/src/inventories/dass21.ts +3 -0
  202. package/src/inventories/ecr-r.ts +119 -0
  203. package/src/inventories/erq.ts +83 -0
  204. package/src/inventories/flourishing.ts +56 -0
  205. package/src/inventories/gad7.ts +3 -0
  206. package/src/inventories/hsps.ts +88 -0
  207. package/src/inventories/index.ts +29 -2
  208. package/src/inventories/k10.ts +64 -0
  209. package/src/inventories/k6.ts +59 -0
  210. package/src/inventories/mini-ipip.ts +3 -0
  211. package/src/inventories/phq9.ts +3 -0
  212. package/src/inventories/rses.ts +66 -0
  213. package/src/inventories/swls.ts +62 -0
  214. package/src/inventories/who5.ts +3 -0
  215. package/src/locales/de/cesd.ts +44 -0
  216. package/src/locales/de/erq.ts +37 -0
  217. package/src/locales/de/flourishing.ts +31 -0
  218. package/src/locales/de/k10.ts +37 -0
  219. package/src/locales/de/k6.ts +32 -0
  220. package/src/locales/de/rses.ts +35 -0
  221. package/src/locales/de/swls.ts +37 -0
  222. package/src/locales/es/cesd.ts +44 -0
  223. package/src/locales/es/erq.ts +37 -0
  224. package/src/locales/es/flourishing.ts +47 -0
  225. package/src/locales/es/k10.ts +57 -0
  226. package/src/locales/es/k6.ts +44 -0
  227. package/src/locales/es/rses.ts +55 -0
  228. package/src/locales/es/swls.ts +47 -0
  229. package/src/locales/index.ts +51 -0
  230. package/src/locales/tr/cesd.ts +44 -0
  231. package/src/locales/tr/ecr-r.ts +71 -0
  232. package/src/locales/tr/erq.ts +43 -0
  233. package/src/locales/tr/flourishing.ts +47 -0
  234. package/src/locales/tr/hsps.ts +56 -0
  235. package/src/locales/tr/k10.ts +57 -0
  236. package/src/locales/tr/k6.ts +44 -0
  237. package/src/locales/tr/rses.ts +55 -0
  238. package/src/locales/tr/swls.ts +47 -0
  239. package/src/locales/zh/cesd.ts +44 -0
  240. package/src/locales/zh/erq.ts +37 -0
  241. package/src/locales/zh/flourishing.ts +47 -0
  242. package/src/locales/zh/k10.ts +57 -0
  243. package/src/locales/zh/k6.ts +44 -0
  244. package/src/locales/zh/rses.ts +55 -0
  245. package/src/locales/zh/swls.ts +47 -0
  246. package/src/types.ts +69 -0
@@ -0,0 +1,210 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+
3
+ /**
4
+ * CES-D — Center for Epidemiologic Studies Depression Scale.
5
+ *
6
+ * 20 items, 0–3 past-week frequency scale, total score 0–60. Items 4, 8,
7
+ * 12 and 16 are positively worded and reverse scored. Scores of 16 or
8
+ * above indicate elevated depressive symptoms (Radloff, 1977). Developed
9
+ * at the U.S. National Institute of Mental Health; the scale is in the
10
+ * public domain.
11
+ */
12
+ export const cesd: AssessmentDefinition = {
13
+ id: "cesd",
14
+ version: "1.0.0",
15
+ categories: ["depression"],
16
+ audience: ["adult"],
17
+ respondent: "self",
18
+ title: {
19
+ en: "Center for Epidemiologic Studies Depression Scale (CES-D)",
20
+ },
21
+ description: {
22
+ en: "A 20-item self-report scale designed to measure depressive symptomatology in the general population.",
23
+ },
24
+ instructions: {
25
+ en: "Please read each statement carefully, then indicate how often you felt or behaved this way during the past week, including today.",
26
+ },
27
+ defaultLocale: "en",
28
+ options: [
29
+ {
30
+ value: 0,
31
+ label: {
32
+ en: "Rarely or none of the time (less than 1 day)",
33
+ },
34
+ },
35
+ {
36
+ value: 1,
37
+ label: {
38
+ en: "Some or a little of the time (1-2 days)",
39
+ },
40
+ },
41
+ {
42
+ value: 2,
43
+ label: {
44
+ en: "Occasionally or a moderate amount of the time (3-4 days)",
45
+ },
46
+ },
47
+ {
48
+ value: 3,
49
+ label: {
50
+ en: "Most or all of the time (5-7 days)",
51
+ },
52
+ },
53
+ ],
54
+ questions: [
55
+ {
56
+ id: "cesd-1",
57
+ text: {
58
+ en: "I was bothered by things that usually don't bother me",
59
+ },
60
+ },
61
+ {
62
+ id: "cesd-2",
63
+ text: {
64
+ en: "I did not feel like eating; my appetite was poor",
65
+ },
66
+ },
67
+ {
68
+ id: "cesd-3",
69
+ text: {
70
+ en: "I felt that I could not shake off the blues even with help from my family and friends",
71
+ },
72
+ },
73
+ {
74
+ id: "cesd-4",
75
+ text: {
76
+ en: "I felt that I was just as good as other people",
77
+ },
78
+ reverseScored: true,
79
+ },
80
+ {
81
+ id: "cesd-5",
82
+ text: {
83
+ en: "I had trouble keeping my mind on what I was doing",
84
+ },
85
+ },
86
+ {
87
+ id: "cesd-6",
88
+ text: {
89
+ en: "I felt depressed",
90
+ },
91
+ },
92
+ {
93
+ id: "cesd-7",
94
+ text: {
95
+ en: "I felt that everything I did was an effort",
96
+ },
97
+ },
98
+ {
99
+ id: "cesd-8",
100
+ text: {
101
+ en: "I felt hopeful about the future",
102
+ },
103
+ reverseScored: true,
104
+ },
105
+ {
106
+ id: "cesd-9",
107
+ text: {
108
+ en: "I thought my life had been a failure",
109
+ },
110
+ },
111
+ {
112
+ id: "cesd-10",
113
+ text: {
114
+ en: "I felt fearful",
115
+ },
116
+ },
117
+ {
118
+ id: "cesd-11",
119
+ text: {
120
+ en: "My sleep was restless",
121
+ },
122
+ },
123
+ {
124
+ id: "cesd-12",
125
+ text: {
126
+ en: "I was happy",
127
+ },
128
+ reverseScored: true,
129
+ },
130
+ {
131
+ id: "cesd-13",
132
+ text: {
133
+ en: "I talked less than usual",
134
+ },
135
+ },
136
+ {
137
+ id: "cesd-14",
138
+ text: {
139
+ en: "I felt lonely",
140
+ },
141
+ },
142
+ {
143
+ id: "cesd-15",
144
+ text: {
145
+ en: "People were unfriendly",
146
+ },
147
+ },
148
+ {
149
+ id: "cesd-16",
150
+ text: {
151
+ en: "I enjoyed life",
152
+ },
153
+ reverseScored: true,
154
+ },
155
+ {
156
+ id: "cesd-17",
157
+ text: {
158
+ en: "I had crying spells",
159
+ },
160
+ },
161
+ {
162
+ id: "cesd-18",
163
+ text: {
164
+ en: "I felt sad",
165
+ },
166
+ },
167
+ {
168
+ id: "cesd-19",
169
+ text: {
170
+ en: "I felt that people disliked me",
171
+ },
172
+ },
173
+ {
174
+ id: "cesd-20",
175
+ text: {
176
+ en: "I could not get \"going\"",
177
+ },
178
+ },
179
+ ],
180
+ scoring: {
181
+ kind: "sum",
182
+ missing: { strategy: "prorate", minAnswered: 16 },
183
+ bands: [
184
+ {
185
+ id: "below-cutoff",
186
+ min: 0,
187
+ max: 15,
188
+ label: { en: "Below the clinical cutoff" },
189
+ },
190
+ {
191
+ id: "elevated",
192
+ min: 16,
193
+ max: 60,
194
+ label: { en: "Elevated depressive symptoms (at or above the cutoff of 16)" },
195
+ },
196
+ ],
197
+ },
198
+ meta: {
199
+ reference:
200
+ "Radloff, L. S. (1977). The CES-D Scale: A self-report depression scale for research in the general population. Applied Psychological Measurement, 1(3), 385-401.",
201
+ license:
202
+ "Free — developed at the U.S. National Institute of Mental Health; the scale is in the public domain and may be used without permission",
203
+ licenseFlag: "free",
204
+ translationProvenance:
205
+ "en: reproduced from the original instrument (via the NIDA Seek, Test, Treat and Retain data harmonization packet). 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.",
206
+ timeframe: "past week",
207
+ scoringNote:
208
+ "The >=16 cutoff for elevated depressive symptoms follows Radloff (1977); it screens for risk and is not a diagnosis. The prorating threshold (>=16 of 20 items) is an implementation choice, not part of the published scoring.",
209
+ },
210
+ };
@@ -35,3 +35,30 @@ export const twoWeekFrequencyOptions: AssessmentOption[] = [
35
35
  export const twoWeekInstructions: LocalizedText = {
36
36
  en: "Over the last 2 weeks, how often have you been bothered by any of the following problems?",
37
37
  };
38
+
39
+ /**
40
+ * The fully labeled 1–7 agreement scale shared by the Diener scales
41
+ * (SWLS, Flourishing Scale).
42
+ */
43
+ export const sevenPointAgreementOptions: AssessmentOption[] = [
44
+ { value: 1, label: { en: "Strongly disagree" } },
45
+ { value: 2, label: { en: "Disagree" } },
46
+ { value: 3, label: { en: "Slightly disagree" } },
47
+ { value: 4, label: { en: "Neither agree nor disagree" } },
48
+ { value: 5, label: { en: "Slightly agree" } },
49
+ { value: 6, label: { en: "Agree" } },
50
+ { value: 7, label: { en: "Strongly agree" } },
51
+ ];
52
+
53
+ /**
54
+ * The past-30-days frequency labels shared by the Kessler distress
55
+ * scales. K10 stores them as 1–5 (sum 10–50), K6 as 0–4 (sum 0–24),
56
+ * matching each instrument's published scoring convention.
57
+ */
58
+ export const kesslerFrequencyLabels: string[] = [
59
+ "None of the time",
60
+ "A little of the time",
61
+ "Some of the time",
62
+ "Most of the time",
63
+ "All of the time",
64
+ ];
@@ -36,6 +36,9 @@ const stressBands: ScoreBand[] = [
36
36
  export const dass21: AssessmentDefinition = {
37
37
  id: "dass21",
38
38
  version: "1.0.0",
39
+ categories: ["depression", "anxiety", "stress"],
40
+ audience: ["adult"],
41
+ respondent: "self",
39
42
  title: {
40
43
  en: "Depression Anxiety Stress Scales (DASS-21)",
41
44
  },
@@ -0,0 +1,119 @@
1
+ import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
2
+
3
+ const agreementOptions: AssessmentOption[] = [
4
+ { value: 1, label: { en: "1 — Strongly disagree" } },
5
+ { value: 2, label: { en: "2" } },
6
+ { value: 3, label: { en: "3" } },
7
+ { value: 4, label: { en: "4 — Neutral / mixed" } },
8
+ { value: 5, label: { en: "5" } },
9
+ { value: 6, label: { en: "6" } },
10
+ { value: 7, label: { en: "7 — Strongly agree" } },
11
+ ];
12
+
13
+ /**
14
+ * ECR-R — Experiences in Close Relationships-Revised (adult attachment).
15
+ *
16
+ * 36 items on a 1–7 agreement scale: items 1–18 form the attachment
17
+ * anxiety subscale, items 19–36 attachment avoidance (Fraley, Waller &
18
+ * Brennan, 2000). Subscale results are reported as sums (18–126); the
19
+ * published convention is the item mean — divide by 18. The dimensions
20
+ * are continuous; no clinical cutoffs exist, so no bands are defined.
21
+ *
22
+ * Research use only: the items are published for use in the public
23
+ * domain for non-commercial research; commercial use requires the
24
+ * authors' permission. The Turkish locale pack reproduces the validated
25
+ * YİYE-II adaptation (Selçuk, Günaydın, Sümer & Uysal, 2005).
26
+ */
27
+ export const ecrR: AssessmentDefinition = {
28
+ id: "ecr-r",
29
+ version: "1.0.0",
30
+ categories: ["attachment", "relationships"],
31
+ audience: ["adult"],
32
+ respondent: "self",
33
+ title: {
34
+ en: "Experiences in Close Relationships-Revised (ECR-R)",
35
+ },
36
+ description: {
37
+ en: "A 36-item self-report measure of adult romantic attachment along two dimensions: attachment-related anxiety and attachment-related avoidance.",
38
+ },
39
+ instructions: {
40
+ en: "The statements below concern how you feel in emotionally intimate relationships. We are interested in how you generally experience relationships, not just in what is happening in a current relationship. Respond to each statement by indicating how much you agree or disagree with it.",
41
+ },
42
+ defaultLocale: "en",
43
+ options: agreementOptions,
44
+ questions: [
45
+ { id: "ecr-r-1", text: { en: "I'm afraid that I will lose my partner's love." } },
46
+ { id: "ecr-r-2", text: { en: "I often worry that my partner will not want to stay with me." } },
47
+ { id: "ecr-r-3", text: { en: "I often worry that my partner doesn't really love me." } },
48
+ { id: "ecr-r-4", text: { en: "I worry that romantic partners won't care about me as much as I care about them." } },
49
+ { id: "ecr-r-5", text: { en: "I often wish that my partner's feelings for me were as strong as my feelings for him or her." } },
50
+ { id: "ecr-r-6", text: { en: "I worry a lot about my relationships." } },
51
+ { id: "ecr-r-7", text: { en: "When my partner is out of sight, I worry that he or she might become interested in someone else." } },
52
+ { id: "ecr-r-8", text: { en: "When I show my feelings for romantic partners, I'm afraid they will not feel the same about me." } },
53
+ { id: "ecr-r-9", text: { en: "I rarely worry about my partner leaving me." }, reverseScored: true },
54
+ { id: "ecr-r-10", text: { en: "My romantic partner makes me doubt myself." } },
55
+ { id: "ecr-r-11", text: { en: "I do not often worry about being abandoned." }, reverseScored: true },
56
+ { id: "ecr-r-12", text: { en: "I find that my partner(s) don't want to get as close as I would like." } },
57
+ { id: "ecr-r-13", text: { en: "Sometimes romantic partners change their feelings about me for no apparent reason." } },
58
+ { id: "ecr-r-14", text: { en: "My desire to be very close sometimes scares people away." } },
59
+ { id: "ecr-r-15", text: { en: "I'm afraid that once a romantic partner gets to know me, he or she won't like who I really am." } },
60
+ { id: "ecr-r-16", text: { en: "It makes me mad that I don't get the affection and support I need from my partner." } },
61
+ { id: "ecr-r-17", text: { en: "I worry that I won't measure up to other people." } },
62
+ { id: "ecr-r-18", text: { en: "My partner only seems to notice me when I'm angry." } },
63
+ { id: "ecr-r-19", text: { en: "I prefer not to show a partner how I feel deep down." } },
64
+ { id: "ecr-r-20", text: { en: "I feel comfortable sharing my private thoughts and feelings with my partner." }, reverseScored: true },
65
+ { id: "ecr-r-21", text: { en: "I find it difficult to allow myself to depend on romantic partners." } },
66
+ { id: "ecr-r-22", text: { en: "I am very comfortable being close to romantic partners." }, reverseScored: true },
67
+ { id: "ecr-r-23", text: { en: "I don't feel comfortable opening up to romantic partners." } },
68
+ { id: "ecr-r-24", text: { en: "I prefer not to be too close to romantic partners." } },
69
+ { id: "ecr-r-25", text: { en: "I get uncomfortable when a romantic partner wants to be very close." } },
70
+ { id: "ecr-r-26", text: { en: "I find it relatively easy to get close to my partner." }, reverseScored: true },
71
+ { id: "ecr-r-27", text: { en: "It's not difficult for me to get close to my partner." }, reverseScored: true },
72
+ { id: "ecr-r-28", text: { en: "I usually discuss my problems and concerns with my partner." }, reverseScored: true },
73
+ { id: "ecr-r-29", text: { en: "It helps to turn to my romantic partner in times of need." }, reverseScored: true },
74
+ { id: "ecr-r-30", text: { en: "I tell my partner just about everything." }, reverseScored: true },
75
+ { id: "ecr-r-31", text: { en: "I talk things over with my partner." }, reverseScored: true },
76
+ { id: "ecr-r-32", text: { en: "I am nervous when partners get too close to me." } },
77
+ { id: "ecr-r-33", text: { en: "I feel comfortable depending on romantic partners." }, reverseScored: true },
78
+ { id: "ecr-r-34", text: { en: "I find it easy to depend on romantic partners." }, reverseScored: true },
79
+ { id: "ecr-r-35", text: { en: "It's easy for me to be affectionate with my partner." }, reverseScored: true },
80
+ { id: "ecr-r-36", text: { en: "My partner really understands me and my needs." }, reverseScored: true },
81
+ ],
82
+ scoring: {
83
+ kind: "subscales",
84
+ missing: { strategy: "prorate", minAnswered: 14 },
85
+ subscales: [
86
+ {
87
+ id: "anxiety",
88
+ label: { en: "Attachment-related anxiety" },
89
+ questionIds: [
90
+ "ecr-r-1", "ecr-r-2", "ecr-r-3", "ecr-r-4", "ecr-r-5", "ecr-r-6",
91
+ "ecr-r-7", "ecr-r-8", "ecr-r-9", "ecr-r-10", "ecr-r-11", "ecr-r-12",
92
+ "ecr-r-13", "ecr-r-14", "ecr-r-15", "ecr-r-16", "ecr-r-17", "ecr-r-18",
93
+ ],
94
+ },
95
+ {
96
+ id: "avoidance",
97
+ label: { en: "Attachment-related avoidance" },
98
+ questionIds: [
99
+ "ecr-r-19", "ecr-r-20", "ecr-r-21", "ecr-r-22", "ecr-r-23", "ecr-r-24",
100
+ "ecr-r-25", "ecr-r-26", "ecr-r-27", "ecr-r-28", "ecr-r-29", "ecr-r-30",
101
+ "ecr-r-31", "ecr-r-32", "ecr-r-33", "ecr-r-34", "ecr-r-35", "ecr-r-36",
102
+ ],
103
+ },
104
+ ],
105
+ },
106
+ meta: {
107
+ reference:
108
+ "Fraley, R. C., Waller, N. G., & Brennan, K. A. (2000). An item response theory analysis of self-report measures of adult attachment. Journal of Personality and Social Psychology, 78(2), 350-365.",
109
+ trAdaptation:
110
+ "Selçuk, E., Günaydın, G., Sümer, N., & Uysal, A. (2005). Yetişkin bağlanma boyutları için yeni bir ölçüm: Yakın İlişkilerde Yaşantılar Envanteri-II'nin Türk örnekleminde psikometrik açıdan değerlendirilmesi. Türk Psikoloji Yazıları, 8, 1-11.",
111
+ license:
112
+ "Research only — published for use in the public domain for non-commercial research; commercial use requires the authors' permission (labs.psychology.illinois.edu/~rcfraley/measures). The Turkish adaptation is distributed for scientific research only, not for clinical diagnosis or personnel selection (nebisumer.com)",
113
+ licenseFlag: "research-only",
114
+ translationProvenance:
115
+ "en: reproduced from the original instrument (Fraley, Waller & Brennan, 2000). tr: reproduced from the published Turkish adaptation (YİYE-II, Selçuk et al., 2005, via nebisumer.com) — a validated translation; the Turkish source interleaves the same items (odd = anxiety, even = avoidance) while this definition keeps the original English item order. See SOURCES.md.",
116
+ scoringNote:
117
+ "Subscale results are sums over 18 items (range 18-126); the published convention reports the item mean — divide by 18. The prorating threshold (>=14 of 18 per subscale) is an implementation choice, not part of the published scoring.",
118
+ },
119
+ };
@@ -0,0 +1,83 @@
1
+ import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
2
+
3
+ const agreementOptions: AssessmentOption[] = [
4
+ { value: 1, label: { en: "1 — Strongly disagree" } },
5
+ { value: 2, label: { en: "2" } },
6
+ { value: 3, label: { en: "3" } },
7
+ { value: 4, label: { en: "4 — Neutral" } },
8
+ { value: 5, label: { en: "5" } },
9
+ { value: 6, label: { en: "6" } },
10
+ { value: 7, label: { en: "7 — Strongly agree" } },
11
+ ];
12
+
13
+ /**
14
+ * ERQ — Emotion Regulation Questionnaire (Gross & John, 2003).
15
+ *
16
+ * 10 items on a 1–7 agreement scale, two subscales: cognitive reappraisal
17
+ * (items 1, 3, 5, 7, 8, 10) and expressive suppression (items 2, 4, 6, 9).
18
+ * No reversals; subscale results are sums (the published convention is the
19
+ * item mean — divide by 6 and 4 respectively). The strategies are
20
+ * descriptive individual differences — no clinical cutoffs exist, so no
21
+ * bands are defined. The authors instruct not to change the item order:
22
+ * items 1 and 3 define the terms "positive emotion" and "negative emotion".
23
+ *
24
+ * Research use only: distributed by the authors for non-commercial
25
+ * research (Stanford Psychophysiology Laboratory).
26
+ */
27
+ export const erq: AssessmentDefinition = {
28
+ id: "erq",
29
+ version: "1.0.0",
30
+ categories: ["emotion-regulation"],
31
+ audience: ["adult"],
32
+ respondent: "self",
33
+ title: {
34
+ en: "Emotion Regulation Questionnaire (ERQ)",
35
+ },
36
+ description: {
37
+ en: "A 10-item measure of individual differences in the habitual use of two emotion regulation strategies: cognitive reappraisal and expressive suppression.",
38
+ },
39
+ instructions: {
40
+ en: "We would like to ask you some questions about your emotional life, in particular, how you control (that is, regulate and manage) your emotions. The questions below involve two distinct aspects of your emotional life. One is your emotional experience, or what you feel like inside. The other is your emotional expression, or how you show your emotions in the way you talk, gesture, or behave. Although some of the following questions may seem similar to one another, they differ in important ways.",
41
+ },
42
+ defaultLocale: "en",
43
+ options: agreementOptions,
44
+ questions: [
45
+ { id: "erq-1", text: { en: "When I want to feel more positive emotion (such as joy or amusement), I change what I'm thinking about." } },
46
+ { id: "erq-2", text: { en: "I keep my emotions to myself." } },
47
+ { id: "erq-3", text: { en: "When I want to feel less negative emotion (such as sadness or anger), I change what I'm thinking about." } },
48
+ { id: "erq-4", text: { en: "When I am feeling positive emotions, I am careful not to express them." } },
49
+ { id: "erq-5", text: { en: "When I'm faced with a stressful situation, I make myself think about it in a way that helps me stay calm." } },
50
+ { id: "erq-6", text: { en: "I control my emotions by not expressing them." } },
51
+ { id: "erq-7", text: { en: "When I want to feel more positive emotion, I change the way I'm thinking about the situation." } },
52
+ { id: "erq-8", text: { en: "I control my emotions by changing the way I think about the situation I'm in." } },
53
+ { id: "erq-9", text: { en: "When I am feeling negative emotions, I make sure not to express them." } },
54
+ { id: "erq-10", text: { en: "When I want to feel less negative emotion, I change the way I'm thinking about the situation." } },
55
+ ],
56
+ scoring: {
57
+ kind: "subscales",
58
+ missing: { strategy: "require-complete" },
59
+ subscales: [
60
+ {
61
+ id: "reappraisal",
62
+ label: { en: "Cognitive reappraisal" },
63
+ questionIds: ["erq-1", "erq-3", "erq-5", "erq-7", "erq-8", "erq-10"],
64
+ },
65
+ {
66
+ id: "suppression",
67
+ label: { en: "Expressive suppression" },
68
+ questionIds: ["erq-2", "erq-4", "erq-6", "erq-9"],
69
+ },
70
+ ],
71
+ },
72
+ meta: {
73
+ reference:
74
+ "Gross, J. J., & John, O. P. (2003). Individual differences in two emotion regulation processes: Implications for affect, relationships, and well-being. Journal of Personality and Social Psychology, 85(2), 348-362.",
75
+ license:
76
+ "Research only — distributed by the authors free of charge for non-commercial research (Stanford Psychophysiology Laboratory); commercial use is not licensed",
77
+ licenseFlag: "research-only",
78
+ translationProvenance:
79
+ "en: reproduced from the original instrument (Gross & John, 2003; official Stanford SPL distribution). 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. A validated Turkish adaptation exists (Ulaşan Özgüle, 2011) but uses a 6-point response scale and a different item order, so it cannot be represented as a locale pack of this definition. See SOURCES.md.",
80
+ scoringNote:
81
+ "Subscale results are sums (reappraisal 6-42, suppression 4-28); the published convention reports item means — divide by 6 and 4 respectively.",
82
+ },
83
+ };
@@ -0,0 +1,56 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ import { sevenPointAgreementOptions } from "./common.ts";
3
+
4
+ /**
5
+ * FS — Flourishing Scale (Diener et al., 2010).
6
+ *
7
+ * 8 items on a fully labeled 1–7 agreement scale, total score 8–56;
8
+ * higher scores indicate more self-perceived psychological resources and
9
+ * strengths. No published cutoffs exist, so no bands are defined.
10
+ * Copyrighted by the authors but free to use without permission by
11
+ * researchers and practitioners with credit; commercial use is not
12
+ * licensed.
13
+ */
14
+ export const flourishing: AssessmentDefinition = {
15
+ id: "flourishing",
16
+ version: "1.0.0",
17
+ categories: ["well-being"],
18
+ audience: ["adult"],
19
+ respondent: "self",
20
+ title: {
21
+ en: "Flourishing Scale (FS)",
22
+ },
23
+ description: {
24
+ en: "An 8-item summary measure of self-perceived success in important areas such as relationships, self-esteem, purpose, and optimism.",
25
+ },
26
+ instructions: {
27
+ en: "Below are eight statements with which you may agree or disagree. Indicate your agreement with each item.",
28
+ },
29
+ defaultLocale: "en",
30
+ options: sevenPointAgreementOptions,
31
+ questions: [
32
+ { id: "flourishing-1", text: { en: "I lead a purposeful and meaningful life." } },
33
+ { id: "flourishing-2", text: { en: "My social relationships are supportive and rewarding." } },
34
+ { id: "flourishing-3", text: { en: "I am engaged and interested in my daily activities." } },
35
+ { id: "flourishing-4", text: { en: "I actively contribute to the happiness and well-being of others." } },
36
+ { id: "flourishing-5", text: { en: "I am competent and capable in the activities that are important to me." } },
37
+ { id: "flourishing-6", text: { en: "I am a good person and live a good life." } },
38
+ { id: "flourishing-7", text: { en: "I am optimistic about my future." } },
39
+ { id: "flourishing-8", text: { en: "People respect me." } },
40
+ ],
41
+ scoring: {
42
+ kind: "sum",
43
+ missing: { strategy: "require-complete" },
44
+ },
45
+ meta: {
46
+ reference:
47
+ "Diener, E., Wirtz, D., Tov, W., Kim-Prieto, C., Choi, D., Oishi, S., & Biswas-Diener, R. (2010). New well-being measures: Short scales to assess flourishing and positive and negative feelings. Social Indicators Research, 97(2), 143-156.",
48
+ license:
49
+ "Free with conditions — copyrighted by the authors; free to use without permission or charge by all professionals (researchers and practitioners) with credit, for non-commercial purposes (eddiener.com)",
50
+ licenseFlag: "free-with-conditions",
51
+ translationProvenance:
52
+ "en: reproduced from the original instrument (Diener et al., 2010). Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-sonnet-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
53
+ scoringNote:
54
+ "Total 8-56; higher scores indicate a person with many psychological resources and strengths. No cutoffs are published.",
55
+ },
56
+ };
@@ -12,6 +12,9 @@ import { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
12
12
  export const gad7: AssessmentDefinition = {
13
13
  id: "gad7",
14
14
  version: "1.0.0",
15
+ categories: ["anxiety"],
16
+ audience: ["adult"],
17
+ respondent: "self",
15
18
  title: {
16
19
  en: "Generalized Anxiety Disorder Scale (GAD-7)",
17
20
  },
@@ -0,0 +1,88 @@
1
+ import type { AssessmentDefinition, AssessmentOption } from "../types.ts";
2
+
3
+ const intensityOptions: AssessmentOption[] = [
4
+ { value: 1, label: { en: "1 — Not at all" } },
5
+ { value: 2, label: { en: "2" } },
6
+ { value: 3, label: { en: "3" } },
7
+ { value: 4, label: { en: "4 — Moderately" } },
8
+ { value: 5, label: { en: "5" } },
9
+ { value: 6, label: { en: "6" } },
10
+ { value: 7, label: { en: "7 — Extremely" } },
11
+ ];
12
+
13
+ /**
14
+ * HSPS — Highly Sensitive Person Scale (Aron & Aron, 1997).
15
+ *
16
+ * 27 items on a 1–7 intensity scale, no reverse-scored items. The total
17
+ * is reported here as a sum (27–189); research commonly reports the item
18
+ * mean — divide by 27. Sensory-processing sensitivity is a continuous
19
+ * temperament trait — no clinical cutoffs exist, so no bands are defined.
20
+ *
21
+ * Research use only: © 1997 E. Aron; distributed for research use. The
22
+ * Turkish locale pack reproduces the validated adaptation
23
+ * (Şengül-İnal & Sümer, 2017).
24
+ */
25
+ export const hsps: AssessmentDefinition = {
26
+ id: "hsps",
27
+ version: "1.0.0",
28
+ categories: ["sensory-processing", "personality"],
29
+ audience: ["adult"],
30
+ respondent: "self",
31
+ title: {
32
+ en: "Highly Sensitive Person Scale (HSPS)",
33
+ },
34
+ description: {
35
+ en: "A 27-item self-report measure of sensory-processing sensitivity: how strongly a person perceives and processes internal and external stimuli.",
36
+ },
37
+ instructions: {
38
+ en: "Answer each question according to the way you personally feel, using the following scale.",
39
+ },
40
+ defaultLocale: "en",
41
+ options: intensityOptions,
42
+ questions: [
43
+ { id: "hsps-1", text: { en: "Are you easily overwhelmed by strong sensory input?" } },
44
+ { id: "hsps-2", text: { en: "Do you seem to be aware of subtleties in your environment?" } },
45
+ { id: "hsps-3", text: { en: "Do other people's moods affect you?" } },
46
+ { id: "hsps-4", text: { en: "Do you tend to be more sensitive to pain?" } },
47
+ { id: "hsps-5", text: { en: "Do you find yourself needing to withdraw during busy days, into bed or into a darkened room or any place where you can have some privacy and relief from stimulation?" } },
48
+ { id: "hsps-6", text: { en: "Are you particularly sensitive to the effects of caffeine?" } },
49
+ { id: "hsps-7", text: { en: "Are you easily overwhelmed by things like bright lights, strong smells, coarse fabrics, or sirens close by?" } },
50
+ { id: "hsps-8", text: { en: "Do you have a rich, complex inner life?" } },
51
+ { id: "hsps-9", text: { en: "Are you made uncomfortable by loud noises?" } },
52
+ { id: "hsps-10", text: { en: "Are you deeply moved by the arts or music?" } },
53
+ { id: "hsps-11", text: { en: "Does your nervous system sometimes feel so frazzled that you just have to go off by yourself?" } },
54
+ { id: "hsps-12", text: { en: "Are you conscientious?" } },
55
+ { id: "hsps-13", text: { en: "Do you startle easily?" } },
56
+ { id: "hsps-14", text: { en: "Do you get rattled when you have a lot to do in a short amount of time?" } },
57
+ { id: "hsps-15", text: { en: "When people are uncomfortable in a physical environment do you tend to know what needs to be done to make it more comfortable (like changing the lighting or the seating)?" } },
58
+ { id: "hsps-16", text: { en: "Are you annoyed when people try to get you to do too many things at once?" } },
59
+ { id: "hsps-17", text: { en: "Do you try hard to avoid making mistakes or forgetting things?" } },
60
+ { id: "hsps-18", text: { en: "Do you make a point to avoid violent movies and TV shows?" } },
61
+ { id: "hsps-19", text: { en: "Do you become unpleasantly aroused when a lot is going on around you?" } },
62
+ { id: "hsps-20", text: { en: "Does being very hungry create a strong reaction in you, disrupting your concentration or mood?" } },
63
+ { id: "hsps-21", text: { en: "Do changes in your life shake you up?" } },
64
+ { id: "hsps-22", text: { en: "Do you notice and enjoy delicate or fine scents, tastes, sounds, works of art?" } },
65
+ { id: "hsps-23", text: { en: "Do you find it unpleasant to have a lot going on at once?" } },
66
+ { id: "hsps-24", text: { en: "Do you make it a high priority to arrange your life to avoid upsetting or overwhelming situations?" } },
67
+ { id: "hsps-25", text: { en: "Are you bothered by intense stimuli, like loud noises or chaotic scenes?" } },
68
+ { id: "hsps-26", text: { en: "When you must compete or be observed while performing a task, do you become so nervous or shaky that you do much worse than you would otherwise?" } },
69
+ { id: "hsps-27", text: { en: "When you were a child, did parents or teachers seem to see you as sensitive or shy?" } },
70
+ ],
71
+ scoring: {
72
+ kind: "sum",
73
+ missing: { strategy: "prorate", minAnswered: 21 },
74
+ },
75
+ meta: {
76
+ reference:
77
+ "Aron, E. N., & Aron, A. (1997). Sensory-processing sensitivity and its relation to introversion and emotionality. Journal of Personality and Social Psychology, 73(2), 345-368.",
78
+ trAdaptation:
79
+ "Şengül-İnal, G., & Sümer, N. (2017). Exploring the multidimensional structure of sensory processing sensitivity in Turkish samples. Current Psychology.",
80
+ license:
81
+ "Research only — HSP Scale © 1997 E. Aron, distributed for research use. The Turkish adaptation is distributed for scientific research only, not for clinical diagnosis or personnel selection (nebisumer.com)",
82
+ licenseFlag: "research-only",
83
+ translationProvenance:
84
+ "en: reproduced from the original instrument (HSP Scale © 1997 E. Aron; Aron & Aron, 1997). tr: items and option anchors reproduced from the published Turkish adaptation (Şengül-İnal & Sümer, via nebisumer.com) — a validated translation; the pack's description and instructions are adapted for on-screen rendering. See SOURCES.md.",
85
+ scoringNote:
86
+ "The total is a sum over 27 items (range 27-189); the Turkish adaptation reports the item mean — divide by 27. The prorating threshold (>=21 of 27 items) is an implementation choice, not part of the published scoring.",
87
+ },
88
+ };
@@ -11,8 +11,17 @@ import { asrs6 } from "./asrs6.ts";
11
11
  import { aq10 } from "./aq10.ts";
12
12
  import { audit } from "./audit.ts";
13
13
  import { miniIpip } from "./mini-ipip.ts";
14
+ import { cesd } from "./cesd.ts";
15
+ import { ecrR } from "./ecr-r.ts";
16
+ import { erq } from "./erq.ts";
17
+ import { hsps } from "./hsps.ts";
18
+ import { swls } from "./swls.ts";
19
+ import { flourishing } from "./flourishing.ts";
20
+ import { k10 } from "./k10.ts";
21
+ import { k6 } from "./k6.ts";
22
+ import { rses } from "./rses.ts";
14
23
 
15
- export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip };
24
+ export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses };
16
25
  export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
17
26
 
18
27
  /** All predefined inventory definitions shipped with psytools, by id. */
@@ -25,6 +34,15 @@ export const inventories: Readonly<Record<string, AssessmentDefinition>> = {
25
34
  aq10,
26
35
  audit,
27
36
  "mini-ipip": miniIpip,
37
+ cesd,
38
+ "ecr-r": ecrR,
39
+ erq,
40
+ hsps,
41
+ swls,
42
+ flourishing,
43
+ k10,
44
+ k6,
45
+ rses,
28
46
  };
29
47
 
30
48
  export type InventoryId =
@@ -35,7 +53,16 @@ export type InventoryId =
35
53
  | "asrs6"
36
54
  | "aq10"
37
55
  | "audit"
38
- | "mini-ipip";
56
+ | "mini-ipip"
57
+ | "cesd"
58
+ | "ecr-r"
59
+ | "erq"
60
+ | "hsps"
61
+ | "swls"
62
+ | "flourishing"
63
+ | "k10"
64
+ | "k6"
65
+ | "rses";
39
66
 
40
67
  /**
41
68
  * Instantiates a predefined inventory as an `Assessment`.