@htilabs/platform-common-models 0.8.4 → 0.8.6
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/cvcs/index.cjs +27 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +30 -0
- package/dist/cvcs/index.d.ts +30 -0
- package/dist/cvcs/index.js +27 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +32 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +32 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
- package/src/__tests__/cvc-sot-snapshot.test.ts +5 -5
- package/src/cvcs/htType.v1.0.0.json +9 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/generated/cvc-enums.ts +5 -2
package/dist/index.cjs
CHANGED
|
@@ -9357,7 +9357,9 @@ var IdentificationStatusKeys = {
|
|
|
9357
9357
|
data_not_collected: "929-000-000-000-000-000-003",
|
|
9358
9358
|
identified: "929-001-000-000-000-000-000",
|
|
9359
9359
|
unidentified: "929-002-000-000-000-000-000",
|
|
9360
|
-
anonymous_posture: "929-003-000-000-000-000-000"
|
|
9360
|
+
anonymous_posture: "929-003-000-000-000-000-000",
|
|
9361
|
+
estimated_persona: "929-004-000-000-000-000-000",
|
|
9362
|
+
confirmed: "929-005-000-000-000-000-000"
|
|
9361
9363
|
};
|
|
9362
9364
|
var InvestigativeRequestTypeKeys = {
|
|
9363
9365
|
missingness_root: "931-000-000-000-000-000-000",
|
|
@@ -9761,7 +9763,8 @@ var HtTypeKeys = {
|
|
|
9761
9763
|
data_not_collected: "072-000-000-000-000-000-003",
|
|
9762
9764
|
sex: "072-001-000-000-000-000-000",
|
|
9763
9765
|
labor: "072-002-000-000-000-000-000",
|
|
9764
|
-
sex_and_labor: "072-003-000-000-000-000-000"
|
|
9766
|
+
sex_and_labor: "072-003-000-000-000-000-000",
|
|
9767
|
+
none: "072-004-000-000-000-000-000"
|
|
9765
9768
|
};
|
|
9766
9769
|
var RelationshipConcernKeys = {
|
|
9767
9770
|
missingness_root: "231-000-000-000-000-000-000",
|
|
@@ -29433,6 +29436,24 @@ var identificationStatus_v1_0_0_default = {
|
|
|
29433
29436
|
parentCode: null,
|
|
29434
29437
|
childCodes: [],
|
|
29435
29438
|
definition: "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
|
|
29439
|
+
},
|
|
29440
|
+
{
|
|
29441
|
+
code: "929-004-000-000-000-000-000",
|
|
29442
|
+
key: "estimated_persona",
|
|
29443
|
+
title: "Estimated persona",
|
|
29444
|
+
selectable: true,
|
|
29445
|
+
parentCode: null,
|
|
29446
|
+
childCodes: [],
|
|
29447
|
+
definition: "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
|
|
29448
|
+
},
|
|
29449
|
+
{
|
|
29450
|
+
code: "929-005-000-000-000-000-000",
|
|
29451
|
+
key: "confirmed",
|
|
29452
|
+
title: "Confirmed (identity unknown)",
|
|
29453
|
+
selectable: true,
|
|
29454
|
+
parentCode: null,
|
|
29455
|
+
childCodes: [],
|
|
29456
|
+
definition: "Confirmed to be a real person, but the specific identity is unknown \u2014 the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
|
|
29436
29457
|
}
|
|
29437
29458
|
]
|
|
29438
29459
|
};
|
|
@@ -33560,6 +33581,15 @@ var htType_v1_0_0_default = {
|
|
|
33560
33581
|
parentCode: null,
|
|
33561
33582
|
childCodes: [],
|
|
33562
33583
|
definition: "Both sex trafficking and labor trafficking are asserted to apply, either concurrently or across the relevant time window. Use when credible assertions exist for both sex and labor trafficking for the same subject / time context."
|
|
33584
|
+
},
|
|
33585
|
+
{
|
|
33586
|
+
code: "072-004-000-000-000-000-000",
|
|
33587
|
+
key: "none",
|
|
33588
|
+
title: "None",
|
|
33589
|
+
selectable: true,
|
|
33590
|
+
parentCode: null,
|
|
33591
|
+
childCodes: [],
|
|
33592
|
+
definition: "No trafficking type asserted \u2014 an explicit NEGATIVE determination rather than a trafficking type. The picker surfaces `none` alongside the substantive codes (sex / labor / sex_and_labor) so an advocate can assert 'this person is not a trafficking victim of any specific type.' Pair with victim_status_family = no_indication when the negative determination spans the victim assertion. Canonical per Crysta directive 2026-05-27 (core_ht_type.yaml), which overrides the 2026-04-26 bundle's prior 'remove None from canonical' recommendation."
|
|
33563
33593
|
}
|
|
33564
33594
|
]
|
|
33565
33595
|
};
|