@htilabs/platform-common-models 0.14.0 → 0.15.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 (35) hide show
  1. package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-DaDrEuTa.d.cts} +44 -44
  2. package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-DaDrEuTa.d.ts} +44 -44
  3. package/dist/cvcs/index.cjs +116 -25
  4. package/dist/cvcs/index.cjs.map +1 -1
  5. package/dist/cvcs/index.d.cts +124 -30
  6. package/dist/cvcs/index.d.ts +124 -30
  7. package/dist/cvcs/index.js +116 -25
  8. package/dist/cvcs/index.js.map +1 -1
  9. package/dist/enums/index.cjs +1 -0
  10. package/dist/enums/index.cjs.map +1 -1
  11. package/dist/enums/index.d.cts +3 -2
  12. package/dist/enums/index.d.ts +3 -2
  13. package/dist/enums/index.js +1 -0
  14. package/dist/enums/index.js.map +1 -1
  15. package/dist/{index-CDoqrfc1.d.ts → index-C0J3f169.d.ts} +1 -1
  16. package/dist/{index-Zu_mOJRn.d.cts → index-EPjPjR0z.d.cts} +1 -1
  17. package/dist/index.cjs +117 -25
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +117 -25
  22. package/dist/index.js.map +1 -1
  23. package/dist/models/index.d.cts +2 -2
  24. package/dist/models/index.d.ts +2 -2
  25. package/dist/schemas/index.d.cts +35 -35
  26. package/dist/schemas/index.d.ts +35 -35
  27. package/package.json +27 -26
  28. package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
  29. package/src/__tests__/core-information-scope-invariant.test.ts +204 -15
  30. package/src/__tests__/cvc-sot-snapshot.test.ts +11 -7
  31. package/src/__tests__/cvc-structural.test.ts +1 -1
  32. package/src/__tests__/location-type-routing-invariant.test.ts +1 -1
  33. package/src/cvcs/{coreInformationScope.v1.0.0.json → coreInformationScope.v1.1.0.json} +113 -22
  34. package/src/cvcs/index.ts +1 -1
  35. package/src/generated/cvc-enums.ts +3 -2
@@ -3803,9 +3803,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
3803
3803
  };
3804
3804
  type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
3805
3805
  /**
3806
- * Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 56 authorization-grain UNITS. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — roi_scope's 27 substantive keys are a strict SUBSET of these 56 units, with no renames, so adoption is additive and no stored ROI changes meaning).
3806
+ * Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 55 authorization-grain UNITS + 2 RETIRED tombstones. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Tombstones (`screen_notes`, `background`; retired 2026-10-05) keep their codes so a stored value resolves, but are `selectable: false` + `retired: true` and include nothing — offer only selectable children. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — every one of roi_scope's 27 substantive keys resolves here with no renames (25 live units, 2 tombstones), so a stored ROI never widens).
3807
3807
  *
3808
- * Domain: `core_information_scope` · Version: 1.0.0 · Entries: 72
3808
+ * Domain: `core_information_scope` · Version: 1.1.0 · Entries: 73
3809
3809
  */
3810
3810
  declare const CoreInformationScopeKeys: {
3811
3811
  readonly missingness_root: "236-000-000-000-000-000-000";
@@ -3849,6 +3849,7 @@ declare const CoreInformationScopeKeys: {
3849
3849
  readonly screen_notes: "236-005-001-000-000-000-000";
3850
3850
  readonly case_notes: "236-005-002-000-000-000-000";
3851
3851
  readonly background: "236-005-003-000-000-000-000";
3852
+ readonly session_summary: "236-005-004-000-000-000-000";
3852
3853
  readonly health_accommodation: "236-006-000-000-000-000-000";
3853
3854
  readonly accommodation_needs: "236-006-001-000-000-000-000";
3854
3855
  readonly disability_subtypes: "236-006-002-000-000-000-000";
@@ -3803,9 +3803,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
3803
3803
  };
3804
3804
  type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
3805
3805
  /**
3806
- * Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 56 authorization-grain UNITS. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — roi_scope's 27 substantive keys are a strict SUBSET of these 56 units, with no renames, so adoption is additive and no stored ROI changes meaning).
3806
+ * Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 55 authorization-grain UNITS + 2 RETIRED tombstones. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Tombstones (`screen_notes`, `background`; retired 2026-10-05) keep their codes so a stored value resolves, but are `selectable: false` + `retired: true` and include nothing — offer only selectable children. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — every one of roi_scope's 27 substantive keys resolves here with no renames (25 live units, 2 tombstones), so a stored ROI never widens).
3807
3807
  *
3808
- * Domain: `core_information_scope` · Version: 1.0.0 · Entries: 72
3808
+ * Domain: `core_information_scope` · Version: 1.1.0 · Entries: 73
3809
3809
  */
3810
3810
  declare const CoreInformationScopeKeys: {
3811
3811
  readonly missingness_root: "236-000-000-000-000-000-000";
@@ -3849,6 +3849,7 @@ declare const CoreInformationScopeKeys: {
3849
3849
  readonly screen_notes: "236-005-001-000-000-000-000";
3850
3850
  readonly case_notes: "236-005-002-000-000-000-000";
3851
3851
  readonly background: "236-005-003-000-000-000-000";
3852
+ readonly session_summary: "236-005-004-000-000-000-000";
3852
3853
  readonly health_accommodation: "236-006-000-000-000-000-000";
3853
3854
  readonly accommodation_needs: "236-006-001-000-000-000-000";
3854
3855
  readonly disability_subtypes: "236-006-002-000-000-000-000";
@@ -2947,6 +2947,7 @@ var CoreInformationScopeKeys = {
2947
2947
  screen_notes: "236-005-001-000-000-000-000",
2948
2948
  case_notes: "236-005-002-000-000-000-000",
2949
2949
  background: "236-005-003-000-000-000-000",
2950
+ session_summary: "236-005-004-000-000-000-000",
2950
2951
  health_accommodation: "236-006-000-000-000-000-000",
2951
2952
  accommodation_needs: "236-006-001-000-000-000-000",
2952
2953
  disability_subtypes: "236-006-002-000-000-000-000",