@htilabs/platform-common-models 0.8.5 → 0.8.7

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.
@@ -1521,7 +1521,7 @@ export type SourceCategoryKey = keyof typeof SourceCategoryKeys;
1521
1521
  /**
1522
1522
  * Key → positional code map for the `source_subtype` CVC domain.
1523
1523
  *
1524
- * Domain: `source_subtype` · Version: 1.1.0 · Entries: 35
1524
+ * Domain: `source_subtype` · Version: 1.1.0 · Entries: 39
1525
1525
  */
1526
1526
  export const SourceSubtypeKeys = {
1527
1527
  missingness_root: "141-000-000-000-000-000-000",
@@ -1559,6 +1559,10 @@ export const SourceSubtypeKeys = {
1559
1559
  system_import: "141-029-000-000-000-000-000",
1560
1560
  third_party_report: "141-030-000-000-000-000-000",
1561
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",
1562
1566
  } as const;
1563
1567
 
1564
1568
  export type SourceSubtypeKey = keyof typeof SourceSubtypeKeys;
@@ -1639,7 +1643,7 @@ export type TimeScopeKey = keyof typeof TimeScopeKeys;
1639
1643
  /**
1640
1644
  * Key → positional code map for the `verification_method` CVC domain.
1641
1645
  *
1642
- * Domain: `verification_method` · Version: 1.0.0 · Entries: 9
1646
+ * Domain: `verification_method` · Version: 1.0.0 · Entries: 11
1643
1647
  */
1644
1648
  export const VerificationMethodKeys = {
1645
1649
  missingness_root: "143-000-000-000-000-000-000",
@@ -1651,6 +1655,8 @@ export const VerificationMethodKeys = {
1651
1655
  multi_source_corroboration: "143-003-000-000-000-000-000",
1652
1656
  qa_audit_passed: "143-004-000-000-000-000-000",
1653
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",
1654
1660
  } as const;
1655
1661
 
1656
1662
  export type VerificationMethodKey = keyof typeof VerificationMethodKeys;
@@ -3424,7 +3430,7 @@ export type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
3424
3430
  /**
3425
3431
  * Key → positional code map for the `ht_type` CVC domain.
3426
3432
  *
3427
- * Domain: `ht_type` · Version: 1.0.0 · Entries: 7
3433
+ * Domain: `ht_type` · Version: 1.0.0 · Entries: 8
3428
3434
  */
3429
3435
  export const HtTypeKeys = {
3430
3436
  missingness_root: "072-000-000-000-000-000-000",
@@ -3434,6 +3440,7 @@ export const HtTypeKeys = {
3434
3440
  sex: "072-001-000-000-000-000-000",
3435
3441
  labor: "072-002-000-000-000-000-000",
3436
3442
  sex_and_labor: "072-003-000-000-000-000-000",
3443
+ none: "072-004-000-000-000-000-000",
3437
3444
  } as const;
3438
3445
 
3439
3446
  export type HtTypeKey = keyof typeof HtTypeKeys;
@@ -3504,3 +3511,218 @@ export const HousingSubsidyTypesKeys = {
3504
3511
  } as const;
3505
3512
 
3506
3513
  export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
3514
+
3515
+ /**
3516
+ * Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
3517
+ *
3518
+ * Domain: `assertion_domain` · Version: 1.0.0 · Entries: 68
3519
+ */
3520
+ export const AssertionDomainKeys = {
3521
+ missingness_root: "964-000-000-000-000-000-000",
3522
+ unknown: "964-000-000-000-000-000-001",
3523
+ anonymous: "964-000-000-000-000-000-002",
3524
+ data_not_collected: "964-000-000-000-000-000-003",
3525
+ indicator: "964-001-000-000-000-000-000",
3526
+ risk_signal: "964-002-000-000-000-000-000",
3527
+ victim_status: "964-003-000-000-000-000-000",
3528
+ offender_status: "964-004-000-000-000-000-000",
3529
+ domain_determination: "964-005-000-000-000-000-000",
3530
+ victimization_or_abuse_type: "964-006-000-000-000-000-000",
3531
+ assessment_scale: "964-007-000-000-000-000-000",
3532
+ recommended_followup: "964-008-000-000-000-000-000",
3533
+ relationship: "964-009-000-000-000-000-000",
3534
+ household_relationships: "964-010-000-000-000-000-000",
3535
+ relationship_tie: "964-011-000-000-000-000-000",
3536
+ relationship_dynamics: "964-012-000-000-000-000-000",
3537
+ relationship_status_current: "964-013-000-000-000-000-000",
3538
+ marital_status_legal: "964-014-000-000-000-000-000",
3539
+ core_profile: "964-015-000-000-000-000-000",
3540
+ person_tile: "964-016-000-000-000-000-000",
3541
+ person_relationship: "964-017-000-000-000-000-000",
3542
+ relevant_people: "964-018-000-000-000-000-000",
3543
+ name: "964-019-000-000-000-000-000",
3544
+ contact_info: "964-020-000-000-000-000-000",
3545
+ address: "964-021-000-000-000-000-000",
3546
+ vehicle: "964-022-000-000-000-000-000",
3547
+ income_history: "964-023-000-000-000-000-000",
3548
+ physical_description: "964-024-000-000-000-000-000",
3549
+ living_situation: "964-025-000-000-000-000-000",
3550
+ pet: "964-026-000-000-000-000-000",
3551
+ protection_order: "964-027-000-000-000-000-000",
3552
+ log_entry: "964-028-000-000-000-000-000",
3553
+ session_note: "964-029-000-000-000-000-000",
3554
+ referral_source: "964-030-000-000-000-000-000",
3555
+ org_directory: "964-031-000-000-000-000-000",
3556
+ person_directory: "964-032-000-000-000-000-000",
3557
+ service_delivery: "964-033-000-000-000-000-000",
3558
+ needs_assessment: "964-034-000-000-000-000-000",
3559
+ priorities_and_safety: "964-035-000-000-000-000-000",
3560
+ share: "964-036-000-000-000-000-000",
3561
+ roi: "964-037-000-000-000-000-000",
3562
+ external_recipient: "964-038-000-000-000-000-000",
3563
+ access_accommodations: "964-039-000-000-000-000-000",
3564
+ danger_assessment: "964-040-000-000-000-000-000",
3565
+ hope_scale: "964-041-000-000-000-000-000",
3566
+ injury_and_strangulation: "964-042-000-000-000-000-000",
3567
+ lethality_assessment_program: "964-043-000-000-000-000-000",
3568
+ occupational_background: "964-044-000-000-000-000-000",
3569
+ household_tenure: "964-045-000-000-000-000-000",
3570
+ program_enrollment: "964-046-000-000-000-000-000",
3571
+ program_enrollment_exit_wizard: "964-047-000-000-000-000-000",
3572
+ goal: "964-048-000-000-000-000-000",
3573
+ action_step: "964-049-000-000-000-000-000",
3574
+ milestone: "964-050-000-000-000-000-000",
3575
+ check_in: "964-051-000-000-000-000-000",
3576
+ goal_signature: "964-052-000-000-000-000-000",
3577
+ subject_functional_role: "964-053-000-000-000-000-000",
3578
+ worker_subrole: "964-054-000-000-000-000-000",
3579
+ offender_status_family: "964-055-000-000-000-000-000",
3580
+ assessment_rating: "964-056-000-000-000-000-000",
3581
+ immigration_legal_status: "964-057-000-000-000-000-000",
3582
+ persons_network: "964-058-000-000-000-000-000",
3583
+ lifecycle_services: "964-059-000-000-000-000-000",
3584
+ juvenile_justice_involvement: "964-060-000-000-000-000-000",
3585
+ child_welfare_involvement: "964-061-000-000-000-000-000",
3586
+ facilitator_role: "964-062-000-000-000-000-000",
3587
+ facilitator_subrole: "964-063-000-000-000-000-000",
3588
+ facilitator_entity_type: "964-064-000-000-000-000-000",
3589
+ } as const;
3590
+
3591
+ export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
3592
+
3593
+ /**
3594
+ * Key → positional code map for the `activity_type` CVC domain (activity type; PROVISIONAL, pending Notion ratification).
3595
+ *
3596
+ * Domain: `activity_type` · Version: 1.0.0 · Entries: 14
3597
+ */
3598
+ export const ActivityTypeKeys = {
3599
+ missingness_root: "965-000-000-000-000-000-000",
3600
+ unknown: "965-000-000-000-000-000-001",
3601
+ anonymous: "965-000-000-000-000-000-002",
3602
+ data_not_collected: "965-000-000-000-000-000-003",
3603
+ resided: "965-001-000-000-000-000-000",
3604
+ sheltered: "965-002-000-000-000-000-000",
3605
+ service_delivered: "965-003-000-000-000-000-000",
3606
+ met: "965-004-000-000-000-000-000",
3607
+ advertised: "965-005-000-000-000-000-000",
3608
+ arrested: "965-006-000-000-000-000-000",
3609
+ visited: "965-007-000-000-000-000-000",
3610
+ child_welfare_visit: "965-008-000-000-000-000-000",
3611
+ incident: "965-009-000-000-000-000-000",
3612
+ other: "965-010-000-000-000-000-000",
3613
+ } as const;
3614
+
3615
+ export type ActivityTypeKey = keyof typeof ActivityTypeKeys;
3616
+
3617
+ /**
3618
+ * Key → positional code map for the `provenance_source_id` CVC domain (provenance source id; PROVISIONAL, pending Notion ratification).
3619
+ *
3620
+ * Domain: `provenance_source_id` · Version: 1.0.0 · Entries: 13
3621
+ */
3622
+ export const ProvenanceSourceIdKeys = {
3623
+ missingness_root: "966-000-000-000-000-000-000",
3624
+ unknown: "966-000-000-000-000-000-001",
3625
+ anonymous: "966-000-000-000-000-000-002",
3626
+ data_not_collected: "966-000-000-000-000-000-003",
3627
+ client_self_report: "966-001-000-000-000-000-000",
3628
+ system_derived_ads: "966-002-000-000-000-000-000",
3629
+ system_derived_geocoder: "966-003-000-000-000-000-000",
3630
+ staff_observation: "966-004-000-000-000-000-000",
3631
+ intake_form: "966-005-000-000-000-000-000",
3632
+ referral_partner: "966-006-000-000-000-000-000",
3633
+ law_enforcement: "966-007-000-000-000-000-000",
3634
+ id_document: "966-008-000-000-000-000-000",
3635
+ social_profile: "966-009-000-000-000-000-000",
3636
+ } as const;
3637
+
3638
+ export type ProvenanceSourceIdKey = keyof typeof ProvenanceSourceIdKeys;
3639
+
3640
+ /**
3641
+ * Key → positional code map for the `radius_bucket` CVC domain (search radius bucket; PROVISIONAL, pending Notion ratification).
3642
+ *
3643
+ * Domain: `radius_bucket` · Version: 1.0.0 · Entries: 9
3644
+ */
3645
+ export const RadiusBucketKeys = {
3646
+ missingness_root: "967-000-000-000-000-000-000",
3647
+ unknown: "967-000-000-000-000-000-001",
3648
+ anonymous: "967-000-000-000-000-000-002",
3649
+ data_not_collected: "967-000-000-000-000-000-003",
3650
+ 10: "967-001-000-000-000-000-000",
3651
+ 50: "967-002-000-000-000-000-000",
3652
+ 100: "967-003-000-000-000-000-000",
3653
+ 250: "967-004-000-000-000-000-000",
3654
+ 500: "967-005-000-000-000-000-000",
3655
+ } as const;
3656
+
3657
+ export type RadiusBucketKey = keyof typeof RadiusBucketKeys;
3658
+
3659
+ /**
3660
+ * Key → positional code map for the `contact_link_type` CVC domain (contact link type; PROVISIONAL, pending Notion ratification).
3661
+ *
3662
+ * Domain: `contact_link_type` · Version: 1.0.0 · Entries: 8
3663
+ */
3664
+ export const ContactLinkTypeKeys = {
3665
+ missingness_root: "968-000-000-000-000-000-000",
3666
+ unknown: "968-000-000-000-000-000-001",
3667
+ anonymous: "968-000-000-000-000-000-002",
3668
+ data_not_collected: "968-000-000-000-000-000-003",
3669
+ belongs: "968-001-000-000-000-000-000",
3670
+ associated: "968-002-000-000-000-000-000",
3671
+ advertises: "968-003-000-000-000-000-000",
3672
+ contacted: "968-004-000-000-000-000-000",
3673
+ } as const;
3674
+
3675
+ export type ContactLinkTypeKey = keyof typeof ContactLinkTypeKeys;
3676
+
3677
+ /**
3678
+ * Key → positional code map for the `suggestion_source` CVC domain (goal suggestion source; PROVISIONAL, pending Notion ratification).
3679
+ *
3680
+ * Domain: `suggestion_source` · Version: 1.0.0 · Entries: 6
3681
+ */
3682
+ export const SuggestionSourceKeys = {
3683
+ missingness_root: "969-000-000-000-000-000-000",
3684
+ unknown: "969-000-000-000-000-000-001",
3685
+ anonymous: "969-000-000-000-000-000-002",
3686
+ data_not_collected: "969-000-000-000-000-000-003",
3687
+ lap: "969-001-000-000-000-000-000",
3688
+ ps_step_4: "969-002-000-000-000-000-000",
3689
+ } as const;
3690
+
3691
+ export type SuggestionSourceKey = keyof typeof SuggestionSourceKeys;
3692
+
3693
+ /**
3694
+ * Key → positional code map for the `roi_method` CVC domain (ROI delivery method; PROVISIONAL, pending Notion ratification).
3695
+ *
3696
+ * Domain: `roi_method` · Version: 1.0.0 · Entries: 10
3697
+ */
3698
+ export const RoiMethodKeys = {
3699
+ missingness_root: "970-000-000-000-000-000-000",
3700
+ unknown: "970-000-000-000-000-000-001",
3701
+ anonymous: "970-000-000-000-000-000-002",
3702
+ data_not_collected: "970-000-000-000-000-000-003",
3703
+ thread_caseshare: "970-001-000-000-000-000-000",
3704
+ thread_magic_link: "970-002-000-000-000-000-000",
3705
+ email: "970-003-000-000-000-000-000",
3706
+ fax: "970-004-000-000-000-000-000",
3707
+ secure_portal: "970-005-000-000-000-000-000",
3708
+ in_person: "970-006-000-000-000-000-000",
3709
+ } as const;
3710
+
3711
+ export type RoiMethodKey = keyof typeof RoiMethodKeys;
3712
+
3713
+ /**
3714
+ * Key → positional code map for the `session_note_visibility` CVC domain (session-note visibility; PROVISIONAL, pending Notion ratification).
3715
+ *
3716
+ * Domain: `session_note_visibility` · Version: 1.0.0 · Entries: 7
3717
+ */
3718
+ export const SessionNoteVisibilityKeys = {
3719
+ missingness_root: "971-000-000-000-000-000-000",
3720
+ unknown: "971-000-000-000-000-000-001",
3721
+ anonymous: "971-000-000-000-000-000-002",
3722
+ data_not_collected: "971-000-000-000-000-000-003",
3723
+ default: "971-001-000-000-000-000-000",
3724
+ account: "971-002-000-000-000-000-000",
3725
+ private: "971-003-000-000-000-000-000",
3726
+ } as const;
3727
+
3728
+ export type SessionNoteVisibilityKey = keyof typeof SessionNoteVisibilityKeys;