@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.
Files changed (37) hide show
  1. package/dist/cvcs/index.cjs +599 -129
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +865 -391
  4. package/dist/cvcs/index.d.ts +865 -391
  5. package/dist/cvcs/index.js +599 -129
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +17 -16
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +17 -16
  10. package/dist/enums/index.d.ts +17 -16
  11. package/dist/enums/index.js +17 -16
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
  14. package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
  15. package/dist/index.cjs +616 -145
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +616 -145
  20. package/dist/index.js.map +1 -1
  21. package/dist/models/index.d.cts +2 -2
  22. package/dist/models/index.d.ts +2 -2
  23. package/dist/schemas/index.d.cts +25 -25
  24. package/dist/schemas/index.d.ts +25 -25
  25. package/package.json +1 -1
  26. package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
  27. package/src/__tests__/core-information-scope-invariant.test.ts +28 -0
  28. package/src/__tests__/cvc-sot-snapshot.test.ts +6 -3
  29. package/src/__tests__/cvc-structural.test.ts +1 -1
  30. package/src/__tests__/victim-abuse-types-canon.test.ts +301 -0
  31. package/src/cvcs/coreInformationScope.v1.0.0.json +3 -3
  32. package/src/cvcs/index.ts +1 -1
  33. package/src/cvcs/victimAbuseTypes.v1.1.0.json +744 -0
  34. package/src/generated/cvc-enums.ts +17 -16
  35. package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
  36. package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
  37. package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.d.ts} +8 -8
@@ -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.0.0 · Entries: 29
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 child_sexual_abuse_assault: "073-008-000-000-000-000-000";
3220
- readonly domestic_and_or_family_violence: "073-009-000-000-000-000-000";
3221
- readonly dui_dwi_incidents: "073-010-000-000-000-000-000";
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 identity_theft: "073-015-000-000-000-000-000";
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 other: "073-019-000-000-000-000-000";
3231
- readonly other_vehicular: "073-020-000-000-000-000-000";
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 survivors_of_homicide_victims: "073-023-000-000-000-000-000";
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
  /**
@@ -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.0.0 · Entries: 29
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 child_sexual_abuse_assault: "073-008-000-000-000-000-000";
3220
- readonly domestic_and_or_family_violence: "073-009-000-000-000-000-000";
3221
- readonly dui_dwi_incidents: "073-010-000-000-000-000-000";
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 identity_theft: "073-015-000-000-000-000-000";
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 other: "073-019-000-000-000-000-000";
3231
- readonly other_vehicular: "073-020-000-000-000-000-000";
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 survivors_of_homicide_victims: "073-023-000-000-000-000-000";
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
  /**
@@ -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
- child_sexual_abuse_assault: "073-008-000-000-000-000-000",
2456
- domestic_and_or_family_violence: "073-009-000-000-000-000-000",
2457
- dui_dwi_incidents: "073-010-000-000-000-000-000",
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
- identity_theft: "073-015-000-000-000-000-000",
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
- other: "073-019-000-000-000-000-000",
2467
- other_vehicular: "073-020-000-000-000-000-000",
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
- survivors_of_homicide_victims: "073-023-000-000-000-000-000",
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",