@htilabs/platform-common-models 0.12.4 → 0.13.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.
Files changed (63) hide show
  1. package/dist/constants/index.cjs +73 -0
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +69 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
  8. package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
  9. package/dist/cvcs/index.cjs +1065 -236
  10. package/dist/cvcs/index.cjs.map +1 -1
  11. package/dist/cvcs/index.d.cts +1337 -484
  12. package/dist/cvcs/index.d.ts +1337 -484
  13. package/dist/cvcs/index.js +1065 -236
  14. package/dist/cvcs/index.js.map +1 -1
  15. package/dist/enums/index.cjs +32 -17
  16. package/dist/enums/index.cjs.map +1 -1
  17. package/dist/enums/index.d.cts +38 -23
  18. package/dist/enums/index.d.ts +38 -23
  19. package/dist/enums/index.js +32 -17
  20. package/dist/enums/index.js.map +1 -1
  21. package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
  22. package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  23. package/dist/index.cjs +1170 -253
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +3 -3
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +1166 -253
  28. package/dist/index.js.map +1 -1
  29. package/dist/models/index.d.cts +2 -2
  30. package/dist/models/index.d.ts +2 -2
  31. package/dist/{platform-auth-Dv5fu0Fh.d.cts → platform-auth-64U8jjuw.d.cts} +71 -2
  32. package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-64U8jjuw.d.ts} +71 -2
  33. package/dist/schemas/index.cjs +62 -0
  34. package/dist/schemas/index.cjs.map +1 -1
  35. package/dist/schemas/index.d.cts +35 -35
  36. package/dist/schemas/index.d.ts +35 -35
  37. package/dist/schemas/index.js +62 -0
  38. package/dist/schemas/index.js.map +1 -1
  39. package/dist/types/index.d.cts +2 -2
  40. package/dist/types/index.d.ts +2 -2
  41. package/package.json +26 -27
  42. package/src/__tests__/__snapshots__/cvc-sot.snap +12 -12
  43. package/src/__tests__/core-information-scope-invariant.test.ts +28 -0
  44. package/src/__tests__/cvc-drift-gate.test.ts +16 -5
  45. package/src/__tests__/cvc-sot-snapshot.test.ts +24 -14
  46. package/src/__tests__/cvc-structural.test.ts +8 -8
  47. package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
  48. package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
  49. package/src/__tests__/victim-abuse-types-canon.test.ts +301 -0
  50. package/src/constants/ic.ts +158 -0
  51. package/src/cvcs/coreInformationScope.v1.0.0.json +3 -3
  52. package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
  53. package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
  54. package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
  55. package/src/cvcs/index.ts +8 -8
  56. package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
  57. package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
  58. package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
  59. package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
  60. package/src/cvcs/victimAbuseTypes.v1.1.0.json +744 -0
  61. package/src/generated/cvc-enums.ts +38 -23
  62. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
  63. package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
@@ -404,7 +404,18 @@ var IncidentParticipationRoleKeys = {
404
404
  data_entry: "069-004-003-000-000-000-000",
405
405
  other_incident_responder: "069-004-004-000-000-000-000",
406
406
  responding_officer: "069-004-005-000-000-000-000",
407
- legal_professional: "069-004-006-000-000-000-000"
407
+ legal_professional: "069-004-006-000-000-000-000",
408
+ prosecutor: "069-004-006-001-000-000-000",
409
+ vsp_staff: "069-004-007-000-000-000-000",
410
+ healthcare_provider_staff: "069-004-008-000-000-000-000",
411
+ law_enforcement_personnel: "069-004-009-000-000-000-000",
412
+ lead_investigator: "069-004-009-001-000-000-000",
413
+ investigator: "069-004-009-002-000-000-000",
414
+ analyst: "069-004-009-003-000-000-000",
415
+ le_officer: "069-004-009-004-000-000-000",
416
+ other_response_personnel: "069-004-010-000-000-000-000",
417
+ data_entry_staff: "069-004-011-000-000-000-000",
418
+ task_force: "069-004-012-000-000-000-000"
408
419
  };
