@htilabs/platform-common-models 0.8.12 → 0.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/constants/index.cjs +133 -287
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +133 -275
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +11670 -969
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +14727 -3020
  10. package/dist/cvcs/index.d.ts +14727 -3020
  11. package/dist/cvcs/index.js +11643 -968
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +12718 -1360
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +1012 -128
  16. package/dist/index.d.ts +1012 -128
  17. package/dist/index.js +12671 -1345
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-BwfZ0bxU.d.cts → platform-auth-BfCMuAlC.d.cts} +2 -74
  20. package/dist/{platform-auth-BwfZ0bxU.d.ts → platform-auth-BfCMuAlC.d.ts} +2 -74
  21. package/dist/schemas/index.cjs +0 -152
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +0 -152
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/services/index.cjs +0 -3
  26. package/dist/services/index.cjs.map +1 -1
  27. package/dist/services/index.js +0 -3
  28. package/dist/services/index.js.map +1 -1
  29. package/dist/types/index.d.cts +2 -2
  30. package/dist/types/index.d.ts +2 -2
  31. package/package.json +4 -1
  32. package/src/__sot__/README.md +56 -0
  33. package/src/__sot__/coreIndicators.pin.json +215 -0
  34. package/src/__sot__/cvcIndex.pin.json +268 -0
  35. package/src/__sot__/scoringEmits.pin.json +176 -0
  36. package/src/__tests__/__snapshots__/cvc-sot.snap +109 -37
  37. package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
  38. package/src/__tests__/cvc-drift-gate.test.ts +596 -0
  39. package/src/__tests__/cvc-sot-snapshot.test.ts +38 -8
  40. package/src/__tests__/cvc-structural.test.ts +37 -1
  41. package/src/constants/ic.ts +184 -333
  42. package/src/constants/service-catalog.ts +4 -2
  43. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  44. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  45. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  46. package/src/cvcs/assertionDomain.v1.1.0.json +78 -105
  47. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  48. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  49. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  50. package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
  51. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  52. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  53. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  54. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
  55. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  56. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  57. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
  58. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  59. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  60. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  61. package/src/cvcs/index.ts +55 -2
  62. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
  63. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  64. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  65. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  66. package/src/cvcs/nameType.v1.0.0.json +40 -40
  67. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  68. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  69. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  70. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  71. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  72. package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
  73. package/src/cvcs/recencyBand.v1.0.0.json +126 -42
  74. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  75. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  76. package/src/cvcs/roiScope.v1.0.0.json +111 -3
  77. package/src/cvcs/roiStatus.v1.0.0.json +18 -10
  78. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
  79. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  80. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  81. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  82. package/src/cvcs/serviceStates.v1.0.0.json +40 -40
  83. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  84. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  85. package/src/cvcs/smtType.v1.0.0.json +40 -40
  86. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  87. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  88. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  89. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  90. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  91. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  92. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  93. package/src/generated/cvc-enums.ts +1047 -127
  94. package/src/services/cvcRegistryService.ts +1 -1
  95. package/src/cvcs/riskBand.v1.0.0.json +0 -98
@@ -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: 10
3474
+ * Domain: `recency_band` · Version: 1.0.0 · Entries: 12
3475
3475
  */
