@htilabs/platform-common-models 0.9.0 → 0.12.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/dist/config/index.cjs +4 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +16 -1
- package/dist/config/index.d.ts +16 -1
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +473 -182
- 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 +470 -170
- package/dist/constants/index.js.map +1 -1
- package/dist/cvc-Cp4uWnAa.d.cts +298 -0
- package/dist/cvc-Cp4uWnAa.d.ts +298 -0
- package/dist/cvcs/index.cjs +21798 -811
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +25138 -2212
- package/dist/cvcs/index.d.ts +25138 -2212
- package/dist/cvcs/index.js +21736 -810
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +4557 -0
- package/dist/enums/index.cjs.map +1 -0
- package/dist/enums/index.d.cts +5257 -0
- package/dist/enums/index.d.ts +5257 -0
- package/dist/enums/index.js +4354 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/index.cjs +24053 -1052
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3072
- package/dist/index.d.ts +5 -3072
- package/dist/index.js +23928 -1039
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.cjs +383 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +351 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-Dv5fu0Fh.d.cts} +22 -77
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-Dv5fu0Fh.d.ts} +22 -77
- package/dist/schemas/index.cjs +30 -157
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +30 -157
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +0 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +0 -3
- package/dist/services/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +58 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +82 -283
- package/dist/validation/index.d.ts +82 -283
- package/dist/validation/index.js +57 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +18 -1
- package/src/__sot__/README.md +91 -0
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +2149 -0
- package/src/__sot__/cvcIndex.pin.json +272 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +260 -40
- package/src/__tests__/core-information-scope-invariant.test.ts +134 -0
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +328 -0
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +1036 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +191 -18
- package/src/__tests__/cvc-status-parser.test.ts +150 -0
- package/src/__tests__/cvc-structural.test.ts +70 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/config/index.ts +8 -2
- package/src/constants/ic.ts +629 -206
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/activityType.v1.0.0.json +143 -0
- package/src/cvcs/adminRoles.v1.0.0.json +153 -0
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
- package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
- package/src/cvcs/assertionDomain.v1.1.0.json +647 -0
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/carCorrectionReason.v1.0.0.json +89 -0
- package/src/cvcs/caseShareState.v1.0.0.json +62 -0
- package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2918 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +1165 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +1166 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
- package/src/cvcs/exploitationType.v1.0.0.json +106 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +55 -46
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
- package/src/cvcs/htType.v1.0.0.json +87 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +47 -37
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +138 -1
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
- package/src/cvcs/personRelationships.v1.0.0.json +67 -2
- package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
- package/src/cvcs/poStatus.v1.0.0.json +144 -0
- package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
- package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
- package/src/cvcs/recencyBand.v1.0.0.json +104 -39
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/referralOrigin.v1.0.0.json +26 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +123 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -0
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiMethod.v1.0.0.json +107 -0
- package/src/cvcs/roiScope.v1.0.0.json +296 -0
- package/src/cvcs/roiStatus.v1.0.0.json +106 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
- package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
- package/src/cvcs/serviceStates.v1.0.0.json +55 -33
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
- package/src/cvcs/sessionTemplate.v1.0.0.json +283 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/sharePurpose.v1.0.0.json +80 -12
- package/src/cvcs/smtType.v1.0.0.json +40 -40
- package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
- package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +36 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/cvcs/subjectType.v1.0.0.json +80 -0
- package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
- package/src/cvcs/whyNots.v1.0.0.json +385 -0
- package/src/generated/cvc-enums.ts +2318 -10
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/services/cvcRegistryService.ts +1 -1
- package/src/validation/cvcStatus.ts +209 -0
- package/src/validation/index.ts +1 -0
package/src/constants/ic.ts
CHANGED
|
@@ -701,13 +701,27 @@ export const IC_56_SERVICE_DELIVERY_CHANNEL = {
|
|
|
701
701
|
PHONE: 3,
|
|
702
702
|
EMAIL_TEXT_CHAT: 4,
|
|
703
703
|
VIRTUAL: 5,
|
|
704
|
+
// PROVISIONAL — group delivery channels surfaced by the Thread canonical
|
|
705
|
+
// "How was the service delivered?" picker. Authored ahead of codebook /
|
|
706
|
+
// Notion ratification; flagged provisional pending SOT sign-off.
|
|
707
|
+
GROUP_IN_PERSON: 6,
|
|
708
|
+
GROUP_REMOTE: 7,
|
|
704
709
|
} as const;
|
|
705
710
|
|
|
706
711
|
export type IC56Value =
|
|
707
712
|
(typeof IC_56_SERVICE_DELIVERY_CHANNEL)[keyof typeof IC_56_SERVICE_DELIVERY_CHANNEL];
|
|
708
713
|
|
|
709
|
-
/** Level 1 values only (excludes missingness codes). */
|
|
710
|
-
export type IC56ChannelValue = 1 | 2 | 3 | 4 | 5;
|
|
714
|
+
/** Level 1 values only (excludes missingness codes). 6/7 are PROVISIONAL. */
|
|
715
|
+
export type IC56ChannelValue = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* PROVISIONAL IC-56 channel values pending codebook ratification.
|
|
719
|
+
* Consumers may gate on this set to surface a "draft" affordance.
|
|
720
|
+
*/
|
|
721
|
+
export const IC_56_PROVISIONAL_CHANNELS: ReadonlySet<number> = new Set([
|
|
722
|
+
IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON,
|
|
723
|
+
IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE,
|
|
724
|
+
]);
|
|
711
725
|
|
|
712
726
|
export const IC_56_LABELS: Record<IC56Value, string> = {
|
|
713
727
|
[IC_56_SERVICE_DELIVERY_CHANNEL.DATA_NOT_COLLECTED]: "Data Not Collected",
|
|
@@ -718,6 +732,8 @@ export const IC_56_LABELS: Record<IC56Value, string> = {
|
|
|
718
732
|
[IC_56_SERVICE_DELIVERY_CHANNEL.PHONE]: "Phone",
|
|
719
733
|
[IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT]: "Email / Text / Chat",
|
|
720
734
|
[IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual",
|
|
735
|
+
[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON]: "Group (in-person)",
|
|
736
|
+
[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE]: "Group (remote)",
|
|
721
737
|
};
|
|
722
738
|
|
|
723
739
|
export const IC_56_DESCRIPTIONS: Record<IC56Value, string> = {
|
|
@@ -734,6 +750,10 @@ export const IC_56_DESCRIPTIONS: Record<IC56Value, string> = {
|
|
|
734
750
|
[IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT]:
|
|
735
751
|
"Email, text message, or chat",
|
|
736
752
|
[IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL]: "Virtual / video call",
|
|
753
|
+
[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON]:
|
|
754
|
+
"Group session delivered in person (support group, class, workshop)",
|
|
755
|
+
[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE]:
|
|
756
|
+
"Group session delivered remotely (virtual support group, webinar)",
|
|
737
757
|
};
|
|
738
758
|
|
|
739
759
|
/**
|
|
@@ -751,7 +771,7 @@ export function isIC56Missingness(code: number): boolean {
|
|
|
751
771
|
* @returns True if the code represents an actual delivery channel
|
|
752
772
|
*/
|
|
753
773
|
export function isIC56ValidChannel(code: number): code is IC56ChannelValue {
|
|
754
|
-
return code >= 1 && code <=
|
|
774
|
+
return code >= 1 && code <= 7;
|
|
755
775
|
}
|
|
756
776
|
|
|
757
777
|
/** Options array for dropdown/radio components (Level 1 only). */
|
|
@@ -776,6 +796,14 @@ export const IC_56_OPTIONS = [
|
|
|
776
796
|
value: IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL,
|
|
777
797
|
label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.VIRTUAL],
|
|
778
798
|
},
|
|
799
|
+
{
|
|
800
|
+
value: IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON,
|
|
801
|
+
label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_IN_PERSON],
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
value: IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE,
|
|
805
|
+
label: IC_56_LABELS[IC_56_SERVICE_DELIVERY_CHANNEL.GROUP_REMOTE],
|
|
806
|
+
},
|
|
779
807
|
] as const;
|
|
780
808
|
|
|
781
809
|
// ─── IC-57: Service Audience / Beneficiary ──────────────────────────
|
|
@@ -1958,6 +1986,7 @@ export const INCIDENT_PARTICIPATION_ROLE = {
|
|
|
1958
1986
|
DATA_ENTRY: "data_entry",
|
|
1959
1987
|
OTHER_INCIDENT_RESPONDER: "other_incident_responder",
|
|
1960
1988
|
RESPONDING_OFFICER: "responding_officer",
|
|
1989
|
+
LEGAL_PROFESSIONAL: "legal_professional",
|
|
1961
1990
|
UNKNOWN: "unknown",
|
|
1962
1991
|
ANONYMOUS: "anonymous",
|
|
1963
1992
|
DATA_NOT_COLLECTED: "data_not_collected",
|
|
@@ -1978,6 +2007,7 @@ export const INCIDENT_PARTICIPATION_ROLE_VALUES = [
|
|
|
1978
2007
|
INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY,
|
|
1979
2008
|
INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
|
|
1980
2009
|
INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
|
|
2010
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
1981
2011
|
INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
|
|
1982
2012
|
INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
|
|
1983
2013
|
INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED,
|
|
@@ -2002,6 +2032,7 @@ export const INCIDENT_PARTICIPATION_ROLE_LABELS: Record<
|
|
|
2002
2032
|
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]:
|
|
2003
2033
|
"VSP or Other Incident Responder",
|
|
2004
2034
|
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
|
|
2035
|
+
[INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
|
|
2005
2036
|
[INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
|
|
2006
2037
|
[INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
|
|
2007
2038
|
[INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected",
|
|
@@ -2028,6 +2059,7 @@ export const PARTICIPATION_ROLE_CATEGORIES = {
|
|
|
2028
2059
|
SYSTEM_PROFESSIONAL: [
|
|
2029
2060
|
INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF,
|
|
2030
2061
|
INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF,
|
|
2062
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
2031
2063
|
],
|
|
2032
2064
|
} as const;
|
|
2033
2065
|
|
|
@@ -2604,6 +2636,20 @@ export const CVC_122_LABELS: Record<CVC122Value, string> = {
|
|
|
2604
2636
|
|
|
2605
2637
|
// ─── CVC-181: Countries (ISO 3166-1 alpha-2) ────────────────────────
|
|
2606
2638
|
// Full list of countries using ISO 3166-1 alpha-2 codes.
|
|
2639
|
+
//
|
|
2640
|
+
// AS OF 2026-08-26 THE SOT IS `src/cvcs/countries.v1.0.0.json`, authored from the
|
|
2641
|
+
// canonical `core - countries — codebook 2.csv`. These two constants predate it and
|
|
2642
|
+
// are RETAINED for existing consumers; new code should import `CountryKeys` from
|
|
2643
|
+
// `src/generated/cvc-enums.ts` (or `countriesSot`) instead.
|
|
2644
|
+
//
|
|
2645
|
+
// The ISO SET here is exact — all 249 codes, no additions, no omissions, verified
|
|
2646
|
+
// against the codebook. `CVC_181_LABELS`, however, carries SHORT-FORM display labels
|
|
2647
|
+
// that differ from the canonical label on 16 codes: BO, CD, IR, KP, KR, LA, MK, FM,
|
|
2648
|
+
// MD, PS, SH, SY, TW, TZ, VE, VN ("Vietnam" vs "Viet Nam", "Korea, South" vs "Korea,
|
|
2649
|
+
// Republic of", …). The SOT JSON carries the canonical spelling verbatim in both
|
|
2650
|
+
// `title` and `canonicalLabel`. That divergence is display-only — nothing keys off
|
|
2651
|
+
// these strings — but it is real, and collapsing the two surfaces onto one label set
|
|
2652
|
+
// is its own decision (a visible UI change), deliberately not made here.
|
|
2607
2653
|
|
|
2608
2654
|
export const CVC_181_COUNTRIES = {
|
|
2609
2655
|
US: "US",
|
|
@@ -4611,209 +4657,25 @@ export const CVC_157_LABELS: Record<CVC157Value, string> = {
|
|
|
4611
4657
|
[CVC_157_RELATIONSHIP_STATUS.ANON]: "Anonymous/Not collected",
|
|
4612
4658
|
};
|
|
4613
4659
|
|
|
4614
|
-
// ─── CVC-158:
|
|
4615
|
-
//
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
CVC_158_CUSTODY_STATUS.UNKNOWN,
|
|
4634
|
-
] as const;
|
|
4635
|
-
|
|
4636
|
-
export const CVC_158_LABELS: Record<CVC158Value, string> = {
|
|
4637
|
-
[CVC_158_CUSTODY_STATUS.FULL]: "Full custody",
|
|
4638
|
-
[CVC_158_CUSTODY_STATUS.SHARED]: "Shared custody",
|
|
4639
|
-
[CVC_158_CUSTODY_STATUS.NONE]: "No custody",
|
|
4640
|
-
[CVC_158_CUSTODY_STATUS.PENDING]: "Custody pending",
|
|
4641
|
-
[CVC_158_CUSTODY_STATUS.UNKNOWN]: "Unknown",
|
|
4642
|
-
};
|
|
4643
|
-
|
|
4644
|
-
// ─── CVC-159: Relationship Ties ─────────────────────────────────────
|
|
4645
|
-
// Structural constraints that bind two people and affect access, obligations,
|
|
4646
|
-
// safety planning, and service eligibility. Distinct from relationship dynamics
|
|
4647
|
-
// (CVC-145) which captures behavior patterns.
|
|
4648
|
-
// Multi-select attribute on a PersonRelationship record.
|
|
4649
|
-
|
|
4650
|
-
/**
|
|
4651
|
-
* CVC-159 Level 1 Categories
|
|
4652
|
-
* High-level groupings of relationship ties.
|
|
4653
|
-
*/
|
|
4654
|
-
export const CVC_159_CATEGORY = {
|
|
4655
|
-
HOUSEHOLD_LIVING: "1.1_HOUSEHOLD_LIVING",
|
|
4656
|
-
CHILD_FAMILY: "1.2_CHILD_FAMILY",
|
|
4657
|
-
LEGAL_FORMAL: "1.3_LEGAL_FORMAL",
|
|
4658
|
-
FINANCIAL_RESOURCE: "1.4_FINANCIAL_RESOURCE",
|
|
4659
|
-
ACCESS_LOGISTICS: "1.5_ACCESS_LOGISTICS",
|
|
4660
|
-
OTHER_FALLBACK: "1.6_OTHER_FALLBACK",
|
|
4661
|
-
MISSINGNESS: "0_MISSINGNESS",
|
|
4662
|
-
} as const;
|
|
4663
|
-
|
|
4664
|
-
export type CVC159Category =
|
|
4665
|
-
(typeof CVC_159_CATEGORY)[keyof typeof CVC_159_CATEGORY];
|
|
4666
|
-
|
|
4667
|
-
export const CVC_159_CATEGORY_LABELS: Record<CVC159Category, string> = {
|
|
4668
|
-
[CVC_159_CATEGORY.HOUSEHOLD_LIVING]: "Household / Living Ties",
|
|
4669
|
-
[CVC_159_CATEGORY.CHILD_FAMILY]: "Child / Family Ties",
|
|
4670
|
-
[CVC_159_CATEGORY.LEGAL_FORMAL]: "Legal / Formal Ties",
|
|
4671
|
-
[CVC_159_CATEGORY.FINANCIAL_RESOURCE]: "Financial / Resource Ties",
|
|
4672
|
-
[CVC_159_CATEGORY.ACCESS_LOGISTICS]: "Access / Logistics Ties",
|
|
4673
|
-
[CVC_159_CATEGORY.OTHER_FALLBACK]: "Other",
|
|
4674
|
-
[CVC_159_CATEGORY.MISSINGNESS]: "Missingness",
|
|
4675
|
-
};
|
|
4676
|
-
|
|
4677
|
-
/**
|
|
4678
|
-
* CVC-159 Relationship Ties codes
|
|
4679
|
-
*/
|
|
4680
|
-
export const CVC_159_RELATIONSHIP_TIES = {
|
|
4681
|
-
// Missingness (Level 0)
|
|
4682
|
-
DNC: "DNC",
|
|
4683
|
-
ANON: "ANON",
|
|
4684
|
-
UNK: "UNK",
|
|
4685
|
-
// Household / Living (1.1)
|
|
4686
|
-
COHABITATING: "COHABITATING",
|
|
4687
|
-
SHARED_CARE_ENVIRONMENT: "SHARED_CARE_ENVIRONMENT",
|
|
4688
|
-
// Child / Family (1.2)
|
|
4689
|
-
HAS_CHILDREN_TOGETHER: "HAS_CHILDREN_TOGETHER",
|
|
4690
|
-
CO_PARENTING: "CO_PARENTING",
|
|
4691
|
-
FAMILY_CARE_OBLIGATION: "FAMILY_CARE_OBLIGATION",
|
|
4692
|
-
// Legal / Formal (1.3)
|
|
4693
|
-
LEGALLY_MARRIED: "LEGALLY_MARRIED",
|
|
4694
|
-
SHARED_LEGAL_CASE_OR_ORDER: "SHARED_LEGAL_CASE_OR_ORDER",
|
|
4695
|
-
CUSTODY_OR_VISITATION_LINK: "CUSTODY_OR_VISITATION_LINK",
|
|
4696
|
-
PROTECTIVE_ORDER_LINK: "PROTECTIVE_ORDER_LINK",
|
|
4697
|
-
LEGAL_GUARDIANSHIP: "LEGAL_GUARDIANSHIP",
|
|
4698
|
-
// Financial / Resource (1.4)
|
|
4699
|
-
FINANCIAL_DEPENDENCE: "FINANCIAL_DEPENDENCE",
|
|
4700
|
-
SHARED_EMPLOYMENT_OR_INCOME_LINK: "SHARED_EMPLOYMENT_OR_INCOME_LINK",
|
|
4701
|
-
SHARED_PROPERTY_OR_LEASE: "SHARED_PROPERTY_OR_LEASE",
|
|
4702
|
-
SHARED_FINANCES: "SHARED_FINANCES",
|
|
4703
|
-
// Access / Logistics (1.5)
|
|
4704
|
-
DOCUMENT_OR_ID_LINK: "DOCUMENT_OR_ID_LINK",
|
|
4705
|
-
TRANSPORTATION_DEPENDENCE: "TRANSPORTATION_DEPENDENCE",
|
|
4706
|
-
REGULAR_UNAVOIDABLE_CONTACT: "REGULAR_UNAVOIDABLE_CONTACT",
|
|
4707
|
-
COMMUNICATION_ACCESS_LINK: "COMMUNICATION_ACCESS_LINK",
|
|
4708
|
-
// Other Fallback (1.6)
|
|
4709
|
-
OTHER: "OTHER",
|
|
4710
|
-
} as const;
|
|
4711
|
-
|
|
4712
|
-
export type CVC159Value =
|
|
4713
|
-
(typeof CVC_159_RELATIONSHIP_TIES)[keyof typeof CVC_159_RELATIONSHIP_TIES];
|
|
4714
|
-
|
|
4715
|
-
export const CVC_159_VALUES = Object.values(
|
|
4716
|
-
CVC_159_RELATIONSHIP_TIES,
|
|
4717
|
-
) as readonly CVC159Value[];
|
|
4718
|
-
|
|
4719
|
-
export const CVC_159_LABELS: Record<CVC159Value, string> = {
|
|
4720
|
-
// Missingness
|
|
4721
|
-
[CVC_159_RELATIONSHIP_TIES.DNC]: "Data not collected",
|
|
4722
|
-
[CVC_159_RELATIONSHIP_TIES.ANON]: "Anonymous / declined to answer",
|
|
4723
|
-
[CVC_159_RELATIONSHIP_TIES.UNK]: "Unknown",
|
|
4724
|
-
// Household / Living
|
|
4725
|
-
[CVC_159_RELATIONSHIP_TIES.COHABITATING]: "Cohabitating",
|
|
4726
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_CARE_ENVIRONMENT]: "Shared care / supervision environment",
|
|
4727
|
-
// Child / Family
|
|
4728
|
-
[CVC_159_RELATIONSHIP_TIES.HAS_CHILDREN_TOGETHER]: "Has children together",
|
|
4729
|
-
[CVC_159_RELATIONSHIP_TIES.CO_PARENTING]: "Co-parenting",
|
|
4730
|
-
[CVC_159_RELATIONSHIP_TIES.FAMILY_CARE_OBLIGATION]: "Family-based care obligation",
|
|
4731
|
-
// Legal / Formal
|
|
4732
|
-
[CVC_159_RELATIONSHIP_TIES.LEGALLY_MARRIED]: "Legally married",
|
|
4733
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_LEGAL_CASE_OR_ORDER]: "Shared legal case or order",
|
|
4734
|
-
[CVC_159_RELATIONSHIP_TIES.CUSTODY_OR_VISITATION_LINK]: "Custody / visitation link",
|
|
4735
|
-
[CVC_159_RELATIONSHIP_TIES.PROTECTIVE_ORDER_LINK]: "Protective order link",
|
|
4736
|
-
[CVC_159_RELATIONSHIP_TIES.LEGAL_GUARDIANSHIP]: "Legal guardianship",
|
|
4737
|
-
// Financial / Resource
|
|
4738
|
-
[CVC_159_RELATIONSHIP_TIES.FINANCIAL_DEPENDENCE]: "Financial dependence",
|
|
4739
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_EMPLOYMENT_OR_INCOME_LINK]: "Shared economic activity link",
|
|
4740
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_PROPERTY_OR_LEASE]: "Shared property / lease",
|
|
4741
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_FINANCES]: "Shared finances",
|
|
4742
|
-
// Access / Logistics
|
|
4743
|
-
[CVC_159_RELATIONSHIP_TIES.DOCUMENT_OR_ID_LINK]: "Document / ID link",
|
|
4744
|
-
[CVC_159_RELATIONSHIP_TIES.TRANSPORTATION_DEPENDENCE]: "Transportation dependence",
|
|
4745
|
-
[CVC_159_RELATIONSHIP_TIES.REGULAR_UNAVOIDABLE_CONTACT]: "Regular unavoidable contact",
|
|
4746
|
-
[CVC_159_RELATIONSHIP_TIES.COMMUNICATION_ACCESS_LINK]: "Communication access link",
|
|
4747
|
-
// Other
|
|
4748
|
-
[CVC_159_RELATIONSHIP_TIES.OTHER]: "Other",
|
|
4749
|
-
};
|
|
4750
|
-
|
|
4751
|
-
/**
|
|
4752
|
-
* Maps each tie code to its L1 category.
|
|
4753
|
-
*/
|
|
4754
|
-
export const CVC_159_TYPE_TO_CATEGORY: Record<CVC159Value, CVC159Category> = {
|
|
4755
|
-
// Missingness
|
|
4756
|
-
[CVC_159_RELATIONSHIP_TIES.DNC]: CVC_159_CATEGORY.MISSINGNESS,
|
|
4757
|
-
[CVC_159_RELATIONSHIP_TIES.ANON]: CVC_159_CATEGORY.MISSINGNESS,
|
|
4758
|
-
[CVC_159_RELATIONSHIP_TIES.UNK]: CVC_159_CATEGORY.MISSINGNESS,
|
|
4759
|
-
// Household / Living
|
|
4760
|
-
[CVC_159_RELATIONSHIP_TIES.COHABITATING]: CVC_159_CATEGORY.HOUSEHOLD_LIVING,
|
|
4761
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_CARE_ENVIRONMENT]: CVC_159_CATEGORY.HOUSEHOLD_LIVING,
|
|
4762
|
-
// Child / Family
|
|
4763
|
-
[CVC_159_RELATIONSHIP_TIES.HAS_CHILDREN_TOGETHER]: CVC_159_CATEGORY.CHILD_FAMILY,
|
|
4764
|
-
[CVC_159_RELATIONSHIP_TIES.CO_PARENTING]: CVC_159_CATEGORY.CHILD_FAMILY,
|
|
4765
|
-
[CVC_159_RELATIONSHIP_TIES.FAMILY_CARE_OBLIGATION]: CVC_159_CATEGORY.CHILD_FAMILY,
|
|
4766
|
-
// Legal / Formal
|
|
4767
|
-
[CVC_159_RELATIONSHIP_TIES.LEGALLY_MARRIED]: CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4768
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_LEGAL_CASE_OR_ORDER]: CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4769
|
-
[CVC_159_RELATIONSHIP_TIES.CUSTODY_OR_VISITATION_LINK]: CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4770
|
-
[CVC_159_RELATIONSHIP_TIES.PROTECTIVE_ORDER_LINK]: CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4771
|
-
[CVC_159_RELATIONSHIP_TIES.LEGAL_GUARDIANSHIP]: CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4772
|
-
// Financial / Resource
|
|
4773
|
-
[CVC_159_RELATIONSHIP_TIES.FINANCIAL_DEPENDENCE]: CVC_159_CATEGORY.FINANCIAL_RESOURCE,
|
|
4774
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_EMPLOYMENT_OR_INCOME_LINK]: CVC_159_CATEGORY.FINANCIAL_RESOURCE,
|
|
4775
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_PROPERTY_OR_LEASE]: CVC_159_CATEGORY.FINANCIAL_RESOURCE,
|
|
4776
|
-
[CVC_159_RELATIONSHIP_TIES.SHARED_FINANCES]: CVC_159_CATEGORY.FINANCIAL_RESOURCE,
|
|
4777
|
-
// Access / Logistics
|
|
4778
|
-
[CVC_159_RELATIONSHIP_TIES.DOCUMENT_OR_ID_LINK]: CVC_159_CATEGORY.ACCESS_LOGISTICS,
|
|
4779
|
-
[CVC_159_RELATIONSHIP_TIES.TRANSPORTATION_DEPENDENCE]: CVC_159_CATEGORY.ACCESS_LOGISTICS,
|
|
4780
|
-
[CVC_159_RELATIONSHIP_TIES.REGULAR_UNAVOIDABLE_CONTACT]: CVC_159_CATEGORY.ACCESS_LOGISTICS,
|
|
4781
|
-
[CVC_159_RELATIONSHIP_TIES.COMMUNICATION_ACCESS_LINK]: CVC_159_CATEGORY.ACCESS_LOGISTICS,
|
|
4782
|
-
// Other
|
|
4783
|
-
[CVC_159_RELATIONSHIP_TIES.OTHER]: CVC_159_CATEGORY.OTHER_FALLBACK,
|
|
4784
|
-
};
|
|
4785
|
-
|
|
4786
|
-
/** UI option type for grouped dropdowns */
|
|
4787
|
-
export interface CVC159Option {
|
|
4788
|
-
value: CVC159Value;
|
|
4789
|
-
label: string;
|
|
4790
|
-
category: CVC159Category;
|
|
4791
|
-
categoryLabel: string;
|
|
4792
|
-
}
|
|
4793
|
-
|
|
4794
|
-
/** Generate options array grouped by category */
|
|
4795
|
-
export const CVC_159_OPTIONS: readonly CVC159Option[] = Object.entries(
|
|
4796
|
-
CVC_159_TYPE_TO_CATEGORY,
|
|
4797
|
-
).map(([value, category]) => ({
|
|
4798
|
-
value: value as CVC159Value,
|
|
4799
|
-
label: CVC_159_LABELS[value as CVC159Value],
|
|
4800
|
-
category,
|
|
4801
|
-
categoryLabel: CVC_159_CATEGORY_LABELS[category],
|
|
4802
|
-
}));
|
|
4803
|
-
|
|
4804
|
-
/** Get selectable options (excludes missingness for most UIs) */
|
|
4805
|
-
export const CVC_159_SELECTABLE_OPTIONS: readonly CVC159Option[] =
|
|
4806
|
-
CVC_159_OPTIONS.filter((opt) => opt.category !== CVC_159_CATEGORY.MISSINGNESS);
|
|
4807
|
-
|
|
4808
|
-
/** Category display order for UI */
|
|
4809
|
-
export const CVC_159_CATEGORY_ORDER: readonly CVC159Category[] = [
|
|
4810
|
-
CVC_159_CATEGORY.HOUSEHOLD_LIVING,
|
|
4811
|
-
CVC_159_CATEGORY.CHILD_FAMILY,
|
|
4812
|
-
CVC_159_CATEGORY.LEGAL_FORMAL,
|
|
4813
|
-
CVC_159_CATEGORY.FINANCIAL_RESOURCE,
|
|
4814
|
-
CVC_159_CATEGORY.ACCESS_LOGISTICS,
|
|
4815
|
-
CVC_159_CATEGORY.OTHER_FALLBACK,
|
|
4816
|
-
];
|
|
4660
|
+
// ─── CVC-158 / CVC-159: hand-coded exports REMOVED in 0.8.13 ────────
|
|
4661
|
+
// `CVC_158_CUSTODY_STATUS` (+ CVC_158_VALUES / _LABELS / CVC158Value) and the
|
|
4662
|
+
// `CVC_159_RELATIONSHIP_TIES` family (+ CVC_159_CATEGORY / _CATEGORY_LABELS /
|
|
4663
|
+
// _CATEGORY_ORDER / _VALUES / _LABELS / _TYPE_TO_CATEGORY / _OPTIONS /
|
|
4664
|
+
// _SELECTABLE_OPTIONS / CVC159Value / CVC159Category / CVC159Option) were
|
|
4665
|
+
// deleted here. Every one was verified to have ZERO importers across the repo
|
|
4666
|
+
// and all consumer trees before removal.
|
|
4667
|
+
//
|
|
4668
|
+
// WHY: they held the WRONG numbers and blocked the canonical ones.
|
|
4669
|
+
// - The only BOUND relationship-ties surface is the SOT JSON
|
|
4670
|
+
// `RelationshipTiesKeys` at CVC-158 (`src/cvcs/relationshipTies.v1.0.0.json`),
|
|
4671
|
+
// bound by PAVE and Thread - and live's Final CVC-158 is
|
|
4672
|
+
// `core - relationship ties` (Ready for dev, Verified). 158 is correct there.
|
|
4673
|
+
// - Live's Final CVC-159 is `core - assertion_domain` (Ready for dev, Verified,
|
|
4674
|
+
// corroborated by 17 `core_assertion_domain_extensions_*.yaml`). Deleting the
|
|
4675
|
+
// hand-coded CVC_159_* family FREES 159, and `assertion_domain` is renumbered
|
|
4676
|
+
// 964 -> 159 in this release (`src/cvcs/assertionDomain.v1.1.0.json`).
|
|
4677
|
+
// - Custody has no canonical number upstream; it survives as the provisional
|
|
4678
|
+
// `child_custody_arrangement` (CVC-910).
|
|
4817
4679
|
|
|
4818
4680
|
// ─── CVC-126: Person Relationships ─────────────────────────────────
|
|
4819
4681
|
// Standard person-to-person relationship types with L1 category groupings.
|
|
@@ -5401,6 +5263,567 @@ export const CVC_136_OPTIONS: readonly CVC136Option[] = Object.entries(
|
|
|
5401
5263
|
categoryLabel: CVC_136_CATEGORY_LABELS[category],
|
|
5402
5264
|
}));
|
|
5403
5265
|
|
|
5266
|
+
// ─── CVC-136: full core-indicators value set (CANONICAL, 216 codes) ─────
|
|
5267
|
+
// The complete CVC-136 'core - indicators' vocabulary. As of 0.8.13 the
|
|
5268
|
+
// AUTHORITATIVE surface for this domain is the SOT JSON
|
|
5269
|
+
// `src/cvcs/coreIndicators.v1.0.0.json` (220 entries = 216 substantive + the
|
|
5270
|
+
// missingness quadruplet), which also carries the canonical `family`,
|
|
5271
|
+
// `polarity`, `severity`, `isAlert` and `alertWhen` entry attributes. This
|
|
5272
|
+
// hand-coded array is kept in lockstep with that JSON as a flat key list for
|
|
5273
|
+
// existing importers; it is generated FROM it and must not diverge.
|
|
5274
|
+
//
|
|
5275
|
+
// 0.8.13 — 199 → 210 (canonical realignment).
|
|
5276
|
+
// Source: `data/core_indicators.yaml` @ prototype HEAD a596eb9 (208 codes)
|
|
5277
|
+
// + 2 codes @hti/scoring emits but the codebook has not yet adopted
|
|
5278
|
+
// (`coercive_debt_pressure_youth`, `debt_terms_deceptive_youth`).
|
|
5279
|
+
// • WITHDRAWN 54 invented rollup codes (`vc_*` ×21, `csi_*` ×20,
|
|
5280
|
+
// `csctx_*` ×6, `dv_*` ×3, `net_*`, `auto_*`): zero occurrences at
|
|
5281
|
+
// prototype HEAD, zero consumers in @hti/scoring's `emits_by_code`.
|
|
5282
|
+
// The rollup axis they were groping toward already exists upstream as
|
|
5283
|
+
// the `family` attribute (9 values), now carried on every entry.
|
|
5284
|
+
// • WITHDRAWN `unusual_work_circumstances_general`: coined from a label's
|
|
5285
|
+
// parenthetical. The canonical `unusual_work_circumstances` exists and
|
|
5286
|
+
// is consumed by @hti/scoring; it is now shipped.
|
|
5287
|
+
// • ADDED the 66 canonical codes that were missing.
|
|
5288
|
+
// Math: 199 − 1 − 54 + 66 = 210.
|
|
5289
|
+
// HARD INVARIANT: every one of the 169 codes in @hti/scoring's
|
|
5290
|
+
// `emits_by_code` (weights/risk.weights.json @ 9b5d654) is present here.
|
|
5291
|
+
// Enforced by `src/__tests__/cvc-136-scoring-invariant.test.ts`.
|
|
5292
|
+
//
|
|
5293
|
+
// 0.8.14 — 210 → 215 (catalog refresh, prototype a596eb9 → 84a1b677).
|
|
5294
|
+
// The upstream catalog grew by 5 and withdrew none. All five are minted
|
|
5295
|
+
// upstream with `code_status: canonical` (three carry the 2026-07-17
|
|
5296
|
+
// TRA-vetting provenance), so this is catalog CATCH-UP, not invention —
|
|
5297
|
+
// GATE B in `cvc-drift-gate.test.ts` flagged them only because the pin was
|
|
5298
|
+
// stale. `coreIndicators.pin.json` is refreshed to 84a1b677 (213 codes) in
|
|
5299
|
+
// the same change; the 2 scoring-ahead codes remain absent upstream and
|
|
5300
|
+
// stay on the `SCORING_AHEAD_OF_CATALOG` allowlist, unchanged.
|
|
5301
|
+
// + clients_unaware_of_third_party_coordination (TRA-7-aware)
|
|
5302
|
+
// + depends_on_spouse_or_family_for_immigration_status (TRA-14 × TRA-22)
|
|
5303
|
+
// + sexualized_content_in_person_performance_activity (DH § II 2.2.3)
|
|
5304
|
+
// + sexualized_content_online_performance_activity (DH § II 2.2.2)
|
|
5305
|
+
// + trauma_perpetrator_is_current_manager (engine-derived)
|
|
5306
|
+
// PAVE 2.0 needs the first two to express `trafficking_risk_assessment`
|
|
5307
|
+
// emissions; without them the TRA writes assertions against codes that
|
|
5308
|
+
// resolve to nothing.
|
|
5309
|
+
// New SOT entries are APPENDED at positional codes 136-211…136-215 so
|
|
5310
|
+
// every previously issued code keeps its number.
|
|
5311
|
+
//
|
|
5312
|
+
// Refresh to 622410b — 215 → 216 (catalog refresh, prototype 84a1b67 →
|
|
5313
|
+
// 622410b; the release number is assigned by the standalone chore(release)
|
|
5314
|
+
// commit, not claimed here).
|
|
5315
|
+
// The upstream catalog grew by 1 and withdrew none, so this is again
|
|
5316
|
+
// catalog CATCH-UP rather than net-new authoring: GATE B would have
|
|
5317
|
+
// reported the code as INVENTED only because the pin was stale.
|
|
5318
|
+
// + active_protective_order (AE-3 / q-ar-3)
|
|
5319
|
+
// Minted upstream 2026-08-08 with `code_status: canonical` (prototype
|
|
5320
|
+
// `4b3d40e4`, "Catalogue the protective-order disclosure"), emitted by the
|
|
5321
|
+
// INTAKE_MAP on `q-ar-3 == yes`. Definition, `family`, `polarity`,
|
|
5322
|
+
// `severity` and `is_alert` are carried VERBATIM from the catalog:
|
|
5323
|
+
// `lethality_dv` / `depends` / `caution` / `none`. The `isAlert: "none"`
|
|
5324
|
+
// is load-bearing and deliberate — per the Crysta ruling of 2026-08-08 the
|
|
5325
|
+
// code is catalogued DESCRIPTIVE and is NOT tree-mapped, because an order
|
|
5326
|
+
// is a protective act, not an alert condition; tree-mapping it would score
|
|
5327
|
+
// a survivor higher for having sought court protection. The counterparty-
|
|
5328
|
+
// gated scoring reads live elsewhere (`protection_order_against_trafficker`
|
|
5329
|
+
// on the Severity model; perpetrator leaf P-II-D). The signal reaches the
|
|
5330
|
+
// Severity model through the catalog's `lane_tiers`
|
|
5331
|
+
// (safety_planning: elevated · domestic_family_violence: review), which is
|
|
5332
|
+
// not a platform-common surface.
|
|
5333
|
+
// PAVE 2.0 needs this to express the AE-3 intake emission; without it the
|
|
5334
|
+
// AE instrument writes an assertion against a code that resolves to
|
|
5335
|
+
// nothing. `coreIndicators.pin.json` is refreshed to 622410b (214 codes)
|
|
5336
|
+
// in the same change; the 2 scoring-ahead codes remain absent upstream and
|
|
5337
|
+
// stay on the `SCORING_AHEAD_OF_CATALOG` allowlist, unchanged at exactly 2.
|
|
5338
|
+
// The new SOT entry is APPENDED at positional code 136-216 so every
|
|
5339
|
+
// previously issued code keeps its number.
|
|
5340
|
+
//
|
|
5341
|
+
// NOT ADDED, deliberately: `substance_use_concerns`. It is NOT a code in
|
|
5342
|
+
// the canonical catalog — it is a `legacy_aliases` member of the canonical
|
|
5343
|
+
// `serious_substance_use_or_introduced_to_drugs` (136-142, shipped since
|
|
5344
|
+
// 0.8.13, `vulnerability_context` / `depends` / `elevated` /
|
|
5345
|
+
// `isAlert: "pave"` / `alertWhen: "recency_under_year"`). Adding it as its
|
|
5346
|
+
// own code would be exactly the invention GATE B exists to stop. Consumers
|
|
5347
|
+
// binding a BH-2 substance-use emission must bind the canonical key.
|
|
5348
|
+
//
|
|
5349
|
+
// PROJECTED-FIELD REVISIONS carried in the same refresh. A pin bump is a
|
|
5350
|
+
// promise of FULL conformance to the pinned catalog, not just of its new
|
|
5351
|
+
// codes — the 84a1b67 → 622410b delta also revised two shipping codes, and
|
|
5352
|
+
// both are carried here (SOT JSON + this label map):
|
|
5353
|
+
// • `acknowledgement_or_report_of_human_trafficking` (136-007) — label
|
|
5354
|
+
// "Acknowledgement or report of human trafficking" →
|
|
5355
|
+
// "Human trafficking disclosure or report".
|
|
5356
|
+
// • `juvenile_justice_or_child_welfare_involvement` (136-094) —
|
|
5357
|
+
// definition gained "(system unspecified — deprecated combined code;
|
|
5358
|
+
// see read-time alias policy above)". LOAD-BEARING: the definition is
|
|
5359
|
+
// the only projected field that tells a consumer this code is
|
|
5360
|
+
// DEPRECATED. Upstream split it 2026-06-08 (Ava) into
|
|
5361
|
+
// `juvenile_justice_system_involvement` (136-095) +
|
|
5362
|
+
// `child_welfare_system_involvement` at the Core Profile capture layer,
|
|
5363
|
+
// and the Phase 2C combined→split migration (2026-08-02, Crysta) makes
|
|
5364
|
+
// the read-time alias policy binding: the row is NEVER deleted and
|
|
5365
|
+
// stored CARs are NEVER rewritten — a combined-code CAR resolves at
|
|
5366
|
+
// read/aggregation time as BOTH split codes, so any consumer keyed by a
|
|
5367
|
+
// split code must also key this one. Residual emitters are only the
|
|
5368
|
+
// captures that genuinely cannot name the system (IS-3.2.4 manual Yes;
|
|
5369
|
+
// TRA-34c parent-category-selected with no system subtype). The full
|
|
5370
|
+
// policy text lives in the catalog comment block above the row in
|
|
5371
|
+
// `data/core_indicators.yaml` @ 622410b.
|
|
5372
|
+
// Also reconciled here, INHERITED from the previous refresh: the
|
|
5373
|
+
// `sexualized_content_performance_activity` (136-146) definition. The
|
|
5374
|
+
// a596eb9 → 84a1b67 delta appended the SEXUALIZED-CONTENT-SPLIT-2026-07-15
|
|
5375
|
+
// UMBRELLA NOTE to it, and 0.8.14 shipped the pin bump without it, so the
|
|
5376
|
+
// definition has been stale since. It now carries the catalog text verbatim.
|
|
5377
|
+
// (Two remaining JSON-vs-YAML differences are round-trip artifacts, not
|
|
5378
|
+
// drift: an unescaped `fiancé` and unwrapped hard-wrapped lines.)
|
|
5379
|
+
//
|
|
5380
|
+
// CVC_136_ALERT_INDICATOR above is a legacy Thread-only surface with NO
|
|
5381
|
+
// canonical basis; it is deliberately left untouched in 0.8.13 (a separate
|
|
5382
|
+
// Thread cleanup). The canonical alert axis is the `isAlert` ATTRIBUTE on
|
|
5383
|
+
// the CVC-136 JSON entries — the alert list is a DERIVED VIEW, not a rival
|
|
5384
|
+
// taxonomy. The 6-category UI grouping is likewise not in the SOT and stays
|
|
5385
|
+
// scoped to CVC_136_ALERT_INDICATOR.
|
|
5386
|
+
export const CVC_136_CORE_INDICATOR_VALUES = [
|
|
5387
|
+
"abuser_evading_legal_consequences",
|
|
5388
|
+
"abuser_has_weapon",
|
|
5389
|
+
"abuser_substance_use",
|
|
5390
|
+
"abuser_threatened_suicide",
|
|
5391
|
+
"abuser_unemployed",
|
|
5392
|
+
"access_to_vulnerable_individuals",
|
|
5393
|
+
"acknowledgement_or_report_of_human_trafficking",
|
|
5394
|
+
"active_protective_order",
|
|
5395
|
+
"ads_available_247",
|
|
5396
|
+
"ads_imply_multiple_workers",
|
|
5397
|
+
"ads_prost_slang",
|
|
5398
|
+
"adverse_childhood_household_challenges",
|
|
5399
|
+
"advertised_new_to_area",
|
|
5400
|
+
"appears_controlling_relationship",
|
|
5401
|
+
"appears_turned_out_or_trained_ad_patterns",
|
|
5402
|
+
"association_commercial_sex",
|
|
5403
|
+
"atypical_or_high_risk_payment_method",
|
|
5404
|
+
"autonomy_access_healthcare_without_fear",
|
|
5405
|
+
"autonomy_choice_in_clients",
|
|
5406
|
+
"autonomy_choice_in_services",
|
|
5407
|
+
"autonomy_controls_own_docs",
|
|
5408
|
+
"autonomy_controls_own_finances",
|
|
5409
|
+
"autonomy_organizes_own_travel",
|
|
5410
|
+
"autonomy_posts_own_ads",
|
|
5411
|
+
"autonomy_sets_own_schedule",
|
|
5412
|
+
"autonomy_sets_up_own_dates",
|
|
5413
|
+
"battered_while_pregnant_history",
|
|
5414
|
+
"branding_or_unusual_tattoos_tied_to_control",
|
|
5415
|
+
"cannot_stop_working_or_freely_leave",
|
|
5416
|
+
"child_not_abusers_in_household",
|
|
5417
|
+
"child_welfare_system_involvement",
|
|
5418
|
+
"clients_unaware_of_third_party_coordination",
|
|
5419
|
+
"coerced_to_misrepresent_identity_or_activity",
|
|
5420
|
+
"coercive_debt_pressure",
|
|
5421
|
+
"coercive_debt_pressure_youth",
|
|
5422
|
+
"coercive_migration_or_forced_travel",
|
|
5423
|
+
"cognitive_or_functional_impairment_affecting_consent",
|
|
5424
|
+
"commercial_sex_association_words_or_places",
|
|
5425
|
+
"concerning_mannerisms_anxious_fearful_depressed",
|
|
5426
|
+
"concerning_sexual_behavior_pattern",
|
|
5427
|
+
"constraints_due_to_legal_status",
|
|
5428
|
+
"control_quota_required",
|
|
5429
|
+
"cs_activity_criminal_org_connection",
|
|
5430
|
+
"cs_industry_related_criminal_history",
|
|
5431
|
+
"current_injuries_from_abuser",
|
|
5432
|
+
"current_mental_health_services",
|
|
5433
|
+
"currently_minor_in_commercial_sex",
|
|
5434
|
+
"dangerous_services_no_protection",
|
|
5435
|
+
"dangerous_services_requires_protection",
|
|
5436
|
+
"dangerous_services_willing_anything",
|
|
5437
|
+
"debt_terms_deceptive",
|
|
5438
|
+
"debt_terms_deceptive_youth",
|
|
5439
|
+
"denied_basic_needs",
|
|
5440
|
+
"depends_on_employer_for_immigration_status",
|
|
5441
|
+
"depends_on_spouse_or_family_for_immigration_status",
|
|
5442
|
+
"does_not_control_finances_or_earnings",
|
|
5443
|
+
"does_not_control_identity_documents",
|
|
5444
|
+
"elevated_lethality_risk_signal",
|
|
5445
|
+
"employer_keeps_pay_or_pays_less_than_expected",
|
|
5446
|
+
"engages_in_commercial_sex_act",
|
|
5447
|
+
"entered_commercial_sex_industry_as_minor",
|
|
5448
|
+
"entered_cs_due_to_survival_needs",
|
|
5449
|
+
"entered_into_network_of_sex_providers_early",
|
|
5450
|
+
"exploitative_pricing_tier_low",
|
|
5451
|
+
"exploitative_working_conditions",
|
|
5452
|
+
"fled_conflict_violence_or_persecution",
|
|
5453
|
+
"forced_to_commit_crimes",
|
|
5454
|
+
"forced_to_use_false_documents",
|
|
5455
|
+
"foreign_born_or_recently_arrived",
|
|
5456
|
+
"foreign_born_risk_factors",
|
|
5457
|
+
"frequent_changes_in_residence",
|
|
5458
|
+
"frequent_travel_or_location_changes",
|
|
5459
|
+
"frequently_at_hotels_or_many_hotel_keys",
|
|
5460
|
+
"harmful_coping_behaviors",
|
|
5461
|
+
"has_ads_on_commercial_sex_site",
|
|
5462
|
+
"has_facilitators_involved",
|
|
5463
|
+
"has_management_or_representation",
|
|
5464
|
+
"has_no_personal_items_or_possessions",
|
|
5465
|
+
"head_injury_history",
|
|
5466
|
+
"head_injury_loss_of_consciousness",
|
|
5467
|
+
"health_related_vulnerability",
|
|
5468
|
+
"hierarchical_management_structure_identified",
|
|
5469
|
+
"high_risk_sexual_behavior",
|
|
5470
|
+
"high_security_measures_at_work_or_living_location",
|
|
5471
|
+
"highly_irregular_school_attendance",
|
|
5472
|
+
"history_emotional_abuse",
|
|
5473
|
+
"history_of_head_injury",
|
|
5474
|
+
"history_of_mental_health_issues",
|
|
5475
|
+
"history_of_running_away_or_missing_from_care",
|
|
5476
|
+
"history_of_strangulation",
|
|
5477
|
+
"history_physical_or_sexual_abuse_or_dv",
|
|
5478
|
+
"homeless_or_unstably_housed",
|
|
5479
|
+
"immigration_related_exploitation_risk",
|
|
5480
|
+
"in_commercial_sex_industry_recorded",
|
|
5481
|
+
"inability_to_account_for_self",
|
|
5482
|
+
"intimate_partner_violence_reported_to_law_enforcement",
|
|
5483
|
+
"juvenile_justice_or_child_welfare_involvement",
|
|
5484
|
+
"juvenile_justice_system_involvement",
|
|
5485
|
+
"labor_services_activity_recorded",
|
|
5486
|
+
"lgbtq_individual",
|
|
5487
|
+
"limited_english_proficiency",
|
|
5488
|
+
"limited_independence",
|
|
5489
|
+
"lives_or_sleeps_at_place_of_work",
|
|
5490
|
+
"living_with_abuser",
|
|
5491
|
+
"macro_level_economic_duress_entry_exit",
|
|
5492
|
+
"meets_or_has_sex_with_internet_contacts",
|
|
5493
|
+
"monitored_or_isolated_by_controlling_party",
|
|
5494
|
+
"much_older_intimate_partner",
|
|
5495
|
+
"nervous_about_immigration_documentation",
|
|
5496
|
+
"network_aggregate_risk_score_high",
|
|
5497
|
+
"network_multiple_sex_providers_named",
|
|
5498
|
+
"network_stable_size_large",
|
|
5499
|
+
"network_trafficker_present",
|
|
5500
|
+
"network_violent_person_present",
|
|
5501
|
+
"new_to_commercial_sex_industry",
|
|
5502
|
+
"non_consensual_photography_or_recording",
|
|
5503
|
+
"not_in_control_of_immigration_documentation",
|
|
5504
|
+
"other_instability_or_vulnerability_factors",
|
|
5505
|
+
"owes_money_and_cannot_pay_off",
|
|
5506
|
+
"paid_or_owes_fee_to_arrange_travel_to_us",
|
|
5507
|
+
"paid_or_owes_recruitment_fee_to_employer",
|
|
5508
|
+
"parent_or_guardian_of_minor_subject_named",
|
|
5509
|
+
"past_phases_prior_trafficking_or_risk",
|
|
5510
|
+
"payment_routed_through_third_party",
|
|
5511
|
+
"pending_federal_protection",
|
|
5512
|
+
"performing_different_work_than_promised",
|
|
5513
|
+
"physical_violence_increasing",
|
|
5514
|
+
"poverty_or_severe_financial_strain",
|
|
5515
|
+
"precarious_immigration_status",
|
|
5516
|
+
"pressured_or_forced_sex_act",
|
|
5517
|
+
"prior_medical_attention_from_abuse",
|
|
5518
|
+
"prior_tvap_disconnection",
|
|
5519
|
+
"prior_victimization_or_abuse_history",
|
|
5520
|
+
"promise_of_work_different_than_current_work",
|
|
5521
|
+
"received_things_of_value_while_missing_from_care",
|
|
5522
|
+
"recent_le_engagement",
|
|
5523
|
+
"recruited_by_third_party_into_cs_industry",
|
|
5524
|
+
"regular_alcohol_use",
|
|
5525
|
+
"relies_on_temporary_resources_for_basic_needs",
|
|
5526
|
+
"reports_physical_harm_by_employer_or_partner",
|
|
5527
|
+
"reports_physical_harm_to_others_by_employer_or_partner",
|
|
5528
|
+
"restrictive_living_or_working_conditions",
|
|
5529
|
+
"restrictive_or_not_understood_contract",
|
|
5530
|
+
"risk_factors_commercial_sex",
|
|
5531
|
+
"serious_substance_use_or_introduced_to_drugs",
|
|
5532
|
+
"several_cell_phones_or_frequent_number_changes",
|
|
5533
|
+
"sex_acts_in_own_residence",
|
|
5534
|
+
"sexual_exploitation",
|
|
5535
|
+
"sexualized_content_in_person_performance_activity",
|
|
5536
|
+
"sexualized_content_online_performance_activity",
|
|
5537
|
+
"sexualized_content_performance_activity",
|
|
5538
|
+
"shared_contact_network",
|
|
5539
|
+
"signs_of_physical_abuse_confinement_or_neglect",
|
|
5540
|
+
"signs_of_physical_harm_or_abuse",
|
|
5541
|
+
"sleep_disturbance",
|
|
5542
|
+
"social_isolation_or_no_supportive_relationships",
|
|
5543
|
+
"stalking_property_intrusion",
|
|
5544
|
+
"stalking_surveillance",
|
|
5545
|
+
"stalking_unwanted_contact",
|
|
5546
|
+
"strangulation_acute_symptoms",
|
|
5547
|
+
"strangulation_choking_assault_detail",
|
|
5548
|
+
"strangulation_loss_of_consciousness",
|
|
5549
|
+
"strangulation_repeated",
|
|
5550
|
+
"subject_affiliated_org_trafficking_activity",
|
|
5551
|
+
"subject_arrested_dv_sv_cs",
|
|
5552
|
+
"subject_gang_org_affiliation",
|
|
5553
|
+
"subject_has_illegal_weapons",
|
|
5554
|
+
"subject_is_sex_offender",
|
|
5555
|
+
"subject_legally_barred_weapons",
|
|
5556
|
+
"subject_perpetrated_abuse_history",
|
|
5557
|
+
"subject_perpetrated_emotional_stalking_current",
|
|
5558
|
+
"subject_perpetrated_emotional_stalking_past",
|
|
5559
|
+
"subject_perpetrated_ipv_current",
|
|
5560
|
+
"subject_perpetrated_ipv_past",
|
|
5561
|
+
"subject_perpetrated_physical_abuse_current",
|
|
5562
|
+
"subject_perpetrated_physical_abuse_past",
|
|
5563
|
+
"subject_perpetrated_sexual_abuse_current",
|
|
5564
|
+
"subject_perpetrated_sexual_abuse_past",
|
|
5565
|
+
"subject_violent_felony",
|
|
5566
|
+
"substance_use_while_working",
|
|
5567
|
+
"suicidal_ideation_history",
|
|
5568
|
+
"suicidal_ideation_recent",
|
|
5569
|
+
"suicide_attempt_history",
|
|
5570
|
+
"third_party_advertises_or_posts_for_person",
|
|
5571
|
+
"third_party_arranged_commercial_sex_acts",
|
|
5572
|
+
"threats_by_employer_or_partner",
|
|
5573
|
+
"threats_of_harm",
|
|
5574
|
+
"threats_of_legal_trouble_or_deportation",
|
|
5575
|
+
"threats_related_to_migration_debt",
|
|
5576
|
+
"threats_to_family_friends_or_close_associates",
|
|
5577
|
+
"threats_to_kill_victim_or_children",
|
|
5578
|
+
"trafficking_experience_current",
|
|
5579
|
+
"trafficking_experience_past_10plusy",
|
|
5580
|
+
"trafficking_experience_past_3to10y",
|
|
5581
|
+
"trafficking_experience_past_lt3y",
|
|
5582
|
+
"trauma_perpetrator_is_current_manager",
|
|
5583
|
+
"travel_organized_by_third_party",
|
|
5584
|
+
"tricked_or_pressured_into_unwanted_acts",
|
|
5585
|
+
"under_18_advertised_age",
|
|
5586
|
+
"under_18_appears_underage",
|
|
5587
|
+
"under_18_known_age",
|
|
5588
|
+
"unexplained_frequent_travel_or_migration",
|
|
5589
|
+
"unsafe_working_conditions_long_hours_inadequate_breaks",
|
|
5590
|
+
"unusual_cash_or_unexplained_gifts",
|
|
5591
|
+
"unusual_work_circumstances",
|
|
5592
|
+
"urgent_medical_referral_needed",
|
|
5593
|
+
"victim_believes_abuser_capable_of_killing",
|
|
5594
|
+
"victimization_history_composite",
|
|
5595
|
+
"violence_or_threats_at_work_site",
|
|
5596
|
+
"weapon_used_or_threatened_against_victim",
|
|
5597
|
+
"work_frequency_high_volume",
|
|
5598
|
+
"working_while_pregnant",
|
|
5599
|
+
"workplace_emotional_climate_of_fear",
|
|
5600
|
+
"works_across_multiple_cities_or_locations",
|
|
5601
|
+
"works_for_little_or_no_pay",
|
|
5602
|
+
"youth_watched_filmed_or_photographed_sexually_explicit",
|
|
5603
|
+
] as const;
|
|
5604
|
+
|
|
5605
|
+
export type CVC136CoreIndicator =
|
|
5606
|
+
(typeof CVC_136_CORE_INDICATOR_VALUES)[number];
|
|
5607
|
+
|
|
5608
|
+
export const CVC_136_CORE_INDICATOR_LABELS: Record<CVC136CoreIndicator, string> = {
|
|
5609
|
+
"abuser_evading_legal_consequences": "Abuser has avoided arrest for domestic violence",
|
|
5610
|
+
"abuser_has_weapon": "Abuser with weapon",
|
|
5611
|
+
"abuser_substance_use": "Abuser has serious substance use (alcohol or illegal drugs)",
|
|
5612
|
+
"abuser_threatened_suicide": "Abuser threatened suicide",
|
|
5613
|
+
"abuser_unemployed": "Abuser is unemployed",
|
|
5614
|
+
"access_to_vulnerable_individuals": "Access to or connections with vulnerable individuals",
|
|
5615
|
+
"acknowledgement_or_report_of_human_trafficking": "Human trafficking disclosure or report",
|
|
5616
|
+
"active_protective_order": "Active protective order (client-reported)",
|
|
5617
|
+
"ads_available_247": "Advertises available anytime / 24-7",
|
|
5618
|
+
"ads_imply_multiple_workers": "Ads imply multiple workers",
|
|
5619
|
+
"ads_prost_slang": "Ad uses prostitution slang",
|
|
5620
|
+
"adverse_childhood_household_challenges": "Adverse childhood household challenges (ACE-like)",
|
|
5621
|
+
"advertised_new_to_area": "Ad says new to area",
|
|
5622
|
+
"appears_controlling_relationship": "Appears controlling relationship (employer/intimate partner/family)",
|
|
5623
|
+
"appears_turned_out_or_trained_ad_patterns": "Appears 'turned out' / trained (ad patterns)",
|
|
5624
|
+
"association_commercial_sex": "Association with commercial sex",
|
|
5625
|
+
"atypical_or_high_risk_payment_method": "Atypical or high-risk payment method (cryptocurrency / in-kind)",
|
|
5626
|
+
"autonomy_access_healthcare_without_fear": "Autonomy: can access healthcare without fear of being hurt",
|
|
5627
|
+
"autonomy_choice_in_clients": "Autonomy: choice in clients",
|
|
5628
|
+
"autonomy_choice_in_services": "Autonomy: choice in services performed",
|
|
5629
|
+
"autonomy_controls_own_docs": "Autonomy: controls own identity/immigration documents",
|
|
5630
|
+
"autonomy_controls_own_finances": "Autonomy: controls own finances",
|
|
5631
|
+
"autonomy_organizes_own_travel": "Autonomy: organizes own travel",
|
|
5632
|
+
"autonomy_posts_own_ads": "Autonomy: posts own ads",
|
|
5633
|
+
"autonomy_sets_own_schedule": "Autonomy: sets own schedule",
|
|
5634
|
+
"autonomy_sets_up_own_dates": "Autonomy: sets up own dates/appointments",
|
|
5635
|
+
"battered_while_pregnant_history": "Battered while pregnant (history)",
|
|
5636
|
+
"branding_or_unusual_tattoos_tied_to_control": "Branding marks or unusual tattoos tied to exploitation/control",
|
|
5637
|
+
"cannot_stop_working_or_freely_leave": "Cannot stop working or freely leave home/work",
|
|
5638
|
+
"child_not_abusers_in_household": "Child in household who is not the abuser's biological child",
|
|
5639
|
+
"child_welfare_system_involvement": "Child welfare system involvement (history)",
|
|
5640
|
+
"clients_unaware_of_third_party_coordination": "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
5641
|
+
"coerced_to_misrepresent_identity_or_activity": "Coerced to misrepresent age, identity, or work activity to outsiders",
|
|
5642
|
+
"coercive_debt_pressure": "Pressured to do things to pay off debt (coercive debt repayment)",
|
|
5643
|
+
"coercive_debt_pressure_youth": "Pressured to do things to pay off debt (youth missing-from-care)",
|
|
5644
|
+
"coercive_migration_or_forced_travel": "Migration or travel under coercion",
|
|
5645
|
+
"cognitive_or_functional_impairment_affecting_consent": "Known cognitive or functional impairment / disability affecting consent",
|
|
5646
|
+
"commercial_sex_association_words_or_places": "Uses commercial sex-associated words/phrases or spends time with CS-associated people/places",
|
|
5647
|
+
"concerning_mannerisms_anxious_fearful_depressed": "Concerning mannerisms (anxious, fearful, depressed, secretive, resistant to help, aggressive)",
|
|
5648
|
+
"concerning_sexual_behavior_pattern": "Concerning sexual behavior pattern (general)",
|
|
5649
|
+
"constraints_due_to_legal_status": "Legal-status constraints prevent earning income / exit options",
|
|
5650
|
+
"control_quota_required": "Control: quota required",
|
|
5651
|
+
"cs_activity_criminal_org_connection": "Commercial sex activity connected to a known criminal organization",
|
|
5652
|
+
"cs_industry_related_criminal_history": "CS industry-related criminal history (constrained ability to exit)",
|
|
5653
|
+
"current_injuries_from_abuser": "Client reports current injuries from abuser",
|
|
5654
|
+
"current_mental_health_services": "Currently participating in mental-health services",
|
|
5655
|
+
"currently_minor_in_commercial_sex": "Currently a minor in commercial sex (federal CSEC)",
|
|
5656
|
+
"dangerous_services_no_protection": "Dangerous services: offers sex without protection (no condoms)",
|
|
5657
|
+
"dangerous_services_requires_protection": "Dangerous services: requires protection (by provider)",
|
|
5658
|
+
"dangerous_services_willing_anything": "Dangerous services: 'willing to do anything' / extreme services",
|
|
5659
|
+
"debt_terms_deceptive": "Debt repayment terms differed from what was expected",
|
|
5660
|
+
"debt_terms_deceptive_youth": "Debt repayment terms differed from what was expected (youth missing-from-care)",
|
|
5661
|
+
"denied_basic_needs": "Denied basic needs (food, water, sleep, medical care)",
|
|
5662
|
+
"depends_on_employer_for_immigration_status": "Depends on employer for immigration status (tied visa / living with employer)",
|
|
5663
|
+
"depends_on_spouse_or_family_for_immigration_status": "Depends on spouse / family member for immigration status (tied family visa)",
|
|
5664
|
+
"does_not_control_finances_or_earnings": "Limited independence: does not control finances or earnings",
|
|
5665
|
+
"does_not_control_identity_documents": "Limited independence: does not control identity documents",
|
|
5666
|
+
"elevated_lethality_risk_signal": "Elevated lethality risk",
|
|
5667
|
+
"employer_keeps_pay_or_pays_less_than_expected": "Employer keeps portion of pay or pays less than expected",
|
|
5668
|
+
"engages_in_commercial_sex_act": "Engages in commercial sex act (sex for something of value)",
|
|
5669
|
+
"entered_commercial_sex_industry_as_minor": "Entered commercial sex industry as a minor (real-life)",
|
|
5670
|
+
"entered_cs_due_to_survival_needs": "Entered commercial sex due to survival needs (housing/food insecurity)",
|
|
5671
|
+
"entered_into_network_of_sex_providers_early": "Entered into network of sex providers at start (early-network linkage)",
|
|
5672
|
+
"exploitative_pricing_tier_low": "Exploitative pricing tier (very low relative price)",
|
|
5673
|
+
"exploitative_working_conditions": "Exploitative working conditions (general)",
|
|
5674
|
+
"fled_conflict_violence_or_persecution": "Fled conflict, violence, or persecution in country of origin",
|
|
5675
|
+
"forced_to_commit_crimes": "Forced to commit crimes / illegal activity",
|
|
5676
|
+
"forced_to_use_false_documents": "Forced to use false identity documents",
|
|
5677
|
+
"foreign_born_or_recently_arrived": "Foreign-born or recently arrived (contextual vulnerability)",
|
|
5678
|
+
"foreign_born_risk_factors": "Foreign-born risk factors (general)",
|
|
5679
|
+
"frequent_changes_in_residence": "Frequent changes in residence (housing instability)",
|
|
5680
|
+
"frequent_travel_or_location_changes": "Frequent travel / location changes (instability signal)",
|
|
5681
|
+
"frequently_at_hotels_or_many_hotel_keys": "Frequently found at hotels / many hotel keys",
|
|
5682
|
+
"harmful_coping_behaviors": "Harmful coping behaviors disclosed",
|
|
5683
|
+
"has_ads_on_commercial_sex_site": "Has advertisements on a commercial sex website",
|
|
5684
|
+
"has_facilitators_involved": "Has facilitators involved (call service, coyote, intermediaries)",
|
|
5685
|
+
"has_management_or_representation": "Has management / representation in commercial sex context",
|
|
5686
|
+
"has_no_personal_items_or_possessions": "Has no personal items or possessions",
|
|
5687
|
+
"head_injury_history": "Head injury history from abuser",
|
|
5688
|
+
"head_injury_loss_of_consciousness": "Possible LOC / disorientation from head injury",
|
|
5689
|
+
"health_related_vulnerability": "Health-related vulnerability (general)",
|
|
5690
|
+
"hierarchical_management_structure_identified": "Hierarchical management structure identified among network sex providers",
|
|
5691
|
+
"high_risk_sexual_behavior": "High-risk sexual behavior",
|
|
5692
|
+
"high_security_measures_at_work_or_living_location": "High security measures at work or living location",
|
|
5693
|
+
"highly_irregular_school_attendance": "Highly irregular school attendance (youth instability)",
|
|
5694
|
+
"history_emotional_abuse": "Victim of emotional abuse (history)",
|
|
5695
|
+
"history_of_head_injury": "History of head injury (traumatic brain injury risk)",
|
|
5696
|
+
"history_of_mental_health_issues": "History of mental health issues",
|
|
5697
|
+
"history_of_running_away_or_missing_from_care": "History of running away or missing from care (youth)",
|
|
5698
|
+
"history_of_strangulation": "History of strangulation",
|
|
5699
|
+
"history_physical_or_sexual_abuse_or_dv": "Victim of physical abuse / domestic violence or sexual abuse (history)",
|
|
5700
|
+
"homeless_or_unstably_housed": "Homelessness or unstable housing",
|
|
5701
|
+
"immigration_related_exploitation_risk": "Immigration-related exploitation risk (general)",
|
|
5702
|
+
"in_commercial_sex_industry_recorded": "In commercial sex industry (self-report or record)",
|
|
5703
|
+
"inability_to_account_for_self": "Inability to account for self (scripted, confused, unaware of location/date)",
|
|
5704
|
+
"intimate_partner_violence_reported_to_law_enforcement": "IPV reported to law enforcement",
|
|
5705
|
+
"juvenile_justice_or_child_welfare_involvement": "Juvenile justice or child welfare involvement (history)",
|
|
5706
|
+
"juvenile_justice_system_involvement": "Juvenile justice system involvement (history)",
|
|
5707
|
+
"labor_services_activity_recorded": "Labor or services activity recorded",
|
|
5708
|
+
"lgbtq_individual": "LGBTQ individual",
|
|
5709
|
+
"limited_english_proficiency": "Does not speak English / limited English proficiency (contextual vulnerability)",
|
|
5710
|
+
"limited_independence": "Limited independence (general)",
|
|
5711
|
+
"lives_or_sleeps_at_place_of_work": "Lives or sleeps at place of work",
|
|
5712
|
+
"living_with_abuser": "Living with abuser",
|
|
5713
|
+
"macro_level_economic_duress_entry_exit": "Macro-level economic duress tied to entry/exit (manual)",
|
|
5714
|
+
"meets_or_has_sex_with_internet_contacts": "Meets or has sex with contacts developed over the Internet (youth risk)",
|
|
5715
|
+
"monitored_or_isolated_by_controlling_party": "Monitored or isolated by controlling party (employer / partner / family)",
|
|
5716
|
+
"much_older_intimate_partner": "Much older intimate partner (age-disparate relationship)",
|
|
5717
|
+
"nervous_about_immigration_documentation": "Nervous about immigration documentation / paperwork",
|
|
5718
|
+
"network_aggregate_risk_score_high": "Network signal: aggregate network risk score (connected providers)",
|
|
5719
|
+
"network_multiple_sex_providers_named": "Named multiple other sex providers in the same network",
|
|
5720
|
+
"network_stable_size_large": "Network signal: larger/stable network size (potential vulnerability)",
|
|
5721
|
+
"network_trafficker_present": "Network signal: trafficker present in connected network",
|
|
5722
|
+
"network_violent_person_present": "Network signal: violent person present in connected network",
|
|
5723
|
+
"new_to_commercial_sex_industry": "New to commercial sex industry (recent entry / early experience)",
|
|
5724
|
+
"non_consensual_photography_or_recording": "Non-consensual photography or recording",
|
|
5725
|
+
"not_in_control_of_immigration_documentation": "Not in control of immigration documentation",
|
|
5726
|
+
"other_instability_or_vulnerability_factors": "Other instability/vulnerability factors (general)",
|
|
5727
|
+
"owes_money_and_cannot_pay_off": "Unusual work circumstances: owes money and cannot pay it off (debt pressure)",
|
|
5728
|
+
"paid_or_owes_fee_to_arrange_travel_to_us": "Paid or owes fee to arrange travel to U.S. (migration debt)",
|
|
5729
|
+
"paid_or_owes_recruitment_fee_to_employer": "Paid or owes a recruitment fee for the work",
|
|
5730
|
+
"parent_or_guardian_of_minor_subject_named": "Parent or guardian named for a minor subject",
|
|
5731
|
+
"past_phases_prior_trafficking_or_risk": "Past phases: prior trafficking victimization / high prior-phase risk",
|
|
5732
|
+
"payment_routed_through_third_party": "Payment for sex services routed through a third party",
|
|
5733
|
+
"pending_federal_protection": "Pending federal protection application",
|
|
5734
|
+
"performing_different_work_than_promised": "Performing different work than promised or originally discussed",
|
|
5735
|
+
"physical_violence_increasing": "Physical violence has increased in severity/frequency",
|
|
5736
|
+
"poverty_or_severe_financial_strain": "Poverty or severe financial strain",
|
|
5737
|
+
"precarious_immigration_status": "Undocumented or precarious legal status (immigration vulnerability)",
|
|
5738
|
+
"pressured_or_forced_sex_act": "Pressured or forced to engage in sex act",
|
|
5739
|
+
"prior_medical_attention_from_abuse": "Received prior medical care for injuries from abuser",
|
|
5740
|
+
"prior_tvap_disconnection": "Prior TVAP disconnection (continuity-of-care gap)",
|
|
5741
|
+
"prior_victimization_or_abuse_history": "Prior victimization / abuse history (general)",
|
|
5742
|
+
"promise_of_work_different_than_current_work": "Promise of work differed from current work (migration deception)",
|
|
5743
|
+
"received_things_of_value_while_missing_from_care": "Received money, drugs, or other things of value from someone while missing from care (youth)",
|
|
5744
|
+
"recent_le_engagement": "Recent law enforcement engagement",
|
|
5745
|
+
"recruited_by_third_party_into_cs_industry": "Recruited by another person/entity into commercial sex industry",
|
|
5746
|
+
"regular_alcohol_use": "Regular alcohol use",
|
|
5747
|
+
"relies_on_temporary_resources_for_basic_needs": "Does not consistently meet basic needs / relies on temporary resources",
|
|
5748
|
+
"reports_physical_harm_by_employer_or_partner": "Reports being physically harmed by employer/partner",
|
|
5749
|
+
"reports_physical_harm_to_others_by_employer_or_partner": "Reports employer/partner physically harmed friend/coworker",
|
|
5750
|
+
"restrictive_living_or_working_conditions": "Restrictive living/working conditions (general)",
|
|
5751
|
+
"restrictive_or_not_understood_contract": "Unusual work circumstances: restrictive contract or contract not understood",
|
|
5752
|
+
"risk_factors_commercial_sex": "Risk factors related to commercial sex",
|
|
5753
|
+
"serious_substance_use_or_introduced_to_drugs": "Serious substance use disorder or introduced to drugs/medications",
|
|
5754
|
+
"several_cell_phones_or_frequent_number_changes": "Several cell phones or frequently changing phone number",
|
|
5755
|
+
"sex_acts_in_own_residence": "Sex acts take place in person's own residence",
|
|
5756
|
+
"sexual_exploitation": "Sexual exploitation (general)",
|
|
5757
|
+
"sexualized_content_in_person_performance_activity": "In-person sexualized performance / appearance-based activity",
|
|
5758
|
+
"sexualized_content_online_performance_activity": "Online sexual performance / interactive sexual content activity",
|
|
5759
|
+
"sexualized_content_performance_activity": "Sexualized content, performance, or communications activity",
|
|
5760
|
+
"shared_contact_network": "Shares a contact network (phones/handles)",
|
|
5761
|
+
"signs_of_physical_abuse_confinement_or_neglect": "Signs of physical abuse, confinement, or neglect (observed)",
|
|
5762
|
+
"signs_of_physical_harm_or_abuse": "Signs of physical harm or abuse (general)",
|
|
5763
|
+
"sleep_disturbance": "Sleep disturbance",
|
|
5764
|
+
"social_isolation_or_no_supportive_relationships": "Absence of supportive relationships / social isolation",
|
|
5765
|
+
"stalking_property_intrusion": "Stalking — property intrusion",
|
|
5766
|
+
"stalking_surveillance": "Stalking — surveillance",
|
|
5767
|
+
"stalking_unwanted_contact": "Stalking — unwanted contact",
|
|
5768
|
+
"strangulation_acute_symptoms": "Acute post-strangulation symptoms present",
|
|
5769
|
+
"strangulation_choking_assault_detail": "Strangulation / choking (assault detail)",
|
|
5770
|
+
"strangulation_loss_of_consciousness": "LOC / couldn’t breathe during strangulation",
|
|
5771
|
+
"strangulation_repeated": "Strangulation occurred more than once",
|
|
5772
|
+
"subject_affiliated_org_trafficking_activity": "Offender flag: subject affiliated with an org that has documented trafficking/CS lines of business",
|
|
5773
|
+
"subject_arrested_dv_sv_cs": "Offender flag: subject arrested for DV/SV/CS-related offenses",
|
|
5774
|
+
"subject_gang_org_affiliation": "Offender flag: subject is affiliated with a gang or criminal organization",
|
|
5775
|
+
"subject_has_illegal_weapons": "Offender flag: subject has illegal weapons",
|
|
5776
|
+
"subject_is_sex_offender": "Offender flag: subject is a registered sex offender",
|
|
5777
|
+
"subject_legally_barred_weapons": "Offender flag: subject is legally unable to own a weapon",
|
|
5778
|
+
"subject_perpetrated_abuse_history": "Offender flag: subject has a history of perpetrating abuse / IPV",
|
|
5779
|
+
"subject_perpetrated_emotional_stalking_current": "Offender flag: subject is a current perpetrator of emotional abuse / stalking / harassment",
|
|
5780
|
+
"subject_perpetrated_emotional_stalking_past": "Offender flag: subject is a past perpetrator of emotional abuse / stalking / harassment",
|
|
5781
|
+
"subject_perpetrated_ipv_current": "Offender flag: subject is a current perpetrator of intimate-partner violence",
|
|
5782
|
+
"subject_perpetrated_ipv_past": "Offender flag: subject is a past perpetrator of intimate-partner violence",
|
|
5783
|
+
"subject_perpetrated_physical_abuse_current": "Offender flag: subject is a current perpetrator of physical abuse",
|
|
5784
|
+
"subject_perpetrated_physical_abuse_past": "Offender flag: subject is a past perpetrator of physical abuse",
|
|
5785
|
+
"subject_perpetrated_sexual_abuse_current": "Offender flag: subject is a current perpetrator of sexual abuse",
|
|
5786
|
+
"subject_perpetrated_sexual_abuse_past": "Offender flag: subject is a past perpetrator of sexual abuse",
|
|
5787
|
+
"subject_violent_felony": "Offender flag: subject is a felon of a violent crime",
|
|
5788
|
+
"substance_use_while_working": "Substance use while working (commercial sex context)",
|
|
5789
|
+
"suicidal_ideation_history": "Suicidal ideation (past)",
|
|
5790
|
+
"suicidal_ideation_recent": "Suicidal ideation (recent)",
|
|
5791
|
+
"suicide_attempt_history": "Past suicide attempt disclosed",
|
|
5792
|
+
"third_party_advertises_or_posts_for_person": "Third party posts or manages the person's commercial-sex ads",
|
|
5793
|
+
"third_party_arranged_commercial_sex_acts": "Someone else arranged commercial sex acts (posting, scheduling, managing)",
|
|
5794
|
+
"threats_by_employer_or_partner": "Threats by employer/partner (general)",
|
|
5795
|
+
"threats_of_harm": "Threats of harm by employer/partner/others",
|
|
5796
|
+
"threats_of_legal_trouble_or_deportation": "Threats involving law enforcement, deportation, or legal trouble",
|
|
5797
|
+
"threats_related_to_migration_debt": "Threats related to migration debt",
|
|
5798
|
+
"threats_to_family_friends_or_close_associates": "Threats to family, friends, or close associates",
|
|
5799
|
+
"threats_to_kill_victim_or_children": "Threats to kill victim or victim's children",
|
|
5800
|
+
"trafficking_experience_current": "Trafficking experience: currently experiencing (recency)",
|
|
5801
|
+
"trafficking_experience_past_10plusy": "Trafficking experience recency: 10+ years since last experience",
|
|
5802
|
+
"trafficking_experience_past_3to10y": "Trafficking experience recency: 3–10 years since last experience",
|
|
5803
|
+
"trafficking_experience_past_lt3y": "Trafficking experience recency: less than 3 years since last experience",
|
|
5804
|
+
"trauma_perpetrator_is_current_manager": "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
5805
|
+
"travel_organized_by_third_party": "Travel organized by a third party (sex provider does not control own movement)",
|
|
5806
|
+
"tricked_or_pressured_into_unwanted_acts": "Tricked or pressured into unwanted acts or activities (generic coercion)",
|
|
5807
|
+
"under_18_advertised_age": "Under 18 (ad-derived / advertised age)",
|
|
5808
|
+
"under_18_appears_underage": "Under 18 (appears underage; investigator assessment)",
|
|
5809
|
+
"under_18_known_age": "Under 18 (known age)",
|
|
5810
|
+
"unexplained_frequent_travel_or_migration": "Unexplained frequent travel or migration (instability)",
|
|
5811
|
+
"unsafe_working_conditions_long_hours_inadequate_breaks": "Unsafe working conditions / long hours / inadequate breaks",
|
|
5812
|
+
"unusual_cash_or_unexplained_gifts": "Unusual amount of cash or unexplained gifts/resources",
|
|
5813
|
+
"unusual_work_circumstances": "Unusual work circumstances (general)",
|
|
5814
|
+
"urgent_medical_referral_needed": "Urgent medical referral needed",
|
|
5815
|
+
"victim_believes_abuser_capable_of_killing": "Victim believes abuser is capable of killing them",
|
|
5816
|
+
"victimization_history_composite": "Victimization history (composite)",
|
|
5817
|
+
"violence_or_threats_at_work_site": "Violence or threats at work site",
|
|
5818
|
+
"weapon_used_or_threatened_against_victim": "Weapon used or threatened against victim",
|
|
5819
|
+
"work_frequency_high_volume": "Work frequency pattern suggests high volume / little rest",
|
|
5820
|
+
"working_while_pregnant": "Working while pregnant (commercial sex context)",
|
|
5821
|
+
"workplace_emotional_climate_of_fear": "Subjective fear or unsafety at workplace (climate of fear)",
|
|
5822
|
+
"works_across_multiple_cities_or_locations": "Works across multiple cities or locations (geographic instability / trafficking mobility)",
|
|
5823
|
+
"works_for_little_or_no_pay": "Works for little or no pay",
|
|
5824
|
+
"youth_watched_filmed_or_photographed_sexually_explicit": "Watched, filmed, or photographed in sexually explicit manner (youth)",
|
|
5825
|
+
};
|
|
5826
|
+
|
|
5404
5827
|
// ─── CVC-67: HMIS Sex ────────────────────────────────────────────────────────
|
|
5405
5828
|
// Biological sex for HMIS (Homeless Management Information System) reporting.
|
|
5406
5829
|
// HUD 4.21 mapping - single select. Effective Oct 1, 2025.
|