@htilabs/platform-common-models 0.5.3-beta.4 → 0.7.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/constants/index.cjs +46 -5
- 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 +42 -5
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +6874 -2
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +7562 -66
- package/dist/cvcs/index.d.ts +7562 -66
- package/dist/cvcs/index.js +6833 -1
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +7742 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1009 -3
- package/dist/index.d.ts +1009 -3
- package/dist/index.js +7656 -6
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-CjC57132.d.cts → platform-auth-C97LpsRd.d.cts} +8 -4
- package/dist/{platform-auth-CjC57132.d.ts → platform-auth-C97LpsRd.d.ts} +8 -4
- package/dist/schemas/index.cjs +43 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +4 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.js +43 -6
- package/dist/schemas/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 -2
- package/src/__tests__/__snapshots__/cvc-sot.snap +160 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +319 -0
- package/src/__tests__/cvc-structural.test.ts +40 -0
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
- package/src/constants/ic.ts +49 -6
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +105 -0
- package/src/cvcs/ageBinReporting.v1.0.0.json +114 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +250 -0
- package/src/cvcs/contactSafetyStatus.v1.0.0.json +69 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +302 -0
- package/src/cvcs/enrollmentApplicationStatus.v1.0.0.json +123 -0
- package/src/cvcs/eyeColor.v1.0.0.json +114 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +141 -0
- package/src/cvcs/facilitatorLabelUsedInSource.v1.0.0.json +159 -0
- package/src/cvcs/facilitatorSubrole.v1.0.0.json +381 -0
- package/src/cvcs/frequencyCadence.v1.0.0.json +114 -0
- package/src/cvcs/genderIdentity.v1.0.0.json +128 -0
- package/src/cvcs/hairColor.v1.0.0.json +105 -0
- package/src/cvcs/hasTattoos.v1.0.0.json +69 -0
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +124 -0
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +98 -0
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +392 -0
- package/src/cvcs/index.ts +80 -0
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +78 -0
- package/src/cvcs/locationType.v1.0.0.json +168 -0
- package/src/cvcs/maritalStatusLegal.v1.0.0.json +96 -0
- package/src/cvcs/militaryBranch.v1.0.0.json +85 -0
- package/src/cvcs/militaryStatus.v1.0.0.json +67 -0
- package/src/cvcs/nameType.v1.0.0.json +123 -0
- package/src/cvcs/offenderStatus.v1.0.0.json +96 -0
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +87 -0
- package/src/cvcs/orientationIdentity.v1.0.0.json +97 -0
- package/src/cvcs/personRelationships.v1.0.0.json +924 -0
- package/src/cvcs/preferredContactMethod.v1.0.0.json +46 -0
- package/src/cvcs/pronouns.v1.0.0.json +87 -0
- package/src/cvcs/recencyBand.v1.0.0.json +124 -0
- package/src/cvcs/referralEntityCategory.v1.0.0.json +439 -0
- package/src/cvcs/relationshipStatusCurrent.v1.0.0.json +69 -0
- package/src/cvcs/relationshipTies.v1.0.0.json +291 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +78 -0
- package/src/cvcs/sharePurpose.v1.0.0.json +82 -0
- package/src/cvcs/smtType.v1.0.0.json +114 -0
- package/src/cvcs/tribes.v1.0.0.json +492 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +96 -0
- package/src/generated/cvc-enums.ts +1048 -0
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
|
@@ -485,3 +485,1051 @@ export const PrimaryLanguageKeys = {
|
|
|
485
485
|
} as const;
|
|
486
486
|
|
|
487
487
|
export type PrimaryLanguageKey = keyof typeof PrimaryLanguageKeys;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Key → positional code map for the `orientation_identity` CVC domain.
|
|
491
|
+
*
|
|
492
|
+
* Domain: `orientation_identity` · Version: 1.0.0 · Entries: 9
|
|
493
|
+
*/
|
|
494
|
+
export const OrientationIdentityKeys = {
|
|
495
|
+
missingness_root: "016-000-000-000-000-000-000",
|
|
496
|
+
unknown: "016-000-000-000-000-000-001",
|
|
497
|
+
anonymous: "016-000-000-000-000-000-002",
|
|
498
|
+
data_not_collected: "016-000-000-000-000-000-003",
|
|
499
|
+
prefer_not_to_answer: "016-000-000-000-000-000-004",
|
|
500
|
+
bisexual: "016-001-000-000-000-000-000",
|
|
501
|
+
gay_or_lesbian: "016-002-000-000-000-000-000",
|
|
502
|
+
other_self_described: "016-003-000-000-000-000-000",
|
|
503
|
+
straight: "016-004-000-000-000-000-000",
|
|
504
|
+
} as const;
|
|
505
|
+
|
|
506
|
+
export type OrientationIdentityKey = keyof typeof OrientationIdentityKeys;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Key → positional code map for the `pronouns` CVC domain.
|
|
510
|
+
*
|
|
511
|
+
* Domain: `pronouns` · Version: 1.0.0 · Entries: 8
|
|
512
|
+
*/
|
|
513
|
+
export const PronounsKeys = {
|
|
514
|
+
missingness_root: "147-000-000-000-000-000-000",
|
|
515
|
+
unknown: "147-000-000-000-000-000-001",
|
|
516
|
+
anonymous: "147-000-000-000-000-000-002",
|
|
517
|
+
data_not_collected: "147-000-000-000-000-000-003",
|
|
518
|
+
he_him: "147-001-000-000-000-000-000",
|
|
519
|
+
she_her: "147-002-000-000-000-000-000",
|
|
520
|
+
they_them: "147-003-000-000-000-000-000",
|
|
521
|
+
other_self_described: "147-004-000-000-000-000-000",
|
|
522
|
+
} as const;
|
|
523
|
+
|
|
524
|
+
export type PronounsKey = keyof typeof PronounsKeys;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Key → positional code map for the `gender_identity` CVC domain.
|
|
528
|
+
*
|
|
529
|
+
* Domain: `gender_identity` · Version: 1.0.0 · Entries: 12
|
|
530
|
+
*/
|
|
531
|
+
export const GenderIdentityKeys = {
|
|
532
|
+
missingness_root: "017-000-000-000-000-000-000",
|
|
533
|
+
unknown: "017-000-000-000-000-000-001",
|
|
534
|
+
anonymous: "017-000-000-000-000-000-002",
|
|
535
|
+
data_not_collected: "017-000-000-000-000-000-003",
|
|
536
|
+
prefer_not_to_answer: "017-000-000-000-000-000-004",
|
|
537
|
+
female: "017-001-000-000-000-000-000",
|
|
538
|
+
male: "017-002-000-000-000-000-000",
|
|
539
|
+
non_binary: "017-003-000-000-000-000-000",
|
|
540
|
+
other: "017-004-000-000-000-000-000",
|
|
541
|
+
transgender: "017-005-000-000-000-000-000",
|
|
542
|
+
transgender_ftm: "017-005-001-000-000-000-000",
|
|
543
|
+
transgender_mtf: "017-005-002-000-000-000-000",
|
|
544
|
+
} as const;
|
|
545
|
+
|
|
546
|
+
export type GenderIdentityKey = keyof typeof GenderIdentityKeys;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Key → positional code map for the `tribes` CVC domain.
|
|
550
|
+
*
|
|
551
|
+
* Domain: `tribes` · Version: 1.0.0 · Entries: 53
|
|
552
|
+
*/
|
|
553
|
+
export const TribesKeys = {
|
|
554
|
+
missingness_root: "148-000-000-000-000-000-000",
|
|
555
|
+
unknown: "148-000-000-000-000-000-001",
|
|
556
|
+
anonymous: "148-000-000-000-000-000-002",
|
|
557
|
+
data_not_collected: "148-000-000-000-000-000-003",
|
|
558
|
+
cherokee_nation: "148-001-000-000-000-000-000",
|
|
559
|
+
muscogee_creek: "148-002-000-000-000-000-000",
|
|
560
|
+
choctaw_nation: "148-003-000-000-000-000-000",
|
|
561
|
+
chickasaw_nation: "148-004-000-000-000-000-000",
|
|
562
|
+
seminole_nation: "148-005-000-000-000-000-000",
|
|
563
|
+
osage_nation: "148-006-000-000-000-000-000",
|
|
564
|
+
cheyenne_arapaho: "148-007-000-000-000-000-000",
|
|
565
|
+
comanche_nation: "148-008-000-000-000-000-000",
|
|
566
|
+
kiowa_tribe: "148-009-000-000-000-000-000",
|
|
567
|
+
apache_tribe_ok: "148-010-000-000-000-000-000",
|
|
568
|
+
caddo_nation: "148-011-000-000-000-000-000",
|
|
569
|
+
wichita_affiliated: "148-012-000-000-000-000-000",
|
|
570
|
+
delaware_nation: "148-013-000-000-000-000-000",
|
|
571
|
+
delaware_tribe_indians: "148-014-000-000-000-000-000",
|
|
572
|
+
pawnee_nation: "148-015-000-000-000-000-000",
|
|
573
|
+
ponca_tribe_ok: "148-016-000-000-000-000-000",
|
|
574
|
+
otoe_missouria: "148-017-000-000-000-000-000",
|
|
575
|
+
kaw_nation: "148-018-000-000-000-000-000",
|
|
576
|
+
tonkawa_tribe: "148-019-000-000-000-000-000",
|
|
577
|
+
iowa_tribe_ok: "148-020-000-000-000-000-000",
|
|
578
|
+
sac_fox_ok: "148-021-000-000-000-000-000",
|
|
579
|
+
kickapoo_tribe_ok: "148-022-000-000-000-000-000",
|
|
580
|
+
potawatomi_citizen: "148-023-000-000-000-000-000",
|
|
581
|
+
absentee_shawnee: "148-024-000-000-000-000-000",
|
|
582
|
+
eastern_shawnee: "148-025-000-000-000-000-000",
|
|
583
|
+
shawnee_tribe: "148-026-000-000-000-000-000",
|
|
584
|
+
quapaw_nation: "148-027-000-000-000-000-000",
|
|
585
|
+
peoria_tribe: "148-028-000-000-000-000-000",
|
|
586
|
+
miami_tribe: "148-029-000-000-000-000-000",
|
|
587
|
+
modoc_nation: "148-030-000-000-000-000-000",
|
|
588
|
+
ottawa_tribe: "148-031-000-000-000-000-000",
|
|
589
|
+
seneca_cayuga: "148-032-000-000-000-000-000",
|
|
590
|
+
wyandotte_nation: "148-033-000-000-000-000-000",
|
|
591
|
+
united_keetoowah: "148-034-000-000-000-000-000",
|
|
592
|
+
thlopthlocco: "148-035-000-000-000-000-000",
|
|
593
|
+
alabama_quassarte: "148-036-000-000-000-000-000",
|
|
594
|
+
kialegee: "148-037-000-000-000-000-000",
|
|
595
|
+
fort_sill_apache: "148-038-000-000-000-000-000",
|
|
596
|
+
ponca_ne: "148-039-000-000-000-000-000",
|
|
597
|
+
omaha_tribe: "148-040-000-000-000-000-000",
|
|
598
|
+
winnebago_ne: "148-041-000-000-000-000-000",
|
|
599
|
+
santee_sioux: "148-042-000-000-000-000-000",
|
|
600
|
+
sioux_specify: "148-043-000-000-000-000-000",
|
|
601
|
+
apache_specify: "148-044-000-000-000-000-000",
|
|
602
|
+
pueblo_specify: "148-045-000-000-000-000-000",
|
|
603
|
+
navajo_specify: "148-046-000-000-000-000-000",
|
|
604
|
+
ojibwe_chippewa_specify: "148-047-000-000-000-000-000",
|
|
605
|
+
ute_specify: "148-048-000-000-000-000-000",
|
|
606
|
+
other_self_described: "148-049-000-000-000-000-000",
|
|
607
|
+
} as const;
|
|
608
|
+
|
|
609
|
+
export type TribesKey = keyof typeof TribesKeys;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Key → positional code map for the `name_type` CVC domain.
|
|
613
|
+
*
|
|
614
|
+
* Domain: `name_type` · Version: 1.0.0 · Entries: 12
|
|
615
|
+
*/
|
|
616
|
+
export const NameTypeKeys = {
|
|
617
|
+
missingness_root: "001-000-000-000-000-000-000",
|
|
618
|
+
unknown: "001-000-000-000-000-000-001",
|
|
619
|
+
anonymous: "001-000-000-000-000-000-002",
|
|
620
|
+
data_not_collected: "001-000-000-000-000-000-003",
|
|
621
|
+
alias: "001-001-000-000-000-000-000",
|
|
622
|
+
code_name: "001-002-000-000-000-000-000",
|
|
623
|
+
handle_screenname: "001-003-000-000-000-000-000",
|
|
624
|
+
legal: "001-004-000-000-000-000-000",
|
|
625
|
+
maiden_former: "001-005-000-000-000-000-000",
|
|
626
|
+
nickname: "001-006-000-000-000-000-000",
|
|
627
|
+
street_name: "001-007-000-000-000-000-000",
|
|
628
|
+
trade_name_stage_name: "001-008-000-000-000-000-000",
|
|
629
|
+
} as const;
|
|
630
|
+
|
|
631
|
+
export type NameTypeKey = keyof typeof NameTypeKeys;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Key → positional code map for the `age_bin_reporting` CVC domain.
|
|
635
|
+
*
|
|
636
|
+
* Domain: `age_bin_reporting` · Version: 1.0.0 · Entries: 11
|
|
637
|
+
*/
|
|
638
|
+
export const AgeBinReportingKeys = {
|
|
639
|
+
missingness_root: "051-000-000-000-000-000-000",
|
|
640
|
+
unknown: "051-000-000-000-000-000-001",
|
|
641
|
+
anonymous: "051-000-000-000-000-000-002",
|
|
642
|
+
data_not_collected: "051-000-000-000-000-000-003",
|
|
643
|
+
age_0_12: "051-001-000-000-000-000-000",
|
|
644
|
+
age_13_17: "051-002-000-000-000-000-000",
|
|
645
|
+
age_18_24: "051-003-000-000-000-000-000",
|
|
646
|
+
age_25_59: "051-004-000-000-000-000-000",
|
|
647
|
+
age_60_plus: "051-005-000-000-000-000-000",
|
|
648
|
+
not_reported: "051-006-000-000-000-000-000",
|
|
649
|
+
not_tracked: "051-007-000-000-000-000-000",
|
|
650
|
+
} as const;
|
|
651
|
+
|
|
652
|
+
export type AgeBinReportingKey = keyof typeof AgeBinReportingKeys;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Key → positional code map for the `juvenile_justice_involvement_status` CVC domain.
|
|
656
|
+
*
|
|
657
|
+
* Domain: `juvenile_justice_involvement_status` · Version: 1.0.0 · Entries: 7
|
|
658
|
+
*/
|
|
659
|
+
export const JuvenileJusticeInvolvementStatusKeys = {
|
|
660
|
+
missingness_root: "095-000-000-000-000-000-000",
|
|
661
|
+
unknown: "095-000-000-000-000-000-001",
|
|
662
|
+
prefer_not_to_answer: "095-000-000-000-000-000-002",
|
|
663
|
+
data_not_collected: "095-000-000-000-000-000-003",
|
|
664
|
+
current: "095-001-000-000-000-000-000",
|
|
665
|
+
never: "095-002-000-000-000-000-000",
|
|
666
|
+
previous: "095-003-000-000-000-000-000",
|
|
667
|
+
} as const;
|
|
668
|
+
|
|
669
|
+
export type JuvenileJusticeInvolvementStatusKey = keyof typeof JuvenileJusticeInvolvementStatusKeys;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Key → positional code map for the `eye_color` CVC domain.
|
|
673
|
+
*
|
|
674
|
+
* Domain: `eye_color` · Version: 1.0.0 · Entries: 11
|
|
675
|
+
*/
|
|
676
|
+
export const EyeColorKeys = {
|
|
677
|
+
missingness_root: "150-000-000-000-000-000-000",
|
|
678
|
+
unknown: "150-000-000-000-000-000-001",
|
|
679
|
+
anonymous: "150-000-000-000-000-000-002",
|
|
680
|
+
data_not_collected: "150-000-000-000-000-000-003",
|
|
681
|
+
black: "150-001-000-000-000-000-000",
|
|
682
|
+
blue: "150-002-000-000-000-000-000",
|
|
683
|
+
brown: "150-003-000-000-000-000-000",
|
|
684
|
+
gray: "150-004-000-000-000-000-000",
|
|
685
|
+
green: "150-005-000-000-000-000-000",
|
|
686
|
+
hazel: "150-006-000-000-000-000-000",
|
|
687
|
+
other: "150-007-000-000-000-000-000",
|
|
688
|
+
} as const;
|
|
689
|
+
|
|
690
|
+
export type EyeColorKey = keyof typeof EyeColorKeys;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Key → positional code map for the `smt_type` CVC domain.
|
|
694
|
+
*
|
|
695
|
+
* Domain: `smt_type` · Version: 1.0.0 · Entries: 11
|
|
696
|
+
*/
|
|
697
|
+
export const SmtTypeKeys = {
|
|
698
|
+
missingness_root: "153-000-000-000-000-000-000",
|
|
699
|
+
unknown: "153-000-000-000-000-000-001",
|
|
700
|
+
anonymous: "153-000-000-000-000-000-002",
|
|
701
|
+
data_not_collected: "153-000-000-000-000-000-003",
|
|
702
|
+
birthmark: "153-001-000-000-000-000-000",
|
|
703
|
+
brand: "153-002-000-000-000-000-000",
|
|
704
|
+
mark: "153-003-000-000-000-000-000",
|
|
705
|
+
piercing: "153-004-000-000-000-000-000",
|
|
706
|
+
scar: "153-005-000-000-000-000-000",
|
|
707
|
+
tattoo: "153-006-000-000-000-000-000",
|
|
708
|
+
other: "153-007-000-000-000-000-000",
|
|
709
|
+
} as const;
|
|
710
|
+
|
|
711
|
+
export type SmtTypeKey = keyof typeof SmtTypeKeys;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Key → positional code map for the `offender_status` CVC domain.
|
|
715
|
+
*
|
|
716
|
+
* Domain: `offender_status` · Version: 1.0.0 · Entries: 9
|
|
717
|
+
*/
|
|
718
|
+
export const OffenderStatusKeys = {
|
|
719
|
+
missingness_root: "164-000-000-000-000-000-000",
|
|
720
|
+
unknown: "164-000-000-000-000-000-001",
|
|
721
|
+
anonymous: "164-000-000-000-000-000-002",
|
|
722
|
+
data_not_collected: "164-000-000-000-000-000-003",
|
|
723
|
+
suspected_offender: "164-001-000-000-000-000-000",
|
|
724
|
+
person_of_interest: "164-002-000-000-000-000-000",
|
|
725
|
+
cleared_excluded: "164-003-000-000-000-000-000",
|
|
726
|
+
charged: "164-004-000-000-000-000-000",
|
|
727
|
+
convicted: "164-005-000-000-000-000-000",
|
|
728
|
+
} as const;
|
|
729
|
+
|
|
730
|
+
export type OffenderStatusKey = keyof typeof OffenderStatusKeys;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Key → positional code map for the `offender_status_family` CVC domain.
|
|
734
|
+
*
|
|
735
|
+
* Domain: `offender_status_family` · Version: 1.0.0 · Entries: 8
|
|
736
|
+
*/
|
|
737
|
+
export const OffenderStatusFamilyKeys = {
|
|
738
|
+
missingness_root: "167-000-000-000-000-000-000",
|
|
739
|
+
unknown: "167-000-000-000-000-000-001",
|
|
740
|
+
anonymous: "167-000-000-000-000-000-002",
|
|
741
|
+
data_not_collected: "167-000-000-000-000-000-003",
|
|
742
|
+
no_indication: "167-001-000-000-000-000-000",
|
|
743
|
+
non_trafficking_exploitation_offender: "167-002-000-000-000-000-000",
|
|
744
|
+
potential_trafficking_offender: "167-003-000-000-000-000-000",
|
|
745
|
+
trafficking_offender: "167-004-000-000-000-000-000",
|
|
746
|
+
} as const;
|
|
747
|
+
|
|
748
|
+
export type OffenderStatusFamilyKey = keyof typeof OffenderStatusFamilyKeys;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Key → positional code map for the `military_status` CVC domain.
|
|
752
|
+
*
|
|
753
|
+
* Domain: `military_status` · Version: 1.0.0 · Entries: 6
|
|
754
|
+
*/
|
|
755
|
+
export const MilitaryStatusKeys = {
|
|
756
|
+
missingness_root: "121-000-000-000-000-000-000",
|
|
757
|
+
unknown: "121-000-000-000-000-000-001",
|
|
758
|
+
active_duty: "121-001-000-000-000-000-000",
|
|
759
|
+
retired: "121-002-000-000-000-000-000",
|
|
760
|
+
discharged: "121-003-000-000-000-000-000",
|
|
761
|
+
reserve: "121-004-000-000-000-000-000",
|
|
762
|
+
} as const;
|
|
763
|
+
|
|
764
|
+
export type MilitaryStatusKey = keyof typeof MilitaryStatusKeys;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Key → positional code map for the `military_branch` CVC domain.
|
|
768
|
+
*
|
|
769
|
+
* Domain: `military_branch` · Version: 1.0.0 · Entries: 8
|
|
770
|
+
*/
|
|
771
|
+
export const MilitaryBranchKeys = {
|
|
772
|
+
missingness_root: "120-000-000-000-000-000-000",
|
|
773
|
+
unknown: "120-000-000-000-000-000-001",
|
|
774
|
+
army: "120-001-000-000-000-000-000",
|
|
775
|
+
navy: "120-002-000-000-000-000-000",
|
|
776
|
+
air_force: "120-003-000-000-000-000-000",
|
|
777
|
+
marines: "120-004-000-000-000-000-000",
|
|
778
|
+
coast_guard: "120-005-000-000-000-000-000",
|
|
779
|
+
space_force: "120-006-000-000-000-000-000",
|
|
780
|
+
} as const;
|
|
781
|
+
|
|
782
|
+
export type MilitaryBranchKey = keyof typeof MilitaryBranchKeys;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Key → positional code map for the `contact_info_types` CVC domain.
|
|
786
|
+
*
|
|
787
|
+
* Domain: `contact_info_types` · Version: 1.0.0 · Entries: 24
|
|
788
|
+
*/
|
|
789
|
+
export const ContactInfoTypeKeys = {
|
|
790
|
+
missingness_root: "149-000-000-000-000-000-000",
|
|
791
|
+
unknown: "149-000-000-000-000-000-001",
|
|
792
|
+
anonymous: "149-000-000-000-000-000-002",
|
|
793
|
+
data_not_collected: "149-000-000-000-000-000-003",
|
|
794
|
+
phone: "149-001-000-000-000-000-000",
|
|
795
|
+
email: "149-002-000-000-000-000-000",
|
|
796
|
+
app: "149-003-000-000-000-000-000",
|
|
797
|
+
app_whatsapp: "149-003-001-000-000-000-000",
|
|
798
|
+
app_wechat: "149-003-002-000-000-000-000",
|
|
799
|
+
app_kik: "149-003-003-000-000-000-000",
|
|
800
|
+
app_paypal: "149-003-004-000-000-000-000",
|
|
801
|
+
app_cash_app: "149-003-005-000-000-000-000",
|
|
802
|
+
app_venmo: "149-003-006-000-000-000-000",
|
|
803
|
+
app_other: "149-003-007-000-000-000-000",
|
|
804
|
+
social_media: "149-004-000-000-000-000-000",
|
|
805
|
+
social_media_facebook: "149-004-001-000-000-000-000",
|
|
806
|
+
social_media_instagram: "149-004-002-000-000-000-000",
|
|
807
|
+
social_media_x: "149-004-003-000-000-000-000",
|
|
808
|
+
social_media_tiktok: "149-004-004-000-000-000-000",
|
|
809
|
+
social_media_reddit: "149-004-005-000-000-000-000",
|
|
810
|
+
social_media_youtube: "149-004-006-000-000-000-000",
|
|
811
|
+
social_media_snapchat: "149-004-007-000-000-000-000",
|
|
812
|
+
social_media_onlyfans: "149-004-008-000-000-000-000",
|
|
813
|
+
social_media_other: "149-004-009-000-000-000-000",
|
|
814
|
+
} as const;
|
|
815
|
+
|
|
816
|
+
export type ContactInfoTypeKey = keyof typeof ContactInfoTypeKeys;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Key → positional code map for the `contact_safety_status` CVC domain.
|
|
820
|
+
*
|
|
821
|
+
* Domain: `contact_safety_status` · Version: 1.0.0 · Entries: 6
|
|
822
|
+
*/
|
|
823
|
+
export const ContactSafetyStatusKeys = {
|
|
824
|
+
missingness_root: "155-000-000-000-000-000-000",
|
|
825
|
+
unknown: "155-000-000-000-000-000-001",
|
|
826
|
+
anonymous: "155-000-000-000-000-000-002",
|
|
827
|
+
data_not_collected: "155-000-000-000-000-000-003",
|
|
828
|
+
safe: "155-001-000-000-000-000-000",
|
|
829
|
+
not_safe: "155-002-000-000-000-000-000",
|
|
830
|
+
} as const;
|
|
831
|
+
|
|
832
|
+
export type ContactSafetyStatusKey = keyof typeof ContactSafetyStatusKeys;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Key → positional code map for the `highest_education_level_completed` CVC domain.
|
|
836
|
+
*
|
|
837
|
+
* Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 12
|
|
838
|
+
*/
|
|
839
|
+
export const HighestEducationLevelCompletedKeys = {
|
|
840
|
+
missingness_root: "180-000-000-000-000-000-000",
|
|
841
|
+
unknown: "180-000-000-000-000-000-001",
|
|
842
|
+
anonymous: "180-000-000-000-000-000-002",
|
|
843
|
+
data_not_collected: "180-000-000-000-000-000-003",
|
|
844
|
+
prefer_not_to_answer: "180-000-000-000-000-000-004",
|
|
845
|
+
less_than_high_school: "180-001-000-000-000-000-000",
|
|
846
|
+
high_school_diploma: "180-002-000-000-000-000-000",
|
|
847
|
+
ged: "180-003-000-000-000-000-000",
|
|
848
|
+
some_college: "180-004-000-000-000-000-000",
|
|
849
|
+
associates: "180-005-000-000-000-000-000",
|
|
850
|
+
bachelors: "180-006-000-000-000-000-000",
|
|
851
|
+
graduate_professional: "180-007-000-000-000-000-000",
|
|
852
|
+
} as const;
|
|
853
|
+
|
|
854
|
+
export type HighestEducationLevelCompletedKey = keyof typeof HighestEducationLevelCompletedKeys;
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Key → positional code map for the `preferred_contact_method` CVC domain.
|
|
858
|
+
*
|
|
859
|
+
* Domain: `preferred_contact_method` · Version: 1.0.0 · Entries: 4
|
|
860
|
+
*/
|
|
861
|
+
export const PreferredContactMethodKeys = {
|
|
862
|
+
call: "185-001-000-000-000-000-000",
|
|
863
|
+
text: "185-002-000-000-000-000-000",
|
|
864
|
+
email: "185-003-000-000-000-000-000",
|
|
865
|
+
messaging_app_dm: "185-004-000-000-000-000-000",
|
|
866
|
+
} as const;
|
|
867
|
+
|
|
868
|
+
export type PreferredContactMethodKey = keyof typeof PreferredContactMethodKeys;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Key → positional code map for the `share_purpose` CVC domain.
|
|
872
|
+
*
|
|
873
|
+
* Domain: `share_purpose` · Version: 1.0.0 · Entries: 8
|
|
874
|
+
*/
|
|
875
|
+
export const SharePurposeKeys = {
|
|
876
|
+
referral: "084-001-000-000-000-000-000",
|
|
877
|
+
case_collaboration: "084-002-000-000-000-000-000",
|
|
878
|
+
deconfliction: "084-003-000-000-000-000-000",
|
|
879
|
+
mandatory_reporting: "084-004-000-000-000-000-000",
|
|
880
|
+
authority_reporting: "084-005-000-000-000-000-000",
|
|
881
|
+
automatic_account_share: "084-006-000-000-000-000-000",
|
|
882
|
+
discretionary_share: "084-007-000-000-000-000-000",
|
|
883
|
+
records_request: "084-008-000-000-000-000-000",
|
|
884
|
+
} as const;
|
|
885
|
+
|
|
886
|
+
export type SharePurposeKey = keyof typeof SharePurposeKeys;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Key → positional code map for the `facilitator_entity_type` CVC domain.
|
|
890
|
+
*
|
|
891
|
+
* Domain: `facilitator_entity_type` · Version: 1.0.0 · Entries: 14
|
|
892
|
+
*/
|
|
893
|
+
export const FacilitatorEntityTypeKeys = {
|
|
894
|
+
missingness_root: "165-000-000-000-000-000-000",
|
|
895
|
+
unknown: "165-000-000-000-000-000-001",
|
|
896
|
+
anonymous: "165-000-000-000-000-000-002",
|
|
897
|
+
data_not_collected: "165-000-000-000-000-000-003",
|
|
898
|
+
individual_person: "165-001-000-000-000-000-000",
|
|
899
|
+
call_service: "165-002-000-000-000-000-000",
|
|
900
|
+
escort_agency: "165-003-000-000-000-000-000",
|
|
901
|
+
illicit_massage_business: "165-004-000-000-000-000-000",
|
|
902
|
+
brothel_or_residence_operation: "165-005-000-000-000-000-000",
|
|
903
|
+
strip_club_bar_casino_facilitator: "165-006-000-000-000-000-000",
|
|
904
|
+
staffing_intermediary_or_labor_broker: "165-007-000-000-000-000-000",
|
|
905
|
+
employer_or_worksite_operator: "165-008-000-000-000-000-000",
|
|
906
|
+
multi_level_enterprise_or_organization: "165-009-000-000-000-000-000",
|
|
907
|
+
other_business_or_establishment: "165-010-000-000-000-000-000",
|
|
908
|
+
} as const;
|
|
909
|
+
|
|
910
|
+
export type FacilitatorEntityTypeKey = keyof typeof FacilitatorEntityTypeKeys;
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Key → positional code map for the `facilitator_subrole` CVC domain.
|
|
914
|
+
*
|
|
915
|
+
* Domain: `facilitator_subrole` · Version: 1.0.0 · Entries: 37
|
|
916
|
+
*/
|
|
917
|
+
export const FacilitatorSubroleKeys = {
|
|
918
|
+
missingness_root: "162-000-000-000-000-000-000",
|
|
919
|
+
unknown: "162-000-000-000-000-000-001",
|
|
920
|
+
anonymous: "162-000-000-000-000-000-002",
|
|
921
|
+
data_not_collected: "162-000-000-000-000-000-003",
|
|
922
|
+
recruiter: "162-001-000-000-000-000-000",
|
|
923
|
+
operational_management: "162-002-000-000-000-000-000",
|
|
924
|
+
mgr: "162-002-001-000-000-000-000",
|
|
925
|
+
worksite_supervisor_foreman: "162-002-002-000-000-000-000",
|
|
926
|
+
comms_advertising: "162-003-000-000-000-000-000",
|
|
927
|
+
advertiser_webmaster: "162-003-001-000-000-000-000",
|
|
928
|
+
content_creator: "162-003-002-000-000-000-000",
|
|
929
|
+
comms_account_control: "162-003-003-000-000-000-000",
|
|
930
|
+
dispatch_booking: "162-004-000-000-000-000-000",
|
|
931
|
+
dispatcher_call_center: "162-004-001-000-000-000-000",
|
|
932
|
+
enforcement_security: "162-005-000-000-000-000-000",
|
|
933
|
+
enforcer_security: "162-005-001-000-000-000-000",
|
|
934
|
+
lookout_spotter: "162-005-002-000-000-000-000",
|
|
935
|
+
financial_control: "162-006-000-000-000-000-000",
|
|
936
|
+
financial_facilitator: "162-006-001-000-000-000-000",
|
|
937
|
+
debt_fee_collector: "162-006-002-000-000-000-000",
|
|
938
|
+
money_launderer: "162-006-003-000-000-000-000",
|
|
939
|
+
account_wallet_holder: "162-006-004-000-000-000-000",
|
|
940
|
+
transportation_movement: "162-007-000-000-000-000-000",
|
|
941
|
+
driver_transporter: "162-007-001-000-000-000-000",
|
|
942
|
+
handling_supervision: "162-008-000-000-000-000-000",
|
|
943
|
+
handler_minder: "162-008-001-000-000-000-000",
|
|
944
|
+
document_identity_control: "162-009-000-000-000-000-000",
|
|
945
|
+
document_identity_facilitator: "162-009-001-000-000-000-000",
|
|
946
|
+
immigration_visa_controller: "162-009-002-000-000-000-000",
|
|
947
|
+
labor_intermediation_worksite_control: "162-010-000-000-000-000-000",
|
|
948
|
+
labor_broker_contractor: "162-010-001-000-000-000-000",
|
|
949
|
+
housing_venue_harboring: "162-011-000-000-000-000-000",
|
|
950
|
+
housing_room_provider: "162-011-001-000-000-000-000",
|
|
951
|
+
ownership_enterprise: "162-012-000-000-000-000-000",
|
|
952
|
+
owner_operator: "162-012-001-000-000-000-000",
|
|
953
|
+
other: "162-013-000-000-000-000-000",
|
|
954
|
+
other_unspec: "162-013-001-000-000-000-000",
|
|
955
|
+
} as const;
|
|
956
|
+
|
|
957
|
+
export type FacilitatorSubroleKey = keyof typeof FacilitatorSubroleKeys;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Key → positional code map for the `marital_status_legal` CVC domain.
|
|
961
|
+
*
|
|
962
|
+
* Domain: `marital_status_legal` · Version: 1.0.0 · Entries: 9
|
|
963
|
+
*/
|
|
964
|
+
export const MaritalStatusLegalKeys = {
|
|
965
|
+
missingness_root: "156-000-000-000-000-000-000",
|
|
966
|
+
unknown: "156-000-000-000-000-000-001",
|
|
967
|
+
anonymous: "156-000-000-000-000-000-002",
|
|
968
|
+
data_not_collected: "156-000-000-000-000-000-003",
|
|
969
|
+
married: "156-001-000-000-000-000-000",
|
|
970
|
+
never_married: "156-002-000-000-000-000-000",
|
|
971
|
+
divorced: "156-003-000-000-000-000-000",
|
|
972
|
+
separated: "156-004-000-000-000-000-000",
|
|
973
|
+
widowed: "156-005-000-000-000-000-000",
|
|
974
|
+
} as const;
|
|
975
|
+
|
|
976
|
+
export type MaritalStatusLegalKey = keyof typeof MaritalStatusLegalKeys;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Key → positional code map for the `relationship_status_current` CVC domain.
|
|
980
|
+
*
|
|
981
|
+
* Domain: `relationship_status_current` · Version: 1.0.0 · Entries: 6
|
|
982
|
+
*/
|
|
983
|
+
export const RelationshipStatusCurrentKeys = {
|
|
984
|
+
missingness_root: "157-000-000-000-000-000-000",
|
|
985
|
+
unknown: "157-000-000-000-000-000-001",
|
|
986
|
+
anonymous: "157-000-000-000-000-000-002",
|
|
987
|
+
data_not_collected: "157-000-000-000-000-000-003",
|
|
988
|
+
partnered: "157-001-000-000-000-000-000",
|
|
989
|
+
not_partnered: "157-002-000-000-000-000-000",
|
|
990
|
+
} as const;
|
|
991
|
+
|
|
992
|
+
export type RelationshipStatusCurrentKey = keyof typeof RelationshipStatusCurrentKeys;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Key → positional code map for the `has_tattoos` CVC domain.
|
|
996
|
+
*
|
|
997
|
+
* Domain: `has_tattoos` · Version: 1.0.0 · Entries: 6
|
|
998
|
+
*/
|
|
999
|
+
export const HasTattoosKeys = {
|
|
1000
|
+
missingness_root: "152-000-000-000-000-000-000",
|
|
1001
|
+
unknown: "152-000-000-000-000-000-001",
|
|
1002
|
+
anonymous: "152-000-000-000-000-000-002",
|
|
1003
|
+
data_not_collected: "152-000-000-000-000-000-003",
|
|
1004
|
+
yes: "152-001-000-000-000-000-000",
|
|
1005
|
+
no: "152-002-000-000-000-000-000",
|
|
1006
|
+
} as const;
|
|
1007
|
+
|
|
1008
|
+
export type HasTattoosKey = keyof typeof HasTattoosKeys;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Key → positional code map for the `facilitator_label_used_in_source` CVC domain.
|
|
1012
|
+
*
|
|
1013
|
+
* Domain: `facilitator_label_used_in_source` · Version: 1.0.0 · Entries: 16
|
|
1014
|
+
*/
|
|
1015
|
+
export const FacilitatorLabelUsedInSourceKeys = {
|
|
1016
|
+
missingness_root: "166-000-000-000-000-000-000",
|
|
1017
|
+
unknown: "166-000-000-000-000-000-001",
|
|
1018
|
+
anonymous: "166-000-000-000-000-000-002",
|
|
1019
|
+
data_not_collected: "166-000-000-000-000-000-003",
|
|
1020
|
+
boss: "166-001-000-000-000-000-000",
|
|
1021
|
+
bottom: "166-002-000-000-000-000-000",
|
|
1022
|
+
boyfriend_or_intimate_partner: "166-003-000-000-000-000-000",
|
|
1023
|
+
coyote: "166-004-000-000-000-000-000",
|
|
1024
|
+
fraudulent_job_recruiter: "166-005-000-000-000-000-000",
|
|
1025
|
+
madame: "166-006-000-000-000-000-000",
|
|
1026
|
+
neighbor: "166-007-000-000-000-000-000",
|
|
1027
|
+
parent_or_guardian: "166-008-000-000-000-000-000",
|
|
1028
|
+
peer_recruiter: "166-009-000-000-000-000-000",
|
|
1029
|
+
pimp: "166-010-000-000-000-000-000",
|
|
1030
|
+
romeo_recruiter: "166-011-000-000-000-000-000",
|
|
1031
|
+
other_source_term: "166-012-000-000-000-000-000",
|
|
1032
|
+
} as const;
|
|
1033
|
+
|
|
1034
|
+
export type FacilitatorLabelUsedInSourceKey = keyof typeof FacilitatorLabelUsedInSourceKeys;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Key → positional code map for the `homeless_status` CVC domain.
|
|
1038
|
+
*
|
|
1039
|
+
* Domain: `homeless_status` · Version: 1.0.0 · Entries: 9
|
|
1040
|
+
*/
|
|
1041
|
+
export const HomelessStatusKeys = {
|
|
1042
|
+
missingness_root: "096-000-000-000-000-000-000",
|
|
1043
|
+
unknown: "096-000-000-000-000-000-001",
|
|
1044
|
+
anonymous: "096-000-000-000-000-000-002",
|
|
1045
|
+
data_not_collected: "096-000-000-000-000-000-003",
|
|
1046
|
+
client_doesnt_know: "096-000-000-000-000-000-004",
|
|
1047
|
+
client_refused: "096-000-000-000-000-000-005",
|
|
1048
|
+
current: "096-001-000-000-000-000-000",
|
|
1049
|
+
former: "096-002-000-000-000-000-000",
|
|
1050
|
+
never: "096-003-000-000-000-000-000",
|
|
1051
|
+
} as const;
|
|
1052
|
+
|
|
1053
|
+
export type HomelessStatusKey = keyof typeof HomelessStatusKeys;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Key → positional code map for the `victim_status_family` CVC domain.
|
|
1057
|
+
*
|
|
1058
|
+
* Domain: `victim_status_family` · Version: 1.0.0 · Entries: 9
|
|
1059
|
+
*/
|
|
1060
|
+
export const VictimStatusFamilyKeys = {
|
|
1061
|
+
missingness_root: "020-000-000-000-000-000-000",
|
|
1062
|
+
unknown: "020-000-000-000-000-000-001",
|
|
1063
|
+
anonymous: "020-000-000-000-000-000-002",
|
|
1064
|
+
data_not_collected: "020-000-000-000-000-000-003",
|
|
1065
|
+
no_indication: "020-001-000-000-000-000-000",
|
|
1066
|
+
voluntary_industry_engagement: "020-002-000-000-000-000-000",
|
|
1067
|
+
non_trafficking_exploitation: "020-003-000-000-000-000-000",
|
|
1068
|
+
potential_trafficking_victim: "020-004-000-000-000-000-000",
|
|
1069
|
+
trafficking_victim: "020-005-000-000-000-000-000",
|
|
1070
|
+
} as const;
|
|
1071
|
+
|
|
1072
|
+
export type VictimStatusFamilyKey = keyof typeof VictimStatusFamilyKeys;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Key → positional code map for the `hair_color` CVC domain.
|
|
1076
|
+
*
|
|
1077
|
+
* Domain: `hair_color` · Version: 1.0.0 · Entries: 10
|
|
1078
|
+
*/
|
|
1079
|
+
export const HairColorKeys = {
|
|
1080
|
+
missingness_root: "151-000-000-000-000-000-000",
|
|
1081
|
+
unknown: "151-000-000-000-000-000-001",
|
|
1082
|
+
anonymous: "151-000-000-000-000-000-002",
|
|
1083
|
+
data_not_collected: "151-000-000-000-000-000-003",
|
|
1084
|
+
black: "151-001-000-000-000-000-000",
|
|
1085
|
+
blonde: "151-002-000-000-000-000-000",
|
|
1086
|
+
brown: "151-003-000-000-000-000-000",
|
|
1087
|
+
gray_white: "151-004-000-000-000-000-000",
|
|
1088
|
+
red: "151-005-000-000-000-000-000",
|
|
1089
|
+
other: "151-006-000-000-000-000-000",
|
|
1090
|
+
} as const;
|
|
1091
|
+
|
|
1092
|
+
export type HairColorKey = keyof typeof HairColorKeys;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Key → positional code map for the `sex_provider_subrole` CVC domain.
|
|
1096
|
+
*
|
|
1097
|
+
* Domain: `sex_provider_subrole` · Version: 1.0.0 · Entries: 7
|
|
1098
|
+
*/
|
|
1099
|
+
export const SexProviderSubroleKeys = {
|
|
1100
|
+
missingness_root: "161-000-000-000-000-000-000",
|
|
1101
|
+
unknown: "161-000-000-000-000-000-001",
|
|
1102
|
+
anonymous: "161-000-000-000-000-000-002",
|
|
1103
|
+
data_not_collected: "161-000-000-000-000-000-003",
|
|
1104
|
+
bottom: "161-001-000-000-000-000-000",
|
|
1105
|
+
escort: "161-002-000-000-000-000-000",
|
|
1106
|
+
stripper_exotic_dancer: "161-003-000-000-000-000-000",
|
|
1107
|
+
} as const;
|
|
1108
|
+
|
|
1109
|
+
export type SexProviderSubroleKey = keyof typeof SexProviderSubroleKeys;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Key → positional code map for the `relationship_ties` CVC domain.
|
|
1113
|
+
*
|
|
1114
|
+
* Domain: `relationship_ties` · Version: 1.0.0 · Entries: 28
|
|
1115
|
+
*/
|
|
1116
|
+
export const RelationshipTiesKeys = {
|
|
1117
|
+
missingness_root: "158-000-000-000-000-000-000",
|
|
1118
|
+
unknown: "158-000-000-000-000-000-001",
|
|
1119
|
+
anonymous: "158-000-000-000-000-000-002",
|
|
1120
|
+
data_not_collected: "158-000-000-000-000-000-003",
|
|
1121
|
+
household_living: "158-001-000-000-000-000-000",
|
|
1122
|
+
cohabitating: "158-001-001-000-000-000-000",
|
|
1123
|
+
shared_care_environment: "158-001-002-000-000-000-000",
|
|
1124
|
+
child_family: "158-002-000-000-000-000-000",
|
|
1125
|
+
has_children_together: "158-002-001-000-000-000-000",
|
|
1126
|
+
co_parenting: "158-002-002-000-000-000-000",
|
|
1127
|
+
family_care_obligation: "158-002-003-000-000-000-000",
|
|
1128
|
+
legal_formal: "158-003-000-000-000-000-000",
|
|
1129
|
+
legally_married: "158-003-001-000-000-000-000",
|
|
1130
|
+
legal_guardianship: "158-003-002-000-000-000-000",
|
|
1131
|
+
custody_or_visitation_link: "158-003-003-000-000-000-000",
|
|
1132
|
+
protective_order_link: "158-003-004-000-000-000-000",
|
|
1133
|
+
shared_legal_case_or_order: "158-003-005-000-000-000-000",
|
|
1134
|
+
financial_resource: "158-004-000-000-000-000-000",
|
|
1135
|
+
financial_dependence: "158-004-001-000-000-000-000",
|
|
1136
|
+
shared_finances: "158-004-002-000-000-000-000",
|
|
1137
|
+
shared_property_or_lease: "158-004-003-000-000-000-000",
|
|
1138
|
+
shared_employment_or_income_link: "158-004-004-000-000-000-000",
|
|
1139
|
+
access_logistics: "158-005-000-000-000-000-000",
|
|
1140
|
+
transportation_dependence: "158-005-001-000-000-000-000",
|
|
1141
|
+
communication_access_link: "158-005-002-000-000-000-000",
|
|
1142
|
+
document_or_id_link: "158-005-003-000-000-000-000",
|
|
1143
|
+
regular_unavoidable_contact: "158-005-004-000-000-000-000",
|
|
1144
|
+
other_fallback: "158-006-000-000-000-000-000",
|
|
1145
|
+
} as const;
|
|
1146
|
+
|
|
1147
|
+
export type RelationshipTiesKey = keyof typeof RelationshipTiesKeys;
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Key → positional code map for the `person_relationships` CVC domain.
|
|
1151
|
+
*
|
|
1152
|
+
* Domain: `person_relationships` · Version: 1.0.0 · Entries: 89
|
|
1153
|
+
*/
|
|
1154
|
+
export const PersonRelationshipsKeys = {
|
|
1155
|
+
missingness_root: "126-000-000-000-000-000-000",
|
|
1156
|
+
anonymous: "126-000-000-000-000-000-002",
|
|
1157
|
+
data_not_collected: "126-000-000-000-000-000-003",
|
|
1158
|
+
familial: "126-001-000-000-000-000-000",
|
|
1159
|
+
grandparent_grandchild: "126-001-001-000-000-000-000",
|
|
1160
|
+
grandchild_of: "126-001-001-001-000-000-000",
|
|
1161
|
+
grandparent_of: "126-001-001-002-000-000-000",
|
|
1162
|
+
guardian_dependent: "126-001-002-000-000-000-000",
|
|
1163
|
+
dependent_of: "126-001-002-001-000-000-000",
|
|
1164
|
+
guardian_of: "126-001-002-002-000-000-000",
|
|
1165
|
+
in_law: "126-001-003-000-000-000-000",
|
|
1166
|
+
other_relative: "126-001-004-000-000-000-000",
|
|
1167
|
+
parent_child: "126-001-005-000-000-000-000",
|
|
1168
|
+
child_of: "126-001-005-001-000-000-000",
|
|
1169
|
+
parent_of: "126-001-005-002-000-000-000",
|
|
1170
|
+
sibling: "126-001-006-000-000-000-000",
|
|
1171
|
+
romantic_partner: "126-002-000-000-000-000-000",
|
|
1172
|
+
dating_relationship: "126-002-001-000-000-000-000",
|
|
1173
|
+
spouse_partner: "126-002-002-000-000-000-000",
|
|
1174
|
+
care_household: "126-003-000-000-000-000-000",
|
|
1175
|
+
caregiver_care_recipient: "126-003-001-000-000-000-000",
|
|
1176
|
+
care_recipient_of: "126-003-001-001-000-000-000",
|
|
1177
|
+
caregiver_of: "126-003-001-002-000-000-000",
|
|
1178
|
+
emergency_contact_support_person: "126-003-002-000-000-000-000",
|
|
1179
|
+
emergency_contact_of: "126-003-002-001-000-000-000",
|
|
1180
|
+
has_emergency_contact: "126-003-002-002-000-000-000",
|
|
1181
|
+
household_member: "126-003-003-000-000-000-000",
|
|
1182
|
+
social: "126-004-000-000-000-000-000",
|
|
1183
|
+
acquaintance: "126-004-001-000-000-000-000",
|
|
1184
|
+
friend_peer: "126-004-002-000-000-000-000",
|
|
1185
|
+
known_associate: "126-004-003-000-000-000-000",
|
|
1186
|
+
social_media_connection: "126-004-004-000-000-000-000",
|
|
1187
|
+
work_economic: "126-005-000-000-000-000-000",
|
|
1188
|
+
coworker_colleague: "126-005-001-000-000-000-000",
|
|
1189
|
+
creditor_debtor: "126-005-002-000-000-000-000",
|
|
1190
|
+
creditor_of: "126-005-002-001-000-000-000",
|
|
1191
|
+
debtor_of: "126-005-002-002-000-000-000",
|
|
1192
|
+
employer_employee: "126-005-003-000-000-000-000",
|
|
1193
|
+
employee_of: "126-005-003-001-000-000-000",
|
|
1194
|
+
employer_of: "126-005-003-002-000-000-000",
|
|
1195
|
+
landlord_tenant: "126-005-004-000-000-000-000",
|
|
1196
|
+
landlord_of: "126-005-004-001-000-000-000",
|
|
1197
|
+
tenant_of: "126-005-004-002-000-000-000",
|
|
1198
|
+
supervisor_subordinate: "126-005-005-000-000-000-000",
|
|
1199
|
+
subordinate_of: "126-005-005-001-000-000-000",
|
|
1200
|
+
supervisor_of: "126-005-005-002-000-000-000",
|
|
1201
|
+
service_system: "126-006-000-000-000-000-000",
|
|
1202
|
+
advocate_client: "126-006-001-000-000-000-000",
|
|
1203
|
+
advocate_of: "126-006-001-001-000-000-000",
|
|
1204
|
+
client_of_advocate: "126-006-001-002-000-000-000",
|
|
1205
|
+
attorney_client: "126-006-002-000-000-000-000",
|
|
1206
|
+
attorney_of: "126-006-002-001-000-000-000",
|
|
1207
|
+
client_of_attorney: "126-006-002-002-000-000-000",
|
|
1208
|
+
caseworker_client: "126-006-003-000-000-000-000",
|
|
1209
|
+
caseworker_of: "126-006-003-001-000-000-000",
|
|
1210
|
+
client_of_caseworker: "126-006-003-002-000-000-000",
|
|
1211
|
+
officer_subject: "126-006-004-000-000-000-000",
|
|
1212
|
+
officer_of: "126-006-004-001-000-000-000",
|
|
1213
|
+
subject_of_officer: "126-006-004-002-000-000-000",
|
|
1214
|
+
provider_client: "126-006-005-000-000-000-000",
|
|
1215
|
+
client_of_provider: "126-006-005-001-000-000-000",
|
|
1216
|
+
provider_of: "126-006-005-002-000-000-000",
|
|
1217
|
+
teacher_student: "126-006-006-000-000-000-000",
|
|
1218
|
+
student_of: "126-006-006-001-000-000-000",
|
|
1219
|
+
teacher_of: "126-006-006-002-000-000-000",
|
|
1220
|
+
exploitation_trafficking: "126-007-000-000-000-000-000",
|
|
1221
|
+
buyer_target_person: "126-007-001-000-000-000-000",
|
|
1222
|
+
buyer_of: "126-007-001-001-000-000-000",
|
|
1223
|
+
target_of_buyer: "126-007-001-002-000-000-000",
|
|
1224
|
+
controller_target_person: "126-007-002-000-000-000-000",
|
|
1225
|
+
controller_of: "126-007-002-001-000-000-000",
|
|
1226
|
+
target_of_controller: "126-007-002-002-000-000-000",
|
|
1227
|
+
facilitator_target_person: "126-007-003-000-000-000-000",
|
|
1228
|
+
facilitator_of: "126-007-003-001-000-000-000",
|
|
1229
|
+
target_of_facilitator: "126-007-003-002-000-000-000",
|
|
1230
|
+
recruiter_recruited_person: "126-007-004-000-000-000-000",
|
|
1231
|
+
recruited_by: "126-007-004-001-000-000-000",
|
|
1232
|
+
recruiter_of: "126-007-004-002-000-000-000",
|
|
1233
|
+
trafficker_victim: "126-007-005-000-000-000-000",
|
|
1234
|
+
trafficker_of: "126-007-005-001-000-000-000",
|
|
1235
|
+
victim_of_trafficker: "126-007-005-002-000-000-000",
|
|
1236
|
+
other_unspecified: "126-008-000-000-000-000-000",
|
|
1237
|
+
other_person_relationship: "126-008-001-000-000-000-000",
|
|
1238
|
+
person_pet: "126-008-002-000-000-000-000",
|
|
1239
|
+
pet_caregiver_of: "126-008-002-001-000-000-000",
|
|
1240
|
+
pet_of: "126-008-002-002-000-000-000",
|
|
1241
|
+
pet_owner_of: "126-008-002-003-000-000-000",
|
|
1242
|
+
relationship_unknown: "126-008-003-000-000-000-000",
|
|
1243
|
+
stranger: "126-008-004-000-000-000-000",
|
|
1244
|
+
} as const;
|
|
1245
|
+
|
|
1246
|
+
export type PersonRelationshipsKey = keyof typeof PersonRelationshipsKeys;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Key → positional code map for the `employment_status` CVC domain.
|
|
1250
|
+
*
|
|
1251
|
+
* Domain: `employment_status` · Version: 1.0.0 · Entries: 29
|
|
1252
|
+
*/
|
|
1253
|
+
export const EmploymentStatusKeys = {
|
|
1254
|
+
missingness_root: "179-000-000-000-000-000-000",
|
|
1255
|
+
unknown: "179-000-000-000-000-000-001",
|
|
1256
|
+
anonymous: "179-000-000-000-000-000-002",
|
|
1257
|
+
data_not_collected: "179-000-000-000-000-000-003",
|
|
1258
|
+
client_doesnt_know: "179-000-000-000-000-000-004",
|
|
1259
|
+
client_refused: "179-000-000-000-000-000-005",
|
|
1260
|
+
employed: "179-001-000-000-000-000-000",
|
|
1261
|
+
full_time: "179-001-001-000-000-000-000",
|
|
1262
|
+
part_time: "179-001-002-000-000-000-000",
|
|
1263
|
+
seasonal_sporadic: "179-001-003-000-000-000-000",
|
|
1264
|
+
self_employed: "179-001-004-000-000-000-000",
|
|
1265
|
+
informal_cash_gig: "179-001-005-000-000-000-000",
|
|
1266
|
+
multiple_jobs: "179-001-006-000-000-000-000",
|
|
1267
|
+
unpaid_family_worker: "179-001-007-000-000-000-000",
|
|
1268
|
+
unemployed: "179-002-000-000-000-000-000",
|
|
1269
|
+
looking_for_work: "179-002-001-000-000-000-000",
|
|
1270
|
+
actively_seeking: "179-002-002-000-000-000-000",
|
|
1271
|
+
first_time_job_seeker: "179-002-003-000-000-000-000",
|
|
1272
|
+
recently_laid_off: "179-002-004-000-000-000-000",
|
|
1273
|
+
long_term_unemployed: "179-002-005-000-000-000-000",
|
|
1274
|
+
not_in_labor_force: "179-003-000-000-000-000-000",
|
|
1275
|
+
not_looking_for_work: "179-003-001-000-000-000-000",
|
|
1276
|
+
unable_to_work: "179-003-002-000-000-000-000",
|
|
1277
|
+
student: "179-003-003-000-000-000-000",
|
|
1278
|
+
caregiver: "179-003-004-000-000-000-000",
|
|
1279
|
+
disabled: "179-003-005-000-000-000-000",
|
|
1280
|
+
retired: "179-003-006-000-000-000-000",
|
|
1281
|
+
discouraged_worker: "179-003-007-000-000-000-000",
|
|
1282
|
+
other_reason: "179-003-008-000-000-000-000",
|
|
1283
|
+
} as const;
|
|
1284
|
+
|
|
1285
|
+
export type EmploymentStatusKey = keyof typeof EmploymentStatusKeys;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Key → positional code map for the `location_type` CVC domain.
|
|
1289
|
+
*
|
|
1290
|
+
* Domain: `location_type` · Version: 1.0.0 · Entries: 17
|
|
1291
|
+
*/
|
|
1292
|
+
export const LocationTypeKeys = {
|
|
1293
|
+
missingness_root: "191-000-000-000-000-000-000",
|
|
1294
|
+
unknown: "191-000-000-000-000-000-001",
|
|
1295
|
+
anonymous: "191-000-000-000-000-000-002",
|
|
1296
|
+
data_not_collected: "191-000-000-000-000-000-003",
|
|
1297
|
+
current_residence: "191-001-000-000-000-000-000",
|
|
1298
|
+
service_delivery_location: "191-002-000-000-000-000-000",
|
|
1299
|
+
current_client_location: "191-003-000-000-000-000-000",
|
|
1300
|
+
meet_contact_location: "191-004-000-000-000-000-000",
|
|
1301
|
+
prior_residence: "191-005-000-000-000-000-000",
|
|
1302
|
+
jurisdiction_routing_location: "191-006-000-000-000-000-000",
|
|
1303
|
+
ad_location_derived: "191-007-000-000-000-000-000",
|
|
1304
|
+
travel_stop_visit: "191-008-000-000-000-000-000",
|
|
1305
|
+
work_school_business: "191-009-000-000-000-000-000",
|
|
1306
|
+
ip_derived_location: "191-010-000-000-000-000-000",
|
|
1307
|
+
program_project_location: "191-011-000-000-000-000-000",
|
|
1308
|
+
other: "191-012-000-000-000-000-000",
|
|
1309
|
+
incident: "191-013-000-000-000-000-000",
|
|
1310
|
+
} as const;
|
|
1311
|
+
|
|
1312
|
+
export type LocationTypeKey = keyof typeof LocationTypeKeys;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Key → positional code map for the `referral_entity_category` CVC domain.
|
|
1316
|
+
*
|
|
1317
|
+
* Domain: `referral_entity_category` · Version: 1.0.0 · Entries: 43
|
|
1318
|
+
*/
|
|
1319
|
+
export const ReferralEntityCategoryKeys = {
|
|
1320
|
+
missingness_root: "048-000-000-000-000-000-000",
|
|
1321
|
+
unknown: "048-000-000-000-000-000-001",
|
|
1322
|
+
anonymous: "048-000-000-000-000-000-002",
|
|
1323
|
+
data_not_collected: "048-000-000-000-000-000-003",
|
|
1324
|
+
self_referred: "048-001-000-000-000-000-000",
|
|
1325
|
+
family_guardian_friend: "048-002-000-000-000-000-000",
|
|
1326
|
+
peer: "048-003-000-000-000-000-000",
|
|
1327
|
+
other_individual: "048-004-000-000-000-000-000",
|
|
1328
|
+
housing_shelter_continuum: "048-005-000-000-000-000-000",
|
|
1329
|
+
outreach_project: "048-005-001-000-000-000-000",
|
|
1330
|
+
temporary_shelter: "048-005-002-000-000-000-000",
|
|
1331
|
+
residential_project: "048-005-003-000-000-000-000",
|
|
1332
|
+
hotlines: "048-006-000-000-000-000-000",
|
|
1333
|
+
national_hotline: "048-006-001-000-000-000-000",
|
|
1334
|
+
local_other_hotline: "048-006-002-000-000-000-000",
|
|
1335
|
+
justice_protective_systems: "048-007-000-000-000-000-000",
|
|
1336
|
+
child_welfare_cps: "048-007-001-000-000-000-000",
|
|
1337
|
+
juvenile_justice: "048-007-002-000-000-000-000",
|
|
1338
|
+
law_enforcement: "048-007-003-000-000-000-000",
|
|
1339
|
+
local_law_enforcement: "048-007-003-001-000-000-000",
|
|
1340
|
+
state_law_enforcement: "048-007-003-002-000-000-000",
|
|
1341
|
+
federal_law_enforcement: "048-007-003-003-000-000-000",
|
|
1342
|
+
tribal_law_enforcement: "048-007-003-004-000-000-000",
|
|
1343
|
+
other_law_enforcement: "048-007-003-005-000-000-000",
|
|
1344
|
+
courts_prosecution: "048-007-004-000-000-000-000",
|
|
1345
|
+
correction_probation: "048-007-005-000-000-000-000",
|
|
1346
|
+
health_behavioral_health: "048-008-000-000-000-000-000",
|
|
1347
|
+
inpatient_psychiatric_facility: "048-008-001-000-000-000-000",
|
|
1348
|
+
healthcare_provider: "048-008-002-000-000-000-000",
|
|
1349
|
+
education: "048-009-000-000-000-000-000",
|
|
1350
|
+
victim_community_service_providers: "048-010-000-000-000-000-000",
|
|
1351
|
+
child_advocacy_center: "048-010-001-000-000-000-000",
|
|
1352
|
+
victim_service_provider: "048-010-002-000-000-000-000",
|
|
1353
|
+
community_based_service_provider: "048-010-003-000-000-000-000",
|
|
1354
|
+
coordination_governance: "048-011-000-000-000-000-000",
|
|
1355
|
+
mdt: "048-011-001-000-000-000-000",
|
|
1356
|
+
coalition: "048-011-002-000-000-000-000",
|
|
1357
|
+
internal: "048-012-000-000-000-000-000",
|
|
1358
|
+
own_agency_internal: "048-012-001-000-000-000-000",
|
|
1359
|
+
other_entity: "048-013-000-000-000-000-000",
|
|
1360
|
+
employer: "048-013-001-000-000-000-000",
|
|
1361
|
+
benefits_public_assistance_office: "048-013-002-000-000-000-000",
|
|
1362
|
+
other_organization: "048-013-003-000-000-000-000",
|
|
1363
|
+
} as const;
|
|
1364
|
+
|
|
1365
|
+
export type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* Key → positional code map for the `income_benefits_sources` CVC domain.
|
|
1369
|
+
*
|
|
1370
|
+
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 38
|
|
1371
|
+
*/
|
|
1372
|
+
export const IncomeBenefitsSourcesKeys = {
|
|
1373
|
+
missingness_root: "171-000-000-000-000-000-000",
|
|
1374
|
+
unknown: "171-000-000-000-000-000-001",
|
|
1375
|
+
anonymous: "171-000-000-000-000-000-002",
|
|
1376
|
+
data_not_collected: "171-000-000-000-000-000-003",
|
|
1377
|
+
prefer_not_to_answer: "171-000-000-000-000-000-004",
|
|
1378
|
+
earned_income: "171-001-000-000-000-000-000",
|
|
1379
|
+
employment: "171-001-001-000-000-000-000",
|
|
1380
|
+
cash_benefit: "171-002-000-000-000-000-000",
|
|
1381
|
+
unemployment_insurance: "171-002-001-000-000-000-000",
|
|
1382
|
+
supplemental_security_income: "171-002-002-000-000-000-000",
|
|
1383
|
+
social_security_disability_insurance: "171-002-003-000-000-000-000",
|
|
1384
|
+
va_service_connected_disability: "171-002-004-000-000-000-000",
|
|
1385
|
+
va_non_service_connected_pension: "171-002-005-000-000-000-000",
|
|
1386
|
+
private_disability_insurance: "171-002-006-000-000-000-000",
|
|
1387
|
+
workers_compensation: "171-002-007-000-000-000-000",
|
|
1388
|
+
tanf: "171-002-008-000-000-000-000",
|
|
1389
|
+
general_assistance: "171-002-009-000-000-000-000",
|
|
1390
|
+
social_security_retirement: "171-002-010-000-000-000-000",
|
|
1391
|
+
pension_or_retirement_from_former_job: "171-002-011-000-000-000-000",
|
|
1392
|
+
social_security_generic: "171-002-012-000-000-000-000",
|
|
1393
|
+
va_benefits_generic: "171-002-013-000-000-000-000",
|
|
1394
|
+
in_kind_benefit: "171-003-000-000-000-000-000",
|
|
1395
|
+
snap: "171-003-001-000-000-000-000",
|
|
1396
|
+
wic: "171-003-002-000-000-000-000",
|
|
1397
|
+
tanf_child_care: "171-003-003-000-000-000-000",
|
|
1398
|
+
tanf_transportation: "171-003-004-000-000-000-000",
|
|
1399
|
+
tanf_other_funded_services: "171-003-005-000-000-000-000",
|
|
1400
|
+
medicaid: "171-003-006-000-000-000-000",
|
|
1401
|
+
medicare: "171-003-007-000-000-000-000",
|
|
1402
|
+
housing_assistance: "171-003-008-000-000-000-000",
|
|
1403
|
+
childcare_subsidy: "171-003-009-000-000-000-000",
|
|
1404
|
+
transfer_support: "171-004-000-000-000-000-000",
|
|
1405
|
+
child_support: "171-004-001-000-000-000-000",
|
|
1406
|
+
alimony_spousal_support: "171-004-002-000-000-000-000",
|
|
1407
|
+
other_unspecified: "171-005-000-000-000-000-000",
|
|
1408
|
+
other_income: "171-005-001-000-000-000-000",
|
|
1409
|
+
other_benefit: "171-005-002-000-000-000-000",
|
|
1410
|
+
education_stipend: "171-005-003-000-000-000-000",
|
|
1411
|
+
} as const;
|
|
1412
|
+
|
|
1413
|
+
export type IncomeBenefitsSourcesKey = keyof typeof IncomeBenefitsSourcesKeys;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* Key → positional code map for the `enrollment_application_status` CVC domain.
|
|
1417
|
+
*
|
|
1418
|
+
* Domain: `enrollment_application_status` · Version: 1.0.0 · Entries: 12
|
|
1419
|
+
*/
|
|
1420
|
+
export const EnrollmentApplicationStatusKeys = {
|
|
1421
|
+
missingness_root: "175-000-000-000-000-000-000",
|
|
1422
|
+
unknown: "175-000-000-000-000-000-001",
|
|
1423
|
+
anonymous: "175-000-000-000-000-000-002",
|
|
1424
|
+
data_not_collected: "175-000-000-000-000-000-003",
|
|
1425
|
+
approved: "175-001-000-000-000-000-000",
|
|
1426
|
+
applied: "175-002-000-000-000-000-000",
|
|
1427
|
+
not_applied: "175-003-000-000-000-000-000",
|
|
1428
|
+
pending: "175-004-000-000-000-000-000",
|
|
1429
|
+
active: "175-005-000-000-000-000-000",
|
|
1430
|
+
denied: "175-006-000-000-000-000-000",
|
|
1431
|
+
closed: "175-007-000-000-000-000-000",
|
|
1432
|
+
expired: "175-008-000-000-000-000-000",
|
|
1433
|
+
} as const;
|
|
1434
|
+
|
|
1435
|
+
export type EnrollmentApplicationStatusKey = keyof typeof EnrollmentApplicationStatusKeys;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* Key → positional code map for the `administering_jurisdiction` CVC domain.
|
|
1439
|
+
*
|
|
1440
|
+
* Domain: `administering_jurisdiction` · Version: 1.0.0 · Entries: 10
|
|
1441
|
+
*/
|
|
1442
|
+
export const AdministeringJurisdictionKeys = {
|
|
1443
|
+
missingness_root: "177-000-000-000-000-000-000",
|
|
1444
|
+
unknown: "177-000-000-000-000-000-001",
|
|
1445
|
+
anonymous: "177-000-000-000-000-000-002",
|
|
1446
|
+
data_not_collected: "177-000-000-000-000-000-003",
|
|
1447
|
+
federal: "177-001-000-000-000-000-000",
|
|
1448
|
+
state: "177-002-000-000-000-000-000",
|
|
1449
|
+
county: "177-003-000-000-000-000-000",
|
|
1450
|
+
city: "177-004-000-000-000-000-000",
|
|
1451
|
+
tribal: "177-005-000-000-000-000-000",
|
|
1452
|
+
territory: "177-006-000-000-000-000-000",
|
|
1453
|
+
} as const;
|
|
1454
|
+
|
|
1455
|
+
export type AdministeringJurisdictionKey = keyof typeof AdministeringJurisdictionKeys;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Key → positional code map for the `frequency_cadence` CVC domain.
|
|
1459
|
+
*
|
|
1460
|
+
* Domain: `frequency_cadence` · Version: 1.0.0 · Entries: 11
|
|
1461
|
+
*/
|
|
1462
|
+
export const FrequencyCadenceKeys = {
|
|
1463
|
+
missingness_root: "176-000-000-000-000-000-000",
|
|
1464
|
+
unknown: "176-000-000-000-000-000-001",
|
|
1465
|
+
anonymous: "176-000-000-000-000-000-002",
|
|
1466
|
+
data_not_collected: "176-000-000-000-000-000-003",
|
|
1467
|
+
daily: "176-001-000-000-000-000-000",
|
|
1468
|
+
weekly: "176-002-000-000-000-000-000",
|
|
1469
|
+
biweekly: "176-003-000-000-000-000-000",
|
|
1470
|
+
monthly: "176-004-000-000-000-000-000",
|
|
1471
|
+
quarterly: "176-005-000-000-000-000-000",
|
|
1472
|
+
annual: "176-006-000-000-000-000-000",
|
|
1473
|
+
one_time: "176-007-000-000-000-000-000",
|
|
1474
|
+
} as const;
|
|
1475
|
+
|
|
1476
|
+
export type FrequencyCadenceKey = keyof typeof FrequencyCadenceKeys;
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* Key → positional code map for the `recency_band` CVC domain.
|
|
1480
|
+
*
|
|
1481
|
+
* Domain: `recency_band` · Version: 1.0.0 · Entries: 12
|
|
1482
|
+
*/
|
|
1483
|
+
export const RecencyBandKeys = {
|
|
1484
|
+
missingness_root: "137-000-000-000-000-000-000",
|
|
1485
|
+
unknown: "137-000-000-000-000-000-001",
|
|
1486
|
+
anonymous: "137-000-000-000-000-000-002",
|
|
1487
|
+
data_not_collected: "137-000-000-000-000-000-003",
|
|
1488
|
+
prefer_not_to_answer: "137-000-000-000-000-000-004",
|
|
1489
|
+
less_than_3_years: "137-001-000-000-000-000-000",
|
|
1490
|
+
months_3_to_6: "137-002-000-000-000-000-000",
|
|
1491
|
+
months_6_to_12: "137-003-000-000-000-000-000",
|
|
1492
|
+
one_year_or_more: "137-004-000-000-000-000-000",
|
|
1493
|
+
ten_plus_years: "137-005-000-000-000-000-000",
|
|
1494
|
+
within_3_months: "137-006-000-000-000-000-000",
|
|
1495
|
+
years_3_to_10: "137-007-000-000-000-000-000",
|
|
1496
|
+
} as const;
|
|
1497
|
+
|
|
1498
|
+
export type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Key → positional code map for the `juvenile_justice_episode_type` CVC domain.
|
|
1502
|
+
*
|
|
1503
|
+
* Domain: `juvenile_justice_episode_type` · Version: 1.0.0 · Entries: 9
|
|
1504
|
+
*/
|
|
1505
|
+
export const JuvenileJusticeEpisodeTypeKeys = {
|
|
1506
|
+
missingness_root: "197-000-000-000-000-000-000",
|
|
1507
|
+
unknown: "197-000-000-000-000-000-001",
|
|
1508
|
+
anonymous: "197-000-000-000-000-000-002",
|
|
1509
|
+
data_not_collected: "197-000-000-000-000-000-003",
|
|
1510
|
+
detention_stay: "197-001-000-000-000-000-000",
|
|
1511
|
+
diversion_program: "197-002-000-000-000-000-000",
|
|
1512
|
+
pending_adjudication: "197-003-000-000-000-000-000",
|
|
1513
|
+
probation_supervision: "197-004-000-000-000-000-000",
|
|
1514
|
+
residential_jj_placement: "197-005-000-000-000-000-000",
|
|
1515
|
+
} as const;
|
|
1516
|
+
|
|
1517
|
+
export type JuvenileJusticeEpisodeTypeKey = keyof typeof JuvenileJusticeEpisodeTypeKeys;
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* Key → positional code map for the `hmis_sex` CVC domain.
|
|
1521
|
+
*
|
|
1522
|
+
* Domain: `hmis_sex` · Version: 1.0.0 · Entries: 8
|
|
1523
|
+
*/
|
|
1524
|
+
export const HmisSexKeys = {
|
|
1525
|
+
missingness_root: "067-000-000-000-000-000-000",
|
|
1526
|
+
unknown: "067-000-000-000-000-000-001",
|
|
1527
|
+
anonymous: "067-000-000-000-000-000-002",
|
|
1528
|
+
data_not_collected: "067-000-000-000-000-000-003",
|
|
1529
|
+
client_doesn_t_know: "067-000-000-000-000-000-004",
|
|
1530
|
+
client_prefers_not_to_answer: "067-000-000-000-000-000-005",
|
|
1531
|
+
female: "067-001-000-000-000-000-000",
|
|
1532
|
+
male: "067-002-000-000-000-000-000",
|
|
1533
|
+
} as const;
|
|
1534
|
+
|
|
1535
|
+
export type HmisSexKey = keyof typeof HmisSexKeys;
|