@htilabs/platform-common-models 0.12.4 → 0.13.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/cvcs/index.cjs +599 -129
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +865 -391
- package/dist/cvcs/index.d.ts +865 -391
- package/dist/cvcs/index.js +599 -129
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +17 -16
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +17 -16
- package/dist/enums/index.d.ts +17 -16
- package/dist/enums/index.js +17 -16
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +616 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +616 -145
- 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/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
- package/src/__tests__/core-information-scope-invariant.test.ts +28 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +6 -3
- package/src/__tests__/cvc-structural.test.ts +1 -1
- package/src/__tests__/victim-abuse-types-canon.test.ts +301 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +3 -3
- package/src/cvcs/index.ts +1 -1
- package/src/cvcs/victimAbuseTypes.v1.1.0.json +744 -0
- package/src/generated/cvc-enums.ts +17 -16
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.d.ts} +8 -8
package/dist/enums/index.d.cts
CHANGED
|
@@ -3202,38 +3202,39 @@ type HmisRelationshipToHohKey = keyof typeof HmisRelationshipToHohKeys;
|
|
|
3202
3202
|
/**
|
|
3203
3203
|
* Key → positional code map for the `victim_abuse_types` CVC domain.
|
|
3204
3204
|
*
|
|
3205
|
-
* Domain: `victim_abuse_types` · Version: 1.
|
|
3205
|
+
* Domain: `victim_abuse_types` · Version: 1.1.0 · Entries: 30
|
|
3206
3206
|
*/
|
|
3207
3207
|
declare const VictimAbuseTypesKeys: {
|
|
3208
|
-
readonly missingness_root: "073-000-000-000-000-000-000";
|
|
3209
|
-
readonly unknown: "073-000-000-000-000-000-001";
|
|
3210
|
-
readonly anonymous: "073-000-000-000-000-000-002";
|
|
3211
|
-
readonly data_not_collected: "073-000-000-000-000-000-003";
|
|
3212
|
-
readonly adult_physical_assault: "073-001-000-000-000-000-000";
|
|
3213
|
-
readonly adult_sexual_assault: "073-002-000-000-000-000-000";
|
|
3214
3208
|
readonly arson: "073-003-000-000-000-000-000";
|
|
3215
3209
|
readonly bullying: "073-004-000-000-000-000-000";
|
|
3216
3210
|
readonly burglary: "073-005-000-000-000-000-000";
|
|
3217
|
-
readonly child_physical_abuse_or_neglect: "073-006-000-000-000-000-000";
|
|
3218
3211
|
readonly child_pornography: "073-007-000-000-000-000-000";
|
|
3219
|
-
readonly
|
|
3220
|
-
readonly
|
|
3221
|
-
readonly
|
|
3222
|
-
readonly elder_abuse: "073-011-000-000-000-000-000";
|
|
3212
|
+
readonly domestic_family_violence: "073-009-000-000-000-000-000";
|
|
3213
|
+
readonly dui_dwi_incident: "073-010-000-000-000-000-000";
|
|
3214
|
+
readonly elder_abuse_or_neglect: "073-011-000-000-000-000-000";
|
|
3223
3215
|
readonly gang_violence: "073-012-000-000-000-000-000";
|
|
3224
3216
|
readonly hate_crime: "073-013-000-000-000-000-000";
|
|
3225
3217
|
readonly homicide: "073-014-000-000-000-000-000";
|
|
3226
|
-
readonly
|
|
3218
|
+
readonly identity_theft_fraud_financial_crime: "073-015-000-000-000-000-000";
|
|
3227
3219
|
readonly kidnapping_custodial: "073-016-000-000-000-000-000";
|
|
3228
3220
|
readonly kidnapping_noncustodial: "073-017-000-000-000-000-000";
|
|
3229
3221
|
readonly mass_violence: "073-018-000-000-000-000-000";
|
|
3230
|
-
readonly
|
|
3231
|
-
readonly
|
|
3222
|
+
readonly other_voca_ovc: "073-019-000-000-000-000-000";
|
|
3223
|
+
readonly other_vehicular_victimization: "073-020-000-000-000-000-000";
|
|
3232
3224
|
readonly robbery: "073-021-000-000-000-000-000";
|
|
3233
3225
|
readonly stalking_harassment: "073-022-000-000-000-000-000";
|
|
3234
|
-
readonly
|
|
3226
|
+
readonly survivor_of_homicide_victim: "073-023-000-000-000-000-000";
|
|
3235
3227
|
readonly teen_dating_victimization: "073-024-000-000-000-000-000";
|
|
3236
3228
|
readonly terrorism: "073-025-000-000-000-000-000";
|
|
3229
|
+
readonly sexual_abuse_assault: "073-026-000-000-000-000-000";
|
|
3230
|
+
readonly physical_abuse_or_neglect: "073-027-000-000-000-000-000";
|
|
3231
|
+
readonly physical_assault: "073-028-000-000-000-000-000";
|
|
3232
|
+
readonly commercial_sexual_exploitation_minor: "073-029-000-000-000-000-000";
|
|
3233
|
+
readonly sexual_exploitation: "073-030-000-000-000-000-000";
|
|
3234
|
+
readonly labor_exploitation: "073-031-000-000-000-000-000";
|
|
3235
|
+
readonly female_genital_mutilation_cutting: "073-032-000-000-000-000-000";
|
|
3236
|
+
readonly forced_marriage: "073-033-000-000-000-000-000";
|
|
3237
|
+
readonly cyber_crimes: "073-034-000-000-000-000-000";
|
|
3237
3238
|
};
|
|
3238
3239
|
type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
|
|
3239
3240
|
/**
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -3202,38 +3202,39 @@ type HmisRelationshipToHohKey = keyof typeof HmisRelationshipToHohKeys;
|
|
|
3202
3202
|
/**
|
|
3203
3203
|
* Key → positional code map for the `victim_abuse_types` CVC domain.
|
|
3204
3204
|
*
|
|
3205
|
-
* Domain: `victim_abuse_types` · Version: 1.
|
|
3205
|
+
* Domain: `victim_abuse_types` · Version: 1.1.0 · Entries: 30
|
|
3206
3206
|
*/
|
|
3207
3207
|
declare const VictimAbuseTypesKeys: {
|
|
3208
|
-
readonly missingness_root: "073-000-000-000-000-000-000";
|
|
3209
|
-
readonly unknown: "073-000-000-000-000-000-001";
|
|
3210
|
-
readonly anonymous: "073-000-000-000-000-000-002";
|
|
3211
|
-
readonly data_not_collected: "073-000-000-000-000-000-003";
|
|
3212
|
-
readonly adult_physical_assault: "073-001-000-000-000-000-000";
|
|
3213
|
-
readonly adult_sexual_assault: "073-002-000-000-000-000-000";
|
|
3214
3208
|
readonly arson: "073-003-000-000-000-000-000";
|
|
3215
3209
|
readonly bullying: "073-004-000-000-000-000-000";
|
|
3216
3210
|
readonly burglary: "073-005-000-000-000-000-000";
|
|
3217
|
-
readonly child_physical_abuse_or_neglect: "073-006-000-000-000-000-000";
|
|
3218
3211
|
readonly child_pornography: "073-007-000-000-000-000-000";
|
|
3219
|
-
readonly
|
|
3220
|
-
readonly
|
|
3221
|
-
readonly
|
|
3222
|
-
readonly elder_abuse: "073-011-000-000-000-000-000";
|
|
3212
|
+
readonly domestic_family_violence: "073-009-000-000-000-000-000";
|
|
3213
|
+
readonly dui_dwi_incident: "073-010-000-000-000-000-000";
|
|
3214
|
+
readonly elder_abuse_or_neglect: "073-011-000-000-000-000-000";
|
|
3223
3215
|
readonly gang_violence: "073-012-000-000-000-000-000";
|
|
3224
3216
|
readonly hate_crime: "073-013-000-000-000-000-000";
|
|
3225
3217
|
readonly homicide: "073-014-000-000-000-000-000";
|
|
3226
|
-
readonly
|
|
3218
|
+
readonly identity_theft_fraud_financial_crime: "073-015-000-000-000-000-000";
|
|
3227
3219
|
readonly kidnapping_custodial: "073-016-000-000-000-000-000";
|
|
3228
3220
|
readonly kidnapping_noncustodial: "073-017-000-000-000-000-000";
|
|
3229
3221
|
readonly mass_violence: "073-018-000-000-000-000-000";
|
|
3230
|
-
readonly
|
|
3231
|
-
readonly
|
|
3222
|
+
readonly other_voca_ovc: "073-019-000-000-000-000-000";
|
|
3223
|
+
readonly other_vehicular_victimization: "073-020-000-000-000-000-000";
|
|
3232
3224
|
readonly robbery: "073-021-000-000-000-000-000";
|
|
3233
3225
|
readonly stalking_harassment: "073-022-000-000-000-000-000";
|
|
3234
|
-
readonly
|
|
3226
|
+
readonly survivor_of_homicide_victim: "073-023-000-000-000-000-000";
|
|
3235
3227
|
readonly teen_dating_victimization: "073-024-000-000-000-000-000";
|
|
3236
3228
|
readonly terrorism: "073-025-000-000-000-000-000";
|
|
3229
|
+
readonly sexual_abuse_assault: "073-026-000-000-000-000-000";
|
|
3230
|
+
readonly physical_abuse_or_neglect: "073-027-000-000-000-000-000";
|
|
3231
|
+
readonly physical_assault: "073-028-000-000-000-000-000";
|
|
3232
|
+
readonly commercial_sexual_exploitation_minor: "073-029-000-000-000-000-000";
|
|
3233
|
+
readonly sexual_exploitation: "073-030-000-000-000-000-000";
|
|
3234
|
+
readonly labor_exploitation: "073-031-000-000-000-000-000";
|
|
3235
|
+
readonly female_genital_mutilation_cutting: "073-032-000-000-000-000-000";
|
|
3236
|
+
readonly forced_marriage: "073-033-000-000-000-000-000";
|
|
3237
|
+
readonly cyber_crimes: "073-034-000-000-000-000-000";
|
|
3237
3238
|
};
|
|
3238
3239
|
type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
|
|
3239
3240
|
/**
|
package/dist/enums/index.js
CHANGED
|
@@ -2441,35 +2441,36 @@ var HmisRelationshipToHohKeys = {
|
|
|
2441
2441
|
non_relation_member: "129-005-000-000-000-000-000"
|
|
2442
2442
|
};
|
|
2443
2443
|
var VictimAbuseTypesKeys = {
|
|
2444
|
-
missingness_root: "073-000-000-000-000-000-000",
|
|
2445
|
-
unknown: "073-000-000-000-000-000-001",
|
|
2446
|
-
anonymous: "073-000-000-000-000-000-002",
|
|
2447
|
-
data_not_collected: "073-000-000-000-000-000-003",
|
|
2448
|
-
adult_physical_assault: "073-001-000-000-000-000-000",
|
|
2449
|
-
adult_sexual_assault: "073-002-000-000-000-000-000",
|
|
2450
2444
|
arson: "073-003-000-000-000-000-000",
|
|
2451
2445
|
bullying: "073-004-000-000-000-000-000",
|
|
2452
2446
|
burglary: "073-005-000-000-000-000-000",
|
|
2453
|
-
child_physical_abuse_or_neglect: "073-006-000-000-000-000-000",
|
|
2454
2447
|
child_pornography: "073-007-000-000-000-000-000",
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
elder_abuse: "073-011-000-000-000-000-000",
|
|
2448
|
+
domestic_family_violence: "073-009-000-000-000-000-000",
|
|
2449
|
+
dui_dwi_incident: "073-010-000-000-000-000-000",
|
|
2450
|
+
elder_abuse_or_neglect: "073-011-000-000-000-000-000",
|
|
2459
2451
|
gang_violence: "073-012-000-000-000-000-000",
|
|
2460
2452
|
hate_crime: "073-013-000-000-000-000-000",
|
|
2461
2453
|
homicide: "073-014-000-000-000-000-000",
|
|
2462
|
-
|
|
2454
|
+
identity_theft_fraud_financial_crime: "073-015-000-000-000-000-000",
|
|
2463
2455
|
kidnapping_custodial: "073-016-000-000-000-000-000",
|
|
2464
2456
|
kidnapping_noncustodial: "073-017-000-000-000-000-000",
|
|
2465
2457
|
mass_violence: "073-018-000-000-000-000-000",
|
|
2466
|
-
|
|
2467
|
-
|
|
2458
|
+
other_voca_ovc: "073-019-000-000-000-000-000",
|
|
2459
|
+
other_vehicular_victimization: "073-020-000-000-000-000-000",
|
|
2468
2460
|
robbery: "073-021-000-000-000-000-000",
|
|
2469
2461
|
stalking_harassment: "073-022-000-000-000-000-000",
|
|
2470
|
-
|
|
2462
|
+
survivor_of_homicide_victim: "073-023-000-000-000-000-000",
|
|
2471
2463
|
teen_dating_victimization: "073-024-000-000-000-000-000",
|
|
2472
|
-
terrorism: "073-025-000-000-000-000-000"
|
|
2464
|
+
terrorism: "073-025-000-000-000-000-000",
|
|
2465
|
+
sexual_abuse_assault: "073-026-000-000-000-000-000",
|
|
2466
|
+
physical_abuse_or_neglect: "073-027-000-000-000-000-000",
|
|
2467
|
+
physical_assault: "073-028-000-000-000-000-000",
|
|
2468
|
+
commercial_sexual_exploitation_minor: "073-029-000-000-000-000-000",
|
|
2469
|
+
sexual_exploitation: "073-030-000-000-000-000-000",
|
|
2470
|
+
labor_exploitation: "073-031-000-000-000-000-000",
|
|
2471
|
+
female_genital_mutilation_cutting: "073-032-000-000-000-000-000",
|
|
2472
|
+
forced_marriage: "073-033-000-000-000-000-000",
|
|
2473
|
+
cyber_crimes: "073-034-000-000-000-000-000"
|
|
2473
2474
|
};
|
|
2474
2475
|
var HtTypeKeys = {
|
|
2475
2476
|
missingness_root: "072-000-000-000-000-000-000",
|