psytools 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/LICENSE +8 -5
  2. package/README.md +14 -4
  3. package/SOURCES.md +108 -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/index.d.ts +8 -1
  11. package/dist/cjs/inventories/index.js +19 -1
  12. package/dist/cjs/inventories/pcl5.d.ts +10 -0
  13. package/dist/cjs/inventories/pcl5.js +124 -0
  14. package/dist/cjs/inventories/phq15.d.ts +10 -0
  15. package/dist/cjs/inventories/phq15.js +74 -0
  16. package/dist/cjs/inventories/ucla-ls3.d.ts +10 -0
  17. package/dist/cjs/inventories/ucla-ls3.js +127 -0
  18. package/dist/cjs/locales/de/cbi.d.ts +7 -0
  19. package/dist/cjs/locales/de/cbi.js +110 -0
  20. package/dist/cjs/locales/de/csi16.d.ts +3 -0
  21. package/dist/cjs/locales/de/csi16.js +61 -0
  22. package/dist/cjs/locales/de/eat26.d.ts +3 -0
  23. package/dist/cjs/locales/de/eat26.js +47 -0
  24. package/dist/cjs/locales/de/pcl5.d.ts +4 -0
  25. package/dist/cjs/locales/de/pcl5.js +48 -0
  26. package/dist/cjs/locales/de/phq15.d.ts +4 -0
  27. package/dist/cjs/locales/de/phq15.js +35 -0
  28. package/dist/cjs/locales/de/ucla-ls3.d.ts +4 -0
  29. package/dist/cjs/locales/de/ucla-ls3.js +48 -0
  30. package/dist/cjs/locales/es/cbi.d.ts +7 -0
  31. package/dist/cjs/locales/es/cbi.js +110 -0
  32. package/dist/cjs/locales/es/csi16.d.ts +3 -0
  33. package/dist/cjs/locales/es/csi16.js +68 -0
  34. package/dist/cjs/locales/es/eat26.d.ts +3 -0
  35. package/dist/cjs/locales/es/eat26.js +47 -0
  36. package/dist/cjs/locales/es/pcl5.d.ts +4 -0
  37. package/dist/cjs/locales/es/pcl5.js +48 -0
  38. package/dist/cjs/locales/es/phq15.d.ts +4 -0
  39. package/dist/cjs/locales/es/phq15.js +35 -0
  40. package/dist/cjs/locales/es/ucla-ls3.d.ts +4 -0
  41. package/dist/cjs/locales/es/ucla-ls3.js +44 -0
  42. package/dist/cjs/locales/index.js +36 -0
  43. package/dist/cjs/locales/tr/cbi.d.ts +8 -0
  44. package/dist/cjs/locales/tr/cbi.js +111 -0
  45. package/dist/cjs/locales/tr/csi16.d.ts +3 -0
  46. package/dist/cjs/locales/tr/csi16.js +68 -0
  47. package/dist/cjs/locales/tr/eat26.d.ts +3 -0
  48. package/dist/cjs/locales/tr/eat26.js +47 -0
  49. package/dist/cjs/locales/tr/pcl5.d.ts +4 -0
  50. package/dist/cjs/locales/tr/pcl5.js +48 -0
  51. package/dist/cjs/locales/tr/phq15.d.ts +4 -0
  52. package/dist/cjs/locales/tr/phq15.js +35 -0
  53. package/dist/cjs/locales/tr/ucla-ls3.d.ts +4 -0
  54. package/dist/cjs/locales/tr/ucla-ls3.js +44 -0
  55. package/dist/cjs/locales/zh/cbi.d.ts +7 -0
  56. package/dist/cjs/locales/zh/cbi.js +110 -0
  57. package/dist/cjs/locales/zh/csi16.d.ts +3 -0
  58. package/dist/cjs/locales/zh/csi16.js +46 -0
  59. package/dist/cjs/locales/zh/eat26.d.ts +3 -0
  60. package/dist/cjs/locales/zh/eat26.js +45 -0
  61. package/dist/cjs/locales/zh/pcl5.d.ts +4 -0
  62. package/dist/cjs/locales/zh/pcl5.js +44 -0
  63. package/dist/cjs/locales/zh/phq15.d.ts +4 -0
  64. package/dist/cjs/locales/zh/phq15.js +35 -0
  65. package/dist/cjs/locales/zh/ucla-ls3.d.ts +4 -0
  66. package/dist/cjs/locales/zh/ucla-ls3.js +34 -0
  67. package/dist/cjs/types.d.ts +10 -2
  68. package/dist/esm/inventories/cbi.d.ts +31 -0
  69. package/dist/esm/inventories/cbi.js +119 -0
  70. package/dist/esm/inventories/csi16.d.ts +10 -0
  71. package/dist/esm/inventories/csi16.js +157 -0
  72. package/dist/esm/inventories/eat26.d.ts +12 -0
  73. package/dist/esm/inventories/eat26.js +108 -0
  74. package/dist/esm/inventories/index.d.ts +8 -1
  75. package/dist/esm/inventories/index.js +13 -0
  76. package/dist/esm/inventories/pcl5.d.ts +10 -0
  77. package/dist/esm/inventories/pcl5.js +121 -0
  78. package/dist/esm/inventories/phq15.d.ts +10 -0
  79. package/dist/esm/inventories/phq15.js +71 -0
  80. package/dist/esm/inventories/ucla-ls3.d.ts +10 -0
  81. package/dist/esm/inventories/ucla-ls3.js +124 -0
  82. package/dist/esm/locales/de/cbi.d.ts +7 -0
  83. package/dist/esm/locales/de/cbi.js +108 -0
  84. package/dist/esm/locales/de/csi16.d.ts +3 -0
  85. package/dist/esm/locales/de/csi16.js +59 -0
  86. package/dist/esm/locales/de/eat26.d.ts +3 -0
  87. package/dist/esm/locales/de/eat26.js +45 -0
  88. package/dist/esm/locales/de/pcl5.d.ts +4 -0
  89. package/dist/esm/locales/de/pcl5.js +46 -0
  90. package/dist/esm/locales/de/phq15.d.ts +4 -0
  91. package/dist/esm/locales/de/phq15.js +33 -0
  92. package/dist/esm/locales/de/ucla-ls3.d.ts +4 -0
  93. package/dist/esm/locales/de/ucla-ls3.js +46 -0
  94. package/dist/esm/locales/es/cbi.d.ts +7 -0
  95. package/dist/esm/locales/es/cbi.js +108 -0
  96. package/dist/esm/locales/es/csi16.d.ts +3 -0
  97. package/dist/esm/locales/es/csi16.js +66 -0
  98. package/dist/esm/locales/es/eat26.d.ts +3 -0
  99. package/dist/esm/locales/es/eat26.js +45 -0
  100. package/dist/esm/locales/es/pcl5.d.ts +4 -0
  101. package/dist/esm/locales/es/pcl5.js +46 -0
  102. package/dist/esm/locales/es/phq15.d.ts +4 -0
  103. package/dist/esm/locales/es/phq15.js +33 -0
  104. package/dist/esm/locales/es/ucla-ls3.d.ts +4 -0
  105. package/dist/esm/locales/es/ucla-ls3.js +42 -0
  106. package/dist/esm/locales/index.js +36 -0
  107. package/dist/esm/locales/tr/cbi.d.ts +8 -0
  108. package/dist/esm/locales/tr/cbi.js +109 -0
  109. package/dist/esm/locales/tr/csi16.d.ts +3 -0
  110. package/dist/esm/locales/tr/csi16.js +66 -0
  111. package/dist/esm/locales/tr/eat26.d.ts +3 -0
  112. package/dist/esm/locales/tr/eat26.js +45 -0
  113. package/dist/esm/locales/tr/pcl5.d.ts +4 -0
  114. package/dist/esm/locales/tr/pcl5.js +46 -0
  115. package/dist/esm/locales/tr/phq15.d.ts +4 -0
  116. package/dist/esm/locales/tr/phq15.js +33 -0
  117. package/dist/esm/locales/tr/ucla-ls3.d.ts +4 -0
  118. package/dist/esm/locales/tr/ucla-ls3.js +42 -0
  119. package/dist/esm/locales/zh/cbi.d.ts +7 -0
  120. package/dist/esm/locales/zh/cbi.js +108 -0
  121. package/dist/esm/locales/zh/csi16.d.ts +3 -0
  122. package/dist/esm/locales/zh/csi16.js +44 -0
  123. package/dist/esm/locales/zh/eat26.d.ts +3 -0
  124. package/dist/esm/locales/zh/eat26.js +43 -0
  125. package/dist/esm/locales/zh/pcl5.d.ts +4 -0
  126. package/dist/esm/locales/zh/pcl5.js +42 -0
  127. package/dist/esm/locales/zh/phq15.d.ts +4 -0
  128. package/dist/esm/locales/zh/phq15.js +33 -0
  129. package/dist/esm/locales/zh/ucla-ls3.d.ts +4 -0
  130. package/dist/esm/locales/zh/ucla-ls3.js +32 -0
  131. package/dist/esm/types.d.ts +10 -2
  132. package/package.json +14 -3
  133. package/src/inventories/cbi.ts +131 -0
  134. package/src/inventories/csi16.ts +189 -0
  135. package/src/inventories/eat26.ts +118 -0
  136. package/src/inventories/index.ts +20 -1
  137. package/src/inventories/pcl5.ts +127 -0
  138. package/src/inventories/phq15.ts +77 -0
  139. package/src/inventories/ucla-ls3.ts +131 -0
  140. package/src/locales/de/cbi.ts +111 -0
  141. package/src/locales/de/csi16.ts +66 -0
  142. package/src/locales/de/eat26.ts +52 -0
  143. package/src/locales/de/pcl5.ts +51 -0
  144. package/src/locales/de/phq15.ts +38 -0
  145. package/src/locales/de/ucla-ls3.ts +51 -0
  146. package/src/locales/es/cbi.ts +111 -0
  147. package/src/locales/es/csi16.ts +73 -0
  148. package/src/locales/es/eat26.ts +52 -0
  149. package/src/locales/es/pcl5.ts +51 -0
  150. package/src/locales/es/phq15.ts +37 -0
  151. package/src/locales/es/ucla-ls3.ts +47 -0
  152. package/src/locales/index.ts +36 -0
  153. package/src/locales/tr/cbi.ts +112 -0
  154. package/src/locales/tr/csi16.ts +73 -0
  155. package/src/locales/tr/eat26.ts +52 -0
  156. package/src/locales/tr/pcl5.ts +51 -0
  157. package/src/locales/tr/phq15.ts +37 -0
  158. package/src/locales/tr/ucla-ls3.ts +46 -0
  159. package/src/locales/zh/cbi.ts +111 -0
  160. package/src/locales/zh/csi16.ts +51 -0
  161. package/src/locales/zh/eat26.ts +48 -0
  162. package/src/locales/zh/pcl5.ts +46 -0
  163. package/src/locales/zh/phq15.ts +36 -0
  164. package/src/locales/zh/ucla-ls3.ts +36 -0
  165. package/src/types.ts +10 -1