409
420
  var IncidentInvolvementRoleKeys = {
410
421
  missingness_root: "130-000-000-000-000-000-000",
@@ -1259,14 +1270,17 @@ var ReferralEntityCategoryKeys = {
1259
1270
  other_law_enforcement: "048-007-003-005-000-000-000",
1260
1271
  courts_prosecution: "048-007-004-000-000-000-000",
1261
1272
  correction_probation: "048-007-005-000-000-000-000",
1273
+ adult_protective_services: "048-007-006-000-000-000-000",
1262
1274
  health_behavioral_health: "048-008-000-000-000-000-000",
1263
1275
  inpatient_psychiatric_facility: "048-008-001-000-000-000-000",
1264
1276
  healthcare_provider: "048-008-002-000-000-000-000",
1265
1277
  education: "048-009-000-000-000-000-000",
1278
+ school_academic_institution: "048-009-001-000-000-000-000",
1266
1279
  victim_community_service_providers: "048-010-000-000-000-000-000",
1267
1280
  child_advocacy_center: "048-010-001-000-000-000-000",
1268
1281
  victim_service_provider: "048-010-002-000-000-000-000",
1269
1282
  community_based_service_provider: "048-010-003-000-000-000-000",
1283
+ legal_services_provider: "048-010-004-000-000-000-000",
1270
1284
  coordination_governance: "048-011-000-000-000-000-000",
1271
1285
  mdt: "048-011-001-000-000-000-000",
1272
1286
  coalition: "048-011-002-000-000-000-000",
@@ -2644,35 +2658,36 @@ var HmisRelationshipToHohKeys = {
2644
2658
  non_relation_member: "129-005-000-000-000-000-000"
2645
2659
  };
2646
2660
  var VictimAbuseTypesKeys = {
2647
- missingness_root: "073-000-000-000-000-000-000",
2648
- unknown: "073-000-000-000-000-000-001",
2649
- anonymous: "073-000-000-000-000-000-002",
2650
- data_not_collected: "073-000-000-000-000-000-003",
2651
- adult_physical_assault: "073-001-000-000-000-000-000",
2652
- adult_sexual_assault: "073-002-000-000-000-000-000",
2653
2661
  arson: "073-003-000-000-000-000-000",
2654
2662
  bullying: "073-004-000-000-000-000-000",
2655
2663
  burglary: "073-005-000-000-000-000-000",
2656
- child_physical_abuse_or_neglect: "073-006-000-000-000-000-000",
2657
2664
  child_pornography: "073-007-000-000-000-000-000",
2658
- child_sexual_abuse_assault: "073-008-000-000-000-000-000",
2659
- domestic_and_or_family_violence: "073-009-000-000-000-000-000",
2660
- dui_dwi_incidents: "073-010-000-000-000-000-000",
2661
- elder_abuse: "073-011-000-000-000-000-000",
2665
+ domestic_family_violence: "073-009-000-000-000-000-000",
2666
+ dui_dwi_incident: "073-010-000-000-000-000-000",
2667
+ elder_abuse_or_neglect: "073-011-000-000-000-000-000",
2662
2668
  gang_violence: "073-012-000-000-000-000-000",
2663
2669
  hate_crime: "073-013-000-000-000-000-000",
2664
2670
  homicide: "073-014-000-000-000-000-000",
2665
- identity_theft: "073-015-000-000-000-000-000",
2671
+ identity_theft_fraud_financial_crime: "073-015-000-000-000-000-000",
2666
2672
  kidnapping_custodial: "073-016-000-000-000-000-000",
2667
2673
  kidnapping_noncustodial: "073-017-000-000-000-000-000",
2668
2674
  mass_violence: "073-018-000-000-000-000-000",
2669
- other: "073-019-000-000-000-000-000",
2670
- other_vehicular: "073-020-000-000-000-000-000",
2675
+ other_voca_ovc: "073-019-000-000-000-000-000",
2676
+ other_vehicular_victimization: "073-020-000-000-000-000-000",
2671
2677
  robbery: "073-021-000-000-000-000-000",
2672
2678
  stalking_harassment: "073-022-000-000-000-000-000",
2673
- survivors_of_homicide_victims: "073-023-000-000-000-000-000",
2679
+ survivor_of_homicide_victim: "073-023-000-000-000-000-000",
2674
2680
  teen_dating_victimization: "073-024-000-000-000-000-000",
2675
- terrorism: "073-025-000-000-000-000-000"
2681
+ terrorism: "073-025-000-000-000-000-000",
2682
+ sexual_abuse_assault: "073-026-000-000-000-000-000",
2683
+ physical_abuse_or_neglect: "073-027-000-000-000-000-000",
2684
+ physical_assault: "073-028-000-000-000-000-000",
2685
+ commercial_sexual_exploitation_minor: "073-029-000-000-000-000-000",
2686
+ sexual_exploitation: "073-030-000-000-000-000-000",
2687
+ labor_exploitation: "073-031-000-000-000-000-000",
2688
+ female_genital_mutilation_cutting: "073-032-000-000-000-000-000",
2689
+ forced_marriage: "073-033-000-000-000-000-000",
2690
+ cyber_crimes: "073-034-000-000-000-000-000"
2676
2691
  };
2677
2692
  var HtTypeKeys = {
2678
2693
  missingness_root: "072-000-000-000-000-000-000",