3476
3476
  export const RecencyBandKeys = {
3477
- missingness_root: "232-000-000-000-000-000-000",
3478
- unknown: "232-000-000-000-000-000-001",
3479
- anonymous: "232-000-000-000-000-000-002",
3480
- data_not_collected: "232-000-000-000-000-000-003",
3481
- within_3_months: "232-001-000-000-000-000-000",
3482
- months_3_to_6: "232-002-000-000-000-000-000",
3483
- months_6_to_12: "232-003-000-000-000-000-000",
3484
- one_year_or_more: "232-004-000-000-000-000-000",
3485
- years_3_to_10: "232-005-000-000-000-000-000",
3486
- ten_plus_years: "232-006-000-000-000-000-000",
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.0.0 · Entries: 16
3496
+ * Domain: `housing_subsidy_types` · Version: 1.1.0 · Entries: 16
3495
3497
  */
3496
3498
  export const HousingSubsidyTypesKeys = {
3497
- missingness_root: "233-000-000-000-000-000-000",
3498
- unknown: "233-000-000-000-000-000-001",
3499
- anonymous: "233-000-000-000-000-000-002",
3500
- data_not_collected: "233-000-000-000-000-000-003",
3501
- housing_choice_voucher: "233-001-000-000-000-000-000",
3502
- public_housing: "233-002-000-000-000-000-000",
3503
- project_based_rental_assistance: "233-003-000-000-000-000-000",
3504
- permanent_supportive_housing: "233-004-000-000-000-000-000",
3505
- rapid_rehousing_assistance: "233-005-000-000-000-000-000",
3506
- other_housing_subsidy: "233-006-000-000-000-000-000",
3507
- no_subsidy: "233-007-000-000-000-000-000",
3508
- va_supportive_housing: "233-008-000-000-000-000-000",
3509
- grant_per_diem_transition_in_place: "233-009-000-000-000-000-000",
3510
- housing_stability_voucher: "233-010-000-000-000-000-000",
3511
- family_unification_program: "233-011-000-000-000-000-000",
3512
- foster_youth_to_independence: "233-012-000-000-000-000-000",
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: 1.1.0 · Entries: 71
3522
+ * Domain: `assertion_domain` · Version: 2.0.0 · Entries: 68
3521
3523
  */
3522
3524
  export const AssertionDomainKeys = {
3523
- missingness_root: "964-000-000-000-000-000-000",
3524
- unknown: "964-000-000-000-000-000-001",
3525
- anonymous: "964-000-000-000-000-000-002",
3526
- data_not_collected: "964-000-000-000-000-000-003",
3527
- indicator: "964-001-000-000-000-000-000",
3528
- risk_signal: "964-002-000-000-000-000-000",
3529
- victim_status: "964-003-000-000-000-000-000",
3530
- offender_status: "964-004-000-000-000-000-000",
3531
- domain_determination: "964-005-000-000-000-000-000",
3532
- victimization_or_abuse_type: "964-006-000-000-000-000-000",
3533
- assessment_scale: "964-007-000-000-000-000-000",
3534
- recommended_followup: "964-008-000-000-000-000-000",
3535
- relationship: "964-009-000-000-000-000-000",
3536
- household_relationships: "964-010-000-000-000-000-000",
3537
- relationship_tie: "964-011-000-000-000-000-000",
3538
- relationship_dynamics: "964-012-000-000-000-000-000",
3539
- relationship_status_current: "964-013-000-000-000-000-000",
3540
- marital_status_legal: "964-014-000-000-000-000-000",
3541
- core_profile: "964-015-000-000-000-000-000",
3542
- person_tile: "964-016-000-000-000-000-000",
3543
- person_relationship: "964-017-000-000-000-000-000",
3544
- relevant_people: "964-018-000-000-000-000-000",
3545
- name: "964-019-000-000-000-000-000",
3546
- contact_info: "964-020-000-000-000-000-000",
3547
- address: "964-021-000-000-000-000-000",
3548
- vehicle: "964-022-000-000-000-000-000",
3549
- income_history: "964-023-000-000-000-000-000",
3550
- physical_description: "964-024-000-000-000-000-000",
3551
- living_situation: "964-025-000-000-000-000-000",
3552
- pet: "964-026-000-000-000-000-000",
3553
- protection_order: "964-027-000-000-000-000-000",
3554
- log_entry: "964-028-000-000-000-000-000",
3555
- session_note: "964-029-000-000-000-000-000",
3556
- referral_source: "964-030-000-000-000-000-000",
3557
- org_directory: "964-031-000-000-000-000-000",
3558
- person_directory: "964-032-000-000-000-000-000",
3559
- service_delivery: "964-033-000-000-000-000-000",
3560
- needs_assessment: "964-034-000-000-000-000-000",
3561
- priorities_and_safety: "964-035-000-000-000-000-000",
3562
- share: "964-036-000-000-000-000-000",
3563
- roi: "964-037-000-000-000-000-000",
3564
- external_recipient: "964-038-000-000-000-000-000",
3565
- access_accommodations: "964-039-000-000-000-000-000",
3566
- danger_assessment: "964-040-000-000-000-000-000",
3567
- hope_scale: "964-041-000-000-000-000-000",
3568
- injury_and_strangulation: "964-042-000-000-000-000-000",
3569
- lethality_assessment_program: "964-043-000-000-000-000-000",
3570
- occupational_background: "964-044-000-000-000-000-000",
3571
- household_tenure: "964-045-000-000-000-000-000",
3572
- program_enrollment: "964-046-000-000-000-000-000",
3573
- program_enrollment_exit_wizard: "964-047-000-000-000-000-000",
3574
- goal: "964-048-000-000-000-000-000",
3575
- action_step: "964-049-000-000-000-000-000",
3576
- milestone: "964-050-000-000-000-000-000",
3577
- check_in: "964-051-000-000-000-000-000",
3578
- goal_signature: "964-052-000-000-000-000-000",
3579
- subject_functional_role: "964-053-000-000-000-000-000",
3580
- worker_subrole: "964-054-000-000-000-000-000",
3581
- offender_status_family: "964-055-000-000-000-000-000",
3582
- assessment_rating: "964-056-000-000-000-000-000",
3583
- immigration_legal_status: "964-057-000-000-000-000-000",
3584
- persons_network: "964-058-000-000-000-000-000",
3585
- lifecycle_services: "964-059-000-000-000-000-000",
3586
- juvenile_justice_involvement: "964-060-000-000-000-000-000",
3587
- child_welfare_involvement: "964-061-000-000-000-000-000",
3588
- facilitator_role: "964-062-000-000-000-000-000",
3589
- facilitator_subrole: "964-063-000-000-000-000-000",
3590
- facilitator_entity_type: "964-064-000-000-000-000-000",
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
- 10: "967-001-000-000-000-000-000",
3656
- 50: "967-002-000-000-000-000-000",
3657
- 100: "967-003-000-000-000-000-000",
3658
- 250: "967-004-000-000-000-000-000",
3659
- 500: "967-005-000-000-000-000-000",
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.0.0 · Entries: 19
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.0.0 · Entries: 9
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,931 @@ 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; 210 canonical indicator codes re-sourced from prototype `data/core_indicators.yaml` @ a596eb9 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: 214
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
+ } as const;
4341
+
4342
+ export type CoreIndicatorKey = keyof typeof CoreIndicatorKeys;
4343
+
4344
+ /**
4345
+ * 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.
4346
+ *
4347
+ * Domain: `risk_severity_band` · Version: 1.0.0 · Entries: 9
4348
+ */
4349
+ export const RiskSeverityBandKeys = {
4350
+ missingness_root: "238-000-000-000-000-000-000",
4351
+ unknown: "238-000-000-000-000-000-001",
4352
+ anonymous: "238-000-000-000-000-000-002",
4353
+ data_not_collected: "238-000-000-000-000-000-003",
4354
+ risk_1: "238-001-000-000-000-000-000",
4355
+ risk_2: "238-002-000-000-000-000-000",
4356
+ risk_3: "238-003-000-000-000-000-000",
4357
+ risk_4: "238-004-000-000-000-000-000",
4358
+ risk_5: "238-005-000-000-000-000-000",
4359
+ } as const;
4360
+
4361
+ export type RiskSeverityBandKey = keyof typeof RiskSeverityBandKeys;
4362
+
4363
+ /**
4364
+ * 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`.
4365
+ *
4366
+ * Domain: `admin_roles` · Version: 1.0.0 · Entries: 14
4367
+ */
4368
+ export const AdminRoleKeys = {
4369
+ missingness_root: "134-000-000-000-000-000-000",
4370
+ unknown: "134-000-000-000-000-000-001",
4371
+ anonymous: "134-000-000-000-000-000-002",
4372
+ data_not_collected: "134-000-000-000-000-000-003",
4373
+ plt_adm: "134-001-000-000-000-000-000",
4374
+ plt_sup: "134-002-000-000-000-000-000",
4375
+ mem_adm: "134-003-000-000-000-000-000",
4376
+ team_adm: "134-004-000-000-000-000-000",
4377
+ aud: "134-005-000-000-000-000-000",
4378
+ data_adm: "134-006-000-000-000-000-000",
4379
+ gov_aud: "134-007-000-000-000-000-000",
4380
+ ciro: "134-008-000-000-000-000-000",
4381
+ sup: "134-009-000-000-000-000-000",
4382
+ train_adm: "134-010-000-000-000-000-000",
4383
+ } as const;
4384
+
4385
+ export type AdminRoleKey = keyof typeof AdminRoleKeys;
4386
+
4387
+ /**
4388
+ * 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`.
4389
+ *
4390
+ * Domain: `user_roles` · Version: 1.0.0 · Entries: 19
4391
+ */
4392
+ export const UserRoleKeys = {
4393
+ missingness_root: "135-000-000-000-000-000-000",
4394
+ unknown: "135-000-000-000-000-000-001",
4395
+ anonymous: "135-000-000-000-000-000-002",
4396
+ data_not_collected: "135-000-000-000-000-000-003",
4397
+ case_nav: "135-001-000-000-000-000-000",
4398
+ healthcare_provider_medical: "135-002-000-000-000-000-000",
4399
+ behavioral_health_provider: "135-003-000-000-000-000-000",
4400
+ hotline_op: "135-004-000-000-000-000-000",
4401
+ intel_analyst: "135-005-000-000-000-000-000",
4402
+ investigator: "135-006-000-000-000-000-000",
4403
+ le_liaison_vsp: "135-007-000-000-000-000-000",
4404
+ legal_advocate: "135-008-000-000-000-000-000",
4405
+ mandatory_reporter: "135-009-000-000-000-000-000",
4406
+ mdt_participant: "135-010-000-000-000-000-000",
4407
+ prosecutor_review: "135-011-000-000-000-000-000",
4408
+ public_reporter: "135-012-000-000-000-000-000",
4409
+ research_analytics: "135-013-000-000-000-000-000",
4410
+ screener: "135-014-000-000-000-000-000",
4411
+ volunteer: "135-015-000-000-000-000-000",
4412
+ } as const;
4413
+
4414
+ export type UserRoleKey = keyof typeof UserRoleKeys;
4415
+
4416
+ /**
4417
+ * 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`.
4418
+ *
4419
+ * Domain: `hmis_current_living_situation` · Version: 1.0.0 · Entries: 33
4420
+ */
4421
+ export const HmisCurrentLivingSituationKeys = {
4422
+ missingness_root: "193-000-000-000-000-000-000",
4423
+ unknown: "193-000-000-000-000-000-001",
4424
+ anonymous: "193-000-000-000-000-000-002",
4425
+ data_not_collected: "193-000-000-000-000-000-003",
4426
+ hmis_17: "193-001-000-000-000-000-000",
4427
+ hmis_24: "193-002-000-000-000-000-000",
4428
+ hmis_30: "193-003-000-000-000-000-000",
4429
+ hmis_37: "193-004-000-000-000-000-000",
4430
+ hmis_101: "193-005-000-000-000-000-000",
4431
+ hmis_116: "193-006-000-000-000-000-000",
4432
+ hmis_118: "193-007-000-000-000-000-000",
4433
+ hmis_204: "193-008-000-000-000-000-000",
4434
+ hmis_205: "193-009-000-000-000-000-000",
4435
+ hmis_206: "193-010-000-000-000-000-000",
4436
+ hmis_207: "193-011-000-000-000-000-000",
4437
+ hmis_215: "193-012-000-000-000-000-000",
4438
+ hmis_225: "193-013-000-000-000-000-000",
4439
+ hmis_302: "193-014-000-000-000-000-000",
4440
+ hmis_312: "193-015-000-000-000-000-000",
4441
+ hmis_313: "193-016-000-000-000-000-000",
4442
+ hmis_314: "193-017-000-000-000-000-000",
4443
+ hmis_327: "193-018-000-000-000-000-000",
4444
+ hmis_329: "193-019-000-000-000-000-000",
4445
+ hmis_332: "193-020-000-000-000-000-000",
4446
+ hmis_335: "193-021-000-000-000-000-000",
4447
+ hmis_336: "193-022-000-000-000-000-000",
4448
+ hmis_410: "193-023-000-000-000-000-000",
4449
+ hmis_411: "193-024-000-000-000-000-000",
4450
+ hmis_421: "193-025-000-000-000-000-000",
4451
+ hmis_422: "193-026-000-000-000-000-000",
4452
+ hmis_423: "193-027-000-000-000-000-000",
4453
+ hmis_426: "193-028-000-000-000-000-000",
4454
+ hmis_435: "193-029-000-000-000-000-000",
4455
+ } as const;
4456
+
4457
+ export type HmisCurrentLivingSituationKey = keyof typeof HmisCurrentLivingSituationKeys;
4458
+
4459
+ /**
4460
+ * 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).
4461
+ *
4462
+ * Domain: `juvenile_justice_episode_type` · Version: 1.0.0 · Entries: 9
4463
+ */
4464
+ export const JuvenileJusticeEpisodeTypeKeys = {
4465
+ missingness_root: "197-000-000-000-000-000-000",
4466
+ unknown: "197-000-000-000-000-000-001",
4467
+ anonymous: "197-000-000-000-000-000-002",
4468
+ data_not_collected: "197-000-000-000-000-000-003",
4469
+ pending_adjudication: "197-001-000-000-000-000-000",
4470
+ diversion_program: "197-002-000-000-000-000-000",
4471
+ residential_jj_placement: "197-003-000-000-000-000-000",
4472
+ probation_supervision: "197-004-000-000-000-000-000",
4473
+ detention_stay: "197-005-000-000-000-000-000",
4474
+ } as const;
4475
+
4476
+ export type JuvenileJusticeEpisodeTypeKey = keyof typeof JuvenileJusticeEpisodeTypeKeys;
4477
+
4478
+ /**
4479
+ * Key → positional code map for the `incarceration_episode_type` CVC domain (CVC-198).
4480
+ *
4481
+ * Domain: `incarceration_episode_type` · Version: 1.0.0 · Entries: 9
4482
+ */
4483
+ export const IncarcerationEpisodeTypeKeys = {
4484
+ missingness_root: "198-000-000-000-000-000-000",
4485
+ unknown: "198-000-000-000-000-000-001",
4486
+ anonymous: "198-000-000-000-000-000-002",
4487
+ data_not_collected: "198-000-000-000-000-000-003",
4488
+ jail: "198-001-000-000-000-000-000",
4489
+ detention: "198-002-000-000-000-000-000",
4490
+ prison: "198-003-000-000-000-000-000",
4491
+ immigration_detention: "198-004-000-000-000-000-000",
4492
+ work_release_or_halfway_house_custody: "198-005-000-000-000-000-000",
4493
+ } as const;
4494
+
4495
+ export type IncarcerationEpisodeTypeKey = keyof typeof IncarcerationEpisodeTypeKeys;
4496
+
4497
+ /**
4498
+ * 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`.
4499
+ *
4500
+ * Domain: `exploitation_type` · Version: 1.0.0 · Entries: 9
4501
+ */
4502
+ export const ExploitationTypeKeys = {
4503
+ missingness_root: "203-000-000-000-000-000-000",
4504
+ unknown: "203-000-000-000-000-000-001",
4505
+ anonymous: "203-000-000-000-000-000-002",
4506
+ data_not_collected: "203-000-000-000-000-000-003",
4507
+ no_exploitation_determined: "203-001-000-000-000-000-000",
4508
+ commercial_sexual_exploitation_of_minor_domain_determination: "203-002-000-000-000-000-000",
4509
+ labor_exploitation_non_trafficking: "203-003-000-000-000-000-000",
4510
+ sexual_exploitation_non_trafficking: "203-004-000-000-000-000-000",
4511
+ commercial_sexual_exploitation_domain_determination: "203-005-000-000-000-000-000",
4512
+ } as const;
4513
+
4514
+ export type ExploitationTypeKey = keyof typeof ExploitationTypeKeys;
4515
+
4516
+ /**
4517
+ * 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`.
4518
+ *
4519
+ * Domain: `source_system` · Version: 1.0.0 · Entries: 19
4520
+ */
4521
+ export const SourceSystemKeys = {
4522
+ missingness_root: "201-000-000-000-000-000-000",
4523
+ unknown: "201-000-000-000-000-000-001",
4524
+ anonymous: "201-000-000-000-000-000-002",
4525
+ data_not_collected: "201-000-000-000-000-000-003",
4526
+ cityxguide: "201-001-000-000-000-000-000",
4527
+ sipsap: "201-002-000-000-000-000-000",
4528
+ adultsearch: "201-003-000-000-000-000-000",
4529
+ backpage: "201-004-000-000-000-000-000",
4530
+ listcrawler: "201-005-000-000-000-000-000",
4531
+ rubmaps: "201-006-000-000-000-000-000",
4532
+ skipthegames: "201-007-000-000-000-000-000",
4533
+ twilio: "201-008-000-000-000-000-000",
4534
+ facebook: "201-009-000-000-000-000-000",
4535
+ hti_platform_internal: "201-010-000-000-000-000-000",
4536
+ clear: "201-011-000-000-000-000-000",
4537
+ axon: "201-012-000-000-000-000-000",
4538
+ accurint: "201-013-000-000-000-000-000",
4539
+ the_erotic_review: "201-014-000-000-000-000-000",
4540
+ ncic: "201-015-000-000-000-000-000",
4541
+ } as const;
4542
+
4543
+ export type SourceSystemKey = keyof typeof SourceSystemKeys;
4544
+
4545
+ /**
4546
+ * 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.
4547
+ *
4548
+ * Domain: `source_instrument` · Version: 1.0.0 · Entries: 41
4549
+ */
4550
+ export const SourceInstrumentKeys = {
4551
+ missingness_root: "209-000-000-000-000-000-000",
4552
+ unknown: "209-000-000-000-000-000-001",
4553
+ anonymous: "209-000-000-000-000-000-002",
4554
+ data_not_collected: "209-000-000-000-000-000-003",
4555
+ hti_leads_manual_entry: "209-001-000-000-000-000-000",
4556
+ hti_pave_ida: "209-002-000-000-000-000-000",
4557
+ hti_thread_intake_workflow: "209-003-000-000-000-000-000",
4558
+ hti_file_upload_csv_import: "209-004-000-000-000-000-000",
4559
+ hti_leads_edit_correction: "209-005-000-000-000-000-000",
4560
+ hti_rules_engine_derivation: "209-006-000-000-000-000-000",
4561
+ hti_screening_tool_other: "209-007-000-000-000-000-000",
4562
+ vendor_twilio_lookup: "209-008-000-000-000-000-000",
4563
+ hti_model_inference_output: "209-009-000-000-000-000-000",
4564
+ hti_api_import: "209-010-000-000-000-000-000",
4565
+ hti_osint_scraper_run: "209-011-000-000-000-000-000",
4566
+ hti_pave_is: "209-012-000-000-000-000-000",
4567
+ hti_danger_assessment: "209-013-000-000-000-000-000",
4568
+ hti_lethality_assessment: "209-014-000-000-000-000-000",
4569
+ hti_leads_tra: "209-015-000-000-000-000-000",
4570
+ hti_stalking_assessment: "209-016-000-000-000-000-000",
4571
+ hti_needs_assessment: "209-017-000-000-000-000-000",
4572
+ hti_bh_intake: "209-018-000-000-000-000-000",
4573
+ hti_mh_intake: "209-019-000-000-000-000-000",
4574
+ hti_strangulation_injury: "209-020-000-000-000-000-000",
4575
+ hti_sud_screen: "209-021-000-000-000-000-000",
4576
+ hti_ocat_hts: "209-022-000-000-000-000-000",
4577
+ hti_ae_intake: "209-023-000-000-000-000-000",
4578
+ hti_tcs_intake: "209-024-000-000-000-000-000",
4579
+ hti_pave_service_log: "209-025-000-000-000-000-000",
4580
+ thread_pave_service_log: "209-026-000-000-000-000-000",
4581
+ hti_leads_milestone_log: "209-027-000-000-000-000-000",
4582
+ hti_leads_triage_workflow: "209-028-000-000-000-000-000",
4583
+ hti_leads_findings: "209-029-000-000-000-000-000",
4584
+ hti_leads_deconfliction: "209-030-000-000-000-000-000",
4585
+ hti_leads_case_lifecycle: "209-031-000-000-000-000-000",
4586
+ hti_leads_entity_resolution: "209-032-000-000-000-000-000",
4587
+ hti_leads_network_mapping: "209-033-000-000-000-000-000",
4588
+ hti_leads_pattern_match: "209-034-000-000-000-000-000",
4589
+ hti_leads_search_hit: "209-035-000-000-000-000-000",
4590
+ hti_leads_intake_processing: "209-036-000-000-000-000-000",
4591
+ hti_leads_incarceration_episode: "209-037-000-000-000-000-000",
4592
+ } as const;
4593
+
4594
+ export type SourceInstrumentKey = keyof typeof SourceInstrumentKeys;
4595
+
4596
+ /**
4597
+ * Key → positional code map for the `po_petition_basis` CVC domain (CVC-213). Protection Orders (IC-62).
4598
+ *
4599
+ * Domain: `po_petition_basis` · Version: 1.0.0 · Entries: 8
4600
+ */
4601
+ export const PoPetitionBasisKeys = {
4602
+ missingness_root: "213-000-000-000-000-000-000",
4603
+ unknown: "213-000-000-000-000-000-001",
4604
+ anonymous: "213-000-000-000-000-000-002",
4605
+ data_not_collected: "213-000-000-000-000-000-003",
4606
+ dv: "213-001-000-000-000-000-000",
4607
+ har: "213-002-000-000-000-000-000",
4608
+ sa: "213-003-000-000-000-000-000",
4609
+ other: "213-004-000-000-000-000-000",
4610
+ } as const;
4611
+
4612
+ export type PoPetitionBasisKey = keyof typeof PoPetitionBasisKeys;
4613
+
4614
+ /**
4615
+ * 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.
4616
+ *
4617
+ * Domain: `po_status` · Version: 1.0.0 · Entries: 12
4618
+ */
4619
+ export const PoStatusKeys = {
4620
+ missingness_root: "214-000-000-000-000-000-000",
4621
+ unknown: "214-000-000-000-000-000-001",
4622
+ anonymous: "214-000-000-000-000-000-002",
4623
+ data_not_collected: "214-000-000-000-000-000-003",
4624
+ filed: "214-001-000-000-000-000-000",
4625
+ ex_parte_granted: "214-002-000-000-000-000-000",
4626
+ hearing_pending: "214-003-000-000-000-000-000",
4627
+ denied_outright: "214-004-000-000-000-000-000",
4628
+ final_granted: "214-005-000-000-000-000-000",
4629
+ final_denied_or_dismissed: "214-006-000-000-000-000-000",
4630
+ expired: "214-007-000-000-000-000-000",
4631
+ emergency: "214-008-000-000-000-000-000",
4632
+ } as const;
4633
+
4634
+ export type PoStatusKey = keyof typeof PoStatusKeys;
4635
+
4636
+ /**
4637
+ * Key → positional code map for the `po_violation_status` CVC domain (CVC-215). Protection Orders (IC-62).
4638
+ *
4639
+ * Domain: `po_violation_status` · Version: 1.0.0 · Entries: 6
4640
+ */
4641
+ export const PoViolationStatusKeys = {
4642
+ missingness_root: "215-000-000-000-000-000-000",
4643
+ unknown: "215-000-000-000-000-000-001",
4644
+ anonymous: "215-000-000-000-000-000-002",
4645
+ data_not_collected: "215-000-000-000-000-000-003",
4646
+ violated: "215-001-000-000-000-000-000",
4647
+ notviolated: "215-002-000-000-000-000-000",
4648
+ } as const;
4649
+
4650
+ export type PoViolationStatusKey = keyof typeof PoViolationStatusKeys;
4651
+
4652
+ /**
4653
+ * 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`.
4654
+ *
4655
+ * Domain: `session_template` · Version: 1.0.0 · Entries: 23
4656
+ */
4657
+ export const SessionTemplateKeys = {
4658
+ missingness_root: "217-000-000-000-000-000-000",
4659
+ unknown: "217-000-000-000-000-000-001",
4660
+ anonymous: "217-000-000-000-000-000-002",
4661
+ data_not_collected: "217-000-000-000-000-000-003",
4662
+ cst_pave_other: "217-001-000-000-000-000-000",
4663
+ cst_pave_program_exit: "217-002-000-000-000-000-000",
4664
+ cst_pave_client_update: "217-003-000-000-000-000-000",
4665
+ cst_pave_program_intake_existing: "217-004-000-000-000-000-000",
4666
+ cst_pave_new_client: "217-005-000-000-000-000-000",
4667
+ cst_thread_other: "217-006-000-000-000-000-000",
4668
+ cst_thread_in_person_not_field: "217-007-000-000-000-000-000",
4669
+ cst_thread_misc_call: "217-008-000-000-000-000-000",
4670
+ cst_thread_text_email: "217-009-000-000-000-000-000",
4671
+ cst_thread_field_response: "217-010-000-000-000-000-000",
4672
+ cst_thread_lap_incident: "217-011-000-000-000-000-000",
4673
+ cst_thread_hotline_call: "217-012-000-000-000-000-000",
4674
+ cst_leads_other: "217-013-000-000-000-000-000",
4675
+ cst_leads_database_query: "217-014-000-000-000-000-000",
4676
+ cst_leads_case_update: "217-015-000-000-000-000-000",
4677
+ cst_leads_new_report: "217-016-000-000-000-000-000",
4678
+ cst_leads_new_case: "217-017-000-000-000-000-000",
4679
+ cst_leads_new_lead_tip: "217-018-000-000-000-000-000",
4680
+ cst_unk_other_virtual: "217-019-000-000-000-000-000",
4681
+ } as const;
4682
+
4683
+ export type SessionTemplateKey = keyof typeof SessionTemplateKeys;
4684
+
4685
+ /**
4686
+ * 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.
4687
+ *
4688
+ * Domain: `service_delivery_channel` · Version: 1.0.0 · Entries: 11
4689
+ */
4690
+ export const ServiceDeliveryChannelKeys = {
4691
+ missingness_root: "047-000-000-000-000-000-000",
4692
+ unknown: "047-000-000-000-000-000-001",
4693
+ anonymous: "047-000-000-000-000-000-002",
4694
+ data_not_collected: "047-000-000-000-000-000-003",
4695
+ phone: "047-001-000-000-000-000-000",
4696
+ in_person: "047-002-000-000-000-000-000",
4697
+ on_scene: "047-003-000-000-000-000-000",
4698
+ virtual: "047-004-000-000-000-000-000",
4699
+ email_text_chat: "047-005-000-000-000-000-000",
4700
+ group_inperson: "047-006-000-000-000-000-000",
4701
+ group_remote: "047-007-000-000-000-000-000",
4702
+ } as const;
4703
+
4704
+ export type ServiceDeliveryChannelKey = keyof typeof ServiceDeliveryChannelKeys;
4705
+
4706
+ /**
4707
+ * 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`.
4708
+ *
4709
+ * Domain: `citizenship` · Version: 1.0.0 · Entries: 253
4710
+ */
4711
+ export const CitizenshipKeys = {
4712
+ missingness_root: "182-000-000-000-000-000-000",
4713
+ unknown: "182-000-000-000-000-000-001",
4714
+ anonymous: "182-000-000-000-000-000-002",
4715
+ data_not_collected: "182-000-000-000-000-000-003",
4716
+ afghanistan: "182-001-000-000-000-000-000",
4717
+ aland_islands: "182-002-000-000-000-000-000",
4718
+ albania: "182-003-000-000-000-000-000",
4719
+ algeria: "182-004-000-000-000-000-000",
4720
+ american_samoa: "182-005-000-000-000-000-000",
4721
+ andorra: "182-006-000-000-000-000-000",
4722
+ angola: "182-007-000-000-000-000-000",
4723
+ anguilla: "182-008-000-000-000-000-000",
4724
+ antarctica: "182-009-000-000-000-000-000",
4725
+ antigua_and_barbuda: "182-010-000-000-000-000-000",
4726
+ argentina: "182-011-000-000-000-000-000",
4727
+ armenia: "182-012-000-000-000-000-000",
4728
+ aruba: "182-013-000-000-000-000-000",
4729
+ australia: "182-014-000-000-000-000-000",
4730
+ austria: "182-015-000-000-000-000-000",
4731
+ azerbaijan: "182-016-000-000-000-000-000",
4732
+ bahamas: "182-017-000-000-000-000-000",
4733
+ bahrain: "182-018-000-000-000-000-000",
4734
+ bangladesh: "182-019-000-000-000-000-000",
4735
+ barbados: "182-020-000-000-000-000-000",
4736
+ belarus: "182-021-000-000-000-000-000",
4737
+ belgium: "182-022-000-000-000-000-000",
4738
+ belize: "182-023-000-000-000-000-000",
4739
+ benin: "182-024-000-000-000-000-000",
4740
+ bermuda: "182-025-000-000-000-000-000",
4741
+ bhutan: "182-026-000-000-000-000-000",
4742
+ bolivia_plurinational_state_of: "182-027-000-000-000-000-000",
4743
+ bonaire_sint_eustatius_and_saba: "182-028-000-000-000-000-000",
4744
+ bosnia_and_herzegovina: "182-029-000-000-000-000-000",
4745
+ botswana: "182-030-000-000-000-000-000",
4746
+ bouvet_island: "182-031-000-000-000-000-000",
4747
+ brazil: "182-032-000-000-000-000-000",
4748
+ british_indian_ocean_territory: "182-033-000-000-000-000-000",
4749
+ brunei_darussalam: "182-034-000-000-000-000-000",
4750
+ bulgaria: "182-035-000-000-000-000-000",
4751
+ burkina_faso: "182-036-000-000-000-000-000",
4752
+ burundi: "182-037-000-000-000-000-000",
4753
+ cambodia: "182-038-000-000-000-000-000",
4754
+ cameroon: "182-039-000-000-000-000-000",
4755
+ canada: "182-040-000-000-000-000-000",
4756
+ cape_verde: "182-041-000-000-000-000-000",
4757
+ cayman_islands: "182-042-000-000-000-000-000",
4758
+ central_african_republic: "182-043-000-000-000-000-000",
4759
+ chad: "182-044-000-000-000-000-000",
4760
+ chile: "182-045-000-000-000-000-000",
4761
+ china: "182-046-000-000-000-000-000",
4762
+ christmas_island: "182-047-000-000-000-000-000",
4763
+ cocos_keeling_islands: "182-048-000-000-000-000-000",
4764
+ colombia: "182-049-000-000-000-000-000",
4765
+ comoros: "182-050-000-000-000-000-000",
4766
+ congo: "182-051-000-000-000-000-000",
4767
+ congo_the_democratic_republic_of_the: "182-052-000-000-000-000-000",
4768
+ cook_islands: "182-053-000-000-000-000-000",
4769
+ costa_rica: "182-054-000-000-000-000-000",
4770
+ cote_d_ivoire: "182-055-000-000-000-000-000",
4771
+ croatia: "182-056-000-000-000-000-000",
4772
+ cuba: "182-057-000-000-000-000-000",
4773
+ curacao: "182-058-000-000-000-000-000",
4774
+ cyprus: "182-059-000-000-000-000-000",
4775
+ czech_republic: "182-060-000-000-000-000-000",
4776
+ denmark: "182-061-000-000-000-000-000",
4777
+ djibouti: "182-062-000-000-000-000-000",
4778
+ dominica: "182-063-000-000-000-000-000",
4779
+ dominican_republic: "182-064-000-000-000-000-000",
4780
+ ecuador: "182-065-000-000-000-000-000",
4781
+ egypt: "182-066-000-000-000-000-000",
4782
+ el_salvador: "182-067-000-000-000-000-000",
4783
+ equatorial_guinea: "182-068-000-000-000-000-000",
4784
+ eritrea: "182-069-000-000-000-000-000",
4785
+ estonia: "182-070-000-000-000-000-000",
4786
+ ethiopia: "182-071-000-000-000-000-000",
4787
+ falkland_islands_malvinas: "182-072-000-000-000-000-000",
4788
+ faroe_islands: "182-073-000-000-000-000-000",
4789
+ fiji: "182-074-000-000-000-000-000",
4790
+ finland: "182-075-000-000-000-000-000",
4791
+ france: "182-076-000-000-000-000-000",
4792
+ french_guiana: "182-077-000-000-000-000-000",
4793
+ french_polynesia: "182-078-000-000-000-000-000",
4794
+ french_southern_territories: "182-079-000-000-000-000-000",
4795
+ gabon: "182-080-000-000-000-000-000",
4796
+ gambia: "182-081-000-000-000-000-000",
4797
+ georgia: "182-082-000-000-000-000-000",
4798
+ ghana: "182-083-000-000-000-000-000",
4799
+ germany: "182-084-000-000-000-000-000",
4800
+ gibraltar: "182-085-000-000-000-000-000",
4801
+ greece: "182-086-000-000-000-000-000",
4802
+ greenland: "182-087-000-000-000-000-000",
4803
+ grenada: "182-088-000-000-000-000-000",
4804
+ guadeloupe: "182-089-000-000-000-000-000",
4805
+ guam: "182-090-000-000-000-000-000",
4806
+ guatemala: "182-091-000-000-000-000-000",
4807
+ guernsey: "182-092-000-000-000-000-000",
4808
+ guinea: "182-093-000-000-000-000-000",
4809
+ guinea_bissau: "182-094-000-000-000-000-000",
4810
+ guyana: "182-095-000-000-000-000-000",
4811
+ haiti: "182-096-000-000-000-000-000",
4812
+ heard_island_and_mcdonald_islands: "182-097-000-000-000-000-000",
4813
+ holy_see_vatican_city_state: "182-098-000-000-000-000-000",
4814
+ honduras: "182-099-000-000-000-000-000",
4815
+ hong_kong: "182-100-000-000-000-000-000",
4816
+ hungary: "182-101-000-000-000-000-000",
4817
+ iceland: "182-102-000-000-000-000-000",
4818
+ india: "182-103-000-000-000-000-000",
4819
+ indonesia: "182-104-000-000-000-000-000",
4820
+ iran_islamic_republic_of: "182-105-000-000-000-000-000",
4821
+ iraq: "182-106-000-000-000-000-000",
4822
+ ireland: "182-107-000-000-000-000-000",
4823
+ isle_of_man: "182-108-000-000-000-000-000",
4824
+ israel: "182-109-000-000-000-000-000",
4825
+ italy: "182-110-000-000-000-000-000",
4826
+ jamaica: "182-111-000-000-000-000-000",
4827
+ jersey: "182-112-000-000-000-000-000",
4828
+ japan: "182-113-000-000-000-000-000",
4829
+ jordan: "182-114-000-000-000-000-000",
4830
+ kazakhstan: "182-115-000-000-000-000-000",
4831
+ kenya: "182-116-000-000-000-000-000",
4832
+ kiribati: "182-117-000-000-000-000-000",
4833
+ korea_democratic_people_s_republic_of: "182-118-000-000-000-000-000",
4834
+ korea_republic_of: "182-119-000-000-000-000-000",
4835
+ kuwait: "182-120-000-000-000-000-000",
4836
+ kyrgyzstan: "182-121-000-000-000-000-000",
4837
+ lao_people_s_democratic_republic: "182-122-000-000-000-000-000",
4838
+ latvia: "182-123-000-000-000-000-000",
4839
+ lebanon: "182-124-000-000-000-000-000",
4840
+ lesotho: "182-125-000-000-000-000-000",
4841
+ liberia: "182-126-000-000-000-000-000",
4842
+ libya: "182-127-000-000-000-000-000",
4843
+ liechtenstein: "182-128-000-000-000-000-000",
4844
+ lithuania: "182-129-000-000-000-000-000",
4845
+ luxembourg: "182-130-000-000-000-000-000",
4846
+ macao: "182-131-000-000-000-000-000",
4847
+ macedonia_the_former_yugoslav_republic_of: "182-132-000-000-000-000-000",
4848
+ madagascar: "182-133-000-000-000-000-000",
4849
+ malawi: "182-134-000-000-000-000-000",
4850
+ malaysia: "182-135-000-000-000-000-000",
4851
+ maldives: "182-136-000-000-000-000-000",
4852
+ mali: "182-137-000-000-000-000-000",
4853
+ malta: "182-138-000-000-000-000-000",
4854
+ marshall_islands: "182-139-000-000-000-000-000",
4855
+ martinique: "182-140-000-000-000-000-000",
4856
+ mauritania: "182-141-000-000-000-000-000",
4857
+ mauritius: "182-142-000-000-000-000-000",
4858
+ mayotte: "182-143-000-000-000-000-000",
4859
+ mexico: "182-144-000-000-000-000-000",
4860
+ micronesia_federated_states_of: "182-145-000-000-000-000-000",
4861
+ moldova_republic_of: "182-146-000-000-000-000-000",
4862
+ monaco: "182-147-000-000-000-000-000",
4863
+ mongolia: "182-148-000-000-000-000-000",
4864
+ montenegro: "182-149-000-000-000-000-000",
4865
+ montserrat: "182-150-000-000-000-000-000",
4866
+ morocco: "182-151-000-000-000-000-000",
4867
+ mozambique: "182-152-000-000-000-000-000",
4868
+ myanmar: "182-153-000-000-000-000-000",
4869
+ namibia: "182-154-000-000-000-000-000",
4870
+ nauru: "182-155-000-000-000-000-000",
4871
+ nepal: "182-156-000-000-000-000-000",
4872
+ netherlands: "182-157-000-000-000-000-000",
4873
+ new_caledonia: "182-158-000-000-000-000-000",
4874
+ new_zealand: "182-159-000-000-000-000-000",
4875
+ nicaragua: "182-160-000-000-000-000-000",
4876
+ niger: "182-161-000-000-000-000-000",
4877
+ nigeria: "182-162-000-000-000-000-000",
4878
+ niue: "182-163-000-000-000-000-000",
4879
+ norfolk_island: "182-164-000-000-000-000-000",
4880
+ northern_mariana_islands: "182-165-000-000-000-000-000",
4881
+ norway: "182-166-000-000-000-000-000",
4882
+ oman: "182-167-000-000-000-000-000",
4883
+ pakistan: "182-168-000-000-000-000-000",
4884
+ palau: "182-169-000-000-000-000-000",
4885
+ palestine_state_of: "182-170-000-000-000-000-000",
4886
+ panama: "182-171-000-000-000-000-000",
4887
+ papua_new_guinea: "182-172-000-000-000-000-000",
4888
+ paraguay: "182-173-000-000-000-000-000",
4889
+ peru: "182-174-000-000-000-000-000",
4890
+ philippines: "182-175-000-000-000-000-000",
4891
+ pitcairn: "182-176-000-000-000-000-000",
4892
+ poland: "182-177-000-000-000-000-000",
4893
+ portugal: "182-178-000-000-000-000-000",
4894
+ puerto_rico: "182-179-000-000-000-000-000",
4895
+ qatar: "182-180-000-000-000-000-000",
4896
+ reunion: "182-181-000-000-000-000-000",
4897
+ romania: "182-182-000-000-000-000-000",
4898
+ russian_federation: "182-183-000-000-000-000-000",
4899
+ rwanda: "182-184-000-000-000-000-000",
4900
+ saint_barthelemy: "182-185-000-000-000-000-000",
4901
+ saint_helena_ascension_and_tristan_da_cunha: "182-186-000-000-000-000-000",
4902
+ saint_kitts_and_nevis: "182-187-000-000-000-000-000",
4903
+ saint_lucia: "182-188-000-000-000-000-000",
4904
+ saint_martin_french_part: "182-189-000-000-000-000-000",
4905
+ saint_pierre_and_miquelon: "182-190-000-000-000-000-000",
4906
+ saint_vincent_and_the_grenadines: "182-191-000-000-000-000-000",
4907
+ samoa: "182-192-000-000-000-000-000",
4908
+ san_marino: "182-193-000-000-000-000-000",
4909
+ sao_tome_and_principe: "182-194-000-000-000-000-000",
4910
+ saudi_arabia: "182-195-000-000-000-000-000",
4911
+ senegal: "182-196-000-000-000-000-000",
4912
+ serbia: "182-197-000-000-000-000-000",
4913
+ sierra_leone: "182-198-000-000-000-000-000",
4914
+ seychelles: "182-199-000-000-000-000-000",
4915
+ singapore: "182-200-000-000-000-000-000",
4916
+ sint_maarten_dutch_part: "182-201-000-000-000-000-000",
4917
+ slovakia: "182-202-000-000-000-000-000",
4918
+ slovenia: "182-203-000-000-000-000-000",
4919
+ solomon_islands: "182-204-000-000-000-000-000",
4920
+ somalia: "182-205-000-000-000-000-000",
4921
+ south_africa: "182-206-000-000-000-000-000",
4922
+ south_georgia_and_the_south_sandwich_islands: "182-207-000-000-000-000-000",
4923
+ spain: "182-208-000-000-000-000-000",
4924
+ south_sudan: "182-209-000-000-000-000-000",
4925
+ sri_lanka: "182-210-000-000-000-000-000",
4926
+ sudan: "182-211-000-000-000-000-000",
4927
+ suriname: "182-212-000-000-000-000-000",
4928
+ svalbard_and_jan_mayen: "182-213-000-000-000-000-000",
4929
+ eswatini: "182-214-000-000-000-000-000",
4930
+ sweden: "182-215-000-000-000-000-000",
4931
+ switzerland: "182-216-000-000-000-000-000",
4932
+ syrian_arab_republic: "182-217-000-000-000-000-000",
4933
+ taiwan_province_of_china: "182-218-000-000-000-000-000",
4934
+ tajikistan: "182-219-000-000-000-000-000",
4935
+ thailand: "182-220-000-000-000-000-000",
4936
+ tanzania_united_republic_of: "182-221-000-000-000-000-000",
4937
+ timor_leste: "182-222-000-000-000-000-000",
4938
+ togo: "182-223-000-000-000-000-000",
4939
+ tokelau: "182-224-000-000-000-000-000",
4940
+ tonga: "182-225-000-000-000-000-000",
4941
+ trinidad_and_tobago: "182-226-000-000-000-000-000",
4942
+ tunisia: "182-227-000-000-000-000-000",
4943
+ turkey: "182-228-000-000-000-000-000",
4944
+ turkmenistan: "182-229-000-000-000-000-000",
4945
+ turks_and_caicos_islands: "182-230-000-000-000-000-000",
4946
+ tuvalu: "182-231-000-000-000-000-000",
4947
+ uganda: "182-232-000-000-000-000-000",
4948
+ ukraine: "182-233-000-000-000-000-000",
4949
+ united_arab_emirates: "182-234-000-000-000-000-000",
4950
+ united_kingdom: "182-235-000-000-000-000-000",
4951
+ united_states: "182-236-000-000-000-000-000",
4952
+ united_states_minor_outlying_islands: "182-237-000-000-000-000-000",
4953
+ uruguay: "182-238-000-000-000-000-000",
4954
+ uzbekistan: "182-239-000-000-000-000-000",
4955
+ vanuatu: "182-240-000-000-000-000-000",
4956
+ venezuela_bolivarian_republic_of: "182-241-000-000-000-000-000",
4957
+ viet_nam: "182-242-000-000-000-000-000",
4958
+ virgin_islands_british: "182-243-000-000-000-000-000",
4959
+ virgin_islands_u_s: "182-244-000-000-000-000-000",
4960
+ wallis_and_futuna: "182-245-000-000-000-000-000",
4961
+ western_sahara: "182-246-000-000-000-000-000",
4962
+ yemen: "182-247-000-000-000-000-000",
4963
+ zambia: "182-248-000-000-000-000-000",
4964
+ zimbabwe: "182-249-000-000-000-000-000",
4965
+ } as const;
4966
+
4967
+ export type CitizenshipKey = keyof typeof CitizenshipKeys;
4968
+
4969
+ /**
4970
+ * 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.
4971
+ *
4972
+ * Domain: `trafficking_relevant_role` · Version: 1.0.0 · Entries: 8
4973
+ */
4974
+ export const TraffickingRelevantRoleKeys = {
4975
+ missingness_root: "235-000-000-000-000-000-000",
4976
+ unknown: "235-000-000-000-000-000-001",
4977
+ anonymous: "235-000-000-000-000-000-002",
4978
+ data_not_collected: "235-000-000-000-000-000-003",
4979
+ worker_provider: "235-001-000-000-000-000-000",
4980
+ facilitator_controller: "235-002-000-000-000-000-000",
4981
+ buyer_client_direct_beneficiary: "235-003-000-000-000-000-000",
4982
+ other_associate: "235-004-000-000-000-000-000",
4983
+ } as const;
4984
+
4985
+ export type TraffickingRelevantRoleKey = keyof typeof TraffickingRelevantRoleKeys;
4986
+
4987
+ /**
4988
+ * 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`).
4989
+ *
4990
+ * Domain: `why_nots` · Version: 1.0.0 · Entries: 32
4991
+ */
4992
+ export const WhyNotKeys = {
4993
+ missingness_root: "219-000-000-000-000-000-000",
4994
+ unknown: "219-000-000-000-000-000-001",
4995
+ anonymous: "219-000-000-000-000-000-002",
4996
+ data_not_collected: "219-000-000-000-000-000-003",
4997
+ bkt_fit: "219-001-000-000-000-000-000",
4998
+ fit_mh: "219-001-001-000-000-000-000",
4999
+ fit_sud: "219-001-002-000-000-000-000",
5000
+ fit_other: "219-001-003-000-000-000-000",
5001
+ bkt_access: "219-002-000-000-000-000-000",
5002
+ access_lang: "219-002-001-000-000-000-000",
5003
+ access_cult: "219-002-002-000-000-000-000",
5004
+ access_dis: "219-002-003-000-000-000-000",
5005
+ access_deaf: "219-002-004-000-000-000-000",
5006
+ access_cc: "219-002-005-000-000-000-000",
5007
+ access_trans: "219-002-006-000-000-000-000",
5008
+ access_hours: "219-002-007-000-000-000-000",
5009
+ bkt_cap: "219-003-000-000-000-000-000",
5010
+ bkt_res: "219-004-000-000-000-000-000",
5011
+ bkt_elig: "219-005-000-000-000-000-000",
5012
+ bkt_choice: "219-006-000-000-000-000-000",
5013
+ decl: "219-006-001-000-000-000-000",
5014
+ rules: "219-006-002-000-000-000-000",
5015
+ selfres: "219-006-003-000-000-000-000",
5016
+ bkt_other: "219-007-000-000-000-000-000",
5017
+ int: "219-007-001-000-000-000-000",
5018
+ xfer: "219-007-002-000-000-000-000",
5019
+ def: "219-007-003-000-000-000-000",
5020
+ noresp: "219-007-004-000-000-000-000",
5021
+ safe: "219-007-005-000-000-000-000",
5022
+ coi: "219-007-006-000-000-000-000",
5023
+ other: "219-007-007-000-000-000-000",
5024
+ unknc: "219-007-008-000-000-000-000",
5025
+ } as const;
5026
+
5027
+ export type WhyNotKey = keyof typeof WhyNotKeys;