@htilabs/platform-common-models 0.2.0-beta.3 → 0.3.0-beta.5
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/README.md +38 -0
- package/dist/constants/index.cjs +0 -140
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +146 -5
- package/dist/constants/index.d.ts +146 -5
- package/dist/constants/index.js +0 -128
- package/dist/constants/index.js.map +1 -1
- package/dist/{platform-role-AHv1l5Og.d.cts → cvcEntry-wqktWfzE.d.cts} +231 -37
- package/dist/{platform-role-AHv1l5Og.d.ts → cvcEntry-wqktWfzE.d.ts} +231 -37
- package/dist/cvcs/index.cjs +2184 -0
- package/dist/cvcs/index.cjs.map +1 -0
- package/dist/cvcs/index.d.cts +2384 -0
- package/dist/cvcs/index.d.ts +2384 -0
- package/dist/cvcs/index.js +2154 -0
- package/dist/cvcs/index.js.map +1 -0
- package/dist/index--NCIPluF.d.cts +378 -0
- package/dist/index-CFOrHA8l.d.ts +378 -0
- package/dist/index.cjs +2962 -140
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +217 -3
- package/dist/index.d.ts +217 -3
- package/dist/index.js +2934 -128
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +211 -0
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +3 -292
- package/dist/models/index.d.ts +3 -292
- package/dist/models/index.js +209 -0
- package/dist/models/index.js.map +1 -1
- package/dist/{platform-auth-DHSJP7XP.d.cts → platform-auth-C-G2qeGM.d.cts} +1 -36
- package/dist/{platform-auth-DHSJP7XP.d.ts → platform-auth-C-G2qeGM.d.ts} +1 -36
- package/dist/schemas/index.cjs +195 -116
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -11
- package/dist/schemas/index.d.ts +11 -11
- package/dist/schemas/index.js +189 -116
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +1442 -0
- package/dist/services/index.cjs.map +1 -0
- package/dist/services/index.d.cts +305 -0
- package/dist/services/index.d.ts +305 -0
- package/dist/services/index.js +1417 -0
- package/dist/services/index.js.map +1 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +261 -0
- package/dist/validation/index.cjs.map +1 -0
- package/dist/validation/index.d.cts +251 -0
- package/dist/validation/index.d.ts +251 -0
- package/dist/validation/index.js +228 -0
- package/dist/validation/index.js.map +1 -0
- package/package.json +36 -12
- package/src/__tests__/__snapshots__/cvc-sot.snap +22 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +184 -0
- package/src/__tests__/cvc-structural.test.ts +130 -0
- package/src/constants/ic.ts +0 -154
- package/src/constants/service-catalog.ts +146 -4
- package/src/cvcs/index.ts +31 -0
- package/src/cvcs/missingness.v1.0.0.json +50 -0
- package/src/cvcs/serviceCategories.v1.0.0.json +1947 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +47 -0
- package/src/cvcs/serviceStates.v1.0.0.json +106 -0
- package/src/generated/cvc-enums.ts +215 -0
- package/src/index.ts +61 -1
- package/src/models/cvcEntryModel.ts +32 -0
- package/src/models/cvcRegistryModel.ts +35 -0
- package/src/models/index.ts +8 -0
- package/src/schemas/cvcEntry.ts +158 -0
- package/src/schemas/cvcRegistry.ts +149 -0
- package/src/schemas/index.ts +16 -0
- package/src/services/__tests__/cvcRegistryService.test.ts +614 -0
- package/src/services/cvcRegistryService.ts +729 -0
- package/src/services/index.ts +21 -0
- package/src/validation/cvc.ts +414 -0
- package/src/validation/index.ts +15 -0
package/dist/index.cjs
CHANGED
|
@@ -62,11 +62,6 @@ __export(src_exports, {
|
|
|
62
62
|
CVC_136_OPTIONS: () => CVC_136_OPTIONS,
|
|
63
63
|
CVC_136_TYPE_TO_CATEGORY: () => CVC_136_TYPE_TO_CATEGORY,
|
|
64
64
|
CVC_136_VALUES: () => CVC_136_VALUES,
|
|
65
|
-
CVC_137_LABELS: () => CVC_137_LABELS,
|
|
66
|
-
CVC_137_MISSINGNESS_VALUES: () => CVC_137_MISSINGNESS_VALUES,
|
|
67
|
-
CVC_137_RECENCY_BAND: () => CVC_137_RECENCY_BAND,
|
|
68
|
-
CVC_137_SELECTABLE_VALUES: () => CVC_137_SELECTABLE_VALUES,
|
|
69
|
-
CVC_137_VALUES: () => CVC_137_VALUES,
|
|
70
65
|
CVC_145_CATEGORY: () => CVC_145_CATEGORY,
|
|
71
66
|
CVC_145_CATEGORY_LABELS: () => CVC_145_CATEGORY_LABELS,
|
|
72
67
|
CVC_145_CATEGORY_ORDER: () => CVC_145_CATEGORY_ORDER,
|
|
@@ -146,7 +141,6 @@ __export(src_exports, {
|
|
|
146
141
|
CVC_17_LEVEL_1_OPTIONS: () => CVC_17_LEVEL_1_OPTIONS,
|
|
147
142
|
CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: () => CVC_17_LEVEL_2_TRANSGENDER_OPTIONS,
|
|
148
143
|
CVC_17_TRANSGENDER_VALUES: () => CVC_17_TRANSGENDER_VALUES,
|
|
149
|
-
CVC_17_VALUES: () => CVC_17_VALUES,
|
|
150
144
|
CVC_180_EDUCATION_LEVEL: () => CVC_180_EDUCATION_LEVEL,
|
|
151
145
|
CVC_180_LABELS: () => CVC_180_LABELS,
|
|
152
146
|
CVC_180_ORDINAL: () => CVC_180_ORDINAL,
|
|
@@ -156,11 +150,6 @@ __export(src_exports, {
|
|
|
156
150
|
CVC_196_CHILD_WELFARE_EPISODE_TYPE: () => CVC_196_CHILD_WELFARE_EPISODE_TYPE,
|
|
157
151
|
CVC_196_LABELS: () => CVC_196_LABELS,
|
|
158
152
|
CVC_196_VALUES: () => CVC_196_VALUES,
|
|
159
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE: () => CVC_197_JUVENILE_JUSTICE_EPISODE,
|
|
160
|
-
CVC_197_LABELS: () => CVC_197_LABELS,
|
|
161
|
-
CVC_197_MISSINGNESS_VALUES: () => CVC_197_MISSINGNESS_VALUES,
|
|
162
|
-
CVC_197_SELECTABLE_VALUES: () => CVC_197_SELECTABLE_VALUES,
|
|
163
|
-
CVC_197_VALUES: () => CVC_197_VALUES,
|
|
164
153
|
CVC_1_LABELS: () => CVC_1_LABELS,
|
|
165
154
|
CVC_1_NAME_TYPE: () => CVC_1_NAME_TYPE,
|
|
166
155
|
CVC_1_STRUCTURED_NAME_TYPES: () => CVC_1_STRUCTURED_NAME_TYPES,
|
|
@@ -170,7 +159,6 @@ __export(src_exports, {
|
|
|
170
159
|
CVC_67_LABELS: () => CVC_67_LABELS,
|
|
171
160
|
CVC_67_MISSINGNESS_VALUES: () => CVC_67_MISSINGNESS_VALUES,
|
|
172
161
|
CVC_67_SELECTABLE_VALUES: () => CVC_67_SELECTABLE_VALUES,
|
|
173
|
-
CVC_67_VALUES: () => CVC_67_VALUES,
|
|
174
162
|
CVC_72_HT_TYPE: () => CVC_72_HT_TYPE,
|
|
175
163
|
CVC_72_LABELS: () => CVC_72_LABELS,
|
|
176
164
|
CVC_72_VALUES: () => CVC_72_VALUES,
|
|
@@ -195,6 +183,11 @@ __export(src_exports, {
|
|
|
195
183
|
CVC_99_ENGLISH_PROFICIENCY: () => CVC_99_ENGLISH_PROFICIENCY,
|
|
196
184
|
CVC_99_LABELS: () => CVC_99_LABELS,
|
|
197
185
|
CVC_99_VALUES: () => CVC_99_VALUES,
|
|
186
|
+
CvcCodeSchema: () => CvcCodeSchema,
|
|
187
|
+
CvcEntrySchema: () => CvcEntrySchema,
|
|
188
|
+
CvcEnvelopeSchema: () => CvcEnvelopeSchema,
|
|
189
|
+
CvcKeySchema: () => CvcKeySchema,
|
|
190
|
+
CvcRegistryService: () => CvcRegistryService,
|
|
198
191
|
DATA_QUALITY: () => DATA_QUALITY,
|
|
199
192
|
DATA_QUALITY_DESCRIPTIONS: () => DATA_QUALITY_DESCRIPTIONS,
|
|
200
193
|
DATA_QUALITY_LABELS: () => DATA_QUALITY_LABELS,
|
|
@@ -265,6 +258,7 @@ __export(src_exports, {
|
|
|
265
258
|
INVOLVEMENT_ROLE_TO_PERSON_TYPE: () => INVOLVEMENT_ROLE_TO_PERSON_TYPE,
|
|
266
259
|
MINOR_ADULT_STATUS: () => MINOR_ADULT_STATUS,
|
|
267
260
|
MINOR_ADULT_STATUS_LABELS: () => MINOR_ADULT_STATUS_LABELS,
|
|
261
|
+
MissingnessKeys: () => MissingnessKeys,
|
|
268
262
|
PARTICIPATION_ROLE_CATEGORIES: () => PARTICIPATION_ROLE_CATEGORIES,
|
|
269
263
|
PERMISSION_STATE: () => PERMISSION_STATE,
|
|
270
264
|
PERMISSION_STATE_DISPLAY: () => PERMISSION_STATE_DISPLAY,
|
|
@@ -301,20 +295,37 @@ __export(src_exports, {
|
|
|
301
295
|
SHARE_VIEW_VALUES: () => SHARE_VIEW_VALUES,
|
|
302
296
|
SUBMISSION_STATES: () => SUBMISSION_STATES,
|
|
303
297
|
SUBMISSION_STATE_LABELS: () => SUBMISSION_STATE_LABELS,
|
|
298
|
+
ServiceCategoryEntrySchema: () => ServiceCategoryEntrySchema,
|
|
299
|
+
ServiceCategoryKeys: () => ServiceCategoryKeys,
|
|
300
|
+
ServiceMechanismKeys: () => ServiceMechanismKeys,
|
|
301
|
+
ServiceStateKeys: () => ServiceStateKeys,
|
|
304
302
|
THREAD_INVOLVEMENT_ROLES: () => THREAD_INVOLVEMENT_ROLES,
|
|
305
303
|
USER_STATUS: () => USER_STATUS,
|
|
306
304
|
USER_STATUS_LABELS: () => USER_STATUS_LABELS,
|
|
307
305
|
VALID_INTERACTION_TYPES: () => VALID_INTERACTION_TYPES,
|
|
308
306
|
VALID_RECORD_STATES: () => VALID_RECORD_STATES,
|
|
309
307
|
addressSchema: () => addressSchema,
|
|
308
|
+
applyEntryOverrides: () => applyEntryOverrides,
|
|
309
|
+
buildCvcEntrySchema: () => buildCvcEntrySchema,
|
|
310
|
+
buildCvcRegistrySchema: () => buildCvcRegistrySchema,
|
|
310
311
|
buildFormSchema: () => buildFormSchema,
|
|
311
312
|
buildPlatformFunctionSchema: () => buildPlatformFunctionSchema,
|
|
312
313
|
buildPlatformRoleSchema: () => buildPlatformRoleSchema,
|
|
313
314
|
buildQuestionSchema: () => buildQuestionSchema,
|
|
314
315
|
buildScoringRuleSchema: () => buildScoringRuleSchema,
|
|
315
316
|
buildSectionSchema: () => buildSectionSchema,
|
|
317
|
+
cascadeExclusions: () => cascadeExclusions,
|
|
316
318
|
choiceSchema: () => choiceSchema,
|
|
319
|
+
compileCvcEntryModel: () => compileModel8,
|
|
320
|
+
compileCvcRegistryModel: () => compileModel7,
|
|
317
321
|
createPlatformModels: () => createPlatformModels,
|
|
322
|
+
cvcEntryModel: () => cvcEntryModel_exports,
|
|
323
|
+
cvcEntrySchemaDefinition: () => cvcEntrySchemaDefinition,
|
|
324
|
+
cvcEntrySchemaOptions: () => cvcEntrySchemaOptions,
|
|
325
|
+
cvcRegistryModel: () => cvcRegistryModel_exports,
|
|
326
|
+
cvcRegistrySchemaDefinition: () => cvcRegistrySchemaDefinition,
|
|
327
|
+
cvcRegistrySchemaOptions: () => cvcRegistrySchemaOptions,
|
|
328
|
+
cvcVersionsToRecord: () => cvcVersionsToRecord,
|
|
318
329
|
demographicsSchema: () => demographicsSchema,
|
|
319
330
|
deriveAgeBinFromAge: () => deriveAgeBinFromAge,
|
|
320
331
|
emailSchema: () => emailSchema,
|
|
@@ -342,6 +353,7 @@ __export(src_exports, {
|
|
|
342
353
|
isStructuredNameType: () => isStructuredNameType,
|
|
343
354
|
isTransgenderGenderIdentity: () => isTransgenderGenderIdentity,
|
|
344
355
|
layoutSchema: () => layoutSchema,
|
|
356
|
+
missingnessSot: () => missingness_v1_0_0_default,
|
|
345
357
|
personNameSchema: () => personNameSchema,
|
|
346
358
|
phoneSchema: () => phoneSchema,
|
|
347
359
|
platformFunctionModel: () => platformFunctionModel_exports,
|
|
@@ -353,6 +365,7 @@ __export(src_exports, {
|
|
|
353
365
|
questionModel: () => questionModel_exports,
|
|
354
366
|
questionSchemaDefinition: () => questionSchemaDefinition,
|
|
355
367
|
questionSchemaOptions: () => questionSchemaOptions,
|
|
368
|
+
resolveRegistryWithInheritance: () => resolveRegistryWithInheritance,
|
|
356
369
|
scoringConditionSchema: () => scoringConditionSchema,
|
|
357
370
|
scoringRecommendationSchema: () => scoringRecommendationSchema,
|
|
358
371
|
scoringRuleModel: () => scoringRuleModel_exports,
|
|
@@ -363,6 +376,9 @@ __export(src_exports, {
|
|
|
363
376
|
sectionQuestionRefSchema: () => sectionQuestionRefSchema,
|
|
364
377
|
sectionSchemaDefinition: () => sectionSchemaDefinition,
|
|
365
378
|
sectionSchemaOptions: () => sectionSchemaOptions,
|
|
379
|
+
serviceCategoriesSot: () => serviceCategories_v1_0_0_default,
|
|
380
|
+
serviceMechanismsSot: () => serviceMechanisms_v1_0_0_default,
|
|
381
|
+
serviceStatesSot: () => serviceStates_v1_0_0_default,
|
|
366
382
|
sortRelationshipsByPriority: () => sortRelationshipsByPriority,
|
|
367
383
|
visibilityRuleSchema: () => visibilityRuleSchema
|
|
368
384
|
});
|
|
@@ -1414,16 +1430,6 @@ function isTransgenderGenderIdentity(value) {
|
|
|
1414
1430
|
if (!value) return false;
|
|
1415
1431
|
return CVC_17_TRANSGENDER_VALUES.includes(value);
|
|
1416
1432
|
}
|
|
1417
|
-
var CVC_17_VALUES = [
|
|
1418
|
-
CVC_17_CORE_GENDER_IDENTITY.MALE,
|
|
1419
|
-
CVC_17_CORE_GENDER_IDENTITY.FEMALE,
|
|
1420
|
-
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
|
|
1421
|
-
CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
|
|
1422
|
-
CVC_17_CORE_GENDER_IDENTITY.OTHER,
|
|
1423
|
-
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
1424
|
-
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
1425
|
-
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
|
|
1426
|
-
];
|
|
1427
1433
|
var IC_24_RACE = {
|
|
1428
1434
|
AMERICAN_INDIAN_ALASKA_NATIVE: 1,
|
|
1429
1435
|
ASIAN: 2,
|
|
@@ -4340,112 +4346,6 @@ var CVC_67_SELECTABLE_VALUES = [
|
|
|
4340
4346
|
var CVC_67_MISSINGNESS_VALUES = [
|
|
4341
4347
|
CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
|
|
4342
4348
|
];
|
|
4343
|
-
var CVC_67_VALUES = [
|
|
4344
|
-
CVC_67_HMIS_SEX.MALE,
|
|
4345
|
-
CVC_67_HMIS_SEX.FEMALE,
|
|
4346
|
-
CVC_67_HMIS_SEX.CLIENT_PREFERS_NOT_TO_ANSWER,
|
|
4347
|
-
CVC_67_HMIS_SEX.CLIENT_DOESNT_KNOW,
|
|
4348
|
-
CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
|
|
4349
|
-
];
|
|
4350
|
-
var CVC_137_RECENCY_BAND = {
|
|
4351
|
-
// Primary recency values
|
|
4352
|
-
WITHIN_3_MONTHS: "W3M",
|
|
4353
|
-
MONTHS_3_TO_6: "M3_6",
|
|
4354
|
-
MONTHS_6_TO_12: "M6_12",
|
|
4355
|
-
ONE_YEAR_OR_MORE: "Y1P",
|
|
4356
|
-
LESS_THAN_3_YEARS: "YLT3",
|
|
4357
|
-
YEARS_3_TO_10: "Y3_10",
|
|
4358
|
-
TEN_PLUS_YEARS: "Y10P",
|
|
4359
|
-
// Missingness values
|
|
4360
|
-
UNKNOWN: "UNK",
|
|
4361
|
-
DATA_NOT_COLLECTED: "DNC",
|
|
4362
|
-
ANONYMOUS: "ANON",
|
|
4363
|
-
PREFERS_NOT_TO_ANSWER: "PNA"
|
|
4364
|
-
};
|
|
4365
|
-
var CVC_137_LABELS = {
|
|
4366
|
-
[CVC_137_RECENCY_BAND.WITHIN_3_MONTHS]: "Within past 3 months",
|
|
4367
|
-
[CVC_137_RECENCY_BAND.MONTHS_3_TO_6]: "3-6 months ago",
|
|
4368
|
-
[CVC_137_RECENCY_BAND.MONTHS_6_TO_12]: "6-12 months ago",
|
|
4369
|
-
[CVC_137_RECENCY_BAND.ONE_YEAR_OR_MORE]: "One year or more",
|
|
4370
|
-
[CVC_137_RECENCY_BAND.LESS_THAN_3_YEARS]: "Less than 3 years ago",
|
|
4371
|
-
[CVC_137_RECENCY_BAND.YEARS_3_TO_10]: "3-10 years ago",
|
|
4372
|
-
[CVC_137_RECENCY_BAND.TEN_PLUS_YEARS]: "10+ years ago",
|
|
4373
|
-
[CVC_137_RECENCY_BAND.UNKNOWN]: "Unknown",
|
|
4374
|
-
[CVC_137_RECENCY_BAND.DATA_NOT_COLLECTED]: "Data not collected",
|
|
4375
|
-
[CVC_137_RECENCY_BAND.ANONYMOUS]: "Anonymous",
|
|
4376
|
-
[CVC_137_RECENCY_BAND.PREFERS_NOT_TO_ANSWER]: "Client prefers not to answer"
|
|
4377
|
-
};
|
|
4378
|
-
var CVC_137_VALUES = [
|
|
4379
|
-
CVC_137_RECENCY_BAND.WITHIN_3_MONTHS,
|
|
4380
|
-
CVC_137_RECENCY_BAND.MONTHS_3_TO_6,
|
|
4381
|
-
CVC_137_RECENCY_BAND.MONTHS_6_TO_12,
|
|
4382
|
-
CVC_137_RECENCY_BAND.ONE_YEAR_OR_MORE,
|
|
4383
|
-
CVC_137_RECENCY_BAND.LESS_THAN_3_YEARS,
|
|
4384
|
-
CVC_137_RECENCY_BAND.YEARS_3_TO_10,
|
|
4385
|
-
CVC_137_RECENCY_BAND.TEN_PLUS_YEARS,
|
|
4386
|
-
CVC_137_RECENCY_BAND.UNKNOWN,
|
|
4387
|
-
CVC_137_RECENCY_BAND.DATA_NOT_COLLECTED,
|
|
4388
|
-
CVC_137_RECENCY_BAND.ANONYMOUS,
|
|
4389
|
-
CVC_137_RECENCY_BAND.PREFERS_NOT_TO_ANSWER
|
|
4390
|
-
];
|
|
4391
|
-
var CVC_137_SELECTABLE_VALUES = [
|
|
4392
|
-
CVC_137_RECENCY_BAND.WITHIN_3_MONTHS,
|
|
4393
|
-
CVC_137_RECENCY_BAND.MONTHS_3_TO_6,
|
|
4394
|
-
CVC_137_RECENCY_BAND.MONTHS_6_TO_12,
|
|
4395
|
-
CVC_137_RECENCY_BAND.ONE_YEAR_OR_MORE,
|
|
4396
|
-
CVC_137_RECENCY_BAND.LESS_THAN_3_YEARS,
|
|
4397
|
-
CVC_137_RECENCY_BAND.YEARS_3_TO_10,
|
|
4398
|
-
CVC_137_RECENCY_BAND.TEN_PLUS_YEARS
|
|
4399
|
-
];
|
|
4400
|
-
var CVC_137_MISSINGNESS_VALUES = [
|
|
4401
|
-
CVC_137_RECENCY_BAND.UNKNOWN,
|
|
4402
|
-
CVC_137_RECENCY_BAND.DATA_NOT_COLLECTED,
|
|
4403
|
-
CVC_137_RECENCY_BAND.ANONYMOUS,
|
|
4404
|
-
CVC_137_RECENCY_BAND.PREFERS_NOT_TO_ANSWER
|
|
4405
|
-
];
|
|
4406
|
-
var CVC_197_JUVENILE_JUSTICE_EPISODE = {
|
|
4407
|
-
DIVERSION_PROGRAM: "diversion_program",
|
|
4408
|
-
PROBATION_SUPERVISION: "probation_supervision",
|
|
4409
|
-
PENDING_ADJUDICATION: "pending_adjudication",
|
|
4410
|
-
DETENTION_STAY: "detention_stay",
|
|
4411
|
-
RESIDENTIAL_JJ_PLACEMENT: "residential_jj_placement",
|
|
4412
|
-
// Missingness values
|
|
4413
|
-
DATA_NOT_COLLECTED: "DNC",
|
|
4414
|
-
UNKNOWN: "UNK",
|
|
4415
|
-
ANONYMOUS: "ANON"
|
|
4416
|
-
};
|
|
4417
|
-
var CVC_197_LABELS = {
|
|
4418
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.DIVERSION_PROGRAM]: "Diversion program",
|
|
4419
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.PROBATION_SUPERVISION]: "Probation supervision",
|
|
4420
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.PENDING_ADJUDICATION]: "Pending adjudication",
|
|
4421
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.DETENTION_STAY]: "Detention stay",
|
|
4422
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.RESIDENTIAL_JJ_PLACEMENT]: "Residential JJ placement",
|
|
4423
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.DATA_NOT_COLLECTED]: "Data not collected",
|
|
4424
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.UNKNOWN]: "Unknown",
|
|
4425
|
-
[CVC_197_JUVENILE_JUSTICE_EPISODE.ANONYMOUS]: "Anonymous"
|
|
4426
|
-
};
|
|
4427
|
-
var CVC_197_VALUES = [
|
|
4428
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DIVERSION_PROGRAM,
|
|
4429
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.PROBATION_SUPERVISION,
|
|
4430
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.PENDING_ADJUDICATION,
|
|
4431
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DETENTION_STAY,
|
|
4432
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.RESIDENTIAL_JJ_PLACEMENT,
|
|
4433
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DATA_NOT_COLLECTED,
|
|
4434
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.UNKNOWN,
|
|
4435
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.ANONYMOUS
|
|
4436
|
-
];
|
|
4437
|
-
var CVC_197_SELECTABLE_VALUES = [
|
|
4438
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DIVERSION_PROGRAM,
|
|
4439
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.PROBATION_SUPERVISION,
|
|
4440
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.PENDING_ADJUDICATION,
|
|
4441
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DETENTION_STAY,
|
|
4442
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.RESIDENTIAL_JJ_PLACEMENT
|
|
4443
|
-
];
|
|
4444
|
-
var CVC_197_MISSINGNESS_VALUES = [
|
|
4445
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.DATA_NOT_COLLECTED,
|
|
4446
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.UNKNOWN,
|
|
4447
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE.ANONYMOUS
|
|
4448
|
-
];
|
|
4449
4349
|
|
|
4450
4350
|
// src/constants/service-catalog.json
|
|
4451
4351
|
var service_catalog_default = {
|
|
@@ -6810,6 +6710,189 @@ function buildPlatformRoleSchema() {
|
|
|
6810
6710
|
}
|
|
6811
6711
|
var _platformRoleSchema = buildPlatformRoleSchema();
|
|
6812
6712
|
|
|
6713
|
+
// src/schemas/cvcRegistry.ts
|
|
6714
|
+
var import_mongoose8 = require("mongoose");
|
|
6715
|
+
var cvcRegistrySchemaDefinition = {
|
|
6716
|
+
// Versioning — semantic version of this registry bundle
|
|
6717
|
+
version: {
|
|
6718
|
+
type: String,
|
|
6719
|
+
required: true,
|
|
6720
|
+
match: /^\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?$/
|
|
6721
|
+
},
|
|
6722
|
+
// Human-readable name (e.g. "PAVE production registry")
|
|
6723
|
+
name: {
|
|
6724
|
+
type: String,
|
|
6725
|
+
required: true
|
|
6726
|
+
},
|
|
6727
|
+
// Scope keys. `null` widens scope: a null `application` means platform-wide;
|
|
6728
|
+
// a null `agencyId` means all agencies within `application`.
|
|
6729
|
+
application: {
|
|
6730
|
+
type: String,
|
|
6731
|
+
default: null
|
|
6732
|
+
},
|
|
6733
|
+
agencyId: {
|
|
6734
|
+
type: import_mongoose8.Schema.Types.ObjectId,
|
|
6735
|
+
default: null
|
|
6736
|
+
},
|
|
6737
|
+
// Lifecycle
|
|
6738
|
+
status: {
|
|
6739
|
+
type: String,
|
|
6740
|
+
required: true,
|
|
6741
|
+
enum: ["draft", "active", "deprecated"],
|
|
6742
|
+
default: "draft",
|
|
6743
|
+
index: true
|
|
6744
|
+
},
|
|
6745
|
+
dateActivated: {
|
|
6746
|
+
type: Date
|
|
6747
|
+
},
|
|
6748
|
+
dateDeactivated: {
|
|
6749
|
+
type: Date
|
|
6750
|
+
},
|
|
6751
|
+
// Pinned domain versions: { service_categories: "1.0.0", ... }
|
|
6752
|
+
// Stored as a Map<string, string> so individual domains can be added or
|
|
6753
|
+
// bumped without re-validating the whole document shape.
|
|
6754
|
+
cvcVersions: {
|
|
6755
|
+
type: Map,
|
|
6756
|
+
of: String,
|
|
6757
|
+
required: true,
|
|
6758
|
+
default: () => /* @__PURE__ */ new Map()
|
|
6759
|
+
},
|
|
6760
|
+
// Selective inclusion/exclusion lists. Both contain CVC entry codes
|
|
6761
|
+
// (positional 7-segment, e.g. "01-02-00-00-00-00-00"). The runtime
|
|
6762
|
+
// applies excludes after includes when resolving the effective set.
|
|
6763
|
+
excludedEntries: {
|
|
6764
|
+
type: [String],
|
|
6765
|
+
default: []
|
|
6766
|
+
},
|
|
6767
|
+
includedEntries: {
|
|
6768
|
+
type: [String],
|
|
6769
|
+
default: []
|
|
6770
|
+
},
|
|
6771
|
+
// Inheritance pointer — when set, this registry inherits cvcVersions /
|
|
6772
|
+
// include / exclude lists from its base before applying its own overrides.
|
|
6773
|
+
// Indexed below so a base-version bump can find every dependent registry.
|
|
6774
|
+
basedOn: {
|
|
6775
|
+
type: import_mongoose8.Schema.Types.ObjectId,
|
|
6776
|
+
default: null
|
|
6777
|
+
}
|
|
6778
|
+
};
|
|
6779
|
+
var cvcRegistrySchemaOptions = {
|
|
6780
|
+
timestamps: true,
|
|
6781
|
+
collection: "cvc_registries"
|
|
6782
|
+
};
|
|
6783
|
+
function buildCvcRegistrySchema() {
|
|
6784
|
+
const schema = new import_mongoose8.Schema(
|
|
6785
|
+
cvcRegistrySchemaDefinition,
|
|
6786
|
+
cvcRegistrySchemaOptions
|
|
6787
|
+
);
|
|
6788
|
+
schema.index(
|
|
6789
|
+
{ application: 1, agencyId: 1, version: 1 },
|
|
6790
|
+
{ unique: true }
|
|
6791
|
+
);
|
|
6792
|
+
schema.index(
|
|
6793
|
+
{ application: 1, agencyId: 1, status: 1 },
|
|
6794
|
+
{
|
|
6795
|
+
unique: true,
|
|
6796
|
+
partialFilterExpression: { status: "active" }
|
|
6797
|
+
}
|
|
6798
|
+
);
|
|
6799
|
+
schema.index({ basedOn: 1 });
|
|
6800
|
+
return schema;
|
|
6801
|
+
}
|
|
6802
|
+
var _cvcRegistrySchema = buildCvcRegistrySchema();
|
|
6803
|
+
|
|
6804
|
+
// src/schemas/cvcEntry.ts
|
|
6805
|
+
var import_mongoose9 = require("mongoose");
|
|
6806
|
+
var CVC_CODE_PATTERN = /^\d{2}(-\d{2}){6}$/;
|
|
6807
|
+
var CVC_KEY_PATTERN = /^[a-z][a-z0-9_]*$/;
|
|
6808
|
+
var cvcEntrySchemaDefinition = {
|
|
6809
|
+
// Compound identity: (domain, version, code) uniquely identifies an entry.
|
|
6810
|
+
// `domain` is the SOT family (e.g. "service_categories"); `version` is the
|
|
6811
|
+
// semantic version of the SOT JSON file the entry was loaded from.
|
|
6812
|
+
domain: {
|
|
6813
|
+
type: String,
|
|
6814
|
+
required: true
|
|
6815
|
+
},
|
|
6816
|
+
version: {
|
|
6817
|
+
type: String,
|
|
6818
|
+
required: true
|
|
6819
|
+
},
|
|
6820
|
+
code: {
|
|
6821
|
+
type: String,
|
|
6822
|
+
required: true,
|
|
6823
|
+
match: CVC_CODE_PATTERN
|
|
6824
|
+
},
|
|
6825
|
+
// Stable machine key for cross-CVC references (e.g. `relevantMechanisms`
|
|
6826
|
+
// in service_categories points at service_mechanisms entries by `key`).
|
|
6827
|
+
key: {
|
|
6828
|
+
type: String,
|
|
6829
|
+
required: true,
|
|
6830
|
+
match: CVC_KEY_PATTERN
|
|
6831
|
+
},
|
|
6832
|
+
// Display fields
|
|
6833
|
+
title: {
|
|
6834
|
+
type: String,
|
|
6835
|
+
required: true
|
|
6836
|
+
},
|
|
6837
|
+
// `selectable` distinguishes leaf entries (selectable) from structural
|
|
6838
|
+
// grouping rows (not selectable). Required because the seed CLI must
|
|
6839
|
+
// populate it explicitly — there is no sane default.
|
|
6840
|
+
selectable: {
|
|
6841
|
+
type: Boolean,
|
|
6842
|
+
required: true
|
|
6843
|
+
},
|
|
6844
|
+
// Tree structure. `parentCode` is `null` for root rows; `childCodes` is
|
|
6845
|
+
// empty for leaves. We give `parentCode` a `default: null` (rather than
|
|
6846
|
+
// marking it required) because Mongoose's `required` validator rejects
|
|
6847
|
+
// `null` outright — the default ensures the field is always present on
|
|
6848
|
+
// disk while still allowing the documented `string | null` shape. The
|
|
6849
|
+
// `match` validator is skipped by Mongoose when the value is null.
|
|
6850
|
+
parentCode: {
|
|
6851
|
+
type: String,
|
|
6852
|
+
default: null,
|
|
6853
|
+
match: CVC_CODE_PATTERN
|
|
6854
|
+
},
|
|
6855
|
+
childCodes: {
|
|
6856
|
+
type: [String],
|
|
6857
|
+
required: true,
|
|
6858
|
+
default: []
|
|
6859
|
+
},
|
|
6860
|
+
// Long-form definition. Same `default: null` treatment as `parentCode`
|
|
6861
|
+
// above — every row reaches disk with `definition` set to either a
|
|
6862
|
+
// string or an explicit null.
|
|
6863
|
+
definition: {
|
|
6864
|
+
type: String,
|
|
6865
|
+
default: null
|
|
6866
|
+
},
|
|
6867
|
+
// Domain-specific extension bag. Used for fields that only apply to a
|
|
6868
|
+
// particular CVC family — e.g. `relevantMechanisms` on service_categories
|
|
6869
|
+
// entries (a cross-CVC reference into service_mechanisms by key).
|
|
6870
|
+
meta: {
|
|
6871
|
+
type: import_mongoose9.Schema.Types.Mixed
|
|
6872
|
+
}
|
|
6873
|
+
};
|
|
6874
|
+
var cvcEntrySchemaOptions = {
|
|
6875
|
+
timestamps: true,
|
|
6876
|
+
collection: "cvc_entities",
|
|
6877
|
+
// `parentCode` defaults to null but Mongoose strips required-with-default
|
|
6878
|
+
// null assignments unless we keep minimize off.
|
|
6879
|
+
minimize: false
|
|
6880
|
+
};
|
|
6881
|
+
function buildCvcEntrySchema() {
|
|
6882
|
+
const schema = new import_mongoose9.Schema(cvcEntrySchemaDefinition, cvcEntrySchemaOptions);
|
|
6883
|
+
schema.index(
|
|
6884
|
+
{ domain: 1, version: 1, code: 1 },
|
|
6885
|
+
{ unique: true }
|
|
6886
|
+
);
|
|
6887
|
+
schema.index(
|
|
6888
|
+
{ domain: 1, version: 1, key: 1 },
|
|
6889
|
+
{ unique: true }
|
|
6890
|
+
);
|
|
6891
|
+
schema.index({ domain: 1, version: 1, parentCode: 1 });
|
|
6892
|
+
return schema;
|
|
6893
|
+
}
|
|
6894
|
+
var _cvcEntrySchema = buildCvcEntrySchema();
|
|
6895
|
+
|
|
6813
6896
|
// src/models/formModel.ts
|
|
6814
6897
|
var formModel_exports = {};
|
|
6815
6898
|
__export(formModel_exports, {
|
|
@@ -6870,6 +6953,26 @@ function compileModel6(connection, schema = buildPlatformRoleSchema()) {
|
|
|
6870
6953
|
return connection.model("PlatformRole", schema);
|
|
6871
6954
|
}
|
|
6872
6955
|
|
|
6956
|
+
// src/models/cvcRegistryModel.ts
|
|
6957
|
+
var cvcRegistryModel_exports = {};
|
|
6958
|
+
__export(cvcRegistryModel_exports, {
|
|
6959
|
+
buildSchema: () => buildCvcRegistrySchema,
|
|
6960
|
+
compileModel: () => compileModel7
|
|
6961
|
+
});
|
|
6962
|
+
function compileModel7(connection, schema = buildCvcRegistrySchema()) {
|
|
6963
|
+
return connection.models?.CvcRegistry ?? connection.model("CvcRegistry", schema);
|
|
6964
|
+
}
|
|
6965
|
+
|
|
6966
|
+
// src/models/cvcEntryModel.ts
|
|
6967
|
+
var cvcEntryModel_exports = {};
|
|
6968
|
+
__export(cvcEntryModel_exports, {
|
|
6969
|
+
buildSchema: () => buildCvcEntrySchema,
|
|
6970
|
+
compileModel: () => compileModel8
|
|
6971
|
+
});
|
|
6972
|
+
function compileModel8(connection, schema = buildCvcEntrySchema()) {
|
|
6973
|
+
return connection.models?.CvcEntry ?? connection.model("CvcEntry", schema);
|
|
6974
|
+
}
|
|
6975
|
+
|
|
6873
6976
|
// src/models/index.ts
|
|
6874
6977
|
function createPlatformModels(connection) {
|
|
6875
6978
|
return {
|
|
@@ -6881,6 +6984,2709 @@ function createPlatformModels(connection) {
|
|
|
6881
6984
|
PlatformRoleModel: compileModel6(connection)
|
|
6882
6985
|
};
|
|
6883
6986
|
}
|
|
6987
|
+
|
|
6988
|
+
// src/generated/cvc-enums.ts
|
|
6989
|
+
var ServiceCategoryKeys = {
|
|
6990
|
+
social_support_community_engagement: "01-02-00-00-00-00-00",
|
|
6991
|
+
cultural_needs_support: "01-02-01-00-00-00-00",
|
|
6992
|
+
gift_holiday_resources: "01-02-02-00-00-00-00",
|
|
6993
|
+
peer_facilitated_supportive_group: "01-02-03-00-00-00-00",
|
|
6994
|
+
community_service_learning: "01-02-04-00-00-00-00",
|
|
6995
|
+
survivor_support_psychoeducation: "01-02-05-00-00-00-00",
|
|
6996
|
+
financial_and_employment: "01-03-00-00-00-00-00",
|
|
6997
|
+
financial_support: "01-03-01-00-00-00-00",
|
|
6998
|
+
emergency_financial_assistance: "01-03-01-01-00-00-00",
|
|
6999
|
+
employment_support: "01-03-02-00-00-00-00",
|
|
7000
|
+
supported_employment: "01-03-02-01-00-00-00",
|
|
7001
|
+
employment_assistance_job_search: "01-03-02-02-00-00-00",
|
|
7002
|
+
job_vocation_training: "01-03-02-03-00-00-00",
|
|
7003
|
+
healthcare: "01-04-00-00-00-00-00",
|
|
7004
|
+
medical: "01-04-01-00-00-00-00",
|
|
7005
|
+
emergency_medical_care: "01-04-01-01-00-00-00",
|
|
7006
|
+
forensic_exam_interview: "01-04-01-02-00-00-00",
|
|
7007
|
+
dv_exam: "01-04-01-02-01-00-00",
|
|
7008
|
+
sane_exam: "01-04-01-02-02-00-00",
|
|
7009
|
+
std_testing: "01-04-01-02-03-00-00",
|
|
7010
|
+
specialized_assessments: "01-04-01-02-04-00-00",
|
|
7011
|
+
counseling_evaluation_assessment: "01-04-01-02-04-01-00",
|
|
7012
|
+
stalking_assessment: "01-04-01-02-04-02-00",
|
|
7013
|
+
danger_assessment: "01-04-01-02-04-03-00",
|
|
7014
|
+
indepth_assessment: "01-04-01-02-04-04-00",
|
|
7015
|
+
outpatient_medical: "01-04-01-03-00-00-00",
|
|
7016
|
+
dental: "01-04-01-03-01-00-00",
|
|
7017
|
+
vision: "01-04-01-03-02-00-00",
|
|
7018
|
+
tattoo_removal: "01-04-01-03-03-00-00",
|
|
7019
|
+
pet_medical: "01-04-01-03-04-00-00",
|
|
7020
|
+
pregnancy_care: "01-04-01-04-00-00-00",
|
|
7021
|
+
prenatal_care: "01-04-01-04-01-00-00",
|
|
7022
|
+
postnatal_care_client: "01-04-01-04-02-00-00",
|
|
7023
|
+
postnatal_care_newborn: "01-04-01-04-03-00-00",
|
|
7024
|
+
emotional_support_mental_health: "01-04-02-00-00-00-00",
|
|
7025
|
+
individual_counseling: "01-04-02-01-00-00-00",
|
|
7026
|
+
group_counseling: "01-04-02-02-00-00-00",
|
|
7027
|
+
family_counseling: "01-04-02-03-00-00-00",
|
|
7028
|
+
counseling_treatment_planning: "01-04-02-04-00-00-00",
|
|
7029
|
+
counseling_treatment_plan_review: "01-04-02-05-00-00-00",
|
|
7030
|
+
behavioral_occupational_support: "01-04-02-06-00-00-00",
|
|
7031
|
+
substance_abuse_treatment: "01-04-02-06-01-00-00",
|
|
7032
|
+
coping_strategy_support: "01-04-02-06-02-00-00",
|
|
7033
|
+
other_therapy: "01-04-02-07-00-00-00",
|
|
7034
|
+
housing_services: "01-05-00-00-00-00-00",
|
|
7035
|
+
emergency_shelter: "01-05-01-00-00-00-00",
|
|
7036
|
+
day_shelter_dropin: "01-05-01-01-00-00-00",
|
|
7037
|
+
host_homes_safe_homes: "01-05-01-02-00-00-00",
|
|
7038
|
+
congregate_shelter_bednight: "01-05-01-03-00-00-00",
|
|
7039
|
+
emergency_hotel_motel: "01-05-01-04-00-00-00",
|
|
7040
|
+
night_by_night_shelter: "01-05-01-05-00-00-00",
|
|
7041
|
+
transitional_housing: "01-05-02-00-00-00-00",
|
|
7042
|
+
housing_renovation_modification: "01-05-03-00-00-00-00",
|
|
7043
|
+
household_setup_goods: "01-05-03-01-00-00-00",
|
|
7044
|
+
housing_navigation_placement: "01-05-04-00-00-00-00",
|
|
7045
|
+
housing_financial_assistance: "01-05-04-01-00-00-00",
|
|
7046
|
+
rental_payment_assistance: "01-05-04-01-01-00-00",
|
|
7047
|
+
security_deposit_allowance: "01-05-04-01-01-01-00",
|
|
7048
|
+
utility_assistance: "01-05-04-01-01-02-00",
|
|
7049
|
+
relocation_moving_assistance: "01-05-04-02-00-00-00",
|
|
7050
|
+
housing_stabilization_eviction_prevention: "01-05-05-00-00-00-00",
|
|
7051
|
+
tenant_based_scattered_site: "01-05-06-00-00-00-00",
|
|
7052
|
+
legal_services: "01-06-00-00-00-00-00",
|
|
7053
|
+
immigration_relief: "01-06-01-00-00-00-00",
|
|
7054
|
+
repatriation: "01-06-01-01-00-00-00",
|
|
7055
|
+
family_law: "01-06-02-00-00-00-00",
|
|
7056
|
+
criminal_support: "01-06-03-00-00-00-00",
|
|
7057
|
+
victim_impact_statement: "01-06-03-01-00-00-00",
|
|
7058
|
+
perpetrator_accountability: "01-06-03-02-00-00-00",
|
|
7059
|
+
victim_compensation: "01-06-03-03-00-00-00",
|
|
7060
|
+
victims_rights_representation: "01-06-03-04-00-00-00",
|
|
7061
|
+
criminal_record_relief: "01-06-03-05-00-00-00",
|
|
7062
|
+
civil_support: "01-06-04-00-00-00-00",
|
|
7063
|
+
protection_restraining_orders: "01-06-04-01-00-00-00",
|
|
7064
|
+
public_benefits_law: "01-06-04-02-00-00-00",
|
|
7065
|
+
emergency_safety_assistance: "01-06-05-00-00-00-00",
|
|
7066
|
+
basic_needs: "01-07-00-00-00-00-00",
|
|
7067
|
+
clothing_shoes_accessories: "01-07-01-00-00-00-00",
|
|
7068
|
+
elder_assistance: "01-07-01-01-00-00-00",
|
|
7069
|
+
food: "01-07-02-00-00-00-00",
|
|
7070
|
+
over_the_counter_medications: "01-07-03-00-00-00-00",
|
|
7071
|
+
immediate_safety_planning: "01-07-04-00-00-00-00",
|
|
7072
|
+
emergency_crisis_safety_support: "01-07-04-01-00-00-00",
|
|
7073
|
+
hygiene_items_personal_care: "01-07-05-00-00-00-00",
|
|
7074
|
+
communications_connectivity: "01-07-06-00-00-00-00",
|
|
7075
|
+
interpreter_services: "01-07-07-00-00-00-00",
|
|
7076
|
+
informal_education_life_skills: "01-08-00-00-00-00-00",
|
|
7077
|
+
basic_life_skills_self_care: "01-08-01-00-00-00-00",
|
|
7078
|
+
accessibility_disability_support: "01-08-02-00-00-00-00",
|
|
7079
|
+
parenting_education: "01-08-03-00-00-00-00",
|
|
7080
|
+
learning_language_classes: "01-08-04-00-00-00-00",
|
|
7081
|
+
transportation: "01-09-00-00-00-00-00",
|
|
7082
|
+
transportation_assistance_direct: "01-09-01-00-00-00-00",
|
|
7083
|
+
transportation_direct_emergency: "01-09-01-01-00-00-00",
|
|
7084
|
+
taxi_rideshare_voucher: "01-09-02-00-00-00-00",
|
|
7085
|
+
taxi_rideshare_emergency: "01-09-02-01-00-00-00",
|
|
7086
|
+
bus_fare_pass: "01-09-03-00-00-00-00",
|
|
7087
|
+
bus_fare_pass_emergency: "01-09-03-01-00-00-00",
|
|
7088
|
+
gift_card_gas_card: "01-09-04-00-00-00-00",
|
|
7089
|
+
gift_card_gas_card_emergency: "01-09-04-01-00-00-00",
|
|
7090
|
+
airline_tickets: "01-09-05-00-00-00-00",
|
|
7091
|
+
airline_tickets_emergency: "01-09-05-01-00-00-00",
|
|
7092
|
+
dependents: "01-10-00-00-00-00-00",
|
|
7093
|
+
pet_care: "01-10-01-00-00-00-00",
|
|
7094
|
+
child_care: "01-10-02-00-00-00-00",
|
|
7095
|
+
childrens_activities: "01-10-02-01-00-00-00",
|
|
7096
|
+
children_youth_baby_supplies: "01-10-02-01-01-00-00",
|
|
7097
|
+
case_coordination: "01-11-00-00-00-00-00",
|
|
7098
|
+
advocacy: "01-11-01-00-00-00-00",
|
|
7099
|
+
medical_advocacy: "01-11-01-01-00-00-00",
|
|
7100
|
+
advocacy_emergency_medical: "01-11-01-01-01-00-00",
|
|
7101
|
+
advocacy_forensic_exam: "01-11-01-01-02-00-00",
|
|
7102
|
+
court_advocacy: "01-11-01-02-00-00-00",
|
|
7103
|
+
crime_scene_clean_up: "01-11-01-02-01-00-00",
|
|
7104
|
+
family_reunification: "01-11-01-02-02-00-00",
|
|
7105
|
+
law_enforcement_interview_support: "01-11-01-02-03-00-00",
|
|
7106
|
+
prosecution_interview_advocacy: "01-11-01-02-04-00-00",
|
|
7107
|
+
immigration_advocacy_support: "01-11-01-02-05-00-00",
|
|
7108
|
+
documentation_records_retrieval: "01-11-01-03-00-00-00",
|
|
7109
|
+
obtaining_insurance: "01-11-01-03-01-00-00",
|
|
7110
|
+
drivers_car_insurance: "01-11-01-03-01-01-00",
|
|
7111
|
+
medical_insurance: "01-11-01-03-01-02-00",
|
|
7112
|
+
obtaining_drivers_license: "01-11-01-03-02-00-00",
|
|
7113
|
+
faith_resource: "01-11-01-04-00-00-00",
|
|
7114
|
+
banking_notary: "01-11-01-05-00-00-00",
|
|
7115
|
+
income_benefits_navigation: "01-11-01-06-00-00-00",
|
|
7116
|
+
government_services_special_programs: "01-11-01-06-01-00-00",
|
|
7117
|
+
intervention_employer_creditor_academic: "01-11-01-07-00-00-00",
|
|
7118
|
+
formal_education_academic_support: "01-11-01-07-01-00-00",
|
|
7119
|
+
adult_school_ged: "01-11-01-07-01-01-00",
|
|
7120
|
+
child_school_enrollment: "01-11-01-07-01-02-00",
|
|
7121
|
+
intake: "01-11-02-00-00-00-00",
|
|
7122
|
+
screening: "01-11-02-01-00-00-00",
|
|
7123
|
+
housing_eligibility_determination: "01-11-02-01-01-00-00",
|
|
7124
|
+
coordinated_entry: "01-11-02-01-01-01-00",
|
|
7125
|
+
behavioral_issues_screen: "01-11-02-01-02-00-00",
|
|
7126
|
+
initial_screen: "01-11-02-01-03-00-00",
|
|
7127
|
+
needs_assessment: "01-11-02-01-04-00-00",
|
|
7128
|
+
tvap: "01-11-02-01-05-00-00",
|
|
7129
|
+
case_management_supportive_services: "01-11-03-00-00-00-00",
|
|
7130
|
+
intra_agency_provider_coordination: "01-11-03-01-00-00-00",
|
|
7131
|
+
inter_agency_consultation: "01-11-03-02-00-00-00",
|
|
7132
|
+
service_plan: "01-11-03-03-00-00-00",
|
|
7133
|
+
hope_scale_and_plan: "01-11-03-03-01-00-00",
|
|
7134
|
+
post_exit_plan: "01-11-03-04-00-00-00",
|
|
7135
|
+
advanced_directives: "01-11-03-05-00-00-00",
|
|
7136
|
+
other_services: "01-12-00-00-00-00-00"
|
|
7137
|
+
};
|
|
7138
|
+
var ServiceStateKeys = {
|
|
7139
|
+
need_identified: "02-01-00-00-00-00-00",
|
|
7140
|
+
offered: "02-02-00-00-00-00-00",
|
|
7141
|
+
scheduled_in_progress: "02-03-00-00-00-00-00",
|
|
7142
|
+
delivered: "02-04-00-00-00-00-00",
|
|
7143
|
+
completed: "02-05-00-00-00-00-00",
|
|
7144
|
+
declined_by_client: "02-06-00-00-00-00-00",
|
|
7145
|
+
unable_to_provide: "02-07-00-00-00-00-00",
|
|
7146
|
+
unable_to_provide_eligibility: "02-07-01-00-00-00-00",
|
|
7147
|
+
unable_to_provide_capacity: "02-07-02-00-00-00-00",
|
|
7148
|
+
unable_to_provide_resources: "02-07-03-00-00-00-00"
|
|
7149
|
+
};
|
|
7150
|
+
var ServiceMechanismKeys = {
|
|
7151
|
+
support_via_referral: "03-01-00-00-00-00-00",
|
|
7152
|
+
informational_support: "03-02-00-00-00-00-00",
|
|
7153
|
+
direct_staff_contractor: "03-03-00-00-00-00-00",
|
|
7154
|
+
financial_material_assistance: "03-04-00-00-00-00-00"
|
|
7155
|
+
};
|
|
7156
|
+
var MissingnessKeys = {
|
|
7157
|
+
missingness_root: "00-00-00-00-00-00-00",
|
|
7158
|
+
unknown: "00-00-00-00-00-00-01",
|
|
7159
|
+
anonymous: "00-00-00-00-00-00-02",
|
|
7160
|
+
data_not_collected: "00-00-00-00-00-00-03"
|
|
7161
|
+
};
|
|
7162
|
+
|
|
7163
|
+
// src/services/cvcRegistryService.ts
|
|
7164
|
+
var import_mongoose10 = require("mongoose");
|
|
7165
|
+
function cvcVersionsToRecord(versions) {
|
|
7166
|
+
if (!versions) return {};
|
|
7167
|
+
if (versions instanceof Map) {
|
|
7168
|
+
return Object.fromEntries(versions.entries());
|
|
7169
|
+
}
|
|
7170
|
+
return { ...versions };
|
|
7171
|
+
}
|
|
7172
|
+
function cascadeExclusions(excludedCodes, entries) {
|
|
7173
|
+
const result = new Set(excludedCodes);
|
|
7174
|
+
const childMap = /* @__PURE__ */ new Map();
|
|
7175
|
+
for (const entry of entries) {
|
|
7176
|
+
if (entry.parentCode) {
|
|
7177
|
+
const siblings = childMap.get(entry.parentCode);
|
|
7178
|
+
if (siblings) {
|
|
7179
|
+
siblings.push(entry.code);
|
|
7180
|
+
} else {
|
|
7181
|
+
childMap.set(entry.parentCode, [entry.code]);
|
|
7182
|
+
}
|
|
7183
|
+
}
|
|
7184
|
+
}
|
|
7185
|
+
const queue = [...excludedCodes];
|
|
7186
|
+
while (queue.length > 0) {
|
|
7187
|
+
const code = queue.shift();
|
|
7188
|
+
const children = childMap.get(code);
|
|
7189
|
+
if (!children) continue;
|
|
7190
|
+
for (const childCode of children) {
|
|
7191
|
+
if (!result.has(childCode)) {
|
|
7192
|
+
result.add(childCode);
|
|
7193
|
+
queue.push(childCode);
|
|
7194
|
+
}
|
|
7195
|
+
}
|
|
7196
|
+
}
|
|
7197
|
+
return result;
|
|
7198
|
+
}
|
|
7199
|
+
function applyEntryOverrides(excludedEntries, includedEntries, entries) {
|
|
7200
|
+
const excluded = new Set(excludedEntries ?? []);
|
|
7201
|
+
const included = new Set(includedEntries ?? []);
|
|
7202
|
+
const hasExclusions = excluded.size > 0;
|
|
7203
|
+
const hasInclusions = included.size > 0;
|
|
7204
|
+
if (!hasExclusions && !hasInclusions) {
|
|
7205
|
+
return [...entries];
|
|
7206
|
+
}
|
|
7207
|
+
if (!hasExclusions && hasInclusions) {
|
|
7208
|
+
return entries.filter((entry) => included.has(entry.code));
|
|
7209
|
+
}
|
|
7210
|
+
const cascadedExclusions = cascadeExclusions(excluded, entries);
|
|
7211
|
+
return entries.filter((entry) => {
|
|
7212
|
+
if (included.has(entry.code)) return true;
|
|
7213
|
+
if (cascadedExclusions.has(entry.code)) return false;
|
|
7214
|
+
return true;
|
|
7215
|
+
});
|
|
7216
|
+
}
|
|
7217
|
+
async function resolveRegistryWithInheritance(registry, loadRegistry, loadEntries) {
|
|
7218
|
+
const childVersions = cvcVersionsToRecord(registry.cvcVersions);
|
|
7219
|
+
let mergedVersions = { ...childVersions };
|
|
7220
|
+
if (registry.basedOn) {
|
|
7221
|
+
const base = await loadRegistry(registry.basedOn);
|
|
7222
|
+
if (!base) {
|
|
7223
|
+
throw new Error(
|
|
7224
|
+
`CvcRegistryService: basedOn registry not found: ${registry.basedOn.toString()}`
|
|
7225
|
+
);
|
|
7226
|
+
}
|
|
7227
|
+
mergedVersions = {
|
|
7228
|
+
...cvcVersionsToRecord(base.cvcVersions),
|
|
7229
|
+
...childVersions
|
|
7230
|
+
};
|
|
7231
|
+
}
|
|
7232
|
+
const pool = [];
|
|
7233
|
+
for (const [domain, version] of Object.entries(mergedVersions)) {
|
|
7234
|
+
const domainEntries = await loadEntries(domain, version);
|
|
7235
|
+
pool.push(...domainEntries);
|
|
7236
|
+
}
|
|
7237
|
+
const entries = applyEntryOverrides(
|
|
7238
|
+
registry.excludedEntries,
|
|
7239
|
+
registry.includedEntries,
|
|
7240
|
+
pool
|
|
7241
|
+
);
|
|
7242
|
+
return { mergedVersions, entries };
|
|
7243
|
+
}
|
|
7244
|
+
function scopeFilter(scope) {
|
|
7245
|
+
return {
|
|
7246
|
+
application: scope.application ?? null,
|
|
7247
|
+
agencyId: scope.agencyId ?? null
|
|
7248
|
+
};
|
|
7249
|
+
}
|
|
7250
|
+
function cacheKeyFor(registryId) {
|
|
7251
|
+
return registryId.toString();
|
|
7252
|
+
}
|
|
7253
|
+
var CvcRegistryService = class {
|
|
7254
|
+
registryModel;
|
|
7255
|
+
entryModel;
|
|
7256
|
+
scopeFallback;
|
|
7257
|
+
/**
|
|
7258
|
+
* Cached resolved entry set per registry id. The value is the full
|
|
7259
|
+
* post-override entry list — domain filtering is done on read so the
|
|
7260
|
+
* cache stays domain-agnostic. Cleared on activate/deprecate of any
|
|
7261
|
+
* registry that overlaps the cached scope.
|
|
7262
|
+
*/
|
|
7263
|
+
resolvedCache = /* @__PURE__ */ new Map();
|
|
7264
|
+
/**
|
|
7265
|
+
* @param connection - Mongoose connection that owns `cvc_registries` and `cvc_entries`
|
|
7266
|
+
* @param options - Optional behavior toggles (see {@link CvcRegistryServiceOptions})
|
|
7267
|
+
*/
|
|
7268
|
+
constructor(connection, options = {}) {
|
|
7269
|
+
this.registryModel = cvcRegistryModel_exports.compileModel(
|
|
7270
|
+
connection
|
|
7271
|
+
);
|
|
7272
|
+
this.entryModel = cvcEntryModel_exports.compileModel(
|
|
7273
|
+
connection
|
|
7274
|
+
);
|
|
7275
|
+
this.scopeFallback = options.scopeFallback ?? true;
|
|
7276
|
+
}
|
|
7277
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7278
|
+
// Registry lifecycle
|
|
7279
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7280
|
+
/**
|
|
7281
|
+
* Find the active registry for a scope, walking the fallback chain
|
|
7282
|
+
* (agency-specific → app-specific → platform-default) when enabled. Returns
|
|
7283
|
+
* `null` if no active registry exists at any level of the chain.
|
|
7284
|
+
*/
|
|
7285
|
+
async getActiveRegistry(scope) {
|
|
7286
|
+
const candidates = [scope];
|
|
7287
|
+
if (this.scopeFallback) {
|
|
7288
|
+
if (scope.agencyId != null && scope.application != null) {
|
|
7289
|
+
candidates.push({ application: scope.application, agencyId: null });
|
|
7290
|
+
}
|
|
7291
|
+
if (scope.application != null) {
|
|
7292
|
+
candidates.push({ application: null, agencyId: null });
|
|
7293
|
+
}
|
|
7294
|
+
}
|
|
7295
|
+
for (const candidate of candidates) {
|
|
7296
|
+
const found = await this.registryModel.findOne({ ...scopeFilter(candidate), status: "active" }).lean().exec();
|
|
7297
|
+
if (found) return found;
|
|
7298
|
+
}
|
|
7299
|
+
return null;
|
|
7300
|
+
}
|
|
7301
|
+
/**
|
|
7302
|
+
* Look up a registry by its `(scope, version)` tuple. The scope must be
|
|
7303
|
+
* exact — there is no fallback chain here, since version pins are scope-
|
|
7304
|
+
* specific by definition.
|
|
7305
|
+
*/
|
|
7306
|
+
async getRegistry(scope, version) {
|
|
7307
|
+
return this.registryModel.findOne({ ...scopeFilter(scope), version }).lean().exec();
|
|
7308
|
+
}
|
|
7309
|
+
/**
|
|
7310
|
+
* List every registry version for an exact scope, regardless of status.
|
|
7311
|
+
* Sorted by version so callers get a deterministic ordering for change
|
|
7312
|
+
* logs / version pickers. The version field is a semver string, so the
|
|
7313
|
+
* sort is lexicographic — good enough for the typical 1.0.0 / 1.1.0 case.
|
|
7314
|
+
*/
|
|
7315
|
+
async listVersions(scope) {
|
|
7316
|
+
return this.registryModel.find(scopeFilter(scope)).sort({ version: 1 }).lean().exec();
|
|
7317
|
+
}
|
|
7318
|
+
/**
|
|
7319
|
+
* Promote a draft registry to `active`. Atomically demotes the previous
|
|
7320
|
+
* active registry in the same scope to `deprecated` so the
|
|
7321
|
+
* one-active-per-scope invariant holds even under concurrent activations
|
|
7322
|
+
* (the partial unique index on `cvc_registries` enforces this at the DB
|
|
7323
|
+
* layer; we mirror it here for clarity).
|
|
7324
|
+
*
|
|
7325
|
+
* @throws Error if the target registry doesn't exist or isn't in `draft`
|
|
7326
|
+
*/
|
|
7327
|
+
async activate(registryId) {
|
|
7328
|
+
const target = await this.registryModel.findById(registryId).lean().exec();
|
|
7329
|
+
if (!target) {
|
|
7330
|
+
throw new Error(
|
|
7331
|
+
`CvcRegistryService.activate: registry not found: ${registryId.toString()}`
|
|
7332
|
+
);
|
|
7333
|
+
}
|
|
7334
|
+
if (target.status !== "draft") {
|
|
7335
|
+
throw new Error(
|
|
7336
|
+
`CvcRegistryService.activate: registry ${registryId.toString()} is '${target.status}', expected 'draft'`
|
|
7337
|
+
);
|
|
7338
|
+
}
|
|
7339
|
+
const now = /* @__PURE__ */ new Date();
|
|
7340
|
+
await this.registryModel.updateOne(
|
|
7341
|
+
{
|
|
7342
|
+
application: target.application ?? null,
|
|
7343
|
+
agencyId: target.agencyId ?? null,
|
|
7344
|
+
status: "active"
|
|
7345
|
+
},
|
|
7346
|
+
{ $set: { status: "deprecated", dateDeactivated: now } }
|
|
7347
|
+
).exec();
|
|
7348
|
+
const activated = await this.registryModel.findByIdAndUpdate(
|
|
7349
|
+
registryId,
|
|
7350
|
+
{ $set: { status: "active", dateActivated: now } },
|
|
7351
|
+
{ new: true }
|
|
7352
|
+
).lean().exec();
|
|
7353
|
+
if (!activated) {
|
|
7354
|
+
throw new Error(
|
|
7355
|
+
`CvcRegistryService.activate: registry vanished mid-update: ${registryId.toString()}`
|
|
7356
|
+
);
|
|
7357
|
+
}
|
|
7358
|
+
this.resolvedCache.clear();
|
|
7359
|
+
return activated;
|
|
7360
|
+
}
|
|
7361
|
+
/**
|
|
7362
|
+
* Demote an active registry to `deprecated`. Idempotent only in the sense
|
|
7363
|
+
* that calling it twice on the same registry will fail the second time —
|
|
7364
|
+
* we don't allow re-deprecating something that's already deprecated, so
|
|
7365
|
+
* the lifecycle stays a strict state machine.
|
|
7366
|
+
*
|
|
7367
|
+
* @throws Error if the target registry doesn't exist or isn't `active`
|
|
7368
|
+
*/
|
|
7369
|
+
async deprecate(registryId) {
|
|
7370
|
+
const target = await this.registryModel.findById(registryId).lean().exec();
|
|
7371
|
+
if (!target) {
|
|
7372
|
+
throw new Error(
|
|
7373
|
+
`CvcRegistryService.deprecate: registry not found: ${registryId.toString()}`
|
|
7374
|
+
);
|
|
7375
|
+
}
|
|
7376
|
+
if (target.status !== "active") {
|
|
7377
|
+
throw new Error(
|
|
7378
|
+
`CvcRegistryService.deprecate: registry ${registryId.toString()} is '${target.status}', expected 'active'`
|
|
7379
|
+
);
|
|
7380
|
+
}
|
|
7381
|
+
const updated = await this.registryModel.findByIdAndUpdate(
|
|
7382
|
+
registryId,
|
|
7383
|
+
{ $set: { status: "deprecated", dateDeactivated: /* @__PURE__ */ new Date() } },
|
|
7384
|
+
{ new: true }
|
|
7385
|
+
).lean().exec();
|
|
7386
|
+
if (!updated) {
|
|
7387
|
+
throw new Error(
|
|
7388
|
+
`CvcRegistryService.deprecate: registry vanished mid-update: ${registryId.toString()}`
|
|
7389
|
+
);
|
|
7390
|
+
}
|
|
7391
|
+
this.resolvedCache.clear();
|
|
7392
|
+
return updated;
|
|
7393
|
+
}
|
|
7394
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7395
|
+
// Entry resolution (core — all convenience methods funnel through here)
|
|
7396
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7397
|
+
/**
|
|
7398
|
+
* Resolve a registry into its effective entry list, applying inheritance
|
|
7399
|
+
* and overrides. Results are memoised by registry id; the cache is
|
|
7400
|
+
* invalidated on `activate()` / `deprecate()`.
|
|
7401
|
+
*/
|
|
7402
|
+
async resolveEntries(registryId) {
|
|
7403
|
+
const cacheKey = cacheKeyFor(registryId);
|
|
7404
|
+
const cached = this.resolvedCache.get(cacheKey);
|
|
7405
|
+
if (cached) return cached;
|
|
7406
|
+
const registry = await this.registryModel.findById(registryId).lean().exec();
|
|
7407
|
+
if (!registry) {
|
|
7408
|
+
throw new Error(
|
|
7409
|
+
`CvcRegistryService.resolveEntries: registry not found: ${registryId.toString()}`
|
|
7410
|
+
);
|
|
7411
|
+
}
|
|
7412
|
+
const { entries } = await resolveRegistryWithInheritance(
|
|
7413
|
+
registry,
|
|
7414
|
+
(id) => this.registryModel.findById(id).lean().exec(),
|
|
7415
|
+
(domain, version) => this.entryModel.find({ domain, version }).lean().exec()
|
|
7416
|
+
);
|
|
7417
|
+
this.resolvedCache.set(cacheKey, entries);
|
|
7418
|
+
return entries;
|
|
7419
|
+
}
|
|
7420
|
+
/**
|
|
7421
|
+
* Same as {@link resolveEntries} but filtered to a single CVC domain.
|
|
7422
|
+
* Filtering is done on the cached set so repeated calls for different
|
|
7423
|
+
* domains share the same underlying load.
|
|
7424
|
+
*/
|
|
7425
|
+
async resolveEntriesForDomain(registryId, domain) {
|
|
7426
|
+
const all = await this.resolveEntries(registryId);
|
|
7427
|
+
return all.filter((entry) => entry.domain === domain);
|
|
7428
|
+
}
|
|
7429
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7430
|
+
// Entry lookups (convenience — resolve through the active registry)
|
|
7431
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7432
|
+
/**
|
|
7433
|
+
* Find an entry by its 7-segment positional code within the active
|
|
7434
|
+
* registry for `scope`. Returns `null` if no active registry exists or
|
|
7435
|
+
* the code isn't present in the resolved entry set.
|
|
7436
|
+
*/
|
|
7437
|
+
async getEntryByCode(scope, code) {
|
|
7438
|
+
const registry = await this.getActiveRegistry(scope);
|
|
7439
|
+
if (!registry) return null;
|
|
7440
|
+
const entries = await this.resolveEntries(registry._id);
|
|
7441
|
+
return entries.find((entry) => entry.code === code) ?? null;
|
|
7442
|
+
}
|
|
7443
|
+
/**
|
|
7444
|
+
* Find an entry by its stable machine key within a specific domain in the
|
|
7445
|
+
* active registry. Keys are unique per `(domain, version)` so the lookup
|
|
7446
|
+
* always returns at most one entry.
|
|
7447
|
+
*/
|
|
7448
|
+
async getEntryByKey(scope, domain, key) {
|
|
7449
|
+
const registry = await this.getActiveRegistry(scope);
|
|
7450
|
+
if (!registry) return null;
|
|
7451
|
+
const entries = await this.resolveEntriesForDomain(registry._id, domain);
|
|
7452
|
+
return entries.find((entry) => entry.key === key) ?? null;
|
|
7453
|
+
}
|
|
7454
|
+
/**
|
|
7455
|
+
* Get every resolved entry for a given domain in the active registry.
|
|
7456
|
+
*/
|
|
7457
|
+
async getEntries(scope, domain) {
|
|
7458
|
+
const registry = await this.getActiveRegistry(scope);
|
|
7459
|
+
if (!registry) return [];
|
|
7460
|
+
return this.resolveEntriesForDomain(registry._id, domain);
|
|
7461
|
+
}
|
|
7462
|
+
/**
|
|
7463
|
+
* Get only the selectable (leaf) entries for a domain — useful for form
|
|
7464
|
+
* dropdowns where structural grouping rows must be hidden.
|
|
7465
|
+
*/
|
|
7466
|
+
async getSelectableEntries(scope, domain) {
|
|
7467
|
+
const entries = await this.getEntries(scope, domain);
|
|
7468
|
+
return entries.filter((entry) => entry.selectable);
|
|
7469
|
+
}
|
|
7470
|
+
/**
|
|
7471
|
+
* Get the direct children of a parent code within the active registry.
|
|
7472
|
+
* Returns `[]` for leaves and for codes not present in the resolved set.
|
|
7473
|
+
*/
|
|
7474
|
+
async getChildren(scope, code) {
|
|
7475
|
+
const registry = await this.getActiveRegistry(scope);
|
|
7476
|
+
if (!registry) return [];
|
|
7477
|
+
const entries = await this.resolveEntries(registry._id);
|
|
7478
|
+
return entries.filter((entry) => entry.parentCode === code);
|
|
7479
|
+
}
|
|
7480
|
+
/**
|
|
7481
|
+
* Walk the parent chain from `code` up to the tree root, returning the
|
|
7482
|
+
* ancestors in **root → entry** order (the entry itself is not included).
|
|
7483
|
+
* Stops early if a parent code references an entry that isn't present in
|
|
7484
|
+
* the resolved set — that's a corrupt-tree signal but we'd rather return
|
|
7485
|
+
* a partial chain than throw inside a UI breadcrumb call.
|
|
7486
|
+
*/
|
|
7487
|
+
async getAncestors(scope, code) {
|
|
7488
|
+
const registry = await this.getActiveRegistry(scope);
|
|
7489
|
+
if (!registry) return [];
|
|
7490
|
+
const entries = await this.resolveEntries(registry._id);
|
|
7491
|
+
const byCode = new Map(entries.map((entry) => [entry.code, entry]));
|
|
7492
|
+
const chain = [];
|
|
7493
|
+
let current = byCode.get(code);
|
|
7494
|
+
const seen = /* @__PURE__ */ new Set();
|
|
7495
|
+
while (current?.parentCode && !seen.has(current.parentCode)) {
|
|
7496
|
+
seen.add(current.parentCode);
|
|
7497
|
+
const parent = byCode.get(current.parentCode);
|
|
7498
|
+
if (!parent) break;
|
|
7499
|
+
chain.push(parent);
|
|
7500
|
+
current = parent;
|
|
7501
|
+
}
|
|
7502
|
+
return chain.reverse();
|
|
7503
|
+
}
|
|
7504
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7505
|
+
// Test seam: cache introspection
|
|
7506
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
7507
|
+
/**
|
|
7508
|
+
* Test-only accessor for the resolved-entry cache. Exposed so service
|
|
7509
|
+
* tests can assert that `activate()` / `deprecate()` actually flush the
|
|
7510
|
+
* cache, and so consumers diagnosing stale-data bugs can dump the live
|
|
7511
|
+
* keyset. Not part of the locked spec API surface — treat as internal.
|
|
7512
|
+
*/
|
|
7513
|
+
get __cacheKeysForTests() {
|
|
7514
|
+
return [...this.resolvedCache.keys()];
|
|
7515
|
+
}
|
|
7516
|
+
};
|
|
7517
|
+
|
|
7518
|
+
// src/validation/cvc.ts
|
|
7519
|
+
var import_zod = require("zod");
|
|
7520
|
+
var CvcCodeSchema = import_zod.z.string().regex(/^\d{2}(-\d{2}){6}$/);
|
|
7521
|
+
var CvcKeySchema = import_zod.z.string().regex(/^[a-z][a-z0-9_]*$/);
|
|
7522
|
+
var CvcEntrySchema = import_zod.z.object({
|
|
7523
|
+
code: CvcCodeSchema,
|
|
7524
|
+
key: CvcKeySchema,
|
|
7525
|
+
title: import_zod.z.string().min(1),
|
|
7526
|
+
selectable: import_zod.z.boolean(),
|
|
7527
|
+
parentCode: CvcCodeSchema.nullable(),
|
|
7528
|
+
childCodes: import_zod.z.array(CvcCodeSchema),
|
|
7529
|
+
definition: import_zod.z.string().nullable()
|
|
7530
|
+
}).passthrough();
|
|
7531
|
+
var ServiceCategoryEntrySchema = CvcEntrySchema.extend({
|
|
7532
|
+
relevantMechanisms: import_zod.z.array(CvcKeySchema).nullable()
|
|
7533
|
+
});
|
|
7534
|
+
var CvcEnvelopeSchema = import_zod.z.object({
|
|
7535
|
+
domain: import_zod.z.string().min(1),
|
|
7536
|
+
name: import_zod.z.string().min(1),
|
|
7537
|
+
version: import_zod.z.string().min(1),
|
|
7538
|
+
missingness: import_zod.z.array(import_zod.z.string()).optional(),
|
|
7539
|
+
levels: import_zod.z.record(import_zod.z.string(), import_zod.z.string()),
|
|
7540
|
+
entries: import_zod.z.array(CvcEntrySchema)
|
|
7541
|
+
});
|
|
7542
|
+
|
|
7543
|
+
// src/cvcs/serviceCategories.v1.0.0.json
|
|
7544
|
+
var serviceCategories_v1_0_0_default = {
|
|
7545
|
+
domain: "service_categories",
|
|
7546
|
+
name: "Core Victim Service Categories",
|
|
7547
|
+
version: "1.0.0",
|
|
7548
|
+
missingness: ["all"],
|
|
7549
|
+
levels: {
|
|
7550
|
+
"1": "Service Topics",
|
|
7551
|
+
"2": "Primary Service",
|
|
7552
|
+
"3": "Sub-Category",
|
|
7553
|
+
"4": "Sub-Sub Category",
|
|
7554
|
+
"5": "Sub-Sub-Sub Category"
|
|
7555
|
+
},
|
|
7556
|
+
entries: [
|
|
7557
|
+
{
|
|
7558
|
+
code: "01-02-00-00-00-00-00",
|
|
7559
|
+
key: "social_support_community_engagement",
|
|
7560
|
+
title: "Social Support & Community Engagement Services",
|
|
7561
|
+
selectable: false,
|
|
7562
|
+
parentCode: null,
|
|
7563
|
+
childCodes: [
|
|
7564
|
+
"01-02-01-00-00-00-00",
|
|
7565
|
+
"01-02-02-00-00-00-00",
|
|
7566
|
+
"01-02-03-00-00-00-00",
|
|
7567
|
+
"01-02-04-00-00-00-00",
|
|
7568
|
+
"01-02-05-00-00-00-00"
|
|
7569
|
+
],
|
|
7570
|
+
definition: "Services and activities that foster social connection, emotional support, cultural belonging, and positive community engagement for survivors.",
|
|
7571
|
+
relevantMechanisms: null
|
|
7572
|
+
},
|
|
7573
|
+
{
|
|
7574
|
+
code: "01-02-01-00-00-00-00",
|
|
7575
|
+
key: "cultural_needs_support",
|
|
7576
|
+
title: "Cultural needs support",
|
|
7577
|
+
selectable: true,
|
|
7578
|
+
parentCode: "01-02-00-00-00-00-00",
|
|
7579
|
+
childCodes: [],
|
|
7580
|
+
definition: "Support that helps survivors maintain cultural identity, traditions, or practices.",
|
|
7581
|
+
relevantMechanisms: [
|
|
7582
|
+
"direct_staff_contractor",
|
|
7583
|
+
"financial_material_assistance",
|
|
7584
|
+
"support_via_referral",
|
|
7585
|
+
"informational_support"
|
|
7586
|
+
]
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
code: "01-02-02-00-00-00-00",
|
|
7590
|
+
key: "gift_holiday_resources",
|
|
7591
|
+
title: "Gift/Holiday Resources Support",
|
|
7592
|
+
selectable: true,
|
|
7593
|
+
parentCode: "01-02-00-00-00-00-00",
|
|
7594
|
+
childCodes: [],
|
|
7595
|
+
definition: "Support that helps survivors observe holidays or celebrations that promote belonging and well-being.",
|
|
7596
|
+
relevantMechanisms: [
|
|
7597
|
+
"direct_staff_contractor",
|
|
7598
|
+
"financial_material_assistance",
|
|
7599
|
+
"support_via_referral",
|
|
7600
|
+
"informational_support"
|
|
7601
|
+
]
|
|
7602
|
+
},
|
|
7603
|
+
{
|
|
7604
|
+
code: "01-02-03-00-00-00-00",
|
|
7605
|
+
key: "peer_facilitated_supportive_group",
|
|
7606
|
+
title: "Peer/facilitated supportive group",
|
|
7607
|
+
selectable: true,
|
|
7608
|
+
parentCode: "01-02-00-00-00-00-00",
|
|
7609
|
+
childCodes: [],
|
|
7610
|
+
definition: "Interactive group sessions for adult/child victims/survivors that may be topic oriented and educational.",
|
|
7611
|
+
relevantMechanisms: [
|
|
7612
|
+
"direct_staff_contractor",
|
|
7613
|
+
"support_via_referral",
|
|
7614
|
+
"informational_support"
|
|
7615
|
+
]
|
|
7616
|
+
},
|
|
7617
|
+
{
|
|
7618
|
+
code: "01-02-04-00-00-00-00",
|
|
7619
|
+
key: "community_service_learning",
|
|
7620
|
+
title: "Community service learning",
|
|
7621
|
+
selectable: true,
|
|
7622
|
+
parentCode: "01-02-00-00-00-00-00",
|
|
7623
|
+
childCodes: [],
|
|
7624
|
+
definition: "The opportunity to participate in structured community service or program-required service hours.",
|
|
7625
|
+
relevantMechanisms: [
|
|
7626
|
+
"direct_staff_contractor",
|
|
7627
|
+
"financial_material_assistance",
|
|
7628
|
+
"support_via_referral",
|
|
7629
|
+
"informational_support"
|
|
7630
|
+
]
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
code: "01-02-05-00-00-00-00",
|
|
7634
|
+
key: "survivor_support_psychoeducation",
|
|
7635
|
+
title: "Survivor Support Psychoeducation",
|
|
7636
|
+
selectable: true,
|
|
7637
|
+
parentCode: "01-02-00-00-00-00-00",
|
|
7638
|
+
childCodes: [],
|
|
7639
|
+
definition: "Supportive services provided to a survivor and/or their social support system to help them understand trafficking and address challenges.",
|
|
7640
|
+
relevantMechanisms: null
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
code: "01-03-00-00-00-00-00",
|
|
7644
|
+
key: "financial_and_employment",
|
|
7645
|
+
title: "Financial and Employment",
|
|
7646
|
+
selectable: false,
|
|
7647
|
+
parentCode: null,
|
|
7648
|
+
childCodes: ["01-03-01-00-00-00-00", "01-03-02-00-00-00-00"],
|
|
7649
|
+
definition: "Services, resources, and supports that address a survivor's financial stability and employment pathways.",
|
|
7650
|
+
relevantMechanisms: [
|
|
7651
|
+
"direct_staff_contractor",
|
|
7652
|
+
"financial_material_assistance",
|
|
7653
|
+
"support_via_referral",
|
|
7654
|
+
"informational_support"
|
|
7655
|
+
]
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
code: "01-03-01-00-00-00-00",
|
|
7659
|
+
key: "financial_support",
|
|
7660
|
+
title: "Financial Support (Budgeting & Financial Capability)",
|
|
7661
|
+
selectable: true,
|
|
7662
|
+
parentCode: "01-03-00-00-00-00-00",
|
|
7663
|
+
childCodes: ["01-03-01-01-00-00-00"],
|
|
7664
|
+
definition: "Support focused on improving a survivor's financial stability through financial coaching/education.",
|
|
7665
|
+
relevantMechanisms: [
|
|
7666
|
+
"direct_staff_contractor",
|
|
7667
|
+
"financial_material_assistance",
|
|
7668
|
+
"support_via_referral",
|
|
7669
|
+
"informational_support"
|
|
7670
|
+
]
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
code: "01-03-01-01-00-00-00",
|
|
7674
|
+
key: "emergency_financial_assistance",
|
|
7675
|
+
title: "Emergency financial assistance",
|
|
7676
|
+
selectable: true,
|
|
7677
|
+
parentCode: "01-03-01-00-00-00-00",
|
|
7678
|
+
childCodes: [],
|
|
7679
|
+
definition: "Direct financial support provided to address an immediate, time-sensitive financial barrier to safety or stability.",
|
|
7680
|
+
relevantMechanisms: [
|
|
7681
|
+
"financial_material_assistance",
|
|
7682
|
+
"support_via_referral"
|
|
7683
|
+
]
|
|
7684
|
+
},
|
|
7685
|
+
{
|
|
7686
|
+
code: "01-03-02-00-00-00-00",
|
|
7687
|
+
key: "employment_support",
|
|
7688
|
+
title: "Employment Support",
|
|
7689
|
+
selectable: true,
|
|
7690
|
+
parentCode: "01-03-00-00-00-00-00",
|
|
7691
|
+
childCodes: [
|
|
7692
|
+
"01-03-02-01-00-00-00",
|
|
7693
|
+
"01-03-02-02-00-00-00",
|
|
7694
|
+
"01-03-02-03-00-00-00"
|
|
7695
|
+
],
|
|
7696
|
+
definition: "Support that helps survivors obtain, retain, or improve employment.",
|
|
7697
|
+
relevantMechanisms: [
|
|
7698
|
+
"direct_staff_contractor",
|
|
7699
|
+
"financial_material_assistance",
|
|
7700
|
+
"support_via_referral",
|
|
7701
|
+
"informational_support"
|
|
7702
|
+
]
|
|
7703
|
+
},
|
|
7704
|
+
{
|
|
7705
|
+
code: "01-03-02-01-00-00-00",
|
|
7706
|
+
key: "supported_employment",
|
|
7707
|
+
title: "Supported Employment (e.g., paid employment, internship)",
|
|
7708
|
+
selectable: true,
|
|
7709
|
+
parentCode: "01-03-02-00-00-00-00",
|
|
7710
|
+
childCodes: [],
|
|
7711
|
+
definition: "Program-supported placement into paid employment, internship, or subsidized employment.",
|
|
7712
|
+
relevantMechanisms: ["direct_staff_contractor", "informational_support"]
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
code: "01-03-02-02-00-00-00",
|
|
7716
|
+
key: "employment_assistance_job_search",
|
|
7717
|
+
title: "Employment Assistance / Job Search & Readiness",
|
|
7718
|
+
selectable: true,
|
|
7719
|
+
parentCode: "01-03-02-00-00-00-00",
|
|
7720
|
+
childCodes: [],
|
|
7721
|
+
definition: "Hands-on assistance to help survivors seek and secure employment.",
|
|
7722
|
+
relevantMechanisms: [
|
|
7723
|
+
"direct_staff_contractor",
|
|
7724
|
+
"financial_material_assistance",
|
|
7725
|
+
"support_via_referral",
|
|
7726
|
+
"informational_support"
|
|
7727
|
+
]
|
|
7728
|
+
},
|
|
7729
|
+
{
|
|
7730
|
+
code: "01-03-02-03-00-00-00",
|
|
7731
|
+
key: "job_vocation_training",
|
|
7732
|
+
title: "Job/Vocation Training",
|
|
7733
|
+
selectable: true,
|
|
7734
|
+
parentCode: "01-03-02-00-00-00-00",
|
|
7735
|
+
childCodes: [],
|
|
7736
|
+
definition: "Structured workforce preparation through job readiness programming and/or vocational training.",
|
|
7737
|
+
relevantMechanisms: [
|
|
7738
|
+
"direct_staff_contractor",
|
|
7739
|
+
"informational_support",
|
|
7740
|
+
"financial_material_assistance",
|
|
7741
|
+
"support_via_referral"
|
|
7742
|
+
]
|
|
7743
|
+
},
|
|
7744
|
+
{
|
|
7745
|
+
code: "01-04-00-00-00-00-00",
|
|
7746
|
+
key: "healthcare",
|
|
7747
|
+
title: "Healthcare",
|
|
7748
|
+
selectable: false,
|
|
7749
|
+
parentCode: null,
|
|
7750
|
+
childCodes: ["01-04-01-00-00-00-00", "01-04-02-00-00-00-00"],
|
|
7751
|
+
definition: "Services provided to address a survivor's physical, mental, and emotional health needs through medical, behavioral health, or related health services.",
|
|
7752
|
+
relevantMechanisms: null
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
7755
|
+
code: "01-04-01-00-00-00-00",
|
|
7756
|
+
key: "medical",
|
|
7757
|
+
title: "Medical",
|
|
7758
|
+
selectable: true,
|
|
7759
|
+
parentCode: "01-04-00-00-00-00-00",
|
|
7760
|
+
childCodes: [
|
|
7761
|
+
"01-04-01-01-00-00-00",
|
|
7762
|
+
"01-04-01-02-00-00-00",
|
|
7763
|
+
"01-04-01-03-00-00-00",
|
|
7764
|
+
"01-04-01-04-00-00-00"
|
|
7765
|
+
],
|
|
7766
|
+
definition: "Clinical services provided by licensed healthcare professionals to address a survivor's physical health needs.",
|
|
7767
|
+
relevantMechanisms: [
|
|
7768
|
+
"direct_staff_contractor",
|
|
7769
|
+
"financial_material_assistance",
|
|
7770
|
+
"support_via_referral",
|
|
7771
|
+
"informational_support"
|
|
7772
|
+
]
|
|
7773
|
+
},
|
|
7774
|
+
{
|
|
7775
|
+
code: "01-04-01-01-00-00-00",
|
|
7776
|
+
key: "emergency_medical_care",
|
|
7777
|
+
title: "Emergency Medical Care",
|
|
7778
|
+
selectable: true,
|
|
7779
|
+
parentCode: "01-04-01-00-00-00-00",
|
|
7780
|
+
childCodes: [],
|
|
7781
|
+
definition: "Services related to emergency medical care for overall health (including vision and dental).",
|
|
7782
|
+
relevantMechanisms: [
|
|
7783
|
+
"direct_staff_contractor",
|
|
7784
|
+
"financial_material_assistance",
|
|
7785
|
+
"support_via_referral",
|
|
7786
|
+
"informational_support"
|
|
7787
|
+
]
|
|
7788
|
+
},
|
|
7789
|
+
{
|
|
7790
|
+
code: "01-04-01-02-00-00-00",
|
|
7791
|
+
key: "forensic_exam_interview",
|
|
7792
|
+
title: "Performance of medical or non-medical forensic exam or interview",
|
|
7793
|
+
selectable: true,
|
|
7794
|
+
parentCode: "01-04-01-00-00-00-00",
|
|
7795
|
+
childCodes: [
|
|
7796
|
+
"01-04-01-02-01-00-00",
|
|
7797
|
+
"01-04-01-02-02-00-00",
|
|
7798
|
+
"01-04-01-02-03-00-00",
|
|
7799
|
+
"01-04-01-02-04-00-00"
|
|
7800
|
+
],
|
|
7801
|
+
definition: "Conducting/performing a forensic exam/interview/medical evidence collection consistent with jurisdiction requirements.",
|
|
7802
|
+
relevantMechanisms: [
|
|
7803
|
+
"direct_staff_contractor",
|
|
7804
|
+
"financial_material_assistance",
|
|
7805
|
+
"support_via_referral",
|
|
7806
|
+
"informational_support"
|
|
7807
|
+
]
|
|
7808
|
+
},
|
|
7809
|
+
{
|
|
7810
|
+
code: "01-04-01-02-01-00-00",
|
|
7811
|
+
key: "dv_exam",
|
|
7812
|
+
title: "DV Exam",
|
|
7813
|
+
selectable: true,
|
|
7814
|
+
parentCode: "01-04-01-02-00-00-00",
|
|
7815
|
+
childCodes: [],
|
|
7816
|
+
definition: null,
|
|
7817
|
+
relevantMechanisms: [
|
|
7818
|
+
"direct_staff_contractor",
|
|
7819
|
+
"financial_material_assistance",
|
|
7820
|
+
"support_via_referral",
|
|
7821
|
+
"informational_support"
|
|
7822
|
+
]
|
|
7823
|
+
},
|
|
7824
|
+
{
|
|
7825
|
+
code: "01-04-01-02-02-00-00",
|
|
7826
|
+
key: "sane_exam",
|
|
7827
|
+
title: "SANE Exam",
|
|
7828
|
+
selectable: true,
|
|
7829
|
+
parentCode: "01-04-01-02-00-00-00",
|
|
7830
|
+
childCodes: [],
|
|
7831
|
+
definition: null,
|
|
7832
|
+
relevantMechanisms: [
|
|
7833
|
+
"direct_staff_contractor",
|
|
7834
|
+
"financial_material_assistance",
|
|
7835
|
+
"support_via_referral",
|
|
7836
|
+
"informational_support"
|
|
7837
|
+
]
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
code: "01-04-01-02-03-00-00",
|
|
7841
|
+
key: "std_testing",
|
|
7842
|
+
title: "STD Testing",
|
|
7843
|
+
selectable: true,
|
|
7844
|
+
parentCode: "01-04-01-02-00-00-00",
|
|
7845
|
+
childCodes: [],
|
|
7846
|
+
definition: null,
|
|
7847
|
+
relevantMechanisms: [
|
|
7848
|
+
"direct_staff_contractor",
|
|
7849
|
+
"financial_material_assistance",
|
|
7850
|
+
"support_via_referral",
|
|
7851
|
+
"informational_support"
|
|
7852
|
+
]
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
code: "01-04-01-02-04-00-00",
|
|
7856
|
+
key: "specialized_assessments",
|
|
7857
|
+
title: "Specialized Assessments",
|
|
7858
|
+
selectable: true,
|
|
7859
|
+
parentCode: "01-04-01-02-00-00-00",
|
|
7860
|
+
childCodes: [
|
|
7861
|
+
"01-04-01-02-04-01-00",
|
|
7862
|
+
"01-04-01-02-04-02-00",
|
|
7863
|
+
"01-04-01-02-04-03-00",
|
|
7864
|
+
"01-04-01-02-04-04-00"
|
|
7865
|
+
],
|
|
7866
|
+
definition: "Assessment means an appropriate course of assistance based on a face-to-face formal screening (must be performed by a clinician).",
|
|
7867
|
+
relevantMechanisms: [
|
|
7868
|
+
"direct_staff_contractor",
|
|
7869
|
+
"support_via_referral",
|
|
7870
|
+
"informational_support"
|
|
7871
|
+
]
|
|
7872
|
+
},
|
|
7873
|
+
{
|
|
7874
|
+
code: "01-04-01-02-04-01-00",
|
|
7875
|
+
key: "counseling_evaluation_assessment",
|
|
7876
|
+
title: "Counseling Evaluation and Assessment",
|
|
7877
|
+
selectable: true,
|
|
7878
|
+
parentCode: "01-04-01-02-04-00-00",
|
|
7879
|
+
childCodes: [],
|
|
7880
|
+
definition: null,
|
|
7881
|
+
relevantMechanisms: null
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
code: "01-04-01-02-04-02-00",
|
|
7885
|
+
key: "stalking_assessment",
|
|
7886
|
+
title: "Stalking Assessment",
|
|
7887
|
+
selectable: true,
|
|
7888
|
+
parentCode: "01-04-01-02-04-00-00",
|
|
7889
|
+
childCodes: [],
|
|
7890
|
+
definition: null,
|
|
7891
|
+
relevantMechanisms: null
|
|
7892
|
+
},
|
|
7893
|
+
{
|
|
7894
|
+
code: "01-04-01-02-04-03-00",
|
|
7895
|
+
key: "danger_assessment",
|
|
7896
|
+
title: "Danger Assessment",
|
|
7897
|
+
selectable: true,
|
|
7898
|
+
parentCode: "01-04-01-02-04-00-00",
|
|
7899
|
+
childCodes: [],
|
|
7900
|
+
definition: null,
|
|
7901
|
+
relevantMechanisms: null
|
|
7902
|
+
},
|
|
7903
|
+
{
|
|
7904
|
+
code: "01-04-01-02-04-04-00",
|
|
7905
|
+
key: "indepth_assessment",
|
|
7906
|
+
title: "In-depth Assessment",
|
|
7907
|
+
selectable: true,
|
|
7908
|
+
parentCode: "01-04-01-02-04-00-00",
|
|
7909
|
+
childCodes: [],
|
|
7910
|
+
definition: null,
|
|
7911
|
+
relevantMechanisms: null
|
|
7912
|
+
},
|
|
7913
|
+
{
|
|
7914
|
+
code: "01-04-01-03-00-00-00",
|
|
7915
|
+
key: "outpatient_medical",
|
|
7916
|
+
title: "Outpatient Medical (Medication Assistance; Long-Term, Non-Therapeutic Medical Care)",
|
|
7917
|
+
selectable: true,
|
|
7918
|
+
parentCode: "01-04-01-00-00-00-00",
|
|
7919
|
+
childCodes: [
|
|
7920
|
+
"01-04-01-03-01-00-00",
|
|
7921
|
+
"01-04-01-03-02-00-00",
|
|
7922
|
+
"01-04-01-03-03-00-00",
|
|
7923
|
+
"01-04-01-03-04-00-00"
|
|
7924
|
+
],
|
|
7925
|
+
definition: "Services provided by a licensed health provider including overall physical health.",
|
|
7926
|
+
relevantMechanisms: [
|
|
7927
|
+
"direct_staff_contractor",
|
|
7928
|
+
"financial_material_assistance",
|
|
7929
|
+
"support_via_referral",
|
|
7930
|
+
"informational_support"
|
|
7931
|
+
]
|
|
7932
|
+
},
|
|
7933
|
+
{
|
|
7934
|
+
code: "01-04-01-03-01-00-00",
|
|
7935
|
+
key: "dental",
|
|
7936
|
+
title: "Dental",
|
|
7937
|
+
selectable: true,
|
|
7938
|
+
parentCode: "01-04-01-03-00-00-00",
|
|
7939
|
+
childCodes: [],
|
|
7940
|
+
definition: null,
|
|
7941
|
+
relevantMechanisms: [
|
|
7942
|
+
"direct_staff_contractor",
|
|
7943
|
+
"financial_material_assistance",
|
|
7944
|
+
"support_via_referral",
|
|
7945
|
+
"informational_support"
|
|
7946
|
+
]
|
|
7947
|
+
},
|
|
7948
|
+
{
|
|
7949
|
+
code: "01-04-01-03-02-00-00",
|
|
7950
|
+
key: "vision",
|
|
7951
|
+
title: "Vision",
|
|
7952
|
+
selectable: true,
|
|
7953
|
+
parentCode: "01-04-01-03-00-00-00",
|
|
7954
|
+
childCodes: [],
|
|
7955
|
+
definition: null,
|
|
7956
|
+
relevantMechanisms: [
|
|
7957
|
+
"direct_staff_contractor",
|
|
7958
|
+
"financial_material_assistance",
|
|
7959
|
+
"support_via_referral",
|
|
7960
|
+
"informational_support"
|
|
7961
|
+
]
|
|
7962
|
+
},
|
|
7963
|
+
{
|
|
7964
|
+
code: "01-04-01-03-03-00-00",
|
|
7965
|
+
key: "tattoo_removal",
|
|
7966
|
+
title: "Tattoo Removal",
|
|
7967
|
+
selectable: true,
|
|
7968
|
+
parentCode: "01-04-01-03-00-00-00",
|
|
7969
|
+
childCodes: [],
|
|
7970
|
+
definition: null,
|
|
7971
|
+
relevantMechanisms: [
|
|
7972
|
+
"direct_staff_contractor",
|
|
7973
|
+
"financial_material_assistance",
|
|
7974
|
+
"support_via_referral",
|
|
7975
|
+
"informational_support"
|
|
7976
|
+
]
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
code: "01-04-01-03-04-00-00",
|
|
7980
|
+
key: "pet_medical",
|
|
7981
|
+
title: "Pet Medical",
|
|
7982
|
+
selectable: true,
|
|
7983
|
+
parentCode: "01-04-01-03-00-00-00",
|
|
7984
|
+
childCodes: [],
|
|
7985
|
+
definition: null,
|
|
7986
|
+
relevantMechanisms: [
|
|
7987
|
+
"direct_staff_contractor",
|
|
7988
|
+
"financial_material_assistance",
|
|
7989
|
+
"support_via_referral",
|
|
7990
|
+
"informational_support"
|
|
7991
|
+
]
|
|
7992
|
+
},
|
|
7993
|
+
{
|
|
7994
|
+
code: "01-04-01-04-00-00-00",
|
|
7995
|
+
key: "pregnancy_care",
|
|
7996
|
+
title: "Pregnancy Care",
|
|
7997
|
+
selectable: true,
|
|
7998
|
+
parentCode: "01-04-01-00-00-00-00",
|
|
7999
|
+
childCodes: [
|
|
8000
|
+
"01-04-01-04-01-00-00",
|
|
8001
|
+
"01-04-01-04-02-00-00",
|
|
8002
|
+
"01-04-01-04-03-00-00"
|
|
8003
|
+
],
|
|
8004
|
+
definition: "Medical services provided to support health during pregnancy, childbirth, and the post-partum period.",
|
|
8005
|
+
relevantMechanisms: null
|
|
8006
|
+
},
|
|
8007
|
+
{
|
|
8008
|
+
code: "01-04-01-04-01-00-00",
|
|
8009
|
+
key: "prenatal_care",
|
|
8010
|
+
title: "Prenatal Care",
|
|
8011
|
+
selectable: true,
|
|
8012
|
+
parentCode: "01-04-01-04-00-00-00",
|
|
8013
|
+
childCodes: [],
|
|
8014
|
+
definition: "Medical care provided during pregnancy to monitor maternal and fetal health.",
|
|
8015
|
+
relevantMechanisms: [
|
|
8016
|
+
"direct_staff_contractor",
|
|
8017
|
+
"financial_material_assistance",
|
|
8018
|
+
"support_via_referral",
|
|
8019
|
+
"informational_support"
|
|
8020
|
+
]
|
|
8021
|
+
},
|
|
8022
|
+
{
|
|
8023
|
+
code: "01-04-01-04-02-00-00",
|
|
8024
|
+
key: "postnatal_care_client",
|
|
8025
|
+
title: "Post-natal care for clients post-birth",
|
|
8026
|
+
selectable: true,
|
|
8027
|
+
parentCode: "01-04-01-04-00-00-00",
|
|
8028
|
+
childCodes: [],
|
|
8029
|
+
definition: "Medical services provided to a client after childbirth.",
|
|
8030
|
+
relevantMechanisms: [
|
|
8031
|
+
"direct_staff_contractor",
|
|
8032
|
+
"financial_material_assistance",
|
|
8033
|
+
"support_via_referral",
|
|
8034
|
+
"informational_support"
|
|
8035
|
+
]
|
|
8036
|
+
},
|
|
8037
|
+
{
|
|
8038
|
+
code: "01-04-01-04-03-00-00",
|
|
8039
|
+
key: "postnatal_care_newborn",
|
|
8040
|
+
title: "Post-natal care for newborn care (exams / immunizations)",
|
|
8041
|
+
selectable: true,
|
|
8042
|
+
parentCode: "01-04-01-04-00-00-00",
|
|
8043
|
+
childCodes: [],
|
|
8044
|
+
definition: "Medical services provided to newborns following birth.",
|
|
8045
|
+
relevantMechanisms: [
|
|
8046
|
+
"direct_staff_contractor",
|
|
8047
|
+
"financial_material_assistance",
|
|
8048
|
+
"support_via_referral",
|
|
8049
|
+
"informational_support"
|
|
8050
|
+
]
|
|
8051
|
+
},
|
|
8052
|
+
{
|
|
8053
|
+
code: "01-04-02-00-00-00-00",
|
|
8054
|
+
key: "emotional_support_mental_health",
|
|
8055
|
+
title: "Emotional Support, Mental Health, & Safety",
|
|
8056
|
+
selectable: true,
|
|
8057
|
+
parentCode: "01-04-00-00-00-00-00",
|
|
8058
|
+
childCodes: [
|
|
8059
|
+
"01-04-02-01-00-00-00",
|
|
8060
|
+
"01-04-02-02-00-00-00",
|
|
8061
|
+
"01-04-02-03-00-00-00",
|
|
8062
|
+
"01-04-02-04-00-00-00",
|
|
8063
|
+
"01-04-02-05-00-00-00",
|
|
8064
|
+
"01-04-02-06-00-00-00",
|
|
8065
|
+
"01-04-02-07-00-00-00"
|
|
8066
|
+
],
|
|
8067
|
+
definition: "Evaluate and assess the victim/survivor's current situation. Provide appropriate therapy services.",
|
|
8068
|
+
relevantMechanisms: [
|
|
8069
|
+
"direct_staff_contractor",
|
|
8070
|
+
"financial_material_assistance",
|
|
8071
|
+
"support_via_referral",
|
|
8072
|
+
"informational_support"
|
|
8073
|
+
]
|
|
8074
|
+
},
|
|
8075
|
+
{
|
|
8076
|
+
code: "01-04-02-01-00-00-00",
|
|
8077
|
+
key: "individual_counseling",
|
|
8078
|
+
title: "Individual Counseling (licensed behavioral health professional)",
|
|
8079
|
+
selectable: true,
|
|
8080
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8081
|
+
childCodes: [],
|
|
8082
|
+
definition: "A face-to-face therapeutic session with one-on-one interaction between a licensed professional and an individual.",
|
|
8083
|
+
relevantMechanisms: [
|
|
8084
|
+
"direct_staff_contractor",
|
|
8085
|
+
"financial_material_assistance",
|
|
8086
|
+
"support_via_referral",
|
|
8087
|
+
"informational_support"
|
|
8088
|
+
]
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
code: "01-04-02-02-00-00-00",
|
|
8092
|
+
key: "group_counseling",
|
|
8093
|
+
title: "Group Counseling (licensed behavioral health professional)",
|
|
8094
|
+
selectable: true,
|
|
8095
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8096
|
+
childCodes: [],
|
|
8097
|
+
definition: "A face-to-face therapeutic session with a group of adult/child victims/survivors.",
|
|
8098
|
+
relevantMechanisms: [
|
|
8099
|
+
"direct_staff_contractor",
|
|
8100
|
+
"support_via_referral",
|
|
8101
|
+
"informational_support"
|
|
8102
|
+
]
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
code: "01-04-02-03-00-00-00",
|
|
8106
|
+
key: "family_counseling",
|
|
8107
|
+
title: "Family Counseling",
|
|
8108
|
+
selectable: true,
|
|
8109
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8110
|
+
childCodes: [],
|
|
8111
|
+
definition: "Therapeutic services provided to a family or family unit by a licensed behavioral health professional.",
|
|
8112
|
+
relevantMechanisms: [
|
|
8113
|
+
"direct_staff_contractor",
|
|
8114
|
+
"financial_material_assistance",
|
|
8115
|
+
"support_via_referral",
|
|
8116
|
+
"informational_support"
|
|
8117
|
+
]
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
code: "01-04-02-04-00-00-00",
|
|
8121
|
+
key: "counseling_treatment_planning",
|
|
8122
|
+
title: "Counseling Treatment Planning",
|
|
8123
|
+
selectable: true,
|
|
8124
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8125
|
+
childCodes: [],
|
|
8126
|
+
definition: "The process of developing a written plan based on assessments that identify abuse issues necessitating treatment.",
|
|
8127
|
+
relevantMechanisms: [
|
|
8128
|
+
"direct_staff_contractor",
|
|
8129
|
+
"financial_material_assistance",
|
|
8130
|
+
"support_via_referral",
|
|
8131
|
+
"informational_support"
|
|
8132
|
+
]
|
|
8133
|
+
},
|
|
8134
|
+
{
|
|
8135
|
+
code: "01-04-02-05-00-00-00",
|
|
8136
|
+
key: "counseling_treatment_plan_review",
|
|
8137
|
+
title: "Counseling Treatment Plan Review",
|
|
8138
|
+
selectable: true,
|
|
8139
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8140
|
+
childCodes: [],
|
|
8141
|
+
definition: "The evaluation or updating of the treatment plan based on documented progress.",
|
|
8142
|
+
relevantMechanisms: [
|
|
8143
|
+
"direct_staff_contractor",
|
|
8144
|
+
"financial_material_assistance",
|
|
8145
|
+
"support_via_referral",
|
|
8146
|
+
"informational_support"
|
|
8147
|
+
]
|
|
8148
|
+
},
|
|
8149
|
+
{
|
|
8150
|
+
code: "01-04-02-06-00-00-00",
|
|
8151
|
+
key: "behavioral_occupational_support",
|
|
8152
|
+
title: "Behavioral, Occupational, & Support",
|
|
8153
|
+
selectable: true,
|
|
8154
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8155
|
+
childCodes: ["01-04-02-06-01-00-00", "01-04-02-06-02-00-00"],
|
|
8156
|
+
definition: "Clinical or therapeutic services that support a survivor's mental, emotional, or functional well-being.",
|
|
8157
|
+
relevantMechanisms: [
|
|
8158
|
+
"direct_staff_contractor",
|
|
8159
|
+
"financial_material_assistance",
|
|
8160
|
+
"support_via_referral",
|
|
8161
|
+
"informational_support"
|
|
8162
|
+
]
|
|
8163
|
+
},
|
|
8164
|
+
{
|
|
8165
|
+
code: "01-04-02-06-01-00-00",
|
|
8166
|
+
key: "substance_abuse_treatment",
|
|
8167
|
+
title: "Substance Abuse Treatment",
|
|
8168
|
+
selectable: true,
|
|
8169
|
+
parentCode: "01-04-02-06-00-00-00",
|
|
8170
|
+
childCodes: [],
|
|
8171
|
+
definition: "Assessment and treatment of diagnosable substance abuse and dependence disorders by qualified professionals.",
|
|
8172
|
+
relevantMechanisms: [
|
|
8173
|
+
"direct_staff_contractor",
|
|
8174
|
+
"financial_material_assistance",
|
|
8175
|
+
"support_via_referral",
|
|
8176
|
+
"informational_support"
|
|
8177
|
+
]
|
|
8178
|
+
},
|
|
8179
|
+
{
|
|
8180
|
+
code: "01-04-02-06-02-00-00",
|
|
8181
|
+
key: "coping_strategy_support",
|
|
8182
|
+
title: "Coping strategy support",
|
|
8183
|
+
selectable: true,
|
|
8184
|
+
parentCode: "01-04-02-06-00-00-00",
|
|
8185
|
+
childCodes: [],
|
|
8186
|
+
definition: "Therapeutic support focused on helping survivors develop and strengthen healthy coping skills.",
|
|
8187
|
+
relevantMechanisms: [
|
|
8188
|
+
"direct_staff_contractor",
|
|
8189
|
+
"financial_material_assistance",
|
|
8190
|
+
"support_via_referral",
|
|
8191
|
+
"informational_support"
|
|
8192
|
+
]
|
|
8193
|
+
},
|
|
8194
|
+
{
|
|
8195
|
+
code: "01-04-02-07-00-00-00",
|
|
8196
|
+
key: "other_therapy",
|
|
8197
|
+
title: "Other Therapy",
|
|
8198
|
+
selectable: true,
|
|
8199
|
+
parentCode: "01-04-02-00-00-00-00",
|
|
8200
|
+
childCodes: [],
|
|
8201
|
+
definition: "Any other form of therapeutic support, including traditional, cultural, or alternative healing.",
|
|
8202
|
+
relevantMechanisms: [
|
|
8203
|
+
"direct_staff_contractor",
|
|
8204
|
+
"financial_material_assistance",
|
|
8205
|
+
"support_via_referral",
|
|
8206
|
+
"informational_support"
|
|
8207
|
+
]
|
|
8208
|
+
},
|
|
8209
|
+
{
|
|
8210
|
+
code: "01-05-00-00-00-00-00",
|
|
8211
|
+
key: "housing_services",
|
|
8212
|
+
title: "Housing Services",
|
|
8213
|
+
selectable: false,
|
|
8214
|
+
parentCode: null,
|
|
8215
|
+
childCodes: [
|
|
8216
|
+
"01-05-01-00-00-00-00",
|
|
8217
|
+
"01-05-02-00-00-00-00",
|
|
8218
|
+
"01-05-03-00-00-00-00",
|
|
8219
|
+
"01-05-04-00-00-00-00",
|
|
8220
|
+
"01-05-05-00-00-00-00",
|
|
8221
|
+
"01-05-06-00-00-00-00"
|
|
8222
|
+
],
|
|
8223
|
+
definition: "Services, resources, and supports that address a survivor's immediate shelter needs, longer-term housing access/placement, housing stability/eviction prevention, and safe habitability.",
|
|
8224
|
+
relevantMechanisms: null
|
|
8225
|
+
},
|
|
8226
|
+
{
|
|
8227
|
+
code: "01-05-01-00-00-00-00",
|
|
8228
|
+
key: "emergency_shelter",
|
|
8229
|
+
title: "Emergency Shelter & Immediate Safety Housing",
|
|
8230
|
+
selectable: true,
|
|
8231
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8232
|
+
childCodes: [
|
|
8233
|
+
"01-05-01-01-00-00-00",
|
|
8234
|
+
"01-05-01-02-00-00-00",
|
|
8235
|
+
"01-05-01-03-00-00-00",
|
|
8236
|
+
"01-05-01-04-00-00-00",
|
|
8237
|
+
"01-05-01-05-00-00-00"
|
|
8238
|
+
],
|
|
8239
|
+
definition: "Immediate, short-term shelter or safe temporary housing provided to remove a survivor from danger.",
|
|
8240
|
+
relevantMechanisms: [
|
|
8241
|
+
"financial_material_assistance",
|
|
8242
|
+
"support_via_referral",
|
|
8243
|
+
"direct_staff_contractor",
|
|
8244
|
+
"informational_support"
|
|
8245
|
+
]
|
|
8246
|
+
},
|
|
8247
|
+
{
|
|
8248
|
+
code: "01-05-01-01-00-00-00",
|
|
8249
|
+
key: "day_shelter_dropin",
|
|
8250
|
+
title: "Day Shelter / Drop-In",
|
|
8251
|
+
selectable: true,
|
|
8252
|
+
parentCode: "01-05-01-00-00-00-00",
|
|
8253
|
+
childCodes: [],
|
|
8254
|
+
definition: "A daytime-only shelter/safe space (no overnight lodging).",
|
|
8255
|
+
relevantMechanisms: [
|
|
8256
|
+
"financial_material_assistance",
|
|
8257
|
+
"support_via_referral"
|
|
8258
|
+
]
|
|
8259
|
+
},
|
|
8260
|
+
{
|
|
8261
|
+
code: "01-05-01-02-00-00-00",
|
|
8262
|
+
key: "host_homes_safe_homes",
|
|
8263
|
+
title: "Host Homes / Safe Homes (Private Dwellings)",
|
|
8264
|
+
selectable: true,
|
|
8265
|
+
parentCode: "01-05-01-00-00-00-00",
|
|
8266
|
+
childCodes: [],
|
|
8267
|
+
definition: "Private dwellings used for temporary housing of survivors to ensure safety.",
|
|
8268
|
+
relevantMechanisms: ["support_via_referral", "informational_support"]
|
|
8269
|
+
},
|
|
8270
|
+
{
|
|
8271
|
+
code: "01-05-01-03-00-00-00",
|
|
8272
|
+
key: "congregate_shelter_bednight",
|
|
8273
|
+
title: "Congregate Emergency Shelter Bednight",
|
|
8274
|
+
selectable: true,
|
|
8275
|
+
parentCode: "01-05-01-00-00-00-00",
|
|
8276
|
+
childCodes: [],
|
|
8277
|
+
definition: "Overnight emergency shelter placement through congregate shelter bed(s).",
|
|
8278
|
+
relevantMechanisms: [
|
|
8279
|
+
"direct_staff_contractor",
|
|
8280
|
+
"support_via_referral",
|
|
8281
|
+
"financial_material_assistance"
|
|
8282
|
+
]
|
|
8283
|
+
},
|
|
8284
|
+
{
|
|
8285
|
+
code: "01-05-01-04-00-00-00",
|
|
8286
|
+
key: "emergency_hotel_motel",
|
|
8287
|
+
title: "Emergency Hotel/Motel Placement",
|
|
8288
|
+
selectable: true,
|
|
8289
|
+
parentCode: "01-05-01-00-00-00-00",
|
|
8290
|
+
childCodes: [],
|
|
8291
|
+
definition: "Overnight emergency shelter placement through hotel/motel placement/voucher.",
|
|
8292
|
+
relevantMechanisms: ["financial_material_assistance"]
|
|
8293
|
+
},
|
|
8294
|
+
{
|
|
8295
|
+
code: "01-05-01-05-00-00-00",
|
|
8296
|
+
key: "night_by_night_shelter",
|
|
8297
|
+
title: "Night by Night Shelter",
|
|
8298
|
+
selectable: true,
|
|
8299
|
+
parentCode: "01-05-01-00-00-00-00",
|
|
8300
|
+
childCodes: [],
|
|
8301
|
+
definition: "Emergency shelter type used by high-volume shelters where clients spend a night as needed on an irregular basis.",
|
|
8302
|
+
relevantMechanisms: null
|
|
8303
|
+
},
|
|
8304
|
+
{
|
|
8305
|
+
code: "01-05-02-00-00-00-00",
|
|
8306
|
+
key: "transitional_housing",
|
|
8307
|
+
title: "Transitional & Longer-Term Temporary Housing",
|
|
8308
|
+
selectable: true,
|
|
8309
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8310
|
+
childCodes: [],
|
|
8311
|
+
definition: "Temporary housing programs (generally 6-24 months) with supportive services.",
|
|
8312
|
+
relevantMechanisms: [
|
|
8313
|
+
"support_via_referral",
|
|
8314
|
+
"financial_material_assistance",
|
|
8315
|
+
"direct_staff_contractor",
|
|
8316
|
+
"informational_support"
|
|
8317
|
+
]
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
code: "01-05-03-00-00-00-00",
|
|
8321
|
+
key: "housing_renovation_modification",
|
|
8322
|
+
title: "Housing Renovation / Modification",
|
|
8323
|
+
selectable: true,
|
|
8324
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8325
|
+
childCodes: ["01-05-03-01-00-00-00"],
|
|
8326
|
+
definition: "Minor home repairs, safety improvements, or accessibility modifications.",
|
|
8327
|
+
relevantMechanisms: [
|
|
8328
|
+
"direct_staff_contractor",
|
|
8329
|
+
"financial_material_assistance",
|
|
8330
|
+
"support_via_referral",
|
|
8331
|
+
"informational_support"
|
|
8332
|
+
]
|
|
8333
|
+
},
|
|
8334
|
+
{
|
|
8335
|
+
code: "01-05-03-01-00-00-00",
|
|
8336
|
+
key: "household_setup_goods",
|
|
8337
|
+
title: "Household Setup & Housing-Related Goods & Supplies Assistance",
|
|
8338
|
+
selectable: true,
|
|
8339
|
+
parentCode: "01-05-03-00-00-00-00",
|
|
8340
|
+
childCodes: [],
|
|
8341
|
+
definition: "Provision of household goods or equipment needed to establish or maintain safe, functional housing.",
|
|
8342
|
+
relevantMechanisms: [
|
|
8343
|
+
"financial_material_assistance",
|
|
8344
|
+
"support_via_referral"
|
|
8345
|
+
]
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
code: "01-05-04-00-00-00-00",
|
|
8349
|
+
key: "housing_navigation_placement",
|
|
8350
|
+
title: "Housing Navigation & Placement (Permanent Housing Access)",
|
|
8351
|
+
selectable: true,
|
|
8352
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8353
|
+
childCodes: ["01-05-04-01-00-00-00", "01-05-04-02-00-00-00"],
|
|
8354
|
+
definition: "Support that helps survivors obtain permanent housing.",
|
|
8355
|
+
relevantMechanisms: [
|
|
8356
|
+
"direct_staff_contractor",
|
|
8357
|
+
"financial_material_assistance",
|
|
8358
|
+
"support_via_referral",
|
|
8359
|
+
"informational_support"
|
|
8360
|
+
]
|
|
8361
|
+
},
|
|
8362
|
+
{
|
|
8363
|
+
code: "01-05-04-01-00-00-00",
|
|
8364
|
+
key: "housing_financial_assistance",
|
|
8365
|
+
title: "Housing Financial Assistance",
|
|
8366
|
+
selectable: true,
|
|
8367
|
+
parentCode: "01-05-04-00-00-00-00",
|
|
8368
|
+
childCodes: ["01-05-04-01-01-00-00"],
|
|
8369
|
+
definition: "Direct financial support to cover housing-related costs.",
|
|
8370
|
+
relevantMechanisms: [
|
|
8371
|
+
"financial_material_assistance",
|
|
8372
|
+
"support_via_referral"
|
|
8373
|
+
]
|
|
8374
|
+
},
|
|
8375
|
+
{
|
|
8376
|
+
code: "01-05-04-01-01-00-00",
|
|
8377
|
+
key: "rental_payment_assistance",
|
|
8378
|
+
title: "Rental Payment Assistance",
|
|
8379
|
+
selectable: true,
|
|
8380
|
+
parentCode: "01-05-04-01-00-00-00",
|
|
8381
|
+
childCodes: ["01-05-04-01-01-01-00", "01-05-04-01-01-02-00"],
|
|
8382
|
+
definition: "Direct payment or subsidy for rent or rent arrears.",
|
|
8383
|
+
relevantMechanisms: [
|
|
8384
|
+
"financial_material_assistance",
|
|
8385
|
+
"support_via_referral"
|
|
8386
|
+
]
|
|
8387
|
+
},
|
|
8388
|
+
{
|
|
8389
|
+
code: "01-05-04-01-01-01-00",
|
|
8390
|
+
key: "security_deposit_allowance",
|
|
8391
|
+
title: "Security Deposit Allowance",
|
|
8392
|
+
selectable: true,
|
|
8393
|
+
parentCode: "01-05-04-01-01-00-00",
|
|
8394
|
+
childCodes: [],
|
|
8395
|
+
definition: "Direct payment for a security deposit required to obtain housing.",
|
|
8396
|
+
relevantMechanisms: [
|
|
8397
|
+
"financial_material_assistance",
|
|
8398
|
+
"support_via_referral"
|
|
8399
|
+
]
|
|
8400
|
+
},
|
|
8401
|
+
{
|
|
8402
|
+
code: "01-05-04-01-01-02-00",
|
|
8403
|
+
key: "utility_assistance",
|
|
8404
|
+
title: "Utility Assistance",
|
|
8405
|
+
selectable: true,
|
|
8406
|
+
parentCode: "01-05-04-01-01-00-00",
|
|
8407
|
+
childCodes: [],
|
|
8408
|
+
definition: "Direct payment for utility costs to obtain or maintain housing.",
|
|
8409
|
+
relevantMechanisms: [
|
|
8410
|
+
"financial_material_assistance",
|
|
8411
|
+
"support_via_referral"
|
|
8412
|
+
]
|
|
8413
|
+
},
|
|
8414
|
+
{
|
|
8415
|
+
code: "01-05-04-02-00-00-00",
|
|
8416
|
+
key: "relocation_moving_assistance",
|
|
8417
|
+
title: "Relocation & Moving Assistance",
|
|
8418
|
+
selectable: true,
|
|
8419
|
+
parentCode: "01-05-04-00-00-00-00",
|
|
8420
|
+
childCodes: [],
|
|
8421
|
+
definition: "Support that enables a survivor to relocate and complete a move to safer/more stable housing.",
|
|
8422
|
+
relevantMechanisms: [
|
|
8423
|
+
"direct_staff_contractor",
|
|
8424
|
+
"financial_material_assistance",
|
|
8425
|
+
"support_via_referral"
|
|
8426
|
+
]
|
|
8427
|
+
},
|
|
8428
|
+
{
|
|
8429
|
+
code: "01-05-05-00-00-00-00",
|
|
8430
|
+
key: "housing_stabilization_eviction_prevention",
|
|
8431
|
+
title: "Housing Stabilization & Eviction Prevention",
|
|
8432
|
+
selectable: true,
|
|
8433
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8434
|
+
childCodes: [],
|
|
8435
|
+
definition: "Services aimed at helping survivors remain safely housed and prevent homelessness.",
|
|
8436
|
+
relevantMechanisms: [
|
|
8437
|
+
"direct_staff_contractor",
|
|
8438
|
+
"financial_material_assistance",
|
|
8439
|
+
"support_via_referral",
|
|
8440
|
+
"informational_support"
|
|
8441
|
+
]
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
code: "01-05-06-00-00-00-00",
|
|
8445
|
+
key: "tenant_based_scattered_site",
|
|
8446
|
+
title: "Tenant-based scattered site",
|
|
8447
|
+
selectable: true,
|
|
8448
|
+
parentCode: "01-05-00-00-00-00-00",
|
|
8449
|
+
childCodes: [],
|
|
8450
|
+
definition: "Clients have leases in residences not owned or managed by the project/VSP agency.",
|
|
8451
|
+
relevantMechanisms: null
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
code: "01-06-00-00-00-00-00",
|
|
8455
|
+
key: "legal_services",
|
|
8456
|
+
title: "Legal Services",
|
|
8457
|
+
selectable: false,
|
|
8458
|
+
parentCode: null,
|
|
8459
|
+
childCodes: [
|
|
8460
|
+
"01-06-01-00-00-00-00",
|
|
8461
|
+
"01-06-02-00-00-00-00",
|
|
8462
|
+
"01-06-03-00-00-00-00",
|
|
8463
|
+
"01-06-04-00-00-00-00",
|
|
8464
|
+
"01-06-05-00-00-00-00"
|
|
8465
|
+
],
|
|
8466
|
+
definition: "Legal assistance and representation provided to support survivors in understanding, asserting, and protecting their legal rights.",
|
|
8467
|
+
relevantMechanisms: null
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
code: "01-06-01-00-00-00-00",
|
|
8471
|
+
key: "immigration_relief",
|
|
8472
|
+
title: "Immigration Relief",
|
|
8473
|
+
selectable: true,
|
|
8474
|
+
parentCode: "01-06-00-00-00-00-00",
|
|
8475
|
+
childCodes: ["01-06-01-01-00-00-00"],
|
|
8476
|
+
definition: "Immigration assistance (e.g., special visas, continued presence applications).",
|
|
8477
|
+
relevantMechanisms: [
|
|
8478
|
+
"direct_staff_contractor",
|
|
8479
|
+
"financial_material_assistance",
|
|
8480
|
+
"support_via_referral",
|
|
8481
|
+
"informational_support"
|
|
8482
|
+
]
|
|
8483
|
+
},
|
|
8484
|
+
{
|
|
8485
|
+
code: "01-06-01-01-00-00-00",
|
|
8486
|
+
key: "repatriation",
|
|
8487
|
+
title: "Repatriation",
|
|
8488
|
+
selectable: true,
|
|
8489
|
+
parentCode: "01-06-01-00-00-00-00",
|
|
8490
|
+
childCodes: [],
|
|
8491
|
+
definition: "Services/activities related to the client's intention to return to their country of citizenship.",
|
|
8492
|
+
relevantMechanisms: null
|
|
8493
|
+
},
|
|
8494
|
+
{
|
|
8495
|
+
code: "01-06-02-00-00-00-00",
|
|
8496
|
+
key: "family_law",
|
|
8497
|
+
title: "Family law",
|
|
8498
|
+
selectable: true,
|
|
8499
|
+
parentCode: "01-06-00-00-00-00-00",
|
|
8500
|
+
childCodes: [],
|
|
8501
|
+
definition: "Assisting with custody/visitation/support and other family law issues.",
|
|
8502
|
+
relevantMechanisms: [
|
|
8503
|
+
"direct_staff_contractor",
|
|
8504
|
+
"financial_material_assistance",
|
|
8505
|
+
"support_via_referral",
|
|
8506
|
+
"informational_support"
|
|
8507
|
+
]
|
|
8508
|
+
},
|
|
8509
|
+
{
|
|
8510
|
+
code: "01-06-03-00-00-00-00",
|
|
8511
|
+
key: "criminal_support",
|
|
8512
|
+
title: "Criminal support",
|
|
8513
|
+
selectable: true,
|
|
8514
|
+
parentCode: "01-06-00-00-00-00-00",
|
|
8515
|
+
childCodes: [
|
|
8516
|
+
"01-06-03-01-00-00-00",
|
|
8517
|
+
"01-06-03-02-00-00-00",
|
|
8518
|
+
"01-06-03-03-00-00-00",
|
|
8519
|
+
"01-06-03-04-00-00-00",
|
|
8520
|
+
"01-06-03-05-00-00-00"
|
|
8521
|
+
],
|
|
8522
|
+
definition: "Notifying victims about hearings, defendant release, case status, and related criminal justice support.",
|
|
8523
|
+
relevantMechanisms: null
|
|
8524
|
+
},
|
|
8525
|
+
{
|
|
8526
|
+
code: "01-06-03-01-00-00-00",
|
|
8527
|
+
key: "victim_impact_statement",
|
|
8528
|
+
title: "Victim Impact Statement Assistance",
|
|
8529
|
+
selectable: true,
|
|
8530
|
+
parentCode: "01-06-03-00-00-00-00",
|
|
8531
|
+
childCodes: [],
|
|
8532
|
+
definition: "Assisting the victim with preparing/submitting an impact statement.",
|
|
8533
|
+
relevantMechanisms: null
|
|
8534
|
+
},
|
|
8535
|
+
{
|
|
8536
|
+
code: "01-06-03-02-00-00-00",
|
|
8537
|
+
key: "perpetrator_accountability",
|
|
8538
|
+
title: "Perpetrator Accountability | Batterer's Intervention Program",
|
|
8539
|
+
selectable: true,
|
|
8540
|
+
parentCode: "01-06-03-00-00-00-00",
|
|
8541
|
+
childCodes: [],
|
|
8542
|
+
definition: "Providing the client/survivor with information on perpetrator accountability programs.",
|
|
8543
|
+
relevantMechanisms: null
|
|
8544
|
+
},
|
|
8545
|
+
{
|
|
8546
|
+
code: "01-06-03-03-00-00-00",
|
|
8547
|
+
key: "victim_compensation",
|
|
8548
|
+
title: "Victim Compensation (Restitution)",
|
|
8549
|
+
selectable: true,
|
|
8550
|
+
parentCode: "01-06-03-00-00-00-00",
|
|
8551
|
+
childCodes: [],
|
|
8552
|
+
definition: "Assisting victims in requesting restitution.",
|
|
8553
|
+
relevantMechanisms: null
|
|
8554
|
+
},
|
|
8555
|
+
{
|
|
8556
|
+
code: "01-06-03-04-00-00-00",
|
|
8557
|
+
key: "victims_rights_representation",
|
|
8558
|
+
title: "Victim's Rights Representation",
|
|
8559
|
+
selectable: true,
|
|
8560
|
+
parentCode: "01-06-03-00-00-00-00",
|
|
8561
|
+
childCodes: [],
|
|
8562
|
+
definition: "Informing victims about victim-rights frameworks, compensation programs, and notification systems.",
|
|
8563
|
+
relevantMechanisms: null
|
|
8564
|
+
},
|
|
8565
|
+
{
|
|
8566
|
+
code: "01-06-03-05-00-00-00",
|
|
8567
|
+
key: "criminal_record_relief",
|
|
8568
|
+
title: "Criminal Record Relief",
|
|
8569
|
+
selectable: true,
|
|
8570
|
+
parentCode: "01-06-03-00-00-00-00",
|
|
8571
|
+
childCodes: [],
|
|
8572
|
+
definition: "Assistance addressing criminal record history resulting from the trafficking situation.",
|
|
8573
|
+
relevantMechanisms: null
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
code: "01-06-04-00-00-00-00",
|
|
8577
|
+
key: "civil_support",
|
|
8578
|
+
title: "Civil Support",
|
|
8579
|
+
selectable: true,
|
|
8580
|
+
parentCode: "01-06-00-00-00-00-00",
|
|
8581
|
+
childCodes: ["01-06-04-01-00-00-00", "01-06-04-02-00-00-00"],
|
|
8582
|
+
definition: "Legal assistance for non-criminal legal issues affecting a survivor's rights, safety, or stability.",
|
|
8583
|
+
relevantMechanisms: null
|
|
8584
|
+
},
|
|
8585
|
+
{
|
|
8586
|
+
code: "01-06-04-01-00-00-00",
|
|
8587
|
+
key: "protection_restraining_orders",
|
|
8588
|
+
title: "Protection or Restraining Orders",
|
|
8589
|
+
selectable: true,
|
|
8590
|
+
parentCode: "01-06-04-00-00-00-00",
|
|
8591
|
+
childCodes: [],
|
|
8592
|
+
definition: "Advising/assisting in obtaining orders and related follow-up hearings.",
|
|
8593
|
+
relevantMechanisms: null
|
|
8594
|
+
},
|
|
8595
|
+
{
|
|
8596
|
+
code: "01-06-04-02-00-00-00",
|
|
8597
|
+
key: "public_benefits_law",
|
|
8598
|
+
title: "Public Benefits Law",
|
|
8599
|
+
selectable: true,
|
|
8600
|
+
parentCode: "01-06-04-00-00-00-00",
|
|
8601
|
+
childCodes: [],
|
|
8602
|
+
definition: "Services to address social-service needs by informing clients of available benefits.",
|
|
8603
|
+
relevantMechanisms: null
|
|
8604
|
+
},
|
|
8605
|
+
{
|
|
8606
|
+
code: "01-06-05-00-00-00-00",
|
|
8607
|
+
key: "emergency_safety_assistance",
|
|
8608
|
+
title: "Emergency Safety Assistance",
|
|
8609
|
+
selectable: true,
|
|
8610
|
+
parentCode: "01-06-00-00-00-00-00",
|
|
8611
|
+
childCodes: [],
|
|
8612
|
+
definition: "Legal assistance that does not fit another subcategory.",
|
|
8613
|
+
relevantMechanisms: null
|
|
8614
|
+
},
|
|
8615
|
+
{
|
|
8616
|
+
code: "01-07-00-00-00-00-00",
|
|
8617
|
+
key: "basic_needs",
|
|
8618
|
+
title: "Basic Needs",
|
|
8619
|
+
selectable: false,
|
|
8620
|
+
parentCode: null,
|
|
8621
|
+
childCodes: [
|
|
8622
|
+
"01-07-01-00-00-00-00",
|
|
8623
|
+
"01-07-02-00-00-00-00",
|
|
8624
|
+
"01-07-03-00-00-00-00",
|
|
8625
|
+
"01-07-04-00-00-00-00",
|
|
8626
|
+
"01-07-05-00-00-00-00",
|
|
8627
|
+
"01-07-06-00-00-00-00",
|
|
8628
|
+
"01-07-07-00-00-00-00"
|
|
8629
|
+
],
|
|
8630
|
+
definition: "Core supports provided to meet a survivor's essential daily living requirements.",
|
|
8631
|
+
relevantMechanisms: null
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
code: "01-07-01-00-00-00-00",
|
|
8635
|
+
key: "clothing_shoes_accessories",
|
|
8636
|
+
title: "Clothing / Shoes / Accessories / Suitcases",
|
|
8637
|
+
selectable: true,
|
|
8638
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8639
|
+
childCodes: ["01-07-01-01-00-00-00"],
|
|
8640
|
+
definition: "Essential clothing and personal items provided to support basic comfort, dignity, and immediate needs.",
|
|
8641
|
+
relevantMechanisms: [
|
|
8642
|
+
"financial_material_assistance",
|
|
8643
|
+
"support_via_referral"
|
|
8644
|
+
]
|
|
8645
|
+
},
|
|
8646
|
+
{
|
|
8647
|
+
code: "01-07-01-01-00-00-00",
|
|
8648
|
+
key: "elder_assistance",
|
|
8649
|
+
title: "Elder Assistance",
|
|
8650
|
+
selectable: true,
|
|
8651
|
+
parentCode: "01-07-01-00-00-00-00",
|
|
8652
|
+
childCodes: [],
|
|
8653
|
+
definition: null,
|
|
8654
|
+
relevantMechanisms: null
|
|
8655
|
+
},
|
|
8656
|
+
{
|
|
8657
|
+
code: "01-07-02-00-00-00-00",
|
|
8658
|
+
key: "food",
|
|
8659
|
+
title: "Food",
|
|
8660
|
+
selectable: true,
|
|
8661
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8662
|
+
childCodes: [],
|
|
8663
|
+
definition: "Provision of food, meals, or related basic items to meet a survivor's immediate nutritional needs.",
|
|
8664
|
+
relevantMechanisms: [
|
|
8665
|
+
"financial_material_assistance",
|
|
8666
|
+
"support_via_referral"
|
|
8667
|
+
]
|
|
8668
|
+
},
|
|
8669
|
+
{
|
|
8670
|
+
code: "01-07-03-00-00-00-00",
|
|
8671
|
+
key: "over_the_counter_medications",
|
|
8672
|
+
title: "Over the Counter Medications",
|
|
8673
|
+
selectable: true,
|
|
8674
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8675
|
+
childCodes: [],
|
|
8676
|
+
definition: "Non-prescription medications provided to address common, immediate health needs.",
|
|
8677
|
+
relevantMechanisms: [
|
|
8678
|
+
"financial_material_assistance",
|
|
8679
|
+
"support_via_referral"
|
|
8680
|
+
]
|
|
8681
|
+
},
|
|
8682
|
+
{
|
|
8683
|
+
code: "01-07-04-00-00-00-00",
|
|
8684
|
+
key: "immediate_safety_planning",
|
|
8685
|
+
title: "Immediate Safety/Safety Planning",
|
|
8686
|
+
selectable: true,
|
|
8687
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8688
|
+
childCodes: ["01-07-04-01-00-00-00"],
|
|
8689
|
+
definition: "A collaborative process of working with the survivor to develop or update practical safety tools and strategies.",
|
|
8690
|
+
relevantMechanisms: [
|
|
8691
|
+
"direct_staff_contractor",
|
|
8692
|
+
"support_via_referral",
|
|
8693
|
+
"informational_support"
|
|
8694
|
+
]
|
|
8695
|
+
},
|
|
8696
|
+
{
|
|
8697
|
+
code: "01-07-04-01-00-00-00",
|
|
8698
|
+
key: "emergency_crisis_safety_support",
|
|
8699
|
+
title: "Emergency/Crisis & Safety Support (Non-Clinical)",
|
|
8700
|
+
selectable: true,
|
|
8701
|
+
parentCode: "01-07-04-00-00-00-00",
|
|
8702
|
+
childCodes: [],
|
|
8703
|
+
definition: "Services based upon a problem-solving model to provide information and referrals that assist a DV/SA or stalking victim/survivor in crisis.",
|
|
8704
|
+
relevantMechanisms: [
|
|
8705
|
+
"direct_staff_contractor",
|
|
8706
|
+
"support_via_referral",
|
|
8707
|
+
"informational_support"
|
|
8708
|
+
]
|
|
8709
|
+
},
|
|
8710
|
+
{
|
|
8711
|
+
code: "01-07-05-00-00-00-00",
|
|
8712
|
+
key: "hygiene_items_personal_care",
|
|
8713
|
+
title: "Hygiene Items, Self-Care Resources, Toiletry, Personal Care",
|
|
8714
|
+
selectable: true,
|
|
8715
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8716
|
+
childCodes: [],
|
|
8717
|
+
definition: "Provision of basic hygiene and personal care items needed to support cleanliness, health, comfort, and dignity.",
|
|
8718
|
+
relevantMechanisms: [
|
|
8719
|
+
"financial_material_assistance",
|
|
8720
|
+
"support_via_referral"
|
|
8721
|
+
]
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
code: "01-07-06-00-00-00-00",
|
|
8725
|
+
key: "communications_connectivity",
|
|
8726
|
+
title: "Communications / Connectivity",
|
|
8727
|
+
selectable: true,
|
|
8728
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8729
|
+
childCodes: [],
|
|
8730
|
+
definition: "Support to ensure a survivor can communicate via access to phones, minutes, data, internet, devices, or related tools.",
|
|
8731
|
+
relevantMechanisms: [
|
|
8732
|
+
"financial_material_assistance",
|
|
8733
|
+
"support_via_referral"
|
|
8734
|
+
]
|
|
8735
|
+
},
|
|
8736
|
+
{
|
|
8737
|
+
code: "01-07-07-00-00-00-00",
|
|
8738
|
+
key: "interpreter_services",
|
|
8739
|
+
title: "Interpreter Services",
|
|
8740
|
+
selectable: true,
|
|
8741
|
+
parentCode: "01-07-00-00-00-00-00",
|
|
8742
|
+
childCodes: [],
|
|
8743
|
+
definition: "Providing communication supports for victims with limited English proficiency or communication-related disabilities.",
|
|
8744
|
+
relevantMechanisms: null
|
|
8745
|
+
},
|
|
8746
|
+
{
|
|
8747
|
+
code: "01-08-00-00-00-00-00",
|
|
8748
|
+
key: "informal_education_life_skills",
|
|
8749
|
+
title: "Informal Education & Life Skills",
|
|
8750
|
+
selectable: false,
|
|
8751
|
+
parentCode: null,
|
|
8752
|
+
childCodes: [
|
|
8753
|
+
"01-08-01-00-00-00-00",
|
|
8754
|
+
"01-08-02-00-00-00-00",
|
|
8755
|
+
"01-08-03-00-00-00-00",
|
|
8756
|
+
"01-08-04-00-00-00-00"
|
|
8757
|
+
],
|
|
8758
|
+
definition: "Services that support a survivor in accessing or succeeding in formal education and/or building practical life skills.",
|
|
8759
|
+
relevantMechanisms: [
|
|
8760
|
+
"direct_staff_contractor",
|
|
8761
|
+
"financial_material_assistance",
|
|
8762
|
+
"informational_support"
|
|
8763
|
+
]
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
code: "01-08-01-00-00-00-00",
|
|
8767
|
+
key: "basic_life_skills_self_care",
|
|
8768
|
+
title: "Basic Life Skills & Self-Care",
|
|
8769
|
+
selectable: true,
|
|
8770
|
+
parentCode: "01-08-00-00-00-00-00",
|
|
8771
|
+
childCodes: [],
|
|
8772
|
+
definition: "Non-clinical supports that build survivors' day-to-day functioning and independence skills.",
|
|
8773
|
+
relevantMechanisms: [
|
|
8774
|
+
"direct_staff_contractor",
|
|
8775
|
+
"financial_material_assistance",
|
|
8776
|
+
"informational_support"
|
|
8777
|
+
]
|
|
8778
|
+
},
|
|
8779
|
+
{
|
|
8780
|
+
code: "01-08-02-00-00-00-00",
|
|
8781
|
+
key: "accessibility_disability_support",
|
|
8782
|
+
title: "Accessibility & Disability Independence Support",
|
|
8783
|
+
selectable: true,
|
|
8784
|
+
parentCode: "01-08-00-00-00-00-00",
|
|
8785
|
+
childCodes: [],
|
|
8786
|
+
definition: "Non-clinical support that helps a survivor obtain or use accessibility accommodations and disability-related resources.",
|
|
8787
|
+
relevantMechanisms: [
|
|
8788
|
+
"direct_staff_contractor",
|
|
8789
|
+
"financial_material_assistance",
|
|
8790
|
+
"informational_support"
|
|
8791
|
+
]
|
|
8792
|
+
},
|
|
8793
|
+
{
|
|
8794
|
+
code: "01-08-03-00-00-00-00",
|
|
8795
|
+
key: "parenting_education",
|
|
8796
|
+
title: "Parenting Education & Family Skill-Building",
|
|
8797
|
+
selectable: true,
|
|
8798
|
+
parentCode: "01-08-00-00-00-00-00",
|
|
8799
|
+
childCodes: [],
|
|
8800
|
+
definition: "Structured parenting education or coaching intended to build parenting knowledge and skills (non-therapeutic).",
|
|
8801
|
+
relevantMechanisms: [
|
|
8802
|
+
"direct_staff_contractor",
|
|
8803
|
+
"financial_material_assistance",
|
|
8804
|
+
"informational_support",
|
|
8805
|
+
"support_via_referral"
|
|
8806
|
+
]
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
code: "01-08-04-00-00-00-00",
|
|
8810
|
+
key: "learning_language_classes",
|
|
8811
|
+
title: "Learning Language Classes",
|
|
8812
|
+
selectable: true,
|
|
8813
|
+
parentCode: "01-08-00-00-00-00-00",
|
|
8814
|
+
childCodes: [],
|
|
8815
|
+
definition: "Supporting survivors in learning language skills foundational to navigating their environment.",
|
|
8816
|
+
relevantMechanisms: null
|
|
8817
|
+
},
|
|
8818
|
+
{
|
|
8819
|
+
code: "01-09-00-00-00-00-00",
|
|
8820
|
+
key: "transportation",
|
|
8821
|
+
title: "Transportation",
|
|
8822
|
+
selectable: false,
|
|
8823
|
+
parentCode: null,
|
|
8824
|
+
childCodes: [
|
|
8825
|
+
"01-09-01-00-00-00-00",
|
|
8826
|
+
"01-09-02-00-00-00-00",
|
|
8827
|
+
"01-09-03-00-00-00-00",
|
|
8828
|
+
"01-09-04-00-00-00-00",
|
|
8829
|
+
"01-09-05-00-00-00-00"
|
|
8830
|
+
],
|
|
8831
|
+
definition: "Services, resources, and supports that enable survivors to travel to access services or safety.",
|
|
8832
|
+
relevantMechanisms: [
|
|
8833
|
+
"direct_staff_contractor",
|
|
8834
|
+
"financial_material_assistance",
|
|
8835
|
+
"support_via_referral"
|
|
8836
|
+
]
|
|
8837
|
+
},
|
|
8838
|
+
{
|
|
8839
|
+
code: "01-09-01-00-00-00-00",
|
|
8840
|
+
key: "transportation_assistance_direct",
|
|
8841
|
+
title: "Transportation Assistance (Direct from agency)",
|
|
8842
|
+
selectable: true,
|
|
8843
|
+
parentCode: "01-09-00-00-00-00-00",
|
|
8844
|
+
childCodes: ["01-09-01-01-00-00-00"],
|
|
8845
|
+
definition: "Transportation provided directly by staff/agency, including mileage-based transport.",
|
|
8846
|
+
relevantMechanisms: null
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
code: "01-09-01-01-00-00-00",
|
|
8850
|
+
key: "transportation_direct_emergency",
|
|
8851
|
+
title: "Transportation direct from agency (Emergency Status)",
|
|
8852
|
+
selectable: true,
|
|
8853
|
+
parentCode: "01-09-01-00-00-00-00",
|
|
8854
|
+
childCodes: [],
|
|
8855
|
+
definition: null,
|
|
8856
|
+
relevantMechanisms: null
|
|
8857
|
+
},
|
|
8858
|
+
{
|
|
8859
|
+
code: "01-09-02-00-00-00-00",
|
|
8860
|
+
key: "taxi_rideshare_voucher",
|
|
8861
|
+
title: "Taxi / RideShare Voucher",
|
|
8862
|
+
selectable: true,
|
|
8863
|
+
parentCode: "01-09-00-00-00-00-00",
|
|
8864
|
+
childCodes: ["01-09-02-01-00-00-00"],
|
|
8865
|
+
definition: "Provision of taxi/rideshare rides via voucher, account credit, or direct booking.",
|
|
8866
|
+
relevantMechanisms: ["financial_material_assistance"]
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
code: "01-09-02-01-00-00-00",
|
|
8870
|
+
key: "taxi_rideshare_emergency",
|
|
8871
|
+
title: "Taxi / RideShare Voucher (Emergency Status)",
|
|
8872
|
+
selectable: true,
|
|
8873
|
+
parentCode: "01-09-02-00-00-00-00",
|
|
8874
|
+
childCodes: [],
|
|
8875
|
+
definition: null,
|
|
8876
|
+
relevantMechanisms: null
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
code: "01-09-03-00-00-00-00",
|
|
8880
|
+
key: "bus_fare_pass",
|
|
8881
|
+
title: "Bus Fare / Pass",
|
|
8882
|
+
selectable: true,
|
|
8883
|
+
parentCode: "01-09-00-00-00-00-00",
|
|
8884
|
+
childCodes: ["01-09-03-01-00-00-00"],
|
|
8885
|
+
definition: "Provision of bus tickets, transit passes, transit cards, or tokens.",
|
|
8886
|
+
relevantMechanisms: ["financial_material_assistance"]
|
|
8887
|
+
},
|
|
8888
|
+
{
|
|
8889
|
+
code: "01-09-03-01-00-00-00",
|
|
8890
|
+
key: "bus_fare_pass_emergency",
|
|
8891
|
+
title: "Bus Fare / Pass (Emergency Status)",
|
|
8892
|
+
selectable: true,
|
|
8893
|
+
parentCode: "01-09-03-00-00-00-00",
|
|
8894
|
+
childCodes: [],
|
|
8895
|
+
definition: null,
|
|
8896
|
+
relevantMechanisms: null
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
code: "01-09-04-00-00-00-00",
|
|
8900
|
+
key: "gift_card_gas_card",
|
|
8901
|
+
title: "Gift Card / Gas Card",
|
|
8902
|
+
selectable: true,
|
|
8903
|
+
parentCode: "01-09-00-00-00-00-00",
|
|
8904
|
+
childCodes: ["01-09-04-01-00-00-00"],
|
|
8905
|
+
definition: "Provision of fuel support via gas cards or equivalent fuel purchase support.",
|
|
8906
|
+
relevantMechanisms: ["financial_material_assistance"]
|
|
8907
|
+
},
|
|
8908
|
+
{
|
|
8909
|
+
code: "01-09-04-01-00-00-00",
|
|
8910
|
+
key: "gift_card_gas_card_emergency",
|
|
8911
|
+
title: "Gift Card / Gas Card (Emergency Status)",
|
|
8912
|
+
selectable: true,
|
|
8913
|
+
parentCode: "01-09-04-00-00-00-00",
|
|
8914
|
+
childCodes: [],
|
|
8915
|
+
definition: null,
|
|
8916
|
+
relevantMechanisms: null
|
|
8917
|
+
},
|
|
8918
|
+
{
|
|
8919
|
+
code: "01-09-05-00-00-00-00",
|
|
8920
|
+
key: "airline_tickets",
|
|
8921
|
+
title: "Airline tickets",
|
|
8922
|
+
selectable: true,
|
|
8923
|
+
parentCode: "01-09-00-00-00-00-00",
|
|
8924
|
+
childCodes: ["01-09-05-01-00-00-00"],
|
|
8925
|
+
definition: "Purchase/provision of commercial air travel to access safety, housing, or critical services.",
|
|
8926
|
+
relevantMechanisms: [
|
|
8927
|
+
"direct_staff_contractor",
|
|
8928
|
+
"financial_material_assistance"
|
|
8929
|
+
]
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
code: "01-09-05-01-00-00-00",
|
|
8933
|
+
key: "airline_tickets_emergency",
|
|
8934
|
+
title: "Airline tickets (Emergency Status)",
|
|
8935
|
+
selectable: true,
|
|
8936
|
+
parentCode: "01-09-05-00-00-00-00",
|
|
8937
|
+
childCodes: [],
|
|
8938
|
+
definition: null,
|
|
8939
|
+
relevantMechanisms: null
|
|
8940
|
+
},
|
|
8941
|
+
{
|
|
8942
|
+
code: "01-10-00-00-00-00-00",
|
|
8943
|
+
key: "dependents",
|
|
8944
|
+
title: "Dependents",
|
|
8945
|
+
selectable: false,
|
|
8946
|
+
parentCode: null,
|
|
8947
|
+
childCodes: ["01-10-01-00-00-00-00", "01-10-02-00-00-00-00"],
|
|
8948
|
+
definition: "Services, resources, and supports that help a survivor access or maintain services by ensuring safe, appropriate care or structured supervision for children/dependents.",
|
|
8949
|
+
relevantMechanisms: [
|
|
8950
|
+
"direct_staff_contractor",
|
|
8951
|
+
"financial_material_assistance",
|
|
8952
|
+
"support_via_referral",
|
|
8953
|
+
"informational_support"
|
|
8954
|
+
]
|
|
8955
|
+
},
|
|
8956
|
+
{
|
|
8957
|
+
code: "01-10-01-00-00-00-00",
|
|
8958
|
+
key: "pet_care",
|
|
8959
|
+
title: "Pet care",
|
|
8960
|
+
selectable: true,
|
|
8961
|
+
parentCode: "01-10-00-00-00-00-00",
|
|
8962
|
+
childCodes: [],
|
|
8963
|
+
definition: "Assistance caring/housing or providing basic needs for pets of clients/client households.",
|
|
8964
|
+
relevantMechanisms: null
|
|
8965
|
+
},
|
|
8966
|
+
{
|
|
8967
|
+
code: "01-10-02-00-00-00-00",
|
|
8968
|
+
key: "child_care",
|
|
8969
|
+
title: "Child care",
|
|
8970
|
+
selectable: true,
|
|
8971
|
+
parentCode: "01-10-00-00-00-00-00",
|
|
8972
|
+
childCodes: ["01-10-02-01-00-00-00"],
|
|
8973
|
+
definition: "Direct provision of care/supervision for a survivor's child/dependent or support that secures such care.",
|
|
8974
|
+
relevantMechanisms: [
|
|
8975
|
+
"direct_staff_contractor",
|
|
8976
|
+
"financial_material_assistance",
|
|
8977
|
+
"support_via_referral",
|
|
8978
|
+
"informational_support"
|
|
8979
|
+
]
|
|
8980
|
+
},
|
|
8981
|
+
{
|
|
8982
|
+
code: "01-10-02-01-00-00-00",
|
|
8983
|
+
key: "childrens_activities",
|
|
8984
|
+
title: "Children's activities",
|
|
8985
|
+
selectable: true,
|
|
8986
|
+
parentCode: "01-10-02-00-00-00-00",
|
|
8987
|
+
childCodes: ["01-10-02-01-01-00-00"],
|
|
8988
|
+
definition: "Supervised, non-clinical activities provided to children/dependents that support safety, stabilization, engagement, or caregiver service access.",
|
|
8989
|
+
relevantMechanisms: [
|
|
8990
|
+
"direct_staff_contractor",
|
|
8991
|
+
"financial_material_assistance"
|
|
8992
|
+
]
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
code: "01-10-02-01-01-00-00",
|
|
8996
|
+
key: "children_youth_baby_supplies",
|
|
8997
|
+
title: "Children / youth / baby supplies",
|
|
8998
|
+
selectable: true,
|
|
8999
|
+
parentCode: "01-10-02-01-00-00-00",
|
|
9000
|
+
childCodes: [],
|
|
9001
|
+
definition: "Provision of materials that are specific to children/babies.",
|
|
9002
|
+
relevantMechanisms: [
|
|
9003
|
+
"financial_material_assistance",
|
|
9004
|
+
"support_via_referral"
|
|
9005
|
+
]
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
code: "01-11-00-00-00-00-00",
|
|
9009
|
+
key: "case_coordination",
|
|
9010
|
+
title: "Case Coordination",
|
|
9011
|
+
selectable: false,
|
|
9012
|
+
parentCode: null,
|
|
9013
|
+
childCodes: [
|
|
9014
|
+
"01-11-01-00-00-00-00",
|
|
9015
|
+
"01-11-02-00-00-00-00",
|
|
9016
|
+
"01-11-03-00-00-00-00"
|
|
9017
|
+
],
|
|
9018
|
+
definition: "Ongoing support + coordination to help survivor cope/overcome effects, through a service plan, skills-building, and linking to resources.",
|
|
9019
|
+
relevantMechanisms: null
|
|
9020
|
+
},
|
|
9021
|
+
{
|
|
9022
|
+
code: "01-11-01-00-00-00-00",
|
|
9023
|
+
key: "advocacy",
|
|
9024
|
+
title: "Advocacy",
|
|
9025
|
+
selectable: true,
|
|
9026
|
+
parentCode: "01-11-00-00-00-00-00",
|
|
9027
|
+
childCodes: [
|
|
9028
|
+
"01-11-01-01-00-00-00",
|
|
9029
|
+
"01-11-01-02-00-00-00",
|
|
9030
|
+
"01-11-01-03-00-00-00",
|
|
9031
|
+
"01-11-01-04-00-00-00",
|
|
9032
|
+
"01-11-01-05-00-00-00",
|
|
9033
|
+
"01-11-01-06-00-00-00",
|
|
9034
|
+
"01-11-01-07-00-00-00"
|
|
9035
|
+
],
|
|
9036
|
+
definition: "Assistance within external systems to reduce barriers, increase access, and support survivor self-reliance.",
|
|
9037
|
+
relevantMechanisms: ["direct_staff_contractor", "informational_support"]
|
|
9038
|
+
},
|
|
9039
|
+
{
|
|
9040
|
+
code: "01-11-01-01-00-00-00",
|
|
9041
|
+
key: "medical_advocacy",
|
|
9042
|
+
title: "Medical Advocacy (Victim Advocacy Accompany for Medical)",
|
|
9043
|
+
selectable: true,
|
|
9044
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9045
|
+
childCodes: ["01-11-01-01-01-00-00", "01-11-01-01-02-00-00"],
|
|
9046
|
+
definition: "Includes: Victim Advocacy/Accompaniment to Emergency Medical Care and to Medical Forensic Exam.",
|
|
9047
|
+
relevantMechanisms: ["direct_staff_contractor", "informational_support"]
|
|
9048
|
+
},
|
|
9049
|
+
{
|
|
9050
|
+
code: "01-11-01-01-01-00-00",
|
|
9051
|
+
key: "advocacy_emergency_medical",
|
|
9052
|
+
title: "Victim Advocacy/Accompaniment to Emergency Medical Care",
|
|
9053
|
+
selectable: true,
|
|
9054
|
+
parentCode: "01-11-01-01-00-00-00",
|
|
9055
|
+
childCodes: [],
|
|
9056
|
+
definition: "Coordinating and/or helping a victim obtain emergency medical care, including emotional and/or physical support.",
|
|
9057
|
+
relevantMechanisms: null
|
|
9058
|
+
},
|
|
9059
|
+
{
|
|
9060
|
+
code: "01-11-01-01-02-00-00",
|
|
9061
|
+
key: "advocacy_forensic_exam",
|
|
9062
|
+
title: "Victim Advocacy/Accompaniment to Medical Forensic Exam",
|
|
9063
|
+
selectable: true,
|
|
9064
|
+
parentCode: "01-11-01-01-00-00-00",
|
|
9065
|
+
childCodes: [],
|
|
9066
|
+
definition: "Coordinating and/or helping a victim obtain a forensic interview or medical forensic exam.",
|
|
9067
|
+
relevantMechanisms: null
|
|
9068
|
+
},
|
|
9069
|
+
{
|
|
9070
|
+
code: "01-11-01-02-00-00-00",
|
|
9071
|
+
key: "court_advocacy",
|
|
9072
|
+
title: "Court Advocacy (Victim Advocacy Accompany for Legal)",
|
|
9073
|
+
selectable: true,
|
|
9074
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9075
|
+
childCodes: [
|
|
9076
|
+
"01-11-01-02-01-00-00",
|
|
9077
|
+
"01-11-01-02-02-00-00",
|
|
9078
|
+
"01-11-01-02-03-00-00",
|
|
9079
|
+
"01-11-01-02-04-00-00",
|
|
9080
|
+
"01-11-01-02-05-00-00"
|
|
9081
|
+
],
|
|
9082
|
+
definition: "Advocacy where the system = civil/criminal legal system.",
|
|
9083
|
+
relevantMechanisms: ["direct_staff_contractor", "informational_support"]
|
|
9084
|
+
},
|
|
9085
|
+
{
|
|
9086
|
+
code: "01-11-01-02-01-00-00",
|
|
9087
|
+
key: "crime_scene_clean_up",
|
|
9088
|
+
title: "Crime Scene Clean Up",
|
|
9089
|
+
selectable: true,
|
|
9090
|
+
parentCode: "01-11-01-02-00-00-00",
|
|
9091
|
+
childCodes: [],
|
|
9092
|
+
definition: "Expenses related to cleaning a crime scene.",
|
|
9093
|
+
relevantMechanisms: null
|
|
9094
|
+
},
|
|
9095
|
+
{
|
|
9096
|
+
code: "01-11-01-02-02-00-00",
|
|
9097
|
+
key: "family_reunification",
|
|
9098
|
+
title: "Family Reunification",
|
|
9099
|
+
selectable: true,
|
|
9100
|
+
parentCode: "01-11-01-02-00-00-00",
|
|
9101
|
+
childCodes: [],
|
|
9102
|
+
definition: "Activities/services supporting reunification with family members in the U.S.",
|
|
9103
|
+
relevantMechanisms: null
|
|
9104
|
+
},
|
|
9105
|
+
{
|
|
9106
|
+
code: "01-11-01-02-03-00-00",
|
|
9107
|
+
key: "law_enforcement_interview_support",
|
|
9108
|
+
title: "Law Enforcement Interview Support",
|
|
9109
|
+
selectable: true,
|
|
9110
|
+
parentCode: "01-11-01-02-00-00-00",
|
|
9111
|
+
childCodes: [],
|
|
9112
|
+
definition: "Emotional support and/or physical accompaniment during law enforcement interviews.",
|
|
9113
|
+
relevantMechanisms: null
|
|
9114
|
+
},
|
|
9115
|
+
{
|
|
9116
|
+
code: "01-11-01-02-04-00-00",
|
|
9117
|
+
key: "prosecution_interview_advocacy",
|
|
9118
|
+
title: "Prosecution interview advocacy/accompaniment",
|
|
9119
|
+
selectable: true,
|
|
9120
|
+
parentCode: "01-11-01-02-00-00-00",
|
|
9121
|
+
childCodes: [],
|
|
9122
|
+
definition: "Emotional support and/or physical accompaniment during interviews with prosecutors.",
|
|
9123
|
+
relevantMechanisms: null
|
|
9124
|
+
},
|
|
9125
|
+
{
|
|
9126
|
+
code: "01-11-01-02-05-00-00",
|
|
9127
|
+
key: "immigration_advocacy_support",
|
|
9128
|
+
title: "Immigration Advocacy Support",
|
|
9129
|
+
selectable: true,
|
|
9130
|
+
parentCode: "01-11-01-02-00-00-00",
|
|
9131
|
+
childCodes: [],
|
|
9132
|
+
definition: "Assisting refugee/immigrant/nonimmigrant victims with immigration issues.",
|
|
9133
|
+
relevantMechanisms: null
|
|
9134
|
+
},
|
|
9135
|
+
{
|
|
9136
|
+
code: "01-11-01-03-00-00-00",
|
|
9137
|
+
key: "documentation_records_retrieval",
|
|
9138
|
+
title: "Documentation & Records Retrieval (Survivor Documents / Records Assistance)",
|
|
9139
|
+
selectable: true,
|
|
9140
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9141
|
+
childCodes: ["01-11-01-03-01-00-00", "01-11-01-03-02-00-00"],
|
|
9142
|
+
definition: "Support provided to help a survivor obtain, replace, organize, certify, or submit essential documents and records.",
|
|
9143
|
+
relevantMechanisms: [
|
|
9144
|
+
"direct_staff_contractor",
|
|
9145
|
+
"informational_support",
|
|
9146
|
+
"financial_material_assistance"
|
|
9147
|
+
]
|
|
9148
|
+
},
|
|
9149
|
+
{
|
|
9150
|
+
code: "01-11-01-03-01-00-00",
|
|
9151
|
+
key: "obtaining_insurance",
|
|
9152
|
+
title: "Obtaining Insurance",
|
|
9153
|
+
selectable: true,
|
|
9154
|
+
parentCode: "01-11-01-03-00-00-00",
|
|
9155
|
+
childCodes: ["01-11-01-03-01-01-00", "01-11-01-03-01-02-00"],
|
|
9156
|
+
definition: "Assistance provided to help a survivor understand, apply for, or access insurance coverage.",
|
|
9157
|
+
relevantMechanisms: null
|
|
9158
|
+
},
|
|
9159
|
+
{
|
|
9160
|
+
code: "01-11-01-03-01-01-00",
|
|
9161
|
+
key: "drivers_car_insurance",
|
|
9162
|
+
title: "Driver's/Car Insurance",
|
|
9163
|
+
selectable: true,
|
|
9164
|
+
parentCode: "01-11-01-03-01-00-00",
|
|
9165
|
+
childCodes: [],
|
|
9166
|
+
definition: "Support to help a survivor obtain or reinstate auto insurance coverage.",
|
|
9167
|
+
relevantMechanisms: null
|
|
9168
|
+
},
|
|
9169
|
+
{
|
|
9170
|
+
code: "01-11-01-03-01-02-00",
|
|
9171
|
+
key: "medical_insurance",
|
|
9172
|
+
title: "Medical Insurance",
|
|
9173
|
+
selectable: true,
|
|
9174
|
+
parentCode: "01-11-01-03-01-00-00",
|
|
9175
|
+
childCodes: [],
|
|
9176
|
+
definition: "Support to help a survivor apply for, enroll in, or maintain medical insurance coverage.",
|
|
9177
|
+
relevantMechanisms: null
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
code: "01-11-01-03-02-00-00",
|
|
9181
|
+
key: "obtaining_drivers_license",
|
|
9182
|
+
title: "Obtaining Driver's License",
|
|
9183
|
+
selectable: true,
|
|
9184
|
+
parentCode: "01-11-01-03-00-00-00",
|
|
9185
|
+
childCodes: [],
|
|
9186
|
+
definition: "Advocacy and practical assistance to help a survivor obtain, replace, or reinstate a driver's license.",
|
|
9187
|
+
relevantMechanisms: [
|
|
9188
|
+
"direct_staff_contractor",
|
|
9189
|
+
"financial_material_assistance",
|
|
9190
|
+
"informational_support"
|
|
9191
|
+
]
|
|
9192
|
+
},
|
|
9193
|
+
{
|
|
9194
|
+
code: "01-11-01-04-00-00-00",
|
|
9195
|
+
key: "faith_resource",
|
|
9196
|
+
title: "Faith Resource (church/religious leader; faith resource)",
|
|
9197
|
+
selectable: true,
|
|
9198
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9199
|
+
childCodes: [],
|
|
9200
|
+
definition: "Connection to faith-based or spiritual resources at the survivor's request.",
|
|
9201
|
+
relevantMechanisms: [
|
|
9202
|
+
"direct_staff_contractor",
|
|
9203
|
+
"financial_material_assistance",
|
|
9204
|
+
"support_via_referral",
|
|
9205
|
+
"informational_support"
|
|
9206
|
+
]
|
|
9207
|
+
},
|
|
9208
|
+
{
|
|
9209
|
+
code: "01-11-01-05-00-00-00",
|
|
9210
|
+
key: "banking_notary",
|
|
9211
|
+
title: "Banking/Notary",
|
|
9212
|
+
selectable: true,
|
|
9213
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9214
|
+
childCodes: [],
|
|
9215
|
+
definition: "Assistance to help survivors access basic financial or administrative services.",
|
|
9216
|
+
relevantMechanisms: null
|
|
9217
|
+
},
|
|
9218
|
+
{
|
|
9219
|
+
code: "01-11-01-06-00-00-00",
|
|
9220
|
+
key: "income_benefits_navigation",
|
|
9221
|
+
title: "Income / Benefits Navigation (Non-legal)",
|
|
9222
|
+
selectable: true,
|
|
9223
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9224
|
+
childCodes: ["01-11-01-06-01-00-00"],
|
|
9225
|
+
definition: "Non-legal support to help survivors identify, apply for, and navigate income supports or public benefits.",
|
|
9226
|
+
relevantMechanisms: [
|
|
9227
|
+
"direct_staff_contractor",
|
|
9228
|
+
"financial_material_assistance",
|
|
9229
|
+
"support_via_referral",
|
|
9230
|
+
"informational_support"
|
|
9231
|
+
]
|
|
9232
|
+
},
|
|
9233
|
+
{
|
|
9234
|
+
code: "01-11-01-06-01-00-00",
|
|
9235
|
+
key: "government_services_special_programs",
|
|
9236
|
+
title: "Government Services/Systems or Special Programs (EBT/WIC)",
|
|
9237
|
+
selectable: true,
|
|
9238
|
+
parentCode: "01-11-01-06-00-00-00",
|
|
9239
|
+
childCodes: [],
|
|
9240
|
+
definition: "Helping the victim access needed services, accompanying to social services appointments.",
|
|
9241
|
+
relevantMechanisms: null
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
code: "01-11-01-07-00-00-00",
|
|
9245
|
+
key: "intervention_employer_creditor_academic",
|
|
9246
|
+
title: "Intervention with Employer, Creditor, or Academic Institution",
|
|
9247
|
+
selectable: true,
|
|
9248
|
+
parentCode: "01-11-01-00-00-00-00",
|
|
9249
|
+
childCodes: ["01-11-01-07-01-00-00"],
|
|
9250
|
+
definition: "Advocating with non-criminal-justice entities on the victim's behalf.",
|
|
9251
|
+
relevantMechanisms: null
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
code: "01-11-01-07-01-00-00",
|
|
9255
|
+
key: "formal_education_academic_support",
|
|
9256
|
+
title: "Formal Education & Academic Support",
|
|
9257
|
+
selectable: true,
|
|
9258
|
+
parentCode: "01-11-01-07-00-00-00",
|
|
9259
|
+
childCodes: ["01-11-01-07-01-01-00", "01-11-01-07-01-02-00"],
|
|
9260
|
+
definition: "Support that helps a survivor and/or dependents enroll in, remain engaged in, or complete formal education.",
|
|
9261
|
+
relevantMechanisms: [
|
|
9262
|
+
"direct_staff_contractor",
|
|
9263
|
+
"financial_material_assistance",
|
|
9264
|
+
"informational_support"
|
|
9265
|
+
]
|
|
9266
|
+
},
|
|
9267
|
+
{
|
|
9268
|
+
code: "01-11-01-07-01-01-00",
|
|
9269
|
+
key: "adult_school_ged",
|
|
9270
|
+
title: "Adult School / GED / Enrollment / Educational Support",
|
|
9271
|
+
selectable: true,
|
|
9272
|
+
parentCode: "01-11-01-07-01-00-00",
|
|
9273
|
+
childCodes: [],
|
|
9274
|
+
definition: "Education supports primarily focused on adult survivors' formal education.",
|
|
9275
|
+
relevantMechanisms: [
|
|
9276
|
+
"direct_staff_contractor",
|
|
9277
|
+
"financial_material_assistance",
|
|
9278
|
+
"informational_support"
|
|
9279
|
+
]
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
code: "01-11-01-07-01-02-00",
|
|
9283
|
+
key: "child_school_enrollment",
|
|
9284
|
+
title: "Child School Enrollment / Educational Support",
|
|
9285
|
+
selectable: true,
|
|
9286
|
+
parentCode: "01-11-01-07-01-00-00",
|
|
9287
|
+
childCodes: [],
|
|
9288
|
+
definition: "Education supports focused on a child/dependent's school access and participation.",
|
|
9289
|
+
relevantMechanisms: [
|
|
9290
|
+
"direct_staff_contractor",
|
|
9291
|
+
"financial_material_assistance",
|
|
9292
|
+
"informational_support"
|
|
9293
|
+
]
|
|
9294
|
+
},
|
|
9295
|
+
{
|
|
9296
|
+
code: "01-11-02-00-00-00-00",
|
|
9297
|
+
key: "intake",
|
|
9298
|
+
title: "Intake",
|
|
9299
|
+
selectable: true,
|
|
9300
|
+
parentCode: "01-11-00-00-00-00-00",
|
|
9301
|
+
childCodes: ["01-11-02-01-00-00-00"],
|
|
9302
|
+
definition: "An interaction intended to discover what has happened, determine the crisis, assess dangerousness indicators, do safety planning, and establish immediate needs.",
|
|
9303
|
+
relevantMechanisms: [
|
|
9304
|
+
"direct_staff_contractor",
|
|
9305
|
+
"support_via_referral",
|
|
9306
|
+
"informational_support"
|
|
9307
|
+
]
|
|
9308
|
+
},
|
|
9309
|
+
{
|
|
9310
|
+
code: "01-11-02-01-00-00-00",
|
|
9311
|
+
key: "screening",
|
|
9312
|
+
title: "Screening (can be ongoing)",
|
|
9313
|
+
selectable: true,
|
|
9314
|
+
parentCode: "01-11-02-00-00-00-00",
|
|
9315
|
+
childCodes: [
|
|
9316
|
+
"01-11-02-01-01-00-00",
|
|
9317
|
+
"01-11-02-01-02-00-00",
|
|
9318
|
+
"01-11-02-01-03-00-00",
|
|
9319
|
+
"01-11-02-01-04-00-00",
|
|
9320
|
+
"01-11-02-01-05-00-00"
|
|
9321
|
+
],
|
|
9322
|
+
definition: "The process of determining the nature and extent of an individual's problem in order to establish service needs.",
|
|
9323
|
+
relevantMechanisms: [
|
|
9324
|
+
"direct_staff_contractor",
|
|
9325
|
+
"support_via_referral",
|
|
9326
|
+
"informational_support"
|
|
9327
|
+
]
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
code: "01-11-02-01-01-00-00",
|
|
9331
|
+
key: "housing_eligibility_determination",
|
|
9332
|
+
title: "Housing Eligibility Determination",
|
|
9333
|
+
selectable: true,
|
|
9334
|
+
parentCode: "01-11-02-01-00-00-00",
|
|
9335
|
+
childCodes: ["01-11-02-01-01-01-00"],
|
|
9336
|
+
definition: "The process of collecting and reviewing information to determine a survivor's eligibility for housing programs.",
|
|
9337
|
+
relevantMechanisms: null
|
|
9338
|
+
},
|
|
9339
|
+
{
|
|
9340
|
+
code: "01-11-02-01-01-01-00",
|
|
9341
|
+
key: "coordinated_entry",
|
|
9342
|
+
title: "Coordinated Entry",
|
|
9343
|
+
selectable: true,
|
|
9344
|
+
parentCode: "01-11-02-01-01-00-00",
|
|
9345
|
+
childCodes: [],
|
|
9346
|
+
definition: "A project that administers the CoC's centralized or coordinated process for assessment and referral.",
|
|
9347
|
+
relevantMechanisms: null
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
code: "01-11-02-01-02-00-00",
|
|
9351
|
+
key: "behavioral_issues_screen",
|
|
9352
|
+
title: "Behavioral Issues Screen",
|
|
9353
|
+
selectable: true,
|
|
9354
|
+
parentCode: "01-11-02-01-00-00-00",
|
|
9355
|
+
childCodes: [],
|
|
9356
|
+
definition: "A brief, non-diagnostic screening used to identify potential behavioral or mental health concerns.",
|
|
9357
|
+
relevantMechanisms: null
|
|
9358
|
+
},
|
|
9359
|
+
{
|
|
9360
|
+
code: "01-11-02-01-03-00-00",
|
|
9361
|
+
key: "initial_screen",
|
|
9362
|
+
title: "Initial Screen",
|
|
9363
|
+
selectable: true,
|
|
9364
|
+
parentCode: "01-11-02-01-00-00-00",
|
|
9365
|
+
childCodes: [],
|
|
9366
|
+
definition: "A first-point screening conducted at intake to gather basic information about a survivor's situation.",
|
|
9367
|
+
relevantMechanisms: null
|
|
9368
|
+
},
|
|
9369
|
+
{
|
|
9370
|
+
code: "01-11-02-01-04-00-00",
|
|
9371
|
+
key: "needs_assessment",
|
|
9372
|
+
title: "Needs Assessment",
|
|
9373
|
+
selectable: true,
|
|
9374
|
+
parentCode: "01-11-02-01-00-00-00",
|
|
9375
|
+
childCodes: [],
|
|
9376
|
+
definition: "A structured process used to identify and document a survivor's short- and longer-term needs.",
|
|
9377
|
+
relevantMechanisms: null
|
|
9378
|
+
},
|
|
9379
|
+
{
|
|
9380
|
+
code: "01-11-02-01-05-00-00",
|
|
9381
|
+
key: "tvap",
|
|
9382
|
+
title: "TVAP",
|
|
9383
|
+
selectable: true,
|
|
9384
|
+
parentCode: "01-11-02-01-00-00-00",
|
|
9385
|
+
childCodes: [],
|
|
9386
|
+
definition: "Screening for Federal Financial Assistance program for Foreign National survivors of human trafficking.",
|
|
9387
|
+
relevantMechanisms: null
|
|
9388
|
+
},
|
|
9389
|
+
{
|
|
9390
|
+
code: "01-11-03-00-00-00-00",
|
|
9391
|
+
key: "case_management_supportive_services",
|
|
9392
|
+
title: "Case Management / Supportive Services",
|
|
9393
|
+
selectable: true,
|
|
9394
|
+
parentCode: "01-11-00-00-00-00-00",
|
|
9395
|
+
childCodes: [
|
|
9396
|
+
"01-11-03-01-00-00-00",
|
|
9397
|
+
"01-11-03-02-00-00-00",
|
|
9398
|
+
"01-11-03-03-00-00-00",
|
|
9399
|
+
"01-11-03-04-00-00-00",
|
|
9400
|
+
"01-11-03-05-00-00-00"
|
|
9401
|
+
],
|
|
9402
|
+
definition: "Work within the VSP sector to promote structured, ongoing relationship to set goals, develop/review/update a service plan, and coordinate.",
|
|
9403
|
+
relevantMechanisms: [
|
|
9404
|
+
"direct_staff_contractor",
|
|
9405
|
+
"support_via_referral",
|
|
9406
|
+
"informational_support"
|
|
9407
|
+
]
|
|
9408
|
+
},
|
|
9409
|
+
{
|
|
9410
|
+
code: "01-11-03-01-00-00-00",
|
|
9411
|
+
key: "intra_agency_provider_coordination",
|
|
9412
|
+
title: "Intra-agency Provider Coordination | Intervention Team Meeting",
|
|
9413
|
+
selectable: true,
|
|
9414
|
+
parentCode: "01-11-03-00-00-00-00",
|
|
9415
|
+
childCodes: [],
|
|
9416
|
+
definition: "A formal, structured meeting among staff from the same agency to evaluate a survivor's progress.",
|
|
9417
|
+
relevantMechanisms: ["direct_staff_contractor"]
|
|
9418
|
+
},
|
|
9419
|
+
{
|
|
9420
|
+
code: "01-11-03-02-00-00-00",
|
|
9421
|
+
key: "inter_agency_consultation",
|
|
9422
|
+
title: "Inter-agency/Consultation",
|
|
9423
|
+
selectable: true,
|
|
9424
|
+
parentCode: "01-11-03-00-00-00-00",
|
|
9425
|
+
childCodes: [],
|
|
9426
|
+
definition: "A formal, structured interaction between staff and unrelated agencies to problem-solve and/or enhance services.",
|
|
9427
|
+
relevantMechanisms: ["direct_staff_contractor"]
|
|
9428
|
+
},
|
|
9429
|
+
{
|
|
9430
|
+
code: "01-11-03-03-00-00-00",
|
|
9431
|
+
key: "service_plan",
|
|
9432
|
+
title: "Service Plan",
|
|
9433
|
+
selectable: true,
|
|
9434
|
+
parentCode: "01-11-03-00-00-00-00",
|
|
9435
|
+
childCodes: ["01-11-03-03-01-00-00"],
|
|
9436
|
+
definition: "A documented, survivor-centered plan developed collaboratively to outline goals, priorities, services, and action steps.",
|
|
9437
|
+
relevantMechanisms: null
|
|
9438
|
+
},
|
|
9439
|
+
{
|
|
9440
|
+
code: "01-11-03-03-01-00-00",
|
|
9441
|
+
key: "hope_scale_and_plan",
|
|
9442
|
+
title: "Hope Scale and Plan",
|
|
9443
|
+
selectable: true,
|
|
9444
|
+
parentCode: "01-11-03-03-00-00-00",
|
|
9445
|
+
childCodes: [],
|
|
9446
|
+
definition: "A structured tool or process used to assess a survivor's sense of hope, readiness, or progress.",
|
|
9447
|
+
relevantMechanisms: null
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
code: "01-11-03-04-00-00-00",
|
|
9451
|
+
key: "post_exit_plan",
|
|
9452
|
+
title: "Post-exit Plan",
|
|
9453
|
+
selectable: true,
|
|
9454
|
+
parentCode: "01-11-03-00-00-00-00",
|
|
9455
|
+
childCodes: [],
|
|
9456
|
+
definition: "A plan developed prior to the conclusion of services that outlines ongoing supports and next steps.",
|
|
9457
|
+
relevantMechanisms: null
|
|
9458
|
+
},
|
|
9459
|
+
{
|
|
9460
|
+
code: "01-11-03-05-00-00-00",
|
|
9461
|
+
key: "advanced_directives",
|
|
9462
|
+
title: "Advanced Directives/Post-mortem wishes",
|
|
9463
|
+
selectable: true,
|
|
9464
|
+
parentCode: "01-11-03-00-00-00-00",
|
|
9465
|
+
childCodes: [],
|
|
9466
|
+
definition: "Support to help a survivor document preferences regarding medical decision-making, end-of-life care, and post-mortem wishes.",
|
|
9467
|
+
relevantMechanisms: null
|
|
9468
|
+
},
|
|
9469
|
+
{
|
|
9470
|
+
code: "01-12-00-00-00-00-00",
|
|
9471
|
+
key: "other_services",
|
|
9472
|
+
title: "Other Services",
|
|
9473
|
+
selectable: false,
|
|
9474
|
+
parentCode: null,
|
|
9475
|
+
childCodes: [],
|
|
9476
|
+
definition: "Does not fit any other category; acts as write-in.",
|
|
9477
|
+
relevantMechanisms: null
|
|
9478
|
+
}
|
|
9479
|
+
]
|
|
9480
|
+
};
|
|
9481
|
+
|
|
9482
|
+
// src/cvcs/serviceStates.v1.0.0.json
|
|
9483
|
+
var serviceStates_v1_0_0_default = {
|
|
9484
|
+
domain: "service_states",
|
|
9485
|
+
name: "Core Service State",
|
|
9486
|
+
version: "1.0.0",
|
|
9487
|
+
missingness: ["all"],
|
|
9488
|
+
levels: {
|
|
9489
|
+
"1": "Primary State",
|
|
9490
|
+
"2": "Sub-State"
|
|
9491
|
+
},
|
|
9492
|
+
entries: [
|
|
9493
|
+
{
|
|
9494
|
+
code: "02-01-00-00-00-00-00",
|
|
9495
|
+
key: "need_identified",
|
|
9496
|
+
title: "Need identified",
|
|
9497
|
+
selectable: true,
|
|
9498
|
+
parentCode: null,
|
|
9499
|
+
childCodes: [],
|
|
9500
|
+
definition: "A service need was identified/recorded; no commitment to deliver has been made yet."
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
code: "02-02-00-00-00-00-00",
|
|
9504
|
+
key: "offered",
|
|
9505
|
+
title: "Offered",
|
|
9506
|
+
selectable: true,
|
|
9507
|
+
parentCode: null,
|
|
9508
|
+
childCodes: [],
|
|
9509
|
+
definition: "A service option was offered, but not yet delivered."
|
|
9510
|
+
},
|
|
9511
|
+
{
|
|
9512
|
+
code: "02-03-00-00-00-00-00",
|
|
9513
|
+
key: "scheduled_in_progress",
|
|
9514
|
+
title: "Scheduled / in progress",
|
|
9515
|
+
selectable: true,
|
|
9516
|
+
parentCode: null,
|
|
9517
|
+
childCodes: [],
|
|
9518
|
+
definition: "Service is scheduled or actively underway as a multi-step process."
|
|
9519
|
+
},
|
|
9520
|
+
{
|
|
9521
|
+
code: "02-04-00-00-00-00-00",
|
|
9522
|
+
key: "delivered",
|
|
9523
|
+
title: "Delivered",
|
|
9524
|
+
selectable: true,
|
|
9525
|
+
parentCode: null,
|
|
9526
|
+
childCodes: [],
|
|
9527
|
+
definition: "A unit of service was delivered/provided or confirmed received."
|
|
9528
|
+
},
|
|
9529
|
+
{
|
|
9530
|
+
code: "02-05-00-00-00-00-00",
|
|
9531
|
+
key: "completed",
|
|
9532
|
+
title: "Completed",
|
|
9533
|
+
selectable: true,
|
|
9534
|
+
parentCode: null,
|
|
9535
|
+
childCodes: [],
|
|
9536
|
+
definition: "Service episode/plan is finished and closed."
|
|
9537
|
+
},
|
|
9538
|
+
{
|
|
9539
|
+
code: "02-06-00-00-00-00-00",
|
|
9540
|
+
key: "declined_by_client",
|
|
9541
|
+
title: "Declined by client",
|
|
9542
|
+
selectable: true,
|
|
9543
|
+
parentCode: null,
|
|
9544
|
+
childCodes: [],
|
|
9545
|
+
definition: "Client declined the offered service."
|
|
9546
|
+
},
|
|
9547
|
+
{
|
|
9548
|
+
code: "02-07-00-00-00-00-00",
|
|
9549
|
+
key: "unable_to_provide",
|
|
9550
|
+
title: "Unable to provide",
|
|
9551
|
+
selectable: true,
|
|
9552
|
+
parentCode: null,
|
|
9553
|
+
childCodes: [
|
|
9554
|
+
"02-07-01-00-00-00-00",
|
|
9555
|
+
"02-07-02-00-00-00-00",
|
|
9556
|
+
"02-07-03-00-00-00-00"
|
|
9557
|
+
],
|
|
9558
|
+
definition: "Program could not provide the service."
|
|
9559
|
+
},
|
|
9560
|
+
{
|
|
9561
|
+
code: "02-07-01-00-00-00-00",
|
|
9562
|
+
key: "unable_to_provide_eligibility",
|
|
9563
|
+
title: "Unable due to eligibility",
|
|
9564
|
+
selectable: true,
|
|
9565
|
+
parentCode: "02-07-00-00-00-00-00",
|
|
9566
|
+
childCodes: [],
|
|
9567
|
+
definition: "Client did not have eligibility for the Service."
|
|
9568
|
+
},
|
|
9569
|
+
{
|
|
9570
|
+
code: "02-07-02-00-00-00-00",
|
|
9571
|
+
key: "unable_to_provide_capacity",
|
|
9572
|
+
title: "Unable due to capacity",
|
|
9573
|
+
selectable: true,
|
|
9574
|
+
parentCode: "02-07-00-00-00-00-00",
|
|
9575
|
+
childCodes: [],
|
|
9576
|
+
definition: "Program did not have capacity to provide the Service."
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
code: "02-07-03-00-00-00-00",
|
|
9580
|
+
key: "unable_to_provide_resources",
|
|
9581
|
+
title: "Unable due to resource",
|
|
9582
|
+
selectable: true,
|
|
9583
|
+
parentCode: "02-07-00-00-00-00-00",
|
|
9584
|
+
childCodes: [],
|
|
9585
|
+
definition: "Program did not have sufficient resources to provide the Service."
|
|
9586
|
+
}
|
|
9587
|
+
]
|
|
9588
|
+
};
|
|
9589
|
+
|
|
9590
|
+
// src/cvcs/serviceMechanisms.v1.0.0.json
|
|
9591
|
+
var serviceMechanisms_v1_0_0_default = {
|
|
9592
|
+
domain: "service_mechanisms",
|
|
9593
|
+
name: "Core Service Mechanisms",
|
|
9594
|
+
version: "1.0.0",
|
|
9595
|
+
missingness: ["all"],
|
|
9596
|
+
levels: {
|
|
9597
|
+
"1": "Service Mechanism"
|
|
9598
|
+
},
|
|
9599
|
+
entries: [
|
|
9600
|
+
{
|
|
9601
|
+
code: "03-01-00-00-00-00-00",
|
|
9602
|
+
key: "support_via_referral",
|
|
9603
|
+
title: "Support via Referral",
|
|
9604
|
+
selectable: true,
|
|
9605
|
+
parentCode: null,
|
|
9606
|
+
childCodes: [],
|
|
9607
|
+
definition: "Connecting the client to an external provider or resource, and documenting the referral action and follow-up if applicable."
|
|
9608
|
+
},
|
|
9609
|
+
{
|
|
9610
|
+
code: "03-02-00-00-00-00-00",
|
|
9611
|
+
key: "informational_support",
|
|
9612
|
+
title: "Informational Support",
|
|
9613
|
+
selectable: true,
|
|
9614
|
+
parentCode: null,
|
|
9615
|
+
childCodes: [],
|
|
9616
|
+
definition: "Education, informational materials, guidance, navigation, instructions, or resource lists where the primary delivery is information."
|
|
9617
|
+
},
|
|
9618
|
+
{
|
|
9619
|
+
code: "03-03-00-00-00-00-00",
|
|
9620
|
+
key: "direct_staff_contractor",
|
|
9621
|
+
title: "Direct Staff/Contractor Service",
|
|
9622
|
+
selectable: true,
|
|
9623
|
+
parentCode: null,
|
|
9624
|
+
childCodes: [],
|
|
9625
|
+
definition: "Support delivered via personnel time and effort (advocacy, case management, counseling/clinician services, accompaniment, coordination, etc.)."
|
|
9626
|
+
},
|
|
9627
|
+
{
|
|
9628
|
+
code: "03-04-00-00-00-00-00",
|
|
9629
|
+
key: "financial_material_assistance",
|
|
9630
|
+
title: "Financial/Material Assistance",
|
|
9631
|
+
selectable: true,
|
|
9632
|
+
parentCode: null,
|
|
9633
|
+
childCodes: [],
|
|
9634
|
+
definition: "Cash, vouchers, goods, payments, or anything with monetary value transferred or provided on behalf of the client."
|
|
9635
|
+
}
|
|
9636
|
+
]
|
|
9637
|
+
};
|
|
9638
|
+
|
|
9639
|
+
// src/cvcs/missingness.v1.0.0.json
|
|
9640
|
+
var missingness_v1_0_0_default = {
|
|
9641
|
+
domain: "missingness",
|
|
9642
|
+
name: "Universal Missingness Values",
|
|
9643
|
+
version: "1.0.0",
|
|
9644
|
+
levels: {
|
|
9645
|
+
"0": "Unknown or Missing"
|
|
9646
|
+
},
|
|
9647
|
+
entries: [
|
|
9648
|
+
{
|
|
9649
|
+
code: "00-00-00-00-00-00-00",
|
|
9650
|
+
key: "missingness_root",
|
|
9651
|
+
title: "Unknown, Redacted, or Missing",
|
|
9652
|
+
selectable: false,
|
|
9653
|
+
parentCode: null,
|
|
9654
|
+
childCodes: [
|
|
9655
|
+
"00-00-00-00-00-00-01",
|
|
9656
|
+
"00-00-00-00-00-00-02",
|
|
9657
|
+
"00-00-00-00-00-00-03"
|
|
9658
|
+
],
|
|
9659
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
9660
|
+
},
|
|
9661
|
+
{
|
|
9662
|
+
code: "00-00-00-00-00-00-01",
|
|
9663
|
+
key: "unknown",
|
|
9664
|
+
title: "Unknown",
|
|
9665
|
+
selectable: true,
|
|
9666
|
+
parentCode: "00-00-00-00-00-00-00",
|
|
9667
|
+
childCodes: [],
|
|
9668
|
+
definition: "Value is unknown at time of entry."
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
code: "00-00-00-00-00-00-02",
|
|
9672
|
+
key: "anonymous",
|
|
9673
|
+
title: "Anonymous",
|
|
9674
|
+
selectable: true,
|
|
9675
|
+
parentCode: "00-00-00-00-00-00-00",
|
|
9676
|
+
childCodes: [],
|
|
9677
|
+
definition: "Value is intentionally withheld or redacted."
|
|
9678
|
+
},
|
|
9679
|
+
{
|
|
9680
|
+
code: "00-00-00-00-00-00-03",
|
|
9681
|
+
key: "data_not_collected",
|
|
9682
|
+
title: "Data not collected",
|
|
9683
|
+
selectable: true,
|
|
9684
|
+
parentCode: "00-00-00-00-00-00-00",
|
|
9685
|
+
childCodes: [],
|
|
9686
|
+
definition: "No attempt was made to collect the value."
|
|
9687
|
+
}
|
|
9688
|
+
]
|
|
9689
|
+
};
|
|
6884
9690
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6885
9691
|
0 && (module.exports = {
|
|
6886
9692
|
ACCOMMODATION_LABELS,
|
|
@@ -6925,11 +9731,6 @@ function createPlatformModels(connection) {
|
|
|
6925
9731
|
CVC_136_OPTIONS,
|
|
6926
9732
|
CVC_136_TYPE_TO_CATEGORY,
|
|
6927
9733
|
CVC_136_VALUES,
|
|
6928
|
-
CVC_137_LABELS,
|
|
6929
|
-
CVC_137_MISSINGNESS_VALUES,
|
|
6930
|
-
CVC_137_RECENCY_BAND,
|
|
6931
|
-
CVC_137_SELECTABLE_VALUES,
|
|
6932
|
-
CVC_137_VALUES,
|
|
6933
9734
|
CVC_145_CATEGORY,
|
|
6934
9735
|
CVC_145_CATEGORY_LABELS,
|
|
6935
9736
|
CVC_145_CATEGORY_ORDER,
|
|
@@ -7009,7 +9810,6 @@ function createPlatformModels(connection) {
|
|
|
7009
9810
|
CVC_17_LEVEL_1_OPTIONS,
|
|
7010
9811
|
CVC_17_LEVEL_2_TRANSGENDER_OPTIONS,
|
|
7011
9812
|
CVC_17_TRANSGENDER_VALUES,
|
|
7012
|
-
CVC_17_VALUES,
|
|
7013
9813
|
CVC_180_EDUCATION_LEVEL,
|
|
7014
9814
|
CVC_180_LABELS,
|
|
7015
9815
|
CVC_180_ORDINAL,
|
|
@@ -7019,11 +9819,6 @@ function createPlatformModels(connection) {
|
|
|
7019
9819
|
CVC_196_CHILD_WELFARE_EPISODE_TYPE,
|
|
7020
9820
|
CVC_196_LABELS,
|
|
7021
9821
|
CVC_196_VALUES,
|
|
7022
|
-
CVC_197_JUVENILE_JUSTICE_EPISODE,
|
|
7023
|
-
CVC_197_LABELS,
|
|
7024
|
-
CVC_197_MISSINGNESS_VALUES,
|
|
7025
|
-
CVC_197_SELECTABLE_VALUES,
|
|
7026
|
-
CVC_197_VALUES,
|
|
7027
9822
|
CVC_1_LABELS,
|
|
7028
9823
|
CVC_1_NAME_TYPE,
|
|
7029
9824
|
CVC_1_STRUCTURED_NAME_TYPES,
|
|
@@ -7033,7 +9828,6 @@ function createPlatformModels(connection) {
|
|
|
7033
9828
|
CVC_67_LABELS,
|
|
7034
9829
|
CVC_67_MISSINGNESS_VALUES,
|
|
7035
9830
|
CVC_67_SELECTABLE_VALUES,
|
|
7036
|
-
CVC_67_VALUES,
|
|
7037
9831
|
CVC_72_HT_TYPE,
|
|
7038
9832
|
CVC_72_LABELS,
|
|
7039
9833
|
CVC_72_VALUES,
|
|
@@ -7058,6 +9852,11 @@ function createPlatformModels(connection) {
|
|
|
7058
9852
|
CVC_99_ENGLISH_PROFICIENCY,
|
|
7059
9853
|
CVC_99_LABELS,
|
|
7060
9854
|
CVC_99_VALUES,
|
|
9855
|
+
CvcCodeSchema,
|
|
9856
|
+
CvcEntrySchema,
|
|
9857
|
+
CvcEnvelopeSchema,
|
|
9858
|
+
CvcKeySchema,
|
|
9859
|
+
CvcRegistryService,
|
|
7061
9860
|
DATA_QUALITY,
|
|
7062
9861
|
DATA_QUALITY_DESCRIPTIONS,
|
|
7063
9862
|
DATA_QUALITY_LABELS,
|
|
@@ -7128,6 +9927,7 @@ function createPlatformModels(connection) {
|
|
|
7128
9927
|
INVOLVEMENT_ROLE_TO_PERSON_TYPE,
|
|
7129
9928
|
MINOR_ADULT_STATUS,
|
|
7130
9929
|
MINOR_ADULT_STATUS_LABELS,
|
|
9930
|
+
MissingnessKeys,
|
|
7131
9931
|
PARTICIPATION_ROLE_CATEGORIES,
|
|
7132
9932
|
PERMISSION_STATE,
|
|
7133
9933
|
PERMISSION_STATE_DISPLAY,
|
|
@@ -7164,20 +9964,37 @@ function createPlatformModels(connection) {
|
|
|
7164
9964
|
SHARE_VIEW_VALUES,
|
|
7165
9965
|
SUBMISSION_STATES,
|
|
7166
9966
|
SUBMISSION_STATE_LABELS,
|
|
9967
|
+
ServiceCategoryEntrySchema,
|
|
9968
|
+
ServiceCategoryKeys,
|
|
9969
|
+
ServiceMechanismKeys,
|
|
9970
|
+
ServiceStateKeys,
|
|
7167
9971
|
THREAD_INVOLVEMENT_ROLES,
|
|
7168
9972
|
USER_STATUS,
|
|
7169
9973
|
USER_STATUS_LABELS,
|
|
7170
9974
|
VALID_INTERACTION_TYPES,
|
|
7171
9975
|
VALID_RECORD_STATES,
|
|
7172
9976
|
addressSchema,
|
|
9977
|
+
applyEntryOverrides,
|
|
9978
|
+
buildCvcEntrySchema,
|
|
9979
|
+
buildCvcRegistrySchema,
|
|
7173
9980
|
buildFormSchema,
|
|
7174
9981
|
buildPlatformFunctionSchema,
|
|
7175
9982
|
buildPlatformRoleSchema,
|
|
7176
9983
|
buildQuestionSchema,
|
|
7177
9984
|
buildScoringRuleSchema,
|
|
7178
9985
|
buildSectionSchema,
|
|
9986
|
+
cascadeExclusions,
|
|
7179
9987
|
choiceSchema,
|
|
9988
|
+
compileCvcEntryModel,
|
|
9989
|
+
compileCvcRegistryModel,
|
|
7180
9990
|
createPlatformModels,
|
|
9991
|
+
cvcEntryModel,
|
|
9992
|
+
cvcEntrySchemaDefinition,
|
|
9993
|
+
cvcEntrySchemaOptions,
|
|
9994
|
+
cvcRegistryModel,
|
|
9995
|
+
cvcRegistrySchemaDefinition,
|
|
9996
|
+
cvcRegistrySchemaOptions,
|
|
9997
|
+
cvcVersionsToRecord,
|
|
7181
9998
|
demographicsSchema,
|
|
7182
9999
|
deriveAgeBinFromAge,
|
|
7183
10000
|
emailSchema,
|
|
@@ -7205,6 +10022,7 @@ function createPlatformModels(connection) {
|
|
|
7205
10022
|
isStructuredNameType,
|
|
7206
10023
|
isTransgenderGenderIdentity,
|
|
7207
10024
|
layoutSchema,
|
|
10025
|
+
missingnessSot,
|
|
7208
10026
|
personNameSchema,
|
|
7209
10027
|
phoneSchema,
|
|
7210
10028
|
platformFunctionModel,
|
|
@@ -7216,6 +10034,7 @@ function createPlatformModels(connection) {
|
|
|
7216
10034
|
questionModel,
|
|
7217
10035
|
questionSchemaDefinition,
|
|
7218
10036
|
questionSchemaOptions,
|
|
10037
|
+
resolveRegistryWithInheritance,
|
|
7219
10038
|
scoringConditionSchema,
|
|
7220
10039
|
scoringRecommendationSchema,
|
|
7221
10040
|
scoringRuleModel,
|
|
@@ -7226,6 +10045,9 @@ function createPlatformModels(connection) {
|
|
|
7226
10045
|
sectionQuestionRefSchema,
|
|
7227
10046
|
sectionSchemaDefinition,
|
|
7228
10047
|
sectionSchemaOptions,
|
|
10048
|
+
serviceCategoriesSot,
|
|
10049
|
+
serviceMechanismsSot,
|
|
10050
|
+
serviceStatesSot,
|
|
7229
10051
|
sortRelationshipsByPriority,
|
|
7230
10052
|
visibilityRuleSchema
|
|
7231
10053
|
});
|