@htilabs/platform-common-models 0.13.0 → 0.14.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/constants/index.cjs +106 -0
- 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 +98 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
- package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
- package/dist/cvcs/index.cjs +562 -120
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +589 -121
- package/dist/cvcs/index.d.ts +589 -121
- package/dist/cvcs/index.js +562 -120
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +22 -2
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +29 -9
- package/dist/enums/index.d.ts +29 -9
- package/dist/enums/index.js +22 -2
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +690 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +682 -122
- 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/{platform-auth-Dv5fu0Fh.d.cts → platform-auth-CrF5U_JH.d.cts} +113 -3
- package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-CrF5U_JH.d.ts} +113 -3
- package/dist/schemas/index.cjs +296 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -11
- package/dist/schemas/index.d.ts +11 -11
- package/dist/schemas/index.js +296 -0
- 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 +26 -27
- package/src/__sot__/coreIndicatorFields.ts +4 -4
- package/src/__sot__/coreIndicators.pin.json +62 -2
- package/src/__sot__/scoringEmits.pin.json +9 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +11 -11
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +89 -28
- package/src/__tests__/cvc-drift-gate.test.ts +165 -32
- package/src/__tests__/cvc-sot-snapshot.test.ts +21 -12
- package/src/__tests__/cvc-structural.test.ts +8 -8
- package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
- package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
- package/src/constants/ic.ts +321 -3
- package/src/cvcs/{coreIndicators.v1.0.0.json → coreIndicators.v1.1.0.json} +93 -10
- package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
- package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
- package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
- package/src/cvcs/index.ts +8 -8
- package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
- package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
- package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
- package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
- package/src/generated/cvc-enums.ts +29 -9
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
package/dist/schemas/index.cjs
CHANGED
|
@@ -963,12 +963,32 @@ var INCIDENT_PARTICIPATION_ROLE = {
|
|
|
963
963
|
REPORTER: "reporter",
|
|
964
964
|
FAMILY_MEMBER_OR_GUARDIAN: "family_member_or_guardian",
|
|
965
965
|
FRIEND_OR_PEER: "friend_or_peer",
|
|
966
|
+
/** @deprecated Superseded by `VSP_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
966
967
|
SERVICE_PROVIDER_STAFF: "service_provider_staff",
|
|
968
|
+
/** @deprecated Superseded by `HEALTHCARE_PROVIDER_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
967
969
|
MEDICAL_PROVIDER_STAFF: "medical_provider_staff",
|
|
970
|
+
/** @deprecated Superseded by `DATA_ENTRY_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
968
971
|
DATA_ENTRY: "data_entry",
|
|
972
|
+
/** @deprecated Superseded by `OTHER_RESPONSE_PERSONNEL` (canon CVC-69, 2026-08-13). Read-only. */
|
|
969
973
|
OTHER_INCIDENT_RESPONDER: "other_incident_responder",
|
|
974
|
+
/** @deprecated Superseded by `LAW_ENFORCEMENT_PERSONNEL` (canon CVC-69, 2026-08-13). Read-only. */
|
|
970
975
|
RESPONDING_OFFICER: "responding_officer",
|
|
971
976
|
LEGAL_PROFESSIONAL: "legal_professional",
|
|
977
|
+
// Canon CVC-69 v1.0 — the five renamed codes + task_force.
|
|
978
|
+
VSP_STAFF: "vsp_staff",
|
|
979
|
+
HEALTHCARE_PROVIDER_STAFF: "healthcare_provider_staff",
|
|
980
|
+
LAW_ENFORCEMENT_PERSONNEL: "law_enforcement_personnel",
|
|
981
|
+
OTHER_RESPONSE_PERSONNEL: "other_response_personnel",
|
|
982
|
+
DATA_ENTRY_STAFF: "data_entry_staff",
|
|
983
|
+
TASK_FORCE: "task_force",
|
|
984
|
+
// Canon Level-2 sub-items (LEADS investigative wing). A sub-item implies its
|
|
985
|
+
// parent: the first four sit under LAW_ENFORCEMENT_PERSONNEL, PROSECUTOR
|
|
986
|
+
// under LEGAL_PROFESSIONAL.
|
|
987
|
+
LEAD_INVESTIGATOR: "lead_investigator",
|
|
988
|
+
INVESTIGATOR: "investigator",
|
|
989
|
+
ANALYST: "analyst",
|
|
990
|
+
LE_OFFICER: "le_officer",
|
|
991
|
+
PROSECUTOR: "prosecutor",
|
|
972
992
|
UNKNOWN: "unknown",
|
|
973
993
|
ANONYMOUS: "anonymous",
|
|
974
994
|
DATA_NOT_COLLECTED: "data_not_collected"
|
|
@@ -986,6 +1006,17 @@ var INCIDENT_PARTICIPATION_ROLE_VALUES = [
|
|
|
986
1006
|
INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
|
|
987
1007
|
INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
|
|
988
1008
|
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
1009
|
+
INCIDENT_PARTICIPATION_ROLE.VSP_STAFF,
|
|
1010
|
+
INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF,
|
|
1011
|
+
INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL,
|
|
1012
|
+
INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL,
|
|
1013
|
+
INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF,
|
|
1014
|
+
INCIDENT_PARTICIPATION_ROLE.TASK_FORCE,
|
|
1015
|
+
INCIDENT_PARTICIPATION_ROLE.LEAD_INVESTIGATOR,
|
|
1016
|
+
INCIDENT_PARTICIPATION_ROLE.INVESTIGATOR,
|
|
1017
|
+
INCIDENT_PARTICIPATION_ROLE.ANALYST,
|
|
1018
|
+
INCIDENT_PARTICIPATION_ROLE.LE_OFFICER,
|
|
1019
|
+
INCIDENT_PARTICIPATION_ROLE.PROSECUTOR,
|
|
989
1020
|
INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
|
|
990
1021
|
INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
|
|
991
1022
|
INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED
|
|
@@ -1003,6 +1034,19 @@ var INCIDENT_PARTICIPATION_ROLE_LABELS = {
|
|
|
1003
1034
|
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: "VSP or Other Incident Responder",
|
|
1004
1035
|
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
|
|
1005
1036
|
[INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
|
|
1037
|
+
// Added in v1.1.0: the canon codebook `Acceptable name`, verbatim.
|
|
1038
|
+
[INCIDENT_PARTICIPATION_ROLE.VSP_STAFF]: "Victim Service provider staff",
|
|
1039
|
+
[INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF]: "Healthcare provider staff",
|
|
1040
|
+
[INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL]: "Law enforcement personnel",
|
|
1041
|
+
[INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL]: "Other Response Personnel",
|
|
1042
|
+
[INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF]: "Data Entry / Editor",
|
|
1043
|
+
[INCIDENT_PARTICIPATION_ROLE.TASK_FORCE]: "Task Force Partner",
|
|
1044
|
+
[INCIDENT_PARTICIPATION_ROLE.LEAD_INVESTIGATOR]: "Lead Investigator",
|
|
1045
|
+
[INCIDENT_PARTICIPATION_ROLE.INVESTIGATOR]: "Investigator / Detective",
|
|
1046
|
+
[INCIDENT_PARTICIPATION_ROLE.ANALYST]: "Analyst",
|
|
1047
|
+
[INCIDENT_PARTICIPATION_ROLE.LE_OFFICER]: "LE Officer",
|
|
1048
|
+
[INCIDENT_PARTICIPATION_ROLE.PROSECUTOR]: "Prosecutor",
|
|
1049
|
+
// Level 0, as 0.13.0 shipped them (canon: Unknown / Anonymous / Data not collected).
|
|
1006
1050
|
[INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
|
|
1007
1051
|
[INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
|
|
1008
1052
|
[INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected"
|
|
@@ -1029,6 +1073,24 @@ var CALLER_IS_VICTIM_ROLES = [
|
|
|
1029
1073
|
INCIDENT_PARTICIPATION_ROLE.CALLER_SELF,
|
|
1030
1074
|
INCIDENT_PARTICIPATION_ROLE.REPORTER
|
|
1031
1075
|
];
|
|
1076
|
+
var INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY = {
|
|
1077
|
+
[INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF]: INCIDENT_PARTICIPATION_ROLE.VSP_STAFF,
|
|
1078
|
+
[INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF]: INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF,
|
|
1079
|
+
[INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY]: INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF,
|
|
1080
|
+
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL,
|
|
1081
|
+
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL
|
|
1082
|
+
};
|
|
1083
|
+
function isDeprecatedIncidentParticipationRole(role) {
|
|
1084
|
+
return typeof role === "string" && Object.prototype.hasOwnProperty.call(
|
|
1085
|
+
INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY,
|
|
1086
|
+
role
|
|
1087
|
+
);
|
|
1088
|
+
}
|
|
1089
|
+
var ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES = Object.freeze(
|
|
1090
|
+
INCIDENT_PARTICIPATION_ROLE_VALUES.filter(
|
|
1091
|
+
(role) => !isDeprecatedIncidentParticipationRole(role)
|
|
1092
|
+
)
|
|
1093
|
+
);
|
|
1032
1094
|
var PERSON_DISPLAY_CATEGORY = {
|
|
1033
1095
|
PRIMARY_VICTIM: "primary_victim",
|
|
1034
1096
|
ELIGIBLE_FAMILY: "eligible_family",
|
|
@@ -3445,6 +3507,240 @@ var CVC_136_OPTIONS = Object.entries(
|
|
|
3445
3507
|
category,
|
|
3446
3508
|
categoryLabel: CVC_136_CATEGORY_LABELS[category]
|
|
3447
3509
|
}));
|
|
3510
|
+
var CVC_136_CORE_INDICATOR_VALUES = [
|
|
3511
|
+
"abuser_evading_legal_consequences",
|
|
3512
|
+
"abuser_has_weapon",
|
|
3513
|
+
"abuser_substance_use",
|
|
3514
|
+
"abuser_threatened_suicide",
|
|
3515
|
+
"abuser_unemployed",
|
|
3516
|
+
"access_to_vulnerable_individuals",
|
|
3517
|
+
"acknowledgement_or_report_of_human_trafficking",
|
|
3518
|
+
"active_protective_order",
|
|
3519
|
+
"ads_available_247",
|
|
3520
|
+
"ads_imply_multiple_workers",
|
|
3521
|
+
"ads_prost_slang",
|
|
3522
|
+
"adverse_childhood_household_challenges",
|
|
3523
|
+
"advertised_new_to_area",
|
|
3524
|
+
"appears_controlling_relationship",
|
|
3525
|
+
"appears_turned_out_or_trained_ad_patterns",
|
|
3526
|
+
"association_commercial_sex",
|
|
3527
|
+
"atypical_or_high_risk_payment_method",
|
|
3528
|
+
"autonomy_access_healthcare_without_fear",
|
|
3529
|
+
"autonomy_choice_in_clients",
|
|
3530
|
+
"autonomy_choice_in_services",
|
|
3531
|
+
"autonomy_controls_own_docs",
|
|
3532
|
+
"autonomy_controls_own_finances",
|
|
3533
|
+
"autonomy_organizes_own_travel",
|
|
3534
|
+
"autonomy_posts_own_ads",
|
|
3535
|
+
"autonomy_sets_own_schedule",
|
|
3536
|
+
"autonomy_sets_up_own_dates",
|
|
3537
|
+
"battered_while_pregnant_history",
|
|
3538
|
+
"branding_or_unusual_tattoos_tied_to_control",
|
|
3539
|
+
"cannot_stop_working_or_freely_leave",
|
|
3540
|
+
"child_not_abusers_in_household",
|
|
3541
|
+
"child_welfare_system_involvement",
|
|
3542
|
+
"clients_unaware_of_third_party_coordination",
|
|
3543
|
+
"coerced_to_misrepresent_identity_or_activity",
|
|
3544
|
+
"coercive_debt_pressure",
|
|
3545
|
+
"coercive_debt_pressure_youth",
|
|
3546
|
+
"coercive_migration_or_forced_travel",
|
|
3547
|
+
"cognitive_or_functional_impairment_affecting_consent",
|
|
3548
|
+
"commercial_sex_association_words_or_places",
|
|
3549
|
+
"concerning_mannerisms_anxious_fearful_depressed",
|
|
3550
|
+
"concerning_sexual_behavior_pattern",
|
|
3551
|
+
"constraints_due_to_legal_status",
|
|
3552
|
+
"control_quota_required",
|
|
3553
|
+
"cs_activity_criminal_org_connection",
|
|
3554
|
+
"cs_industry_related_criminal_history",
|
|
3555
|
+
"current_injuries_from_abuser",
|
|
3556
|
+
"current_mental_health_services",
|
|
3557
|
+
"currently_minor_in_commercial_sex",
|
|
3558
|
+
"dangerous_services_no_protection",
|
|
3559
|
+
"dangerous_services_requires_protection",
|
|
3560
|
+
"dangerous_services_willing_anything",
|
|
3561
|
+
"debt_terms_deceptive",
|
|
3562
|
+
"debt_terms_deceptive_youth",
|
|
3563
|
+
"denied_basic_needs",
|
|
3564
|
+
"depends_on_employer_for_immigration_status",
|
|
3565
|
+
"depends_on_spouse_or_family_for_immigration_status",
|
|
3566
|
+
"disclosed_fear_at_intake",
|
|
3567
|
+
"does_not_control_finances_or_earnings",
|
|
3568
|
+
"does_not_control_housing",
|
|
3569
|
+
"does_not_control_identity_documents",
|
|
3570
|
+
"elevated_lethality_risk_signal",
|
|
3571
|
+
"employer_keeps_pay_or_pays_less_than_expected",
|
|
3572
|
+
"engages_in_commercial_sex_act",
|
|
3573
|
+
"entered_commercial_sex_industry_as_minor",
|
|
3574
|
+
"entered_cs_due_to_survival_needs",
|
|
3575
|
+
"entered_into_network_of_sex_providers_early",
|
|
3576
|
+
"exploitative_pricing_tier_low",
|
|
3577
|
+
"exploitative_working_conditions",
|
|
3578
|
+
"fled_conflict_violence_or_persecution",
|
|
3579
|
+
"forced_to_commit_crimes",
|
|
3580
|
+
"forced_to_use_false_documents",
|
|
3581
|
+
"foreign_born_or_recently_arrived",
|
|
3582
|
+
"foreign_born_risk_factors",
|
|
3583
|
+
"frequent_changes_in_residence",
|
|
3584
|
+
"frequent_travel_or_location_changes",
|
|
3585
|
+
"frequently_at_hotels_or_many_hotel_keys",
|
|
3586
|
+
"harmful_coping_behaviors",
|
|
3587
|
+
"has_ads_on_commercial_sex_site",
|
|
3588
|
+
"has_facilitators_involved",
|
|
3589
|
+
"has_management_or_representation",
|
|
3590
|
+
"has_no_personal_items_or_possessions",
|
|
3591
|
+
"head_injury_history",
|
|
3592
|
+
"head_injury_loss_of_consciousness",
|
|
3593
|
+
"health_related_vulnerability",
|
|
3594
|
+
"hierarchical_management_structure_identified",
|
|
3595
|
+
"high_risk_sexual_behavior",
|
|
3596
|
+
"high_security_measures_at_work_or_living_location",
|
|
3597
|
+
"highly_irregular_school_attendance",
|
|
3598
|
+
"history_emotional_abuse",
|
|
3599
|
+
"history_of_head_injury",
|
|
3600
|
+
"history_of_mental_health_issues",
|
|
3601
|
+
"history_of_running_away_or_missing_from_care",
|
|
3602
|
+
"history_of_strangulation",
|
|
3603
|
+
"history_physical_or_sexual_abuse_or_dv",
|
|
3604
|
+
"homeless_or_unstably_housed",
|
|
3605
|
+
"immigration_related_exploitation_risk",
|
|
3606
|
+
"in_commercial_sex_industry_recorded",
|
|
3607
|
+
"inability_to_account_for_self",
|
|
3608
|
+
"intimate_partner_violence_reported_to_law_enforcement",
|
|
3609
|
+
"juvenile_justice_or_child_welfare_involvement",
|
|
3610
|
+
"juvenile_justice_system_involvement",
|
|
3611
|
+
"labor_services_activity_recorded",
|
|
3612
|
+
"lgbtq_individual",
|
|
3613
|
+
"limited_english_proficiency",
|
|
3614
|
+
"limited_independence",
|
|
3615
|
+
"lives_or_sleeps_at_place_of_work",
|
|
3616
|
+
"living_with_abuser",
|
|
3617
|
+
"macro_level_economic_duress_entry_exit",
|
|
3618
|
+
"meets_or_has_sex_with_internet_contacts",
|
|
3619
|
+
"monitored_or_isolated_by_controlling_party",
|
|
3620
|
+
"much_older_intimate_partner",
|
|
3621
|
+
"nervous_about_immigration_documentation",
|
|
3622
|
+
"network_aggregate_risk_score_high",
|
|
3623
|
+
"network_multiple_sex_providers_named",
|
|
3624
|
+
"network_stable_size_large",
|
|
3625
|
+
"network_trafficker_present",
|
|
3626
|
+
"network_violent_person_present",
|
|
3627
|
+
"new_to_commercial_sex_industry",
|
|
3628
|
+
"non_consensual_photography_or_recording",
|
|
3629
|
+
"not_in_control_of_immigration_documentation",
|
|
3630
|
+
"oppressive_home_life",
|
|
3631
|
+
"other_instability_or_vulnerability_factors",
|
|
3632
|
+
"owes_money_and_cannot_pay_off",
|
|
3633
|
+
"paid_or_owes_fee_to_arrange_travel_to_us",
|
|
3634
|
+
"paid_or_owes_recruitment_fee_to_employer",
|
|
3635
|
+
"parent_or_guardian_of_minor_subject_named",
|
|
3636
|
+
"past_phases_prior_trafficking_or_risk",
|
|
3637
|
+
"payment_routed_through_third_party",
|
|
3638
|
+
"pending_federal_protection",
|
|
3639
|
+
"performing_different_work_than_promised",
|
|
3640
|
+
"physical_violence_increasing",
|
|
3641
|
+
"poverty_or_severe_financial_strain",
|
|
3642
|
+
"precarious_immigration_status",
|
|
3643
|
+
"pressured_or_forced_sex_act",
|
|
3644
|
+
"prior_medical_attention_from_abuse",
|
|
3645
|
+
"prior_tvap_disconnection",
|
|
3646
|
+
"prior_victimization_or_abuse_history",
|
|
3647
|
+
"promise_of_work_different_than_current_work",
|
|
3648
|
+
"received_things_of_value_while_missing_from_care",
|
|
3649
|
+
"recent_le_engagement",
|
|
3650
|
+
"recent_separation",
|
|
3651
|
+
"recruited_by_third_party_into_cs_industry",
|
|
3652
|
+
"regular_alcohol_use",
|
|
3653
|
+
"relies_on_temporary_resources_for_basic_needs",
|
|
3654
|
+
"reports_physical_harm_by_employer_or_partner",
|
|
3655
|
+
"reports_physical_harm_to_others_by_employer_or_partner",
|
|
3656
|
+
"restrictive_living_or_working_conditions",
|
|
3657
|
+
"restrictive_or_not_understood_contract",
|
|
3658
|
+
"risk_factors_commercial_sex",
|
|
3659
|
+
"serious_substance_use_or_introduced_to_drugs",
|
|
3660
|
+
"several_cell_phones_or_frequent_number_changes",
|
|
3661
|
+
"sex_acts_in_own_residence",
|
|
3662
|
+
"sexual_exploitation",
|
|
3663
|
+
"sexualized_content_in_person_performance_activity",
|
|
3664
|
+
"sexualized_content_online_performance_activity",
|
|
3665
|
+
"sexualized_content_performance_activity",
|
|
3666
|
+
"shared_contact_network",
|
|
3667
|
+
"signs_of_physical_abuse_confinement_or_neglect",
|
|
3668
|
+
"signs_of_physical_harm_or_abuse",
|
|
3669
|
+
"sleep_disturbance",
|
|
3670
|
+
"social_isolation_or_no_supportive_relationships",
|
|
3671
|
+
"stalking_property_intrusion",
|
|
3672
|
+
"stalking_surveillance",
|
|
3673
|
+
"stalking_unwanted_contact",
|
|
3674
|
+
"strangulation_acute_symptoms",
|
|
3675
|
+
"strangulation_choking_assault_detail",
|
|
3676
|
+
"strangulation_loss_of_consciousness",
|
|
3677
|
+
"strangulation_repeated",
|
|
3678
|
+
"subject_affiliated_org_trafficking_activity",
|
|
3679
|
+
"subject_arrested_dv_sv_cs",
|
|
3680
|
+
"subject_gang_org_affiliation",
|
|
3681
|
+
"subject_has_illegal_weapons",
|
|
3682
|
+
"subject_is_sex_offender",
|
|
3683
|
+
"subject_legally_barred_weapons",
|
|
3684
|
+
"subject_perpetrated_abuse_history",
|
|
3685
|
+
"subject_perpetrated_emotional_stalking_current",
|
|
3686
|
+
"subject_perpetrated_emotional_stalking_past",
|
|
3687
|
+
"subject_perpetrated_ipv_current",
|
|
3688
|
+
"subject_perpetrated_ipv_past",
|
|
3689
|
+
"subject_perpetrated_physical_abuse_current",
|
|
3690
|
+
"subject_perpetrated_physical_abuse_past",
|
|
3691
|
+
"subject_perpetrated_sexual_abuse_current",
|
|
3692
|
+
"subject_perpetrated_sexual_abuse_past",
|
|
3693
|
+
"subject_violent_felony",
|
|
3694
|
+
"substance_use_while_working",
|
|
3695
|
+
"suicidal_ideation_history",
|
|
3696
|
+
"suicidal_ideation_recent",
|
|
3697
|
+
"suicide_attempt_history",
|
|
3698
|
+
"survival_sex",
|
|
3699
|
+
"third_party_advertises_or_posts_for_person",
|
|
3700
|
+
"third_party_arranged_commercial_sex_acts",
|
|
3701
|
+
"threats_by_employer_or_partner",
|
|
3702
|
+
"threats_of_harm",
|
|
3703
|
+
"threats_of_legal_trouble_or_deportation",
|
|
3704
|
+
"threats_related_to_migration_debt",
|
|
3705
|
+
"threats_to_family_friends_or_close_associates",
|
|
3706
|
+
"threats_to_kill_victim_or_children",
|
|
3707
|
+
"trafficking_experience_current",
|
|
3708
|
+
"trafficking_experience_past_10plusy",
|
|
3709
|
+
"trafficking_experience_past_3to10y",
|
|
3710
|
+
"trafficking_experience_past_lt3y",
|
|
3711
|
+
"trauma_perpetrator_is_current_manager",
|
|
3712
|
+
"travel_organized_by_third_party",
|
|
3713
|
+
"tricked_or_pressured_into_unwanted_acts",
|
|
3714
|
+
"unable_to_speak_freely",
|
|
3715
|
+
"under_18_advertised_age",
|
|
3716
|
+
"under_18_appears_underage",
|
|
3717
|
+
"under_18_known_age",
|
|
3718
|
+
"unexplained_frequent_travel_or_migration",
|
|
3719
|
+
"unsafe_working_conditions_long_hours_inadequate_breaks",
|
|
3720
|
+
"unusual_cash_or_unexplained_gifts",
|
|
3721
|
+
"unusual_work_circumstances",
|
|
3722
|
+
"urgent_medical_referral_needed",
|
|
3723
|
+
"victim_believes_abuser_capable_of_killing",
|
|
3724
|
+
"victimization_history_composite",
|
|
3725
|
+
"violence_or_threats_at_work_site",
|
|
3726
|
+
"weapon_used_or_threatened_against_victim",
|
|
3727
|
+
"work_frequency_high_volume",
|
|
3728
|
+
"working_while_pregnant",
|
|
3729
|
+
"workplace_emotional_climate_of_fear",
|
|
3730
|
+
"works_across_multiple_cities_or_locations",
|
|
3731
|
+
"works_for_little_or_no_pay",
|
|
3732
|
+
"youth_watched_filmed_or_photographed_sexually_explicit"
|
|
3733
|
+
];
|
|
3734
|
+
var CVC_136_CORE_INDICATOR_SUPERSEDED_BY = {
|
|
3735
|
+
coercive_debt_pressure_youth: "coercive_debt_pressure",
|
|
3736
|
+
debt_terms_deceptive_youth: "debt_terms_deceptive"
|
|
3737
|
+
};
|
|
3738
|
+
function isDeprecatedCoreIndicator(code) {
|
|
3739
|
+
return typeof code === "string" && Object.prototype.hasOwnProperty.call(CVC_136_CORE_INDICATOR_SUPERSEDED_BY, code);
|
|
3740
|
+
}
|
|
3741
|
+
var ACTIVE_CVC_136_CORE_INDICATOR_VALUES = CVC_136_CORE_INDICATOR_VALUES.filter(
|
|
3742
|
+
(v) => !isDeprecatedCoreIndicator(v)
|
|
3743
|
+
);
|
|
3448
3744
|
var CVC_67_HMIS_SEX = {
|
|
3449
3745
|
MALE: "male",
|
|
3450
3746
|
FEMALE: "female",
|