@htilabs/platform-common-models 0.9.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/index.cjs +85 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +94 -4
- package/dist/config/index.d.ts +94 -4
- package/dist/config/index.js +81 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +456 -181
- 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 +453 -169
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +15331 -801
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +18167 -2208
- package/dist/cvcs/index.d.ts +18167 -2208
- package/dist/cvcs/index.js +15282 -801
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +17070 -1056
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1638 -12
- package/dist/index.d.ts +1638 -12
- package/dist/index.js +16969 -1043
- 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 +384 -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 +352 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
- package/dist/schemas/index.cjs +25 -156
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js +25 -156
- 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 +9 -1
- package/src/__sot__/README.md +56 -0
- package/src/__sot__/coreIndicators.pin.json +215 -0
- package/src/__sot__/cvcIndex.pin.json +268 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +227 -35
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +603 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
- package/src/__tests__/cvc-structural.test.ts +56 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/__tests__/runtime-contract-validator.test.ts +325 -1
- package/src/config/index.ts +197 -6
- package/src/constants/ic.ts +512 -206
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/activityType.v1.0.0.json +143 -0
- 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 +629 -0
- package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -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 +55 -46
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
- package/src/cvcs/htType.v1.0.0.json +87 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- 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/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +106 -1
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
- 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/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
- package/src/cvcs/recencyBand.v1.0.0.json +104 -39
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiMethod.v1.0.0.json +107 -0
- package/src/cvcs/roiScope.v1.0.0.json +296 -0
- package/src/cvcs/roiStatus.v1.0.0.json +106 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- 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 +55 -33
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
- 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/sourceSubtype.v1.1.0.json +36 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -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 +1729 -7
- 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/services/cvcRegistryService.ts +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
|
@@ -173,7 +173,7 @@ export type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
|
|
|
173
173
|
/**
|
|
174
174
|
* Key → positional code map for the `service_states` CVC domain.
|
|
175
175
|
*
|
|
176
|
-
* Domain: `service_states` · Version: 1.0.0 · Entries:
|
|
176
|
+
* Domain: `service_states` · Version: 1.0.0 · Entries: 17
|
|
177
177
|
*/
|
|
178
178
|
export const ServiceStateKeys = {
|
|
179
179
|
missingness_root: "049-000-000-000-000-000-000",
|
|
@@ -191,6 +191,8 @@ export const ServiceStateKeys = {
|
|
|
191
191
|
unable_to_provide_capacity: "049-007-002-000-000-000-000",
|
|
192
192
|
unable_to_provide_resource: "049-007-003-000-000-000-000",
|
|
193
193
|
unable_other_reason: "049-007-004-000-000-000-000",
|
|
194
|
+
unable_to_provide_service_fit: "049-007-005-000-000-000-000",
|
|
195
|
+
unable_to_provide_access_barrier: "049-007-006-000-000-000-000",
|
|
194
196
|
} as const;
|
|
195
197
|
|
|
196
198
|
export type ServiceStateKey = keyof typeof ServiceStateKeys;
|
|
@@ -835,7 +837,7 @@ export type ContactSafetyStatusKey = keyof typeof ContactSafetyStatusKeys;
|
|
|
835
837
|
/**
|
|
836
838
|
* Key → positional code map for the `highest_education_level_completed` CVC domain.
|
|
837
839
|
*
|
|
838
|
-
* Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries:
|
|
840
|
+
* Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 13
|
|
839
841
|
*/
|
|
840
842
|
export const HighestEducationLevelCompletedKeys = {
|
|
841
843
|
missingness_root: "180-000-000-000-000-000-000",
|
|
@@ -850,6 +852,7 @@ export const HighestEducationLevelCompletedKeys = {
|
|
|
850
852
|
associates: "180-005-000-000-000-000-000",
|
|
851
853
|
bachelors: "180-006-000-000-000-000-000",
|
|
852
854
|
graduate_professional: "180-007-000-000-000-000-000",
|
|
855
|
+
trade_vocational: "180-008-000-000-000-000-000",
|
|
853
856
|
} as const;
|
|
854
857
|
|
|
855
858
|
export type HighestEducationLevelCompletedKey = keyof typeof HighestEducationLevelCompletedKeys;
|
|
@@ -1368,7 +1371,7 @@ export type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
|
|
|
1368
1371
|
/**
|
|
1369
1372
|
* Key → positional code map for the `income_benefits_sources` CVC domain.
|
|
1370
1373
|
*
|
|
1371
|
-
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries:
|
|
1374
|
+
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 41
|
|
1372
1375
|
*/
|
|
1373
1376
|
export const IncomeBenefitsSourcesKeys = {
|
|
1374
1377
|
missingness_root: "171-000-000-000-000-000-000",
|
|
@@ -1378,6 +1381,7 @@ export const IncomeBenefitsSourcesKeys = {
|
|
|
1378
1381
|
prefer_not_to_answer: "171-000-000-000-000-000-004",
|
|
1379
1382
|
earned_income: "171-001-000-000-000-000-000",
|
|
1380
1383
|
employment: "171-001-001-000-000-000-000",
|
|
1384
|
+
informal_income: "171-001-002-000-000-000-000",
|
|
1381
1385
|
cash_benefit: "171-002-000-000-000-000-000",
|
|
1382
1386
|
unemployment_insurance: "171-002-001-000-000-000-000",
|
|
1383
1387
|
supplemental_security_income: "171-002-002-000-000-000-000",
|
|
@@ -1405,10 +1409,12 @@ export const IncomeBenefitsSourcesKeys = {
|
|
|
1405
1409
|
transfer_support: "171-004-000-000-000-000-000",
|
|
1406
1410
|
child_support: "171-004-001-000-000-000-000",
|
|
1407
1411
|
alimony_spousal_support: "171-004-002-000-000-000-000",
|
|
1412
|
+
family_friend_support: "171-004-003-000-000-000-000",
|
|
1408
1413
|
other_unspecified: "171-005-000-000-000-000-000",
|
|
1409
1414
|
other_income: "171-005-001-000-000-000-000",
|
|
1410
1415
|
other_benefit: "171-005-002-000-000-000-000",
|
|
1411
1416
|
education_stipend: "171-005-003-000-000-000-000",
|
|
1417
|
+
victim_compensation: "171-006-000-000-000-000-000",
|
|
1412
1418
|
} as const;
|
|
1413
1419
|
|
|
1414
1420
|
export type IncomeBenefitsSourcesKey = keyof typeof IncomeBenefitsSourcesKeys;
|
|
@@ -1515,7 +1521,7 @@ export type SourceCategoryKey = keyof typeof SourceCategoryKeys;
|
|
|
1515
1521
|
/**
|
|
1516
1522
|
* Key → positional code map for the `source_subtype` CVC domain.
|
|
1517
1523
|
*
|
|
1518
|
-
* Domain: `source_subtype` · Version: 1.1.0 · Entries:
|
|
1524
|
+
* Domain: `source_subtype` · Version: 1.1.0 · Entries: 39
|
|
1519
1525
|
*/
|
|
1520
1526
|
export const SourceSubtypeKeys = {
|
|
1521
1527
|
missingness_root: "141-000-000-000-000-000-000",
|
|
@@ -1553,6 +1559,10 @@ export const SourceSubtypeKeys = {
|
|
|
1553
1559
|
system_import: "141-029-000-000-000-000-000",
|
|
1554
1560
|
third_party_report: "141-030-000-000-000-000-000",
|
|
1555
1561
|
victim_disclosure: "141-031-000-000-000-000-000",
|
|
1562
|
+
advocate_capture: "141-032-000-000-000-000-000",
|
|
1563
|
+
advocate_assessment: "141-033-000-000-000-000-000",
|
|
1564
|
+
child_welfare_episode_edit: "141-034-000-000-000-000-000",
|
|
1565
|
+
juvenile_justice_episode_edit: "141-035-000-000-000-000-000",
|
|
1556
1566
|
} as const;
|
|
1557
1567
|
|
|
1558
1568
|
export type SourceSubtypeKey = keyof typeof SourceSubtypeKeys;
|
|
@@ -1633,7 +1643,7 @@ export type TimeScopeKey = keyof typeof TimeScopeKeys;
|
|
|
1633
1643
|
/**
|
|
1634
1644
|
* Key → positional code map for the `verification_method` CVC domain.
|
|
1635
1645
|
*
|
|
1636
|
-
* Domain: `verification_method` · Version: 1.0.0 · Entries:
|
|
1646
|
+
* Domain: `verification_method` · Version: 1.0.0 · Entries: 11
|
|
1637
1647
|
*/
|
|
1638
1648
|
export const VerificationMethodKeys = {
|
|
1639
1649
|
missingness_root: "143-000-000-000-000-000-000",
|
|
@@ -1645,6 +1655,8 @@ export const VerificationMethodKeys = {
|
|
|
1645
1655
|
multi_source_corroboration: "143-003-000-000-000-000-000",
|
|
1646
1656
|
qa_audit_passed: "143-004-000-000-000-000-000",
|
|
1647
1657
|
supervisor_review: "143-005-000-000-000-000-000",
|
|
1658
|
+
rules: "143-006-000-000-000-000-000",
|
|
1659
|
+
still_reaches: "143-007-000-000-000-000-000",
|
|
1648
1660
|
} as const;
|
|
1649
1661
|
|
|
1650
1662
|
export type VerificationMethodKey = keyof typeof VerificationMethodKeys;
|
|
@@ -2354,7 +2366,7 @@ export type CheckInActivityKey = keyof typeof CheckInActivityKeys;
|
|
|
2354
2366
|
/**
|
|
2355
2367
|
* Key → positional code map for the `check_in_phase` CVC domain.
|
|
2356
2368
|
*
|
|
2357
|
-
* Domain: `check_in_phase` · Version: 1.
|
|
2369
|
+
* Domain: `check_in_phase` · Version: 1.1.0 · Entries: 17
|
|
2358
2370
|
*/
|
|
2359
2371
|
export const CheckInPhaseKeys = {
|
|
2360
2372
|
missingness_root: "907-000-000-000-000-000-000",
|
|
@@ -2372,6 +2384,8 @@ export const CheckInPhaseKeys = {
|
|
|
2372
2384
|
crisis_response_followup: "907-009-000-000-000-000-000",
|
|
2373
2385
|
pre_exit_review: "907-010-000-000-000-000-000",
|
|
2374
2386
|
post_exit_followup: "907-011-000-000-000-000-000",
|
|
2387
|
+
phase_2_followup: "907-012-000-000-000-000-000",
|
|
2388
|
+
phase_3_followup: "907-013-000-000-000-000-000",
|
|
2375
2389
|
} as const;
|
|
2376
2390
|
|
|
2377
2391
|
export type CheckInPhaseKey = keyof typeof CheckInPhaseKeys;
|
|
@@ -2772,7 +2786,7 @@ export type HopeScaleTierKey = keyof typeof HopeScaleTierKeys;
|
|
|
2772
2786
|
/**
|
|
2773
2787
|
* Key → positional code map for the `identification_status` CVC domain.
|
|
2774
2788
|
*
|
|
2775
|
-
* Domain: `identification_status` · Version: 1.0.0 · Entries:
|
|
2789
|
+
* Domain: `identification_status` · Version: 1.0.0 · Entries: 9
|
|
2776
2790
|
*/
|
|
2777
2791
|
export const IdentificationStatusKeys = {
|
|
2778
2792
|
missingness_root: "929-000-000-000-000-000-000",
|
|
@@ -2782,6 +2796,8 @@ export const IdentificationStatusKeys = {
|
|
|
2782
2796
|
identified: "929-001-000-000-000-000-000",
|
|
2783
2797
|
unidentified: "929-002-000-000-000-000-000",
|
|
2784
2798
|
anonymous_posture: "929-003-000-000-000-000-000",
|
|
2799
|
+
estimated_persona: "929-004-000-000-000-000-000",
|
|
2800
|
+
confirmed: "929-005-000-000-000-000-000",
|
|
2785
2801
|
} as const;
|
|
2786
2802
|
|
|
2787
2803
|
export type IdentificationStatusKey = keyof typeof IdentificationStatusKeys;
|
|
@@ -3303,3 +3319,1709 @@ export const ThreadTypeKeys = {
|
|
|
3303
3319
|
} as const;
|
|
3304
3320
|
|
|
3305
3321
|
export type ThreadTypeKey = keyof typeof ThreadTypeKeys;
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* Key → positional code map for the `living_situation` CVC domain.
|
|
3325
|
+
*
|
|
3326
|
+
* Domain: `living_situation` · Version: 1.0.0 · Entries: 22
|
|
3327
|
+
*/
|
|
3328
|
+
export const LivingSituationKeys = {
|
|
3329
|
+
missingness_root: "192-000-000-000-000-000-000",
|
|
3330
|
+
unknown: "192-000-000-000-000-000-001",
|
|
3331
|
+
anonymous: "192-000-000-000-000-000-002",
|
|
3332
|
+
data_not_collected: "192-000-000-000-000-000-003",
|
|
3333
|
+
unsheltered: "192-001-000-000-000-000-000",
|
|
3334
|
+
emergency_shelter: "192-002-000-000-000-000-000",
|
|
3335
|
+
safe_haven: "192-003-000-000-000-000-000",
|
|
3336
|
+
dv_shelter_safe_house: "192-004-000-000-000-000-000",
|
|
3337
|
+
homeless_unspecified: "192-005-000-000-000-000-000",
|
|
3338
|
+
hospital_medical: "192-006-000-000-000-000-000",
|
|
3339
|
+
psychiatric_residential_facility: "192-007-000-000-000-000-000",
|
|
3340
|
+
substance_use_treatment_residential: "192-008-000-000-000-000-000",
|
|
3341
|
+
incarcerated: "192-009-000-000-000-000-000",
|
|
3342
|
+
cw_foster_care: "192-010-000-000-000-000-000",
|
|
3343
|
+
cw_kinship: "192-011-000-000-000-000-000",
|
|
3344
|
+
long_term_care: "192-012-000-000-000-000-000",
|
|
3345
|
+
transitional_housing_program: "192-013-000-000-000-000-000",
|
|
3346
|
+
temp_housing_program: "192-014-000-000-000-000-000",
|
|
3347
|
+
hotel_motel_non_shelter: "192-015-000-000-000-000-000",
|
|
3348
|
+
own_rent: "192-016-000-000-000-000-000",
|
|
3349
|
+
with_family_friends: "192-017-000-000-000-000-000",
|
|
3350
|
+
other: "192-018-000-000-000-000-000",
|
|
3351
|
+
} as const;
|
|
3352
|
+
|
|
3353
|
+
export type LivingSituationKey = keyof typeof LivingSituationKeys;
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* Key → positional code map for the `service_audience` CVC domain.
|
|
3357
|
+
*
|
|
3358
|
+
* Domain: `service_audience` · Version: 1.0.0 · Entries: 9
|
|
3359
|
+
*/
|
|
3360
|
+
export const ServiceAudienceKeys = {
|
|
3361
|
+
missingness_root: "045-000-000-000-000-000-000",
|
|
3362
|
+
unknown: "045-000-000-000-000-000-001",
|
|
3363
|
+
anonymous: "045-000-000-000-000-000-002",
|
|
3364
|
+
data_not_collected: "045-000-000-000-000-000-003",
|
|
3365
|
+
primary_victim: "045-001-000-000-000-000-000",
|
|
3366
|
+
eligible_family_member: "045-002-000-000-000-000-000",
|
|
3367
|
+
third_party: "045-003-000-000-000-000-000",
|
|
3368
|
+
offender: "045-004-000-000-000-000-000",
|
|
3369
|
+
personnel: "045-005-000-000-000-000-000",
|
|
3370
|
+
} as const;
|
|
3371
|
+
|
|
3372
|
+
export type ServiceAudienceKey = keyof typeof ServiceAudienceKeys;
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* Key → positional code map for the `hmis_relationship_to_hoh` CVC domain.
|
|
3376
|
+
*
|
|
3377
|
+
* Domain: `hmis_relationship_to_hoh` · Version: 1.0.0 · Entries: 9
|
|
3378
|
+
*/
|
|
3379
|
+
export const HmisRelationshipToHohKeys = {
|
|
3380
|
+
missingness_root: "129-000-000-000-000-000-000",
|
|
3381
|
+
unknown: "129-000-000-000-000-000-001",
|
|
3382
|
+
anonymous: "129-000-000-000-000-000-002",
|
|
3383
|
+
data_not_collected: "129-000-000-000-000-000-003",
|
|
3384
|
+
self_hoh: "129-001-000-000-000-000-000",
|
|
3385
|
+
child_of_hoh: "129-002-000-000-000-000-000",
|
|
3386
|
+
spouse_or_partner_of_hoh: "129-003-000-000-000-000-000",
|
|
3387
|
+
other_relative_of_hoh: "129-004-000-000-000-000-000",
|
|
3388
|
+
non_relation_member: "129-005-000-000-000-000-000",
|
|
3389
|
+
} as const;
|
|
3390
|
+
|
|
3391
|
+
export type HmisRelationshipToHohKey = keyof typeof HmisRelationshipToHohKeys;
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* Key → positional code map for the `victim_abuse_types` CVC domain.
|
|
3395
|
+
*
|
|
3396
|
+
* Domain: `victim_abuse_types` · Version: 1.0.0 · Entries: 29
|
|
3397
|
+
*/
|
|
3398
|
+
export const VictimAbuseTypesKeys = {
|
|
3399
|
+
missingness_root: "073-000-000-000-000-000-000",
|
|
3400
|
+
unknown: "073-000-000-000-000-000-001",
|
|
3401
|
+
anonymous: "073-000-000-000-000-000-002",
|
|
3402
|
+
data_not_collected: "073-000-000-000-000-000-003",
|
|
3403
|
+
adult_physical_assault: "073-001-000-000-000-000-000",
|
|
3404
|
+
adult_sexual_assault: "073-002-000-000-000-000-000",
|
|
3405
|
+
arson: "073-003-000-000-000-000-000",
|
|
3406
|
+
bullying: "073-004-000-000-000-000-000",
|
|
3407
|
+
burglary: "073-005-000-000-000-000-000",
|
|
3408
|
+
child_physical_abuse_or_neglect: "073-006-000-000-000-000-000",
|
|
3409
|
+
child_pornography: "073-007-000-000-000-000-000",
|
|
3410
|
+
child_sexual_abuse_assault: "073-008-000-000-000-000-000",
|
|
3411
|
+
domestic_and_or_family_violence: "073-009-000-000-000-000-000",
|
|
3412
|
+
dui_dwi_incidents: "073-010-000-000-000-000-000",
|
|
3413
|
+
elder_abuse: "073-011-000-000-000-000-000",
|
|
3414
|
+
gang_violence: "073-012-000-000-000-000-000",
|
|
3415
|
+
hate_crime: "073-013-000-000-000-000-000",
|
|
3416
|
+
homicide: "073-014-000-000-000-000-000",
|
|
3417
|
+
identity_theft: "073-015-000-000-000-000-000",
|
|
3418
|
+
kidnapping_custodial: "073-016-000-000-000-000-000",
|
|
3419
|
+
kidnapping_noncustodial: "073-017-000-000-000-000-000",
|
|
3420
|
+
mass_violence: "073-018-000-000-000-000-000",
|
|
3421
|
+
other: "073-019-000-000-000-000-000",
|
|
3422
|
+
other_vehicular: "073-020-000-000-000-000-000",
|
|
3423
|
+
robbery: "073-021-000-000-000-000-000",
|
|
3424
|
+
stalking_harassment: "073-022-000-000-000-000-000",
|
|
3425
|
+
survivors_of_homicide_victims: "073-023-000-000-000-000-000",
|
|
3426
|
+
teen_dating_victimization: "073-024-000-000-000-000-000",
|
|
3427
|
+
terrorism: "073-025-000-000-000-000-000",
|
|
3428
|
+
} as const;
|
|
3429
|
+
|
|
3430
|
+
export type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
|
|
3431
|
+
|
|
3432
|
+
/**
|
|
3433
|
+
* Key → positional code map for the `ht_type` CVC domain.
|
|
3434
|
+
*
|
|
3435
|
+
* Domain: `ht_type` · Version: 1.0.0 · Entries: 8
|
|
3436
|
+
*/
|
|
3437
|
+
export const HtTypeKeys = {
|
|
3438
|
+
missingness_root: "072-000-000-000-000-000-000",
|
|
3439
|
+
unknown: "072-000-000-000-000-000-001",
|
|
3440
|
+
anonymous: "072-000-000-000-000-000-002",
|
|
3441
|
+
data_not_collected: "072-000-000-000-000-000-003",
|
|
3442
|
+
sex: "072-001-000-000-000-000-000",
|
|
3443
|
+
labor: "072-002-000-000-000-000-000",
|
|
3444
|
+
sex_and_labor: "072-003-000-000-000-000-000",
|
|
3445
|
+
none: "072-004-000-000-000-000-000",
|
|
3446
|
+
} as const;
|
|
3447
|
+
|
|
3448
|
+
export type HtTypeKey = keyof typeof HtTypeKeys;
|
|
3449
|
+
|
|
3450
|
+
/**
|
|
3451
|
+
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-231 — pending codebook ratification).
|
|
3452
|
+
*
|
|
3453
|
+
* Domain: `relationship_concern` · Version: 1.0.0 · Entries: 11
|
|
3454
|
+
*/
|
|
3455
|
+
export const RelationshipConcernKeys = {
|
|
3456
|
+
missingness_root: "231-000-000-000-000-000-000",
|
|
3457
|
+
unknown: "231-000-000-000-000-000-001",
|
|
3458
|
+
anonymous: "231-000-000-000-000-000-002",
|
|
3459
|
+
data_not_collected: "231-000-000-000-000-000-003",
|
|
3460
|
+
appears_controlling: "231-001-000-000-000-000-000",
|
|
3461
|
+
is_much_older: "231-002-000-000-000-000-000",
|
|
3462
|
+
physically_abusive: "231-003-000-000-000-000-000",
|
|
3463
|
+
emotionally_abusive: "231-004-000-000-000-000-000",
|
|
3464
|
+
has_legal_involvement: "231-005-000-000-000-000-000",
|
|
3465
|
+
is_known_trafficker_or_suspect: "231-006-000-000-000-000-000",
|
|
3466
|
+
other_concern: "231-007-000-000-000-000-000",
|
|
3467
|
+
} as const;
|
|
3468
|
+
|
|
3469
|
+
export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
3470
|
+
|
|
3471
|
+
/**
|
|
3472
|
+
* Key → positional code map for the `recency_band` CVC domain (PROVISIONAL CVC-232 — pending codebook ratification).
|
|
3473
|
+
*
|
|
3474
|
+
* Domain: `recency_band` · Version: 1.0.0 · Entries: 12
|
|
3475
|
+
*/
|
|
3476
|
+
export const RecencyBandKeys = {
|
|
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",
|
|
3489
|
+
} as const;
|
|
3490
|
+
|
|
3491
|
+
export type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
3492
|
+
|
|
3493
|
+
/**
|
|
3494
|
+
* Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
|
|
3495
|
+
*
|
|
3496
|
+
* Domain: `housing_subsidy_types` · Version: 1.1.0 · Entries: 16
|
|
3497
|
+
*/
|
|
3498
|
+
export const HousingSubsidyTypesKeys = {
|
|
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",
|
|
3515
|
+
} as const;
|
|
3516
|
+
|
|
3517
|
+
export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3521
|
+
*
|
|
3522
|
+
* Domain: `assertion_domain` · Version: 2.0.0 · Entries: 68
|
|
3523
|
+
*/
|
|
3524
|
+
export const AssertionDomainKeys = {
|
|
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",
|
|
3593
|
+
} as const;
|
|
3594
|
+
|
|
3595
|
+
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* Key → positional code map for the `activity_type` CVC domain (activity type; PROVISIONAL, pending Notion ratification).
|
|
3599
|
+
*
|
|
3600
|
+
* Domain: `activity_type` · Version: 1.0.0 · Entries: 14
|
|
3601
|
+
*/
|
|
3602
|
+
export const ActivityTypeKeys = {
|
|
3603
|
+
missingness_root: "965-000-000-000-000-000-000",
|
|
3604
|
+
unknown: "965-000-000-000-000-000-001",
|
|
3605
|
+
anonymous: "965-000-000-000-000-000-002",
|
|
3606
|
+
data_not_collected: "965-000-000-000-000-000-003",
|
|
3607
|
+
resided: "965-001-000-000-000-000-000",
|
|
3608
|
+
sheltered: "965-002-000-000-000-000-000",
|
|
3609
|
+
service_delivered: "965-003-000-000-000-000-000",
|
|
3610
|
+
met: "965-004-000-000-000-000-000",
|
|
3611
|
+
advertised: "965-005-000-000-000-000-000",
|
|
3612
|
+
arrested: "965-006-000-000-000-000-000",
|
|
3613
|
+
visited: "965-007-000-000-000-000-000",
|
|
3614
|
+
child_welfare_visit: "965-008-000-000-000-000-000",
|
|
3615
|
+
incident: "965-009-000-000-000-000-000",
|
|
3616
|
+
other: "965-010-000-000-000-000-000",
|
|
3617
|
+
} as const;
|
|
3618
|
+
|
|
3619
|
+
export type ActivityTypeKey = keyof typeof ActivityTypeKeys;
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* Key → positional code map for the `provenance_source_id` CVC domain (provenance source id; PROVISIONAL, pending Notion ratification).
|
|
3623
|
+
*
|
|
3624
|
+
* Domain: `provenance_source_id` · Version: 1.0.0 · Entries: 13
|
|
3625
|
+
*/
|
|
3626
|
+
export const ProvenanceSourceIdKeys = {
|
|
3627
|
+
missingness_root: "966-000-000-000-000-000-000",
|
|
3628
|
+
unknown: "966-000-000-000-000-000-001",
|
|
3629
|
+
anonymous: "966-000-000-000-000-000-002",
|
|
3630
|
+
data_not_collected: "966-000-000-000-000-000-003",
|
|
3631
|
+
client_self_report: "966-001-000-000-000-000-000",
|
|
3632
|
+
system_derived_ads: "966-002-000-000-000-000-000",
|
|
3633
|
+
system_derived_geocoder: "966-003-000-000-000-000-000",
|
|
3634
|
+
staff_observation: "966-004-000-000-000-000-000",
|
|
3635
|
+
intake_form: "966-005-000-000-000-000-000",
|
|
3636
|
+
referral_partner: "966-006-000-000-000-000-000",
|
|
3637
|
+
law_enforcement: "966-007-000-000-000-000-000",
|
|
3638
|
+
id_document: "966-008-000-000-000-000-000",
|
|
3639
|
+
social_profile: "966-009-000-000-000-000-000",
|
|
3640
|
+
} as const;
|
|
3641
|
+
|
|
3642
|
+
export type ProvenanceSourceIdKey = keyof typeof ProvenanceSourceIdKeys;
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Key → positional code map for the `radius_bucket` CVC domain (search radius bucket; PROVISIONAL, pending Notion ratification).
|
|
3646
|
+
*
|
|
3647
|
+
* Domain: `radius_bucket` · Version: 1.0.0 · Entries: 9
|
|
3648
|
+
*/
|
|
3649
|
+
export const RadiusBucketKeys = {
|
|
3650
|
+
missingness_root: "967-000-000-000-000-000-000",
|
|
3651
|
+
unknown: "967-000-000-000-000-000-001",
|
|
3652
|
+
anonymous: "967-000-000-000-000-000-002",
|
|
3653
|
+
data_not_collected: "967-000-000-000-000-000-003",
|
|
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",
|
|
3659
|
+
} as const;
|
|
3660
|
+
|
|
3661
|
+
export type RadiusBucketKey = keyof typeof RadiusBucketKeys;
|
|
3662
|
+
|
|
3663
|
+
/**
|
|
3664
|
+
* Key → positional code map for the `contact_link_type` CVC domain (contact link type; PROVISIONAL, pending Notion ratification).
|
|
3665
|
+
*
|
|
3666
|
+
* Domain: `contact_link_type` · Version: 1.0.0 · Entries: 8
|
|
3667
|
+
*/
|
|
3668
|
+
export const ContactLinkTypeKeys = {
|
|
3669
|
+
missingness_root: "968-000-000-000-000-000-000",
|
|
3670
|
+
unknown: "968-000-000-000-000-000-001",
|
|
3671
|
+
anonymous: "968-000-000-000-000-000-002",
|
|
3672
|
+
data_not_collected: "968-000-000-000-000-000-003",
|
|
3673
|
+
belongs: "968-001-000-000-000-000-000",
|
|
3674
|
+
associated: "968-002-000-000-000-000-000",
|
|
3675
|
+
advertises: "968-003-000-000-000-000-000",
|
|
3676
|
+
contacted: "968-004-000-000-000-000-000",
|
|
3677
|
+
} as const;
|
|
3678
|
+
|
|
3679
|
+
export type ContactLinkTypeKey = keyof typeof ContactLinkTypeKeys;
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Key → positional code map for the `suggestion_source` CVC domain (goal suggestion source; PROVISIONAL, pending Notion ratification).
|
|
3683
|
+
*
|
|
3684
|
+
* Domain: `suggestion_source` · Version: 1.0.0 · Entries: 6
|
|
3685
|
+
*/
|
|
3686
|
+
export const SuggestionSourceKeys = {
|
|
3687
|
+
missingness_root: "969-000-000-000-000-000-000",
|
|
3688
|
+
unknown: "969-000-000-000-000-000-001",
|
|
3689
|
+
anonymous: "969-000-000-000-000-000-002",
|
|
3690
|
+
data_not_collected: "969-000-000-000-000-000-003",
|
|
3691
|
+
lap: "969-001-000-000-000-000-000",
|
|
3692
|
+
ps_step_4: "969-002-000-000-000-000-000",
|
|
3693
|
+
} as const;
|
|
3694
|
+
|
|
3695
|
+
export type SuggestionSourceKey = keyof typeof SuggestionSourceKeys;
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* Key → positional code map for the `roi_method` CVC domain (ROI delivery method; PROVISIONAL, pending Notion ratification).
|
|
3699
|
+
*
|
|
3700
|
+
* Domain: `roi_method` · Version: 1.0.0 · Entries: 10
|
|
3701
|
+
*/
|
|
3702
|
+
export const RoiMethodKeys = {
|
|
3703
|
+
missingness_root: "970-000-000-000-000-000-000",
|
|
3704
|
+
unknown: "970-000-000-000-000-000-001",
|
|
3705
|
+
anonymous: "970-000-000-000-000-000-002",
|
|
3706
|
+
data_not_collected: "970-000-000-000-000-000-003",
|
|
3707
|
+
thread_caseshare: "970-001-000-000-000-000-000",
|
|
3708
|
+
thread_magic_link: "970-002-000-000-000-000-000",
|
|
3709
|
+
email: "970-003-000-000-000-000-000",
|
|
3710
|
+
fax: "970-004-000-000-000-000-000",
|
|
3711
|
+
secure_portal: "970-005-000-000-000-000-000",
|
|
3712
|
+
in_person: "970-006-000-000-000-000-000",
|
|
3713
|
+
} as const;
|
|
3714
|
+
|
|
3715
|
+
export type RoiMethodKey = keyof typeof RoiMethodKeys;
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* Key → positional code map for the `session_note_visibility` CVC domain (session-note visibility; PROVISIONAL, pending Notion ratification).
|
|
3719
|
+
*
|
|
3720
|
+
* Domain: `session_note_visibility` · Version: 1.0.0 · Entries: 7
|
|
3721
|
+
*/
|
|
3722
|
+
export const SessionNoteVisibilityKeys = {
|
|
3723
|
+
missingness_root: "971-000-000-000-000-000-000",
|
|
3724
|
+
unknown: "971-000-000-000-000-000-001",
|
|
3725
|
+
anonymous: "971-000-000-000-000-000-002",
|
|
3726
|
+
data_not_collected: "971-000-000-000-000-000-003",
|
|
3727
|
+
default: "971-001-000-000-000-000-000",
|
|
3728
|
+
account: "971-002-000-000-000-000-000",
|
|
3729
|
+
private: "971-003-000-000-000-000-000",
|
|
3730
|
+
} as const;
|
|
3731
|
+
|
|
3732
|
+
export type SessionNoteVisibilityKey = keyof typeof SessionNoteVisibilityKeys;
|
|
3733
|
+
|
|
3734
|
+
/**
|
|
3735
|
+
* Key → positional code map for the `special_needs_disabilities` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3736
|
+
*
|
|
3737
|
+
* Domain: `special_needs_disabilities` · Version: 1.0.0 · Entries: 14
|
|
3738
|
+
*/
|
|
3739
|
+
export const SpecialNeedsDisabilitiesKeys = {
|
|
3740
|
+
missingness_root: "972-000-000-000-000-000-000",
|
|
3741
|
+
unknown: "972-000-000-000-000-000-001",
|
|
3742
|
+
anonymous: "972-000-000-000-000-000-002",
|
|
3743
|
+
data_not_collected: "972-000-000-000-000-000-003",
|
|
3744
|
+
mental_illness: "972-001-000-000-000-000-000",
|
|
3745
|
+
cognitive_developmental: "972-002-000-000-000-000-000",
|
|
3746
|
+
physical_disability: "972-003-000-000-000-000-000",
|
|
3747
|
+
deaf_hard_of_hearing: "972-004-000-000-000-000-000",
|
|
3748
|
+
chronic_health_condition: "972-005-000-000-000-000-000",
|
|
3749
|
+
hiv_aids: "972-006-000-000-000-000-000",
|
|
3750
|
+
alcohol_abuse: "972-007-000-000-000-000-000",
|
|
3751
|
+
drug_use_abuse: "972-008-000-000-000-000-000",
|
|
3752
|
+
unknown_but_exists: "972-009-000-000-000-000-000",
|
|
3753
|
+
other: "972-010-000-000-000-000-000",
|
|
3754
|
+
} as const;
|
|
3755
|
+
|
|
3756
|
+
export type SpecialNeedsDisabilitiesKey = keyof typeof SpecialNeedsDisabilitiesKeys;
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* Key → positional code map for the `hiv_status` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3760
|
+
*
|
|
3761
|
+
* Domain: `hiv_status` · Version: 1.0.0 · Entries: 6
|
|
3762
|
+
*/
|
|
3763
|
+
export const HivStatusKeys = {
|
|
3764
|
+
missingness_root: "973-000-000-000-000-000-000",
|
|
3765
|
+
unknown: "973-000-000-000-000-000-001",
|
|
3766
|
+
anonymous: "973-000-000-000-000-000-002",
|
|
3767
|
+
data_not_collected: "973-000-000-000-000-000-003",
|
|
3768
|
+
yes: "973-001-000-000-000-000-000",
|
|
3769
|
+
no: "973-002-000-000-000-000-000",
|
|
3770
|
+
} as const;
|
|
3771
|
+
|
|
3772
|
+
export type HivStatusKey = keyof typeof HivStatusKeys;
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Key → positional code map for the `mental_health_status` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3776
|
+
*
|
|
3777
|
+
* Domain: `mental_health_status` · Version: 1.0.0 · Entries: 6
|
|
3778
|
+
*/
|
|
3779
|
+
export const MentalHealthStatusKeys = {
|
|
3780
|
+
missingness_root: "974-000-000-000-000-000-000",
|
|
3781
|
+
unknown: "974-000-000-000-000-000-001",
|
|
3782
|
+
anonymous: "974-000-000-000-000-000-002",
|
|
3783
|
+
data_not_collected: "974-000-000-000-000-000-003",
|
|
3784
|
+
yes: "974-001-000-000-000-000-000",
|
|
3785
|
+
no: "974-002-000-000-000-000-000",
|
|
3786
|
+
} as const;
|
|
3787
|
+
|
|
3788
|
+
export type MentalHealthStatusKey = keyof typeof MentalHealthStatusKeys;
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* Key → positional code map for the `child_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3792
|
+
*
|
|
3793
|
+
* Domain: `child_change_type` · Version: 1.0.0 · Entries: 15
|
|
3794
|
+
*/
|
|
3795
|
+
export const ChildChangeTypeKeys = {
|
|
3796
|
+
missingness_root: "976-000-000-000-000-000-000",
|
|
3797
|
+
unknown: "976-000-000-000-000-000-001",
|
|
3798
|
+
anonymous: "976-000-000-000-000-000-002",
|
|
3799
|
+
data_not_collected: "976-000-000-000-000-000-003",
|
|
3800
|
+
child_added: "976-001-000-000-000-000-000",
|
|
3801
|
+
child_updated: "976-002-000-000-000-000-000",
|
|
3802
|
+
child_archived: "976-003-000-000-000-000-000",
|
|
3803
|
+
child_restored: "976-004-000-000-000-000-000",
|
|
3804
|
+
child_education_updated: "976-005-000-000-000-000-000",
|
|
3805
|
+
child_health_updated: "976-006-000-000-000-000-000",
|
|
3806
|
+
child_custody_updated: "976-007-000-000-000-000-000",
|
|
3807
|
+
child_parental_rights_updated: "976-008-000-000-000-000-000",
|
|
3808
|
+
child_behavioral_concerns_updated: "976-009-000-000-000-000-000",
|
|
3809
|
+
child_household_linked: "976-010-000-000-000-000-000",
|
|
3810
|
+
child_household_unlinked: "976-011-000-000-000-000-000",
|
|
3811
|
+
} as const;
|
|
3812
|
+
|
|
3813
|
+
export type ChildChangeTypeKey = keyof typeof ChildChangeTypeKeys;
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* Key → positional code map for the `immigration_legal_status_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3817
|
+
*
|
|
3818
|
+
* Domain: `immigration_legal_status_change_type` · Version: 1.0.0 · Entries: 14
|
|
3819
|
+
*/
|
|
3820
|
+
export const ImmigrationLegalStatusChangeTypeKeys = {
|
|
3821
|
+
missingness_root: "977-000-000-000-000-000-000",
|
|
3822
|
+
unknown: "977-000-000-000-000-000-001",
|
|
3823
|
+
anonymous: "977-000-000-000-000-000-002",
|
|
3824
|
+
data_not_collected: "977-000-000-000-000-000-003",
|
|
3825
|
+
immigration_legal_status_section_declined: "977-001-000-000-000-000-000",
|
|
3826
|
+
immigration_legal_status_section_recaptured: "977-002-000-000-000-000-000",
|
|
3827
|
+
immigration_visa_captured: "977-003-000-000-000-000-000",
|
|
3828
|
+
immigration_visa_updated: "977-004-000-000-000-000-000",
|
|
3829
|
+
identification_status_captured: "977-005-000-000-000-000-000",
|
|
3830
|
+
identification_status_updated: "977-006-000-000-000-000-000",
|
|
3831
|
+
le_report_status_captured: "977-007-000-000-000-000-000",
|
|
3832
|
+
le_report_status_updated: "977-008-000-000-000-000-000",
|
|
3833
|
+
trafficking_screening_captured: "977-009-000-000-000-000-000",
|
|
3834
|
+
trafficking_screening_updated: "977-010-000-000-000-000-000",
|
|
3835
|
+
} as const;
|
|
3836
|
+
|
|
3837
|
+
export type ImmigrationLegalStatusChangeTypeKey = keyof typeof ImmigrationLegalStatusChangeTypeKeys;
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Key → positional code map for the `program_enrollment_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3841
|
+
*
|
|
3842
|
+
* Domain: `program_enrollment_change_type` · Version: 1.0.0 · Entries: 13
|
|
3843
|
+
*/
|
|
3844
|
+
export const ProgramEnrollmentChangeTypeKeys = {
|
|
3845
|
+
missingness_root: "978-000-000-000-000-000-000",
|
|
3846
|
+
unknown: "978-000-000-000-000-000-001",
|
|
3847
|
+
anonymous: "978-000-000-000-000-000-002",
|
|
3848
|
+
data_not_collected: "978-000-000-000-000-000-003",
|
|
3849
|
+
program_enrollment_drafted: "978-001-000-000-000-000-000",
|
|
3850
|
+
program_enrollment_submitted: "978-002-000-000-000-000-000",
|
|
3851
|
+
program_enrollment_approved: "978-003-000-000-000-000-000",
|
|
3852
|
+
program_enrollment_activated: "978-004-000-000-000-000-000",
|
|
3853
|
+
program_enrollment_denied: "978-005-000-000-000-000-000",
|
|
3854
|
+
program_enrollment_closed: "978-006-000-000-000-000-000",
|
|
3855
|
+
program_enrollment_expired: "978-007-000-000-000-000-000",
|
|
3856
|
+
program_enrollment_restored: "978-008-000-000-000-000-000",
|
|
3857
|
+
program_prior_history_captured: "978-009-000-000-000-000-000",
|
|
3858
|
+
} as const;
|
|
3859
|
+
|
|
3860
|
+
export type ProgramEnrollmentChangeTypeKey = keyof typeof ProgramEnrollmentChangeTypeKeys;
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Key → positional code map for the `romantic_relationship_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3864
|
+
*
|
|
3865
|
+
* Domain: `romantic_relationship_change_type` · Version: 1.0.0 · Entries: 16
|
|
3866
|
+
*/
|
|
3867
|
+
export const RomanticRelationshipChangeTypeKeys = {
|
|
3868
|
+
missingness_root: "979-000-000-000-000-000-000",
|
|
3869
|
+
unknown: "979-000-000-000-000-000-001",
|
|
3870
|
+
anonymous: "979-000-000-000-000-000-002",
|
|
3871
|
+
data_not_collected: "979-000-000-000-000-000-003",
|
|
3872
|
+
romantic_partner_added: "979-001-000-000-000-000-000",
|
|
3873
|
+
romantic_partner_updated: "979-002-000-000-000-000-000",
|
|
3874
|
+
romantic_partner_archived: "979-003-000-000-000-000-000",
|
|
3875
|
+
romantic_partner_restored: "979-004-000-000-000-000-000",
|
|
3876
|
+
romantic_partner_ties_changed: "979-005-000-000-000-000-000",
|
|
3877
|
+
romantic_partner_dynamics_changed: "979-006-000-000-000-000-000",
|
|
3878
|
+
marital_status_set: "979-007-000-000-000-000-000",
|
|
3879
|
+
marital_status_changed: "979-008-000-000-000-000-000",
|
|
3880
|
+
marital_status_declined: "979-009-000-000-000-000-000",
|
|
3881
|
+
relationship_status_set: "979-010-000-000-000-000-000",
|
|
3882
|
+
relationship_status_changed: "979-011-000-000-000-000-000",
|
|
3883
|
+
relationship_status_declined: "979-012-000-000-000-000-000",
|
|
3884
|
+
} as const;
|
|
3885
|
+
|
|
3886
|
+
export type RomanticRelationshipChangeTypeKey = keyof typeof RomanticRelationshipChangeTypeKeys;
|
|
3887
|
+
|
|
3888
|
+
/**
|
|
3889
|
+
* Key → positional code map for the `risk_category` CVC domain (DRAFT-TEMPORARY; names sourced from @hti/scoring weights/risk.weights.json, the declared risk-taxonomy SOT. Keys `cat_i`..`cat_ix` mirror PAVE's live `TraCategoryId` union, so this doubles as the canonical crosswalk. Weights/aggregation stay in @hti/scoring).
|
|
3890
|
+
*
|
|
3891
|
+
* Domain: `risk_category` · Version: 1.0.0 · Entries: 13
|
|
3892
|
+
*/
|
|
3893
|
+
export const RiskCategoryKeys = {
|
|
3894
|
+
missingness_root: "980-000-000-000-000-000-000",
|
|
3895
|
+
unknown: "980-000-000-000-000-000-001",
|
|
3896
|
+
anonymous: "980-000-000-000-000-000-002",
|
|
3897
|
+
data_not_collected: "980-000-000-000-000-000-003",
|
|
3898
|
+
cat_i: "980-001-000-000-000-000-000",
|
|
3899
|
+
cat_ii: "980-002-000-000-000-000-000",
|
|
3900
|
+
cat_iii: "980-003-000-000-000-000-000",
|
|
3901
|
+
cat_iv: "980-004-000-000-000-000-000",
|
|
3902
|
+
cat_v: "980-005-000-000-000-000-000",
|
|
3903
|
+
cat_vi: "980-006-000-000-000-000-000",
|
|
3904
|
+
cat_vii: "980-007-000-000-000-000-000",
|
|
3905
|
+
cat_viii: "980-008-000-000-000-000-000",
|
|
3906
|
+
cat_ix: "980-009-000-000-000-000-000",
|
|
3907
|
+
} as const;
|
|
3908
|
+
|
|
3909
|
+
export type RiskCategoryKey = keyof typeof RiskCategoryKeys;
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
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).
|
|
3913
|
+
*
|
|
3914
|
+
* Domain: `core_functions` · Version: 1.0.0 · Entries: 81
|
|
3915
|
+
*/
|
|
3916
|
+
export const CoreFunctionsKeys = {
|
|
3917
|
+
missingness_root: "133-000-000-000-000-000-000",
|
|
3918
|
+
unknown: "133-000-000-000-000-000-001",
|
|
3919
|
+
anonymous: "133-000-000-000-000-000-002",
|
|
3920
|
+
data_not_collected: "133-000-000-000-000-000-003",
|
|
3921
|
+
account_suspend: "133-001-000-000-000-000-000",
|
|
3922
|
+
aggregate_data_query_generate: "133-002-000-000-000-000-000",
|
|
3923
|
+
api_key_manage: "133-003-000-000-000-000-000",
|
|
3924
|
+
assessments_conduct: "133-004-000-000-000-000-000",
|
|
3925
|
+
audit_anomaly_review: "133-005-000-000-000-000-000",
|
|
3926
|
+
audit_log_view_member: "133-006-000-000-000-000-000",
|
|
3927
|
+
audit_log_view_team: "133-007-000-000-000-000-000",
|
|
3928
|
+
auth_model_manage_platform: "133-008-000-000-000-000-000",
|
|
3929
|
+
break_glass: "133-009-000-000-000-000-000",
|
|
3930
|
+
case_assign_reassign: "133-010-000-000-000-000-000",
|
|
3931
|
+
case_claim: "133-011-000-000-000-000-000",
|
|
3932
|
+
case_collaborator_add: "133-012-000-000-000-000-000",
|
|
3933
|
+
case_edit: "133-013-000-000-000-000-000",
|
|
3934
|
+
case_needs_action_flag_manage: "133-014-000-000-000-000-000",
|
|
3935
|
+
case_outcomes_edit: "133-015-000-000-000-000-000",
|
|
3936
|
+
case_purge: "133-016-000-000-000-000-000",
|
|
3937
|
+
case_reopen: "133-017-000-000-000-000-000",
|
|
3938
|
+
case_side_panel_use: "133-018-000-000-000-000-000",
|
|
3939
|
+
case_transfer_bulk: "133-019-000-000-000-000-000",
|
|
3940
|
+
case_view: "133-020-000-000-000-000-000",
|
|
3941
|
+
ci_periodic_review: "133-021-000-000-000-000-000",
|
|
3942
|
+
ci_record_purge_or_retire: "133-022-000-000-000-000-000",
|
|
3943
|
+
ci_record_validate: "133-023-000-000-000-000-000",
|
|
3944
|
+
ci_to_evidence_export_authorize: "133-024-000-000-000-000-000",
|
|
3945
|
+
dashboard_approve_shared: "133-025-000-000-000-000-000",
|
|
3946
|
+
data_qa_workflow_run: "133-026-000-000-000-000-000",
|
|
3947
|
+
deconfliction_alert_acknowledge: "133-027-000-000-000-000-000",
|
|
3948
|
+
determination_perform: "133-028-000-000-000-000-000",
|
|
3949
|
+
disclose_external: "133-029-000-000-000-000-000",
|
|
3950
|
+
disclose_external_request: "133-030-000-000-000-000-000",
|
|
3951
|
+
export_deidentified: "133-031-000-000-000-000-000",
|
|
3952
|
+
export_disclosure_log_review: "133-032-000-000-000-000-000",
|
|
3953
|
+
export_template_config_manage: "133-033-000-000-000-000-000",
|
|
3954
|
+
gov_data_quality_review: "133-034-000-000-000-000-000",
|
|
3955
|
+
idb_record_create: "133-035-000-000-000-000-000",
|
|
3956
|
+
incident_response_remediate: "133-036-000-000-000-000-000",
|
|
3957
|
+
investigation_create_claim: "133-037-000-000-000-000-000",
|
|
3958
|
+
investigative_database_search: "133-038-000-000-000-000-000",
|
|
3959
|
+
lead_create: "133-039-000-000-000-000-000",
|
|
3960
|
+
lead_publish: "133-040-000-000-000-000-000",
|
|
3961
|
+
magic_link_share_send: "133-041-000-000-000-000-000",
|
|
3962
|
+
member_account_report_generate: "133-042-000-000-000-000-000",
|
|
3963
|
+
member_onboarding_support: "133-043-000-000-000-000-000",
|
|
3964
|
+
open_source_search: "133-044-000-000-000-000-000",
|
|
3965
|
+
outbound_share_followup_review: "133-045-000-000-000-000-000",
|
|
3966
|
+
person_association_update: "133-046-000-000-000-000-000",
|
|
3967
|
+
platform_perm_modify: "133-047-000-000-000-000-000",
|
|
3968
|
+
platform_policy_enforcement_manage: "133-048-000-000-000-000-000",
|
|
3969
|
+
record_print: "133-049-000-000-000-000-000",
|
|
3970
|
+
referral_receive_external: "133-050-000-000-000-000-000",
|
|
3971
|
+
referral_receive_internal: "133-051-000-000-000-000-000",
|
|
3972
|
+
referral_send_external: "133-052-000-000-000-000-000",
|
|
3973
|
+
referral_send_internal: "133-053-000-000-000-000-000",
|
|
3974
|
+
reporting_dashboard_config_manage: "133-054-000-000-000-000-000",
|
|
3975
|
+
retention_compliance_review: "133-055-000-000-000-000-000",
|
|
3976
|
+
roi_submit_manage: "133-056-000-000-000-000-000",
|
|
3977
|
+
role_assign: "133-057-000-000-000-000-000",
|
|
3978
|
+
roles_accounts_toggle: "133-058-000-000-000-000-000",
|
|
3979
|
+
sandbox_environment_manage: "133-059-000-000-000-000-000",
|
|
3980
|
+
screening_conduct: "133-060-000-000-000-000-000",
|
|
3981
|
+
screening_view: "133-061-000-000-000-000-000",
|
|
3982
|
+
security_restrict_apply: "133-062-000-000-000-000-000",
|
|
3983
|
+
session_create: "133-063-000-000-000-000-000",
|
|
3984
|
+
share_approve: "133-064-000-000-000-000-000",
|
|
3985
|
+
share_config: "133-065-000-000-000-000-000",
|
|
3986
|
+
share_rule_approve_cross_agency: "133-066-000-000-000-000-000",
|
|
3987
|
+
share_vsp_to_le: "133-067-000-000-000-000-000",
|
|
3988
|
+
support_ticket_triage: "133-068-000-000-000-000-000",
|
|
3989
|
+
system_diagnostics_view: "133-069-000-000-000-000-000",
|
|
3990
|
+
team_config_manage: "133-070-000-000-000-000-000",
|
|
3991
|
+
team_membership_manage: "133-071-000-000-000-000-000",
|
|
3992
|
+
team_workflow_config_manage: "133-072-000-000-000-000-000",
|
|
3993
|
+
thread_share_accept: "133-073-000-000-000-000-000",
|
|
3994
|
+
thread_share_send: "133-074-000-000-000-000-000",
|
|
3995
|
+
training_content_upload: "133-075-000-000-000-000-000",
|
|
3996
|
+
training_gate_manage: "133-076-000-000-000-000-000",
|
|
3997
|
+
usr_manage: "133-077-000-000-000-000-000",
|
|
3998
|
+
} as const;
|
|
3999
|
+
|
|
4000
|
+
export type CoreFunctionsKey = keyof typeof CoreFunctionsKeys;
|
|
4001
|
+
|
|
4002
|
+
/**
|
|
4003
|
+
* Key → positional code map for the `needs_assessment_change_type` CVC domain (DRAFT-TEMPORARY; the 9 fine-grained per-mutation Needs-Assessment CAR change types, sourced from PAVE `@pave/domain` NEEDS_ASSESSMENT_CHANGE_TYPES. CASING NORMALIZED: PAVE stores SCREAMING_SNAKE, CVC keys are lower_snake. DISTINCT from the coarse 3-verb section-boundary registry NEEDS_ASSESSMENT_VERB_REGISTRY).
|
|
4004
|
+
*
|
|
4005
|
+
* Domain: `needs_assessment_change_type` · Version: 1.0.0 · Entries: 13
|
|
4006
|
+
*/
|
|
4007
|
+
export const NeedsAssessmentChangeTypeKeys = {
|
|
4008
|
+
missingness_root: "982-000-000-000-000-000-000",
|
|
4009
|
+
unknown: "982-000-000-000-000-000-001",
|
|
4010
|
+
anonymous: "982-000-000-000-000-000-002",
|
|
4011
|
+
data_not_collected: "982-000-000-000-000-000-003",
|
|
4012
|
+
answer_recorded: "982-001-000-000-000-000-000",
|
|
4013
|
+
answer_changed: "982-002-000-000-000-000-000",
|
|
4014
|
+
answer_cleared: "982-003-000-000-000-000-000",
|
|
4015
|
+
section_declined: "982-004-000-000-000-000-000",
|
|
4016
|
+
section_undeclined: "982-005-000-000-000-000-000",
|
|
4017
|
+
section_submitted: "982-006-000-000-000-000-000",
|
|
4018
|
+
assessment_submitted: "982-007-000-000-000-000-000",
|
|
4019
|
+
service_instance_generated: "982-008-000-000-000-000-000",
|
|
4020
|
+
service_instance_linked: "982-009-000-000-000-000-000",
|
|
4021
|
+
} as const;
|
|
4022
|
+
|
|
4023
|
+
export type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
4024
|
+
|
|
4025
|
+
/**
|
|
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).
|
|
4027
|
+
*
|
|
4028
|
+
* Domain: `roi_scope` · Version: 1.1.0 · Entries: 31
|
|
4029
|
+
*/
|
|
4030
|
+
export const RoiScopeKeys = {
|
|
4031
|
+
missingness_root: "983-000-000-000-000-000-000",
|
|
4032
|
+
unknown: "983-000-000-000-000-000-001",
|
|
4033
|
+
anonymous: "983-000-000-000-000-000-002",
|
|
4034
|
+
data_not_collected: "983-000-000-000-000-000-003",
|
|
4035
|
+
names: "983-001-000-000-000-000-000",
|
|
4036
|
+
dob: "983-002-000-000-000-000-000",
|
|
4037
|
+
addresses: "983-003-000-000-000-000-000",
|
|
4038
|
+
additional_ids: "983-004-000-000-000-000-000",
|
|
4039
|
+
demographics: "983-005-000-000-000-000-000",
|
|
4040
|
+
screen_indicators: "983-006-000-000-000-000-000",
|
|
4041
|
+
victimization: "983-007-000-000-000-000-000",
|
|
4042
|
+
ida_full: "983-008-000-000-000-000-000",
|
|
4043
|
+
ida_consid: "983-009-000-000-000-000-000",
|
|
4044
|
+
contact_info: "983-010-000-000-000-000-000",
|
|
4045
|
+
service_history: "983-011-000-000-000-000-000",
|
|
4046
|
+
screen_notes: "983-012-000-000-000-000-000",
|
|
4047
|
+
case_notes: "983-013-000-000-000-000-000",
|
|
4048
|
+
background: "983-014-000-000-000-000-000",
|
|
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",
|
|
4062
|
+
} as const;
|
|
4063
|
+
|
|
4064
|
+
export type RoiScopeKey = keyof typeof RoiScopeKeys;
|
|
4065
|
+
|
|
4066
|
+
/**
|
|
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).
|
|
4068
|
+
*
|
|
4069
|
+
* Domain: `roi_status` · Version: 1.1.0 · Entries: 9
|
|
4070
|
+
*/
|
|
4071
|
+
export const RoiStatusKeys = {
|
|
4072
|
+
missingness_root: "984-000-000-000-000-000-000",
|
|
4073
|
+
unknown: "984-000-000-000-000-000-001",
|
|
4074
|
+
anonymous: "984-000-000-000-000-000-002",
|
|
4075
|
+
data_not_collected: "984-000-000-000-000-000-003",
|
|
4076
|
+
draft: "984-001-000-000-000-000-000",
|
|
4077
|
+
active: "984-002-000-000-000-000-000",
|
|
4078
|
+
expired: "984-003-000-000-000-000-000",
|
|
4079
|
+
revoked: "984-005-000-000-000-000-000",
|
|
4080
|
+
superseded: "984-006-000-000-000-000-000",
|
|
4081
|
+
} as const;
|
|
4082
|
+
|
|
4083
|
+
export type RoiStatusKey = keyof typeof RoiStatusKeys;
|
|
4084
|
+
|
|
4085
|
+
/**
|
|
4086
|
+
* Key → positional code map for the `core_referral_outcome` CVC domain (DRAFT-TEMPORARY; the binary referral-outcome axis attained / not_attained, grounded in the HMIS FY2026 Data Standards “P2 Referrals Provided” element + IC-59. The REASON a referral was not attained is a separate axis and is deliberately not folded in).
|
|
4087
|
+
*
|
|
4088
|
+
* Domain: `core_referral_outcome` · Version: 1.0.0 · Entries: 6
|
|
4089
|
+
*/
|
|
4090
|
+
export const CoreReferralOutcomeKeys = {
|
|
4091
|
+
missingness_root: "975-000-000-000-000-000-000",
|
|
4092
|
+
unknown: "975-000-000-000-000-000-001",
|
|
4093
|
+
anonymous: "975-000-000-000-000-000-002",
|
|
4094
|
+
data_not_collected: "975-000-000-000-000-000-003",
|
|
4095
|
+
attained: "975-001-000-000-000-000-000",
|
|
4096
|
+
not_attained: "975-002-000-000-000-000-000",
|
|
4097
|
+
} as const;
|
|
4098
|
+
|
|
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;
|