@htilabs/platform-common-models 0.1.0-beta.3 → 0.2.0-beta.1
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/constants/index.cjs +183 -4465
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +612 -127
- package/dist/constants/index.d.ts +612 -127
- package/dist/constants/index.js +167 -4298
- package/dist/constants/index.js.map +1 -1
- package/dist/index.cjs +356 -4466
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +332 -4299
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +306 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +99 -11
- package/dist/models/index.d.ts +99 -11
- package/dist/models/index.js +304 -1
- package/dist/models/index.js.map +1 -1
- package/dist/{scoring-rule-liZlPytD.d.cts → platform-role-CcFTFHUr.d.cts} +185 -9
- package/dist/{scoring-rule-liZlPytD.d.ts → platform-role-CcFTFHUr.d.ts} +185 -9
- package/dist/schemas/index.cjs +297 -2666
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +5 -5
- package/dist/schemas/index.d.ts +5 -5
- package/dist/schemas/index.js +291 -2666
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +45 -1
- package/dist/types/index.d.ts +45 -1
- package/package.json +1 -1
- package/src/constants/ic.ts +28 -3513
- package/src/constants/index.ts +1 -2
- package/src/constants/platform-auth.ts +189 -0
- package/src/models/index.ts +18 -1
- package/src/models/platformFunctionModel.ts +33 -0
- package/src/models/platformRoleModel.ts +33 -0
- package/src/schemas/index.ts +16 -0
- package/src/schemas/platform-function.ts +97 -0
- package/src/schemas/platform-role.ts +100 -0
- package/src/types/index.ts +14 -0
- package/src/types/platform-auth.ts +49 -0
- package/dist/index-Cww9rH3H.d.cts +0 -1695
- package/dist/index-Cww9rH3H.d.ts +0 -1695
- package/src/constants/service-catalog.json +0 -1349
- package/src/constants/service-catalog.ts +0 -225
package/dist/index-Cww9rH3H.d.ts
DELETED
|
@@ -1,1695 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @htilabs/platform-common-models — Information Concept (IC) Constants
|
|
3
|
-
* ENUM integer values matching victim services data standards.
|
|
4
|
-
*
|
|
5
|
-
* Each IC constant object is `as const` so values are narrow literal types.
|
|
6
|
-
* Label records provide display text for UI rendering.
|
|
7
|
-
*/
|
|
8
|
-
declare const DATA_QUALITY: {
|
|
9
|
-
/** Client does not know the answer. */
|
|
10
|
-
readonly CLIENT_DOESNT_KNOW: "client_doesnt_know";
|
|
11
|
-
/** Client explicitly declined to provide the information. */
|
|
12
|
-
readonly CLIENT_PREFERS_NOT_TO_ANSWER: "client_prefers_not_to_answer";
|
|
13
|
-
/** Data was not collected during this interaction. */
|
|
14
|
-
readonly DATA_NOT_COLLECTED: "data_not_collected";
|
|
15
|
-
};
|
|
16
|
-
type DataQualityValue = (typeof DATA_QUALITY)[keyof typeof DATA_QUALITY];
|
|
17
|
-
/** Tuple of valid DATA_QUALITY values for enum constraints (preserves literal types). */
|
|
18
|
-
declare const DATA_QUALITY_VALUES: readonly ["client_doesnt_know", "client_prefers_not_to_answer", "data_not_collected"];
|
|
19
|
-
declare const DATA_QUALITY_LABELS: Record<DataQualityValue, string>;
|
|
20
|
-
declare const DATA_QUALITY_DESCRIPTIONS: Record<DataQualityValue, string>;
|
|
21
|
-
declare const CVC_1_NAME_TYPE: {
|
|
22
|
-
/** Full legal name with structured components (first, middle, last, suffix) */
|
|
23
|
-
readonly LEGAL: "legal";
|
|
24
|
-
/** Alias or AKA - single unstructured name field */
|
|
25
|
-
readonly ALIAS: "alias";
|
|
26
|
-
/** Trade name / business name - single unstructured name field */
|
|
27
|
-
readonly TRADE_NAME: "trade_name";
|
|
28
|
-
/** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
|
|
29
|
-
readonly MONONYM: "mononym";
|
|
30
|
-
/** Nickname - single unstructured name field */
|
|
31
|
-
readonly NICKNAME: "nickname";
|
|
32
|
-
/** Online handle or username - single unstructured name field */
|
|
33
|
-
readonly HANDLE: "handle";
|
|
34
|
-
/** Name type is unknown */
|
|
35
|
-
readonly UNKNOWN: "unknown";
|
|
36
|
-
};
|
|
37
|
-
type CVC1Value = (typeof CVC_1_NAME_TYPE)[keyof typeof CVC_1_NAME_TYPE];
|
|
38
|
-
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "mononym", "nickname", "handle", "unknown"];
|
|
39
|
-
declare const CVC_1_LABELS: Record<CVC1Value, string>;
|
|
40
|
-
/**
|
|
41
|
-
* Name types that require structured fields (firstName, middleName, lastName, suffix).
|
|
42
|
-
* These names have distinct components that should be captured separately.
|
|
43
|
-
*/
|
|
44
|
-
declare const CVC_1_STRUCTURED_NAME_TYPES: readonly CVC1Value[];
|
|
45
|
-
/**
|
|
46
|
-
* Name types that use a single unstructured name field.
|
|
47
|
-
* These names don't have separate first/middle/last components.
|
|
48
|
-
*/
|
|
49
|
-
declare const CVC_1_UNSTRUCTURED_NAME_TYPES: readonly CVC1Value[];
|
|
50
|
-
/**
|
|
51
|
-
* Determine if a name type requires structured fields (first/middle/last/suffix).
|
|
52
|
-
* @param nameType - The name type value
|
|
53
|
-
* @returns True if structured fields should be shown, false for single name field
|
|
54
|
-
*/
|
|
55
|
-
declare function isStructuredNameType(nameType: CVC1Value | string | null | undefined): boolean;
|
|
56
|
-
declare const IC_5_VICTIMIZATION: {
|
|
57
|
-
readonly DV: 1;
|
|
58
|
-
readonly SA: 2;
|
|
59
|
-
readonly DMST: 3;
|
|
60
|
-
readonly ST: 4;
|
|
61
|
-
readonly LT: 5;
|
|
62
|
-
readonly OTHER: 99;
|
|
63
|
-
};
|
|
64
|
-
type IC5Value = (typeof IC_5_VICTIMIZATION)[keyof typeof IC_5_VICTIMIZATION];
|
|
65
|
-
declare const IC_5_LABELS: Record<IC5Value, string>;
|
|
66
|
-
declare const IC_5_FULL_LABELS: Record<IC5Value, string>;
|
|
67
|
-
declare const IC_13_RELATIONSHIP_TYPE: {
|
|
68
|
-
readonly SPOUSE: 1;
|
|
69
|
-
readonly PARTNER: 2;
|
|
70
|
-
readonly PARENT: 3;
|
|
71
|
-
readonly CHILD: 4;
|
|
72
|
-
readonly SIBLING: 5;
|
|
73
|
-
readonly OTHER_FAMILY: 6;
|
|
74
|
-
readonly ROOMMATE: 7;
|
|
75
|
-
readonly FRIEND: 8;
|
|
76
|
-
readonly COWORKER: 9;
|
|
77
|
-
readonly ACQUAINTANCE: 10;
|
|
78
|
-
readonly STRANGER: 11;
|
|
79
|
-
readonly OTHER: 99;
|
|
80
|
-
};
|
|
81
|
-
type IC13Value = (typeof IC_13_RELATIONSHIP_TYPE)[keyof typeof IC_13_RELATIONSHIP_TYPE];
|
|
82
|
-
declare const IC_13_LABELS: Record<IC13Value, string>;
|
|
83
|
-
declare const IC_13_RELATIONSHIP_ABBREV: Record<IC13Value, string>;
|
|
84
|
-
/**
|
|
85
|
-
* IC-13 relationship priority groups.
|
|
86
|
-
* Order: Familial > Romantic > Close social > Business > Other social > ungrouped.
|
|
87
|
-
* Used by the UI to sort and group relationship dropdown options.
|
|
88
|
-
*/
|
|
89
|
-
interface IC13PriorityGroup {
|
|
90
|
-
label: string;
|
|
91
|
-
codes: readonly IC13Value[];
|
|
92
|
-
}
|
|
93
|
-
declare const IC_13_PRIORITY_GROUPS: readonly IC13PriorityGroup[];
|
|
94
|
-
/**
|
|
95
|
-
* IC-13 reverse-context labels: frames the relationship FROM the person
|
|
96
|
-
* TO the Primary Victim. E.g., "Parent of victim" means the person IS
|
|
97
|
-
* the parent of the victim.
|
|
98
|
-
*/
|
|
99
|
-
declare const IC_13_REVERSE_CONTEXT_LABELS: Record<IC13Value, string>;
|
|
100
|
-
/**
|
|
101
|
-
* Sort IC-13 relationship codes by priority group order.
|
|
102
|
-
* Codes not in any group are appended at the end.
|
|
103
|
-
*/
|
|
104
|
-
declare function sortRelationshipsByPriority(codes: number[]): number[];
|
|
105
|
-
declare const IC_13_CATEGORIES: {
|
|
106
|
-
readonly familial: readonly IC13Value[];
|
|
107
|
-
readonly romantic: readonly IC13Value[];
|
|
108
|
-
readonly close_social: readonly IC13Value[];
|
|
109
|
-
readonly business: readonly IC13Value[];
|
|
110
|
-
readonly other_social: readonly IC13Value[];
|
|
111
|
-
readonly ungrouped: readonly IC13Value[];
|
|
112
|
-
};
|
|
113
|
-
type IC13Category = keyof typeof IC_13_CATEGORIES;
|
|
114
|
-
/** Display priority order for IC-13 categories (highest priority first). */
|
|
115
|
-
declare const IC_13_CATEGORY_ORDER: readonly IC13Category[];
|
|
116
|
-
/**
|
|
117
|
-
* CVC-145 Level 1 Categories
|
|
118
|
-
* High-level groupings of relationship dynamics.
|
|
119
|
-
*/
|
|
120
|
-
declare const CVC_145_CATEGORY: {
|
|
121
|
-
readonly CONTROL_MONITORING: "control_monitoring";
|
|
122
|
-
readonly RESOURCE_CONTROL: "resource_control";
|
|
123
|
-
readonly COERCION_THREATS: "coercion_threats";
|
|
124
|
-
readonly ABUSE_DYNAMICS: "abuse_dynamics";
|
|
125
|
-
readonly POWER_IMBALANCE: "power_imbalance";
|
|
126
|
-
readonly MISSINGNESS: "missingness";
|
|
127
|
-
};
|
|
128
|
-
type CVC145Category = (typeof CVC_145_CATEGORY)[keyof typeof CVC_145_CATEGORY];
|
|
129
|
-
declare const CVC_145_CATEGORY_LABELS: Record<CVC145Category, string>;
|
|
130
|
-
/**
|
|
131
|
-
* CVC-145 Relationship Dynamics codes
|
|
132
|
-
*/
|
|
133
|
-
declare const CVC_145_RELATIONSHIP_DYNAMICS: {
|
|
134
|
-
readonly DNC: "DNC";
|
|
135
|
-
readonly ANON: "ANON";
|
|
136
|
-
readonly UNK: "UNK";
|
|
137
|
-
readonly CONTROLLING_BEHAVIOR: "CONTROLLING_BEHAVIOR";
|
|
138
|
-
readonly CONTROLS_FINANCES: "CONTROLS_FINANCES";
|
|
139
|
-
readonly CONTROLS_DOCUMENTATION: "CONTROLS_DOCUMENTATION";
|
|
140
|
-
readonly THREATS_OF_HARM: "THREATS_OF_HARM";
|
|
141
|
-
readonly THREATS_TO_FAMILY_FRIENDS: "THREATS_TO_FAMILY_FRIENDS";
|
|
142
|
-
readonly THREATS_OF_LEGAL_TROUBLE: "THREATS_OF_LEGAL_TROUBLE";
|
|
143
|
-
readonly EMOTIONAL_VERBAL_ABUSE: "EMOTIONAL_VERBAL_ABUSE";
|
|
144
|
-
readonly PHYSICAL_ABUSE: "PHYSICAL_ABUSE";
|
|
145
|
-
readonly SEXUAL_ABUSE: "SEXUAL_ABUSE";
|
|
146
|
-
readonly FAMILY_FRIENDS_PHYSICALLY_ABUSED: "FAMILY_FRIENDS_PHYSICALLY_ABUSED";
|
|
147
|
-
readonly AGE_DISPARITY: "AGE_DISPARITY";
|
|
148
|
-
};
|
|
149
|
-
type CVC145Value = (typeof CVC_145_RELATIONSHIP_DYNAMICS)[keyof typeof CVC_145_RELATIONSHIP_DYNAMICS];
|
|
150
|
-
declare const CVC_145_VALUES: readonly CVC145Value[];
|
|
151
|
-
declare const CVC_145_LABELS: Record<CVC145Value, string>;
|
|
152
|
-
/**
|
|
153
|
-
* Maps each dynamics code to its L1 category.
|
|
154
|
-
*/
|
|
155
|
-
declare const CVC_145_TYPE_TO_CATEGORY: Record<CVC145Value, CVC145Category>;
|
|
156
|
-
/** UI option type for grouped dropdowns */
|
|
157
|
-
interface CVC145Option {
|
|
158
|
-
value: CVC145Value;
|
|
159
|
-
label: string;
|
|
160
|
-
category: CVC145Category;
|
|
161
|
-
categoryLabel: string;
|
|
162
|
-
}
|
|
163
|
-
/** Generate options array grouped by category */
|
|
164
|
-
declare const CVC_145_OPTIONS: readonly CVC145Option[];
|
|
165
|
-
/** Get selectable options (excludes missingness for most UIs) */
|
|
166
|
-
declare const CVC_145_SELECTABLE_OPTIONS: readonly CVC145Option[];
|
|
167
|
-
/** Category display order for UI */
|
|
168
|
-
declare const CVC_145_CATEGORY_ORDER: readonly CVC145Category[];
|
|
169
|
-
declare const RELATIONSHIP_DYNAMICS: {
|
|
170
|
-
readonly APPEARS_CONTROLLING: "CONTROLLING_BEHAVIOR";
|
|
171
|
-
readonly CONTROLS_FINANCES: "CONTROLS_FINANCES";
|
|
172
|
-
readonly CONTROLS_DOCUMENTATION: "CONTROLS_DOCUMENTATION";
|
|
173
|
-
readonly EMOTIONAL_VERBAL_ABUSE: "EMOTIONAL_VERBAL_ABUSE";
|
|
174
|
-
readonly PHYSICAL_ABUSE: "PHYSICAL_ABUSE";
|
|
175
|
-
readonly SEXUAL_ABUSE: "SEXUAL_ABUSE";
|
|
176
|
-
readonly THREATS_OF_HARM: "THREATS_OF_HARM";
|
|
177
|
-
readonly THREATS_OF_LEGAL_TROUBLE: "THREATS_OF_LEGAL_TROUBLE";
|
|
178
|
-
readonly AGE_DISPARITY: "AGE_DISPARITY";
|
|
179
|
-
readonly HAS_KIDS_WITH: "HAS_KIDS_WITH";
|
|
180
|
-
};
|
|
181
|
-
type RelationshipDynamicValue = (typeof RELATIONSHIP_DYNAMICS)[keyof typeof RELATIONSHIP_DYNAMICS];
|
|
182
|
-
declare const RELATIONSHIP_DYNAMICS_LABELS: Record<string, string>;
|
|
183
|
-
declare const RELATIONSHIP_DYNAMICS_VALUES: readonly string[];
|
|
184
|
-
declare const RELATIONSHIP_CONCERNS: {
|
|
185
|
-
readonly SAFETY: "safety";
|
|
186
|
-
readonly CUSTODY: "custody";
|
|
187
|
-
readonly IMMIGRATION: "immigration";
|
|
188
|
-
readonly FINANCIAL: "financial";
|
|
189
|
-
readonly HOUSING: "housing";
|
|
190
|
-
readonly SUBSTANCE_USE: "substance_use";
|
|
191
|
-
readonly MENTAL_HEALTH: "mental_health";
|
|
192
|
-
readonly CHILD_WELFARE: "child_welfare";
|
|
193
|
-
};
|
|
194
|
-
type RelationshipConcernValue = (typeof RELATIONSHIP_CONCERNS)[keyof typeof RELATIONSHIP_CONCERNS];
|
|
195
|
-
declare const RELATIONSHIP_CONCERNS_LABELS: Record<RelationshipConcernValue, string>;
|
|
196
|
-
declare const RELATIONSHIP_CONCERNS_VALUES: readonly RelationshipConcernValue[];
|
|
197
|
-
interface ServiceCategoryChild {
|
|
198
|
-
id: number;
|
|
199
|
-
label: string;
|
|
200
|
-
}
|
|
201
|
-
interface ServiceCategory {
|
|
202
|
-
id: number;
|
|
203
|
-
label: string;
|
|
204
|
-
children: ServiceCategoryChild[];
|
|
205
|
-
}
|
|
206
|
-
declare const IC_48_SERVICE_CATEGORIES: ServiceCategory[];
|
|
207
|
-
declare const IC_49_SERVICE_MECHANISM: {
|
|
208
|
-
readonly DATA_NOT_COLLECTED: -2;
|
|
209
|
-
readonly ANONYMOUS: -1;
|
|
210
|
-
readonly UNKNOWN: 0;
|
|
211
|
-
readonly SUPPORT_VIA_REFERRAL: 3;
|
|
212
|
-
readonly INFORMATIONAL_SUPPORT: 4;
|
|
213
|
-
readonly DIRECT_STAFF_CONTRACTOR: 1;
|
|
214
|
-
readonly FINANCIAL_MATERIAL_ASSISTANCE: 2;
|
|
215
|
-
readonly SUPPORT_IDENTIFIED_NOT_ADMINISTERED: 5;
|
|
216
|
-
};
|
|
217
|
-
type IC49Value = (typeof IC_49_SERVICE_MECHANISM)[keyof typeof IC_49_SERVICE_MECHANISM];
|
|
218
|
-
declare const IC_49_LABELS: Record<IC49Value, string>;
|
|
219
|
-
declare const IC_49_DESCRIPTIONS: Record<IC49Value, string>;
|
|
220
|
-
declare const IC_56_SERVICE_DELIVERY_CHANNEL: {
|
|
221
|
-
readonly DATA_NOT_COLLECTED: -2;
|
|
222
|
-
readonly ANONYMOUS: -1;
|
|
223
|
-
readonly UNKNOWN: 0;
|
|
224
|
-
readonly IN_PERSON: 1;
|
|
225
|
-
readonly ON_SCENE: 2;
|
|
226
|
-
readonly PHONE: 3;
|
|
227
|
-
readonly EMAIL_TEXT_CHAT: 4;
|
|
228
|
-
readonly VIRTUAL: 5;
|
|
229
|
-
};
|
|
230
|
-
type IC56Value = (typeof IC_56_SERVICE_DELIVERY_CHANNEL)[keyof typeof IC_56_SERVICE_DELIVERY_CHANNEL];
|
|
231
|
-
/** Level 1 values only (excludes missingness codes). */
|
|
232
|
-
type IC56ChannelValue = 1 | 2 | 3 | 4 | 5;
|
|
233
|
-
declare const IC_56_LABELS: Record<IC56Value, string>;
|
|
234
|
-
declare const IC_56_DESCRIPTIONS: Record<IC56Value, string>;
|
|
235
|
-
/**
|
|
236
|
-
* Check if an IC-56 code is a missingness value (Level 0).
|
|
237
|
-
* @param code - The IC-56 code
|
|
238
|
-
* @returns True if the code represents a missingness state
|
|
239
|
-
*/
|
|
240
|
-
declare function isIC56Missingness(code: number): boolean;
|
|
241
|
-
/**
|
|
242
|
-
* Check if an IC-56 code is a valid service delivery channel (Level 1).
|
|
243
|
-
* @param code - The IC-56 code
|
|
244
|
-
* @returns True if the code represents an actual delivery channel
|
|
245
|
-
*/
|
|
246
|
-
declare function isIC56ValidChannel(code: number): code is IC56ChannelValue;
|
|
247
|
-
/** Options array for dropdown/radio components (Level 1 only). */
|
|
248
|
-
declare const IC_56_OPTIONS: readonly [{
|
|
249
|
-
readonly value: 1;
|
|
250
|
-
readonly label: string;
|
|
251
|
-
}, {
|
|
252
|
-
readonly value: 2;
|
|
253
|
-
readonly label: string;
|
|
254
|
-
}, {
|
|
255
|
-
readonly value: 3;
|
|
256
|
-
readonly label: string;
|
|
257
|
-
}, {
|
|
258
|
-
readonly value: 4;
|
|
259
|
-
readonly label: string;
|
|
260
|
-
}, {
|
|
261
|
-
readonly value: 5;
|
|
262
|
-
readonly label: string;
|
|
263
|
-
}];
|
|
264
|
-
declare const IC_57_SERVICE_AUDIENCE: {
|
|
265
|
-
readonly CLIENT_VICTIM: 1;
|
|
266
|
-
readonly THIRD_PARTY: 2;
|
|
267
|
-
readonly DEPENDENT_SECONDARY: 3;
|
|
268
|
-
readonly CLIENT_GROUPS: 4;
|
|
269
|
-
};
|
|
270
|
-
type IC57Value = (typeof IC_57_SERVICE_AUDIENCE)[keyof typeof IC_57_SERVICE_AUDIENCE];
|
|
271
|
-
declare const IC_57_LABELS: Record<IC57Value, string>;
|
|
272
|
-
declare const IC_58_REFERRAL_ENTITY: {
|
|
273
|
-
readonly UNKNOWN: 0;
|
|
274
|
-
readonly INTERNAL: 1;
|
|
275
|
-
readonly INDIVIDUAL_SELF: 2;
|
|
276
|
-
readonly INDIVIDUAL_FAMILY: 3;
|
|
277
|
-
readonly INDIVIDUAL_PEER: 4;
|
|
278
|
-
readonly INDIVIDUAL_OTHER: 5;
|
|
279
|
-
readonly EXTERNAL_HOUSING_SHELTER: 10;
|
|
280
|
-
readonly EXTERNAL_HOTLINE: 11;
|
|
281
|
-
readonly EXTERNAL_JUSTICE: 12;
|
|
282
|
-
readonly EXTERNAL_OUTREACH: 13;
|
|
283
|
-
readonly EXTERNAL_TEMPORARY_SHELTER: 14;
|
|
284
|
-
readonly EXTERNAL_RESIDENTIAL: 15;
|
|
285
|
-
readonly EXTERNAL_HEALTH: 16;
|
|
286
|
-
readonly EXTERNAL_EDUCATION: 17;
|
|
287
|
-
readonly EXTERNAL_LAW_ENFORCEMENT: 18;
|
|
288
|
-
readonly EXTERNAL_OTHER: 19;
|
|
289
|
-
readonly EXTERNAL_CHILD_WELFARE: 20;
|
|
290
|
-
readonly EXTERNAL_JUVENILE_JUSTICE: 21;
|
|
291
|
-
readonly EXTERNAL_COURTS: 22;
|
|
292
|
-
readonly EXTERNAL_CORRECTIONS: 23;
|
|
293
|
-
readonly EXTERNAL_INPATIENT_PSYCH: 24;
|
|
294
|
-
readonly EXTERNAL_HEALTHCARE_PROVIDER: 25;
|
|
295
|
-
readonly EXTERNAL_VICTIM_COMMUNITY: 26;
|
|
296
|
-
readonly EXTERNAL_CAC: 27;
|
|
297
|
-
readonly EXTERNAL_VSP: 28;
|
|
298
|
-
readonly EXTERNAL_COMMUNITY_PROVIDER: 29;
|
|
299
|
-
readonly EXTERNAL_EMPLOYER: 30;
|
|
300
|
-
readonly EXTERNAL_BENEFITS: 31;
|
|
301
|
-
};
|
|
302
|
-
type IC58Value = (typeof IC_58_REFERRAL_ENTITY)[keyof typeof IC_58_REFERRAL_ENTITY];
|
|
303
|
-
declare const IC_58_LABELS: Record<IC58Value, string>;
|
|
304
|
-
interface ReferralBranch {
|
|
305
|
-
value?: number;
|
|
306
|
-
label: string;
|
|
307
|
-
description: string;
|
|
308
|
-
children?: {
|
|
309
|
-
value: number;
|
|
310
|
-
label: string;
|
|
311
|
-
}[];
|
|
312
|
-
}
|
|
313
|
-
declare const IC_58_PRIMARY_BRANCHES: Record<string, ReferralBranch>;
|
|
314
|
-
interface OrgTypeGroup {
|
|
315
|
-
value: number;
|
|
316
|
-
label: string;
|
|
317
|
-
description?: string;
|
|
318
|
-
children: {
|
|
319
|
-
value: number;
|
|
320
|
-
label: string;
|
|
321
|
-
}[];
|
|
322
|
-
}
|
|
323
|
-
declare const IC_58_ORG_TYPE_GROUPS: OrgTypeGroup[];
|
|
324
|
-
interface IC58ExternalCategory {
|
|
325
|
-
id: number;
|
|
326
|
-
label: string;
|
|
327
|
-
description: string;
|
|
328
|
-
children: {
|
|
329
|
-
id: number;
|
|
330
|
-
label: string;
|
|
331
|
-
}[];
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Tiered organization type structure for External referral sources.
|
|
335
|
-
* Parent categories are collapsible; leaf children are selectable.
|
|
336
|
-
* Based on core_referral_entity_category codebook from Notion.
|
|
337
|
-
*/
|
|
338
|
-
declare const IC_58_EXTERNAL_TIERED: IC58ExternalCategory[];
|
|
339
|
-
declare const IC_59_SERVICE_STATE: {
|
|
340
|
-
readonly IDENTIFIED: 1;
|
|
341
|
-
readonly REFERRED: 2;
|
|
342
|
-
readonly IN_PROGRESS: 3;
|
|
343
|
-
readonly COMPLETED: 4;
|
|
344
|
-
readonly DECLINED: 5;
|
|
345
|
-
};
|
|
346
|
-
type IC59Value = (typeof IC_59_SERVICE_STATE)[keyof typeof IC_59_SERVICE_STATE];
|
|
347
|
-
declare const IC_59_LABELS: Record<IC59Value, string>;
|
|
348
|
-
declare const IC_49_REFERRAL_OUTCOME: {
|
|
349
|
-
readonly UNKNOWN: 0;
|
|
350
|
-
readonly ATTAINED: 1;
|
|
351
|
-
readonly NOT_ATTAINED: 2;
|
|
352
|
-
};
|
|
353
|
-
type IC49ReferralOutcomeValue = (typeof IC_49_REFERRAL_OUTCOME)[keyof typeof IC_49_REFERRAL_OUTCOME];
|
|
354
|
-
declare const IC_49_REFERRAL_OUTCOME_LABELS: Record<IC49ReferralOutcomeValue, string>;
|
|
355
|
-
declare const IC_49_REFERRAL_VERIFICATION: {
|
|
356
|
-
readonly REFERRAL_MADE: 1;
|
|
357
|
-
readonly CONFIRMED_RECEIVED: 2;
|
|
358
|
-
};
|
|
359
|
-
type IC49ReferralVerificationValue = (typeof IC_49_REFERRAL_VERIFICATION)[keyof typeof IC_49_REFERRAL_VERIFICATION];
|
|
360
|
-
declare const IC_49_REFERRAL_VERIFICATION_LABELS: Record<IC49ReferralVerificationValue, string>;
|
|
361
|
-
declare const SESSION_STATES: {
|
|
362
|
-
readonly INITIALIZED: 1;
|
|
363
|
-
readonly ACTION_NEEDED: 2;
|
|
364
|
-
readonly PENDING_SAVE: 3;
|
|
365
|
-
readonly CLOSED: 4;
|
|
366
|
-
readonly DISCARDED: 5;
|
|
367
|
-
};
|
|
368
|
-
type SessionStateValue = (typeof SESSION_STATES)[keyof typeof SESSION_STATES];
|
|
369
|
-
declare const SESSION_STATE_LABELS: Record<SessionStateValue, string>;
|
|
370
|
-
declare const RECORD_STATES: {
|
|
371
|
-
readonly OPEN: 1;
|
|
372
|
-
readonly CLAIMED: 2;
|
|
373
|
-
readonly SUBMITTED_NO_SHARES: 3;
|
|
374
|
-
readonly SUBMITTED_WITH_SHARES: 4;
|
|
375
|
-
readonly CLOSED: 5;
|
|
376
|
-
};
|
|
377
|
-
type RecordStateValue = (typeof RECORD_STATES)[keyof typeof RECORD_STATES];
|
|
378
|
-
declare const RECORD_STATE_LABELS: Record<RecordStateValue, string>;
|
|
379
|
-
declare const INTERACTION_TYPES: {
|
|
380
|
-
readonly HOTLINE_CALL: 1;
|
|
381
|
-
readonly LAP_INCIDENT: 2;
|
|
382
|
-
readonly FIELD_RESPONSE: 3;
|
|
383
|
-
readonly EMAIL_CRISIS: 4;
|
|
384
|
-
readonly OTHER: 99;
|
|
385
|
-
};
|
|
386
|
-
type InteractionTypeValue = (typeof INTERACTION_TYPES)[keyof typeof INTERACTION_TYPES];
|
|
387
|
-
/** Tuple of valid INTERACTION_TYPES values for schema constraints. */
|
|
388
|
-
declare const VALID_INTERACTION_TYPES: readonly InteractionTypeValue[];
|
|
389
|
-
/** Tuple of valid RECORD_STATES values for schema constraints. */
|
|
390
|
-
declare const VALID_RECORD_STATES: readonly RecordStateValue[];
|
|
391
|
-
declare const INTERACTION_TYPE_LABELS: Record<InteractionTypeValue, string>;
|
|
392
|
-
declare const INCIDENT_INVOLVEMENT_ROLE: {
|
|
393
|
-
readonly VICTIM_PRIMARY: "victim_primary";
|
|
394
|
-
readonly VICTIM_SECONDARY: "victim_secondary";
|
|
395
|
-
readonly VICTIM_OTHER: "victim_other";
|
|
396
|
-
readonly DEPENDENT: "dependent";
|
|
397
|
-
readonly WITNESS: "witness";
|
|
398
|
-
readonly OFFENDER: "offender";
|
|
399
|
-
readonly UNKNOWN: "unknown";
|
|
400
|
-
readonly ANONYMOUS: "anonymous";
|
|
401
|
-
readonly NOT_COLLECTED: "not_collected";
|
|
402
|
-
};
|
|
403
|
-
type IncidentInvolvementRoleValue = (typeof INCIDENT_INVOLVEMENT_ROLE)[keyof typeof INCIDENT_INVOLVEMENT_ROLE];
|
|
404
|
-
declare const INCIDENT_INVOLVEMENT_ROLE_LABELS: Record<IncidentInvolvementRoleValue, string>;
|
|
405
|
-
/** Involvement roles available for selection in Thread UI (excludes victim_other and not_collected). */
|
|
406
|
-
declare const THREAD_INVOLVEMENT_ROLES: readonly ["victim_primary", "victim_secondary", "dependent", "witness", "offender", "unknown", "anonymous"];
|
|
407
|
-
declare const PERSON_ROLES: {
|
|
408
|
-
readonly VICTIM_CLIENT: "Victim / Client";
|
|
409
|
-
readonly CALLER_REPORTER: "Caller / Reporter";
|
|
410
|
-
readonly DEPENDENT: "Dependent / Secondary Victim";
|
|
411
|
-
readonly OFFENDER: "Offender";
|
|
412
|
-
readonly PERSONNEL: "Personnel / Staff";
|
|
413
|
-
readonly OTHER: "Other";
|
|
414
|
-
};
|
|
415
|
-
type PersonRoleValue = (typeof PERSON_ROLES)[keyof typeof PERSON_ROLES];
|
|
416
|
-
/**
|
|
417
|
-
* Maps IncidentInvolvementRoleValue (enum key stored on PersonInteracted) to
|
|
418
|
-
* the corresponding PersonRoleValue display string used in the UI.
|
|
419
|
-
*
|
|
420
|
-
* PersonnelPerson always receives PERSON_ROLES.PERSONNEL regardless of their
|
|
421
|
-
* personInvolvementRole — handle that case before consulting this map.
|
|
422
|
-
*
|
|
423
|
-
* All victim variants (primary, secondary, other) resolve to VICTIM_CLIENT
|
|
424
|
-
* because Thread treats them uniformly in the person block UI.
|
|
425
|
-
*/
|
|
426
|
-
declare const INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE: Record<IncidentInvolvementRoleValue, PersonRoleValue>;
|
|
427
|
-
declare const IC_4_AGE_TYPE: {
|
|
428
|
-
readonly EXACT_DOB: 1;
|
|
429
|
-
readonly APPROXIMATE: 2;
|
|
430
|
-
readonly ESTIMATED_RANGE: 3;
|
|
431
|
-
readonly UNKNOWN: 99;
|
|
432
|
-
};
|
|
433
|
-
type IC4Value = (typeof IC_4_AGE_TYPE)[keyof typeof IC_4_AGE_TYPE];
|
|
434
|
-
declare const IC_4_LABELS: Record<IC4Value, string>;
|
|
435
|
-
declare const IC_22_CORE_SEX: {
|
|
436
|
-
readonly FEMALE: 1;
|
|
437
|
-
readonly MALE: 2;
|
|
438
|
-
readonly INTERSEX: 3;
|
|
439
|
-
readonly UNKNOWN: 99;
|
|
440
|
-
};
|
|
441
|
-
type IC22Value = (typeof IC_22_CORE_SEX)[keyof typeof IC_22_CORE_SEX];
|
|
442
|
-
declare const IC_22_LABELS: Record<IC22Value, string>;
|
|
443
|
-
declare const IC_23_CORE_GENDER_IDENTITY: {
|
|
444
|
-
readonly FEMALE: 1;
|
|
445
|
-
readonly MALE: 2;
|
|
446
|
-
readonly NON_BINARY: 3;
|
|
447
|
-
readonly TRANSGENDER_FEMALE: 4;
|
|
448
|
-
readonly TRANSGENDER_MALE: 5;
|
|
449
|
-
readonly UNKNOWN: 99;
|
|
450
|
-
};
|
|
451
|
-
type IC23Value = (typeof IC_23_CORE_GENDER_IDENTITY)[keyof typeof IC_23_CORE_GENDER_IDENTITY];
|
|
452
|
-
declare const IC_23_LABELS: Record<IC23Value, string>;
|
|
453
|
-
declare const CVC_15_CORE_SEX: {
|
|
454
|
-
readonly MALE: "male";
|
|
455
|
-
readonly FEMALE: "female";
|
|
456
|
-
readonly UNKNOWN: "unknown";
|
|
457
|
-
readonly NOT_REPORTED: "not_reported";
|
|
458
|
-
readonly NOT_TRACKED: "not_tracked";
|
|
459
|
-
};
|
|
460
|
-
type CVC15Value = (typeof CVC_15_CORE_SEX)[keyof typeof CVC_15_CORE_SEX];
|
|
461
|
-
declare const CVC_15_LABELS: Record<CVC15Value, string>;
|
|
462
|
-
declare const CVC_15_SELECTABLE_VALUES: CVC15Value[];
|
|
463
|
-
declare const CVC_16_CORE_ORIENTATION: {
|
|
464
|
-
readonly STRAIGHT: "straight";
|
|
465
|
-
readonly GAY_OR_LESBIAN: "gay_or_lesbian";
|
|
466
|
-
readonly BISEXUAL: "bisexual";
|
|
467
|
-
readonly OTHER: "other_write_in_option";
|
|
468
|
-
readonly UNKNOWN: "unknown";
|
|
469
|
-
};
|
|
470
|
-
type CVC16Value = (typeof CVC_16_CORE_ORIENTATION)[keyof typeof CVC_16_CORE_ORIENTATION];
|
|
471
|
-
declare const CVC_16_LABELS: Record<CVC16Value, string>;
|
|
472
|
-
declare const CVC_16_LGBTQ_VALUES: CVC16Value[];
|
|
473
|
-
/**
|
|
474
|
-
* Check if a sexual orientation value indicates LGBTQ+ status.
|
|
475
|
-
* Used for LGBTQ auto-derivation logic.
|
|
476
|
-
*/
|
|
477
|
-
declare function isLgbtqOrientation(value: CVC16Value | null | undefined): boolean;
|
|
478
|
-
declare const CVC_17_CORE_GENDER_IDENTITY: {
|
|
479
|
-
readonly MALE: "MALE";
|
|
480
|
-
readonly FEMALE: "FEMALE";
|
|
481
|
-
readonly TRANSGENDER: "TRANSGENDER";
|
|
482
|
-
readonly NON_BINARY: "NON_BINARY";
|
|
483
|
-
readonly OTHER: "OTHER";
|
|
484
|
-
readonly UNKNOWN: "UNK";
|
|
485
|
-
readonly TRANSGENDER_FTM: "TRANSGENDER_FTM";
|
|
486
|
-
readonly TRANSGENDER_MTF: "TRANSGENDER_MTF";
|
|
487
|
-
};
|
|
488
|
-
type CVC17Value = (typeof CVC_17_CORE_GENDER_IDENTITY)[keyof typeof CVC_17_CORE_GENDER_IDENTITY];
|
|
489
|
-
declare const CVC_17_LABELS: Record<CVC17Value, string>;
|
|
490
|
-
declare const CVC_17_LEVEL_1_OPTIONS: CVC17Value[];
|
|
491
|
-
declare const CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: CVC17Value[];
|
|
492
|
-
declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
493
|
-
/**
|
|
494
|
-
* Check if a gender identity value indicates transgender status.
|
|
495
|
-
* Used for LGBTQ auto-population logic.
|
|
496
|
-
*/
|
|
497
|
-
declare function isTransgenderGenderIdentity(value: CVC17Value | null | undefined): boolean;
|
|
498
|
-
declare const IC_24_RACE: {
|
|
499
|
-
readonly AMERICAN_INDIAN_ALASKA_NATIVE: 1;
|
|
500
|
-
readonly ASIAN: 2;
|
|
501
|
-
readonly BLACK_AFRICAN_AMERICAN: 3;
|
|
502
|
-
readonly NATIVE_HAWAIIAN_PACIFIC_ISLANDER: 4;
|
|
503
|
-
readonly WHITE: 5;
|
|
504
|
-
readonly MULTIPLE_RACES: 6;
|
|
505
|
-
readonly UNKNOWN: 99;
|
|
506
|
-
};
|
|
507
|
-
type IC24Value = (typeof IC_24_RACE)[keyof typeof IC_24_RACE];
|
|
508
|
-
declare const IC_24_LABELS: Record<IC24Value, string>;
|
|
509
|
-
declare const IC_25_ETHNICITY: {
|
|
510
|
-
readonly HISPANIC_LATINO: 1;
|
|
511
|
-
readonly NOT_HISPANIC_LATINO: 2;
|
|
512
|
-
readonly UNKNOWN: 99;
|
|
513
|
-
};
|
|
514
|
-
type IC25Value = (typeof IC_25_ETHNICITY)[keyof typeof IC_25_ETHNICITY];
|
|
515
|
-
declare const IC_25_LABELS: Record<IC25Value, string>;
|
|
516
|
-
declare const ACCOMMODATION_OPTIONS: {
|
|
517
|
-
readonly HEARING_IMPAIRED: "hearing_impaired";
|
|
518
|
-
readonly VISION_IMPAIRED: "vision_impaired";
|
|
519
|
-
readonly MOBILITY_LIMITATION: "mobility_limitation";
|
|
520
|
-
readonly COGNITIVE_DEVELOPMENTAL: "cognitive_developmental";
|
|
521
|
-
readonly LANGUAGE_INTERPRETER: "language_interpreter";
|
|
522
|
-
readonly OTHER: "other";
|
|
523
|
-
};
|
|
524
|
-
type AccommodationValue = (typeof ACCOMMODATION_OPTIONS)[keyof typeof ACCOMMODATION_OPTIONS];
|
|
525
|
-
declare const ACCOMMODATION_LABELS: Record<AccommodationValue, string>;
|
|
526
|
-
declare const MINOR_ADULT_STATUS: {
|
|
527
|
-
readonly MINOR: 1;
|
|
528
|
-
readonly ADULT: 2;
|
|
529
|
-
readonly UNKNOWN: 99;
|
|
530
|
-
};
|
|
531
|
-
type MinorAdultStatusValue = (typeof MINOR_ADULT_STATUS)[keyof typeof MINOR_ADULT_STATUS];
|
|
532
|
-
declare const MINOR_ADULT_STATUS_LABELS: Record<MinorAdultStatusValue, string>;
|
|
533
|
-
declare const APPARENT_AGE: {
|
|
534
|
-
readonly CHILD: "child";
|
|
535
|
-
readonly TEEN: "teen";
|
|
536
|
-
readonly YOUNG_ADULT: "young_adult";
|
|
537
|
-
readonly ADULT: "adult";
|
|
538
|
-
readonly MIDDLE_AGE: "middle_age";
|
|
539
|
-
readonly SENIOR: "senior";
|
|
540
|
-
};
|
|
541
|
-
type ApparentAgeValue = (typeof APPARENT_AGE)[keyof typeof APPARENT_AGE];
|
|
542
|
-
declare const APPARENT_AGE_LABELS: Record<ApparentAgeValue, string>;
|
|
543
|
-
declare const AGE_BIN_REPORTING: {
|
|
544
|
-
readonly AGE_0_12: "age_0_12";
|
|
545
|
-
readonly AGE_13_17: "age_13_17";
|
|
546
|
-
readonly AGE_18_24: "age_18_24";
|
|
547
|
-
readonly AGE_25_59: "age_25_59";
|
|
548
|
-
readonly AGE_60_PLUS: "age_60_plus";
|
|
549
|
-
readonly NOT_REPORTED: "not_reported";
|
|
550
|
-
readonly NOT_TRACKED: "not_tracked";
|
|
551
|
-
};
|
|
552
|
-
type AgeBinReportingValue = (typeof AGE_BIN_REPORTING)[keyof typeof AGE_BIN_REPORTING];
|
|
553
|
-
declare const AGE_BIN_REPORTING_LABELS: Record<AgeBinReportingValue, string>;
|
|
554
|
-
declare const AGE_BIN_REPORTING_IS_MINOR: Record<AgeBinReportingValue, boolean | null>;
|
|
555
|
-
/** Derive VOCA age bin from numeric age */
|
|
556
|
-
declare function deriveAgeBinFromAge(age: number): AgeBinReportingValue;
|
|
557
|
-
declare const QUICK_START_TEMPLATES: {
|
|
558
|
-
readonly HOTLINE_CALL: "hotline_call";
|
|
559
|
-
readonly LAP_INCIDENT: "lap_incident";
|
|
560
|
-
readonly HT_REFERRAL: "ht_referral";
|
|
561
|
-
readonly FIELD_RESPONSE: "field_response";
|
|
562
|
-
readonly EMAIL_CRISIS: "email_crisis";
|
|
563
|
-
readonly OTHER: "other";
|
|
564
|
-
};
|
|
565
|
-
type QuickStartTemplateId = (typeof QUICK_START_TEMPLATES)[keyof typeof QUICK_START_TEMPLATES];
|
|
566
|
-
declare const QUICK_START_LABELS: Record<QuickStartTemplateId, string>;
|
|
567
|
-
declare const QUICK_START_CONFIG: Record<QuickStartTemplateId, {
|
|
568
|
-
contactMethod: number;
|
|
569
|
-
interactionType: number;
|
|
570
|
-
intakeFormKey?: string;
|
|
571
|
-
}>;
|
|
572
|
-
declare const SUBMISSION_STATES: {
|
|
573
|
-
readonly IN_PROGRESS: 1;
|
|
574
|
-
readonly SUBMITTED: 2;
|
|
575
|
-
readonly LOCKED: 3;
|
|
576
|
-
};
|
|
577
|
-
type SubmissionStateValue = (typeof SUBMISSION_STATES)[keyof typeof SUBMISSION_STATES];
|
|
578
|
-
declare const SUBMISSION_STATE_LABELS: Record<SubmissionStateValue, string>;
|
|
579
|
-
declare const FORM_STATUS: {
|
|
580
|
-
readonly DRAFT: "draft";
|
|
581
|
-
readonly ACTIVE: "active";
|
|
582
|
-
readonly DEPRECATED: "deprecated";
|
|
583
|
-
};
|
|
584
|
-
type FormStatusValue = (typeof FORM_STATUS)[keyof typeof FORM_STATUS];
|
|
585
|
-
declare const FORM_STATUS_LABELS: Record<FormStatusValue, string>;
|
|
586
|
-
declare const QUESTION_FORMAT: {
|
|
587
|
-
readonly EXCLUSIVE: "exclusive";
|
|
588
|
-
readonly INCLUSIVE: "inclusive";
|
|
589
|
-
readonly DROPDOWN: "dropdown";
|
|
590
|
-
readonly BINARY: "binary";
|
|
591
|
-
readonly TEXT: "text";
|
|
592
|
-
readonly NUMBER: "number";
|
|
593
|
-
readonly DATE: "date";
|
|
594
|
-
readonly MULTISELECT: "multiselect";
|
|
595
|
-
};
|
|
596
|
-
/** @deprecated Use KNOWN_QUESTION_FORMATS from schemas/forms */
|
|
597
|
-
type QuestionFormatValue = (typeof QUESTION_FORMAT)[keyof typeof QUESTION_FORMAT];
|
|
598
|
-
declare const QUESTION_FORMAT_LABELS: Record<string, string>;
|
|
599
|
-
declare const APP_SCOPE: {
|
|
600
|
-
readonly THREAD: "thread";
|
|
601
|
-
readonly PAVE: "pave";
|
|
602
|
-
readonly BOTH: "both";
|
|
603
|
-
};
|
|
604
|
-
type AppScopeValue = (typeof APP_SCOPE)[keyof typeof APP_SCOPE];
|
|
605
|
-
declare const FORM_TYPE: {
|
|
606
|
-
readonly SCREENING: "screening";
|
|
607
|
-
readonly INTAKE: "intake";
|
|
608
|
-
readonly ASSESSMENT: "assessment";
|
|
609
|
-
readonly DEMOGRAPHICS: "demographics";
|
|
610
|
-
};
|
|
611
|
-
type FormTypeValue = (typeof FORM_TYPE)[keyof typeof FORM_TYPE];
|
|
612
|
-
declare const FORM_TYPE_LABELS: Record<FormTypeValue, string>;
|
|
613
|
-
declare const USER_STATUS: {
|
|
614
|
-
readonly CREATED: 0;
|
|
615
|
-
readonly PENDING_APPROVAL: 1;
|
|
616
|
-
readonly APPROVED: 2;
|
|
617
|
-
readonly DENIED: 3;
|
|
618
|
-
readonly INVITED: 4;
|
|
619
|
-
readonly REVOKED: 5;
|
|
620
|
-
};
|
|
621
|
-
type UserStatusValue = (typeof USER_STATUS)[keyof typeof USER_STATUS];
|
|
622
|
-
declare const USER_STATUS_LABELS: Record<UserStatusValue, string>;
|
|
623
|
-
declare const INCIDENT_PARTICIPATION_ROLE: {
|
|
624
|
-
readonly CLIENT_SUBJECT: "client_subject";
|
|
625
|
-
readonly CALLER_SELF: "caller_self";
|
|
626
|
-
readonly CALLER_THIRD_PARTY: "caller_third_party";
|
|
627
|
-
readonly REPORTER: "reporter";
|
|
628
|
-
readonly FAMILY_MEMBER_OR_GUARDIAN: "family_member_or_guardian";
|
|
629
|
-
readonly FRIEND_OR_PEER: "friend_or_peer";
|
|
630
|
-
readonly SERVICE_PROVIDER_STAFF: "service_provider_staff";
|
|
631
|
-
readonly MEDICAL_PROVIDER_STAFF: "medical_provider_staff";
|
|
632
|
-
readonly UNKNOWN: "unknown";
|
|
633
|
-
readonly ANONYMOUS: "anonymous";
|
|
634
|
-
readonly NOT_COLLECTED: "not_collected";
|
|
635
|
-
};
|
|
636
|
-
type IncidentParticipationRoleValue = (typeof INCIDENT_PARTICIPATION_ROLE)[keyof typeof INCIDENT_PARTICIPATION_ROLE];
|
|
637
|
-
declare const INCIDENT_PARTICIPATION_ROLE_VALUES: readonly ["client_subject", "caller_self", "caller_third_party", "reporter", "family_member_or_guardian", "friend_or_peer", "service_provider_staff", "medical_provider_staff", "unknown", "anonymous", "not_collected"];
|
|
638
|
-
declare const INCIDENT_PARTICIPATION_ROLE_LABELS: Record<IncidentParticipationRoleValue, string>;
|
|
639
|
-
/**
|
|
640
|
-
* Participation role category groupings for UI organization.
|
|
641
|
-
*
|
|
642
|
-
* Note: UNKNOWN, ANONYMOUS, and NOT_COLLECTED are intentionally excluded.
|
|
643
|
-
* These are data quality states, not selectable participation roles.
|
|
644
|
-
* Handle them via separate UI controls (e.g., "Unknown" / "Anonymous" buttons).
|
|
645
|
-
*/
|
|
646
|
-
declare const PARTICIPATION_ROLE_CATEGORIES: {
|
|
647
|
-
readonly CLIENT: readonly ["client_subject"];
|
|
648
|
-
readonly CALLER_REPORTER: readonly ["caller_self", "caller_third_party", "reporter"];
|
|
649
|
-
readonly SUPPORT_NETWORK: readonly ["family_member_or_guardian", "friend_or_peer"];
|
|
650
|
-
readonly SYSTEM_PROFESSIONAL: readonly ["service_provider_staff", "medical_provider_staff"];
|
|
651
|
-
};
|
|
652
|
-
/** All participation roles assigned to a victim who is also the caller. */
|
|
653
|
-
declare const CALLER_IS_VICTIM_ROLES: IncidentParticipationRoleValue[];
|
|
654
|
-
declare const PERSON_DISPLAY_CATEGORY: {
|
|
655
|
-
readonly PRIMARY_VICTIM: "primary_victim";
|
|
656
|
-
readonly ELIGIBLE_FAMILY: "eligible_family";
|
|
657
|
-
readonly OFFENDER: "offender";
|
|
658
|
-
readonly THIRD_PARTY: "third_party";
|
|
659
|
-
readonly PERSONNEL: "personnel";
|
|
660
|
-
};
|
|
661
|
-
type PersonDisplayCategoryValue = (typeof PERSON_DISPLAY_CATEGORY)[keyof typeof PERSON_DISPLAY_CATEGORY];
|
|
662
|
-
declare const PERSON_DISPLAY_CATEGORY_LABELS: Record<PersonDisplayCategoryValue, string>;
|
|
663
|
-
declare const PERSON_TYPE: {
|
|
664
|
-
readonly PROTECTED: "ProtectedPerson";
|
|
665
|
-
readonly PERPETRATOR: "PerpetratorPerson";
|
|
666
|
-
readonly PERSONNEL: "PersonnelPerson";
|
|
667
|
-
readonly THIRD_PARTY: "ThirdPartyPerson";
|
|
668
|
-
};
|
|
669
|
-
type PersonTypeValue = (typeof PERSON_TYPE)[keyof typeof PERSON_TYPE];
|
|
670
|
-
/** Tuple of valid PERSON_TYPE values for schema consumption. */
|
|
671
|
-
declare const PERSON_TYPE_VALUES: readonly ["ProtectedPerson", "PerpetratorPerson", "PersonnelPerson", "ThirdPartyPerson"];
|
|
672
|
-
/**
|
|
673
|
-
* Static mapping from involvement role to person type.
|
|
674
|
-
*
|
|
675
|
-
* Note: Returns `null` for UNKNOWN and NOT_COLLECTED because these roles
|
|
676
|
-
* require contextual handling. For these cases, use `getPersonTypeForRole()`
|
|
677
|
-
* which applies conditional logic (e.g., preserving Personnel context).
|
|
678
|
-
*
|
|
679
|
-
* @see getPersonTypeForRole for the recommended API with null handling
|
|
680
|
-
*/
|
|
681
|
-
declare const INVOLVEMENT_ROLE_TO_PERSON_TYPE: Record<IncidentInvolvementRoleValue, PersonTypeValue | null>;
|
|
682
|
-
/**
|
|
683
|
-
* Get the person type for an involvement role.
|
|
684
|
-
* For 'unknown', preserves PersonnelPerson if provided as context, otherwise defaults to ThirdPartyPerson.
|
|
685
|
-
* Returns null for 'not_collected' (data quality state — cannot infer person type).
|
|
686
|
-
*/
|
|
687
|
-
declare function getPersonTypeForRole(role: IncidentInvolvementRoleValue, contextPersonType?: PersonTypeValue): PersonTypeValue | null;
|
|
688
|
-
/**
|
|
689
|
-
* Get the display category for a person based on involvement role and person type.
|
|
690
|
-
* Handles the conditional 'unknown' case where PersonnelPerson → Personnel category.
|
|
691
|
-
*/
|
|
692
|
-
declare function getDisplayCategoryForRole(role: IncidentInvolvementRoleValue, personType?: PersonTypeValue): PersonDisplayCategoryValue;
|
|
693
|
-
declare const DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY: Record<PersonDisplayCategoryValue, IncidentParticipationRoleValue | null>;
|
|
694
|
-
declare const CVC_93_CHILD_WELFARE_INVOLVEMENT: {
|
|
695
|
-
readonly CURRENT: "current";
|
|
696
|
-
readonly PREVIOUS: "previous";
|
|
697
|
-
readonly NEVER: "never";
|
|
698
|
-
readonly UNKNOWN: "unknown";
|
|
699
|
-
};
|
|
700
|
-
type CVC93Value = (typeof CVC_93_CHILD_WELFARE_INVOLVEMENT)[keyof typeof CVC_93_CHILD_WELFARE_INVOLVEMENT];
|
|
701
|
-
declare const CVC_93_VALUES: readonly ["current", "previous", "never", "unknown"];
|
|
702
|
-
declare const CVC_93_LABELS: Record<CVC93Value, string>;
|
|
703
|
-
declare const CVC_95_JUVENILE_JUSTICE_INVOLVEMENT: {
|
|
704
|
-
readonly CURRENT: "current";
|
|
705
|
-
readonly PREVIOUS: "previous";
|
|
706
|
-
readonly NEVER: "never";
|
|
707
|
-
readonly UNKNOWN: "unknown";
|
|
708
|
-
};
|
|
709
|
-
type CVC95Value = (typeof CVC_95_JUVENILE_JUSTICE_INVOLVEMENT)[keyof typeof CVC_95_JUVENILE_JUSTICE_INVOLVEMENT];
|
|
710
|
-
declare const CVC_95_VALUES: readonly ["current", "previous", "never", "unknown"];
|
|
711
|
-
declare const CVC_95_LABELS: Record<CVC95Value, string>;
|
|
712
|
-
declare const CVC_96_HOMELESS_STATUS: {
|
|
713
|
-
readonly CURRENT: "current";
|
|
714
|
-
readonly FORMER: "former";
|
|
715
|
-
readonly NEVER: "never";
|
|
716
|
-
readonly UNKNOWN: "unknown";
|
|
717
|
-
};
|
|
718
|
-
type CVC96Value = (typeof CVC_96_HOMELESS_STATUS)[keyof typeof CVC_96_HOMELESS_STATUS];
|
|
719
|
-
declare const CVC_96_VALUES: readonly ["current", "former", "never", "unknown"];
|
|
720
|
-
declare const CVC_96_LABELS: Record<CVC96Value, string>;
|
|
721
|
-
declare const CVC_97_IMMIGRANT_REFUGEE: {
|
|
722
|
-
readonly YES: "yes";
|
|
723
|
-
readonly NO: "no";
|
|
724
|
-
readonly UNKNOWN: "unknown";
|
|
725
|
-
readonly UNANSWERED: "unanswered";
|
|
726
|
-
};
|
|
727
|
-
type CVC97Value = (typeof CVC_97_IMMIGRANT_REFUGEE)[keyof typeof CVC_97_IMMIGRANT_REFUGEE];
|
|
728
|
-
declare const CVC_97_VALUES: readonly ["yes", "no", "unknown", "unanswered"];
|
|
729
|
-
declare const CVC_97_LABELS: Record<CVC97Value, string>;
|
|
730
|
-
declare const CVC_98_US_VETERAN: {
|
|
731
|
-
readonly YES: "yes";
|
|
732
|
-
readonly NO: "no";
|
|
733
|
-
readonly UNKNOWN: "unknown";
|
|
734
|
-
readonly UNANSWERED: "unanswered";
|
|
735
|
-
};
|
|
736
|
-
type CVC98Value = (typeof CVC_98_US_VETERAN)[keyof typeof CVC_98_US_VETERAN];
|
|
737
|
-
declare const CVC_98_VALUES: readonly ["yes", "no", "unknown", "unanswered"];
|
|
738
|
-
declare const CVC_98_LABELS: Record<CVC98Value, string>;
|
|
739
|
-
declare const CVC_99_ENGLISH_PROFICIENCY: {
|
|
740
|
-
readonly PROFESSIONAL: "professional";
|
|
741
|
-
readonly LIMITED_WORKING: "limited_working";
|
|
742
|
-
readonly ELEMENTARY: "elementary";
|
|
743
|
-
readonly NONE: "none";
|
|
744
|
-
readonly UNKNOWN: "unknown";
|
|
745
|
-
};
|
|
746
|
-
type CVC99Value = (typeof CVC_99_ENGLISH_PROFICIENCY)[keyof typeof CVC_99_ENGLISH_PROFICIENCY];
|
|
747
|
-
declare const CVC_99_VALUES: readonly ["professional", "limited_working", "elementary", "none", "unknown"];
|
|
748
|
-
declare const CVC_99_LABELS: Record<CVC99Value, string>;
|
|
749
|
-
declare const CVC_100_LIVES_RURAL: {
|
|
750
|
-
readonly YES: "yes";
|
|
751
|
-
readonly NO: "no";
|
|
752
|
-
readonly UNKNOWN: "unknown";
|
|
753
|
-
readonly UNANSWERED: "unanswered";
|
|
754
|
-
};
|
|
755
|
-
type CVC100Value = (typeof CVC_100_LIVES_RURAL)[keyof typeof CVC_100_LIVES_RURAL];
|
|
756
|
-
declare const CVC_100_VALUES: readonly ["yes", "no", "unknown", "unanswered"];
|
|
757
|
-
declare const CVC_100_LABELS: Record<CVC100Value, string>;
|
|
758
|
-
declare const CVC_120_MILITARY_BRANCH: {
|
|
759
|
-
readonly ARMY: "army";
|
|
760
|
-
readonly NAVY: "navy";
|
|
761
|
-
readonly AIR_FORCE: "air_force";
|
|
762
|
-
readonly MARINES: "marines";
|
|
763
|
-
readonly COAST_GUARD: "coast_guard";
|
|
764
|
-
readonly SPACE_FORCE: "space_force";
|
|
765
|
-
readonly UNKNOWN: "unknown";
|
|
766
|
-
};
|
|
767
|
-
type CVC120Value = (typeof CVC_120_MILITARY_BRANCH)[keyof typeof CVC_120_MILITARY_BRANCH];
|
|
768
|
-
declare const CVC_120_VALUES: readonly ["army", "navy", "air_force", "marines", "coast_guard", "space_force", "unknown"];
|
|
769
|
-
declare const CVC_120_LABELS: Record<CVC120Value, string>;
|
|
770
|
-
declare const CVC_121_MILITARY_STATUS: {
|
|
771
|
-
readonly ACTIVE_DUTY: "active_duty";
|
|
772
|
-
readonly RETIRED: "retired";
|
|
773
|
-
readonly DISCHARGED: "discharged";
|
|
774
|
-
readonly RESERVE: "reserve";
|
|
775
|
-
readonly UNKNOWN: "unknown";
|
|
776
|
-
};
|
|
777
|
-
type CVC121Value = (typeof CVC_121_MILITARY_STATUS)[keyof typeof CVC_121_MILITARY_STATUS];
|
|
778
|
-
declare const CVC_121_VALUES: readonly ["active_duty", "retired", "discharged", "reserve", "unknown"];
|
|
779
|
-
declare const CVC_121_LABELS: Record<CVC121Value, string>;
|
|
780
|
-
declare const CVC_122_PRIMARY_LANGUAGE: {
|
|
781
|
-
readonly EN: "en";
|
|
782
|
-
readonly ES: "es";
|
|
783
|
-
readonly ZH: "zh";
|
|
784
|
-
readonly ZH_CMN: "zh-cmn";
|
|
785
|
-
readonly ZH_YUE: "zh-yue";
|
|
786
|
-
readonly VI: "vi";
|
|
787
|
-
readonly TL: "tl";
|
|
788
|
-
readonly FR: "fr";
|
|
789
|
-
readonly KO: "ko";
|
|
790
|
-
readonly AR: "ar";
|
|
791
|
-
readonly RU: "ru";
|
|
792
|
-
readonly PT: "pt";
|
|
793
|
-
readonly DE: "de";
|
|
794
|
-
readonly JA: "ja";
|
|
795
|
-
readonly HI: "hi";
|
|
796
|
-
readonly BN: "bn";
|
|
797
|
-
readonly UR: "ur";
|
|
798
|
-
readonly FA: "fa";
|
|
799
|
-
readonly SW: "sw";
|
|
800
|
-
readonly AM: "am";
|
|
801
|
-
readonly HA: "ha";
|
|
802
|
-
readonly YO: "yo";
|
|
803
|
-
readonly IG: "ig";
|
|
804
|
-
readonly MY: "my";
|
|
805
|
-
readonly KM: "km";
|
|
806
|
-
readonly TH: "th";
|
|
807
|
-
readonly NE: "ne";
|
|
808
|
-
readonly ASE: "ase";
|
|
809
|
-
readonly OTHER: "other";
|
|
810
|
-
readonly UNKNOWN: "unknown";
|
|
811
|
-
};
|
|
812
|
-
type CVC122Value = (typeof CVC_122_PRIMARY_LANGUAGE)[keyof typeof CVC_122_PRIMARY_LANGUAGE];
|
|
813
|
-
declare const CVC_122_VALUES: readonly ["en", "es", "zh", "zh-cmn", "zh-yue", "vi", "tl", "fr", "ko", "ar", "ru", "pt", "de", "ja", "hi", "bn", "ur", "fa", "sw", "am", "ha", "yo", "ig", "my", "km", "th", "ne", "ase", "other", "unknown"];
|
|
814
|
-
declare const CVC_122_LABELS: Record<CVC122Value, string>;
|
|
815
|
-
declare const CVC_181_COUNTRIES: {
|
|
816
|
-
readonly US: "US";
|
|
817
|
-
readonly AF: "AF";
|
|
818
|
-
readonly AL: "AL";
|
|
819
|
-
readonly DZ: "DZ";
|
|
820
|
-
readonly AS: "AS";
|
|
821
|
-
readonly AD: "AD";
|
|
822
|
-
readonly AO: "AO";
|
|
823
|
-
readonly AI: "AI";
|
|
824
|
-
readonly AQ: "AQ";
|
|
825
|
-
readonly AG: "AG";
|
|
826
|
-
readonly AR: "AR";
|
|
827
|
-
readonly AM: "AM";
|
|
828
|
-
readonly AW: "AW";
|
|
829
|
-
readonly AU: "AU";
|
|
830
|
-
readonly AT: "AT";
|
|
831
|
-
readonly AZ: "AZ";
|
|
832
|
-
readonly BS: "BS";
|
|
833
|
-
readonly BH: "BH";
|
|
834
|
-
readonly BD: "BD";
|
|
835
|
-
readonly BB: "BB";
|
|
836
|
-
readonly BY: "BY";
|
|
837
|
-
readonly BE: "BE";
|
|
838
|
-
readonly BZ: "BZ";
|
|
839
|
-
readonly BJ: "BJ";
|
|
840
|
-
readonly BM: "BM";
|
|
841
|
-
readonly BT: "BT";
|
|
842
|
-
readonly BO: "BO";
|
|
843
|
-
readonly BQ: "BQ";
|
|
844
|
-
readonly BA: "BA";
|
|
845
|
-
readonly BW: "BW";
|
|
846
|
-
readonly BV: "BV";
|
|
847
|
-
readonly BR: "BR";
|
|
848
|
-
readonly IO: "IO";
|
|
849
|
-
readonly BN: "BN";
|
|
850
|
-
readonly BG: "BG";
|
|
851
|
-
readonly BF: "BF";
|
|
852
|
-
readonly BI: "BI";
|
|
853
|
-
readonly KH: "KH";
|
|
854
|
-
readonly CM: "CM";
|
|
855
|
-
readonly CA: "CA";
|
|
856
|
-
readonly CV: "CV";
|
|
857
|
-
readonly KY: "KY";
|
|
858
|
-
readonly CF: "CF";
|
|
859
|
-
readonly TD: "TD";
|
|
860
|
-
readonly CL: "CL";
|
|
861
|
-
readonly CN: "CN";
|
|
862
|
-
readonly CX: "CX";
|
|
863
|
-
readonly CC: "CC";
|
|
864
|
-
readonly CO: "CO";
|
|
865
|
-
readonly KM: "KM";
|
|
866
|
-
readonly CG: "CG";
|
|
867
|
-
readonly CD: "CD";
|
|
868
|
-
readonly CK: "CK";
|
|
869
|
-
readonly CR: "CR";
|
|
870
|
-
readonly HR: "HR";
|
|
871
|
-
readonly CU: "CU";
|
|
872
|
-
readonly CW: "CW";
|
|
873
|
-
readonly CY: "CY";
|
|
874
|
-
readonly CZ: "CZ";
|
|
875
|
-
readonly CI: "CI";
|
|
876
|
-
readonly DK: "DK";
|
|
877
|
-
readonly DJ: "DJ";
|
|
878
|
-
readonly DM: "DM";
|
|
879
|
-
readonly DO: "DO";
|
|
880
|
-
readonly EC: "EC";
|
|
881
|
-
readonly EG: "EG";
|
|
882
|
-
readonly SV: "SV";
|
|
883
|
-
readonly GQ: "GQ";
|
|
884
|
-
readonly ER: "ER";
|
|
885
|
-
readonly EE: "EE";
|
|
886
|
-
readonly SZ: "SZ";
|
|
887
|
-
readonly ET: "ET";
|
|
888
|
-
readonly FK: "FK";
|
|
889
|
-
readonly FO: "FO";
|
|
890
|
-
readonly FJ: "FJ";
|
|
891
|
-
readonly FI: "FI";
|
|
892
|
-
readonly FR: "FR";
|
|
893
|
-
readonly GF: "GF";
|
|
894
|
-
readonly PF: "PF";
|
|
895
|
-
readonly TF: "TF";
|
|
896
|
-
readonly GA: "GA";
|
|
897
|
-
readonly GM: "GM";
|
|
898
|
-
readonly GE: "GE";
|
|
899
|
-
readonly DE: "DE";
|
|
900
|
-
readonly GH: "GH";
|
|
901
|
-
readonly GI: "GI";
|
|
902
|
-
readonly GR: "GR";
|
|
903
|
-
readonly GL: "GL";
|
|
904
|
-
readonly GD: "GD";
|
|
905
|
-
readonly GP: "GP";
|
|
906
|
-
readonly GU: "GU";
|
|
907
|
-
readonly GT: "GT";
|
|
908
|
-
readonly GG: "GG";
|
|
909
|
-
readonly GN: "GN";
|
|
910
|
-
readonly GW: "GW";
|
|
911
|
-
readonly GY: "GY";
|
|
912
|
-
readonly HT: "HT";
|
|
913
|
-
readonly HM: "HM";
|
|
914
|
-
readonly VA: "VA";
|
|
915
|
-
readonly HN: "HN";
|
|
916
|
-
readonly HK: "HK";
|
|
917
|
-
readonly HU: "HU";
|
|
918
|
-
readonly IS: "IS";
|
|
919
|
-
readonly IN: "IN";
|
|
920
|
-
readonly ID: "ID";
|
|
921
|
-
readonly IR: "IR";
|
|
922
|
-
readonly IQ: "IQ";
|
|
923
|
-
readonly IE: "IE";
|
|
924
|
-
readonly IM: "IM";
|
|
925
|
-
readonly IL: "IL";
|
|
926
|
-
readonly IT: "IT";
|
|
927
|
-
readonly JM: "JM";
|
|
928
|
-
readonly JP: "JP";
|
|
929
|
-
readonly JE: "JE";
|
|
930
|
-
readonly JO: "JO";
|
|
931
|
-
readonly KZ: "KZ";
|
|
932
|
-
readonly KE: "KE";
|
|
933
|
-
readonly KI: "KI";
|
|
934
|
-
readonly KP: "KP";
|
|
935
|
-
readonly KR: "KR";
|
|
936
|
-
readonly KW: "KW";
|
|
937
|
-
readonly KG: "KG";
|
|
938
|
-
readonly LA: "LA";
|
|
939
|
-
readonly LV: "LV";
|
|
940
|
-
readonly LB: "LB";
|
|
941
|
-
readonly LS: "LS";
|
|
942
|
-
readonly LR: "LR";
|
|
943
|
-
readonly LY: "LY";
|
|
944
|
-
readonly LI: "LI";
|
|
945
|
-
readonly LT: "LT";
|
|
946
|
-
readonly LU: "LU";
|
|
947
|
-
readonly MO: "MO";
|
|
948
|
-
readonly MK: "MK";
|
|
949
|
-
readonly MG: "MG";
|
|
950
|
-
readonly MW: "MW";
|
|
951
|
-
readonly MY: "MY";
|
|
952
|
-
readonly MV: "MV";
|
|
953
|
-
readonly ML: "ML";
|
|
954
|
-
readonly MT: "MT";
|
|
955
|
-
readonly MH: "MH";
|
|
956
|
-
readonly MQ: "MQ";
|
|
957
|
-
readonly MR: "MR";
|
|
958
|
-
readonly MU: "MU";
|
|
959
|
-
readonly YT: "YT";
|
|
960
|
-
readonly MX: "MX";
|
|
961
|
-
readonly FM: "FM";
|
|
962
|
-
readonly MD: "MD";
|
|
963
|
-
readonly MC: "MC";
|
|
964
|
-
readonly MN: "MN";
|
|
965
|
-
readonly ME: "ME";
|
|
966
|
-
readonly MS: "MS";
|
|
967
|
-
readonly MA: "MA";
|
|
968
|
-
readonly MZ: "MZ";
|
|
969
|
-
readonly MM: "MM";
|
|
970
|
-
readonly NA: "NA";
|
|
971
|
-
readonly NR: "NR";
|
|
972
|
-
readonly NP: "NP";
|
|
973
|
-
readonly NL: "NL";
|
|
974
|
-
readonly NC: "NC";
|
|
975
|
-
readonly NZ: "NZ";
|
|
976
|
-
readonly NI: "NI";
|
|
977
|
-
readonly NE: "NE";
|
|
978
|
-
readonly NG: "NG";
|
|
979
|
-
readonly NU: "NU";
|
|
980
|
-
readonly NF: "NF";
|
|
981
|
-
readonly MP: "MP";
|
|
982
|
-
readonly NO: "NO";
|
|
983
|
-
readonly OM: "OM";
|
|
984
|
-
readonly PK: "PK";
|
|
985
|
-
readonly PW: "PW";
|
|
986
|
-
readonly PS: "PS";
|
|
987
|
-
readonly PA: "PA";
|
|
988
|
-
readonly PG: "PG";
|
|
989
|
-
readonly PY: "PY";
|
|
990
|
-
readonly PE: "PE";
|
|
991
|
-
readonly PH: "PH";
|
|
992
|
-
readonly PN: "PN";
|
|
993
|
-
readonly PL: "PL";
|
|
994
|
-
readonly PT: "PT";
|
|
995
|
-
readonly PR: "PR";
|
|
996
|
-
readonly QA: "QA";
|
|
997
|
-
readonly RO: "RO";
|
|
998
|
-
readonly RU: "RU";
|
|
999
|
-
readonly RW: "RW";
|
|
1000
|
-
readonly RE: "RE";
|
|
1001
|
-
readonly BL: "BL";
|
|
1002
|
-
readonly SH: "SH";
|
|
1003
|
-
readonly KN: "KN";
|
|
1004
|
-
readonly LC: "LC";
|
|
1005
|
-
readonly MF: "MF";
|
|
1006
|
-
readonly PM: "PM";
|
|
1007
|
-
readonly VC: "VC";
|
|
1008
|
-
readonly WS: "WS";
|
|
1009
|
-
readonly SM: "SM";
|
|
1010
|
-
readonly ST: "ST";
|
|
1011
|
-
readonly SA: "SA";
|
|
1012
|
-
readonly SN: "SN";
|
|
1013
|
-
readonly RS: "RS";
|
|
1014
|
-
readonly SC: "SC";
|
|
1015
|
-
readonly SL: "SL";
|
|
1016
|
-
readonly SG: "SG";
|
|
1017
|
-
readonly SX: "SX";
|
|
1018
|
-
readonly SK: "SK";
|
|
1019
|
-
readonly SI: "SI";
|
|
1020
|
-
readonly SB: "SB";
|
|
1021
|
-
readonly SO: "SO";
|
|
1022
|
-
readonly ZA: "ZA";
|
|
1023
|
-
readonly GS: "GS";
|
|
1024
|
-
readonly SS: "SS";
|
|
1025
|
-
readonly ES: "ES";
|
|
1026
|
-
readonly LK: "LK";
|
|
1027
|
-
readonly SD: "SD";
|
|
1028
|
-
readonly SR: "SR";
|
|
1029
|
-
readonly SJ: "SJ";
|
|
1030
|
-
readonly SE: "SE";
|
|
1031
|
-
readonly CH: "CH";
|
|
1032
|
-
readonly SY: "SY";
|
|
1033
|
-
readonly TW: "TW";
|
|
1034
|
-
readonly TJ: "TJ";
|
|
1035
|
-
readonly TZ: "TZ";
|
|
1036
|
-
readonly TH: "TH";
|
|
1037
|
-
readonly TL: "TL";
|
|
1038
|
-
readonly TG: "TG";
|
|
1039
|
-
readonly TK: "TK";
|
|
1040
|
-
readonly TO: "TO";
|
|
1041
|
-
readonly TT: "TT";
|
|
1042
|
-
readonly TN: "TN";
|
|
1043
|
-
readonly TR: "TR";
|
|
1044
|
-
readonly TM: "TM";
|
|
1045
|
-
readonly TC: "TC";
|
|
1046
|
-
readonly TV: "TV";
|
|
1047
|
-
readonly UG: "UG";
|
|
1048
|
-
readonly UA: "UA";
|
|
1049
|
-
readonly AE: "AE";
|
|
1050
|
-
readonly GB: "GB";
|
|
1051
|
-
readonly UM: "UM";
|
|
1052
|
-
readonly UY: "UY";
|
|
1053
|
-
readonly UZ: "UZ";
|
|
1054
|
-
readonly VU: "VU";
|
|
1055
|
-
readonly VE: "VE";
|
|
1056
|
-
readonly VN: "VN";
|
|
1057
|
-
readonly VG: "VG";
|
|
1058
|
-
readonly VI: "VI";
|
|
1059
|
-
readonly WF: "WF";
|
|
1060
|
-
readonly EH: "EH";
|
|
1061
|
-
readonly YE: "YE";
|
|
1062
|
-
readonly ZM: "ZM";
|
|
1063
|
-
readonly ZW: "ZW";
|
|
1064
|
-
readonly AX: "AX";
|
|
1065
|
-
readonly UNKNOWN: "unknown";
|
|
1066
|
-
};
|
|
1067
|
-
type CVC181Value = (typeof CVC_181_COUNTRIES)[keyof typeof CVC_181_COUNTRIES];
|
|
1068
|
-
declare const CVC_181_LABELS: Record<CVC181Value, string>;
|
|
1069
|
-
declare const CVC_76_RACE_ETHNICITY: {
|
|
1070
|
-
readonly AMERICAN_INDIAN_ALASKA_NATIVE: "american_indian_alaska_native";
|
|
1071
|
-
readonly ASIAN: "asian";
|
|
1072
|
-
readonly BLACK_AFRICAN_AMERICAN: "black_african_american";
|
|
1073
|
-
readonly HISPANIC_LATINO: "hispanic_latino";
|
|
1074
|
-
readonly MIDDLE_EASTERN_NORTH_AFRICAN: "middle_eastern_north_african";
|
|
1075
|
-
readonly NATIVE_HAWAIIAN_PACIFIC_ISLANDER: "native_hawaiian_pacific_islander";
|
|
1076
|
-
readonly WHITE: "white";
|
|
1077
|
-
readonly OTHER: "other";
|
|
1078
|
-
readonly UNKNOWN: "unknown";
|
|
1079
|
-
readonly DECLINED: "declined";
|
|
1080
|
-
};
|
|
1081
|
-
type CVC76Value = (typeof CVC_76_RACE_ETHNICITY)[keyof typeof CVC_76_RACE_ETHNICITY];
|
|
1082
|
-
declare const CVC_76_VALUES: readonly ["american_indian_alaska_native", "asian", "black_african_american", "hispanic_latino", "middle_eastern_north_african", "native_hawaiian_pacific_islander", "white", "other", "unknown", "declined"];
|
|
1083
|
-
declare const CVC_76_LABELS: Record<CVC76Value, string>;
|
|
1084
|
-
declare const CVC_147_PRONOUNS: {
|
|
1085
|
-
readonly SHE_HER: "she_her";
|
|
1086
|
-
readonly HE_HIM: "he_him";
|
|
1087
|
-
readonly THEY_THEM: "they_them";
|
|
1088
|
-
readonly OTHER: "other";
|
|
1089
|
-
readonly UNKNOWN: "unknown";
|
|
1090
|
-
readonly DECLINED: "declined";
|
|
1091
|
-
};
|
|
1092
|
-
type CVC147Value = (typeof CVC_147_PRONOUNS)[keyof typeof CVC_147_PRONOUNS];
|
|
1093
|
-
declare const CVC_147_VALUES: readonly ["she_her", "he_him", "they_them", "other", "unknown", "declined"];
|
|
1094
|
-
declare const CVC_147_LABELS: Record<CVC147Value, string>;
|
|
1095
|
-
declare const BIRTH_LOCATION: {
|
|
1096
|
-
readonly US: "us";
|
|
1097
|
-
readonly OTHER: "other";
|
|
1098
|
-
readonly UNKNOWN: "unknown";
|
|
1099
|
-
};
|
|
1100
|
-
type BirthLocationValue = (typeof BIRTH_LOCATION)[keyof typeof BIRTH_LOCATION];
|
|
1101
|
-
declare const BIRTH_LOCATION_VALUES: readonly ["us", "other", "unknown"];
|
|
1102
|
-
declare const BIRTH_LOCATION_LABELS: Record<BirthLocationValue, string>;
|
|
1103
|
-
declare const CVC_148_TRIBES: {
|
|
1104
|
-
readonly CHEROKEE_NATION: "cherokee_nation";
|
|
1105
|
-
readonly MUSCOGEE_CREEK: "muscogee_creek";
|
|
1106
|
-
readonly CHOCTAW_NATION: "choctaw_nation";
|
|
1107
|
-
readonly CHICKASAW_NATION: "chickasaw_nation";
|
|
1108
|
-
readonly SEMINOLE_NATION: "seminole_nation";
|
|
1109
|
-
readonly OSAGE_NATION: "osage_nation";
|
|
1110
|
-
readonly CHEYENNE_ARAPAHO: "cheyenne_arapaho";
|
|
1111
|
-
readonly COMANCHE_NATION: "comanche_nation";
|
|
1112
|
-
readonly KIOWA_TRIBE: "kiowa_tribe";
|
|
1113
|
-
readonly APACHE_TRIBE_OK: "apache_tribe_ok";
|
|
1114
|
-
readonly CADDO_NATION: "caddo_nation";
|
|
1115
|
-
readonly WICHITA_AFFILIATED: "wichita_affiliated";
|
|
1116
|
-
readonly DELAWARE_NATION: "delaware_nation";
|
|
1117
|
-
readonly DELAWARE_TRIBE_INDIANS: "delaware_tribe_indians";
|
|
1118
|
-
readonly PAWNEE_NATION: "pawnee_nation";
|
|
1119
|
-
readonly PONCA_TRIBE_OK: "ponca_tribe_ok";
|
|
1120
|
-
readonly OTOE_MISSOURIA: "otoe_missouria";
|
|
1121
|
-
readonly KAW_NATION: "kaw_nation";
|
|
1122
|
-
readonly TONKAWA_TRIBE: "tonkawa_tribe";
|
|
1123
|
-
readonly IOWA_TRIBE_OK: "iowa_tribe_ok";
|
|
1124
|
-
readonly SAC_FOX_OK: "sac_fox_ok";
|
|
1125
|
-
readonly KICKAPOO_TRIBE_OK: "kickapoo_tribe_ok";
|
|
1126
|
-
readonly POTAWATOMI_CITIZEN: "potawatomi_citizen";
|
|
1127
|
-
readonly ABSENTEE_SHAWNEE: "absentee_shawnee";
|
|
1128
|
-
readonly EASTERN_SHAWNEE: "eastern_shawnee";
|
|
1129
|
-
readonly SHAWNEE_TRIBE: "shawnee_tribe";
|
|
1130
|
-
readonly QUAPAW_NATION: "quapaw_nation";
|
|
1131
|
-
readonly PEORIA_TRIBE: "peoria_tribe";
|
|
1132
|
-
readonly MIAMI_TRIBE: "miami_tribe";
|
|
1133
|
-
readonly MODOC_NATION: "modoc_nation";
|
|
1134
|
-
readonly OTTAWA_TRIBE: "ottawa_tribe";
|
|
1135
|
-
readonly SENECA_CAYUGA: "seneca_cayuga";
|
|
1136
|
-
readonly WYANDOTTE_NATION: "wyandotte_nation";
|
|
1137
|
-
readonly UNITED_KEETOOWAH: "united_keetoowah";
|
|
1138
|
-
readonly THLOPTHLOCCO: "thlopthlocco";
|
|
1139
|
-
readonly ALABAMA_QUASSARTE: "alabama_quassarte";
|
|
1140
|
-
readonly KIALEGEE: "kialegee";
|
|
1141
|
-
readonly FORT_SILL_APACHE: "fort_sill_apache";
|
|
1142
|
-
readonly PONCA_NE: "ponca_ne";
|
|
1143
|
-
readonly OMAHA_TRIBE: "omaha_tribe";
|
|
1144
|
-
readonly WINNEBAGO_NE: "winnebago_ne";
|
|
1145
|
-
readonly SANTEE_SIOUX: "santee_sioux";
|
|
1146
|
-
readonly SIOUX_SPECIFY: "sioux_specify";
|
|
1147
|
-
readonly APACHE_SPECIFY: "apache_specify";
|
|
1148
|
-
readonly PUEBLO_SPECIFY: "pueblo_specify";
|
|
1149
|
-
readonly NAVAJO_SPECIFY: "navajo_specify";
|
|
1150
|
-
readonly OJIBWE_CHIPPEWA_SPECIFY: "ojibwe_chippewa_specify";
|
|
1151
|
-
readonly UTE_SPECIFY: "ute_specify";
|
|
1152
|
-
readonly OTHER: "other";
|
|
1153
|
-
readonly UNKNOWN: "unknown";
|
|
1154
|
-
readonly ANONYMOUS: "anonymous";
|
|
1155
|
-
readonly DATA_NOT_COLLECTED: "data_not_collected";
|
|
1156
|
-
};
|
|
1157
|
-
type CVC148Value = (typeof CVC_148_TRIBES)[keyof typeof CVC_148_TRIBES];
|
|
1158
|
-
declare const CVC_148_VALUES: readonly ["cherokee_nation", "muscogee_creek", "choctaw_nation", "chickasaw_nation", "seminole_nation", "osage_nation", "cheyenne_arapaho", "comanche_nation", "kiowa_tribe", "apache_tribe_ok", "caddo_nation", "wichita_affiliated", "delaware_nation", "delaware_tribe_indians", "pawnee_nation", "ponca_tribe_ok", "otoe_missouria", "kaw_nation", "tonkawa_tribe", "iowa_tribe_ok", "sac_fox_ok", "kickapoo_tribe_ok", "potawatomi_citizen", "absentee_shawnee", "eastern_shawnee", "shawnee_tribe", "quapaw_nation", "peoria_tribe", "miami_tribe", "modoc_nation", "ottawa_tribe", "seneca_cayuga", "wyandotte_nation", "united_keetoowah", "thlopthlocco", "alabama_quassarte", "kialegee", "fort_sill_apache", "ponca_ne", "omaha_tribe", "winnebago_ne", "santee_sioux", "sioux_specify", "apache_specify", "pueblo_specify", "navajo_specify", "ojibwe_chippewa_specify", "ute_specify", "other", "unknown", "anonymous", "data_not_collected"];
|
|
1159
|
-
declare const CVC_148_LABELS: Record<CVC148Value, string>;
|
|
1160
|
-
declare const CVC_115_SERVICE_PLANNING: {
|
|
1161
|
-
readonly MENTAL_ILLNESS: "mental_illness";
|
|
1162
|
-
readonly ALCOHOL_ABUSE: "alcohol_abuse";
|
|
1163
|
-
readonly DRUG_ABUSE: "drug_abuse";
|
|
1164
|
-
readonly CHRONIC_HEALTH_CONDITION: "chronic_health_condition";
|
|
1165
|
-
readonly HIV_AIDS: "hiv_aids";
|
|
1166
|
-
readonly COGNITIVE_DEVELOPMENTAL_PHYSICAL: "cognitive_developmental_physical";
|
|
1167
|
-
readonly DEAF_HARD_OF_HEARING: "deaf_hard_of_hearing";
|
|
1168
|
-
readonly UNKNOWN_BUT_EXISTS: "unknown_but_exists";
|
|
1169
|
-
readonly OTHER: "other";
|
|
1170
|
-
};
|
|
1171
|
-
type CVC115Value = (typeof CVC_115_SERVICE_PLANNING)[keyof typeof CVC_115_SERVICE_PLANNING];
|
|
1172
|
-
declare const CVC_115_VALUES: readonly ["mental_illness", "alcohol_abuse", "drug_abuse", "chronic_health_condition", "hiv_aids", "cognitive_developmental_physical", "deaf_hard_of_hearing", "unknown_but_exists", "other"];
|
|
1173
|
-
declare const CVC_115_LABELS: Record<CVC115Value, string>;
|
|
1174
|
-
/**
|
|
1175
|
-
* CVC-171 Categories (non-selectable accordion headers)
|
|
1176
|
-
*/
|
|
1177
|
-
declare const CVC_171_CATEGORY: {
|
|
1178
|
-
readonly INCOME: "income";
|
|
1179
|
-
readonly BENEFITS: "benefits";
|
|
1180
|
-
};
|
|
1181
|
-
type CVC171Category = (typeof CVC_171_CATEGORY)[keyof typeof CVC_171_CATEGORY];
|
|
1182
|
-
declare const CVC_171_CATEGORY_LABELS: Record<CVC171Category, string>;
|
|
1183
|
-
/**
|
|
1184
|
-
* CVC-171 Income/Benefits Values (all selectable items)
|
|
1185
|
-
*/
|
|
1186
|
-
declare const CVC_171_INCOME_BENEFITS: {
|
|
1187
|
-
readonly WAGES_SALARY: "wages_salary";
|
|
1188
|
-
readonly SELF_EMPLOYMENT: "self_employment";
|
|
1189
|
-
readonly TIPS_COMMISSIONS: "tips_commissions";
|
|
1190
|
-
readonly PENSION: "pension";
|
|
1191
|
-
readonly CHILD_SUPPORT: "child_support";
|
|
1192
|
-
readonly ALIMONY: "alimony";
|
|
1193
|
-
readonly FAMILY_FRIENDS: "family_friends";
|
|
1194
|
-
readonly OTHER_INCOME: "other_income";
|
|
1195
|
-
readonly SSA: "ssa";
|
|
1196
|
-
readonly SSI: "ssi";
|
|
1197
|
-
readonly SSDI: "ssdi";
|
|
1198
|
-
readonly SSA_RET: "ssa_ret";
|
|
1199
|
-
readonly VA: "va";
|
|
1200
|
-
readonly VA_SCD: "va_scd";
|
|
1201
|
-
readonly VA_NSC_PEN: "va_nsc_pen";
|
|
1202
|
-
readonly TANF: "tanf";
|
|
1203
|
-
readonly TANF_CC: "tanf_cc";
|
|
1204
|
-
readonly TANF_TRANS: "tanf_trans";
|
|
1205
|
-
readonly TANF_OTHER_SVC: "tanf_other_svc";
|
|
1206
|
-
readonly UNEMPLOYMENT: "unemployment";
|
|
1207
|
-
readonly WORKERS_COMP: "workers_comp";
|
|
1208
|
-
readonly SNAP: "snap";
|
|
1209
|
-
readonly WIC: "wic";
|
|
1210
|
-
readonly HOUSING_ASSISTANCE: "housing_assistance";
|
|
1211
|
-
readonly MEDICAID: "medicaid";
|
|
1212
|
-
readonly MEDICARE: "medicare";
|
|
1213
|
-
readonly OTHER_BENEFITS: "other_benefits";
|
|
1214
|
-
readonly NONE: "none";
|
|
1215
|
-
readonly UNKNOWN: "unknown";
|
|
1216
|
-
readonly DECLINED: "declined";
|
|
1217
|
-
};
|
|
1218
|
-
type CVC171Value = (typeof CVC_171_INCOME_BENEFITS)[keyof typeof CVC_171_INCOME_BENEFITS];
|
|
1219
|
-
declare const CVC_171_LABELS: Record<CVC171Value, string>;
|
|
1220
|
-
/**
|
|
1221
|
-
* Maps each value to its category (INCOME or BENEFITS)
|
|
1222
|
-
*/
|
|
1223
|
-
declare const CVC_171_VALUE_TO_CATEGORY: Record<CVC171Value, CVC171Category>;
|
|
1224
|
-
/** UI option type for hierarchical picker */
|
|
1225
|
-
interface CVC171Option {
|
|
1226
|
-
value: CVC171Value;
|
|
1227
|
-
label: string;
|
|
1228
|
-
category: CVC171Category;
|
|
1229
|
-
categoryLabel: string;
|
|
1230
|
-
}
|
|
1231
|
-
/**
|
|
1232
|
-
* Parent-to-children mapping for hierarchical picker.
|
|
1233
|
-
* Parents are selectable and children appear indented below.
|
|
1234
|
-
*/
|
|
1235
|
-
declare const CVC_171_PARENT_CHILDREN: Record<string, string[]>;
|
|
1236
|
-
/**
|
|
1237
|
-
* Child-to-parent mapping (inverse of PARENT_CHILDREN).
|
|
1238
|
-
* When selecting a child, the parent is auto-selected.
|
|
1239
|
-
*/
|
|
1240
|
-
declare const CVC_171_CHILD_TO_PARENT: Record<string, string>;
|
|
1241
|
-
/**
|
|
1242
|
-
* Selectable options for HierarchicalCheckboxPicker.
|
|
1243
|
-
* Each option includes category info for accordion grouping.
|
|
1244
|
-
*/
|
|
1245
|
-
declare const CVC_171_SELECTABLE_OPTIONS: readonly CVC171Option[];
|
|
1246
|
-
declare const CVC_171_INCOME_SOURCES: {
|
|
1247
|
-
readonly WAGES_SALARY: "wages_salary";
|
|
1248
|
-
readonly SELF_EMPLOYMENT: "self_employment";
|
|
1249
|
-
readonly TIPS_COMMISSIONS: "tips_commissions";
|
|
1250
|
-
readonly SSI: "ssi";
|
|
1251
|
-
readonly SSDI: "ssdi";
|
|
1252
|
-
readonly SSA: "ssa";
|
|
1253
|
-
readonly TANF: "tanf";
|
|
1254
|
-
readonly UNEMPLOYMENT: "unemployment";
|
|
1255
|
-
readonly VETERANS_BENEFITS: "va";
|
|
1256
|
-
readonly PENSION: "pension";
|
|
1257
|
-
readonly WORKERS_COMP: "workers_comp";
|
|
1258
|
-
readonly SNAP: "snap";
|
|
1259
|
-
readonly WIC: "wic";
|
|
1260
|
-
readonly HOUSING_ASSISTANCE: "housing_assistance";
|
|
1261
|
-
readonly MEDICAID: "medicaid";
|
|
1262
|
-
readonly MEDICARE: "medicare";
|
|
1263
|
-
readonly CHILD_SUPPORT: "child_support";
|
|
1264
|
-
readonly ALIMONY: "alimony";
|
|
1265
|
-
readonly FAMILY_FRIENDS: "family_friends";
|
|
1266
|
-
readonly OTHER: "other_income";
|
|
1267
|
-
readonly NONE: "none";
|
|
1268
|
-
readonly UNKNOWN: "unknown";
|
|
1269
|
-
readonly DECLINED: "declined";
|
|
1270
|
-
};
|
|
1271
|
-
declare const CVC_171_VALUES: CVC171Value[];
|
|
1272
|
-
declare const CVC_179_EMPLOYMENT_STATUS: {
|
|
1273
|
-
readonly EMPLOYED_FULL_TIME: "employed_full_time";
|
|
1274
|
-
readonly EMPLOYED_PART_TIME: "employed_part_time";
|
|
1275
|
-
readonly EMPLOYED_TEMPORARY: "employed_temporary";
|
|
1276
|
-
readonly EMPLOYED_SELF: "employed_self";
|
|
1277
|
-
readonly EMPLOYED_INFORMAL: "employed_informal";
|
|
1278
|
-
readonly UNEMPLOYED_SEEKING: "unemployed_seeking";
|
|
1279
|
-
readonly UNEMPLOYED_LAID_OFF: "unemployed_laid_off";
|
|
1280
|
-
readonly NILF_STUDENT: "nilf_student";
|
|
1281
|
-
readonly NILF_CAREGIVER: "nilf_caregiver";
|
|
1282
|
-
readonly NILF_DISABLED: "nilf_disabled";
|
|
1283
|
-
readonly NILF_RETIRED: "nilf_retired";
|
|
1284
|
-
readonly NILF_OTHER: "nilf_other";
|
|
1285
|
-
readonly UNKNOWN: "unknown";
|
|
1286
|
-
readonly DECLINED: "declined";
|
|
1287
|
-
};
|
|
1288
|
-
type CVC179Value = (typeof CVC_179_EMPLOYMENT_STATUS)[keyof typeof CVC_179_EMPLOYMENT_STATUS];
|
|
1289
|
-
declare const CVC_179_VALUES: readonly ["employed_full_time", "employed_part_time", "employed_temporary", "employed_self", "employed_informal", "unemployed_seeking", "unemployed_laid_off", "nilf_student", "nilf_caregiver", "nilf_disabled", "nilf_retired", "nilf_other", "unknown", "declined"];
|
|
1290
|
-
declare const CVC_179_LABELS: Record<CVC179Value, string>;
|
|
1291
|
-
/** Maps detailed status to primary BLS category for federal reporting */
|
|
1292
|
-
declare const CVC_179_PRIMARY_CATEGORY: Record<CVC179Value, string>;
|
|
1293
|
-
/** Employment status categories for hierarchical grouping */
|
|
1294
|
-
declare const CVC_179_HIERARCHICAL_CATEGORY: {
|
|
1295
|
-
readonly EMPLOYED: "employed";
|
|
1296
|
-
readonly UNEMPLOYED: "unemployed";
|
|
1297
|
-
readonly NILF: "nilf";
|
|
1298
|
-
readonly MISSINGNESS: "missingness";
|
|
1299
|
-
};
|
|
1300
|
-
type CVC179HierarchicalCategory = (typeof CVC_179_HIERARCHICAL_CATEGORY)[keyof typeof CVC_179_HIERARCHICAL_CATEGORY];
|
|
1301
|
-
/** Display labels for categories */
|
|
1302
|
-
declare const CVC_179_HIERARCHICAL_CATEGORY_LABELS: Record<CVC179HierarchicalCategory, string>;
|
|
1303
|
-
/** All hierarchical employment status values (parent categories + child options) */
|
|
1304
|
-
declare const CVC_179_HIERARCHICAL_VALUES: {
|
|
1305
|
-
readonly EMP: "emp";
|
|
1306
|
-
readonly UNE: "une";
|
|
1307
|
-
readonly NILF: "nilf";
|
|
1308
|
-
readonly EMP_FT: "emp_ft";
|
|
1309
|
-
readonly EMP_PT: "emp_pt";
|
|
1310
|
-
readonly EMP_SEASONAL: "emp_seasonal";
|
|
1311
|
-
readonly EMP_SELF: "emp_self";
|
|
1312
|
-
readonly EMP_INFORMAL: "emp_informal";
|
|
1313
|
-
readonly EMP_MULTIPLE: "emp_multiple";
|
|
1314
|
-
readonly EMP_UNPAID_FAMILY: "emp_unpaid_family";
|
|
1315
|
-
readonly UNE_SEEKING: "une_seeking";
|
|
1316
|
-
readonly UNE_LAID_OFF: "une_laid_off";
|
|
1317
|
-
readonly UNE_FIRST_TIME: "une_first_time";
|
|
1318
|
-
readonly UNE_LONG_TERM: "une_long_term";
|
|
1319
|
-
readonly UNE_LOOKING_HMIS: "une_looking_hmis";
|
|
1320
|
-
readonly NILF_STUDENT: "nilf_student";
|
|
1321
|
-
readonly NILF_CAREGIVER: "nilf_caregiver";
|
|
1322
|
-
readonly NILF_DISABLED: "nilf_disabled";
|
|
1323
|
-
readonly NILF_RETIRED: "nilf_retired";
|
|
1324
|
-
readonly NILF_DISCOURAGED: "nilf_discouraged";
|
|
1325
|
-
readonly NILF_OTHER: "nilf_other";
|
|
1326
|
-
readonly NILF_NOT_LOOKING_HMIS: "nilf_not_looking_hmis";
|
|
1327
|
-
readonly NILF_UNABLE_HMIS: "nilf_unable_hmis";
|
|
1328
|
-
readonly UNKNOWN: "unknown";
|
|
1329
|
-
readonly CLIENT_DOESNT_KNOW: "client_doesnt_know";
|
|
1330
|
-
readonly DATA_NOT_COLLECTED: "data_not_collected";
|
|
1331
|
-
readonly DOES_NOT_APPLY: "does_not_apply";
|
|
1332
|
-
readonly ANONYMOUS: "anonymous";
|
|
1333
|
-
};
|
|
1334
|
-
type CVC179HierarchicalValue = (typeof CVC_179_HIERARCHICAL_VALUES)[keyof typeof CVC_179_HIERARCHICAL_VALUES];
|
|
1335
|
-
/** Human-readable labels for all hierarchical values */
|
|
1336
|
-
declare const CVC_179_HIERARCHICAL_LABELS: Record<CVC179HierarchicalValue, string>;
|
|
1337
|
-
/** Maps each value to its display category */
|
|
1338
|
-
declare const CVC_179_VALUE_TO_CATEGORY: Record<CVC179HierarchicalValue, CVC179HierarchicalCategory>;
|
|
1339
|
-
/** Order of categories for display (Missingness last) */
|
|
1340
|
-
declare const CVC_179_HIERARCHICAL_CATEGORY_ORDER: CVC179HierarchicalCategory[];
|
|
1341
|
-
/** Parent-to-children mapping for hierarchical picker */
|
|
1342
|
-
declare const CVC_179_PARENT_CHILDREN: Record<string, string[]>;
|
|
1343
|
-
/** Child-to-parent mapping (inverse of PARENT_CHILDREN) */
|
|
1344
|
-
declare const CVC_179_CHILD_TO_PARENT: Record<string, string>;
|
|
1345
|
-
/** Selectable options array for HierarchicalCheckboxPicker */
|
|
1346
|
-
declare const CVC_179_SELECTABLE_OPTIONS: Array<{
|
|
1347
|
-
value: CVC179HierarchicalValue;
|
|
1348
|
-
label: string;
|
|
1349
|
-
category: CVC179HierarchicalCategory;
|
|
1350
|
-
categoryLabel: string;
|
|
1351
|
-
isParent?: boolean;
|
|
1352
|
-
}>;
|
|
1353
|
-
declare const CVC_180_EDUCATION_LEVEL: {
|
|
1354
|
-
readonly LESS_THAN_HIGH_SCHOOL: "less_than_high_school";
|
|
1355
|
-
readonly HIGH_SCHOOL_DIPLOMA: "high_school_diploma";
|
|
1356
|
-
readonly GED: "ged";
|
|
1357
|
-
readonly SOME_COLLEGE: "some_college";
|
|
1358
|
-
readonly ASSOCIATES: "associates";
|
|
1359
|
-
readonly BACHELORS: "bachelors";
|
|
1360
|
-
readonly GRADUATE_PROFESSIONAL: "graduate_professional";
|
|
1361
|
-
readonly UNKNOWN: "unknown";
|
|
1362
|
-
readonly DECLINED: "declined";
|
|
1363
|
-
};
|
|
1364
|
-
type CVC180Value = (typeof CVC_180_EDUCATION_LEVEL)[keyof typeof CVC_180_EDUCATION_LEVEL];
|
|
1365
|
-
declare const CVC_180_VALUES: readonly ["less_than_high_school", "high_school_diploma", "ged", "some_college", "associates", "bachelors", "graduate_professional", "unknown", "declined"];
|
|
1366
|
-
declare const CVC_180_LABELS: Record<CVC180Value, string>;
|
|
1367
|
-
/** Ordinal index for education level (0 = unknown/declined, 1-7 = ordered attainment) */
|
|
1368
|
-
declare const CVC_180_ORDINAL: Record<CVC180Value, number>;
|
|
1369
|
-
declare const CVC_150_EYE_COLOR: {
|
|
1370
|
-
readonly BLACK: "black";
|
|
1371
|
-
readonly BLUE: "blue";
|
|
1372
|
-
readonly BROWN: "brown";
|
|
1373
|
-
readonly GREEN: "green";
|
|
1374
|
-
readonly GRAY: "gray";
|
|
1375
|
-
readonly HAZEL: "hazel";
|
|
1376
|
-
readonly OTHER: "other";
|
|
1377
|
-
readonly UNKNOWN: "unknown";
|
|
1378
|
-
};
|
|
1379
|
-
type CVC150Value = (typeof CVC_150_EYE_COLOR)[keyof typeof CVC_150_EYE_COLOR];
|
|
1380
|
-
declare const CVC_150_VALUES: readonly ["black", "blue", "brown", "green", "gray", "hazel", "other", "unknown"];
|
|
1381
|
-
declare const CVC_150_LABELS: Record<CVC150Value, string>;
|
|
1382
|
-
declare const CVC_151_HAIR_COLOR: {
|
|
1383
|
-
readonly BLACK: "black";
|
|
1384
|
-
readonly BLONDE: "blonde";
|
|
1385
|
-
readonly BROWN: "brown";
|
|
1386
|
-
readonly GRAY_WHITE: "gray_white";
|
|
1387
|
-
readonly RED: "red";
|
|
1388
|
-
readonly OTHER: "other";
|
|
1389
|
-
readonly UNKNOWN: "unknown";
|
|
1390
|
-
};
|
|
1391
|
-
type CVC151Value = (typeof CVC_151_HAIR_COLOR)[keyof typeof CVC_151_HAIR_COLOR];
|
|
1392
|
-
declare const CVC_151_VALUES: readonly ["black", "blonde", "brown", "gray_white", "red", "other", "unknown"];
|
|
1393
|
-
declare const CVC_151_LABELS: Record<CVC151Value, string>;
|
|
1394
|
-
declare const CVC_152_HAS_TATTOOS: {
|
|
1395
|
-
readonly YES: "yes";
|
|
1396
|
-
readonly NO: "no";
|
|
1397
|
-
readonly UNKNOWN: "unknown";
|
|
1398
|
-
};
|
|
1399
|
-
type CVC152Value = (typeof CVC_152_HAS_TATTOOS)[keyof typeof CVC_152_HAS_TATTOOS];
|
|
1400
|
-
declare const CVC_152_VALUES: readonly ["yes", "no", "unknown"];
|
|
1401
|
-
declare const CVC_152_LABELS: Record<CVC152Value, string>;
|
|
1402
|
-
declare const CVC_153_SMT_TYPE: {
|
|
1403
|
-
readonly SCAR: "scar";
|
|
1404
|
-
readonly MARK: "mark";
|
|
1405
|
-
readonly TATTOO: "tattoo";
|
|
1406
|
-
readonly PIERCING: "piercing";
|
|
1407
|
-
readonly BIRTHMARK: "birthmark";
|
|
1408
|
-
readonly BRAND: "brand";
|
|
1409
|
-
readonly OTHER: "other";
|
|
1410
|
-
};
|
|
1411
|
-
type CVC153Value = (typeof CVC_153_SMT_TYPE)[keyof typeof CVC_153_SMT_TYPE];
|
|
1412
|
-
declare const CVC_153_VALUES: readonly ["scar", "mark", "tattoo", "piercing", "birthmark", "brand", "other"];
|
|
1413
|
-
declare const CVC_153_LABELS: Record<CVC153Value, string>;
|
|
1414
|
-
declare const CVC_156_MARITAL_STATUS: {
|
|
1415
|
-
readonly SINGLE: "SINGLE";
|
|
1416
|
-
readonly MARRIED: "MARRIED";
|
|
1417
|
-
readonly SEPARATED: "SEPARATED";
|
|
1418
|
-
readonly DIVORCED: "DIVORCED";
|
|
1419
|
-
readonly WIDOWED: "WIDOWED";
|
|
1420
|
-
readonly UNK: "UNK";
|
|
1421
|
-
readonly DNC: "DNC";
|
|
1422
|
-
readonly ANON: "ANON";
|
|
1423
|
-
};
|
|
1424
|
-
type CVC156Value = (typeof CVC_156_MARITAL_STATUS)[keyof typeof CVC_156_MARITAL_STATUS];
|
|
1425
|
-
declare const CVC_156_VALUES: readonly ["SINGLE", "MARRIED", "SEPARATED", "DIVORCED", "WIDOWED", "UNK", "DNC", "ANON"];
|
|
1426
|
-
declare const CVC_156_LABELS: Record<CVC156Value, string>;
|
|
1427
|
-
declare const CVC_157_RELATIONSHIP_STATUS: {
|
|
1428
|
-
readonly PARTNERED: "PARTNERED";
|
|
1429
|
-
readonly NOT_PARTNERED: "NOT_PARTNERED";
|
|
1430
|
-
readonly UNK: "UNK";
|
|
1431
|
-
readonly DNC: "DNC";
|
|
1432
|
-
readonly ANON: "ANON";
|
|
1433
|
-
};
|
|
1434
|
-
type CVC157Value = (typeof CVC_157_RELATIONSHIP_STATUS)[keyof typeof CVC_157_RELATIONSHIP_STATUS];
|
|
1435
|
-
declare const CVC_157_VALUES: readonly ["PARTNERED", "NOT_PARTNERED", "UNK", "DNC", "ANON"];
|
|
1436
|
-
declare const CVC_157_LABELS: Record<CVC157Value, string>;
|
|
1437
|
-
declare const CVC_158_CUSTODY_STATUS: {
|
|
1438
|
-
readonly FULL: "full";
|
|
1439
|
-
readonly SHARED: "shared";
|
|
1440
|
-
readonly NONE: "none";
|
|
1441
|
-
readonly PENDING: "pending";
|
|
1442
|
-
readonly UNKNOWN: "unknown";
|
|
1443
|
-
};
|
|
1444
|
-
type CVC158Value = (typeof CVC_158_CUSTODY_STATUS)[keyof typeof CVC_158_CUSTODY_STATUS];
|
|
1445
|
-
declare const CVC_158_VALUES: readonly ["full", "shared", "none", "pending", "unknown"];
|
|
1446
|
-
declare const CVC_158_LABELS: Record<CVC158Value, string>;
|
|
1447
|
-
/**
|
|
1448
|
-
* CVC-159 Level 1 Categories
|
|
1449
|
-
* High-level groupings of relationship ties.
|
|
1450
|
-
*/
|
|
1451
|
-
declare const CVC_159_CATEGORY: {
|
|
1452
|
-
readonly HOUSEHOLD_LIVING: "1.1_HOUSEHOLD_LIVING";
|
|
1453
|
-
readonly CHILD_FAMILY: "1.2_CHILD_FAMILY";
|
|
1454
|
-
readonly LEGAL_FORMAL: "1.3_LEGAL_FORMAL";
|
|
1455
|
-
readonly FINANCIAL_RESOURCE: "1.4_FINANCIAL_RESOURCE";
|
|
1456
|
-
readonly ACCESS_LOGISTICS: "1.5_ACCESS_LOGISTICS";
|
|
1457
|
-
readonly OTHER_FALLBACK: "1.6_OTHER_FALLBACK";
|
|
1458
|
-
readonly MISSINGNESS: "0_MISSINGNESS";
|
|
1459
|
-
};
|
|
1460
|
-
type CVC159Category = (typeof CVC_159_CATEGORY)[keyof typeof CVC_159_CATEGORY];
|
|
1461
|
-
declare const CVC_159_CATEGORY_LABELS: Record<CVC159Category, string>;
|
|
1462
|
-
/**
|
|
1463
|
-
* CVC-159 Relationship Ties codes
|
|
1464
|
-
*/
|
|
1465
|
-
declare const CVC_159_RELATIONSHIP_TIES: {
|
|
1466
|
-
readonly DNC: "DNC";
|
|
1467
|
-
readonly ANON: "ANON";
|
|
1468
|
-
readonly UNK: "UNK";
|
|
1469
|
-
readonly COHABITATING: "COHABITATING";
|
|
1470
|
-
readonly SHARED_CARE_ENVIRONMENT: "SHARED_CARE_ENVIRONMENT";
|
|
1471
|
-
readonly HAS_CHILDREN_TOGETHER: "HAS_CHILDREN_TOGETHER";
|
|
1472
|
-
readonly CO_PARENTING: "CO_PARENTING";
|
|
1473
|
-
readonly FAMILY_CARE_OBLIGATION: "FAMILY_CARE_OBLIGATION";
|
|
1474
|
-
readonly LEGALLY_MARRIED: "LEGALLY_MARRIED";
|
|
1475
|
-
readonly SHARED_LEGAL_CASE_OR_ORDER: "SHARED_LEGAL_CASE_OR_ORDER";
|
|
1476
|
-
readonly CUSTODY_OR_VISITATION_LINK: "CUSTODY_OR_VISITATION_LINK";
|
|
1477
|
-
readonly PROTECTIVE_ORDER_LINK: "PROTECTIVE_ORDER_LINK";
|
|
1478
|
-
readonly LEGAL_GUARDIANSHIP: "LEGAL_GUARDIANSHIP";
|
|
1479
|
-
readonly FINANCIAL_DEPENDENCE: "FINANCIAL_DEPENDENCE";
|
|
1480
|
-
readonly SHARED_EMPLOYMENT_OR_INCOME_LINK: "SHARED_EMPLOYMENT_OR_INCOME_LINK";
|
|
1481
|
-
readonly SHARED_PROPERTY_OR_LEASE: "SHARED_PROPERTY_OR_LEASE";
|
|
1482
|
-
readonly SHARED_FINANCES: "SHARED_FINANCES";
|
|
1483
|
-
readonly DOCUMENT_OR_ID_LINK: "DOCUMENT_OR_ID_LINK";
|
|
1484
|
-
readonly TRANSPORTATION_DEPENDENCE: "TRANSPORTATION_DEPENDENCE";
|
|
1485
|
-
readonly REGULAR_UNAVOIDABLE_CONTACT: "REGULAR_UNAVOIDABLE_CONTACT";
|
|
1486
|
-
readonly COMMUNICATION_ACCESS_LINK: "COMMUNICATION_ACCESS_LINK";
|
|
1487
|
-
readonly OTHER: "OTHER";
|
|
1488
|
-
};
|
|
1489
|
-
type CVC159Value = (typeof CVC_159_RELATIONSHIP_TIES)[keyof typeof CVC_159_RELATIONSHIP_TIES];
|
|
1490
|
-
declare const CVC_159_VALUES: readonly CVC159Value[];
|
|
1491
|
-
declare const CVC_159_LABELS: Record<CVC159Value, string>;
|
|
1492
|
-
/**
|
|
1493
|
-
* Maps each tie code to its L1 category.
|
|
1494
|
-
*/
|
|
1495
|
-
declare const CVC_159_TYPE_TO_CATEGORY: Record<CVC159Value, CVC159Category>;
|
|
1496
|
-
/** UI option type for grouped dropdowns */
|
|
1497
|
-
interface CVC159Option {
|
|
1498
|
-
value: CVC159Value;
|
|
1499
|
-
label: string;
|
|
1500
|
-
category: CVC159Category;
|
|
1501
|
-
categoryLabel: string;
|
|
1502
|
-
}
|
|
1503
|
-
/** Generate options array grouped by category */
|
|
1504
|
-
declare const CVC_159_OPTIONS: readonly CVC159Option[];
|
|
1505
|
-
/** Get selectable options (excludes missingness for most UIs) */
|
|
1506
|
-
declare const CVC_159_SELECTABLE_OPTIONS: readonly CVC159Option[];
|
|
1507
|
-
/** Category display order for UI */
|
|
1508
|
-
declare const CVC_159_CATEGORY_ORDER: readonly CVC159Category[];
|
|
1509
|
-
/**
|
|
1510
|
-
* CVC-126 Level 1 Categories
|
|
1511
|
-
* High-level groupings of relationship types.
|
|
1512
|
-
*/
|
|
1513
|
-
declare const CVC_126_CATEGORY: {
|
|
1514
|
-
readonly SELF: "self";
|
|
1515
|
-
readonly FAMILY_KIN: "family_kin";
|
|
1516
|
-
readonly INTIMATE_PARTNER: "intimate_partner";
|
|
1517
|
-
readonly CARE_HOUSEHOLD: "care_household";
|
|
1518
|
-
readonly SOCIAL_PEER: "social_peer";
|
|
1519
|
-
readonly WORK_ECONOMIC: "work_economic";
|
|
1520
|
-
readonly SERVICE_PROFESSIONAL: "service_professional";
|
|
1521
|
-
readonly EXPLOITATION: "exploitation";
|
|
1522
|
-
readonly OTHER: "other";
|
|
1523
|
-
};
|
|
1524
|
-
type CVC126Category = (typeof CVC_126_CATEGORY)[keyof typeof CVC_126_CATEGORY];
|
|
1525
|
-
/**
|
|
1526
|
-
* CVC-126 Person Relationship Types
|
|
1527
|
-
* Specific relationship values within each L1 category.
|
|
1528
|
-
*/
|
|
1529
|
-
declare const CVC_126_PERSON_RELATIONSHIP: {
|
|
1530
|
-
readonly SELF: "self";
|
|
1531
|
-
readonly PARENT_CHILD: "parent_child";
|
|
1532
|
-
readonly SIBLING: "sibling";
|
|
1533
|
-
readonly EXTENDED_FAMILY: "extended_family";
|
|
1534
|
-
readonly SPOUSE_PARTNER: "spouse_partner";
|
|
1535
|
-
readonly DATING: "dating";
|
|
1536
|
-
readonly FORMER_INTIMATE: "former_intimate";
|
|
1537
|
-
readonly CAREGIVER_DEPENDENT: "caregiver_dependent";
|
|
1538
|
-
readonly GUARDIAN: "guardian";
|
|
1539
|
-
readonly ROOMMATE_COHABITANT: "roommate_cohabitant";
|
|
1540
|
-
readonly FRIEND_PEER: "friend_peer";
|
|
1541
|
-
readonly NEIGHBOR: "neighbor";
|
|
1542
|
-
readonly ACQUAINTANCE: "acquaintance";
|
|
1543
|
-
readonly EMPLOYER_EMPLOYEE: "employer_employee";
|
|
1544
|
-
readonly COWORKER_COLLEAGUE: "coworker_colleague";
|
|
1545
|
-
readonly BUSINESS_PARTNER: "business_partner";
|
|
1546
|
-
readonly SERVICE_PROVIDER_CLIENT: "service_provider_client";
|
|
1547
|
-
readonly TRAFFICKER_VICTIM: "trafficker_victim";
|
|
1548
|
-
readonly EXPLOITER_EXPLOITED: "exploiter_exploited";
|
|
1549
|
-
readonly STRANGER: "stranger";
|
|
1550
|
-
readonly OTHER: "other";
|
|
1551
|
-
readonly UNKNOWN: "unknown";
|
|
1552
|
-
};
|
|
1553
|
-
type CVC126Value = (typeof CVC_126_PERSON_RELATIONSHIP)[keyof typeof CVC_126_PERSON_RELATIONSHIP];
|
|
1554
|
-
declare const CVC_126_VALUES: readonly CVC126Value[];
|
|
1555
|
-
declare const CVC_126_LABELS: Record<CVC126Value, string>;
|
|
1556
|
-
/**
|
|
1557
|
-
* Maps each relationship type to its L1 category.
|
|
1558
|
-
*/
|
|
1559
|
-
declare const CVC_126_TYPE_TO_CATEGORY: Record<CVC126Value, CVC126Category>;
|
|
1560
|
-
/**
|
|
1561
|
-
* Categories that require VAWA protection when the person is also an offender.
|
|
1562
|
-
* These relationships indicate the offender's PII could identify the victim.
|
|
1563
|
-
*/
|
|
1564
|
-
declare const CVC_126_PROTECTED_CATEGORIES: ReadonlySet<CVC126Category>;
|
|
1565
|
-
/**
|
|
1566
|
-
* Check if a relationship type requires VAWA protection.
|
|
1567
|
-
* Used to determine if an offender should be stored as ProtectedPerson (encrypted).
|
|
1568
|
-
*
|
|
1569
|
-
* @param relationshipType - The relationship value (e.g., 'parent_child')
|
|
1570
|
-
* @returns True if the relationship requires protected person storage
|
|
1571
|
-
*/
|
|
1572
|
-
declare function isProtectedRelationship(relationshipType: CVC126Value): boolean;
|
|
1573
|
-
/**
|
|
1574
|
-
* Get the L1 category for a relationship type.
|
|
1575
|
-
*
|
|
1576
|
-
* @param relationshipType - The relationship value (e.g., 'parent_child')
|
|
1577
|
-
* @returns The L1 category or undefined if not found
|
|
1578
|
-
*/
|
|
1579
|
-
declare function getRelationshipCategory(relationshipType: CVC126Value): CVC126Category | undefined;
|
|
1580
|
-
declare const CVC_126_CATEGORY_LABELS: Record<CVC126Category, string>;
|
|
1581
|
-
/** UI dropdown options grouped by category */
|
|
1582
|
-
type CVC126Option = {
|
|
1583
|
-
value: CVC126Value;
|
|
1584
|
-
label: string;
|
|
1585
|
-
category: CVC126Category;
|
|
1586
|
-
categoryLabel: string;
|
|
1587
|
-
};
|
|
1588
|
-
declare const CVC_126_OPTIONS: readonly CVC126Option[];
|
|
1589
|
-
declare const CVC_72_HT_TYPE: {
|
|
1590
|
-
readonly SEX: "sex";
|
|
1591
|
-
readonly LABOR: "labor";
|
|
1592
|
-
readonly SEX_AND_LABOR: "sex_and_labor";
|
|
1593
|
-
readonly UNKNOWN: "unknown";
|
|
1594
|
-
};
|
|
1595
|
-
type CVC72Value = (typeof CVC_72_HT_TYPE)[keyof typeof CVC_72_HT_TYPE];
|
|
1596
|
-
declare const CVC_72_VALUES: readonly ["sex", "labor", "sex_and_labor", "unknown"];
|
|
1597
|
-
declare const CVC_72_LABELS: Record<CVC72Value, string>;
|
|
1598
|
-
declare const CVC_136_INDICATOR_CATEGORY: {
|
|
1599
|
-
readonly MEDICAL_PHYSICAL: "medical_physical";
|
|
1600
|
-
readonly SAFETY_RISK: "safety_risk";
|
|
1601
|
-
readonly BEHAVIORAL_MENTAL_HEALTH: "behavioral_mental_health";
|
|
1602
|
-
readonly HISTORY_BACKGROUND: "history_background";
|
|
1603
|
-
readonly SOCIAL_ENVIRONMENTAL: "social_environmental";
|
|
1604
|
-
readonly OTHER: "other";
|
|
1605
|
-
};
|
|
1606
|
-
type CVC136Category = (typeof CVC_136_INDICATOR_CATEGORY)[keyof typeof CVC_136_INDICATOR_CATEGORY];
|
|
1607
|
-
declare const CVC_136_CATEGORY_LABELS: Record<CVC136Category, string>;
|
|
1608
|
-
declare const CVC_136_ALERT_INDICATOR: {
|
|
1609
|
-
readonly HEAD_INJURY: "head_injury";
|
|
1610
|
-
readonly STRANGULATION: "strangulation";
|
|
1611
|
-
readonly PREGNANCY_ABUSE: "pregnancy_abuse";
|
|
1612
|
-
readonly CHRONIC_PAIN: "chronic_pain";
|
|
1613
|
-
readonly UNEXPLAINED_INJURIES: "unexplained_injuries";
|
|
1614
|
-
readonly TRAUMATIC_BRAIN_INJURY: "traumatic_brain_injury";
|
|
1615
|
-
readonly BROKEN_BONES: "broken_bones";
|
|
1616
|
-
readonly BURNS: "burns";
|
|
1617
|
-
readonly BRUISING: "bruising";
|
|
1618
|
-
readonly HEARING_LOSS: "hearing_loss";
|
|
1619
|
-
readonly VISION_PROBLEMS: "vision_problems";
|
|
1620
|
-
readonly DENTAL_INJURIES: "dental_injuries";
|
|
1621
|
-
readonly PREGNANCY_COMPLICATIONS: "pregnancy_complications";
|
|
1622
|
-
readonly STI_HISTORY: "sti_history";
|
|
1623
|
-
readonly HIV_AIDS: "hiv_aids";
|
|
1624
|
-
readonly SLEEP_DISORDERS: "sleep_disorders";
|
|
1625
|
-
readonly EATING_DISORDERS: "eating_disorders";
|
|
1626
|
-
readonly CHRONIC_FATIGUE: "chronic_fatigue";
|
|
1627
|
-
readonly WEAPONS_ACCESS: "weapons_access";
|
|
1628
|
-
readonly THREATS_TO_KILL: "threats_to_kill";
|
|
1629
|
-
readonly ATTEMPTED_MURDER: "attempted_murder";
|
|
1630
|
-
readonly FORCED_SEX: "forced_sex";
|
|
1631
|
-
readonly ESCALATING_VIOLENCE: "escalating_violence";
|
|
1632
|
-
readonly STALKING_BEHAVIOR: "stalking_behavior";
|
|
1633
|
-
readonly COERCIVE_CONTROL: "coercive_control";
|
|
1634
|
-
readonly ISOLATION_FROM_SUPPORT: "isolation_from_support";
|
|
1635
|
-
readonly FINANCIAL_CONTROL: "financial_control";
|
|
1636
|
-
readonly TECHNOLOGY_ABUSE: "technology_abuse";
|
|
1637
|
-
readonly THREATS_TO_CHILDREN: "threats_to_children";
|
|
1638
|
-
readonly THREATS_TO_PETS: "threats_to_pets";
|
|
1639
|
-
readonly HARM_TO_PETS: "harm_to_pets";
|
|
1640
|
-
readonly RECENT_SEPARATION: "recent_separation";
|
|
1641
|
-
readonly JEALOUSY_POSSESSIVENESS: "jealousy_possessiveness";
|
|
1642
|
-
readonly VIOLATED_PROTECTION_ORDER: "violated_protection_order";
|
|
1643
|
-
readonly SUBSTANCE_USE: "substance_use";
|
|
1644
|
-
readonly MENTAL_HEALTH: "mental_health";
|
|
1645
|
-
readonly DEPRESSION: "depression";
|
|
1646
|
-
readonly ANXIETY: "anxiety";
|
|
1647
|
-
readonly PTSD: "ptsd";
|
|
1648
|
-
readonly SUICIDAL_IDEATION: "suicidal_ideation";
|
|
1649
|
-
readonly SELF_HARM: "self_harm";
|
|
1650
|
-
readonly DISSOCIATION: "dissociation";
|
|
1651
|
-
readonly HYPERVIGILANCE: "hypervigilance";
|
|
1652
|
-
readonly EMOTIONAL_DYSREGULATION: "emotional_dysregulation";
|
|
1653
|
-
readonly ATTACHMENT_ISSUES: "attachment_issues";
|
|
1654
|
-
readonly COGNITIVE_DIFFICULTIES: "cognitive_difficulties";
|
|
1655
|
-
readonly TRUST_ISSUES: "trust_issues";
|
|
1656
|
-
readonly LOW_SELF_ESTEEM: "low_self_esteem";
|
|
1657
|
-
readonly PRIOR_DV: "prior_dv";
|
|
1658
|
-
readonly PRIOR_SEXUAL_ASSAULT: "prior_sexual_assault";
|
|
1659
|
-
readonly PRIOR_HT: "prior_ht";
|
|
1660
|
-
readonly CHILDHOOD_ABUSE: "childhood_abuse";
|
|
1661
|
-
readonly CHILDHOOD_NEGLECT: "childhood_neglect";
|
|
1662
|
-
readonly WITNESS_TO_DV_AS_CHILD: "witness_to_dv_as_child";
|
|
1663
|
-
readonly FOSTER_CARE_HISTORY: "foster_care_history";
|
|
1664
|
-
readonly PRIOR_EXPLOITATION: "prior_exploitation";
|
|
1665
|
-
readonly CRIMINAL_RECORD: "criminal_record";
|
|
1666
|
-
readonly INCARCERATION_HISTORY: "incarceration_history";
|
|
1667
|
-
readonly HOMELESSNESS: "homelessness";
|
|
1668
|
-
readonly HOUSING_INSTABILITY: "housing_instability";
|
|
1669
|
-
readonly UNEMPLOYMENT: "unemployment";
|
|
1670
|
-
readonly FINANCIAL_INSTABILITY: "financial_instability";
|
|
1671
|
-
readonly LACK_OF_TRANSPORTATION: "lack_of_transportation";
|
|
1672
|
-
readonly IMMIGRATION_STATUS: "immigration_status";
|
|
1673
|
-
readonly LANGUAGE_BARRIERS: "language_barriers";
|
|
1674
|
-
readonly LIMITED_EDUCATION: "limited_education";
|
|
1675
|
-
readonly SOCIAL_ISOLATION: "social_isolation";
|
|
1676
|
-
readonly LACK_OF_SUPPORT_NETWORK: "lack_of_support_network";
|
|
1677
|
-
readonly RUNAWAY_HISTORY: "runaway_history";
|
|
1678
|
-
readonly GANG_INVOLVEMENT: "gang_involvement";
|
|
1679
|
-
readonly OTHER: "other";
|
|
1680
|
-
};
|
|
1681
|
-
type CVC136Value = (typeof CVC_136_ALERT_INDICATOR)[keyof typeof CVC_136_ALERT_INDICATOR];
|
|
1682
|
-
declare const CVC_136_VALUES: readonly CVC136Value[];
|
|
1683
|
-
declare const CVC_136_LABELS: Record<CVC136Value, string>;
|
|
1684
|
-
/** Map each indicator to its category */
|
|
1685
|
-
declare const CVC_136_TYPE_TO_CATEGORY: Record<CVC136Value, CVC136Category>;
|
|
1686
|
-
/** UI dropdown options grouped by category */
|
|
1687
|
-
type CVC136Option = {
|
|
1688
|
-
value: CVC136Value;
|
|
1689
|
-
label: string;
|
|
1690
|
-
category: CVC136Category;
|
|
1691
|
-
categoryLabel: string;
|
|
1692
|
-
};
|
|
1693
|
-
declare const CVC_136_OPTIONS: readonly CVC136Option[];
|
|
1694
|
-
|
|
1695
|
-
export { type CVC181Value as $, ACCOMMODATION_LABELS as A, BIRTH_LOCATION as B, CALLER_IS_VICTIM_ROLES as C, type CVC145Option as D, type CVC145Value as E, type CVC147Value as F, type CVC148Value as G, type CVC150Value as H, type CVC151Value as I, type CVC152Value as J, type CVC153Value as K, type CVC156Value as L, type CVC157Value as M, type CVC158Value as N, type CVC159Category as O, type CVC159Option as P, type CVC159Value as Q, type CVC15Value as R, type CVC16Value as S, type CVC171Category as T, type CVC171Option as U, type CVC171Value as V, type CVC179HierarchicalCategory as W, type CVC179HierarchicalValue as X, type CVC179Value as Y, type CVC17Value as Z, type CVC180Value as _, ACCOMMODATION_OPTIONS as a, CVC_153_LABELS as a$, type CVC1Value as a0, type CVC72Value as a1, type CVC76Value as a2, type CVC93Value as a3, type CVC95Value as a4, type CVC96Value as a5, type CVC97Value as a6, type CVC98Value as a7, type CVC99Value as a8, CVC_100_LABELS as a9, CVC_136_OPTIONS as aA, CVC_136_TYPE_TO_CATEGORY as aB, CVC_136_VALUES as aC, CVC_145_CATEGORY as aD, CVC_145_CATEGORY_LABELS as aE, CVC_145_CATEGORY_ORDER as aF, CVC_145_LABELS as aG, CVC_145_OPTIONS as aH, CVC_145_RELATIONSHIP_DYNAMICS as aI, CVC_145_SELECTABLE_OPTIONS as aJ, CVC_145_TYPE_TO_CATEGORY as aK, CVC_145_VALUES as aL, CVC_147_LABELS as aM, CVC_147_PRONOUNS as aN, CVC_147_VALUES as aO, CVC_148_LABELS as aP, CVC_148_TRIBES as aQ, CVC_148_VALUES as aR, CVC_150_EYE_COLOR as aS, CVC_150_LABELS as aT, CVC_150_VALUES as aU, CVC_151_HAIR_COLOR as aV, CVC_151_LABELS as aW, CVC_151_VALUES as aX, CVC_152_HAS_TATTOOS as aY, CVC_152_LABELS as aZ, CVC_152_VALUES as a_, CVC_100_LIVES_RURAL as aa, CVC_100_VALUES as ab, CVC_115_LABELS as ac, CVC_115_SERVICE_PLANNING as ad, CVC_115_VALUES as ae, CVC_120_LABELS as af, CVC_120_MILITARY_BRANCH as ag, CVC_120_VALUES as ah, CVC_121_LABELS as ai, CVC_121_MILITARY_STATUS as aj, CVC_121_VALUES as ak, CVC_122_LABELS as al, CVC_122_PRIMARY_LANGUAGE as am, CVC_122_VALUES as an, CVC_126_CATEGORY as ao, CVC_126_CATEGORY_LABELS as ap, CVC_126_LABELS as aq, CVC_126_OPTIONS as ar, CVC_126_PERSON_RELATIONSHIP as as, CVC_126_PROTECTED_CATEGORIES as at, CVC_126_TYPE_TO_CATEGORY as au, CVC_126_VALUES as av, CVC_136_ALERT_INDICATOR as aw, CVC_136_CATEGORY_LABELS as ax, CVC_136_INDICATOR_CATEGORY as ay, CVC_136_LABELS as az, AGE_BIN_REPORTING as b, CVC_1_UNSTRUCTURED_NAME_TYPES as b$, CVC_153_SMT_TYPE as b0, CVC_153_VALUES as b1, CVC_156_LABELS as b2, CVC_156_MARITAL_STATUS as b3, CVC_156_VALUES as b4, CVC_157_LABELS as b5, CVC_157_RELATIONSHIP_STATUS as b6, CVC_157_VALUES as b7, CVC_158_CUSTODY_STATUS as b8, CVC_158_LABELS as b9, CVC_179_CHILD_TO_PARENT as bA, CVC_179_EMPLOYMENT_STATUS as bB, CVC_179_HIERARCHICAL_CATEGORY as bC, CVC_179_HIERARCHICAL_CATEGORY_LABELS as bD, CVC_179_HIERARCHICAL_CATEGORY_ORDER as bE, CVC_179_HIERARCHICAL_LABELS as bF, CVC_179_HIERARCHICAL_VALUES as bG, CVC_179_LABELS as bH, CVC_179_PARENT_CHILDREN as bI, CVC_179_PRIMARY_CATEGORY as bJ, CVC_179_SELECTABLE_OPTIONS as bK, CVC_179_VALUES as bL, CVC_179_VALUE_TO_CATEGORY as bM, CVC_17_CORE_GENDER_IDENTITY as bN, CVC_17_LABELS as bO, CVC_17_LEVEL_1_OPTIONS as bP, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as bQ, CVC_17_TRANSGENDER_VALUES as bR, CVC_180_EDUCATION_LEVEL as bS, CVC_180_LABELS as bT, CVC_180_ORDINAL as bU, CVC_180_VALUES as bV, CVC_181_COUNTRIES as bW, CVC_181_LABELS as bX, CVC_1_LABELS as bY, CVC_1_NAME_TYPE as bZ, CVC_1_STRUCTURED_NAME_TYPES as b_, CVC_158_VALUES as ba, CVC_159_CATEGORY as bb, CVC_159_CATEGORY_LABELS as bc, CVC_159_CATEGORY_ORDER as bd, CVC_159_LABELS as be, CVC_159_OPTIONS as bf, CVC_159_RELATIONSHIP_TIES as bg, CVC_159_SELECTABLE_OPTIONS as bh, CVC_159_TYPE_TO_CATEGORY as bi, CVC_159_VALUES as bj, CVC_15_CORE_SEX as bk, CVC_15_LABELS as bl, CVC_15_SELECTABLE_VALUES as bm, CVC_16_CORE_ORIENTATION as bn, CVC_16_LABELS as bo, CVC_16_LGBTQ_VALUES as bp, CVC_171_CATEGORY as bq, CVC_171_CATEGORY_LABELS as br, CVC_171_CHILD_TO_PARENT as bs, CVC_171_INCOME_BENEFITS as bt, CVC_171_INCOME_SOURCES as bu, CVC_171_LABELS as bv, CVC_171_PARENT_CHILDREN as bw, CVC_171_SELECTABLE_OPTIONS as bx, CVC_171_VALUES as by, CVC_171_VALUE_TO_CATEGORY as bz, AGE_BIN_REPORTING_IS_MINOR as c, IC_22_LABELS as c$, CVC_1_VALUES as c0, CVC_72_HT_TYPE as c1, CVC_72_LABELS as c2, CVC_72_VALUES as c3, CVC_76_LABELS as c4, CVC_76_RACE_ETHNICITY as c5, CVC_76_VALUES as c6, CVC_93_CHILD_WELFARE_INVOLVEMENT as c7, CVC_93_LABELS as c8, CVC_93_VALUES as c9, type FormTypeValue as cA, type IC13Category as cB, type IC13PriorityGroup as cC, type IC13Value as cD, type IC22Value as cE, type IC23Value as cF, type IC24Value as cG, type IC25Value as cH, type IC49ReferralOutcomeValue as cI, type IC49ReferralVerificationValue as cJ, type IC49Value as cK, type IC4Value as cL, type IC56ChannelValue as cM, type IC56Value as cN, type IC57Value as cO, type IC58ExternalCategory as cP, type IC58Value as cQ, type IC59Value as cR, type IC5Value as cS, IC_13_CATEGORIES as cT, IC_13_CATEGORY_ORDER as cU, IC_13_LABELS as cV, IC_13_PRIORITY_GROUPS as cW, IC_13_RELATIONSHIP_ABBREV as cX, IC_13_RELATIONSHIP_TYPE as cY, IC_13_REVERSE_CONTEXT_LABELS as cZ, IC_22_CORE_SEX as c_, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as ca, CVC_95_LABELS as cb, CVC_95_VALUES as cc, CVC_96_HOMELESS_STATUS as cd, CVC_96_LABELS as ce, CVC_96_VALUES as cf, CVC_97_IMMIGRANT_REFUGEE as cg, CVC_97_LABELS as ch, CVC_97_VALUES as ci, CVC_98_LABELS as cj, CVC_98_US_VETERAN as ck, CVC_98_VALUES as cl, CVC_99_ENGLISH_PROFICIENCY as cm, CVC_99_LABELS as cn, CVC_99_VALUES as co, DATA_QUALITY as cp, DATA_QUALITY_DESCRIPTIONS as cq, DATA_QUALITY_LABELS as cr, DATA_QUALITY_VALUES as cs, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as ct, type DataQualityValue as cu, FORM_STATUS as cv, FORM_STATUS_LABELS as cw, FORM_TYPE as cx, FORM_TYPE_LABELS as cy, type FormStatusValue as cz, AGE_BIN_REPORTING_LABELS as d, type QuestionFormatValue as d$, IC_23_CORE_GENDER_IDENTITY as d0, IC_23_LABELS as d1, IC_24_LABELS as d2, IC_24_RACE as d3, IC_25_ETHNICITY as d4, IC_25_LABELS as d5, IC_48_SERVICE_CATEGORIES as d6, IC_49_DESCRIPTIONS as d7, IC_49_LABELS as d8, IC_49_REFERRAL_OUTCOME as d9, INCIDENT_PARTICIPATION_ROLE as dA, INCIDENT_PARTICIPATION_ROLE_LABELS as dB, INCIDENT_PARTICIPATION_ROLE_VALUES as dC, INTERACTION_TYPES as dD, INTERACTION_TYPE_LABELS as dE, INVOLVEMENT_ROLE_TO_PERSON_TYPE as dF, type IncidentInvolvementRoleValue as dG, type IncidentParticipationRoleValue as dH, type InteractionTypeValue as dI, MINOR_ADULT_STATUS as dJ, MINOR_ADULT_STATUS_LABELS as dK, type MinorAdultStatusValue as dL, type OrgTypeGroup as dM, PARTICIPATION_ROLE_CATEGORIES as dN, PERSON_DISPLAY_CATEGORY as dO, PERSON_DISPLAY_CATEGORY_LABELS as dP, PERSON_ROLES as dQ, PERSON_TYPE as dR, PERSON_TYPE_VALUES as dS, type PersonDisplayCategoryValue as dT, type PersonRoleValue as dU, type PersonTypeValue as dV, QUESTION_FORMAT as dW, QUESTION_FORMAT_LABELS as dX, QUICK_START_CONFIG as dY, QUICK_START_LABELS as dZ, QUICK_START_TEMPLATES as d_, IC_49_REFERRAL_OUTCOME_LABELS as da, IC_49_REFERRAL_VERIFICATION as db, IC_49_REFERRAL_VERIFICATION_LABELS as dc, IC_49_SERVICE_MECHANISM as dd, IC_4_AGE_TYPE as de, IC_4_LABELS as df, IC_56_DESCRIPTIONS as dg, IC_56_LABELS as dh, IC_56_OPTIONS as di, IC_56_SERVICE_DELIVERY_CHANNEL as dj, IC_57_LABELS as dk, IC_57_SERVICE_AUDIENCE as dl, IC_58_EXTERNAL_TIERED as dm, IC_58_LABELS as dn, IC_58_ORG_TYPE_GROUPS as dp, IC_58_PRIMARY_BRANCHES as dq, IC_58_REFERRAL_ENTITY as dr, IC_59_LABELS as ds, IC_59_SERVICE_STATE as dt, IC_5_FULL_LABELS as du, IC_5_LABELS as dv, IC_5_VICTIMIZATION as dw, INCIDENT_INVOLVEMENT_ROLE as dx, INCIDENT_INVOLVEMENT_ROLE_LABELS as dy, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as dz, APPARENT_AGE as e, type QuickStartTemplateId as e0, RECORD_STATES as e1, RECORD_STATE_LABELS as e2, RELATIONSHIP_CONCERNS as e3, RELATIONSHIP_CONCERNS_LABELS as e4, RELATIONSHIP_CONCERNS_VALUES as e5, RELATIONSHIP_DYNAMICS as e6, RELATIONSHIP_DYNAMICS_LABELS as e7, RELATIONSHIP_DYNAMICS_VALUES as e8, type RecordStateValue as e9, isTransgenderGenderIdentity as eA, sortRelationshipsByPriority as eB, type ReferralBranch as ea, type RelationshipConcernValue as eb, type RelationshipDynamicValue as ec, SESSION_STATES as ed, SESSION_STATE_LABELS as ee, SUBMISSION_STATES as ef, SUBMISSION_STATE_LABELS as eg, type ServiceCategory as eh, type ServiceCategoryChild as ei, type SessionStateValue as ej, type SubmissionStateValue as ek, THREAD_INVOLVEMENT_ROLES as el, USER_STATUS as em, USER_STATUS_LABELS as en, type UserStatusValue as eo, VALID_INTERACTION_TYPES as ep, VALID_RECORD_STATES as eq, deriveAgeBinFromAge as er, getDisplayCategoryForRole as es, getPersonTypeForRole as et, getRelationshipCategory as eu, isIC56Missingness as ev, isIC56ValidChannel as ew, isLgbtqOrientation as ex, isProtectedRelationship as ey, isStructuredNameType as ez, APPARENT_AGE_LABELS as f, APP_SCOPE as g, type AccommodationValue as h, type AgeBinReportingValue as i, type AppScopeValue as j, type ApparentAgeValue as k, BIRTH_LOCATION_LABELS as l, BIRTH_LOCATION_VALUES as m, type BirthLocationValue as n, type CVC100Value as o, type CVC115Value as p, type CVC120Value as q, type CVC121Value as r, type CVC122Value as s, type CVC126Category as t, type CVC126Option as u, type CVC126Value as v, type CVC136Category as w, type CVC136Option as x, type CVC136Value as y, type CVC145Category as z };
|