@htilabs/platform-common-models 0.13.0 → 0.14.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 (63) hide show
  1. package/dist/constants/index.cjs +106 -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 +98 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
  8. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
  9. package/dist/cvcs/index.cjs +562 -120
  10. package/dist/cvcs/index.cjs.map +1 -1
  11. package/dist/cvcs/index.d.cts +589 -121
  12. package/dist/cvcs/index.d.ts +589 -121
  13. package/dist/cvcs/index.js +562 -120
  14. package/dist/cvcs/index.js.map +1 -1
  15. package/dist/enums/index.cjs +22 -2
  16. package/dist/enums/index.cjs.map +1 -1
  17. package/dist/enums/index.d.cts +29 -9
  18. package/dist/enums/index.d.ts +29 -9
  19. package/dist/enums/index.js +22 -2
  20. package/dist/enums/index.js.map +1 -1
  21. package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
  22. package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  23. package/dist/index.cjs +690 -122
  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 +682 -122
  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-CrF5U_JH.d.cts} +113 -3
  32. package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-CrF5U_JH.d.ts} +113 -3
  33. package/dist/schemas/index.cjs +296 -0
  34. package/dist/schemas/index.cjs.map +1 -1
  35. package/dist/schemas/index.d.cts +11 -11
  36. package/dist/schemas/index.d.ts +11 -11
  37. package/dist/schemas/index.js +296 -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/__sot__/coreIndicatorFields.ts +4 -4
  43. package/src/__sot__/coreIndicators.pin.json +62 -2
  44. package/src/__sot__/scoringEmits.pin.json +9 -4
  45. package/src/__tests__/__snapshots__/cvc-sot.snap +11 -11
  46. package/src/__tests__/cvc-136-scoring-invariant.test.ts +89 -28
  47. package/src/__tests__/cvc-drift-gate.test.ts +165 -32
  48. package/src/__tests__/cvc-sot-snapshot.test.ts +21 -12
  49. package/src/__tests__/cvc-structural.test.ts +8 -8
  50. package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
  51. package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
  52. package/src/constants/ic.ts +321 -3
  53. package/src/cvcs/{coreIndicators.v1.0.0.json → coreIndicators.v1.1.0.json} +93 -10
  54. package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
  55. package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
  56. package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
  57. package/src/cvcs/index.ts +8 -8
  58. package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
  59. package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
  60. package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
  61. package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
  62. package/src/generated/cvc-enums.ts +29 -9
  63. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
@@ -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",
@@ -3451,7 +3465,13 @@ var CoreIndicatorKeys = {
3451
3465
  sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
3452
3466
  sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
3453
3467
  trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000",
3454
- active_protective_order: "136-216-000-000-000-000-000"
3468
+ active_protective_order: "136-216-000-000-000-000-000",
3469
+ disclosed_fear_at_intake: "136-217-000-000-000-000-000",
3470
+ does_not_control_housing: "136-218-000-000-000-000-000",
3471
+ oppressive_home_life: "136-219-000-000-000-000-000",
3472
+ recent_separation: "136-220-000-000-000-000-000",
3473
+ survival_sex: "136-221-000-000-000-000-000",
3474
+ unable_to_speak_freely: "136-222-000-000-000-000-000"
3455
3475
  };
3456
3476
  var RiskIdentificationMilestoneKeys = {
3457
3477
  missingness_root: "267-000-000-000-000-000-000",