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.
Files changed (290) hide show
  1. package/LICENSE +8 -5
  2. package/README.md +24 -7
  3. package/SOURCES.md +165 -3
  4. package/dist/cjs/inventories/cbi.d.ts +31 -0
  5. package/dist/cjs/inventories/cbi.js +122 -0
  6. package/dist/cjs/inventories/csi16.d.ts +10 -0
  7. package/dist/cjs/inventories/csi16.js +160 -0
  8. package/dist/cjs/inventories/eat26.d.ts +12 -0
  9. package/dist/cjs/inventories/eat26.js +111 -0
  10. package/dist/cjs/inventories/gds15.d.ts +11 -0
  11. package/dist/cjs/inventories/gds15.js +81 -0
  12. package/dist/cjs/inventories/index.d.ts +14 -1
  13. package/dist/cjs/inventories/index.js +34 -1
  14. package/dist/cjs/inventories/pc-ptsd-5.d.ts +12 -0
  15. package/dist/cjs/inventories/pc-ptsd-5.js +91 -0
  16. package/dist/cjs/inventories/pcl5.d.ts +10 -0
  17. package/dist/cjs/inventories/pcl5.js +124 -0
  18. package/dist/cjs/inventories/phq15.d.ts +10 -0
  19. package/dist/cjs/inventories/phq15.js +74 -0
  20. package/dist/cjs/inventories/phq4.d.ts +11 -0
  21. package/dist/cjs/inventories/phq4.js +73 -0
  22. package/dist/cjs/inventories/phq8.d.ts +11 -0
  23. package/dist/cjs/inventories/phq8.js +71 -0
  24. package/dist/cjs/inventories/tipi.d.ts +10 -0
  25. package/dist/cjs/inventories/tipi.js +70 -0
  26. package/dist/cjs/inventories/ucla-ls3.d.ts +10 -0
  27. package/dist/cjs/inventories/ucla-ls3.js +127 -0
  28. package/dist/cjs/locales/de/cbi.d.ts +7 -0
  29. package/dist/cjs/locales/de/cbi.js +110 -0
  30. package/dist/cjs/locales/de/csi16.d.ts +3 -0
  31. package/dist/cjs/locales/de/csi16.js +61 -0
  32. package/dist/cjs/locales/de/eat26.d.ts +3 -0
  33. package/dist/cjs/locales/de/eat26.js +47 -0
  34. package/dist/cjs/locales/de/gds15.d.ts +4 -0
  35. package/dist/cjs/locales/de/gds15.js +34 -0
  36. package/dist/cjs/locales/de/pc-ptsd-5.d.ts +4 -0
  37. package/dist/cjs/locales/de/pc-ptsd-5.js +32 -0
  38. package/dist/cjs/locales/de/pcl5.d.ts +4 -0
  39. package/dist/cjs/locales/de/pcl5.js +48 -0
  40. package/dist/cjs/locales/de/phq15.d.ts +4 -0
  41. package/dist/cjs/locales/de/phq15.js +35 -0
  42. package/dist/cjs/locales/de/phq4.d.ts +4 -0
  43. package/dist/cjs/locales/de/phq4.js +35 -0
  44. package/dist/cjs/locales/de/phq8.d.ts +4 -0
  45. package/dist/cjs/locales/de/phq8.js +35 -0
  46. package/dist/cjs/locales/de/tipi.d.ts +4 -0
  47. package/dist/cjs/locales/de/tipi.js +39 -0
  48. package/dist/cjs/locales/de/ucla-ls3.d.ts +4 -0
  49. package/dist/cjs/locales/de/ucla-ls3.js +48 -0
  50. package/dist/cjs/locales/es/cbi.d.ts +7 -0
  51. package/dist/cjs/locales/es/cbi.js +110 -0
  52. package/dist/cjs/locales/es/csi16.d.ts +3 -0
  53. package/dist/cjs/locales/es/csi16.js +68 -0
  54. package/dist/cjs/locales/es/eat26.d.ts +3 -0
  55. package/dist/cjs/locales/es/eat26.js +47 -0
  56. package/dist/cjs/locales/es/gds15.d.ts +4 -0
  57. package/dist/cjs/locales/es/gds15.js +34 -0
  58. package/dist/cjs/locales/es/pc-ptsd-5.d.ts +4 -0
  59. package/dist/cjs/locales/es/pc-ptsd-5.js +32 -0
  60. package/dist/cjs/locales/es/pcl5.d.ts +4 -0
  61. package/dist/cjs/locales/es/pcl5.js +48 -0
  62. package/dist/cjs/locales/es/phq15.d.ts +4 -0
  63. package/dist/cjs/locales/es/phq15.js +35 -0
  64. package/dist/cjs/locales/es/phq4.d.ts +4 -0
  65. package/dist/cjs/locales/es/phq4.js +35 -0
  66. package/dist/cjs/locales/es/phq8.d.ts +4 -0
  67. package/dist/cjs/locales/es/phq8.js +35 -0
  68. package/dist/cjs/locales/es/tipi.d.ts +4 -0
  69. package/dist/cjs/locales/es/tipi.js +39 -0
  70. package/dist/cjs/locales/es/ucla-ls3.d.ts +4 -0
  71. package/dist/cjs/locales/es/ucla-ls3.js +44 -0
  72. package/dist/cjs/locales/index.js +66 -0
  73. package/dist/cjs/locales/tr/cbi.d.ts +8 -0
  74. package/dist/cjs/locales/tr/cbi.js +111 -0
  75. package/dist/cjs/locales/tr/csi16.d.ts +3 -0
  76. package/dist/cjs/locales/tr/csi16.js +68 -0
  77. package/dist/cjs/locales/tr/eat26.d.ts +3 -0
  78. package/dist/cjs/locales/tr/eat26.js +47 -0
  79. package/dist/cjs/locales/tr/gds15.d.ts +4 -0
  80. package/dist/cjs/locales/tr/gds15.js +34 -0
  81. package/dist/cjs/locales/tr/pc-ptsd-5.d.ts +4 -0
  82. package/dist/cjs/locales/tr/pc-ptsd-5.js +32 -0
  83. package/dist/cjs/locales/tr/pcl5.d.ts +4 -0
  84. package/dist/cjs/locales/tr/pcl5.js +48 -0
  85. package/dist/cjs/locales/tr/phq15.d.ts +4 -0
  86. package/dist/cjs/locales/tr/phq15.js +35 -0
  87. package/dist/cjs/locales/tr/phq4.d.ts +4 -0
  88. package/dist/cjs/locales/tr/phq4.js +35 -0
  89. package/dist/cjs/locales/tr/phq8.d.ts +4 -0
  90. package/dist/cjs/locales/tr/phq8.js +33 -0
  91. package/dist/cjs/locales/tr/tipi.d.ts +4 -0
  92. package/dist/cjs/locales/tr/tipi.js +39 -0
  93. package/dist/cjs/locales/tr/ucla-ls3.d.ts +4 -0
  94. package/dist/cjs/locales/tr/ucla-ls3.js +44 -0
  95. package/dist/cjs/locales/zh/cbi.d.ts +7 -0
  96. package/dist/cjs/locales/zh/cbi.js +110 -0
  97. package/dist/cjs/locales/zh/csi16.d.ts +3 -0
  98. package/dist/cjs/locales/zh/csi16.js +46 -0
  99. package/dist/cjs/locales/zh/eat26.d.ts +3 -0
  100. package/dist/cjs/locales/zh/eat26.js +45 -0
  101. package/dist/cjs/locales/zh/gds15.d.ts +4 -0
  102. package/dist/cjs/locales/zh/gds15.js +34 -0
  103. package/dist/cjs/locales/zh/pc-ptsd-5.d.ts +4 -0
  104. package/dist/cjs/locales/zh/pc-ptsd-5.js +32 -0
  105. package/dist/cjs/locales/zh/pcl5.d.ts +4 -0
  106. package/dist/cjs/locales/zh/pcl5.js +44 -0
  107. package/dist/cjs/locales/zh/phq15.d.ts +4 -0
  108. package/dist/cjs/locales/zh/phq15.js +35 -0
  109. package/dist/cjs/locales/zh/phq4.d.ts +4 -0
  110. package/dist/cjs/locales/zh/phq4.js +35 -0
  111. package/dist/cjs/locales/zh/phq8.d.ts +4 -0
  112. package/dist/cjs/locales/zh/phq8.js +31 -0
  113. package/dist/cjs/locales/zh/tipi.d.ts +4 -0
  114. package/dist/cjs/locales/zh/tipi.js +31 -0
  115. package/dist/cjs/locales/zh/ucla-ls3.d.ts +4 -0
  116. package/dist/cjs/locales/zh/ucla-ls3.js +34 -0
  117. package/dist/cjs/types.d.ts +10 -2
  118. package/dist/esm/inventories/cbi.d.ts +31 -0
  119. package/dist/esm/inventories/cbi.js +119 -0
  120. package/dist/esm/inventories/csi16.d.ts +10 -0
  121. package/dist/esm/inventories/csi16.js +157 -0
  122. package/dist/esm/inventories/eat26.d.ts +12 -0
  123. package/dist/esm/inventories/eat26.js +108 -0
  124. package/dist/esm/inventories/gds15.d.ts +11 -0
  125. package/dist/esm/inventories/gds15.js +78 -0
  126. package/dist/esm/inventories/index.d.ts +14 -1
  127. package/dist/esm/inventories/index.js +24 -0
  128. package/dist/esm/inventories/pc-ptsd-5.d.ts +12 -0
  129. package/dist/esm/inventories/pc-ptsd-5.js +88 -0
  130. package/dist/esm/inventories/pcl5.d.ts +10 -0
  131. package/dist/esm/inventories/pcl5.js +121 -0
  132. package/dist/esm/inventories/phq15.d.ts +10 -0
  133. package/dist/esm/inventories/phq15.js +71 -0
  134. package/dist/esm/inventories/phq4.d.ts +11 -0
  135. package/dist/esm/inventories/phq4.js +70 -0
  136. package/dist/esm/inventories/phq8.d.ts +11 -0
  137. package/dist/esm/inventories/phq8.js +68 -0
  138. package/dist/esm/inventories/tipi.d.ts +10 -0
  139. package/dist/esm/inventories/tipi.js +67 -0
  140. package/dist/esm/inventories/ucla-ls3.d.ts +10 -0
  141. package/dist/esm/inventories/ucla-ls3.js +124 -0
  142. package/dist/esm/locales/de/cbi.d.ts +7 -0
  143. package/dist/esm/locales/de/cbi.js +108 -0
  144. package/dist/esm/locales/de/csi16.d.ts +3 -0
  145. package/dist/esm/locales/de/csi16.js +59 -0
  146. package/dist/esm/locales/de/eat26.d.ts +3 -0
  147. package/dist/esm/locales/de/eat26.js +45 -0
  148. package/dist/esm/locales/de/gds15.d.ts +4 -0
  149. package/dist/esm/locales/de/gds15.js +32 -0
  150. package/dist/esm/locales/de/pc-ptsd-5.d.ts +4 -0
  151. package/dist/esm/locales/de/pc-ptsd-5.js +30 -0
  152. package/dist/esm/locales/de/pcl5.d.ts +4 -0
  153. package/dist/esm/locales/de/pcl5.js +46 -0
  154. package/dist/esm/locales/de/phq15.d.ts +4 -0
  155. package/dist/esm/locales/de/phq15.js +33 -0
  156. package/dist/esm/locales/de/phq4.d.ts +4 -0
  157. package/dist/esm/locales/de/phq4.js +33 -0
  158. package/dist/esm/locales/de/phq8.d.ts +4 -0
  159. package/dist/esm/locales/de/phq8.js +33 -0
  160. package/dist/esm/locales/de/tipi.d.ts +4 -0
  161. package/dist/esm/locales/de/tipi.js +37 -0
  162. package/dist/esm/locales/de/ucla-ls3.d.ts +4 -0
  163. package/dist/esm/locales/de/ucla-ls3.js +46 -0
  164. package/dist/esm/locales/es/cbi.d.ts +7 -0
  165. package/dist/esm/locales/es/cbi.js +108 -0
  166. package/dist/esm/locales/es/csi16.d.ts +3 -0
  167. package/dist/esm/locales/es/csi16.js +66 -0
  168. package/dist/esm/locales/es/eat26.d.ts +3 -0
  169. package/dist/esm/locales/es/eat26.js +45 -0
  170. package/dist/esm/locales/es/gds15.d.ts +4 -0
  171. package/dist/esm/locales/es/gds15.js +32 -0
  172. package/dist/esm/locales/es/pc-ptsd-5.d.ts +4 -0
  173. package/dist/esm/locales/es/pc-ptsd-5.js +30 -0
  174. package/dist/esm/locales/es/pcl5.d.ts +4 -0
  175. package/dist/esm/locales/es/pcl5.js +46 -0
  176. package/dist/esm/locales/es/phq15.d.ts +4 -0
  177. package/dist/esm/locales/es/phq15.js +33 -0
  178. package/dist/esm/locales/es/phq4.d.ts +4 -0
  179. package/dist/esm/locales/es/phq4.js +33 -0
  180. package/dist/esm/locales/es/phq8.d.ts +4 -0
  181. package/dist/esm/locales/es/phq8.js +33 -0
  182. package/dist/esm/locales/es/tipi.d.ts +4 -0
  183. package/dist/esm/locales/es/tipi.js +37 -0
  184. package/dist/esm/locales/es/ucla-ls3.d.ts +4 -0
  185. package/dist/esm/locales/es/ucla-ls3.js +42 -0
  186. package/dist/esm/locales/index.js +66 -0
  187. package/dist/esm/locales/tr/cbi.d.ts +8 -0
  188. package/dist/esm/locales/tr/cbi.js +109 -0
  189. package/dist/esm/locales/tr/csi16.d.ts +3 -0
  190. package/dist/esm/locales/tr/csi16.js +66 -0
  191. package/dist/esm/locales/tr/eat26.d.ts +3 -0
  192. package/dist/esm/locales/tr/eat26.js +45 -0
  193. package/dist/esm/locales/tr/gds15.d.ts +4 -0
  194. package/dist/esm/locales/tr/gds15.js +32 -0
  195. package/dist/esm/locales/tr/pc-ptsd-5.d.ts +4 -0
  196. package/dist/esm/locales/tr/pc-ptsd-5.js +30 -0
  197. package/dist/esm/locales/tr/pcl5.d.ts +4 -0
  198. package/dist/esm/locales/tr/pcl5.js +46 -0
  199. package/dist/esm/locales/tr/phq15.d.ts +4 -0
  200. package/dist/esm/locales/tr/phq15.js +33 -0
  201. package/dist/esm/locales/tr/phq4.d.ts +4 -0
  202. package/dist/esm/locales/tr/phq4.js +33 -0
  203. package/dist/esm/locales/tr/phq8.d.ts +4 -0
  204. package/dist/esm/locales/tr/phq8.js +31 -0
  205. package/dist/esm/locales/tr/tipi.d.ts +4 -0
  206. package/dist/esm/locales/tr/tipi.js +37 -0
  207. package/dist/esm/locales/tr/ucla-ls3.d.ts +4 -0
  208. package/dist/esm/locales/tr/ucla-ls3.js +42 -0
  209. package/dist/esm/locales/zh/cbi.d.ts +7 -0
  210. package/dist/esm/locales/zh/cbi.js +108 -0
  211. package/dist/esm/locales/zh/csi16.d.ts +3 -0
  212. package/dist/esm/locales/zh/csi16.js +44 -0
  213. package/dist/esm/locales/zh/eat26.d.ts +3 -0
  214. package/dist/esm/locales/zh/eat26.js +43 -0
  215. package/dist/esm/locales/zh/gds15.d.ts +4 -0
  216. package/dist/esm/locales/zh/gds15.js +32 -0
  217. package/dist/esm/locales/zh/pc-ptsd-5.d.ts +4 -0
  218. package/dist/esm/locales/zh/pc-ptsd-5.js +30 -0
  219. package/dist/esm/locales/zh/pcl5.d.ts +4 -0
  220. package/dist/esm/locales/zh/pcl5.js +42 -0
  221. package/dist/esm/locales/zh/phq15.d.ts +4 -0
  222. package/dist/esm/locales/zh/phq15.js +33 -0
  223. package/dist/esm/locales/zh/phq4.d.ts +4 -0
  224. package/dist/esm/locales/zh/phq4.js +33 -0
  225. package/dist/esm/locales/zh/phq8.d.ts +4 -0
  226. package/dist/esm/locales/zh/phq8.js +29 -0
  227. package/dist/esm/locales/zh/tipi.d.ts +4 -0
  228. package/dist/esm/locales/zh/tipi.js +29 -0
  229. package/dist/esm/locales/zh/ucla-ls3.d.ts +4 -0
  230. package/dist/esm/locales/zh/ucla-ls3.js +32 -0
  231. package/dist/esm/types.d.ts +10 -2
  232. package/package.json +22 -3
  233. package/src/inventories/cbi.ts +131 -0
  234. package/src/inventories/csi16.ts +189 -0
  235. package/src/inventories/eat26.ts +118 -0
  236. package/src/inventories/gds15.ts +87 -0
  237. package/src/inventories/index.ts +36 -1
  238. package/src/inventories/pc-ptsd-5.ts +96 -0
  239. package/src/inventories/pcl5.ts +127 -0
  240. package/src/inventories/phq15.ts +77 -0
  241. package/src/inventories/phq4.ts +76 -0
  242. package/src/inventories/phq8.ts +73 -0
  243. package/src/inventories/tipi.ts +74 -0
  244. package/src/inventories/ucla-ls3.ts +131 -0
  245. package/src/locales/de/cbi.ts +111 -0
  246. package/src/locales/de/csi16.ts +66 -0
  247. package/src/locales/de/eat26.ts +52 -0
  248. package/src/locales/de/gds15.ts +35 -0
  249. package/src/locales/de/pc-ptsd-5.ts +35 -0
  250. package/src/locales/de/pcl5.ts +51 -0
  251. package/src/locales/de/phq15.ts +38 -0
  252. package/src/locales/de/phq4.ts +37 -0
  253. package/src/locales/de/phq8.ts +37 -0
  254. package/src/locales/de/tipi.ts +42 -0
  255. package/src/locales/de/ucla-ls3.ts +51 -0
  256. package/src/locales/es/cbi.ts +111 -0
  257. package/src/locales/es/csi16.ts +73 -0
  258. package/src/locales/es/eat26.ts +52 -0
  259. package/src/locales/es/gds15.ts +35 -0
  260. package/src/locales/es/pc-ptsd-5.ts +35 -0
  261. package/src/locales/es/pcl5.ts +51 -0
  262. package/src/locales/es/phq15.ts +37 -0
  263. package/src/locales/es/phq4.ts +37 -0
  264. package/src/locales/es/phq8.ts +38 -0
  265. package/src/locales/es/tipi.ts +42 -0
  266. package/src/locales/es/ucla-ls3.ts +47 -0
  267. package/src/locales/index.ts +66 -0
  268. package/src/locales/tr/cbi.ts +112 -0
  269. package/src/locales/tr/csi16.ts +73 -0
  270. package/src/locales/tr/eat26.ts +52 -0
  271. package/src/locales/tr/gds15.ts +35 -0
  272. package/src/locales/tr/pc-ptsd-5.ts +35 -0
  273. package/src/locales/tr/pcl5.ts +51 -0
  274. package/src/locales/tr/phq15.ts +37 -0
  275. package/src/locales/tr/phq4.ts +37 -0
  276. package/src/locales/tr/phq8.ts +35 -0
  277. package/src/locales/tr/tipi.ts +42 -0
  278. package/src/locales/tr/ucla-ls3.ts +46 -0
  279. package/src/locales/zh/cbi.ts +111 -0
  280. package/src/locales/zh/csi16.ts +51 -0
  281. package/src/locales/zh/eat26.ts +48 -0
  282. package/src/locales/zh/gds15.ts +35 -0
  283. package/src/locales/zh/pc-ptsd-5.ts +35 -0
  284. package/src/locales/zh/pcl5.ts +46 -0
  285. package/src/locales/zh/phq15.ts +36 -0
  286. package/src/locales/zh/phq4.ts +36 -0
  287. package/src/locales/zh/phq8.ts +32 -0
  288. package/src/locales/zh/tipi.ts +33 -0
  289. package/src/locales/zh/ucla-ls3.ts +36 -0
  290. package/src/types.ts +10 -1
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.csi16 = void 0;
4
+ /** Descending 5–0 scale: the pole named first on the form scores highest. */
5
+ const descending = [5, 4, 3, 2, 1, 0].map((value) => ({
6
+ value,
7
+ label: { en: String(value) },
8
+ }));
9
+ /** Ascending 0–5 scale, for the two pairs the form prints the other way round. */
10
+ const ascending = [0, 1, 2, 3, 4, 5].map((value) => ({
11
+ value,
12
+ label: { en: String(value) },
13
+ }));
14
+ const labelled = (labels, values) => labels.map((label, i) => ({ value: values[i], label: { en: label } }));
15
+ /**
16
+ * CSI-16 — Couples Satisfaction Index, 16-item version.
17
+ *
18
+ * 16 items on four different answer scales, total 0–81, higher is more
19
+ * satisfied; below 51.5 suggests notable dissatisfaction. Freely
20
+ * available for clinical and research use per the authors' own form;
21
+ * commercial use is not addressed either way — see SOURCES.md.
22
+ */
23
+ exports.csi16 = {
24
+ id: "csi16",
25
+ version: "1.0.0",
26
+ categories: ["relationships"],
27
+ audience: ["adult"],
28
+ respondent: "self",
29
+ title: {
30
+ en: "Couples Satisfaction Index (CSI-16)",
31
+ },
32
+ description: {
33
+ en: "A 16-item self-report measure of relationship satisfaction, built with item response theory for precision in the dissatisfied range.",
34
+ },
35
+ instructions: {
36
+ 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.",
37
+ },
38
+ defaultLocale: "en",
39
+ // Most items use the 0-5 "Not at all ... Completely" scale; the rest
40
+ // carry their own, so the assessment-level scale is that one.
41
+ options: labelled(["Not at all", "A little", "Somewhat", "Mostly", "Almost Completely", "Completely"], [0, 1, 2, 3, 4, 5]),
42
+ questions: [
43
+ {
44
+ id: "csi16-1",
45
+ text: {
46
+ en: "Please indicate the degree of happiness, all things considered, of your relationship.",
47
+ },
48
+ options: labelled([
49
+ "Extremely Unhappy",
50
+ "Fairly Unhappy",
51
+ "A Little Unhappy",
52
+ "Happy",
53
+ "Very Happy",
54
+ "Extremely Happy",
55
+ "Perfect",
56
+ ], [0, 1, 2, 3, 4, 5, 6]),
57
+ },
58
+ {
59
+ id: "csi16-2",
60
+ text: {
61
+ en: "In general, how often do you think that things between you and your partner are going well?",
62
+ },
63
+ options: labelled([
64
+ "All the time",
65
+ "Most of the time",
66
+ "More often than not",
67
+ "Occasionally",
68
+ "Rarely",
69
+ "Never",
70
+ ], [5, 4, 3, 2, 1, 0]),
71
+ },
72
+ {
73
+ id: "csi16-3",
74
+ text: { en: "Our relationship is strong" },
75
+ options: labelled([
76
+ "Not at all TRUE",
77
+ "A little TRUE",
78
+ "Somewhat TRUE",
79
+ "Mostly TRUE",
80
+ "Almost Completely TRUE",
81
+ "Completely TRUE",
82
+ ], [0, 1, 2, 3, 4, 5]),
83
+ },
84
+ {
85
+ id: "csi16-4",
86
+ text: { en: "My relationship with my partner makes me happy" },
87
+ options: labelled([
88
+ "Not at all TRUE",
89
+ "A little TRUE",
90
+ "Somewhat TRUE",
91
+ "Mostly TRUE",
92
+ "Almost Completely TRUE",
93
+ "Completely TRUE",
94
+ ], [0, 1, 2, 3, 4, 5]),
95
+ },
96
+ {
97
+ id: "csi16-5",
98
+ text: { en: "I have a warm and comfortable relationship with my partner" },
99
+ options: labelled([
100
+ "Not at all TRUE",
101
+ "A little TRUE",
102
+ "Somewhat TRUE",
103
+ "Mostly TRUE",
104
+ "Almost Completely TRUE",
105
+ "Completely TRUE",
106
+ ], [0, 1, 2, 3, 4, 5]),
107
+ },
108
+ {
109
+ id: "csi16-6",
110
+ text: { en: "I really feel like part of a team with my partner" },
111
+ options: labelled([
112
+ "Not at all TRUE",
113
+ "A little TRUE",
114
+ "Somewhat TRUE",
115
+ "Mostly TRUE",
116
+ "Almost Completely TRUE",
117
+ "Completely TRUE",
118
+ ], [0, 1, 2, 3, 4, 5]),
119
+ },
120
+ { id: "csi16-7", text: { en: "How rewarding is your relationship with your partner?" } },
121
+ { id: "csi16-8", text: { en: "How well does your partner meet your needs?" } },
122
+ {
123
+ id: "csi16-9",
124
+ text: { en: "To what extent has your relationship met your original expectations?" },
125
+ },
126
+ { id: "csi16-10", text: { en: "In general, how satisfied are you with your relationship?" } },
127
+ { id: "csi16-11", text: { en: "INTERESTING — BORING" }, options: descending },
128
+ { id: "csi16-12", text: { en: "BAD — GOOD" }, options: ascending },
129
+ { id: "csi16-13", text: { en: "FULL — EMPTY" }, options: descending },
130
+ { id: "csi16-14", text: { en: "STURDY — FRAGILE" }, options: descending },
131
+ { id: "csi16-15", text: { en: "DISCOURAGING — HOPEFUL" }, options: ascending },
132
+ { id: "csi16-16", text: { en: "ENJOYABLE — MISERABLE" }, options: descending },
133
+ ],
134
+ scoring: {
135
+ kind: "sum",
136
+ missing: { strategy: "require-complete" },
137
+ bands: [
138
+ {
139
+ id: "dissatisfied",
140
+ min: 0,
141
+ max: 51,
142
+ label: { en: "Notable relationship dissatisfaction" },
143
+ },
144
+ {
145
+ id: "satisfied",
146
+ min: 52,
147
+ max: 81,
148
+ label: { en: "No notable relationship dissatisfaction" },
149
+ },
150
+ ],
151
+ },
152
+ meta: {
153
+ reference: "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.",
154
+ license: "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",
155
+ licenseFlag: "free-with-conditions",
156
+ translationProvenance: "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.",
157
+ scoringNote: "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.",
158
+ renderingNote: "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.",
159
+ },
160
+ };
@@ -0,0 +1,12 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * EAT-26 — Eating Attitudes Test, 26-item version.
4
+ *
5
+ * 26 items, total 0–78, referral recommended at 20 or above. psytools
6
+ * bundles Part B of Garner's form (the 26 scored items); the BMI section
7
+ * and the five behavioural questions of Parts A and C are part of his
8
+ * wider screening protocol, not of the EAT-26 score, and are not shipped.
9
+ * Free for individual use; commercial web platforms that charge user fees
10
+ * need a licensing agreement from the copyright holder — see SOURCES.md.
11
+ */
12
+ export declare const eat26: AssessmentDefinition;
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.eat26 = void 0;
4
+ /**
5
+ * The EAT-26's six frequency anchors. Items 1–25 score only the top three
6
+ * (Always 3, Usually 2, Often 1; Sometimes/Rarely/Never all 0) and item 26
7
+ * scores the bottom three the other way round — the instrument's own
8
+ * asymmetric key, not a reversal of a symmetric scale, which is why both
9
+ * scales are spelled out rather than expressed with `reverseScored`.
10
+ */
11
+ const frequencyLabels = ["Always", "Usually", "Often", "Sometimes", "Rarely", "Never"];
12
+ const symptomOptions = [3, 2, 1, 0, 0, 0].map((value, i) => ({
13
+ value,
14
+ label: { en: frequencyLabels[i] },
15
+ }));
16
+ const item26Options = [0, 0, 0, 1, 2, 3].map((value, i) => ({
17
+ value,
18
+ label: { en: frequencyLabels[i] },
19
+ }));
20
+ /**
21
+ * EAT-26 — Eating Attitudes Test, 26-item version.
22
+ *
23
+ * 26 items, total 0–78, referral recommended at 20 or above. psytools
24
+ * bundles Part B of Garner's form (the 26 scored items); the BMI section
25
+ * and the five behavioural questions of Parts A and C are part of his
26
+ * wider screening protocol, not of the EAT-26 score, and are not shipped.
27
+ * Free for individual use; commercial web platforms that charge user fees
28
+ * need a licensing agreement from the copyright holder — see SOURCES.md.
29
+ */
30
+ exports.eat26 = {
31
+ id: "eat26",
32
+ version: "1.0.0",
33
+ categories: ["disordered-eating"],
34
+ audience: ["adolescent", "adult"],
35
+ respondent: "self",
36
+ title: {
37
+ en: "Eating Attitudes Test (EAT-26)",
38
+ },
39
+ description: {
40
+ en: "A 26-item self-report screening measure of symptoms and concerns characteristic of eating disorders.",
41
+ },
42
+ instructions: {
43
+ 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.",
44
+ },
45
+ defaultLocale: "en",
46
+ options: symptomOptions,
47
+ questions: [
48
+ { id: "eat26-1", text: { en: "Am terrified about being overweight." } },
49
+ { id: "eat26-2", text: { en: "Avoid eating when I am hungry." } },
50
+ { id: "eat26-3", text: { en: "Find myself preoccupied with food." } },
51
+ {
52
+ id: "eat26-4",
53
+ text: { en: "Have gone on eating binges where I feel that I may not be able to stop." },
54
+ },
55
+ { id: "eat26-5", text: { en: "Cut my food into small pieces." } },
56
+ { id: "eat26-6", text: { en: "Aware of the calorie content of foods that I eat." } },
57
+ {
58
+ id: "eat26-7",
59
+ text: {
60
+ en: "Particularly avoid food with a high carbohydrate content (i.e. bread, rice, potatoes, etc.)",
61
+ },
62
+ },
63
+ { id: "eat26-8", text: { en: "Feel that others would prefer if I ate more." } },
64
+ { id: "eat26-9", text: { en: "Vomit after I have eaten." } },
65
+ { id: "eat26-10", text: { en: "Feel extremely guilty after eating." } },
66
+ { id: "eat26-11", text: { en: "Am preoccupied with a desire to be thinner." } },
67
+ { id: "eat26-12", text: { en: "Think about burning up calories when I exercise." } },
68
+ { id: "eat26-13", text: { en: "Other people think that I am too thin." } },
69
+ { id: "eat26-14", text: { en: "Am preoccupied with the thought of having fat on my body." } },
70
+ { id: "eat26-15", text: { en: "Take longer than others to eat my meals." } },
71
+ { id: "eat26-16", text: { en: "Avoid foods with sugar in them." } },
72
+ { id: "eat26-17", text: { en: "Eat diet foods." } },
73
+ { id: "eat26-18", text: { en: "Feel that food controls my life." } },
74
+ { id: "eat26-19", text: { en: "Display self-control around food." } },
75
+ { id: "eat26-20", text: { en: "Feel that others pressure me to eat." } },
76
+ { id: "eat26-21", text: { en: "Give too much time and thought to food." } },
77
+ { id: "eat26-22", text: { en: "Feel uncomfortable after eating sweets." } },
78
+ { id: "eat26-23", text: { en: "Engage in dieting behavior." } },
79
+ { id: "eat26-24", text: { en: "Like my stomach to be empty." } },
80
+ { id: "eat26-25", text: { en: "Have the impulse to vomit after meals." } },
81
+ { id: "eat26-26", text: { en: "Enjoy trying new rich foods." }, options: item26Options },
82
+ ],
83
+ scoring: {
84
+ kind: "sum",
85
+ missing: { strategy: "prorate", minAnswered: 21 },
86
+ bands: [
87
+ {
88
+ id: "below-cutoff",
89
+ min: 0,
90
+ max: 19,
91
+ label: { en: "Below the referral cutoff" },
92
+ },
93
+ {
94
+ id: "at-or-above-cutoff",
95
+ min: 20,
96
+ max: 78,
97
+ label: {
98
+ en: "At or above the referral cutoff — evaluation by a qualified professional is recommended",
99
+ },
100
+ },
101
+ ],
102
+ },
103
+ meta: {
104
+ reference: "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.",
105
+ license: "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)",
106
+ licenseFlag: "free-with-conditions",
107
+ translationProvenance: "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.",
108
+ renderingNote: "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.",
109
+ scoringNote: "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.",
110
+ },
111
+ };
@@ -0,0 +1,11 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * GDS-15: Geriatric Depression Scale, short form.
4
+ *
5
+ * 15 yes/no items about the past week, one point per answer in the
6
+ * depressive direction, total 0-15. "No" is the depressive answer on
7
+ * items 1, 5, 7, 11 and 13 (modelled as `reverseScored`), "yes" on the
8
+ * other ten. Bands follow the authors' own scoring page: more than 5
9
+ * suggests depression, more than 10 is almost always depression.
10
+ */
11
+ export declare const gds15: AssessmentDefinition;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.gds15 = void 0;
4
+ /** Yes/no, with "yes" scoring 1. Items keyed on "no" are `reverseScored`. */
5
+ const yesNoOptions = [
6
+ { value: 1, label: { en: "Yes" } },
7
+ { value: 0, label: { en: "No" } },
8
+ ];
9
+ /** Items where "no" is the answer that indicates depression. */
10
+ const keyedNo = new Set([1, 5, 7, 11, 13]);
11
+ const items = [
12
+ "Are you basically satisfied with your life?",
13
+ "Have you dropped many of your activities and interests?",
14
+ "Do you feel that your life is empty?",
15
+ "Do you often get bored?",
16
+ "Are you in good spirits most of the time?",
17
+ "Are you afraid that something bad is going to happen to you?",
18
+ "Do you feel happy most of the time?",
19
+ "Do you often feel helpless?",
20
+ "Do you prefer to stay at home, rather than going out and doing new things?",
21
+ "Do you feel you have more problems with memory than most?",
22
+ "Do you think it is wonderful to be alive now?",
23
+ "Do you feel pretty worthless the way you are now?",
24
+ "Do you feel full of energy?",
25
+ "Do you feel that your situation is hopeless?",
26
+ "Do you think that most people are better off than you are?",
27
+ ];
28
+ /**
29
+ * GDS-15: Geriatric Depression Scale, short form.
30
+ *
31
+ * 15 yes/no items about the past week, one point per answer in the
32
+ * depressive direction, total 0-15. "No" is the depressive answer on
33
+ * items 1, 5, 7, 11 and 13 (modelled as `reverseScored`), "yes" on the
34
+ * other ten. Bands follow the authors' own scoring page: more than 5
35
+ * suggests depression, more than 10 is almost always depression.
36
+ */
37
+ exports.gds15 = {
38
+ id: "gds15",
39
+ version: "1.0.0",
40
+ categories: ["depression"],
41
+ audience: ["adult"],
42
+ respondent: "self",
43
+ title: {
44
+ en: "Geriatric Depression Scale, Short Form (GDS-15)",
45
+ },
46
+ description: {
47
+ en: "A 15-item yes/no screening scale for depression in older adults.",
48
+ },
49
+ instructions: {
50
+ en: "Choose the best answer for how you have felt over the past week:",
51
+ },
52
+ defaultLocale: "en",
53
+ options: yesNoOptions,
54
+ questions: items.map((text, i) => ({
55
+ id: `gds15-${i + 1}`,
56
+ text: { en: text },
57
+ ...(keyedNo.has(i + 1) ? { reverseScored: true } : {}),
58
+ })),
59
+ scoring: {
60
+ kind: "sum",
61
+ missing: { strategy: "prorate", minAnswered: 10 },
62
+ bands: [
63
+ { id: "below-cutoff", min: 0, max: 5, label: { en: "Below the follow-up threshold" } },
64
+ {
65
+ id: "suggestive",
66
+ min: 6,
67
+ max: 10,
68
+ label: { en: "Suggestive of depression: a follow-up interview is warranted" },
69
+ },
70
+ { id: "likely", min: 11, max: 15, label: { en: "Almost always depression" } },
71
+ ],
72
+ },
73
+ meta: {
74
+ reference: "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.",
75
+ license: "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.",
76
+ licenseFlag: "free",
77
+ translationProvenance: "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.",
78
+ timeframe: "past week",
79
+ scoringNote: "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.",
80
+ },
81
+ };
@@ -21,12 +21,25 @@ import { miniIpip6 } from "./mini-ipip6.ts";
21
21
  import { bisBas } from "./bis-bas.ts";
