udp-schema 2.15.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/onboarding-config.d.ts.map +1 -1
- package/dist/onboarding-config.js +28 -7
- package/dist/onboarding-config.js.map +1 -1
- package/dist/onboarding-form.d.ts +4 -1
- package/dist/onboarding-form.d.ts.map +1 -1
- package/dist/profile-fields/06-education.d.ts.map +1 -1
- package/dist/profile-fields/06-education.js +34 -4
- package/dist/profile-fields/06-education.js.map +1 -1
- package/dist/profile-fields/07-employment.d.ts +2 -2
- package/dist/profile-fields/07-employment.js +2 -2
- package/dist/profile-fields/07-employment.js.map +1 -1
- package/dist/profile-fields/08-neurodiversity.d.ts +262 -75
- package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -1
- package/dist/profile-fields/08-neurodiversity.js +400 -100
- package/dist/profile-fields/08-neurodiversity.js.map +1 -1
- package/dist/profile-fields/09-health.d.ts +25 -4
- package/dist/profile-fields/09-health.d.ts.map +1 -1
- package/dist/profile-fields/09-health.js +14 -14
- package/dist/profile-fields/09-health.js.map +1 -1
- package/dist/profile-fields/12-household.d.ts +2 -2
- package/dist/profile-fields/12-household.js +2 -2
- package/dist/profile-fields/12-household.js.map +1 -1
- package/dist/profile-fields/index.d.ts +1 -1
- package/dist/profile-fields/index.d.ts.map +1 -1
- package/dist/profile-fields/index.js +1 -1
- package/dist/profile-fields/index.js.map +1 -1
- package/dist/progress-fields.d.ts.map +1 -1
- package/dist/progress-fields.js +4 -1
- package/dist/progress-fields.js.map +1 -1
- package/dist/step-08.schema.d.ts +10 -8
- package/dist/step-08.schema.d.ts.map +1 -1
- package/dist/step-08.schema.js +17 -13
- package/dist/step-08.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Step 8 — Neurodiversity (
|
|
2
|
+
* Step 8 — Mental Health & Neurodiversity (restructured 2026-04)
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* 1.
|
|
6
|
-
* 2.
|
|
7
|
-
* 3.
|
|
8
|
-
* 4.
|
|
9
|
-
* 5.
|
|
10
|
-
* 6.
|
|
11
|
-
* 7.
|
|
12
|
-
* 8.
|
|
13
|
-
* 9.
|
|
14
|
-
* 10.
|
|
15
|
-
* 11.
|
|
4
|
+
* 14 sub-steps covering:
|
|
5
|
+
* 1. neurodiverseIdentity (diagnosis status)
|
|
6
|
+
* 2. neurodevelopmentalConditions (core ND — conditional on ND identity)
|
|
7
|
+
* 3. mentalHealthConditions (mood, anxiety, trauma, OCD-spectrum, eating, psychotic — shown to everyone)
|
|
8
|
+
* 4. personalityPatterns (DSM-5 Cluster A/B/C — shown to everyone)
|
|
9
|
+
* 5. neurologicalChronicConditions (comorbid neurological/chronic — shown to everyone)
|
|
10
|
+
* 6. ageOfRealization
|
|
11
|
+
* 7. sensoryProfile
|
|
12
|
+
* 8. cognitiveStrengths
|
|
13
|
+
* 9. executiveFunctionChallenges
|
|
14
|
+
* 10. learningStyle
|
|
15
|
+
* 11. communicationPreference
|
|
16
|
+
* 12. supportAndAccommodations
|
|
17
|
+
* 13. maskingAndBurnout
|
|
18
|
+
* 14. impactOnLife
|
|
16
19
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* everyone since they're useful profile data regardless of ND identity.
|
|
20
|
+
* Condition lists are DSM-5-TR (2022) aligned with person-first, non-pathologizing
|
|
21
|
+
* language. Each option has a full descriptive name (not just an acronym) and a
|
|
22
|
+
* description explaining what it means — both translatable via i18n.
|
|
21
23
|
*/
|
|
22
24
|
// ─── 1. Identity ────────────────────────────────────────────────────────────
|
|
23
25
|
export const neurodiverseIdentityOptions = [
|
|
@@ -43,94 +45,359 @@ export const neurodiverseIdentityOptions = [
|
|
|
43
45
|
},
|
|
44
46
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
45
47
|
];
|
|
46
|
-
// ─── 2.
|
|
47
|
-
export const
|
|
48
|
-
{ value: 'adhd', label: 'ADHD / ADD', description: 'Attention Deficit Hyperactivity Disorder' },
|
|
48
|
+
// ─── 2. Neurodevelopmental Conditions (DSM-5 Neurodevelopmental Disorders) ──
|
|
49
|
+
export const neurodevelopmentalConditionOptions = [
|
|
49
50
|
{
|
|
50
|
-
value: '
|
|
51
|
-
label: '
|
|
52
|
-
description: '
|
|
51
|
+
value: 'adhd',
|
|
52
|
+
label: 'ADHD — Attention Deficit Hyperactivity Disorder',
|
|
53
|
+
description: 'Inattentive, hyperactive, or combined type — affects focus, impulse control, and organization',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
value: 'autism',
|
|
57
|
+
label: 'Autism Spectrum Condition (ASC / ASD)',
|
|
58
|
+
description: 'Differences in social communication, sensory processing, and patterns of behavior',
|
|
53
59
|
},
|
|
54
60
|
{
|
|
55
61
|
value: 'dyslexia',
|
|
56
|
-
label: 'Dyslexia',
|
|
57
|
-
description: '
|
|
62
|
+
label: 'Dyslexia — Reading & Language Processing',
|
|
63
|
+
description: 'Difficulty with reading, spelling, and language decoding despite adequate intelligence',
|
|
58
64
|
},
|
|
59
65
|
{
|
|
60
|
-
value: '
|
|
61
|
-
label: '
|
|
62
|
-
description: '
|
|
66
|
+
value: 'dyscalculia',
|
|
67
|
+
label: 'Dyscalculia — Mathematical Processing',
|
|
68
|
+
description: 'Difficulty with numbers, arithmetic, and mathematical reasoning',
|
|
63
69
|
},
|
|
64
|
-
{ value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },
|
|
65
70
|
{
|
|
66
71
|
value: 'dysgraphia',
|
|
67
|
-
label: 'Dysgraphia',
|
|
68
|
-
description: 'Difficulty with
|
|
72
|
+
label: 'Dysgraphia — Writing & Fine Motor',
|
|
73
|
+
description: 'Difficulty with handwriting, spelling, and organizing written thoughts',
|
|
69
74
|
},
|
|
70
75
|
{
|
|
71
|
-
value: '
|
|
72
|
-
label:
|
|
73
|
-
description: '
|
|
76
|
+
value: 'dyspraxia_dcd',
|
|
77
|
+
label: 'Dyspraxia / DCD — Developmental Coordination Disorder',
|
|
78
|
+
description: 'Difficulty with motor coordination, planning movements, and spatial awareness',
|
|
74
79
|
},
|
|
75
|
-
{ value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },
|
|
76
80
|
{
|
|
77
|
-
value: '
|
|
78
|
-
label: '
|
|
79
|
-
description: '
|
|
81
|
+
value: 'tourettes_tics',
|
|
82
|
+
label: "Tourette's Syndrome / Tic Disorder",
|
|
83
|
+
description: 'Involuntary repetitive movements or vocalizations (motor and/or vocal tics)',
|
|
80
84
|
},
|
|
81
85
|
{
|
|
82
|
-
value: '
|
|
83
|
-
label: '
|
|
84
|
-
description: '
|
|
86
|
+
value: 'speech_sound',
|
|
87
|
+
label: 'Speech Sound Disorder',
|
|
88
|
+
description: 'Difficulty producing speech sounds correctly — affects pronunciation and clarity',
|
|
85
89
|
},
|
|
86
90
|
{
|
|
87
|
-
value: '
|
|
88
|
-
label: '
|
|
89
|
-
description: '
|
|
91
|
+
value: 'stuttering',
|
|
92
|
+
label: 'Stuttering / Fluency Disorder',
|
|
93
|
+
description: 'Disruptions in the flow of speech — repetitions, prolongations, or blocks',
|
|
90
94
|
},
|
|
91
95
|
{
|
|
92
|
-
value: '
|
|
93
|
-
label: '
|
|
94
|
-
description: '
|
|
96
|
+
value: 'language_disorder',
|
|
97
|
+
label: 'Language Disorder',
|
|
98
|
+
description: 'Difficulty understanding or using spoken/written language despite normal hearing',
|
|
95
99
|
},
|
|
96
100
|
{
|
|
97
|
-
value: '
|
|
98
|
-
label: '
|
|
99
|
-
description: 'Difficulty
|
|
101
|
+
value: 'social_communication',
|
|
102
|
+
label: 'Social (Pragmatic) Communication Disorder',
|
|
103
|
+
description: 'Difficulty with social use of language — understanding context, humor, or implied meaning',
|
|
100
104
|
},
|
|
101
105
|
{
|
|
102
|
-
value: '
|
|
103
|
-
label: '
|
|
104
|
-
description: '
|
|
106
|
+
value: 'intellectual_disability',
|
|
107
|
+
label: 'Intellectual Disability',
|
|
108
|
+
description: 'Limitations in intellectual functioning and adaptive behavior',
|
|
105
109
|
},
|
|
106
110
|
{
|
|
107
|
-
value: '
|
|
108
|
-
label: '
|
|
109
|
-
description: 'Difficulty processing
|
|
111
|
+
value: 'sensory_processing',
|
|
112
|
+
label: 'Sensory Processing Differences',
|
|
113
|
+
description: 'Difficulty processing and responding to sensory input (sound, light, touch, etc.)',
|
|
110
114
|
},
|
|
111
115
|
{
|
|
112
116
|
value: 'giftedness_2e',
|
|
113
117
|
label: 'Giftedness / Twice-Exceptional (2e)',
|
|
114
|
-
description: 'High cognitive ability
|
|
118
|
+
description: 'High cognitive ability combined with a neurodevelopmental difference',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
value: 'other_neurodevelopmental',
|
|
122
|
+
label: 'Other neurodevelopmental condition',
|
|
123
|
+
description: 'A neurodevelopmental condition not listed above',
|
|
124
|
+
},
|
|
125
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
126
|
+
];
|
|
127
|
+
// ─── 3. Mental Health Conditions (DSM-5 mood, anxiety, trauma, OCD, eating, psychotic) ──
|
|
128
|
+
export const mentalHealthConditionOptions = [
|
|
129
|
+
// Depressive disorders
|
|
130
|
+
{
|
|
131
|
+
value: 'depression_major',
|
|
132
|
+
label: 'Major Depressive Disorder',
|
|
133
|
+
description: 'Persistent sadness, loss of interest, and fatigue lasting 2+ weeks',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
value: 'depression_persistent',
|
|
137
|
+
label: 'Persistent Depressive Disorder (Dysthymia)',
|
|
138
|
+
description: 'Chronic low-grade depression lasting 2+ years',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
value: 'depression_seasonal',
|
|
142
|
+
label: 'Seasonal Affective Disorder (SAD)',
|
|
143
|
+
description: 'Depression that follows a seasonal pattern, typically in winter',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
value: 'pmdd',
|
|
147
|
+
label: 'Premenstrual Dysphoric Disorder (PMDD)',
|
|
148
|
+
description: 'Severe mood changes tied to the menstrual cycle',
|
|
149
|
+
},
|
|
150
|
+
// Bipolar & related
|
|
151
|
+
{
|
|
152
|
+
value: 'bipolar_i',
|
|
153
|
+
label: 'Bipolar I Disorder',
|
|
154
|
+
description: 'Manic episodes lasting 7+ days, often with depressive episodes',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
value: 'bipolar_ii',
|
|
158
|
+
label: 'Bipolar II Disorder',
|
|
159
|
+
description: 'Hypomanic and depressive episodes without full mania',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
value: 'cyclothymia',
|
|
163
|
+
label: 'Cyclothymic Disorder',
|
|
164
|
+
description: 'Chronic mood fluctuations — milder than bipolar but persistent',
|
|
165
|
+
},
|
|
166
|
+
// Anxiety disorders
|
|
167
|
+
{
|
|
168
|
+
value: 'anxiety_generalized',
|
|
169
|
+
label: 'Generalized Anxiety Disorder (GAD)',
|
|
170
|
+
description: 'Persistent, excessive worry about everyday situations',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
value: 'anxiety_social',
|
|
174
|
+
label: 'Social Anxiety Disorder',
|
|
175
|
+
description: 'Intense fear of social situations and being judged by others',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
value: 'panic_disorder',
|
|
179
|
+
label: 'Panic Disorder',
|
|
180
|
+
description: 'Recurrent unexpected panic attacks with physical symptoms',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
value: 'specific_phobia',
|
|
184
|
+
label: 'Specific Phobia(s)',
|
|
185
|
+
description: 'Intense, irrational fear of a specific object or situation',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
value: 'agoraphobia',
|
|
189
|
+
label: 'Agoraphobia',
|
|
190
|
+
description: 'Fear of situations where escape might be difficult — crowds, open spaces, public transport',
|
|
191
|
+
},
|
|
192
|
+
// OCD & related
|
|
193
|
+
{
|
|
194
|
+
value: 'ocd',
|
|
195
|
+
label: 'Obsessive-Compulsive Disorder (OCD)',
|
|
196
|
+
description: 'Intrusive unwanted thoughts (obsessions) and repetitive behaviors (compulsions)',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
value: 'body_dysmorphia',
|
|
200
|
+
label: 'Body Dysmorphic Disorder (BDD)',
|
|
201
|
+
description: 'Preoccupation with perceived flaws in physical appearance not observable by others',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
value: 'hoarding',
|
|
205
|
+
label: 'Hoarding Disorder',
|
|
206
|
+
description: 'Persistent difficulty discarding possessions regardless of their value',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
value: 'trichotillomania',
|
|
210
|
+
label: 'Trichotillomania — Hair-Pulling Disorder',
|
|
211
|
+
description: 'Recurrent urge to pull out hair resulting in noticeable hair loss',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
value: 'excoriation',
|
|
215
|
+
label: 'Excoriation — Skin-Picking Disorder',
|
|
216
|
+
description: 'Recurrent picking at skin resulting in lesions',
|
|
217
|
+
},
|
|
218
|
+
// Trauma & stressor-related
|
|
219
|
+
{
|
|
220
|
+
value: 'ptsd',
|
|
221
|
+
label: 'Post-Traumatic Stress Disorder (PTSD)',
|
|
222
|
+
description: 'Flashbacks, nightmares, and hypervigilance following traumatic events',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: 'cptsd',
|
|
226
|
+
label: 'Complex PTSD (C-PTSD)',
|
|
227
|
+
description: 'PTSD symptoms plus difficulties with emotional regulation, self-concept, and relationships',
|
|
228
|
+
},
|
|
229
|
+
// Eating disorders
|
|
230
|
+
{
|
|
231
|
+
value: 'anorexia',
|
|
232
|
+
label: 'Anorexia Nervosa',
|
|
233
|
+
description: 'Restriction of food intake, intense fear of weight gain, distorted body image',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
value: 'bulimia',
|
|
237
|
+
label: 'Bulimia Nervosa',
|
|
238
|
+
description: 'Binge eating followed by compensatory behaviors (purging, fasting, excessive exercise)',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
value: 'binge_eating',
|
|
242
|
+
label: 'Binge Eating Disorder',
|
|
243
|
+
description: 'Recurrent episodes of eating large amounts without compensatory behaviors',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
value: 'arfid',
|
|
247
|
+
label: 'ARFID — Avoidant/Restrictive Food Intake Disorder',
|
|
248
|
+
description: 'Extremely picky eating or food avoidance not related to body image — often sensory-driven',
|
|
249
|
+
},
|
|
250
|
+
// Dissociative
|
|
251
|
+
{
|
|
252
|
+
value: 'did',
|
|
253
|
+
label: 'Dissociative Identity Disorder (DID)',
|
|
254
|
+
description: 'Presence of two or more distinct identity states with gaps in memory',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
value: 'depersonalization',
|
|
258
|
+
label: 'Depersonalization / Derealization Disorder',
|
|
259
|
+
description: 'Feeling detached from yourself or that the world around you is unreal',
|
|
260
|
+
},
|
|
261
|
+
// Schizophrenia spectrum
|
|
262
|
+
{
|
|
263
|
+
value: 'schizophrenia',
|
|
264
|
+
label: 'Schizophrenia',
|
|
265
|
+
description: 'Disruptions in thought processes, perceptions, emotions, and behavior',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
value: 'schizoaffective',
|
|
269
|
+
label: 'Schizoaffective Disorder',
|
|
270
|
+
description: 'Symptoms of schizophrenia combined with mood disorder episodes',
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
value: 'other_mental_health',
|
|
274
|
+
label: 'Other mental health condition',
|
|
275
|
+
description: 'A condition not listed above',
|
|
276
|
+
},
|
|
277
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
278
|
+
];
|
|
279
|
+
// ─── 4. Personality Patterns (DSM-5 Cluster A/B/C) ─────────────────────────
|
|
280
|
+
export const personalityPatternOptions = [
|
|
281
|
+
// Cluster A — Odd / Eccentric
|
|
282
|
+
{
|
|
283
|
+
value: 'paranoid_pd',
|
|
284
|
+
label: 'Paranoid Personality',
|
|
285
|
+
description: 'Pervasive distrust and suspicion of others — interpreting motives as malevolent',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
value: 'schizoid_pd',
|
|
289
|
+
label: 'Schizoid Personality',
|
|
290
|
+
description: 'Detachment from social relationships and limited emotional expression',
|
|
115
291
|
},
|
|
116
292
|
{
|
|
117
|
-
value: '
|
|
118
|
-
label: '
|
|
119
|
-
description: '
|
|
293
|
+
value: 'schizotypal_pd',
|
|
294
|
+
label: 'Schizotypal Personality',
|
|
295
|
+
description: 'Eccentric behavior, unusual perceptual experiences, and social discomfort',
|
|
120
296
|
},
|
|
121
|
-
|
|
122
|
-
{ value: 'schizophrenia', label: 'Schizophrenia / Schizoaffective' },
|
|
297
|
+
// Cluster B — Dramatic / Erratic
|
|
123
298
|
{
|
|
124
|
-
value: '
|
|
125
|
-
label: '
|
|
126
|
-
description: '
|
|
299
|
+
value: 'antisocial_pd',
|
|
300
|
+
label: 'Antisocial Personality (ASPD)',
|
|
301
|
+
description: 'Disregard for and violation of the rights of others — lack of remorse',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
value: 'borderline_pd',
|
|
305
|
+
label: 'Borderline Personality (BPD)',
|
|
306
|
+
description: 'Instability in relationships, self-image, emotions, and impulsivity — fear of abandonment',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
value: 'histrionic_pd',
|
|
310
|
+
label: 'Histrionic Personality (HPD)',
|
|
311
|
+
description: 'Excessive attention-seeking, dramatic behavior, and exaggerated emotional expression',
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
value: 'narcissistic_pd',
|
|
315
|
+
label: 'Narcissistic Personality (NPD)',
|
|
316
|
+
description: 'Grandiosity, need for admiration, and lack of empathy for others',
|
|
317
|
+
},
|
|
318
|
+
// Cluster C — Anxious / Fearful
|
|
319
|
+
{
|
|
320
|
+
value: 'avoidant_pd',
|
|
321
|
+
label: 'Avoidant Personality (AVPD)',
|
|
322
|
+
description: 'Social inhibition, feelings of inadequacy, and extreme sensitivity to criticism',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
value: 'dependent_pd',
|
|
326
|
+
label: 'Dependent Personality (DPD)',
|
|
327
|
+
description: 'Excessive need to be taken care of — submissive, clingy, and fear of separation',
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
value: 'ocpd',
|
|
331
|
+
label: 'Obsessive-Compulsive Personality (OCPD)',
|
|
332
|
+
description: 'Preoccupation with orderliness, perfectionism, and control — different from OCD',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
value: 'other_personality',
|
|
336
|
+
label: 'Other personality pattern',
|
|
337
|
+
description: 'A personality pattern not listed above',
|
|
338
|
+
},
|
|
339
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
340
|
+
];
|
|
341
|
+
// ─── 5. Neurological & Chronic Conditions ───────────────────────────────────
|
|
342
|
+
export const neurologicalChronicConditionOptions = [
|
|
343
|
+
{
|
|
344
|
+
value: 'epilepsy',
|
|
345
|
+
label: 'Epilepsy / Seizure Disorder',
|
|
346
|
+
description: 'Recurrent seizures caused by abnormal electrical activity in the brain',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
value: 'chronic_fatigue_me',
|
|
350
|
+
label: 'Chronic Fatigue Syndrome / ME',
|
|
351
|
+
description: 'Extreme fatigue that doesn\u2019t improve with rest and worsens with physical/mental activity',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
value: 'fibromyalgia',
|
|
355
|
+
label: 'Fibromyalgia',
|
|
356
|
+
description: 'Widespread musculoskeletal pain with fatigue, sleep, and cognitive difficulties',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
value: 'chronic_pain',
|
|
360
|
+
label: 'Chronic Pain Syndrome',
|
|
361
|
+
description: 'Persistent pain lasting months or years beyond expected healing time',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
value: 'migraine',
|
|
365
|
+
label: 'Chronic Migraine',
|
|
366
|
+
description: 'Severe recurring headaches often with nausea, sensitivity to light and sound',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
value: 'tbi',
|
|
370
|
+
label: 'Traumatic Brain Injury (TBI)',
|
|
371
|
+
description: 'Brain damage from external force — can affect cognition, behavior, and emotions',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
value: 'ehlers_danlos',
|
|
375
|
+
label: 'Ehlers-Danlos Syndrome (EDS)',
|
|
376
|
+
description: 'Connective tissue disorder causing joint hypermobility, skin fragility, and chronic pain',
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
value: 'pots',
|
|
380
|
+
label: 'POTS — Postural Orthostatic Tachycardia Syndrome',
|
|
381
|
+
description: 'Autonomic nervous system dysfunction causing rapid heartbeat and dizziness on standing',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
value: 'sleep_disorder',
|
|
385
|
+
label: 'Sleep Disorder (Insomnia, Narcolepsy, Sleep Apnea)',
|
|
386
|
+
description: 'Persistent difficulty falling/staying asleep, or excessive daytime sleepiness',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
value: 'none',
|
|
390
|
+
label: 'None of these',
|
|
391
|
+
description: 'No neurological or chronic conditions',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
value: 'other_neurological',
|
|
395
|
+
label: 'Other neurological / chronic condition',
|
|
396
|
+
description: 'A condition not listed above',
|
|
127
397
|
},
|
|
128
|
-
{ value: 'bpd', label: 'Borderline Personality (BPD)' },
|
|
129
|
-
{ value: 'intellectual_disability', label: 'Intellectual Disability' },
|
|
130
|
-
{ value: 'other', label: 'Other' },
|
|
131
398
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
132
399
|
];
|
|
133
|
-
// ───
|
|
400
|
+
// ─── 6. Age of realization / diagnosis ──────────────────────────────────────
|
|
134
401
|
export const ageOfRealizationOptions = [
|
|
135
402
|
{ value: 'childhood', label: 'Childhood (before 13)' },
|
|
136
403
|
{ value: 'teen', label: 'Teen years (13–18)' },
|
|
@@ -140,7 +407,7 @@ export const ageOfRealizationOptions = [
|
|
|
140
407
|
{ value: 'still_exploring', label: 'Still exploring' },
|
|
141
408
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
142
409
|
];
|
|
143
|
-
// ───
|
|
410
|
+
// ─── 7. Sensory profile ─────────────────────────────────────────────────────
|
|
144
411
|
export const sensoryProfileOptions = [
|
|
145
412
|
{ value: 'hyper_sound', label: 'Hypersensitive to sound' },
|
|
146
413
|
{ value: 'hypo_sound', label: 'Hyposensitive to sound' },
|
|
@@ -157,7 +424,7 @@ export const sensoryProfileOptions = [
|
|
|
157
424
|
{ value: 'none', label: 'No specific sensitivities' },
|
|
158
425
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
159
426
|
];
|
|
160
|
-
// ───
|
|
427
|
+
// ─── 8. Cognitive strengths ─────────────────────────────────────────────────
|
|
161
428
|
export const cognitiveStrengthOptions = [
|
|
162
429
|
{ value: 'hyperfocus', label: 'Hyperfocus on interests' },
|
|
163
430
|
{ value: 'pattern_recognition', label: 'Pattern recognition' },
|
|
@@ -175,7 +442,7 @@ export const cognitiveStrengthOptions = [
|
|
|
175
442
|
{ value: 'none_unsure', label: 'None / unsure' },
|
|
176
443
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
177
444
|
];
|
|
178
|
-
// ───
|
|
445
|
+
// ─── 9. Executive function challenges ───────────────────────────────────────
|
|
179
446
|
export const executiveFunctionChallengeOptions = [
|
|
180
447
|
{ value: 'planning_organization', label: 'Planning / organization' },
|
|
181
448
|
{ value: 'time_management', label: 'Time management / time blindness' },
|
|
@@ -192,7 +459,7 @@ export const executiveFunctionChallengeOptions = [
|
|
|
192
459
|
{ value: 'none', label: 'No significant challenges' },
|
|
193
460
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
194
461
|
];
|
|
195
|
-
// ───
|
|
462
|
+
// ─── 10. Learning style ─────────────────────────────────────────────────────
|
|
196
463
|
export const learningStyleOptions = [
|
|
197
464
|
{ value: 'visual', label: 'Visual learner' },
|
|
198
465
|
{ value: 'auditory', label: 'Auditory learner' },
|
|
@@ -204,7 +471,7 @@ export const learningStyleOptions = [
|
|
|
204
471
|
{ value: 'prefers_autonomy', label: 'Learns best with autonomy' },
|
|
205
472
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
206
473
|
];
|
|
207
|
-
// ───
|
|
474
|
+
// ─── 11. Communication preference ───────────────────────────────────────────
|
|
208
475
|
export const communicationPreferenceOptions = [
|
|
209
476
|
{ value: 'face_to_face', label: 'Face-to-face verbal' },
|
|
210
477
|
{ value: 'written', label: 'Written (text / email / chat)' },
|
|
@@ -216,7 +483,7 @@ export const communicationPreferenceOptions = [
|
|
|
216
483
|
{ value: 'async', label: 'Async over synchronous' },
|
|
217
484
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
218
485
|
];
|
|
219
|
-
// ───
|
|
486
|
+
// ─── 12. Support & accommodations ───────────────────────────────────────────
|
|
220
487
|
export const supportAccommodationOptions = [
|
|
221
488
|
{ value: 'flexible_schedule', label: 'Flexible schedule / deadlines' },
|
|
222
489
|
{ value: 'written_instructions', label: 'Written instructions' },
|
|
@@ -237,7 +504,7 @@ export const supportAccommodationOptions = [
|
|
|
237
504
|
{ value: 'none', label: 'No specific support needed' },
|
|
238
505
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
239
506
|
];
|
|
240
|
-
// ───
|
|
507
|
+
// ─── 13. Masking & burnout ──────────────────────────────────────────────────
|
|
241
508
|
export const maskingBurnoutOptions = [
|
|
242
509
|
{
|
|
243
510
|
value: 'frequently',
|
|
@@ -250,7 +517,7 @@ export const maskingBurnoutOptions = [
|
|
|
250
517
|
{ value: 'not_sure', label: 'Not sure what this means' },
|
|
251
518
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
252
519
|
];
|
|
253
|
-
// ───
|
|
520
|
+
// ─── 14. Impact on daily life ───────────────────────────────────────────────
|
|
254
521
|
export const impactOnLifeOptions = [
|
|
255
522
|
{
|
|
256
523
|
value: 'significant',
|
|
@@ -268,12 +535,12 @@ export const impactOnLifeOptions = [
|
|
|
268
535
|
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
269
536
|
];
|
|
270
537
|
// ─── Field Group ────────────────────────────────────────────────────────────
|
|
271
|
-
const
|
|
538
|
+
const ND_SKIP = ['no_neurotypical', 'prefer_not_to_say'];
|
|
272
539
|
export const neurodiversity = {
|
|
273
|
-
key: '
|
|
274
|
-
label: 'Neurodiversity',
|
|
540
|
+
key: 'mental_health_neurodiversity',
|
|
541
|
+
label: 'Mental Health & Neurodiversity',
|
|
275
542
|
step: 8,
|
|
276
|
-
description: '
|
|
543
|
+
description: 'Neurodevelopmental conditions, mental health, personality patterns, neurological conditions, sensory profile, and support needs.',
|
|
277
544
|
fields: [
|
|
278
545
|
{
|
|
279
546
|
order: 1,
|
|
@@ -287,17 +554,50 @@ export const neurodiversity = {
|
|
|
287
554
|
},
|
|
288
555
|
{
|
|
289
556
|
order: 2,
|
|
290
|
-
key: '
|
|
291
|
-
label: '
|
|
557
|
+
key: 'neurodevelopmentalConditions',
|
|
558
|
+
label: 'Neurodevelopmental Conditions',
|
|
292
559
|
type: 'multi_select',
|
|
293
560
|
step: 8,
|
|
294
561
|
isOnboarding: true,
|
|
295
562
|
optional: true,
|
|
296
|
-
options: [...
|
|
297
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
563
|
+
options: [...neurodevelopmentalConditionOptions],
|
|
564
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
298
565
|
},
|
|
299
566
|
{
|
|
300
567
|
order: 3,
|
|
568
|
+
key: 'mentalHealthConditions',
|
|
569
|
+
label: 'Mental Health Conditions',
|
|
570
|
+
type: 'multi_select',
|
|
571
|
+
step: 8,
|
|
572
|
+
isOnboarding: true,
|
|
573
|
+
optional: true,
|
|
574
|
+
options: [...mentalHealthConditionOptions],
|
|
575
|
+
// Shown to everyone — neurotypical people have mental health conditions too
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
order: 4,
|
|
579
|
+
key: 'personalityPatterns',
|
|
580
|
+
label: 'Personality Patterns',
|
|
581
|
+
type: 'multi_select',
|
|
582
|
+
step: 8,
|
|
583
|
+
isOnboarding: true,
|
|
584
|
+
optional: true,
|
|
585
|
+
options: [...personalityPatternOptions],
|
|
586
|
+
// Shown to everyone
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
order: 5,
|
|
590
|
+
key: 'neurologicalChronicConditions',
|
|
591
|
+
label: 'Neurological & Chronic Conditions',
|
|
592
|
+
type: 'multi_select',
|
|
593
|
+
step: 8,
|
|
594
|
+
isOnboarding: true,
|
|
595
|
+
optional: true,
|
|
596
|
+
options: [...neurologicalChronicConditionOptions],
|
|
597
|
+
// Shown to everyone
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
order: 6,
|
|
301
601
|
key: 'ageOfRealization',
|
|
302
602
|
label: 'Age of Realization',
|
|
303
603
|
type: 'single_select',
|
|
@@ -305,10 +605,10 @@ export const neurodiversity = {
|
|
|
305
605
|
isOnboarding: true,
|
|
306
606
|
optional: true,
|
|
307
607
|
options: [...ageOfRealizationOptions],
|
|
308
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
608
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
309
609
|
},
|
|
310
610
|
{
|
|
311
|
-
order:
|
|
611
|
+
order: 7,
|
|
312
612
|
key: 'sensoryProfile',
|
|
313
613
|
label: 'Sensory Profile',
|
|
314
614
|
type: 'multi_select',
|
|
@@ -316,10 +616,10 @@ export const neurodiversity = {
|
|
|
316
616
|
isOnboarding: true,
|
|
317
617
|
optional: true,
|
|
318
618
|
options: [...sensoryProfileOptions],
|
|
319
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
619
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
320
620
|
},
|
|
321
621
|
{
|
|
322
|
-
order:
|
|
622
|
+
order: 8,
|
|
323
623
|
key: 'cognitiveStrengths',
|
|
324
624
|
label: 'Cognitive Strengths',
|
|
325
625
|
type: 'multi_select',
|
|
@@ -327,10 +627,10 @@ export const neurodiversity = {
|
|
|
327
627
|
isOnboarding: true,
|
|
328
628
|
optional: true,
|
|
329
629
|
options: [...cognitiveStrengthOptions],
|
|
330
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
630
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
331
631
|
},
|
|
332
632
|
{
|
|
333
|
-
order:
|
|
633
|
+
order: 9,
|
|
334
634
|
key: 'executiveFunctionChallenges',
|
|
335
635
|
label: 'Executive Function Challenges',
|
|
336
636
|
type: 'multi_select',
|
|
@@ -338,10 +638,10 @@ export const neurodiversity = {
|
|
|
338
638
|
isOnboarding: true,
|
|
339
639
|
optional: true,
|
|
340
640
|
options: [...executiveFunctionChallengeOptions],
|
|
341
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
641
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
342
642
|
},
|
|
343
643
|
{
|
|
344
|
-
order:
|
|
644
|
+
order: 10,
|
|
345
645
|
key: 'learningStyle',
|
|
346
646
|
label: 'Learning Style',
|
|
347
647
|
type: 'single_select',
|
|
@@ -351,7 +651,7 @@ export const neurodiversity = {
|
|
|
351
651
|
options: [...learningStyleOptions],
|
|
352
652
|
},
|
|
353
653
|
{
|
|
354
|
-
order:
|
|
654
|
+
order: 11,
|
|
355
655
|
key: 'communicationPreference',
|
|
356
656
|
label: 'Communication Preference',
|
|
357
657
|
type: 'single_select',
|
|
@@ -361,7 +661,7 @@ export const neurodiversity = {
|
|
|
361
661
|
options: [...communicationPreferenceOptions],
|
|
362
662
|
},
|
|
363
663
|
{
|
|
364
|
-
order:
|
|
664
|
+
order: 12,
|
|
365
665
|
key: 'supportAndAccommodations',
|
|
366
666
|
label: 'Support & Accommodations',
|
|
367
667
|
type: 'multi_select',
|
|
@@ -369,10 +669,10 @@ export const neurodiversity = {
|
|
|
369
669
|
isOnboarding: true,
|
|
370
670
|
optional: true,
|
|
371
671
|
options: [...supportAccommodationOptions],
|
|
372
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
672
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
373
673
|
},
|
|
374
674
|
{
|
|
375
|
-
order:
|
|
675
|
+
order: 13,
|
|
376
676
|
key: 'maskingAndBurnout',
|
|
377
677
|
label: 'Masking & Burnout',
|
|
378
678
|
type: 'single_select',
|
|
@@ -380,10 +680,10 @@ export const neurodiversity = {
|
|
|
380
680
|
isOnboarding: true,
|
|
381
681
|
optional: true,
|
|
382
682
|
options: [...maskingBurnoutOptions],
|
|
383
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
683
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
384
684
|
},
|
|
385
685
|
{
|
|
386
|
-
order:
|
|
686
|
+
order: 14,
|
|
387
687
|
key: 'impactOnLife',
|
|
388
688
|
label: 'Impact on Daily Life',
|
|
389
689
|
type: 'single_select',
|
|
@@ -391,7 +691,7 @@ export const neurodiversity = {
|
|
|
391
691
|
isOnboarding: true,
|
|
392
692
|
optional: true,
|
|
393
693
|
options: [...impactOnLifeOptions],
|
|
394
|
-
conditionalOn: { field: 'neurodiverseIdentity', notIn:
|
|
694
|
+
conditionalOn: { field: 'neurodiverseIdentity', notIn: ND_SKIP },
|
|
395
695
|
},
|
|
396
696
|
],
|
|
397
697
|
};
|