@@ -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
+ };
@@ -21,12 +21,19 @@ 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";
24
30
  export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses };
25
31
  export { miniIpip6, bisBas, ipipNeo60, ipipViaR };
32
+ export { phq15, pcl5, eat26, csi16, uclaLs3, cbi };
26
33
  export { twoWeekFrequencyOptions, twoWeekInstructions } from "./common.ts";
27
34
  /** All predefined inventory definitions shipped with psytools, by id. */
28
35
  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";
36
+ 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";
30
37
  /**
31
38
  * Instantiates a predefined inventory as an `Assessment`.
32
39
  *
@@ -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.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,18 @@ 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; } });
51
63
  var common_ts_1 = require("./common.js");
52
64
  Object.defineProperty(exports, "twoWeekFrequencyOptions", { enumerable: true, get: function () { return common_ts_1.twoWeekFrequencyOptions; } });
53
65
  Object.defineProperty(exports, "twoWeekInstructions", { enumerable: true, get: function () { return common_ts_1.twoWeekInstructions; } });
@@ -74,6 +86,12 @@ exports.inventories = {
74
86
  "bis-bas": bis_bas_ts_1.bisBas,
75
87
  "ipip-neo-60": ipip_neo_60_ts_1.ipipNeo60,
76
88
  "ipip-via-r": ipip_via_r_ts_1.ipipViaR,
89
+ phq15: phq15_ts_1.phq15,
90
+ pcl5: pcl5_ts_1.pcl5,
91
+ eat26: eat26_ts_1.eat26,
92
+ csi16: csi16_ts_1.csi16,
93
+ "ucla-ls3": ucla_ls3_ts_1.uclaLs3,
94
+ cbi: cbi_ts_1.cbi,
77
95
  };
78
96
  /**
79
97
  * Instantiates a predefined inventory as an `Assessment`.
@@ -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;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pcl5 = void 0;
4
+ /** The 0–4 bother scale of the PCL-5 ("in the past month"). */
5
+ const botherOptions = [
6
+ { value: 0, label: { en: "Not at all" } },
7
+ { value: 1, label: { en: "A little bit" } },
8
+ { value: 2, label: { en: "Moderately" } },
9
+ { value: 3, label: { en: "Quite a bit" } },
10
+ { value: 4, label: { en: "Extremely" } },
11
+ ];
12
+ /**
13
+ * PCL-5 — PTSD Checklist for DSM-5, standard (past month) form.
14
+ *
15
+ * 20 items, 0–4 scale, total 0–80. Developed by staff at the VA's
16
+ * National Center for PTSD and in the public domain. No bands are
17
+ * defined: the VA publishes a cutoff *range* (31–33) it calls initial
18
+ * research, not a settled threshold — see `meta.scoringNote`.
19
+ */
20
+ exports.pcl5 = {
21
+ id: "pcl5",
22
+ version: "1.0.0",
23
+ categories: ["post-traumatic-stress"],
24
+ audience: ["adult"],
25
+ respondent: "self",
26
+ title: {
27
+ en: "PTSD Checklist for DSM-5 (PCL-5)",
28
+ },
29
+ description: {
30
+ en: "A 20-item self-report measure of the DSM-5 symptoms of posttraumatic stress disorder over the past month.",
31
+ },
32
+ instructions: {
33
+ en: "Below is a list of problems that people sometimes have in response to a very stressful experience. Keeping your worst event in mind, please read each problem carefully and then select one of the numbers to the right to indicate how much you have been bothered by that problem in the past month.",
34
+ },
35
+ defaultLocale: "en",
36
+ options: botherOptions,
37
+ questions: [
38
+ {
39
+ id: "pcl5-1",
40
+ text: { en: "Repeated, disturbing, and unwanted memories of the stressful experience?" },
41
+ },
42
+ { id: "pcl5-2", text: { en: "Repeated, disturbing dreams of the stressful experience?" } },
43
+ {
44
+ id: "pcl5-3",
45
+ text: {
46
+ en: "Suddenly feeling or acting as if the stressful experience were actually happening again (as if you were actually back there reliving it)?",
47
+ },
48
+ },
49
+ {
50
+ id: "pcl5-4",
51
+ text: { en: "Feeling very upset when something reminded you of the stressful experience?" },
52
+ },
53
+ {
54
+ id: "pcl5-5",
55
+ text: {
56
+ en: "Having strong physical reactions when something reminded you of the stressful experience (for example, heart pounding, trouble breathing, sweating)?",
57
+ },
58
+ },
59
+ {
60
+ id: "pcl5-6",
61
+ text: { en: "Avoiding memories, thoughts, or feelings related to the stressful experience?" },
62
+ },
63
+ {
64
+ id: "pcl5-7",
65
+ text: {
66
+ en: "Avoiding external reminders of the stressful experience (for example, people, places, conversations, activities, objects, or situations)?",
67
+ },
68
+ },
69
+ {
70
+ id: "pcl5-8",
71
+ text: { en: "Trouble remembering important parts of the stressful experience?" },
72
+ },
73
+ {
74
+ id: "pcl5-9",
75
+ text: {
76
+ en: "Having strong negative beliefs about yourself, other people, or the world (for example, having thoughts such as: I am bad, there is something seriously wrong with me, no one can be trusted, the world is completely dangerous)?",
77
+ },
78
+ },
79
+ {
80
+ id: "pcl5-10",
81
+ text: {
82
+ en: "Blaming yourself or someone else for the stressful experience or what happened after it?",
83
+ },
84
+ },
85
+ {
86
+ id: "pcl5-11",
87
+ text: {
88
+ en: "Having strong negative feelings such as fear, horror, anger, guilt, or shame?",
89
+ },
90
+ },
91
+ { id: "pcl5-12", text: { en: "Loss of interest in activities that you used to enjoy?" } },
92
+ { id: "pcl5-13", text: { en: "Feeling distant or cut off from other people?" } },
93
+ {
94
+ id: "pcl5-14",
95
+ text: {
96
+ en: "Trouble experiencing positive feelings (for example, being unable to feel happiness or have loving feelings for people close to you)?",
97
+ },
98
+ },
99
+ {
100
+ id: "pcl5-15",
101
+ text: { en: "Irritable behavior, angry outbursts, or acting aggressively?" },
102
+ },
103
+ {
104
+ id: "pcl5-16",
105
+ text: { en: "Taking too many risks or doing things that could cause you harm?" },
106
+ },
107
+ { id: "pcl5-17", text: { en: "Being “superalert” or watchful or on guard?" } },
108
+ { id: "pcl5-18", text: { en: "Feeling jumpy or easily startled?" } },
109
+ { id: "pcl5-19", text: { en: "Having difficulty concentrating?" } },
110
+ { id: "pcl5-20", text: { en: "Trouble falling or staying asleep?" } },
111
+ ],
112
+ scoring: {
113
+ kind: "sum",
114
+ missing: { strategy: "prorate", minAnswered: 16 },
115
+ },
116
+ meta: {
117
+ reference: "Weathers, F. W., Litz, B. T., Keane, T. M., Palmieri, P. A., Marx, B. P., & Schnurr, P. P. (2013). The PTSD Checklist for DSM-5 (PCL-5) - Standard [Measurement instrument]. National Center for PTSD. Available from https://www.ptsd.va.gov/",
118
+ license: "Free — developed by staff at the VA's National Center for PTSD, in the public domain and not copyrighted",
119
+ licenseFlag: "free",
120
+ translationProvenance: "en: transcribed from the VA's own PCL-5 Standard form PDF (version date 29 August 2023), https://www.ptsd.va.gov/professional/assessment/adult-sr/ptsd-checklist.asp. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; the VA's own Spanish version was not consulted and the texts are unverified. See SOURCES.md.",
121
+ timeframe: "past month",
122
+ scoringNote: "Sum 0-80. No severity bands are defined on purpose: the VA states that \"initial research suggests that a PCL-5 cutoff score between 31-33 is indicative of probable PTSD across samples\" — a range offered as initial research, not a settled threshold, and one the VA asks users to weigh against their own setting. Encoding one number of that range as a band boundary would render a provisional finding to a user as a categorical verdict. Apply your own cutoff over `score` if your protocol names one. The VA's separate DSM-5 provisional-diagnosis rule (at least 1 item from cluster B, 1 from C, 2 from D and 2 from E, each rated 2 or higher) is not implemented; the clusters are B: items 1-5, C: items 6-7, D: items 8-14, E: items 15-20.",
123
+ },
124
+ };
@@ -0,0 +1,10 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * PHQ-15 — Patient Health Questionnaire-15 (somatic symptom severity).
4
+ *
5
+ * 15 items, 0–2 bother scale, total 0–30, recall window 4 weeks. Same
6
+ * Pfizer grant as the bundled PHQ-9 and GAD-7: no permission required to
7
+ * reproduce, translate, display or distribute. Item 4 is printed
8
+ * "[women only]" on the instrument, so it is `optional`.
9
+ */
10
+ export declare const phq15: AssessmentDefinition;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.phq15 = void 0;
4
+ /** The 0–2 bother scale of the PHQ-15 ("during the last 4 weeks"). */
5
+ const botherOptions = [
6
+ { value: 0, label: { en: "Not bothered at all" } },
7
+ { value: 1, label: { en: "Bothered a little" } },
8
+ { value: 2, label: { en: "Bothered a lot" } },
9
+ ];
10
+ /**
11
+ * PHQ-15 — Patient Health Questionnaire-15 (somatic symptom severity).
12
+ *
13
+ * 15 items, 0–2 bother scale, total 0–30, recall window 4 weeks. Same
14
+ * Pfizer grant as the bundled PHQ-9 and GAD-7: no permission required to
15
+ * reproduce, translate, display or distribute. Item 4 is printed
16
+ * "[women only]" on the instrument, so it is `optional`.
17
+ */
18
+ exports.phq15 = {
19
+ id: "phq15",
20
+ version: "1.0.0",
21
+ categories: ["somatic-symptoms"],
22
+ audience: ["adult"],
23
+ respondent: "self",
24
+ title: {
25
+ en: "Patient Health Questionnaire-15 (PHQ-15)",
26
+ },
27
+ description: {
28
+ en: "A 15-item self-report scale measuring the severity of common physical symptoms, used to screen for somatization and somatoform disorders.",
29
+ },
30
+ instructions: {
31
+ en: "During the last 4 weeks, how much have you been bothered by any of the following problems?",
32
+ },
33
+ defaultLocale: "en",
34
+ options: botherOptions,
35
+ questions: [
36
+ { id: "phq15-1", text: { en: "Stomach pain" } },
37
+ { id: "phq15-2", text: { en: "Back pain" } },
38
+ { id: "phq15-3", text: { en: "Pain in your arms, legs, or joints (knees, hips, etc)" } },
39
+ {
40
+ id: "phq15-4",
41
+ text: { en: "Menstrual cramps or other problems with your periods [women only]" },
42
+ optional: true,
43
+ },
44
+ { id: "phq15-5", text: { en: "Headaches" } },
45
+ { id: "phq15-6", text: { en: "Chest pain" } },
46
+ { id: "phq15-7", text: { en: "Dizziness" } },
47
+ { id: "phq15-8", text: { en: "Fainting spells" } },
48
+ { id: "phq15-9", text: { en: "Feeling your heart pound or race" } },
49
+ { id: "phq15-10", text: { en: "Shortness of breath" } },
50
+ { id: "phq15-11", text: { en: "Pain or problems during sexual intercourse" } },
51
+ { id: "phq15-12", text: { en: "Constipation, loose bowels, or diarrhea" } },
52
+ { id: "phq15-13", text: { en: "Nausea, gas, or indigestion" } },
53
+ { id: "phq15-14", text: { en: "Feeling tired or having low energy" } },
54
+ { id: "phq15-15", text: { en: "Trouble sleeping" } },
55
+ ],
56
+ scoring: {
57
+ kind: "sum",
58
+ missing: { strategy: "ignore" },
59
+ bands: [
60
+ { id: "minimal", min: 0, max: 4, label: { en: "Minimal somatic symptoms" } },
61
+ { id: "low", min: 5, max: 9, label: { en: "Low somatic symptom severity" } },
62
+ { id: "medium", min: 10, max: 14, label: { en: "Medium somatic symptom severity" } },
63
+ { id: "high", min: 15, max: 30, label: { en: "High somatic symptom severity" } },
64
+ ],
65
+ },
66
+ meta: {
67
+ reference: "Kroenke, K., Spitzer, R. L., & Williams, J. B. W. (2002). The PHQ-15: Validity of a new measure for evaluating the severity of somatic symptoms. Psychosomatic Medicine, 64(2), 258-266.",
68
+ license: "Free — no permission required to reproduce, translate, display or distribute (Pfizer educational grant)",
69
+ licenseFlag: "free",
70
+ translationProvenance: "en: transcribed from the Pfizer instrument (footer: \"Copyright Pfizer Inc. No permission required to reproduce, translate, display, or distribute.\"), source instrument https://www.phqscreeners.com. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
71
+ timeframe: "past 4 weeks",
72
+ scoringNote: "Sum 0-30. Item 4 is printed \"[women only]\" on the instrument and is marked optional; unanswered items contribute 0. Two of the fifteen items are shared with the PHQ-9 — item 14 (tired) is PHQ-9 item 4 and item 15 (sleep) is PHQ-9 item 3 — but on the PHQ-15's 0-2 scale, not the PHQ-9's 0-3, so answers are not interchangeable between the two inventories.",
73
+ },
74
+ };
@@ -0,0 +1,10 @@
1
+ import type { AssessmentDefinition } from "../types.ts";
2
+ /**
3
+ * UCLA Loneliness Scale, Version 3 (Russell, 1996).
4
+ *
5
+ * 20 items on a 1–4 frequency scale, total 20–80, higher is lonelier.
6
+ * Nine positively worded items (1, 5, 6, 9, 10, 15, 16, 19, 20) are
7
+ * reverse scored. Russell publishes no cutoffs — the scale is scored
8
+ * continuously — so no bands are defined.
9
+ */
10
+ export declare const uclaLs3: AssessmentDefinition;
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.uclaLs3 = void 0;
4
+ /** The 1–4 frequency scale of the UCLA Loneliness Scale, Version 3. */
5
+ const frequencyOptions = [
6
+ { value: 1, label: { en: "Never" } },
7
+ { value: 2, label: { en: "Rarely" } },
8
+ { value: 3, label: { en: "Sometimes" } },
9
+ { value: 4, label: { en: "Always" } },
10
+ ];
11
+ /**
12
+ * UCLA Loneliness Scale, Version 3 (Russell, 1996).
13
+ *
14
+ * 20 items on a 1–4 frequency scale, total 20–80, higher is lonelier.
15
+ * Nine positively worded items (1, 5, 6, 9, 10, 15, 16, 19, 20) are
16
+ * reverse scored. Russell publishes no cutoffs — the scale is scored
17
+ * continuously — so no bands are defined.
18
+ */
19
+ exports.uclaLs3 = {
20
+ id: "ucla-ls3",
21
+ version: "1.0.0",
22
+ categories: ["loneliness"],
23
+ audience: ["adult"],
24
+ respondent: "self",
25
+ title: {
26
+ en: "UCLA Loneliness Scale (Version 3)",
27
+ },
28
+ description: {
29
+ en: "A 20-item self-report measure of subjective feelings of loneliness and social isolation.",
30
+ },
31
+ instructions: {
32
+ en: "The following statements describe how people sometimes feel. For each statement, please indicate how often you feel the way described. Here is an example: How often do you feel happy? If you never felt happy, you would respond “never”; if you always feel happy, you would respond “always”.",
33
+ },
34
+ defaultLocale: "en",
35
+ options: frequencyOptions,
36
+ questions: [
37
+ {
38
+ id: "ucla-ls3-1",
39
+ text: { en: "How often do you feel that you are “in tune” with the people around you?" },
40
+ reverseScored: true,
41
+ },
42
+ { id: "ucla-ls3-2", text: { en: "How often do you feel that you lack companionship?" } },
43
+ {
44
+ id: "ucla-ls3-3",
45
+ text: { en: "How often do you feel that there is no one you can turn to?" },
46
+ },
47
+ { id: "ucla-ls3-4", text: { en: "How often do you feel alone?" } },
48
+ {
49
+ id: "ucla-ls3-5",
50
+ text: { en: "How often do you feel part of a group of friends?" },
51
+ reverseScored: true,
52
+ },
53
+ {
54
+ id: "ucla-ls3-6",
55
+ text: {
56
+ en: "How often do you feel that you have a lot in common with the people around you?",
57
+ },
58
+ reverseScored: true,
59
+ },
60
+ {
61
+ id: "ucla-ls3-7",
62
+ text: { en: "How often do you feel that you are no longer close to anyone?" },
63
+ },
64
+ {
65
+ id: "ucla-ls3-8",
66
+ text: {
67
+ en: "How often do you feel that your interests and ideas are not shared by those around you?",
68
+ },
69
+ },
70
+ {
71
+ id: "ucla-ls3-9",
72
+ text: { en: "How often do you feel outgoing and friendly?" },
73
+ reverseScored: true,
74
+ },
75
+ {
76
+ id: "ucla-ls3-10",
77
+ text: { en: "How often do you feel close to people?" },
78
+ reverseScored: true,
79
+ },
80
+ { id: "ucla-ls3-11", text: { en: "How often do you feel left out?" } },
81
+ {
82
+ id: "ucla-ls3-12",
83
+ text: { en: "How often do you feel that your relationships with others are not meaningful?" },
84
+ },
85
+ {
86
+ id: "ucla-ls3-13",
87
+ text: { en: "How often do you feel that no one really knows you well?" },
88
+ },
89
+ { id: "ucla-ls3-14", text: { en: "How often do you feel isolated from others?" } },
90
+ {
91
+ id: "ucla-ls3-15",
92
+ text: { en: "How often do you feel that you can find companionship when you want it?" },
93
+ reverseScored: true,
94
+ },
95
+ {
96
+ id: "ucla-ls3-16",
97
+ text: { en: "How often do you feel that there are people who really understand you?" },
98
+ reverseScored: true,
99
+ },
100
+ { id: "ucla-ls3-17", text: { en: "How often do you feel shy?" } },
101
+ {
102
+ id: "ucla-ls3-18",
103
+ text: { en: "How often do you feel that people are around you but not with you?" },
104
+ },
105
+ {
106
+ id: "ucla-ls3-19",
107
+ text: { en: "How often do you feel that there are people you can talk to?" },
108
+ reverseScored: true,
109
+ },
110
+ {
111
+ id: "ucla-ls3-20",
112
+ text: { en: "How often do you feel that there are people you can turn to?" },
113
+ reverseScored: true,
114
+ },
115
+ ],
116
+ scoring: {
117
+ kind: "sum",
118
+ missing: { strategy: "prorate", minAnswered: 16 },
119
+ },
120
+ meta: {
121
+ reference: "Russell, D. W. (1996). UCLA Loneliness Scale (Version 3): Reliability, validity, and factor structure. Journal of Personality Assessment, 66(1), 20-40.",
122
+ license: "Free with conditions — the author has publicly disclaimed any requirement to seek his permission, but no formal licence exists and commercial redistribution has not been addressed by anyone",
123
+ licenseFlag: "free-with-conditions",
124
+ translationProvenance: "en: transcribed from two independent reproductions of Russell (1996), checked against each other — the Stanford SPARQ Measuring Mobility toolkit copy (https://sparqtools.org/mobility-measure/ucla-loneliness-scale-version-3/) and the Fetzer Institute self-measures compendium. The rights holder distributes no copy of his own and the 1996 article is paywalled, so no first-party source was available. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-opus-5) from the English above; published adaptations were not consulted and the texts are unverified. See SOURCES.md.",
125
+ scoringNote: "Sum 20-80, higher is lonelier, with the nine positively worded items (1, 5, 6, 9, 10, 15, 16, 19, 20) reverse scored. No bands are defined: Russell publishes no cutoffs and the scale is scored continuously. Severity bandings for this scale circulate widely on the web; none of them traces to Russell, so none is bundled. The two reproductions used differ on the top anchor — one prints \"Often\", the other \"Always\" — and psytools follows \"Always\", which is the anchor Russell's own instruction example uses (\"if you always feel happy, you would respond 'always'\"). \"Often\" belongs to the earlier Revised UCLA Loneliness Scale.",
126
+ },
127
+ };
@@ -0,0 +1,7 @@
1
+ import type { InventoryLocalePack } from "../../types.ts";
2
+ /**
3
+ * German locale pack for cbi. AI translation (Anthropic Claude,
4
+ * claude-opus-5), unverified. See SOURCES.md.
5
+ */
6
+ declare const pack: InventoryLocalePack;
7
+ export default pack;