22
22
  import { ipipNeo60 } from "./ipip-neo-60.ts";
23
23
  import { ipipViaR } from "./ipip-via-r.ts";
24
+ import { phq15 } from "./phq15.ts";
25
+ import { pcl5 } from "./pcl5.ts";
26
+ import { eat26 } from "./eat26.ts";
27
+ import { csi16 } from "./csi16.ts";
28
+ import { uclaLs3 } from "./ucla-ls3.ts";
29
+ import { cbi } from "./cbi.ts";
30
+ import { pcPtsd5 } from "./pc-ptsd-5.ts";
31
+ import { phq4 } from "./phq4.ts";
32
+ import { phq8 } from "./phq8.ts";
33
+ import { gds15 } from "./gds15.ts";
34
+ import { tipi } from "./tipi.ts";
24
35
  export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses };
25
36
  export { miniIpip6, bisBas, ipipNeo60, ipipViaR };
37
+ export { phq15, pcl5, eat26, csi16, uclaLs3, cbi };
38
+ export { pcPtsd5, phq4, phq8, gds15, tipi };
26
39
  export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
27
40
  /** All predefined inventory definitions shipped with psytools, by id. */
28
41
  export declare const inventories: Readonly<Record<string, AssessmentDefinition>>;
29
- export type InventoryId = "phq9" | "gad7" | "dass21" | "who5" | "asrs6" | "aq10" | "audit" | "mini-ipip" | "cesd" | "ecr-r" | "erq" | "hsps" | "swls" | "flourishing" | "k10" | "k6" | "rses" | "mini-ipip6" | "bis-bas" | "ipip-neo-60" | "ipip-via-r";
42
+ export type InventoryId = "phq9" | "gad7" | "dass21" | "who5" | "asrs6" | "aq10" | "audit" | "mini-ipip" | "cesd" | "ecr-r" | "erq" | "hsps" | "swls" | "flourishing" | "k10" | "k6" | "rses" | "mini-ipip6" | "bis-bas" | "ipip-neo-60" | "ipip-via-r" | "phq15" | "pcl5" | "eat26" | "csi16" | "ucla-ls3" | "cbi" | "pc-ptsd-5" | "phq4" | "phq8" | "gds15" | "tipi";
30
43
  /**
31
44
  * Instantiates a predefined inventory as an `Assessment`.
32
45
  *
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inventories = exports.twoWeekInstructions = exports.twoWeekFrequencyOptions = exports.ipipViaR = exports.ipipNeo60 = exports.bisBas = exports.miniIpip6 = exports.rses = exports.k6 = exports.k10 = exports.flourishing = exports.swls = exports.hsps = exports.erq = exports.ecrR = exports.cesd = exports.miniIpip = exports.audit = exports.aq10 = exports.asrs6 = exports.who5 = exports.dass21 = exports.gad7 = exports.phq9 = void 0;
3
+ exports.inventories = exports.twoWeekInstructions = exports.twoWeekFrequencyOptions = exports.tipi = exports.gds15 = exports.phq8 = exports.phq4 = exports.pcPtsd5 = exports.cbi = exports.uclaLs3 = exports.csi16 = exports.eat26 = exports.pcl5 = exports.phq15 = exports.ipipViaR = exports.ipipNeo60 = exports.bisBas = exports.miniIpip6 = exports.rses = exports.k6 = exports.k10 = exports.flourishing = exports.swls = exports.hsps = exports.erq = exports.ecrR = exports.cesd = exports.miniIpip = exports.audit = exports.aq10 = exports.asrs6 = exports.who5 = exports.dass21 = exports.gad7 = exports.phq9 = void 0;
4
4
  exports.loadInventory = loadInventory;
5
5
  const assessment_ts_1 = require("../assessment.js");
6
6
  const errors_ts_1 = require("../errors.js");
@@ -48,6 +48,28 @@ const ipip_neo_60_ts_1 = require("./ipip-neo-60.js");
48
48
  Object.defineProperty(exports, "ipipNeo60", { enumerable: true, get: function () { return ipip_neo_60_ts_1.ipipNeo60; } });
49
49
  const ipip_via_r_ts_1 = require("./ipip-via-r.js");
50
50
  Object.defineProperty(exports, "ipipViaR", { enumerable: true, get: function () { return ipip_via_r_ts_1.ipipViaR; } });
51
+ const phq15_ts_1 = require("./phq15.js");
52
+ Object.defineProperty(exports, "phq15", { enumerable: true, get: function () { return phq15_ts_1.phq15; } });
53
+ const pcl5_ts_1 = require("./pcl5.js");
54
+ Object.defineProperty(exports, "pcl5", { enumerable: true, get: function () { return pcl5_ts_1.pcl5; } });
55
+ const eat26_ts_1 = require("./eat26.js");
56
+ Object.defineProperty(exports, "eat26", { enumerable: true, get: function () { return eat26_ts_1.eat26; } });
57
+ const csi16_ts_1 = require("./csi16.js");
58
+ Object.defineProperty(exports, "csi16", { enumerable: true, get: function () { return csi16_ts_1.csi16; } });
59
+ const ucla_ls3_ts_1 = require("./ucla-ls3.js");
60
+ Object.defineProperty(exports, "uclaLs3", { enumerable: true, get: function () { return ucla_ls3_ts_1.uclaLs3; } });
61
+ const cbi_ts_1 = require("./cbi.js");
62
+ Object.defineProperty(exports, "cbi", { enumerable: true, get: function () { return cbi_ts_1.cbi; } });
63
+ const pc_ptsd_5_ts_1 = require("./pc-ptsd-5.js");
64
+ Object.defineProperty(exports, "pcPtsd5", { enumerable: true, get: function () { return pc_ptsd_5_ts_1.pcPtsd5; } });
65
+ const phq4_ts_1 = require("./phq4.js");
66
+ Object.defineProperty(exports, "phq4", { enumerable: true, get: function () { return phq4_ts_1.phq4; } });
67
+ const phq8_ts_1 = require("./phq8.js");
68
+ Object.defineProperty(exports, "phq8", { enumerable: true, get: function () { return phq8_ts_1.phq8; } });
69
+ const gds15_ts_1 = require("./gds15.js");
70
+ Object.defineProperty(exports, "gds15", { enumerable: true, get: function () { return gds15_ts_1.gds15; } });
71
+ const tipi_ts_1 = require("./tipi.js");
72
+ Object.defineProperty(exports, "tipi", { enumerable: true, get: function () { return tipi_ts_1.tipi; } });
51
73
  var common_ts_1 = require("./common.js");
52
74
  Object.defineProperty(exports, "twoWeekFrequencyOptions", { enumerable: true, get: function () { return common_ts_1.twoWeekFrequencyOptions; } });
53
75
  Object.defineProperty(exports, "twoWeekInstructions", { enumerable: true, get: function () { return common_ts_1.twoWeekInstructions; } });
@@ -74,6 +96,17 @@ exports.inventories = {
74
96
  "bis-bas": bis_bas_ts_1.bisBas,
75
97
  "ipip-neo-60": ipip_neo_60_ts_1.ipipNeo60,
76
98
  "ipip-via-r": ipip_via_r_ts_1.ipipViaR,
99
+ phq15: phq15_ts_1.phq15,
100
+ pcl5: pcl5_ts_1.pcl5,
101
+ eat26: eat26_ts_1.eat26,
102
+ csi16: csi16_ts_1.csi16,
103
+ "ucla-ls3": ucla_ls3_ts_1.uclaLs3,
104
+ cbi: cbi_ts_1.cbi,
105
+ "pc-ptsd-5": pc_ptsd_5_ts_1.pcPtsd5,
106
+ phq4: phq4_ts_1.phq4,
107
+ phq8: phq8_ts_1.phq8,
108
+ gds15: gds15_ts_1.gds15,
109
+ tipi: tipi_ts_1.tipi,
77
110
  };
78
111
  /**
79
112
  * Instantiates a predefined inventory as an `Assessment`.
@@ -0,0 +1,12 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * PC-PTSD-5: Primary Care PTSD Screen for DSM-5.
4
+ *
5
+ * A lifetime trauma-exposure question followed by five yes/no symptom
6
+ * items about the past month. The score is the count of "yes" answers to
7
+ * the five symptom items (0-5); the exposure question gates them and is
8
+ * not scored. Developed by staff at the VA's National Center for PTSD,
9
+ * public domain. No bands: the VA's cut-point of 4 is explicitly
10
+ * sample-dependent, see `meta.scoringNote`.
11
+ */
12
+ export declare const pcPtsd5: AssessmentDefinition;
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pcPtsd5 = void 0;
4
+ /** The yes/no answer scale of the PC-PTSD-5. A "yes" scores 1. */
5
+ const yesNoOptions = [
6
+ { value: 1, label: { en: "Yes" } },
7
+ { value: 0, label: { en: "No" } },
8
+ ];
9
+ /** The VA form's lead-in to the five symptom items, prepended to each one. */
10
+ const leadIn = "In the past month, have you";
11
+ /**
12
+ * PC-PTSD-5: Primary Care PTSD Screen for DSM-5.
13
+ *
14
+ * A lifetime trauma-exposure question followed by five yes/no symptom
15
+ * items about the past month. The score is the count of "yes" answers to
16
+ * the five symptom items (0-5); the exposure question gates them and is
17
+ * not scored. Developed by staff at the VA's National Center for PTSD,
18
+ * public domain. No bands: the VA's cut-point of 4 is explicitly
19
+ * sample-dependent, see `meta.scoringNote`.
20
+ */
21
+ exports.pcPtsd5 = {
22
+ id: "pc-ptsd-5",
23
+ version: "1.0.0",
24
+ categories: ["post-traumatic-stress"],
25
+ audience: ["adult"],
26
+ respondent: "self",
27
+ title: {
28
+ en: "Primary Care PTSD Screen for DSM-5 (PC-PTSD-5)",
29
+ },
30
+ description: {
31
+ en: "A brief screen for probable posttraumatic stress disorder: one question about lifetime trauma exposure, then five yes/no questions about how the trauma has affected the person in the past month.",
32
+ },
33
+ instructions: {
34
+ en: "Sometimes things happen to people that are unusually or especially frightening, horrible, or traumatic. For example: a serious accident or fire; a physical or sexual assault or abuse; an earthquake or flood; a war; seeing someone be killed or seriously injured; having a loved one die through homicide or suicide.",
35
+ },
36
+ defaultLocale: "en",
37
+ options: yesNoOptions,
38
+ questions: [
39
+ {
40
+ id: "pc-ptsd-5-trauma",
41
+ text: {
42
+ en: "Have you ever experienced this kind of event? If no, screen total = 0. Please stop here. If yes, please answer the questions below.",
43
+ },
44
+ },
45
+ {
46
+ id: "pc-ptsd-5-1",
47
+ text: {
48
+ en: `${leadIn} had nightmares about the event(s) or thought about the event(s) when you did not want to?`,
49
+ },
50
+ optional: true,
51
+ },
52
+ {
53
+ id: "pc-ptsd-5-2",
54
+ text: {
55
+ en: `${leadIn} tried hard not to think about the event(s) or went out of your way to avoid situations that reminded you of the event(s)?`,
56
+ },
57
+ optional: true,
58
+ },
59
+ {
60
+ id: "pc-ptsd-5-3",
61
+ text: { en: `${leadIn} been constantly on guard, watchful, or easily startled?` },
62
+ optional: true,
63
+ },
64
+ {
65
+ id: "pc-ptsd-5-4",
66
+ text: { en: `${leadIn} felt numb or detached from people, activities, or your surroundings?` },
67
+ optional: true,
68
+ },
69
+ {
70
+ id: "pc-ptsd-5-5",
71
+ text: {
72
+ en: `${leadIn} felt guilty or unable to stop blaming yourself or others for the event(s) or any problems the event(s) may have caused?`,
73
+ },
74
+ optional: true,
75
+ },
76
+ ],
77
+ scoring: {
78
+ kind: "count",
79
+ missing: { strategy: "ignore" },
80
+ items: [1, 2, 3, 4, 5].map((n) => ({ questionId: `pc-ptsd-5-${n}`, minValue: 1 })),
81
+ },
82
+ meta: {
83
+ reference: "Prins, A., Bovin, M. J., Kimerling, R., Kaloupek, D. G., Marx, B. P., Pless Kaiser, A., & Schnurr, P. P. (2015). The Primary Care PTSD Screen for DSM-5 (PC-PTSD-5) [Measurement instrument]. Available from https://www.ptsd.va.gov",
84
+ license: "Free: developed by staff at the VA's National Center for PTSD, in the public domain and not copyrighted",
85
+ licenseFlag: "free",
86
+ translationProvenance: "en: transcribed from the VA's own PC-PTSD-5 form PDF (version date 2022), https://www.ptsd.va.gov/professional/assessment/screens/pc-ptsd.asp; the form's lead-in \"In the past month, have you...\" is prepended to each symptom item and the six bulleted examples are joined into one sentence (see SOURCES.md). Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5-5) from the original English; the VA's own Spanish version was not consulted and the texts are unverified. See SOURCES.md.",
87
+ timeframe: "exposure: lifetime; symptoms: past month",
88
+ scoringNote: "Count of \"yes\" answers to the five symptom items, 0-5. The exposure question (pc-ptsd-5-trauma) is not scored; it gates the symptom items, which are marked optional so a respondent who answers \"no\" and stops is scored 0, as the VA specifies. psytools cannot enforce the gate: render the symptom items only after a \"yes\", and treat a response that answers them after a \"no\" as invalid. No bands are defined on purpose: the VA reports that \"a cut-point of 4 ideally balanced false negatives and false positives for the overall sample and for men\", that it produced many false negatives for women, and that \"clinicians should consider sample characteristics and screening purposes when selecting a cut-point.\" Apply your own cut-point over `score`.",
89
+ renderingNote: "Show pc-ptsd-5-trauma first. Show pc-ptsd-5-1 to pc-ptsd-5-5 only when it is answered \"yes\" (value 1).",
90
+ },
91
+ };
@@ -0,0 +1,10 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * PCL-5 — PTSD Checklist for DSM-5, standard (past month) form.
4
+ *
5
+ * 20 items, 0–4 scale, total 0–80. Developed by staff at the VA's
6
+ * National Center for PTSD and in the public domain. No bands are
7
+ * defined: the VA publishes a cutoff *range* (31–33) it calls initial
8
+ * research, not a settled threshold — see `meta.scoringNote`.
9
+ */
10
+ export declare const pcl5: AssessmentDefinition;