@htilabs/platform-common-models 0.8.12 → 0.8.14
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 +44 -0
- package/dist/config/index.cjs +4 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +16 -1
- package/dist/config/index.d.ts +16 -1
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +143 -287
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +143 -275
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +12173 -969
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +14927 -2662
- package/dist/cvcs/index.d.ts +14927 -2662
- package/dist/cvcs/index.js +12141 -968
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +13297 -1361
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1118 -130
- package/dist/index.d.ts +1118 -130
- package/dist/index.js +13239 -1346
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/mongo/index.cjs +383 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +351 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-BwfZ0bxU.d.cts → platform-auth-AsfnIXfK.d.cts} +2 -74
- package/dist/{platform-auth-BwfZ0bxU.d.ts → platform-auth-AsfnIXfK.d.ts} +2 -74
- package/dist/schemas/index.cjs +5 -153
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +29 -25
- package/dist/schemas/index.d.ts +29 -25
- package/dist/schemas/index.js +5 -153
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +0 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +0 -3
- package/dist/services/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +13 -1
- package/src/__sot__/README.md +56 -0
- package/src/__sot__/coreIndicators.pin.json +220 -0
- package/src/__sot__/cvcIndex.pin.json +268 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +125 -37
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +326 -0
- package/src/__tests__/cvc-drift-gate.test.ts +607 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +50 -8
- package/src/__tests__/cvc-structural.test.ts +43 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/config/index.ts +8 -2
- package/src/constants/ic.ts +213 -333
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/adminRoles.v1.0.0.json +153 -0
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
- package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
- package/src/cvcs/assertionDomain.v1.1.0.json +78 -105
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2905 -0
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
- package/src/cvcs/exploitationType.v1.0.0.json +106 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
- package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
- package/src/cvcs/index.ts +73 -2
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
- package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
- package/src/cvcs/poStatus.v1.0.0.json +144 -0
- package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
- package/src/cvcs/recencyBand.v1.0.0.json +126 -42
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiScope.v1.0.0.json +111 -3
- package/src/cvcs/roiStatus.v1.0.0.json +18 -10
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
- package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
- package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
- package/src/cvcs/serviceStates.v1.0.0.json +40 -40
- package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/smtType.v1.0.0.json +40 -40
- package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
- package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/subjectType.v1.0.0.json +80 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
- package/src/cvcs/whyNots.v1.0.0.json +385 -0
- package/src/generated/cvc-enums.ts +1121 -127
- package/src/index.ts +20 -0
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/schemas/common.ts +4 -0
- package/src/services/cvcRegistryService.ts +1 -1
- package/src/cvcs/riskBand.v1.0.0.json +0 -98
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
|
@@ -3471,19 +3471,21 @@ export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
|
3471
3471
|
/**
|
|
3472
3472
|
* Key → positional code map for the `recency_band` CVC domain (PROVISIONAL CVC-232 — pending codebook ratification).
|
|
3473
3473
|
*
|
|
3474
|
-
* Domain: `recency_band` · Version: 1.0.0 · Entries:
|
|
3474
|
+
* Domain: `recency_band` · Version: 1.0.0 · Entries: 12
|
|
3475
3475
|
*/
|
|
3476
3476
|
export const RecencyBandKeys = {
|
|
3477
|
-
missingness_root: "
|
|
3478
|
-
unknown: "
|
|
3479
|
-
anonymous: "
|
|
3480
|
-
data_not_collected: "
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3477
|
+
missingness_root: "137-000-000-000-000-000-000",
|
|
3478
|
+
unknown: "137-000-000-000-000-000-001",
|
|
3479
|
+
anonymous: "137-000-000-000-000-000-002",
|
|
3480
|
+
data_not_collected: "137-000-000-000-000-000-003",
|
|
3481
|
+
w3m: "137-001-000-000-000-000-000",
|
|
3482
|
+
m3_6: "137-002-000-000-000-000-000",
|
|
3483
|
+
m6_12: "137-003-000-000-000-000-000",
|
|
3484
|
+
y1p: "137-004-000-000-000-000-000",
|
|
3485
|
+
y1_3: "137-005-000-000-000-000-000",
|
|
3486
|
+
y3_10: "137-006-000-000-000-000-000",
|
|
3487
|
+
y10p: "137-007-000-000-000-000-000",
|
|
3488
|
+
ylt3: "137-008-000-000-000-000-000",
|
|
3487
3489
|
} as const;
|
|
3488
3490
|
|
|
3489
3491
|
export type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
@@ -3491,25 +3493,25 @@ export type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
|
3491
3493
|
/**
|
|
3492
3494
|
* Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
|
|
3493
3495
|
*
|
|
3494
|
-
* Domain: `housing_subsidy_types` · Version: 1.
|
|
3496
|
+
* Domain: `housing_subsidy_types` · Version: 1.1.0 · Entries: 16
|
|
3495
3497
|
*/
|
|
3496
3498
|
export const HousingSubsidyTypesKeys = {
|
|
3497
|
-
missingness_root: "
|
|
3498
|
-
unknown: "
|
|
3499
|
-
anonymous: "
|
|
3500
|
-
data_not_collected: "
|
|
3501
|
-
housing_choice_voucher: "
|
|
3502
|
-
public_housing: "
|
|
3503
|
-
project_based_rental_assistance: "
|
|
3504
|
-
permanent_supportive_housing: "
|
|
3505
|
-
rapid_rehousing_assistance: "
|
|
3506
|
-
other_housing_subsidy: "
|
|
3507
|
-
no_subsidy: "
|
|
3508
|
-
va_supportive_housing: "
|
|
3509
|
-
grant_per_diem_transition_in_place: "
|
|
3510
|
-
housing_stability_voucher: "
|
|
3511
|
-
family_unification_program: "
|
|
3512
|
-
foster_youth_to_independence: "
|
|
3499
|
+
missingness_root: "194-000-000-000-000-000-000",
|
|
3500
|
+
unknown: "194-000-000-000-000-000-001",
|
|
3501
|
+
anonymous: "194-000-000-000-000-000-002",
|
|
3502
|
+
data_not_collected: "194-000-000-000-000-000-003",
|
|
3503
|
+
housing_choice_voucher: "194-001-000-000-000-000-000",
|
|
3504
|
+
public_housing: "194-002-000-000-000-000-000",
|
|
3505
|
+
project_based_rental_assistance: "194-003-000-000-000-000-000",
|
|
3506
|
+
permanent_supportive_housing: "194-004-000-000-000-000-000",
|
|
3507
|
+
rapid_rehousing_assistance: "194-005-000-000-000-000-000",
|
|
3508
|
+
other_housing_subsidy: "194-006-000-000-000-000-000",
|
|
3509
|
+
no_subsidy: "194-007-000-000-000-000-000",
|
|
3510
|
+
va_supportive_housing: "194-008-000-000-000-000-000",
|
|
3511
|
+
grant_per_diem_transition_in_place: "194-009-000-000-000-000-000",
|
|
3512
|
+
housing_stability_voucher: "194-010-000-000-000-000-000",
|
|
3513
|
+
family_unification_program: "194-011-000-000-000-000-000",
|
|
3514
|
+
foster_youth_to_independence: "194-012-000-000-000-000-000",
|
|
3513
3515
|
} as const;
|
|
3514
3516
|
|
|
3515
3517
|
export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
@@ -3517,80 +3519,77 @@ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
|
3517
3519
|
/**
|
|
3518
3520
|
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3519
3521
|
*
|
|
3520
|
-
* Domain: `assertion_domain` · Version:
|
|
3522
|
+
* Domain: `assertion_domain` · Version: 2.0.0 · Entries: 68
|
|
3521
3523
|
*/
|
|
3522
3524
|
export const AssertionDomainKeys = {
|
|
3523
|
-
missingness_root: "
|
|
3524
|
-
unknown: "
|
|
3525
|
-
anonymous: "
|
|
3526
|
-
data_not_collected: "
|
|
3527
|
-
indicator: "
|
|
3528
|
-
risk_signal: "
|
|
3529
|
-
victim_status: "
|
|
3530
|
-
offender_status: "
|
|
3531
|
-
domain_determination: "
|
|
3532
|
-
victimization_or_abuse_type: "
|
|
3533
|
-
assessment_scale: "
|
|
3534
|
-
recommended_followup: "
|
|
3535
|
-
relationship: "
|
|
3536
|
-
household_relationships: "
|
|
3537
|
-
relationship_tie: "
|
|
3538
|
-
relationship_dynamics: "
|
|
3539
|
-
relationship_status_current: "
|
|
3540
|
-
marital_status_legal: "
|
|
3541
|
-
core_profile: "
|
|
3542
|
-
person_tile: "
|
|
3543
|
-
person_relationship: "
|
|
3544
|
-
relevant_people: "
|
|
3545
|
-
name: "
|
|
3546
|
-
contact_info: "
|
|
3547
|
-
address: "
|
|
3548
|
-
vehicle: "
|
|
3549
|
-
income_history: "
|
|
3550
|
-
physical_description: "
|
|
3551
|
-
living_situation: "
|
|
3552
|
-
pet: "
|
|
3553
|
-
protection_order: "
|
|
3554
|
-
log_entry: "
|
|
3555
|
-
session_note: "
|
|
3556
|
-
referral_source: "
|
|
3557
|
-
org_directory: "
|
|
3558
|
-
person_directory: "
|
|
3559
|
-
service_delivery: "
|
|
3560
|
-
needs_assessment: "
|
|
3561
|
-
priorities_and_safety: "
|
|
3562
|
-
share: "
|
|
3563
|
-
roi: "
|
|
3564
|
-
external_recipient: "
|
|
3565
|
-
access_accommodations: "
|
|
3566
|
-
danger_assessment: "
|
|
3567
|
-
hope_scale: "
|
|
3568
|
-
injury_and_strangulation: "
|
|
3569
|
-
lethality_assessment_program: "
|
|
3570
|
-
occupational_background: "
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
child_profile: "964-065-000-000-000-000-000",
|
|
3592
|
-
romantic_relationship: "964-066-000-000-000-000-000",
|
|
3593
|
-
household_composition: "964-067-000-000-000-000-000",
|
|
3525
|
+
missingness_root: "159-000-000-000-000-000-000",
|
|
3526
|
+
unknown: "159-000-000-000-000-000-001",
|
|
3527
|
+
anonymous: "159-000-000-000-000-000-002",
|
|
3528
|
+
data_not_collected: "159-000-000-000-000-000-003",
|
|
3529
|
+
indicator: "159-001-000-000-000-000-000",
|
|
3530
|
+
risk_signal: "159-002-000-000-000-000-000",
|
|
3531
|
+
victim_status: "159-003-000-000-000-000-000",
|
|
3532
|
+
offender_status: "159-004-000-000-000-000-000",
|
|
3533
|
+
domain_determination: "159-005-000-000-000-000-000",
|
|
3534
|
+
victimization_or_abuse_type: "159-006-000-000-000-000-000",
|
|
3535
|
+
assessment_scale: "159-007-000-000-000-000-000",
|
|
3536
|
+
recommended_followup: "159-008-000-000-000-000-000",
|
|
3537
|
+
relationship: "159-009-000-000-000-000-000",
|
|
3538
|
+
household_relationships: "159-010-000-000-000-000-000",
|
|
3539
|
+
relationship_tie: "159-011-000-000-000-000-000",
|
|
3540
|
+
relationship_dynamics: "159-012-000-000-000-000-000",
|
|
3541
|
+
relationship_status_current: "159-013-000-000-000-000-000",
|
|
3542
|
+
marital_status_legal: "159-014-000-000-000-000-000",
|
|
3543
|
+
core_profile: "159-015-000-000-000-000-000",
|
|
3544
|
+
person_tile: "159-016-000-000-000-000-000",
|
|
3545
|
+
person_relationship: "159-017-000-000-000-000-000",
|
|
3546
|
+
relevant_people: "159-018-000-000-000-000-000",
|
|
3547
|
+
name: "159-019-000-000-000-000-000",
|
|
3548
|
+
contact_info: "159-020-000-000-000-000-000",
|
|
3549
|
+
address: "159-021-000-000-000-000-000",
|
|
3550
|
+
vehicle: "159-022-000-000-000-000-000",
|
|
3551
|
+
income_history: "159-023-000-000-000-000-000",
|
|
3552
|
+
physical_description: "159-024-000-000-000-000-000",
|
|
3553
|
+
living_situation: "159-025-000-000-000-000-000",
|
|
3554
|
+
pet: "159-026-000-000-000-000-000",
|
|
3555
|
+
protection_order: "159-027-000-000-000-000-000",
|
|
3556
|
+
log_entry: "159-028-000-000-000-000-000",
|
|
3557
|
+
session_note: "159-029-000-000-000-000-000",
|
|
3558
|
+
referral_source: "159-030-000-000-000-000-000",
|
|
3559
|
+
org_directory: "159-031-000-000-000-000-000",
|
|
3560
|
+
person_directory: "159-032-000-000-000-000-000",
|
|
3561
|
+
service_delivery: "159-033-000-000-000-000-000",
|
|
3562
|
+
needs_assessment: "159-034-000-000-000-000-000",
|
|
3563
|
+
priorities_and_safety: "159-035-000-000-000-000-000",
|
|
3564
|
+
share: "159-036-000-000-000-000-000",
|
|
3565
|
+
roi: "159-037-000-000-000-000-000",
|
|
3566
|
+
external_recipient: "159-038-000-000-000-000-000",
|
|
3567
|
+
access_accommodations: "159-039-000-000-000-000-000",
|
|
3568
|
+
danger_assessment: "159-040-000-000-000-000-000",
|
|
3569
|
+
hope_scale: "159-041-000-000-000-000-000",
|
|
3570
|
+
injury_and_strangulation: "159-042-000-000-000-000-000",
|
|
3571
|
+
lethality_assessment_program: "159-043-000-000-000-000-000",
|
|
3572
|
+
occupational_background: "159-044-000-000-000-000-000",
|
|
3573
|
+
program_enrollment: "159-046-000-000-000-000-000",
|
|
3574
|
+
program_enrollment_exit_wizard: "159-047-000-000-000-000-000",
|
|
3575
|
+
goal: "159-048-000-000-000-000-000",
|
|
3576
|
+
action_step: "159-049-000-000-000-000-000",
|
|
3577
|
+
milestone: "159-050-000-000-000-000-000",
|
|
3578
|
+
check_in: "159-051-000-000-000-000-000",
|
|
3579
|
+
goal_signature: "159-052-000-000-000-000-000",
|
|
3580
|
+
subject_functional_role: "159-053-000-000-000-000-000",
|
|
3581
|
+
worker_subrole: "159-054-000-000-000-000-000",
|
|
3582
|
+
offender_status_family: "159-055-000-000-000-000-000",
|
|
3583
|
+
assessment_rating: "159-056-000-000-000-000-000",
|
|
3584
|
+
immigration_legal_status: "159-057-000-000-000-000-000",
|
|
3585
|
+
persons_network: "159-058-000-000-000-000-000",
|
|
3586
|
+
lifecycle_services: "159-059-000-000-000-000-000",
|
|
3587
|
+
juvenile_justice_involvement: "159-060-000-000-000-000-000",
|
|
3588
|
+
child_welfare_involvement: "159-061-000-000-000-000-000",
|
|
3589
|
+
facilitator_role: "159-062-000-000-000-000-000",
|
|
3590
|
+
facilitator_subrole: "159-063-000-000-000-000-000",
|
|
3591
|
+
facilitator_entity_type: "159-064-000-000-000-000-000",
|
|
3592
|
+
child_profile: "159-065-000-000-000-000-000",
|
|
3594
3593
|
} as const;
|
|
3595
3594
|
|
|
3596
3595
|
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
@@ -3652,11 +3651,11 @@ export const RadiusBucketKeys = {
|
|
|
3652
3651
|
unknown: "967-000-000-000-000-000-001",
|
|
3653
3652
|
anonymous: "967-000-000-000-000-000-002",
|
|
3654
3653
|
data_not_collected: "967-000-000-000-000-000-003",
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3654
|
+
mi_10: "967-001-000-000-000-000-000",
|
|
3655
|
+
mi_50: "967-002-000-000-000-000-000",
|
|
3656
|
+
mi_100: "967-003-000-000-000-000-000",
|
|
3657
|
+
mi_250: "967-004-000-000-000-000-000",
|
|
3658
|
+
mi_500: "967-005-000-000-000-000-000",
|
|
3660
3659
|
} as const;
|
|
3661
3660
|
|
|
3662
3661
|
export type RadiusBucketKey = keyof typeof RadiusBucketKeys;
|
|
@@ -3909,25 +3908,6 @@ export const RiskCategoryKeys = {
|
|
|
3909
3908
|
|
|
3910
3909
|
export type RiskCategoryKey = keyof typeof RiskCategoryKeys;
|
|
3911
3910
|
|
|
3912
|
-
/**
|
|
3913
|
-
* Key → positional code map for the `risk_band` CVC domain (DRAFT-TEMPORARY; names sourced from @hti/scoring src/core/bands.ts, the declared risk-taxonomy SOT. Numeric band cutoffs are calibration and stay in @hti/scoring `RISK_WEIGHTS.bands`).
|
|
3914
|
-
*
|
|
3915
|
-
* Domain: `risk_band` · Version: 1.0.0 · Entries: 9
|
|
3916
|
-
*/
|
|
3917
|
-
export const RiskBandKeys = {
|
|
3918
|
-
missingness_root: "981-000-000-000-000-000-000",
|
|
3919
|
-
unknown: "981-000-000-000-000-000-001",
|
|
3920
|
-
anonymous: "981-000-000-000-000-000-002",
|
|
3921
|
-
data_not_collected: "981-000-000-000-000-000-003",
|
|
3922
|
-
severe: "981-001-000-000-000-000-000",
|
|
3923
|
-
elevated: "981-002-000-000-000-000-000",
|
|
3924
|
-
review: "981-003-000-000-000-000-000",
|
|
3925
|
-
watch: "981-004-000-000-000-000-000",
|
|
3926
|
-
stable: "981-005-000-000-000-000-000",
|
|
3927
|
-
} as const;
|
|
3928
|
-
|
|
3929
|
-
export type RiskBandKey = keyof typeof RiskBandKeys;
|
|
3930
|
-
|
|
3931
3911
|
/**
|
|
3932
3912
|
* Key → positional code map for the `core_functions` CVC domain (CANONICAL Notion CVC-133 `core - functions`, verified v1.0 — the Canonical Authorization Model function registry: 77 functions the roles → functions → gates/tiers graph is built over. NOT provisional numbering. Per-entry lifecycle Status (v1 / future / not-started), Platform Relevance, user/admin relevance and Category are carried in each entry's definition, since the CVC entry schema has no fields for them).
|
|
3933
3913
|
*
|
|
@@ -4045,7 +4025,7 @@ export type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTyp
|
|
|
4045
4025
|
/**
|
|
4046
4026
|
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; the 15 ROI scope ITEMS an ROI authorizes for sharing, sourced from PAVE `@pave/domain` ROI_SCOPE_KEYS. The item axis only — named bundles over these items are ROI_SCOPE_PRESET_NAMES. The prototype's 27-item HTI_SHARE_SCOPE_GROUPS superset holds +12 health-accommodation / immigration-legal items that are the documented extension set).
|
|
4047
4027
|
*
|
|
4048
|
-
* Domain: `roi_scope` · Version: 1.
|
|
4028
|
+
* Domain: `roi_scope` · Version: 1.1.0 · Entries: 31
|
|
4049
4029
|
*/
|
|
4050
4030
|
export const RoiScopeKeys = {
|
|
4051
4031
|
missingness_root: "983-000-000-000-000-000-000",
|
|
@@ -4067,6 +4047,18 @@ export const RoiScopeKeys = {
|
|
|
4067
4047
|
case_notes: "983-013-000-000-000-000-000",
|
|
4068
4048
|
background: "983-014-000-000-000-000-000",
|
|
4069
4049
|
system_info: "983-015-000-000-000-000-000",
|
|
4050
|
+
contact_history: "983-016-000-000-000-000-000",
|
|
4051
|
+
accommodation_needs: "983-017-000-000-000-000-000",
|
|
4052
|
+
disability_subtypes: "983-018-000-000-000-000-000",
|
|
4053
|
+
mental_health_status: "983-019-000-000-000-000-000",
|
|
4054
|
+
substance_use_status: "983-020-000-000-000-000-000",
|
|
4055
|
+
chronic_health_status: "983-021-000-000-000-000-000",
|
|
4056
|
+
hiv_status: "983-022-000-000-000-000-000",
|
|
4057
|
+
immigration_status: "983-023-000-000-000-000-000",
|
|
4058
|
+
uscis_alien_number: "983-024-000-000-000-000-000",
|
|
4059
|
+
federal_protection_applications: "983-025-000-000-000-000-000",
|
|
4060
|
+
tvap_enrollment: "983-026-000-000-000-000-000",
|
|
4061
|
+
le_report_status: "983-027-000-000-000-000-000",
|
|
4070
4062
|
} as const;
|
|
4071
4063
|
|
|
4072
4064
|
export type RoiScopeKey = keyof typeof RoiScopeKeys;
|
|
@@ -4074,7 +4066,7 @@ export type RoiScopeKey = keyof typeof RoiScopeKeys;
|
|
|
4074
4066
|
/**
|
|
4075
4067
|
* Key → positional code map for the `roi_status` CVC domain (DRAFT-TEMPORARY; the 5-state lifecycle of a STORED Release of Information, sourced from PAVE `@pave/domain` ROI_STATUSES. DISTINCT from ROI_SEED_STATUSES, the recipient-card badge triad valid/expired/none).
|
|
4076
4068
|
*
|
|
4077
|
-
* Domain: `roi_status` · Version: 1.
|
|
4069
|
+
* Domain: `roi_status` · Version: 1.1.0 · Entries: 9
|
|
4078
4070
|
*/
|
|
4079
4071
|
export const RoiStatusKeys = {
|
|
4080
4072
|
missingness_root: "984-000-000-000-000-000-000",
|
|
@@ -4084,8 +4076,8 @@ export const RoiStatusKeys = {
|
|
|
4084
4076
|
draft: "984-001-000-000-000-000-000",
|
|
4085
4077
|
active: "984-002-000-000-000-000-000",
|
|
4086
4078
|
expired: "984-003-000-000-000-000-000",
|
|
4087
|
-
withdrawn: "984-004-000-000-000-000-000",
|
|
4088
4079
|
revoked: "984-005-000-000-000-000-000",
|
|
4080
|
+
superseded: "984-006-000-000-000-000-000",
|
|
4089
4081
|
} as const;
|
|
4090
4082
|
|
|
4091
4083
|
export type RoiStatusKey = keyof typeof RoiStatusKeys;
|
|
@@ -4105,3 +4097,1005 @@ export const CoreReferralOutcomeKeys = {
|
|
|
4105
4097
|
} as const;
|
|
4106
4098
|
|
|
4107
4099
|
export type CoreReferralOutcomeKey = keyof typeof CoreReferralOutcomeKeys;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* Key → positional code map for the `dh_state` CVC domain (CVC-233, `core-DH_state`, ready_for_dev). Lifecycle state of a determination / Findings artifact: draft → prov → pend_iss → issued → super. INDEPENDENT axis from CVC-138 `determination_level` (suspected/reported/disclosed/verified), which lives on the assertion at every state. Per-determination, not per-subject. Authored in 0.8.13 once CVC-233 was freed by renumbering `housing_subsidy_types` 233 → 194 — the squat had MASKED this gap.
|
|
4103
|
+
*
|
|
4104
|
+
* Domain: `dh_state` · Version: 1.0.0 · Entries: 9
|
|
4105
|
+
*/
|
|
4106
|
+
export const DhStateKeys = {
|
|
4107
|
+
missingness_root: "233-000-000-000-000-000-000",
|
|
4108
|
+
unknown: "233-000-000-000-000-000-001",
|
|
4109
|
+
anonymous: "233-000-000-000-000-000-002",
|
|
4110
|
+
data_not_collected: "233-000-000-000-000-000-003",
|
|
4111
|
+
draft: "233-001-000-000-000-000-000",
|
|
4112
|
+
prov: "233-002-000-000-000-000-000",
|
|
4113
|
+
pend_iss: "233-003-000-000-000-000-000",
|
|
4114
|
+
issued: "233-004-000-000-000-000-000",
|
|
4115
|
+
super: "233-005-000-000-000-000-000",
|
|
4116
|
+
} as const;
|
|
4117
|
+
|
|
4118
|
+
export type DhStateKey = keyof typeof DhStateKeys;
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* Key → positional code map for the `core_indicators` CVC domain (CVC-136; 215 canonical indicator codes re-sourced from prototype `data/core_indicators.yaml` @ 84a1b677 plus the 2 codes @hti/scoring emits ahead of the codebook). Entries carry `family` / `polarity` / `severity` / `isAlert` / `alertWhen`; the alert list is a DERIVED VIEW over `isAlert`, not a rival taxonomy.
|
|
4122
|
+
*
|
|
4123
|
+
* Domain: `core_indicators` · Version: 1.0.0 · Entries: 219
|
|
4124
|
+
*/
|
|
4125
|
+
export const CoreIndicatorKeys = {
|
|
4126
|
+
missingness_root: "136-000-000-000-000-000-000",
|
|
4127
|
+
unknown: "136-000-000-000-000-000-001",
|
|
4128
|
+
anonymous: "136-000-000-000-000-000-002",
|
|
4129
|
+
data_not_collected: "136-000-000-000-000-000-003",
|
|
4130
|
+
abuser_evading_legal_consequences: "136-001-000-000-000-000-000",
|
|
4131
|
+
abuser_has_weapon: "136-002-000-000-000-000-000",
|
|
4132
|
+
abuser_substance_use: "136-003-000-000-000-000-000",
|
|
4133
|
+
abuser_threatened_suicide: "136-004-000-000-000-000-000",
|
|
4134
|
+
abuser_unemployed: "136-005-000-000-000-000-000",
|
|
4135
|
+
access_to_vulnerable_individuals: "136-006-000-000-000-000-000",
|
|
4136
|
+
acknowledgement_or_report_of_human_trafficking: "136-007-000-000-000-000-000",
|
|
4137
|
+
ads_available_247: "136-008-000-000-000-000-000",
|
|
4138
|
+
ads_imply_multiple_workers: "136-009-000-000-000-000-000",
|
|
4139
|
+
ads_prost_slang: "136-010-000-000-000-000-000",
|
|
4140
|
+
adverse_childhood_household_challenges: "136-011-000-000-000-000-000",
|
|
4141
|
+
advertised_new_to_area: "136-012-000-000-000-000-000",
|
|
4142
|
+
appears_controlling_relationship: "136-013-000-000-000-000-000",
|
|
4143
|
+
appears_turned_out_or_trained_ad_patterns: "136-014-000-000-000-000-000",
|
|
4144
|
+
association_commercial_sex: "136-015-000-000-000-000-000",
|
|
4145
|
+
atypical_or_high_risk_payment_method: "136-016-000-000-000-000-000",
|
|
4146
|
+
autonomy_access_healthcare_without_fear: "136-017-000-000-000-000-000",
|
|
4147
|
+
autonomy_choice_in_clients: "136-018-000-000-000-000-000",
|
|
4148
|
+
autonomy_choice_in_services: "136-019-000-000-000-000-000",
|
|
4149
|
+
autonomy_controls_own_docs: "136-020-000-000-000-000-000",
|
|
4150
|
+
autonomy_controls_own_finances: "136-021-000-000-000-000-000",
|
|
4151
|
+
autonomy_organizes_own_travel: "136-022-000-000-000-000-000",
|
|
4152
|
+
autonomy_posts_own_ads: "136-023-000-000-000-000-000",
|
|
4153
|
+
autonomy_sets_own_schedule: "136-024-000-000-000-000-000",
|
|
4154
|
+
autonomy_sets_up_own_dates: "136-025-000-000-000-000-000",
|
|
4155
|
+
battered_while_pregnant_history: "136-026-000-000-000-000-000",
|
|
4156
|
+
branding_or_unusual_tattoos_tied_to_control: "136-027-000-000-000-000-000",
|
|
4157
|
+
cannot_stop_working_or_freely_leave: "136-028-000-000-000-000-000",
|
|
4158
|
+
child_not_abusers_in_household: "136-029-000-000-000-000-000",
|
|
4159
|
+
child_welfare_system_involvement: "136-030-000-000-000-000-000",
|
|
4160
|
+
coerced_to_misrepresent_identity_or_activity: "136-031-000-000-000-000-000",
|
|
4161
|
+
coercive_debt_pressure: "136-032-000-000-000-000-000",
|
|
4162
|
+
coercive_debt_pressure_youth: "136-033-000-000-000-000-000",
|
|
4163
|
+
coercive_migration_or_forced_travel: "136-034-000-000-000-000-000",
|
|
4164
|
+
cognitive_or_functional_impairment_affecting_consent: "136-035-000-000-000-000-000",
|
|
4165
|
+
commercial_sex_association_words_or_places: "136-036-000-000-000-000-000",
|
|
4166
|
+
concerning_mannerisms_anxious_fearful_depressed: "136-037-000-000-000-000-000",
|
|
4167
|
+
concerning_sexual_behavior_pattern: "136-038-000-000-000-000-000",
|
|
4168
|
+
constraints_due_to_legal_status: "136-039-000-000-000-000-000",
|
|
4169
|
+
control_quota_required: "136-040-000-000-000-000-000",
|
|
4170
|
+
cs_activity_criminal_org_connection: "136-041-000-000-000-000-000",
|
|
4171
|
+
cs_industry_related_criminal_history: "136-042-000-000-000-000-000",
|
|
4172
|
+
current_injuries_from_abuser: "136-043-000-000-000-000-000",
|
|
4173
|
+
current_mental_health_services: "136-044-000-000-000-000-000",
|
|
4174
|
+
currently_minor_in_commercial_sex: "136-045-000-000-000-000-000",
|
|
4175
|
+
dangerous_services_no_protection: "136-046-000-000-000-000-000",
|
|
4176
|
+
dangerous_services_requires_protection: "136-047-000-000-000-000-000",
|
|
4177
|
+
dangerous_services_willing_anything: "136-048-000-000-000-000-000",
|
|
4178
|
+
debt_terms_deceptive: "136-049-000-000-000-000-000",
|
|
4179
|
+
debt_terms_deceptive_youth: "136-050-000-000-000-000-000",
|
|
4180
|
+
denied_basic_needs: "136-051-000-000-000-000-000",
|
|
4181
|
+
depends_on_employer_for_immigration_status: "136-052-000-000-000-000-000",
|
|
4182
|
+
does_not_control_finances_or_earnings: "136-053-000-000-000-000-000",
|
|
4183
|
+
does_not_control_identity_documents: "136-054-000-000-000-000-000",
|
|
4184
|
+
elevated_lethality_risk_signal: "136-055-000-000-000-000-000",
|
|
4185
|
+
employer_keeps_pay_or_pays_less_than_expected: "136-056-000-000-000-000-000",
|
|
4186
|
+
engages_in_commercial_sex_act: "136-057-000-000-000-000-000",
|
|
4187
|
+
entered_commercial_sex_industry_as_minor: "136-058-000-000-000-000-000",
|
|
4188
|
+
entered_cs_due_to_survival_needs: "136-059-000-000-000-000-000",
|
|
4189
|
+
entered_into_network_of_sex_providers_early: "136-060-000-000-000-000-000",
|
|
4190
|
+
exploitative_pricing_tier_low: "136-061-000-000-000-000-000",
|
|
4191
|
+
exploitative_working_conditions: "136-062-000-000-000-000-000",
|
|
4192
|
+
fled_conflict_violence_or_persecution: "136-063-000-000-000-000-000",
|
|
4193
|
+
forced_to_commit_crimes: "136-064-000-000-000-000-000",
|
|
4194
|
+
forced_to_use_false_documents: "136-065-000-000-000-000-000",
|
|
4195
|
+
foreign_born_or_recently_arrived: "136-066-000-000-000-000-000",
|
|
4196
|
+
foreign_born_risk_factors: "136-067-000-000-000-000-000",
|
|
4197
|
+
frequent_changes_in_residence: "136-068-000-000-000-000-000",
|
|
4198
|
+
frequent_travel_or_location_changes: "136-069-000-000-000-000-000",
|
|
4199
|
+
frequently_at_hotels_or_many_hotel_keys: "136-070-000-000-000-000-000",
|
|
4200
|
+
harmful_coping_behaviors: "136-071-000-000-000-000-000",
|
|
4201
|
+
has_ads_on_commercial_sex_site: "136-072-000-000-000-000-000",
|
|
4202
|
+
has_facilitators_involved: "136-073-000-000-000-000-000",
|
|
4203
|
+
has_management_or_representation: "136-074-000-000-000-000-000",
|
|
4204
|
+
has_no_personal_items_or_possessions: "136-075-000-000-000-000-000",
|
|
4205
|
+
head_injury_history: "136-076-000-000-000-000-000",
|
|
4206
|
+
head_injury_loss_of_consciousness: "136-077-000-000-000-000-000",
|
|
4207
|
+
health_related_vulnerability: "136-078-000-000-000-000-000",
|
|
4208
|
+
hierarchical_management_structure_identified: "136-079-000-000-000-000-000",
|
|
4209
|
+
high_risk_sexual_behavior: "136-080-000-000-000-000-000",
|
|
4210
|
+
high_security_measures_at_work_or_living_location: "136-081-000-000-000-000-000",
|
|
4211
|
+
highly_irregular_school_attendance: "136-082-000-000-000-000-000",
|
|
4212
|
+
history_emotional_abuse: "136-083-000-000-000-000-000",
|
|
4213
|
+
history_of_head_injury: "136-084-000-000-000-000-000",
|
|
4214
|
+
history_of_mental_health_issues: "136-085-000-000-000-000-000",
|
|
4215
|
+
history_of_running_away_or_missing_from_care: "136-086-000-000-000-000-000",
|
|
4216
|
+
history_of_strangulation: "136-087-000-000-000-000-000",
|
|
4217
|
+
history_physical_or_sexual_abuse_or_dv: "136-088-000-000-000-000-000",
|
|
4218
|
+
homeless_or_unstably_housed: "136-089-000-000-000-000-000",
|
|
4219
|
+
immigration_related_exploitation_risk: "136-090-000-000-000-000-000",
|
|
4220
|
+
in_commercial_sex_industry_recorded: "136-091-000-000-000-000-000",
|
|
4221
|
+
inability_to_account_for_self: "136-092-000-000-000-000-000",
|
|
4222
|
+
intimate_partner_violence_reported_to_law_enforcement: "136-093-000-000-000-000-000",
|
|
4223
|
+
juvenile_justice_or_child_welfare_involvement: "136-094-000-000-000-000-000",
|
|
4224
|
+
juvenile_justice_system_involvement: "136-095-000-000-000-000-000",
|
|
4225
|
+
labor_services_activity_recorded: "136-096-000-000-000-000-000",
|
|
4226
|
+
lgbtq_individual: "136-097-000-000-000-000-000",
|
|
4227
|
+
limited_english_proficiency: "136-098-000-000-000-000-000",
|
|
4228
|
+
limited_independence: "136-099-000-000-000-000-000",
|
|
4229
|
+
lives_or_sleeps_at_place_of_work: "136-100-000-000-000-000-000",
|
|
4230
|
+
living_with_abuser: "136-101-000-000-000-000-000",
|
|
4231
|
+
macro_level_economic_duress_entry_exit: "136-102-000-000-000-000-000",
|
|
4232
|
+
meets_or_has_sex_with_internet_contacts: "136-103-000-000-000-000-000",
|
|
4233
|
+
monitored_or_isolated_by_controlling_party: "136-104-000-000-000-000-000",
|
|
4234
|
+
much_older_intimate_partner: "136-105-000-000-000-000-000",
|
|
4235
|
+
nervous_about_immigration_documentation: "136-106-000-000-000-000-000",
|
|
4236
|
+
network_aggregate_risk_score_high: "136-107-000-000-000-000-000",
|
|
4237
|
+
network_multiple_sex_providers_named: "136-108-000-000-000-000-000",
|
|
4238
|
+
network_stable_size_large: "136-109-000-000-000-000-000",
|
|
4239
|
+
network_trafficker_present: "136-110-000-000-000-000-000",
|
|
4240
|
+
network_violent_person_present: "136-111-000-000-000-000-000",
|
|
4241
|
+
new_to_commercial_sex_industry: "136-112-000-000-000-000-000",
|
|
4242
|
+
non_consensual_photography_or_recording: "136-113-000-000-000-000-000",
|
|
4243
|
+
not_in_control_of_immigration_documentation: "136-114-000-000-000-000-000",
|
|
4244
|
+
other_instability_or_vulnerability_factors: "136-115-000-000-000-000-000",
|
|
4245
|
+
owes_money_and_cannot_pay_off: "136-116-000-000-000-000-000",
|
|
4246
|
+
paid_or_owes_fee_to_arrange_travel_to_us: "136-117-000-000-000-000-000",
|
|
4247
|
+
paid_or_owes_recruitment_fee_to_employer: "136-118-000-000-000-000-000",
|
|
4248
|
+
parent_or_guardian_of_minor_subject_named: "136-119-000-000-000-000-000",
|
|
4249
|
+
past_phases_prior_trafficking_or_risk: "136-120-000-000-000-000-000",
|
|
4250
|
+
payment_routed_through_third_party: "136-121-000-000-000-000-000",
|
|
4251
|
+
pending_federal_protection: "136-122-000-000-000-000-000",
|
|
4252
|
+
performing_different_work_than_promised: "136-123-000-000-000-000-000",
|
|
4253
|
+
physical_violence_increasing: "136-124-000-000-000-000-000",
|
|
4254
|
+
poverty_or_severe_financial_strain: "136-125-000-000-000-000-000",
|
|
4255
|
+
precarious_immigration_status: "136-126-000-000-000-000-000",
|
|
4256
|
+
pressured_or_forced_sex_act: "136-127-000-000-000-000-000",
|
|
4257
|
+
prior_medical_attention_from_abuse: "136-128-000-000-000-000-000",
|
|
4258
|
+
prior_tvap_disconnection: "136-129-000-000-000-000-000",
|
|
4259
|
+
prior_victimization_or_abuse_history: "136-130-000-000-000-000-000",
|
|
4260
|
+
promise_of_work_different_than_current_work: "136-131-000-000-000-000-000",
|
|
4261
|
+
received_things_of_value_while_missing_from_care: "136-132-000-000-000-000-000",
|
|
4262
|
+
recent_le_engagement: "136-133-000-000-000-000-000",
|
|
4263
|
+
recruited_by_third_party_into_cs_industry: "136-134-000-000-000-000-000",
|
|
4264
|
+
regular_alcohol_use: "136-135-000-000-000-000-000",
|
|
4265
|
+
relies_on_temporary_resources_for_basic_needs: "136-136-000-000-000-000-000",
|
|
4266
|
+
reports_physical_harm_by_employer_or_partner: "136-137-000-000-000-000-000",
|
|
4267
|
+
reports_physical_harm_to_others_by_employer_or_partner: "136-138-000-000-000-000-000",
|
|
4268
|
+
restrictive_living_or_working_conditions: "136-139-000-000-000-000-000",
|
|
4269
|
+
restrictive_or_not_understood_contract: "136-140-000-000-000-000-000",
|
|
4270
|
+
risk_factors_commercial_sex: "136-141-000-000-000-000-000",
|
|
4271
|
+
serious_substance_use_or_introduced_to_drugs: "136-142-000-000-000-000-000",
|
|
4272
|
+
several_cell_phones_or_frequent_number_changes: "136-143-000-000-000-000-000",
|
|
4273
|
+
sex_acts_in_own_residence: "136-144-000-000-000-000-000",
|
|
4274
|
+
sexual_exploitation: "136-145-000-000-000-000-000",
|
|
4275
|
+
sexualized_content_performance_activity: "136-146-000-000-000-000-000",
|
|
4276
|
+
shared_contact_network: "136-147-000-000-000-000-000",
|
|
4277
|
+
signs_of_physical_abuse_confinement_or_neglect: "136-148-000-000-000-000-000",
|
|
4278
|
+
signs_of_physical_harm_or_abuse: "136-149-000-000-000-000-000",
|
|
4279
|
+
sleep_disturbance: "136-150-000-000-000-000-000",
|
|
4280
|
+
social_isolation_or_no_supportive_relationships: "136-151-000-000-000-000-000",
|
|
4281
|
+
stalking_property_intrusion: "136-152-000-000-000-000-000",
|
|
4282
|
+
stalking_surveillance: "136-153-000-000-000-000-000",
|
|
4283
|
+
stalking_unwanted_contact: "136-154-000-000-000-000-000",
|
|
4284
|
+
strangulation_acute_symptoms: "136-155-000-000-000-000-000",
|
|
4285
|
+
strangulation_choking_assault_detail: "136-156-000-000-000-000-000",
|
|
4286
|
+
strangulation_loss_of_consciousness: "136-157-000-000-000-000-000",
|
|
4287
|
+
strangulation_repeated: "136-158-000-000-000-000-000",
|
|
4288
|
+
subject_affiliated_org_trafficking_activity: "136-159-000-000-000-000-000",
|
|
4289
|
+
subject_arrested_dv_sv_cs: "136-160-000-000-000-000-000",
|
|
4290
|
+
subject_gang_org_affiliation: "136-161-000-000-000-000-000",
|
|
4291
|
+
subject_has_illegal_weapons: "136-162-000-000-000-000-000",
|
|
4292
|
+
subject_is_sex_offender: "136-163-000-000-000-000-000",
|
|
4293
|
+
subject_legally_barred_weapons: "136-164-000-000-000-000-000",
|
|
4294
|
+
subject_perpetrated_abuse_history: "136-165-000-000-000-000-000",
|
|
4295
|
+
subject_perpetrated_emotional_stalking_current: "136-166-000-000-000-000-000",
|
|
4296
|
+
subject_perpetrated_emotional_stalking_past: "136-167-000-000-000-000-000",
|
|
4297
|
+
subject_perpetrated_ipv_current: "136-168-000-000-000-000-000",
|
|
4298
|
+
subject_perpetrated_ipv_past: "136-169-000-000-000-000-000",
|
|
4299
|
+
subject_perpetrated_physical_abuse_current: "136-170-000-000-000-000-000",
|
|
4300
|
+
subject_perpetrated_physical_abuse_past: "136-171-000-000-000-000-000",
|
|
4301
|
+
subject_perpetrated_sexual_abuse_current: "136-172-000-000-000-000-000",
|
|
4302
|
+
subject_perpetrated_sexual_abuse_past: "136-173-000-000-000-000-000",
|
|
4303
|
+
subject_violent_felony: "136-174-000-000-000-000-000",
|
|
4304
|
+
substance_use_while_working: "136-175-000-000-000-000-000",
|
|
4305
|
+
suicidal_ideation_history: "136-176-000-000-000-000-000",
|
|
4306
|
+
suicidal_ideation_recent: "136-177-000-000-000-000-000",
|
|
4307
|
+
suicide_attempt_history: "136-178-000-000-000-000-000",
|
|
4308
|
+
third_party_advertises_or_posts_for_person: "136-179-000-000-000-000-000",
|
|
4309
|
+
third_party_arranged_commercial_sex_acts: "136-180-000-000-000-000-000",
|
|
4310
|
+
threats_by_employer_or_partner: "136-181-000-000-000-000-000",
|
|
4311
|
+
threats_of_harm: "136-182-000-000-000-000-000",
|
|
4312
|
+
threats_of_legal_trouble_or_deportation: "136-183-000-000-000-000-000",
|
|
4313
|
+
threats_related_to_migration_debt: "136-184-000-000-000-000-000",
|
|
4314
|
+
threats_to_family_friends_or_close_associates: "136-185-000-000-000-000-000",
|
|
4315
|
+
threats_to_kill_victim_or_children: "136-186-000-000-000-000-000",
|
|
4316
|
+
trafficking_experience_current: "136-187-000-000-000-000-000",
|
|
4317
|
+
trafficking_experience_past_10plusy: "136-188-000-000-000-000-000",
|
|
4318
|
+
trafficking_experience_past_3to10y: "136-189-000-000-000-000-000",
|
|
4319
|
+
trafficking_experience_past_lt3y: "136-190-000-000-000-000-000",
|
|
4320
|
+
travel_organized_by_third_party: "136-191-000-000-000-000-000",
|
|
4321
|
+
tricked_or_pressured_into_unwanted_acts: "136-192-000-000-000-000-000",
|
|
4322
|
+
under_18_advertised_age: "136-193-000-000-000-000-000",
|
|
4323
|
+
under_18_appears_underage: "136-194-000-000-000-000-000",
|
|
4324
|
+
under_18_known_age: "136-195-000-000-000-000-000",
|
|
4325
|
+
unexplained_frequent_travel_or_migration: "136-196-000-000-000-000-000",
|
|
4326
|
+
unsafe_working_conditions_long_hours_inadequate_breaks: "136-197-000-000-000-000-000",
|
|
4327
|
+
unusual_cash_or_unexplained_gifts: "136-198-000-000-000-000-000",
|
|
4328
|
+
unusual_work_circumstances: "136-199-000-000-000-000-000",
|
|
4329
|
+
urgent_medical_referral_needed: "136-200-000-000-000-000-000",
|
|
4330
|
+
victim_believes_abuser_capable_of_killing: "136-201-000-000-000-000-000",
|
|
4331
|
+
victimization_history_composite: "136-202-000-000-000-000-000",
|
|
4332
|
+
violence_or_threats_at_work_site: "136-203-000-000-000-000-000",
|
|
4333
|
+
weapon_used_or_threatened_against_victim: "136-204-000-000-000-000-000",
|
|
4334
|
+
work_frequency_high_volume: "136-205-000-000-000-000-000",
|
|
4335
|
+
working_while_pregnant: "136-206-000-000-000-000-000",
|
|
4336
|
+
workplace_emotional_climate_of_fear: "136-207-000-000-000-000-000",
|
|
4337
|
+
works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
|
|
4338
|
+
works_for_little_or_no_pay: "136-209-000-000-000-000-000",
|
|
4339
|
+
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000",
|
|
4340
|
+
clients_unaware_of_third_party_coordination: "136-211-000-000-000-000-000",
|
|
4341
|
+
depends_on_spouse_or_family_for_immigration_status: "136-212-000-000-000-000-000",
|
|
4342
|
+
sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
|
|
4343
|
+
sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
|
|
4344
|
+
trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000",
|
|
4345
|
+
} as const;
|
|
4346
|
+
|
|
4347
|
+
export type CoreIndicatorKey = keyof typeof CoreIndicatorKeys;
|
|
4348
|
+
|
|
4349
|
+
/**
|
|
4350
|
+
* Key → positional code map for the `risk_severity_band` CVC domain (CVC-238, VERIFIED). Replaces the withdrawn provisional `risk_band` (981). Carries the load-bearing `lowerBand` thresholds 0/20/40/60/80 that the milestone band-crossing trigger reads.
|
|
4351
|
+
*
|
|
4352
|
+
* Domain: `risk_severity_band` · Version: 1.0.0 · Entries: 9
|
|
4353
|
+
*/
|
|
4354
|
+
export const RiskSeverityBandKeys = {
|
|
4355
|
+
missingness_root: "238-000-000-000-000-000-000",
|
|
4356
|
+
unknown: "238-000-000-000-000-000-001",
|
|
4357
|
+
anonymous: "238-000-000-000-000-000-002",
|
|
4358
|
+
data_not_collected: "238-000-000-000-000-000-003",
|
|
4359
|
+
risk_1: "238-001-000-000-000-000-000",
|
|
4360
|
+
risk_2: "238-002-000-000-000-000-000",
|
|
4361
|
+
risk_3: "238-003-000-000-000-000-000",
|
|
4362
|
+
risk_4: "238-004-000-000-000-000-000",
|
|
4363
|
+
risk_5: "238-005-000-000-000-000-000",
|
|
4364
|
+
} as const;
|
|
4365
|
+
|
|
4366
|
+
export type RiskSeverityBandKey = keyof typeof RiskSeverityBandKeys;
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Key → positional code map for the `admin_roles` CVC domain (CVC-134). Administrative role axis of the canonical authorization model (IC-66); distinct from CVC-135 `user_roles`.
|
|
4370
|
+
*
|
|
4371
|
+
* Domain: `admin_roles` · Version: 1.0.0 · Entries: 14
|
|
4372
|
+
*/
|
|
4373
|
+
export const AdminRoleKeys = {
|
|
4374
|
+
missingness_root: "134-000-000-000-000-000-000",
|
|
4375
|
+
unknown: "134-000-000-000-000-000-001",
|
|
4376
|
+
anonymous: "134-000-000-000-000-000-002",
|
|
4377
|
+
data_not_collected: "134-000-000-000-000-000-003",
|
|
4378
|
+
plt_adm: "134-001-000-000-000-000-000",
|
|
4379
|
+
plt_sup: "134-002-000-000-000-000-000",
|
|
4380
|
+
mem_adm: "134-003-000-000-000-000-000",
|
|
4381
|
+
team_adm: "134-004-000-000-000-000-000",
|
|
4382
|
+
aud: "134-005-000-000-000-000-000",
|
|
4383
|
+
data_adm: "134-006-000-000-000-000-000",
|
|
4384
|
+
gov_aud: "134-007-000-000-000-000-000",
|
|
4385
|
+
ciro: "134-008-000-000-000-000-000",
|
|
4386
|
+
sup: "134-009-000-000-000-000-000",
|
|
4387
|
+
train_adm: "134-010-000-000-000-000-000",
|
|
4388
|
+
} as const;
|
|
4389
|
+
|
|
4390
|
+
export type AdminRoleKey = keyof typeof AdminRoleKeys;
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* Key → positional code map for the `user_roles` CVC domain (CVC-135). Operational / practitioner role axis of the canonical authorization model (IC-66); distinct from CVC-134 `admin_roles`.
|
|
4394
|
+
*
|
|
4395
|
+
* Domain: `user_roles` · Version: 1.0.0 · Entries: 19
|
|
4396
|
+
*/
|
|
4397
|
+
export const UserRoleKeys = {
|
|
4398
|
+
missingness_root: "135-000-000-000-000-000-000",
|
|
4399
|
+
unknown: "135-000-000-000-000-000-001",
|
|
4400
|
+
anonymous: "135-000-000-000-000-000-002",
|
|
4401
|
+
data_not_collected: "135-000-000-000-000-000-003",
|
|
4402
|
+
case_nav: "135-001-000-000-000-000-000",
|
|
4403
|
+
healthcare_provider_medical: "135-002-000-000-000-000-000",
|
|
4404
|
+
behavioral_health_provider: "135-003-000-000-000-000-000",
|
|
4405
|
+
hotline_op: "135-004-000-000-000-000-000",
|
|
4406
|
+
intel_analyst: "135-005-000-000-000-000-000",
|
|
4407
|
+
investigator: "135-006-000-000-000-000-000",
|
|
4408
|
+
le_liaison_vsp: "135-007-000-000-000-000-000",
|
|
4409
|
+
legal_advocate: "135-008-000-000-000-000-000",
|
|
4410
|
+
mandatory_reporter: "135-009-000-000-000-000-000",
|
|
4411
|
+
mdt_participant: "135-010-000-000-000-000-000",
|
|
4412
|
+
prosecutor_review: "135-011-000-000-000-000-000",
|
|
4413
|
+
public_reporter: "135-012-000-000-000-000-000",
|
|
4414
|
+
research_analytics: "135-013-000-000-000-000-000",
|
|
4415
|
+
screener: "135-014-000-000-000-000-000",
|
|
4416
|
+
volunteer: "135-015-000-000-000-000-000",
|
|
4417
|
+
} as const;
|
|
4418
|
+
|
|
4419
|
+
export type UserRoleKey = keyof typeof UserRoleKeys;
|
|
4420
|
+
|
|
4421
|
+
/**
|
|
4422
|
+
* Key → positional code map for the `hmis_current_living_situation` CVC domain (CVC-193). The HUD-reporting crosswalk vocabulary (HMIS FY2026 4.12 numeric codes); a DISTINCT CVC from CVC-192 `living_situation` (the internal semantic vocabulary). Keys are `hmis_<code>`; the numeric code is in `hmisCode`.
|
|
4423
|
+
*
|
|
4424
|
+
* Domain: `hmis_current_living_situation` · Version: 1.0.0 · Entries: 33
|
|
4425
|
+
*/
|
|
4426
|
+
export const HmisCurrentLivingSituationKeys = {
|
|
4427
|
+
missingness_root: "193-000-000-000-000-000-000",
|
|
4428
|
+
unknown: "193-000-000-000-000-000-001",
|
|
4429
|
+
anonymous: "193-000-000-000-000-000-002",
|
|
4430
|
+
data_not_collected: "193-000-000-000-000-000-003",
|
|
4431
|
+
hmis_17: "193-001-000-000-000-000-000",
|
|
4432
|
+
hmis_24: "193-002-000-000-000-000-000",
|
|
4433
|
+
hmis_30: "193-003-000-000-000-000-000",
|
|
4434
|
+
hmis_37: "193-004-000-000-000-000-000",
|
|
4435
|
+
hmis_101: "193-005-000-000-000-000-000",
|
|
4436
|
+
hmis_116: "193-006-000-000-000-000-000",
|
|
4437
|
+
hmis_118: "193-007-000-000-000-000-000",
|
|
4438
|
+
hmis_204: "193-008-000-000-000-000-000",
|
|
4439
|
+
hmis_205: "193-009-000-000-000-000-000",
|
|
4440
|
+
hmis_206: "193-010-000-000-000-000-000",
|
|
4441
|
+
hmis_207: "193-011-000-000-000-000-000",
|
|
4442
|
+
hmis_215: "193-012-000-000-000-000-000",
|
|
4443
|
+
hmis_225: "193-013-000-000-000-000-000",
|
|
4444
|
+
hmis_302: "193-014-000-000-000-000-000",
|
|
4445
|
+
hmis_312: "193-015-000-000-000-000-000",
|
|
4446
|
+
hmis_313: "193-016-000-000-000-000-000",
|
|
4447
|
+
hmis_314: "193-017-000-000-000-000-000",
|
|
4448
|
+
hmis_327: "193-018-000-000-000-000-000",
|
|
4449
|
+
hmis_329: "193-019-000-000-000-000-000",
|
|
4450
|
+
hmis_332: "193-020-000-000-000-000-000",
|
|
4451
|
+
hmis_335: "193-021-000-000-000-000-000",
|
|
4452
|
+
hmis_336: "193-022-000-000-000-000-000",
|
|
4453
|
+
hmis_410: "193-023-000-000-000-000-000",
|
|
4454
|
+
hmis_411: "193-024-000-000-000-000-000",
|
|
4455
|
+
hmis_421: "193-025-000-000-000-000-000",
|
|
4456
|
+
hmis_422: "193-026-000-000-000-000-000",
|
|
4457
|
+
hmis_423: "193-027-000-000-000-000-000",
|
|
4458
|
+
hmis_426: "193-028-000-000-000-000-000",
|
|
4459
|
+
hmis_435: "193-029-000-000-000-000-000",
|
|
4460
|
+
} as const;
|
|
4461
|
+
|
|
4462
|
+
export type HmisCurrentLivingSituationKey = keyof typeof HmisCurrentLivingSituationKeys;
|
|
4463
|
+
|
|
4464
|
+
/**
|
|
4465
|
+
* Key → positional code map for the `juvenile_justice_episode_type` CVC domain (CVC-197). Types the EPISODE; distinct from CVC-95 `juvenile_justice_involvement_status` (the point-in-time status).
|
|
4466
|
+
*
|
|
4467
|
+
* Domain: `juvenile_justice_episode_type` · Version: 1.0.0 · Entries: 9
|
|
4468
|
+
*/
|
|
4469
|
+
export const JuvenileJusticeEpisodeTypeKeys = {
|
|
4470
|
+
missingness_root: "197-000-000-000-000-000-000",
|
|
4471
|
+
unknown: "197-000-000-000-000-000-001",
|
|
4472
|
+
anonymous: "197-000-000-000-000-000-002",
|
|
4473
|
+
data_not_collected: "197-000-000-000-000-000-003",
|
|
4474
|
+
pending_adjudication: "197-001-000-000-000-000-000",
|
|
4475
|
+
diversion_program: "197-002-000-000-000-000-000",
|
|
4476
|
+
residential_jj_placement: "197-003-000-000-000-000-000",
|
|
4477
|
+
probation_supervision: "197-004-000-000-000-000-000",
|
|
4478
|
+
detention_stay: "197-005-000-000-000-000-000",
|
|
4479
|
+
} as const;
|
|
4480
|
+
|
|
4481
|
+
export type JuvenileJusticeEpisodeTypeKey = keyof typeof JuvenileJusticeEpisodeTypeKeys;
|
|
4482
|
+
|
|
4483
|
+
/**
|
|
4484
|
+
* Key → positional code map for the `incarceration_episode_type` CVC domain (CVC-198).
|
|
4485
|
+
*
|
|
4486
|
+
* Domain: `incarceration_episode_type` · Version: 1.0.0 · Entries: 9
|
|
4487
|
+
*/
|
|
4488
|
+
export const IncarcerationEpisodeTypeKeys = {
|
|
4489
|
+
missingness_root: "198-000-000-000-000-000-000",
|
|
4490
|
+
unknown: "198-000-000-000-000-000-001",
|
|
4491
|
+
anonymous: "198-000-000-000-000-000-002",
|
|
4492
|
+
data_not_collected: "198-000-000-000-000-000-003",
|
|
4493
|
+
jail: "198-001-000-000-000-000-000",
|
|
4494
|
+
detention: "198-002-000-000-000-000-000",
|
|
4495
|
+
prison: "198-003-000-000-000-000-000",
|
|
4496
|
+
immigration_detention: "198-004-000-000-000-000-000",
|
|
4497
|
+
work_release_or_halfway_house_custody: "198-005-000-000-000-000-000",
|
|
4498
|
+
} as const;
|
|
4499
|
+
|
|
4500
|
+
export type IncarcerationEpisodeTypeKey = keyof typeof IncarcerationEpisodeTypeKeys;
|
|
4501
|
+
|
|
4502
|
+
/**
|
|
4503
|
+
* Key → positional code map for the `exploitation_type` CVC domain (CVC-203). Domain-level determination codes for exploitation outcomes that are NOT trafficking determinations; distinct from CVC-72 `ht_type`.
|
|
4504
|
+
*
|
|
4505
|
+
* Domain: `exploitation_type` · Version: 1.0.0 · Entries: 9
|
|
4506
|
+
*/
|
|
4507
|
+
export const ExploitationTypeKeys = {
|
|
4508
|
+
missingness_root: "203-000-000-000-000-000-000",
|
|
4509
|
+
unknown: "203-000-000-000-000-000-001",
|
|
4510
|
+
anonymous: "203-000-000-000-000-000-002",
|
|
4511
|
+
data_not_collected: "203-000-000-000-000-000-003",
|
|
4512
|
+
no_exploitation_determined: "203-001-000-000-000-000-000",
|
|
4513
|
+
commercial_sexual_exploitation_of_minor_domain_determination: "203-002-000-000-000-000-000",
|
|
4514
|
+
labor_exploitation_non_trafficking: "203-003-000-000-000-000-000",
|
|
4515
|
+
sexual_exploitation_non_trafficking: "203-004-000-000-000-000-000",
|
|
4516
|
+
commercial_sexual_exploitation_domain_determination: "203-005-000-000-000-000-000",
|
|
4517
|
+
} as const;
|
|
4518
|
+
|
|
4519
|
+
export type ExploitationTypeKey = keyof typeof ExploitationTypeKeys;
|
|
4520
|
+
|
|
4521
|
+
/**
|
|
4522
|
+
* Key → positional code map for the `source_system` CVC domain (CVC-201). Part of the assertion provenance contract with CVC-140 `source_category`, CVC-141 `source_subtype` and CVC-209 `source_instrument`.
|
|
4523
|
+
*
|
|
4524
|
+
* Domain: `source_system` · Version: 1.0.0 · Entries: 19
|
|
4525
|
+
*/
|
|
4526
|
+
export const SourceSystemKeys = {
|
|
4527
|
+
missingness_root: "201-000-000-000-000-000-000",
|
|
4528
|
+
unknown: "201-000-000-000-000-000-001",
|
|
4529
|
+
anonymous: "201-000-000-000-000-000-002",
|
|
4530
|
+
data_not_collected: "201-000-000-000-000-000-003",
|
|
4531
|
+
cityxguide: "201-001-000-000-000-000-000",
|
|
4532
|
+
sipsap: "201-002-000-000-000-000-000",
|
|
4533
|
+
adultsearch: "201-003-000-000-000-000-000",
|
|
4534
|
+
backpage: "201-004-000-000-000-000-000",
|
|
4535
|
+
listcrawler: "201-005-000-000-000-000-000",
|
|
4536
|
+
rubmaps: "201-006-000-000-000-000-000",
|
|
4537
|
+
skipthegames: "201-007-000-000-000-000-000",
|
|
4538
|
+
twilio: "201-008-000-000-000-000-000",
|
|
4539
|
+
facebook: "201-009-000-000-000-000-000",
|
|
4540
|
+
hti_platform_internal: "201-010-000-000-000-000-000",
|
|
4541
|
+
clear: "201-011-000-000-000-000-000",
|
|
4542
|
+
axon: "201-012-000-000-000-000-000",
|
|
4543
|
+
accurint: "201-013-000-000-000-000-000",
|
|
4544
|
+
the_erotic_review: "201-014-000-000-000-000-000",
|
|
4545
|
+
ncic: "201-015-000-000-000-000-000",
|
|
4546
|
+
} as const;
|
|
4547
|
+
|
|
4548
|
+
export type SourceSystemKey = keyof typeof SourceSystemKeys;
|
|
4549
|
+
|
|
4550
|
+
/**
|
|
4551
|
+
* Key → positional code map for the `source_instrument` CVC domain (CVC-209). The instrument through which an assertion's value was captured; part of the assertion provenance contract.
|
|
4552
|
+
*
|
|
4553
|
+
* Domain: `source_instrument` · Version: 1.0.0 · Entries: 41
|
|
4554
|
+
*/
|
|
4555
|
+
export const SourceInstrumentKeys = {
|
|
4556
|
+
missingness_root: "209-000-000-000-000-000-000",
|
|
4557
|
+
unknown: "209-000-000-000-000-000-001",
|
|
4558
|
+
anonymous: "209-000-000-000-000-000-002",
|
|
4559
|
+
data_not_collected: "209-000-000-000-000-000-003",
|
|
4560
|
+
hti_leads_manual_entry: "209-001-000-000-000-000-000",
|
|
4561
|
+
hti_pave_ida: "209-002-000-000-000-000-000",
|
|
4562
|
+
hti_thread_intake_workflow: "209-003-000-000-000-000-000",
|
|
4563
|
+
hti_file_upload_csv_import: "209-004-000-000-000-000-000",
|
|
4564
|
+
hti_leads_edit_correction: "209-005-000-000-000-000-000",
|
|
4565
|
+
hti_rules_engine_derivation: "209-006-000-000-000-000-000",
|
|
4566
|
+
hti_screening_tool_other: "209-007-000-000-000-000-000",
|
|
4567
|
+
vendor_twilio_lookup: "209-008-000-000-000-000-000",
|
|
4568
|
+
hti_model_inference_output: "209-009-000-000-000-000-000",
|
|
4569
|
+
hti_api_import: "209-010-000-000-000-000-000",
|
|
4570
|
+
hti_osint_scraper_run: "209-011-000-000-000-000-000",
|
|
4571
|
+
hti_pave_is: "209-012-000-000-000-000-000",
|
|
4572
|
+
hti_danger_assessment: "209-013-000-000-000-000-000",
|
|
4573
|
+
hti_lethality_assessment: "209-014-000-000-000-000-000",
|
|
4574
|
+
hti_leads_tra: "209-015-000-000-000-000-000",
|
|
4575
|
+
hti_stalking_assessment: "209-016-000-000-000-000-000",
|
|
4576
|
+
hti_needs_assessment: "209-017-000-000-000-000-000",
|
|
4577
|
+
hti_bh_intake: "209-018-000-000-000-000-000",
|
|
4578
|
+
hti_mh_intake: "209-019-000-000-000-000-000",
|
|
4579
|
+
hti_strangulation_injury: "209-020-000-000-000-000-000",
|
|
4580
|
+
hti_sud_screen: "209-021-000-000-000-000-000",
|
|
4581
|
+
hti_ocat_hts: "209-022-000-000-000-000-000",
|
|
4582
|
+
hti_ae_intake: "209-023-000-000-000-000-000",
|
|
4583
|
+
hti_tcs_intake: "209-024-000-000-000-000-000",
|
|
4584
|
+
hti_pave_service_log: "209-025-000-000-000-000-000",
|
|
4585
|
+
thread_pave_service_log: "209-026-000-000-000-000-000",
|
|
4586
|
+
hti_leads_milestone_log: "209-027-000-000-000-000-000",
|
|
4587
|
+
hti_leads_triage_workflow: "209-028-000-000-000-000-000",
|
|
4588
|
+
hti_leads_findings: "209-029-000-000-000-000-000",
|
|
4589
|
+
hti_leads_deconfliction: "209-030-000-000-000-000-000",
|
|
4590
|
+
hti_leads_case_lifecycle: "209-031-000-000-000-000-000",
|
|
4591
|
+
hti_leads_entity_resolution: "209-032-000-000-000-000-000",
|
|
4592
|
+
hti_leads_network_mapping: "209-033-000-000-000-000-000",
|
|
4593
|
+
hti_leads_pattern_match: "209-034-000-000-000-000-000",
|
|
4594
|
+
hti_leads_search_hit: "209-035-000-000-000-000-000",
|
|
4595
|
+
hti_leads_intake_processing: "209-036-000-000-000-000-000",
|
|
4596
|
+
hti_leads_incarceration_episode: "209-037-000-000-000-000-000",
|
|
4597
|
+
} as const;
|
|
4598
|
+
|
|
4599
|
+
export type SourceInstrumentKey = keyof typeof SourceInstrumentKeys;
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* Key → positional code map for the `po_petition_basis` CVC domain (CVC-213). Protection Orders (IC-62).
|
|
4603
|
+
*
|
|
4604
|
+
* Domain: `po_petition_basis` · Version: 1.0.0 · Entries: 8
|
|
4605
|
+
*/
|
|
4606
|
+
export const PoPetitionBasisKeys = {
|
|
4607
|
+
missingness_root: "213-000-000-000-000-000-000",
|
|
4608
|
+
unknown: "213-000-000-000-000-000-001",
|
|
4609
|
+
anonymous: "213-000-000-000-000-000-002",
|
|
4610
|
+
data_not_collected: "213-000-000-000-000-000-003",
|
|
4611
|
+
dv: "213-001-000-000-000-000-000",
|
|
4612
|
+
har: "213-002-000-000-000-000-000",
|
|
4613
|
+
sa: "213-003-000-000-000-000-000",
|
|
4614
|
+
other: "213-004-000-000-000-000-000",
|
|
4615
|
+
} as const;
|
|
4616
|
+
|
|
4617
|
+
export type PoPetitionBasisKey = keyof typeof PoPetitionBasisKeys;
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* Key → positional code map for the `po_status` CVC domain (CVC-214). Protection Orders (IC-62). The canonical lifecycle stage is carried per-entry in `lifecycleStage`; the vocabulary itself is flat.
|
|
4621
|
+
*
|
|
4622
|
+
* Domain: `po_status` · Version: 1.0.0 · Entries: 12
|
|
4623
|
+
*/
|
|
4624
|
+
export const PoStatusKeys = {
|
|
4625
|
+
missingness_root: "214-000-000-000-000-000-000",
|
|
4626
|
+
unknown: "214-000-000-000-000-000-001",
|
|
4627
|
+
anonymous: "214-000-000-000-000-000-002",
|
|
4628
|
+
data_not_collected: "214-000-000-000-000-000-003",
|
|
4629
|
+
filed: "214-001-000-000-000-000-000",
|
|
4630
|
+
ex_parte_granted: "214-002-000-000-000-000-000",
|
|
4631
|
+
hearing_pending: "214-003-000-000-000-000-000",
|
|
4632
|
+
denied_outright: "214-004-000-000-000-000-000",
|
|
4633
|
+
final_granted: "214-005-000-000-000-000-000",
|
|
4634
|
+
final_denied_or_dismissed: "214-006-000-000-000-000-000",
|
|
4635
|
+
expired: "214-007-000-000-000-000-000",
|
|
4636
|
+
emergency: "214-008-000-000-000-000-000",
|
|
4637
|
+
} as const;
|
|
4638
|
+
|
|
4639
|
+
export type PoStatusKey = keyof typeof PoStatusKeys;
|
|
4640
|
+
|
|
4641
|
+
/**
|
|
4642
|
+
* Key → positional code map for the `po_violation_status` CVC domain (CVC-215). Protection Orders (IC-62).
|
|
4643
|
+
*
|
|
4644
|
+
* Domain: `po_violation_status` · Version: 1.0.0 · Entries: 6
|
|
4645
|
+
*/
|
|
4646
|
+
export const PoViolationStatusKeys = {
|
|
4647
|
+
missingness_root: "215-000-000-000-000-000-000",
|
|
4648
|
+
unknown: "215-000-000-000-000-000-001",
|
|
4649
|
+
anonymous: "215-000-000-000-000-000-002",
|
|
4650
|
+
data_not_collected: "215-000-000-000-000-000-003",
|
|
4651
|
+
violated: "215-001-000-000-000-000-000",
|
|
4652
|
+
notviolated: "215-002-000-000-000-000-000",
|
|
4653
|
+
} as const;
|
|
4654
|
+
|
|
4655
|
+
export type PoViolationStatusKey = keyof typeof PoViolationStatusKeys;
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* Key → positional code map for the `session_template` CVC domain (CVC-217). Canonical session templates across PAVE / Thread / LEADS; distinct from CVC-216 `session_state`.
|
|
4659
|
+
*
|
|
4660
|
+
* Domain: `session_template` · Version: 1.0.0 · Entries: 23
|
|
4661
|
+
*/
|
|
4662
|
+
export const SessionTemplateKeys = {
|
|
4663
|
+
missingness_root: "217-000-000-000-000-000-000",
|
|
4664
|
+
unknown: "217-000-000-000-000-000-001",
|
|
4665
|
+
anonymous: "217-000-000-000-000-000-002",
|
|
4666
|
+
data_not_collected: "217-000-000-000-000-000-003",
|
|
4667
|
+
cst_pave_other: "217-001-000-000-000-000-000",
|
|
4668
|
+
cst_pave_program_exit: "217-002-000-000-000-000-000",
|
|
4669
|
+
cst_pave_client_update: "217-003-000-000-000-000-000",
|
|
4670
|
+
cst_pave_program_intake_existing: "217-004-000-000-000-000-000",
|
|
4671
|
+
cst_pave_new_client: "217-005-000-000-000-000-000",
|
|
4672
|
+
cst_thread_other: "217-006-000-000-000-000-000",
|
|
4673
|
+
cst_thread_in_person_not_field: "217-007-000-000-000-000-000",
|
|
4674
|
+
cst_thread_misc_call: "217-008-000-000-000-000-000",
|
|
4675
|
+
cst_thread_text_email: "217-009-000-000-000-000-000",
|
|
4676
|
+
cst_thread_field_response: "217-010-000-000-000-000-000",
|
|
4677
|
+
cst_thread_lap_incident: "217-011-000-000-000-000-000",
|
|
4678
|
+
cst_thread_hotline_call: "217-012-000-000-000-000-000",
|
|
4679
|
+
cst_leads_other: "217-013-000-000-000-000-000",
|
|
4680
|
+
cst_leads_database_query: "217-014-000-000-000-000-000",
|
|
4681
|
+
cst_leads_case_update: "217-015-000-000-000-000-000",
|
|
4682
|
+
cst_leads_new_report: "217-016-000-000-000-000-000",
|
|
4683
|
+
cst_leads_new_case: "217-017-000-000-000-000-000",
|
|
4684
|
+
cst_leads_new_lead_tip: "217-018-000-000-000-000-000",
|
|
4685
|
+
cst_unk_other_virtual: "217-019-000-000-000-000-000",
|
|
4686
|
+
} as const;
|
|
4687
|
+
|
|
4688
|
+
export type SessionTemplateKey = keyof typeof SessionTemplateKeys;
|
|
4689
|
+
|
|
4690
|
+
/**
|
|
4691
|
+
* Key → positional code map for the `service_delivery_channel` CVC domain (CVC-47, canonical). HOW a service was delivered; sibling axis to CVC-25 `service_mechanisms` and CVC-49 `service_states`. `GROUP_INPERSON` / `GROUP_REMOTE` are flagged local extensions.
|
|
4692
|
+
*
|
|
4693
|
+
* Domain: `service_delivery_channel` · Version: 1.0.0 · Entries: 11
|
|
4694
|
+
*/
|
|
4695
|
+
export const ServiceDeliveryChannelKeys = {
|
|
4696
|
+
missingness_root: "047-000-000-000-000-000-000",
|
|
4697
|
+
unknown: "047-000-000-000-000-000-001",
|
|
4698
|
+
anonymous: "047-000-000-000-000-000-002",
|
|
4699
|
+
data_not_collected: "047-000-000-000-000-000-003",
|
|
4700
|
+
phone: "047-001-000-000-000-000-000",
|
|
4701
|
+
in_person: "047-002-000-000-000-000-000",
|
|
4702
|
+
on_scene: "047-003-000-000-000-000-000",
|
|
4703
|
+
virtual: "047-004-000-000-000-000-000",
|
|
4704
|
+
email_text_chat: "047-005-000-000-000-000-000",
|
|
4705
|
+
group_inperson: "047-006-000-000-000-000-000",
|
|
4706
|
+
group_remote: "047-007-000-000-000-000-000",
|
|
4707
|
+
} as const;
|
|
4708
|
+
|
|
4709
|
+
export type ServiceDeliveryChannelKey = keyof typeof ServiceDeliveryChannelKeys;
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* Key → positional code map for the `citizenship` CVC domain (CVC-182, provisional-pending-notion-ratification). 249 countries + the canonical 3-value missingness set. Positional codes are MINTED platform-common-side: the upstream Notion codebook's Code column is blank on all 252 rows. The authoritative ISO 3166-1 alpha-2 code rides on each entry as `iso31661Alpha2`.
|
|
4713
|
+
*
|
|
4714
|
+
* Domain: `citizenship` · Version: 1.0.0 · Entries: 253
|
|
4715
|
+
*/
|
|
4716
|
+
export const CitizenshipKeys = {
|
|
4717
|
+
missingness_root: "182-000-000-000-000-000-000",
|
|
4718
|
+
unknown: "182-000-000-000-000-000-001",
|
|
4719
|
+
anonymous: "182-000-000-000-000-000-002",
|
|
4720
|
+
data_not_collected: "182-000-000-000-000-000-003",
|
|
4721
|
+
afghanistan: "182-001-000-000-000-000-000",
|
|
4722
|
+
aland_islands: "182-002-000-000-000-000-000",
|
|
4723
|
+
albania: "182-003-000-000-000-000-000",
|
|
4724
|
+
algeria: "182-004-000-000-000-000-000",
|
|
4725
|
+
american_samoa: "182-005-000-000-000-000-000",
|
|
4726
|
+
andorra: "182-006-000-000-000-000-000",
|
|
4727
|
+
angola: "182-007-000-000-000-000-000",
|
|
4728
|
+
anguilla: "182-008-000-000-000-000-000",
|
|
4729
|
+
antarctica: "182-009-000-000-000-000-000",
|
|
4730
|
+
antigua_and_barbuda: "182-010-000-000-000-000-000",
|
|
4731
|
+
argentina: "182-011-000-000-000-000-000",
|
|
4732
|
+
armenia: "182-012-000-000-000-000-000",
|
|
4733
|
+
aruba: "182-013-000-000-000-000-000",
|
|
4734
|
+
australia: "182-014-000-000-000-000-000",
|
|
4735
|
+
austria: "182-015-000-000-000-000-000",
|
|
4736
|
+
azerbaijan: "182-016-000-000-000-000-000",
|
|
4737
|
+
bahamas: "182-017-000-000-000-000-000",
|
|
4738
|
+
bahrain: "182-018-000-000-000-000-000",
|
|
4739
|
+
bangladesh: "182-019-000-000-000-000-000",
|
|
4740
|
+
barbados: "182-020-000-000-000-000-000",
|
|
4741
|
+
belarus: "182-021-000-000-000-000-000",
|
|
4742
|
+
belgium: "182-022-000-000-000-000-000",
|
|
4743
|
+
belize: "182-023-000-000-000-000-000",
|
|
4744
|
+
benin: "182-024-000-000-000-000-000",
|
|
4745
|
+
bermuda: "182-025-000-000-000-000-000",
|
|
4746
|
+
bhutan: "182-026-000-000-000-000-000",
|
|
4747
|
+
bolivia_plurinational_state_of: "182-027-000-000-000-000-000",
|
|
4748
|
+
bonaire_sint_eustatius_and_saba: "182-028-000-000-000-000-000",
|
|
4749
|
+
bosnia_and_herzegovina: "182-029-000-000-000-000-000",
|
|
4750
|
+
botswana: "182-030-000-000-000-000-000",
|
|
4751
|
+
bouvet_island: "182-031-000-000-000-000-000",
|
|
4752
|
+
brazil: "182-032-000-000-000-000-000",
|
|
4753
|
+
british_indian_ocean_territory: "182-033-000-000-000-000-000",
|
|
4754
|
+
brunei_darussalam: "182-034-000-000-000-000-000",
|
|
4755
|
+
bulgaria: "182-035-000-000-000-000-000",
|
|
4756
|
+
burkina_faso: "182-036-000-000-000-000-000",
|
|
4757
|
+
burundi: "182-037-000-000-000-000-000",
|
|
4758
|
+
cambodia: "182-038-000-000-000-000-000",
|
|
4759
|
+
cameroon: "182-039-000-000-000-000-000",
|
|
4760
|
+
canada: "182-040-000-000-000-000-000",
|
|
4761
|
+
cape_verde: "182-041-000-000-000-000-000",
|
|
4762
|
+
cayman_islands: "182-042-000-000-000-000-000",
|
|
4763
|
+
central_african_republic: "182-043-000-000-000-000-000",
|
|
4764
|
+
chad: "182-044-000-000-000-000-000",
|
|
4765
|
+
chile: "182-045-000-000-000-000-000",
|
|
4766
|
+
china: "182-046-000-000-000-000-000",
|
|
4767
|
+
christmas_island: "182-047-000-000-000-000-000",
|
|
4768
|
+
cocos_keeling_islands: "182-048-000-000-000-000-000",
|
|
4769
|
+
colombia: "182-049-000-000-000-000-000",
|
|
4770
|
+
comoros: "182-050-000-000-000-000-000",
|
|
4771
|
+
congo: "182-051-000-000-000-000-000",
|
|
4772
|
+
congo_the_democratic_republic_of_the: "182-052-000-000-000-000-000",
|
|
4773
|
+
cook_islands: "182-053-000-000-000-000-000",
|
|
4774
|
+
costa_rica: "182-054-000-000-000-000-000",
|
|
4775
|
+
cote_d_ivoire: "182-055-000-000-000-000-000",
|
|
4776
|
+
croatia: "182-056-000-000-000-000-000",
|
|
4777
|
+
cuba: "182-057-000-000-000-000-000",
|
|
4778
|
+
curacao: "182-058-000-000-000-000-000",
|
|
4779
|
+
cyprus: "182-059-000-000-000-000-000",
|
|
4780
|
+
czech_republic: "182-060-000-000-000-000-000",
|
|
4781
|
+
denmark: "182-061-000-000-000-000-000",
|
|
4782
|
+
djibouti: "182-062-000-000-000-000-000",
|
|
4783
|
+
dominica: "182-063-000-000-000-000-000",
|
|
4784
|
+
dominican_republic: "182-064-000-000-000-000-000",
|
|
4785
|
+
ecuador: "182-065-000-000-000-000-000",
|
|
4786
|
+
egypt: "182-066-000-000-000-000-000",
|
|
4787
|
+
el_salvador: "182-067-000-000-000-000-000",
|
|
4788
|
+
equatorial_guinea: "182-068-000-000-000-000-000",
|
|
4789
|
+
eritrea: "182-069-000-000-000-000-000",
|
|
4790
|
+
estonia: "182-070-000-000-000-000-000",
|
|
4791
|
+
ethiopia: "182-071-000-000-000-000-000",
|
|
4792
|
+
falkland_islands_malvinas: "182-072-000-000-000-000-000",
|
|
4793
|
+
faroe_islands: "182-073-000-000-000-000-000",
|
|
4794
|
+
fiji: "182-074-000-000-000-000-000",
|
|
4795
|
+
finland: "182-075-000-000-000-000-000",
|
|
4796
|
+
france: "182-076-000-000-000-000-000",
|
|
4797
|
+
french_guiana: "182-077-000-000-000-000-000",
|
|
4798
|
+
french_polynesia: "182-078-000-000-000-000-000",
|
|
4799
|
+
french_southern_territories: "182-079-000-000-000-000-000",
|
|
4800
|
+
gabon: "182-080-000-000-000-000-000",
|
|
4801
|
+
gambia: "182-081-000-000-000-000-000",
|
|
4802
|
+
georgia: "182-082-000-000-000-000-000",
|
|
4803
|
+
ghana: "182-083-000-000-000-000-000",
|
|
4804
|
+
germany: "182-084-000-000-000-000-000",
|
|
4805
|
+
gibraltar: "182-085-000-000-000-000-000",
|
|
4806
|
+
greece: "182-086-000-000-000-000-000",
|
|
4807
|
+
greenland: "182-087-000-000-000-000-000",
|
|
4808
|
+
grenada: "182-088-000-000-000-000-000",
|
|
4809
|
+
guadeloupe: "182-089-000-000-000-000-000",
|
|
4810
|
+
guam: "182-090-000-000-000-000-000",
|
|
4811
|
+
guatemala: "182-091-000-000-000-000-000",
|
|
4812
|
+
guernsey: "182-092-000-000-000-000-000",
|
|
4813
|
+
guinea: "182-093-000-000-000-000-000",
|
|
4814
|
+
guinea_bissau: "182-094-000-000-000-000-000",
|
|
4815
|
+
guyana: "182-095-000-000-000-000-000",
|
|
4816
|
+
haiti: "182-096-000-000-000-000-000",
|
|
4817
|
+
heard_island_and_mcdonald_islands: "182-097-000-000-000-000-000",
|
|
4818
|
+
holy_see_vatican_city_state: "182-098-000-000-000-000-000",
|
|
4819
|
+
honduras: "182-099-000-000-000-000-000",
|
|
4820
|
+
hong_kong: "182-100-000-000-000-000-000",
|
|
4821
|
+
hungary: "182-101-000-000-000-000-000",
|
|
4822
|
+
iceland: "182-102-000-000-000-000-000",
|
|
4823
|
+
india: "182-103-000-000-000-000-000",
|
|
4824
|
+
indonesia: "182-104-000-000-000-000-000",
|
|
4825
|
+
iran_islamic_republic_of: "182-105-000-000-000-000-000",
|
|
4826
|
+
iraq: "182-106-000-000-000-000-000",
|
|
4827
|
+
ireland: "182-107-000-000-000-000-000",
|
|
4828
|
+
isle_of_man: "182-108-000-000-000-000-000",
|
|
4829
|
+
israel: "182-109-000-000-000-000-000",
|
|
4830
|
+
italy: "182-110-000-000-000-000-000",
|
|
4831
|
+
jamaica: "182-111-000-000-000-000-000",
|
|
4832
|
+
jersey: "182-112-000-000-000-000-000",
|
|
4833
|
+
japan: "182-113-000-000-000-000-000",
|
|
4834
|
+
jordan: "182-114-000-000-000-000-000",
|
|
4835
|
+
kazakhstan: "182-115-000-000-000-000-000",
|
|
4836
|
+
kenya: "182-116-000-000-000-000-000",
|
|
4837
|
+
kiribati: "182-117-000-000-000-000-000",
|
|
4838
|
+
korea_democratic_people_s_republic_of: "182-118-000-000-000-000-000",
|
|
4839
|
+
korea_republic_of: "182-119-000-000-000-000-000",
|
|
4840
|
+
kuwait: "182-120-000-000-000-000-000",
|
|
4841
|
+
kyrgyzstan: "182-121-000-000-000-000-000",
|
|
4842
|
+
lao_people_s_democratic_republic: "182-122-000-000-000-000-000",
|
|
4843
|
+
latvia: "182-123-000-000-000-000-000",
|
|
4844
|
+
lebanon: "182-124-000-000-000-000-000",
|
|
4845
|
+
lesotho: "182-125-000-000-000-000-000",
|
|
4846
|
+
liberia: "182-126-000-000-000-000-000",
|
|
4847
|
+
libya: "182-127-000-000-000-000-000",
|
|
4848
|
+
liechtenstein: "182-128-000-000-000-000-000",
|
|
4849
|
+
lithuania: "182-129-000-000-000-000-000",
|
|
4850
|
+
luxembourg: "182-130-000-000-000-000-000",
|
|
4851
|
+
macao: "182-131-000-000-000-000-000",
|
|
4852
|
+
macedonia_the_former_yugoslav_republic_of: "182-132-000-000-000-000-000",
|
|
4853
|
+
madagascar: "182-133-000-000-000-000-000",
|
|
4854
|
+
malawi: "182-134-000-000-000-000-000",
|
|
4855
|
+
malaysia: "182-135-000-000-000-000-000",
|
|
4856
|
+
maldives: "182-136-000-000-000-000-000",
|
|
4857
|
+
mali: "182-137-000-000-000-000-000",
|
|
4858
|
+
malta: "182-138-000-000-000-000-000",
|
|
4859
|
+
marshall_islands: "182-139-000-000-000-000-000",
|
|
4860
|
+
martinique: "182-140-000-000-000-000-000",
|
|
4861
|
+
mauritania: "182-141-000-000-000-000-000",
|
|
4862
|
+
mauritius: "182-142-000-000-000-000-000",
|
|
4863
|
+
mayotte: "182-143-000-000-000-000-000",
|
|
4864
|
+
mexico: "182-144-000-000-000-000-000",
|
|
4865
|
+
micronesia_federated_states_of: "182-145-000-000-000-000-000",
|
|
4866
|
+
moldova_republic_of: "182-146-000-000-000-000-000",
|
|
4867
|
+
monaco: "182-147-000-000-000-000-000",
|
|
4868
|
+
mongolia: "182-148-000-000-000-000-000",
|
|
4869
|
+
montenegro: "182-149-000-000-000-000-000",
|
|
4870
|
+
montserrat: "182-150-000-000-000-000-000",
|
|
4871
|
+
morocco: "182-151-000-000-000-000-000",
|
|
4872
|
+
mozambique: "182-152-000-000-000-000-000",
|
|
4873
|
+
myanmar: "182-153-000-000-000-000-000",
|
|
4874
|
+
namibia: "182-154-000-000-000-000-000",
|
|
4875
|
+
nauru: "182-155-000-000-000-000-000",
|
|
4876
|
+
nepal: "182-156-000-000-000-000-000",
|
|
4877
|
+
netherlands: "182-157-000-000-000-000-000",
|
|
4878
|
+
new_caledonia: "182-158-000-000-000-000-000",
|
|
4879
|
+
new_zealand: "182-159-000-000-000-000-000",
|
|
4880
|
+
nicaragua: "182-160-000-000-000-000-000",
|
|
4881
|
+
niger: "182-161-000-000-000-000-000",
|
|
4882
|
+
nigeria: "182-162-000-000-000-000-000",
|
|
4883
|
+
niue: "182-163-000-000-000-000-000",
|
|
4884
|
+
norfolk_island: "182-164-000-000-000-000-000",
|
|
4885
|
+
northern_mariana_islands: "182-165-000-000-000-000-000",
|
|
4886
|
+
norway: "182-166-000-000-000-000-000",
|
|
4887
|
+
oman: "182-167-000-000-000-000-000",
|
|
4888
|
+
pakistan: "182-168-000-000-000-000-000",
|
|
4889
|
+
palau: "182-169-000-000-000-000-000",
|
|
4890
|
+
palestine_state_of: "182-170-000-000-000-000-000",
|
|
4891
|
+
panama: "182-171-000-000-000-000-000",
|
|
4892
|
+
papua_new_guinea: "182-172-000-000-000-000-000",
|
|
4893
|
+
paraguay: "182-173-000-000-000-000-000",
|
|
4894
|
+
peru: "182-174-000-000-000-000-000",
|
|
4895
|
+
philippines: "182-175-000-000-000-000-000",
|
|
4896
|
+
pitcairn: "182-176-000-000-000-000-000",
|
|
4897
|
+
poland: "182-177-000-000-000-000-000",
|
|
4898
|
+
portugal: "182-178-000-000-000-000-000",
|
|
4899
|
+
puerto_rico: "182-179-000-000-000-000-000",
|
|
4900
|
+
qatar: "182-180-000-000-000-000-000",
|
|
4901
|
+
reunion: "182-181-000-000-000-000-000",
|
|
4902
|
+
romania: "182-182-000-000-000-000-000",
|
|
4903
|
+
russian_federation: "182-183-000-000-000-000-000",
|
|
4904
|
+
rwanda: "182-184-000-000-000-000-000",
|
|
4905
|
+
saint_barthelemy: "182-185-000-000-000-000-000",
|
|
4906
|
+
saint_helena_ascension_and_tristan_da_cunha: "182-186-000-000-000-000-000",
|
|
4907
|
+
saint_kitts_and_nevis: "182-187-000-000-000-000-000",
|
|
4908
|
+
saint_lucia: "182-188-000-000-000-000-000",
|
|
4909
|
+
saint_martin_french_part: "182-189-000-000-000-000-000",
|
|
4910
|
+
saint_pierre_and_miquelon: "182-190-000-000-000-000-000",
|
|
4911
|
+
saint_vincent_and_the_grenadines: "182-191-000-000-000-000-000",
|
|
4912
|
+
samoa: "182-192-000-000-000-000-000",
|
|
4913
|
+
san_marino: "182-193-000-000-000-000-000",
|
|
4914
|
+
sao_tome_and_principe: "182-194-000-000-000-000-000",
|
|
4915
|
+
saudi_arabia: "182-195-000-000-000-000-000",
|
|
4916
|
+
senegal: "182-196-000-000-000-000-000",
|
|
4917
|
+
serbia: "182-197-000-000-000-000-000",
|
|
4918
|
+
sierra_leone: "182-198-000-000-000-000-000",
|
|
4919
|
+
seychelles: "182-199-000-000-000-000-000",
|
|
4920
|
+
singapore: "182-200-000-000-000-000-000",
|
|
4921
|
+
sint_maarten_dutch_part: "182-201-000-000-000-000-000",
|
|
4922
|
+
slovakia: "182-202-000-000-000-000-000",
|
|
4923
|
+
slovenia: "182-203-000-000-000-000-000",
|
|
4924
|
+
solomon_islands: "182-204-000-000-000-000-000",
|
|
4925
|
+
somalia: "182-205-000-000-000-000-000",
|
|
4926
|
+
south_africa: "182-206-000-000-000-000-000",
|
|
4927
|
+
south_georgia_and_the_south_sandwich_islands: "182-207-000-000-000-000-000",
|
|
4928
|
+
spain: "182-208-000-000-000-000-000",
|
|
4929
|
+
south_sudan: "182-209-000-000-000-000-000",
|
|
4930
|
+
sri_lanka: "182-210-000-000-000-000-000",
|
|
4931
|
+
sudan: "182-211-000-000-000-000-000",
|
|
4932
|
+
suriname: "182-212-000-000-000-000-000",
|
|
4933
|
+
svalbard_and_jan_mayen: "182-213-000-000-000-000-000",
|
|
4934
|
+
eswatini: "182-214-000-000-000-000-000",
|
|
4935
|
+
sweden: "182-215-000-000-000-000-000",
|
|
4936
|
+
switzerland: "182-216-000-000-000-000-000",
|
|
4937
|
+
syrian_arab_republic: "182-217-000-000-000-000-000",
|
|
4938
|
+
taiwan_province_of_china: "182-218-000-000-000-000-000",
|
|
4939
|
+
tajikistan: "182-219-000-000-000-000-000",
|
|
4940
|
+
thailand: "182-220-000-000-000-000-000",
|
|
4941
|
+
tanzania_united_republic_of: "182-221-000-000-000-000-000",
|
|
4942
|
+
timor_leste: "182-222-000-000-000-000-000",
|
|
4943
|
+
togo: "182-223-000-000-000-000-000",
|
|
4944
|
+
tokelau: "182-224-000-000-000-000-000",
|
|
4945
|
+
tonga: "182-225-000-000-000-000-000",
|
|
4946
|
+
trinidad_and_tobago: "182-226-000-000-000-000-000",
|
|
4947
|
+
tunisia: "182-227-000-000-000-000-000",
|
|
4948
|
+
turkey: "182-228-000-000-000-000-000",
|
|
4949
|
+
turkmenistan: "182-229-000-000-000-000-000",
|
|
4950
|
+
turks_and_caicos_islands: "182-230-000-000-000-000-000",
|
|
4951
|
+
tuvalu: "182-231-000-000-000-000-000",
|
|
4952
|
+
uganda: "182-232-000-000-000-000-000",
|
|
4953
|
+
ukraine: "182-233-000-000-000-000-000",
|
|
4954
|
+
united_arab_emirates: "182-234-000-000-000-000-000",
|
|
4955
|
+
united_kingdom: "182-235-000-000-000-000-000",
|
|
4956
|
+
united_states: "182-236-000-000-000-000-000",
|
|
4957
|
+
united_states_minor_outlying_islands: "182-237-000-000-000-000-000",
|
|
4958
|
+
uruguay: "182-238-000-000-000-000-000",
|
|
4959
|
+
uzbekistan: "182-239-000-000-000-000-000",
|
|
4960
|
+
vanuatu: "182-240-000-000-000-000-000",
|
|
4961
|
+
venezuela_bolivarian_republic_of: "182-241-000-000-000-000-000",
|
|
4962
|
+
viet_nam: "182-242-000-000-000-000-000",
|
|
4963
|
+
virgin_islands_british: "182-243-000-000-000-000-000",
|
|
4964
|
+
virgin_islands_u_s: "182-244-000-000-000-000-000",
|
|
4965
|
+
wallis_and_futuna: "182-245-000-000-000-000-000",
|
|
4966
|
+
western_sahara: "182-246-000-000-000-000-000",
|
|
4967
|
+
yemen: "182-247-000-000-000-000-000",
|
|
4968
|
+
zambia: "182-248-000-000-000-000-000",
|
|
4969
|
+
zimbabwe: "182-249-000-000-000-000-000",
|
|
4970
|
+
} as const;
|
|
4971
|
+
|
|
4972
|
+
export type CitizenshipKey = keyof typeof CitizenshipKeys;
|
|
4973
|
+
|
|
4974
|
+
/**
|
|
4975
|
+
* Key → positional code map for the `trafficking_relevant_role` CVC domain (CVC-235, canonical). The 4 top-level supply/demand/enabling/adjacent roles: worker_provider, facilitator_controller, buyer_client_direct_beneficiary, other_associate. Asserting a role does NOT assert victim or offender status.
|
|
4976
|
+
*
|
|
4977
|
+
* Domain: `trafficking_relevant_role` · Version: 1.0.0 · Entries: 8
|
|
4978
|
+
*/
|
|
4979
|
+
export const TraffickingRelevantRoleKeys = {
|
|
4980
|
+
missingness_root: "235-000-000-000-000-000-000",
|
|
4981
|
+
unknown: "235-000-000-000-000-000-001",
|
|
4982
|
+
anonymous: "235-000-000-000-000-000-002",
|
|
4983
|
+
data_not_collected: "235-000-000-000-000-000-003",
|
|
4984
|
+
worker_provider: "235-001-000-000-000-000-000",
|
|
4985
|
+
facilitator_controller: "235-002-000-000-000-000-000",
|
|
4986
|
+
buyer_client_direct_beneficiary: "235-003-000-000-000-000-000",
|
|
4987
|
+
other_associate: "235-004-000-000-000-000-000",
|
|
4988
|
+
} as const;
|
|
4989
|
+
|
|
4990
|
+
export type TraffickingRelevantRoleKey = keyof typeof TraffickingRelevantRoleKeys;
|
|
4991
|
+
|
|
4992
|
+
/**
|
|
4993
|
+
* Key → positional code map for the `why_nots` CVC domain (CVC-219, canonical). WHY a needed referral/service was not arranged. Two levels: 7 selectable buckets (the stored `closed_why_not_code`) + 21 selectable subtype leaves (the optional `closed_why_not_subcode`).
|
|
4994
|
+
*
|
|
4995
|
+
* Domain: `why_nots` · Version: 1.0.0 · Entries: 32
|
|
4996
|
+
*/
|
|
4997
|
+
export const WhyNotKeys = {
|
|
4998
|
+
missingness_root: "219-000-000-000-000-000-000",
|
|
4999
|
+
unknown: "219-000-000-000-000-000-001",
|
|
5000
|
+
anonymous: "219-000-000-000-000-000-002",
|
|
5001
|
+
data_not_collected: "219-000-000-000-000-000-003",
|
|
5002
|
+
bkt_fit: "219-001-000-000-000-000-000",
|
|
5003
|
+
fit_mh: "219-001-001-000-000-000-000",
|
|
5004
|
+
fit_sud: "219-001-002-000-000-000-000",
|
|
5005
|
+
fit_other: "219-001-003-000-000-000-000",
|
|
5006
|
+
bkt_access: "219-002-000-000-000-000-000",
|
|
5007
|
+
access_lang: "219-002-001-000-000-000-000",
|
|
5008
|
+
access_cult: "219-002-002-000-000-000-000",
|
|
5009
|
+
access_dis: "219-002-003-000-000-000-000",
|
|
5010
|
+
access_deaf: "219-002-004-000-000-000-000",
|
|
5011
|
+
access_cc: "219-002-005-000-000-000-000",
|
|
5012
|
+
access_trans: "219-002-006-000-000-000-000",
|
|
5013
|
+
access_hours: "219-002-007-000-000-000-000",
|
|
5014
|
+
bkt_cap: "219-003-000-000-000-000-000",
|
|
5015
|
+
bkt_res: "219-004-000-000-000-000-000",
|
|
5016
|
+
bkt_elig: "219-005-000-000-000-000-000",
|
|
5017
|
+
bkt_choice: "219-006-000-000-000-000-000",
|
|
5018
|
+
decl: "219-006-001-000-000-000-000",
|
|
5019
|
+
rules: "219-006-002-000-000-000-000",
|
|
5020
|
+
selfres: "219-006-003-000-000-000-000",
|
|
5021
|
+
bkt_other: "219-007-000-000-000-000-000",
|
|
5022
|
+
int: "219-007-001-000-000-000-000",
|
|
5023
|
+
xfer: "219-007-002-000-000-000-000",
|
|
5024
|
+
def: "219-007-003-000-000-000-000",
|
|
5025
|
+
noresp: "219-007-004-000-000-000-000",
|
|
5026
|
+
safe: "219-007-005-000-000-000-000",
|
|
5027
|
+
coi: "219-007-006-000-000-000-000",
|
|
5028
|
+
other: "219-007-007-000-000-000-000",
|
|
5029
|
+
unknc: "219-007-008-000-000-000-000",
|
|
5030
|
+
} as const;
|
|
5031
|
+
|
|
5032
|
+
export type WhyNotKey = keyof typeof WhyNotKeys;
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* Key → positional code map for the `assertion_status` CVC domain (GDR §10.1 `core - status`; assertion lifecycle status; PROVISIONAL, pending Notion ratification).
|
|
5036
|
+
*
|
|
5037
|
+
* Domain: `assertion_status` · Version: 1.0.0 · Entries: 7
|
|
5038
|
+
*/
|
|
5039
|
+
export const AssertionStatusKeys = {
|
|
5040
|
+
missingness_root: "985-000-000-000-000-000-000",
|
|
5041
|
+
unknown: "985-000-000-000-000-000-001",
|
|
5042
|
+
anonymous: "985-000-000-000-000-000-002",
|
|
5043
|
+
data_not_collected: "985-000-000-000-000-000-003",
|
|
5044
|
+
active: "985-001-000-000-000-000-000",
|
|
5045
|
+
superseded: "985-002-000-000-000-000-000",
|
|
5046
|
+
retracted: "985-003-000-000-000-000-000",
|
|
5047
|
+
} as const;
|
|
5048
|
+
|
|
5049
|
+
export type AssertionStatusKey = keyof typeof AssertionStatusKeys;
|
|
5050
|
+
|
|
5051
|
+
/**
|
|
5052
|
+
* Key → positional code map for the `created_by_system` CVC domain (GDR §10.1 `core - created_by_system`; creating actor class; PROVISIONAL, pending Notion ratification).
|
|
5053
|
+
*
|
|
5054
|
+
* Domain: `created_by_system` · Version: 1.0.0 · Entries: 8
|
|
5055
|
+
*/
|
|
5056
|
+
export const CreatedBySystemKeys = {
|
|
5057
|
+
missingness_root: "986-000-000-000-000-000-000",
|
|
5058
|
+
unknown: "986-000-000-000-000-000-001",
|
|
5059
|
+
anonymous: "986-000-000-000-000-000-002",
|
|
5060
|
+
data_not_collected: "986-000-000-000-000-000-003",
|
|
5061
|
+
human: "986-001-000-000-000-000-000",
|
|
5062
|
+
integration: "986-002-000-000-000-000-000",
|
|
5063
|
+
rules_engine: "986-003-000-000-000-000-000",
|
|
5064
|
+
model: "986-004-000-000-000-000-000",
|
|
5065
|
+
} as const;
|
|
5066
|
+
|
|
5067
|
+
export type CreatedBySystemKey = keyof typeof CreatedBySystemKeys;
|
|
5068
|
+
|
|
5069
|
+
/**
|
|
5070
|
+
* Key → positional code map for the `subject_type` CVC domain (GDR §10.1 `core - subject_type`; assertion subject type; PROVISIONAL, pending Notion ratification).
|
|
5071
|
+
*
|
|
5072
|
+
* Domain: `subject_type` · Version: 1.0.0 · Entries: 7
|
|
5073
|
+
*/
|
|
5074
|
+
export const SubjectTypeKeys = {
|
|
5075
|
+
missingness_root: "987-000-000-000-000-000-000",
|
|
5076
|
+
unknown: "987-000-000-000-000-000-001",
|
|
5077
|
+
anonymous: "987-000-000-000-000-000-002",
|
|
5078
|
+
data_not_collected: "987-000-000-000-000-000-003",
|
|
5079
|
+
person: "987-001-000-000-000-000-000",
|
|
5080
|
+
relationship: "987-002-000-000-000-000-000",
|
|
5081
|
+
case: "987-003-000-000-000-000-000",
|
|
5082
|
+
} as const;
|
|
5083
|
+
|
|
5084
|
+
export type SubjectTypeKey = keyof typeof SubjectTypeKeys;
|
|
5085
|
+
|
|
5086
|
+
/**
|
|
5087
|
+
* Key → positional code map for the `minor_adult_status` CVC domain (GDR §10.1 `core - minor_adult_status`; age band at event; PROVISIONAL at 988 — canonical CVC-61 exists in the index but its Notion codebook is empty, see ADR-CVC-0.8.13 NARRATIVE_ONLY; renumber 988→61 on Notion authoring).
|
|
5088
|
+
*
|
|
5089
|
+
* Domain: `minor_adult_status` · Version: 1.0.0 · Entries: 7
|
|
5090
|
+
*/
|
|
5091
|
+
export const MinorAdultStatusKeys = {
|
|
5092
|
+
missingness_root: "988-000-000-000-000-000-000",
|
|
5093
|
+
unknown: "988-000-000-000-000-000-001",
|
|
5094
|
+
anonymous: "988-000-000-000-000-000-002",
|
|
5095
|
+
data_not_collected: "988-000-000-000-000-000-003",
|
|
5096
|
+
minor: "988-001-000-000-000-000-000",
|
|
5097
|
+
adult: "988-002-000-000-000-000-000",
|
|
5098
|
+
indeterminate: "988-003-000-000-000-000-000",
|
|
5099
|
+
} as const;
|
|
5100
|
+
|
|
5101
|
+
export type MinorAdultStatusKey = keyof typeof MinorAdultStatusKeys;
|