@htilabs/platform-common-models 0.8.10 → 0.8.13

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 (99) hide show
  1. package/dist/constants/index.cjs +133 -285
  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 +133 -273
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +13075 -859
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +15852 -2457
  10. package/dist/cvcs/index.d.ts +15852 -2457
  11. package/dist/cvcs/index.js +13042 -859
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +14288 -1232
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +1201 -108
  16. package/dist/index.d.ts +1201 -108
  17. package/dist/index.js +14229 -1219
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-BSKYSDKe.d.cts → platform-auth-BfCMuAlC.d.cts} +2 -74
  20. package/dist/{platform-auth-BSKYSDKe.d.ts → platform-auth-BfCMuAlC.d.ts} +2 -74
  21. package/dist/schemas/index.cjs +0 -152
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +0 -152
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/services/index.cjs +0 -3
  26. package/dist/services/index.cjs.map +1 -1
  27. package/dist/services/index.js +0 -3
  28. package/dist/services/index.js.map +1 -1
  29. package/dist/types/index.d.cts +2 -2
  30. package/dist/types/index.d.ts +2 -2
  31. package/package.json +4 -1
  32. package/src/__sot__/README.md +56 -0
  33. package/src/__sot__/coreIndicators.pin.json +215 -0
  34. package/src/__sot__/cvcIndex.pin.json +268 -0
  35. package/src/__sot__/scoringEmits.pin.json +176 -0
  36. package/src/__tests__/__snapshots__/cvc-sot.snap +132 -32
  37. package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
  38. package/src/__tests__/cvc-drift-gate.test.ts +596 -0
  39. package/src/__tests__/cvc-sot-snapshot.test.ts +59 -7
  40. package/src/__tests__/cvc-structural.test.ts +47 -1
  41. package/src/constants/ic.ts +185 -321
  42. package/src/constants/service-catalog.ts +4 -2
  43. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  44. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  45. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  46. package/src/cvcs/{assertionDomain.v1.0.0.json → assertionDomain.v1.1.0.json} +78 -96
  47. package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
  48. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  49. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  50. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  51. package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
  52. package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
  53. package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
  54. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  55. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  56. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  57. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
  58. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  59. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  60. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
  61. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  62. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  63. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  64. package/src/cvcs/index.ts +68 -1
  65. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
  66. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  67. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  68. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  69. package/src/cvcs/nameType.v1.0.0.json +40 -40
  70. package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
  71. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  72. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  73. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  74. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  75. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  76. package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
  77. package/src/cvcs/recencyBand.v1.0.0.json +126 -42
  78. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  79. package/src/cvcs/riskCategory.v1.0.0.json +134 -0
  80. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  81. package/src/cvcs/roiScope.v1.0.0.json +296 -0
  82. package/src/cvcs/roiStatus.v1.0.0.json +106 -0
  83. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
  84. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  85. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  86. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  87. package/src/cvcs/serviceStates.v1.0.0.json +40 -40
  88. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  89. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  90. package/src/cvcs/smtType.v1.0.0.json +40 -40
  91. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  92. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  93. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  94. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  95. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  96. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  97. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  98. package/src/generated/cvc-enums.ts +1248 -105
  99. package/src/services/cvcRegistryService.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "domain": "check_in_phase",
3
3
  "name": "Check-In Phase",
4
- "version": "1.0.0",
5
- "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_check_in_phase.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Flat single-select controlled set authored faithfully; the prototype YAML carries a per-entry program_type (residential|non_residential|any) dimension preserved inline in each definition. May collapse into IC-63 session templates at a later build phase.",
4
+ "version": "1.1.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_check_in_phase.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Flat single-select controlled set authored faithfully; the prototype YAML carries a per-entry program_type (residential|non_residential|any) dimension preserved inline in each definition. May collapse into IC-63 session templates at a later build phase. v1.1.0 appends `phase_2_followup` (907-012) and `phase_3_followup` (907-013). NOTE: no `exit_review` leaf is added — CVC-907 already carries `pre_exit_review` (907-010) and duplicating that semantic is explicitly declined.",
6
6
  "_source": "prototype/data/cvcs/core_check_in_phase.yaml",
7
7
  "levels": {
8
8
  "0": "Unknown or Missing",
@@ -147,6 +147,24 @@
147
147
  "parentCode": null,
148
148
  "childCodes": [],
149
149
  "definition": "Check-in after the survivor has exited the program. Captures sustained outcomes and ongoing support needs. program_type: any."
150
+ },
151
+ {
152
+ "code": "907-012-000-000-000-000-000",
153
+ "key": "phase_2_followup",
154
+ "title": "Phase 2 follow-up",
155
+ "selectable": true,
156
+ "parentCode": null,
157
+ "childCodes": [],
158
+ "definition": "Follow-up check-in attached to the Phase 2 (30-to-60-day) residential window — a follow-up touch inside the phase, as distinct from the phase-boundary check-in itself (`phase_2_60d`). program_type: residential. Added in v1.1.0."
159
+ },
160
+ {
161
+ "code": "907-013-000-000-000-000-000",
162
+ "key": "phase_3_followup",
163
+ "title": "Phase 3 follow-up",
164
+ "selectable": true,
165
+ "parentCode": null,
166
+ "childCodes": [],
167
+ "definition": "Follow-up check-in attached to the Phase 3 (60-to-90-day) residential window — a follow-up touch inside the phase, as distinct from the phase-boundary check-in itself (`phase_3_90d`). program_type: residential. Added in v1.1.0."
150
168
  }
151
169
  ]
152
170
  }