@htilabs/platform-common-models 0.19.0 → 0.20.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.
- package/dist/cvcs/index.cjs +4769 -643
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +5036 -606
- package/dist/cvcs/index.d.ts +5036 -606
- package/dist/cvcs/index.js +4769 -643
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +74 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +77 -4
- package/dist/enums/index.d.ts +77 -4
- package/dist/enums/index.js +74 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/index.cjs +5199 -588
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5189 -588
- package/dist/index.js.map +1 -1
- package/dist/information-scope/index.cjs +440 -0
- package/dist/information-scope/index.cjs.map +1 -0
- package/dist/information-scope/index.d.cts +313 -0
- package/dist/information-scope/index.d.ts +313 -0
- package/dist/information-scope/index.js +404 -0
- package/dist/information-scope/index.js.map +1 -0
- package/dist/services/index.cjs +414 -2
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +1 -0
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.js +403 -1
- package/dist/services/index.js.map +1 -1
- package/package.json +32 -26
- package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
- package/src/__tests__/core-information-scope-invariant.test.ts +709 -456
- package/src/__tests__/cvc-sot-snapshot.test.ts +16 -17
- package/src/__tests__/cvc-structural.test.ts +2 -2
- package/src/__tests__/location-type-routing-invariant.test.ts +25 -8
- package/src/cvcs/coreInformationScope.v2.0.0.json +5396 -0
- package/src/cvcs/index.ts +2 -2
- package/src/cvcs/roiScope.v1.3.0.json +360 -0
- package/src/generated/cvc-enums.ts +77 -4
- package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.migrations.csv +106 -0
- package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.rows.csv +117 -0
- package/src/services/__tests__/fixtures/infoscope-v4/loadInfoscopeV4Fixtures.ts +116 -0
- package/src/services/__tests__/informationScopeResolver.test.ts +964 -0
- package/src/services/index.ts +10 -3
- package/src/services/informationScope.ts +10 -0
- package/src/services/informationScopeResolver.ts +672 -0
- package/src/services/informationScopeSot.ts +161 -0
- package/src/cvcs/coreInformationScope.v1.1.0.json +0 -1290
- package/src/cvcs/roiScope.v1.2.0.json +0 -340
package/dist/enums/index.d.cts
CHANGED
|
@@ -3805,9 +3805,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
|
|
|
3805
3805
|
};
|
|
3806
3806
|
type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
3807
3807
|
/**
|
|
3808
|
-
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236
|
|
3808
|
+
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236 v4 tree, SOT v2.0.0: 115 live rows + 27 RETIRED tombstones. Canon depth 0–3 — top layer (System metadata · Narrative notes · Primary client · Other named persons), then client category / person type, then sub-category / a person type's category, then instrument row / a person type's sub-category — read off parentCode / parentKey, NOT the code: every v1.1.0 code is unchanged and new rows append. A canon `.` is `__` in the key (`offenders__identifying`; canon spelling on `canonicalCode`). Every LIVE row but the 28 instrument rows and `identifying__other` is selectable (select-all at any level); detect a category by `rowType`, not `selectable`. Tombstones keep their codes so a stored value resolves, are `selectable: false` + `retired: true`, and name their SELECTION reading in `successors` (a restriction resolves via the `subtract` lines: `restrictionSuccessors`); the envelope `migrations` block is the v3 → v4 from-to table, applied at READ time (a v2-era or unstamped list goes through canon's v2 → v3 table first; `widens: true` marks readings wider than v3). Distinct from the sibling `roi_scope` domain, the LEGACY flat item vocabulary: every one of its 27 substantive keys is an entry here, spelled identically)
|
|
3809
3809
|
*
|
|
3810
|
-
* Domain: `core_information_scope` · Version:
|
|
3810
|
+
* Domain: `core_information_scope` · Version: 2.0.0 · Entries: 146
|
|
3811
3811
|
*/
|
|
3812
3812
|
declare const CoreInformationScopeKeys: {
|
|
3813
3813
|
readonly missingness_root: "236-000-000-000-000-000-000";
|
|
@@ -3820,6 +3820,7 @@ declare const CoreInformationScopeKeys: {
|
|
|
3820
3820
|
readonly addresses: "236-001-003-000-000-000-000";
|
|
3821
3821
|
readonly additional_ids: "236-001-004-000-000-000-000";
|
|
3822
3822
|
readonly demographics: "236-001-005-000-000-000-000";
|
|
3823
|
+
readonly identifying__other: "236-001-006-000-000-000-000";
|
|
3823
3824
|
readonly risk: "236-002-000-000-000-000-000";
|
|
3824
3825
|
readonly screen_indicators: "236-002-001-000-000-000-000";
|
|
3825
3826
|
readonly victimization: "236-002-002-000-000-000-000";
|
|
@@ -3862,12 +3863,14 @@ declare const CoreInformationScopeKeys: {
|
|
|
3862
3863
|
readonly mental_health_screen: "236-006-007-000-000-000-000";
|
|
3863
3864
|
readonly trauma_and_coping_screen: "236-006-008-000-000-000-000";
|
|
3864
3865
|
readonly behavioral_health_intake: "236-006-009-000-000-000-000";
|
|
3866
|
+
readonly health_status: "236-006-010-000-000-000-000";
|
|
3865
3867
|
readonly immigration_legal_status: "236-007-000-000-000-000-000";
|
|
3866
3868
|
readonly immigration_status: "236-007-001-000-000-000-000";
|
|
3867
3869
|
readonly uscis_alien_number: "236-007-002-000-000-000-000";
|
|
3868
3870
|
readonly federal_protection_applications: "236-007-003-000-000-000-000";
|
|
3869
3871
|
readonly tvap_enrollment: "236-007-004-000-000-000-000";
|
|
3870
3872
|
readonly le_report_status: "236-007-005-000-000-000-000";
|
|
3873
|
+
readonly immigration_applications: "236-007-006-000-000-000-000";
|
|
3871
3874
|
readonly system: "236-008-000-000-000-000-000";
|
|
3872
3875
|
readonly system_info: "236-008-001-000-000-000-000";
|
|
3873
3876
|
readonly network_associations: "236-009-000-000-000-000-000";
|
|
@@ -3883,12 +3886,82 @@ declare const CoreInformationScopeKeys: {
|
|
|
3883
3886
|
readonly object_identifiers: "236-012-000-000-000-000-000";
|
|
3884
3887
|
readonly phone_identifiers: "236-012-001-000-000-000-000";
|
|
3885
3888
|
readonly object_identity_attributes: "236-012-002-000-000-000-000";
|
|
3889
|
+
readonly instruments: "236-013-000-000-000-000-000";
|
|
3890
|
+
readonly instrument_summary: "236-013-001-000-000-000-000";
|
|
3891
|
+
readonly summary_initial_screen: "236-013-001-001-000-000-000";
|
|
3892
|
+
readonly summary_mental_health_screen: "236-013-001-002-000-000-000";
|
|
3893
|
+
readonly summary_behavioral_health_intake: "236-013-001-003-000-000-000";
|
|
3894
|
+
readonly summary_trauma_and_coping_screen: "236-013-001-004-000-000-000";
|
|
3895
|
+
readonly summary_ae_intake: "236-013-001-005-000-000-000";
|
|
3896
|
+
readonly summary_ida: "236-013-001-006-000-000-000";
|
|
3897
|
+
readonly summary_lap: "236-013-001-007-000-000-000";
|
|
3898
|
+
readonly summary_danger_assessment: "236-013-001-008-000-000-000";
|
|
3899
|
+
readonly summary_stalking_assessment: "236-013-001-009-000-000-000";
|
|
3900
|
+
readonly summary_injury_and_strangulation: "236-013-001-010-000-000-000";
|
|
3901
|
+
readonly summary_hope_scale: "236-013-001-011-000-000-000";
|
|
3902
|
+
readonly summary_needs_assessment: "236-013-001-012-000-000-000";
|
|
3903
|
+
readonly summary_tra: "236-013-001-013-000-000-000";
|
|
3904
|
+
readonly summary_findings: "236-013-001-014-000-000-000";
|
|
3905
|
+
readonly instrument_full: "236-013-002-000-000-000-000";
|
|
3906
|
+
readonly full_initial_screen: "236-013-002-001-000-000-000";
|
|
3907
|
+
readonly full_mental_health_screen: "236-013-002-002-000-000-000";
|
|
3908
|
+
readonly full_behavioral_health_intake: "236-013-002-003-000-000-000";
|
|
3909
|
+
readonly full_trauma_and_coping_screen: "236-013-002-004-000-000-000";
|
|
3910
|
+
readonly full_ae_intake: "236-013-002-005-000-000-000";
|
|
3911
|
+
readonly full_ida: "236-013-002-006-000-000-000";
|
|
3912
|
+
readonly full_lap: "236-013-002-007-000-000-000";
|
|
3913
|
+
readonly full_danger_assessment: "236-013-002-008-000-000-000";
|
|
3914
|
+
readonly full_stalking_assessment: "236-013-002-009-000-000-000";
|
|
3915
|
+
readonly full_injury_and_strangulation: "236-013-002-010-000-000-000";
|
|
3916
|
+
readonly full_hope_scale: "236-013-002-011-000-000-000";
|
|
3917
|
+
readonly full_needs_assessment: "236-013-002-012-000-000-000";
|
|
3918
|
+
readonly full_tra: "236-013-002-013-000-000-000";
|
|
3919
|
+
readonly full_findings: "236-013-002-014-000-000-000";
|
|
3920
|
+
readonly relationships_household: "236-014-000-000-000-000-000";
|
|
3921
|
+
readonly primary_client: "236-015-000-000-000-000-000";
|
|
3922
|
+
readonly other_named_persons: "236-016-000-000-000-000-000";
|
|
3923
|
+
readonly offenders: "236-016-001-000-000-000-000";
|
|
3924
|
+
readonly offenders__identifying: "236-016-001-001-000-000-000";
|
|
3925
|
+
readonly offenders__risk: "236-016-001-002-000-000-000";
|
|
3926
|
+
readonly offenders__contact: "236-016-001-003-000-000-000";
|
|
3927
|
+
readonly offenders__safe_locations: "236-016-001-003-002-000-000";
|
|
3928
|
+
readonly offenders__services: "236-016-001-004-000-000-000";
|
|
3929
|
+
readonly offenders__health_accommodation: "236-016-001-006-000-000-000";
|
|
3930
|
+
readonly offenders__immigration_legal_status: "236-016-001-007-000-000-000";
|
|
3931
|
+
readonly offenders__instruments: "236-016-001-013-000-000-000";
|
|
3932
|
+
readonly offenders__instrument_summary: "236-016-001-013-001-000-000";
|
|
3933
|
+
readonly offenders__instrument_full: "236-016-001-013-002-000-000";
|
|
3934
|
+
readonly offenders__relationships_household: "236-016-001-014-000-000-000";
|
|
3935
|
+
readonly family: "236-016-002-000-000-000-000";
|
|
3936
|
+
readonly family__identifying: "236-016-002-001-000-000-000";
|
|
3937
|
+
readonly family__risk: "236-016-002-002-000-000-000";
|
|
3938
|
+
readonly family__contact: "236-016-002-003-000-000-000";
|
|
3939
|
+
readonly family__safe_locations: "236-016-002-003-002-000-000";
|
|
3940
|
+
readonly family__services: "236-016-002-004-000-000-000";
|
|
3941
|
+
readonly family__health_accommodation: "236-016-002-006-000-000-000";
|
|
3942
|
+
readonly family__immigration_legal_status: "236-016-002-007-000-000-000";
|
|
3943
|
+
readonly family__instruments: "236-016-002-013-000-000-000";
|
|
3944
|
+
readonly family__instrument_summary: "236-016-002-013-001-000-000";
|
|
3945
|
+
readonly family__instrument_full: "236-016-002-013-002-000-000";
|
|
3946
|
+
readonly family__relationships_household: "236-016-002-014-000-000-000";
|
|
3947
|
+
readonly others: "236-016-003-000-000-000-000";
|
|
3948
|
+
readonly others__identifying: "236-016-003-001-000-000-000";
|
|
3949
|
+
readonly others__risk: "236-016-003-002-000-000-000";
|
|
3950
|
+
readonly others__contact: "236-016-003-003-000-000-000";
|
|
3951
|
+
readonly others__safe_locations: "236-016-003-003-002-000-000";
|
|
3952
|
+
readonly others__services: "236-016-003-004-000-000-000";
|
|
3953
|
+
readonly others__health_accommodation: "236-016-003-006-000-000-000";
|
|
3954
|
+
readonly others__immigration_legal_status: "236-016-003-007-000-000-000";
|
|
3955
|
+
readonly others__instruments: "236-016-003-013-000-000-000";
|
|
3956
|
+
readonly others__instrument_summary: "236-016-003-013-001-000-000";
|
|
3957
|
+
readonly others__instrument_full: "236-016-003-013-002-000-000";
|
|
3958
|
+
readonly others__relationships_household: "236-016-003-014-000-000-000";
|
|
3886
3959
|
};
|
|
3887
3960
|
type CoreInformationScopeKey = keyof typeof CoreInformationScopeKeys;
|
|
3888
3961
|
/**
|
|
3889
|
-
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; LEGACY flat item vocabulary, superseded for new work by `core_information_scope` (CVC-236). 27 ROI scope ITEMS:
|
|
3962
|
+
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; LEGACY flat item vocabulary, superseded for new work by `core_information_scope` (CVC-236). 27 ROI scope ITEMS: 14 live + 13 RETIRED tombstones, each matching its CVC-236 twin (`screen_notes`, `background` retired 2026-10-05 and include nothing; 11 more retired by the CVC-236 v4 tree, SOT v2.0.0, each reading as its twin's `successors`). Tombstones keep their codes so a stored value resolves, but are `selectable: false` + `retired: true` — never offer them. The item axis only — named bundles over these items are ROI_SCOPE_PRESET_NAMES).
|
|
3890
3963
|
*
|
|
3891
|
-
* Domain: `roi_scope` · Version: 1.
|
|
3964
|
+
* Domain: `roi_scope` · Version: 1.3.0 · Entries: 31
|
|
3892
3965
|
*/
|
|
3893
3966
|
declare const RoiScopeKeys: {
|
|
3894
3967
|
readonly missingness_root: "983-000-000-000-000-000-000";
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -3805,9 +3805,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
|
|
|
3805
3805
|
};
|
|
3806
3806
|
type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
3807
3807
|
/**
|
|
3808
|
-
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236
|
|
3808
|
+
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236 v4 tree, SOT v2.0.0: 115 live rows + 27 RETIRED tombstones. Canon depth 0–3 — top layer (System metadata · Narrative notes · Primary client · Other named persons), then client category / person type, then sub-category / a person type's category, then instrument row / a person type's sub-category — read off parentCode / parentKey, NOT the code: every v1.1.0 code is unchanged and new rows append. A canon `.` is `__` in the key (`offenders__identifying`; canon spelling on `canonicalCode`). Every LIVE row but the 28 instrument rows and `identifying__other` is selectable (select-all at any level); detect a category by `rowType`, not `selectable`. Tombstones keep their codes so a stored value resolves, are `selectable: false` + `retired: true`, and name their SELECTION reading in `successors` (a restriction resolves via the `subtract` lines: `restrictionSuccessors`); the envelope `migrations` block is the v3 → v4 from-to table, applied at READ time (a v2-era or unstamped list goes through canon's v2 → v3 table first; `widens: true` marks readings wider than v3). Distinct from the sibling `roi_scope` domain, the LEGACY flat item vocabulary: every one of its 27 substantive keys is an entry here, spelled identically)
|
|
3809
3809
|
*
|
|
3810
|
-
* Domain: `core_information_scope` · Version:
|
|
3810
|
+
* Domain: `core_information_scope` · Version: 2.0.0 · Entries: 146
|
|
3811
3811
|
*/
|
|
3812
3812
|
declare const CoreInformationScopeKeys: {
|
|
3813
3813
|
readonly missingness_root: "236-000-000-000-000-000-000";
|
|
@@ -3820,6 +3820,7 @@ declare const CoreInformationScopeKeys: {
|
|
|
3820
3820
|
readonly addresses: "236-001-003-000-000-000-000";
|
|
3821
3821
|
readonly additional_ids: "236-001-004-000-000-000-000";
|
|
3822
3822
|
readonly demographics: "236-001-005-000-000-000-000";
|
|
3823
|
+
readonly identifying__other: "236-001-006-000-000-000-000";
|
|
3823
3824
|
readonly risk: "236-002-000-000-000-000-000";
|
|
3824
3825
|
readonly screen_indicators: "236-002-001-000-000-000-000";
|
|
3825
3826
|
readonly victimization: "236-002-002-000-000-000-000";
|
|
@@ -3862,12 +3863,14 @@ declare const CoreInformationScopeKeys: {
|
|
|
3862
3863
|
readonly mental_health_screen: "236-006-007-000-000-000-000";
|
|
3863
3864
|
readonly trauma_and_coping_screen: "236-006-008-000-000-000-000";
|
|
3864
3865
|
readonly behavioral_health_intake: "236-006-009-000-000-000-000";
|
|
3866
|
+
readonly health_status: "236-006-010-000-000-000-000";
|
|
3865
3867
|
readonly immigration_legal_status: "236-007-000-000-000-000-000";
|
|
3866
3868
|
readonly immigration_status: "236-007-001-000-000-000-000";
|
|
3867
3869
|
readonly uscis_alien_number: "236-007-002-000-000-000-000";
|
|
3868
3870
|
readonly federal_protection_applications: "236-007-003-000-000-000-000";
|
|
3869
3871
|
readonly tvap_enrollment: "236-007-004-000-000-000-000";
|
|
3870
3872
|
readonly le_report_status: "236-007-005-000-000-000-000";
|
|
3873
|
+
readonly immigration_applications: "236-007-006-000-000-000-000";
|
|
3871
3874
|
readonly system: "236-008-000-000-000-000-000";
|
|
3872
3875
|
readonly system_info: "236-008-001-000-000-000-000";
|
|
3873
3876
|
readonly network_associations: "236-009-000-000-000-000-000";
|
|
@@ -3883,12 +3886,82 @@ declare const CoreInformationScopeKeys: {
|
|
|
3883
3886
|
readonly object_identifiers: "236-012-000-000-000-000-000";
|
|
3884
3887
|
readonly phone_identifiers: "236-012-001-000-000-000-000";
|
|
3885
3888
|
readonly object_identity_attributes: "236-012-002-000-000-000-000";
|
|
3889
|
+
readonly instruments: "236-013-000-000-000-000-000";
|
|
3890
|
+
readonly instrument_summary: "236-013-001-000-000-000-000";
|
|
3891
|
+
readonly summary_initial_screen: "236-013-001-001-000-000-000";
|
|
3892
|
+
readonly summary_mental_health_screen: "236-013-001-002-000-000-000";
|
|
3893
|
+
readonly summary_behavioral_health_intake: "236-013-001-003-000-000-000";
|
|
3894
|
+
readonly summary_trauma_and_coping_screen: "236-013-001-004-000-000-000";
|
|
3895
|
+
readonly summary_ae_intake: "236-013-001-005-000-000-000";
|
|
3896
|
+
readonly summary_ida: "236-013-001-006-000-000-000";
|
|
3897
|
+
readonly summary_lap: "236-013-001-007-000-000-000";
|
|
3898
|
+
readonly summary_danger_assessment: "236-013-001-008-000-000-000";
|
|
3899
|
+
readonly summary_stalking_assessment: "236-013-001-009-000-000-000";
|
|
3900
|
+
readonly summary_injury_and_strangulation: "236-013-001-010-000-000-000";
|
|
3901
|
+
readonly summary_hope_scale: "236-013-001-011-000-000-000";
|
|
3902
|
+
readonly summary_needs_assessment: "236-013-001-012-000-000-000";
|
|
3903
|
+
readonly summary_tra: "236-013-001-013-000-000-000";
|
|
3904
|
+
readonly summary_findings: "236-013-001-014-000-000-000";
|
|
3905
|
+
readonly instrument_full: "236-013-002-000-000-000-000";
|
|
3906
|
+
readonly full_initial_screen: "236-013-002-001-000-000-000";
|
|
3907
|
+
readonly full_mental_health_screen: "236-013-002-002-000-000-000";
|
|
3908
|
+
readonly full_behavioral_health_intake: "236-013-002-003-000-000-000";
|
|
3909
|
+
readonly full_trauma_and_coping_screen: "236-013-002-004-000-000-000";
|
|
3910
|
+
readonly full_ae_intake: "236-013-002-005-000-000-000";
|
|
3911
|
+
readonly full_ida: "236-013-002-006-000-000-000";
|
|
3912
|
+
readonly full_lap: "236-013-002-007-000-000-000";
|
|
3913
|
+
readonly full_danger_assessment: "236-013-002-008-000-000-000";
|
|
3914
|
+
readonly full_stalking_assessment: "236-013-002-009-000-000-000";
|
|
3915
|
+
readonly full_injury_and_strangulation: "236-013-002-010-000-000-000";
|
|
3916
|
+
readonly full_hope_scale: "236-013-002-011-000-000-000";
|
|
3917
|
+
readonly full_needs_assessment: "236-013-002-012-000-000-000";
|
|
3918
|
+
readonly full_tra: "236-013-002-013-000-000-000";
|
|
3919
|
+
readonly full_findings: "236-013-002-014-000-000-000";
|
|
3920
|
+
readonly relationships_household: "236-014-000-000-000-000-000";
|
|
3921
|
+
readonly primary_client: "236-015-000-000-000-000-000";
|
|
3922
|
+
readonly other_named_persons: "236-016-000-000-000-000-000";
|
|
3923
|
+
readonly offenders: "236-016-001-000-000-000-000";
|
|
3924
|
+
readonly offenders__identifying: "236-016-001-001-000-000-000";
|
|
3925
|
+
readonly offenders__risk: "236-016-001-002-000-000-000";
|
|
3926
|
+
readonly offenders__contact: "236-016-001-003-000-000-000";
|
|
3927
|
+
readonly offenders__safe_locations: "236-016-001-003-002-000-000";
|
|
3928
|
+
readonly offenders__services: "236-016-001-004-000-000-000";
|
|
3929
|
+
readonly offenders__health_accommodation: "236-016-001-006-000-000-000";
|
|
3930
|
+
readonly offenders__immigration_legal_status: "236-016-001-007-000-000-000";
|
|
3931
|
+
readonly offenders__instruments: "236-016-001-013-000-000-000";
|
|
3932
|
+
readonly offenders__instrument_summary: "236-016-001-013-001-000-000";
|
|
3933
|
+
readonly offenders__instrument_full: "236-016-001-013-002-000-000";
|
|
3934
|
+
readonly offenders__relationships_household: "236-016-001-014-000-000-000";
|
|
3935
|
+
readonly family: "236-016-002-000-000-000-000";
|
|
3936
|
+
readonly family__identifying: "236-016-002-001-000-000-000";
|
|
3937
|
+
readonly family__risk: "236-016-002-002-000-000-000";
|
|
3938
|
+
readonly family__contact: "236-016-002-003-000-000-000";
|
|
3939
|
+
readonly family__safe_locations: "236-016-002-003-002-000-000";
|
|
3940
|
+
readonly family__services: "236-016-002-004-000-000-000";
|
|
3941
|
+
readonly family__health_accommodation: "236-016-002-006-000-000-000";
|
|
3942
|
+
readonly family__immigration_legal_status: "236-016-002-007-000-000-000";
|
|
3943
|
+
readonly family__instruments: "236-016-002-013-000-000-000";
|
|
3944
|
+
readonly family__instrument_summary: "236-016-002-013-001-000-000";
|
|
3945
|
+
readonly family__instrument_full: "236-016-002-013-002-000-000";
|
|
3946
|
+
readonly family__relationships_household: "236-016-002-014-000-000-000";
|
|
3947
|
+
readonly others: "236-016-003-000-000-000-000";
|
|
3948
|
+
readonly others__identifying: "236-016-003-001-000-000-000";
|
|
3949
|
+
readonly others__risk: "236-016-003-002-000-000-000";
|
|
3950
|
+
readonly others__contact: "236-016-003-003-000-000-000";
|
|
3951
|
+
readonly others__safe_locations: "236-016-003-003-002-000-000";
|
|
3952
|
+
readonly others__services: "236-016-003-004-000-000-000";
|
|
3953
|
+
readonly others__health_accommodation: "236-016-003-006-000-000-000";
|
|
3954
|
+
readonly others__immigration_legal_status: "236-016-003-007-000-000-000";
|
|
3955
|
+
readonly others__instruments: "236-016-003-013-000-000-000";
|
|
3956
|
+
readonly others__instrument_summary: "236-016-003-013-001-000-000";
|
|
3957
|
+
readonly others__instrument_full: "236-016-003-013-002-000-000";
|
|
3958
|
+
readonly others__relationships_household: "236-016-003-014-000-000-000";
|
|
3886
3959
|
};
|
|
3887
3960
|
type CoreInformationScopeKey = keyof typeof CoreInformationScopeKeys;
|
|
3888
3961
|
/**
|
|
3889
|
-
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; LEGACY flat item vocabulary, superseded for new work by `core_information_scope` (CVC-236). 27 ROI scope ITEMS:
|
|
3962
|
+
* Key → positional code map for the `roi_scope` CVC domain (DRAFT-TEMPORARY; LEGACY flat item vocabulary, superseded for new work by `core_information_scope` (CVC-236). 27 ROI scope ITEMS: 14 live + 13 RETIRED tombstones, each matching its CVC-236 twin (`screen_notes`, `background` retired 2026-10-05 and include nothing; 11 more retired by the CVC-236 v4 tree, SOT v2.0.0, each reading as its twin's `successors`). Tombstones keep their codes so a stored value resolves, but are `selectable: false` + `retired: true` — never offer them. The item axis only — named bundles over these items are ROI_SCOPE_PRESET_NAMES).
|
|
3890
3963
|
*
|
|
3891
|
-
* Domain: `roi_scope` · Version: 1.
|
|
3964
|
+
* Domain: `roi_scope` · Version: 1.3.0 · Entries: 31
|
|
3892
3965
|
*/
|
|
3893
3966
|
declare const RoiScopeKeys: {
|
|
3894
3967
|
readonly missingness_root: "983-000-000-000-000-000-000";
|
package/dist/enums/index.js
CHANGED
|
@@ -2918,6 +2918,7 @@ var CoreInformationScopeKeys = {
|
|
|
2918
2918
|
addresses: "236-001-003-000-000-000-000",
|
|
2919
2919
|
additional_ids: "236-001-004-000-000-000-000",
|
|
2920
2920
|
demographics: "236-001-005-000-000-000-000",
|
|
2921
|
+
identifying__other: "236-001-006-000-000-000-000",
|
|
2921
2922
|
risk: "236-002-000-000-000-000-000",
|
|
2922
2923
|
screen_indicators: "236-002-001-000-000-000-000",
|
|
2923
2924
|
victimization: "236-002-002-000-000-000-000",
|
|
@@ -2960,12 +2961,14 @@ var CoreInformationScopeKeys = {
|
|
|
2960
2961
|
mental_health_screen: "236-006-007-000-000-000-000",
|
|
2961
2962
|
trauma_and_coping_screen: "236-006-008-000-000-000-000",
|
|
2962
2963
|
behavioral_health_intake: "236-006-009-000-000-000-000",
|
|
2964
|
+
health_status: "236-006-010-000-000-000-000",
|
|
2963
2965
|
immigration_legal_status: "236-007-000-000-000-000-000",
|
|
2964
2966
|
immigration_status: "236-007-001-000-000-000-000",
|
|
2965
2967
|
uscis_alien_number: "236-007-002-000-000-000-000",
|
|
2966
2968
|
federal_protection_applications: "236-007-003-000-000-000-000",
|
|
2967
2969
|
tvap_enrollment: "236-007-004-000-000-000-000",
|
|
2968
2970
|
le_report_status: "236-007-005-000-000-000-000",
|
|
2971
|
+
immigration_applications: "236-007-006-000-000-000-000",
|
|
2969
2972
|
system: "236-008-000-000-000-000-000",
|
|
2970
2973
|
system_info: "236-008-001-000-000-000-000",
|
|
2971
2974
|
network_associations: "236-009-000-000-000-000-000",
|
|
@@ -2980,7 +2983,77 @@ var CoreInformationScopeKeys = {
|
|
|
2980
2983
|
case_attachments: "236-011-003-000-000-000-000",
|
|
2981
2984
|
object_identifiers: "236-012-000-000-000-000-000",
|
|
2982
2985
|
phone_identifiers: "236-012-001-000-000-000-000",
|
|
2983
|
-
object_identity_attributes: "236-012-002-000-000-000-000"
|
|
2986
|
+
object_identity_attributes: "236-012-002-000-000-000-000",
|
|
2987
|
+
instruments: "236-013-000-000-000-000-000",
|
|
2988
|
+
instrument_summary: "236-013-001-000-000-000-000",
|
|
2989
|
+
summary_initial_screen: "236-013-001-001-000-000-000",
|
|
2990
|
+
summary_mental_health_screen: "236-013-001-002-000-000-000",
|
|
2991
|
+
summary_behavioral_health_intake: "236-013-001-003-000-000-000",
|
|
2992
|
+
summary_trauma_and_coping_screen: "236-013-001-004-000-000-000",
|
|
2993
|
+
summary_ae_intake: "236-013-001-005-000-000-000",
|
|
2994
|
+
summary_ida: "236-013-001-006-000-000-000",
|
|
2995
|
+
summary_lap: "236-013-001-007-000-000-000",
|
|
2996
|
+
summary_danger_assessment: "236-013-001-008-000-000-000",
|
|
2997
|
+
summary_stalking_assessment: "236-013-001-009-000-000-000",
|
|
2998
|
+
summary_injury_and_strangulation: "236-013-001-010-000-000-000",
|
|
2999
|
+
summary_hope_scale: "236-013-001-011-000-000-000",
|
|
3000
|
+
summary_needs_assessment: "236-013-001-012-000-000-000",
|
|
3001
|
+
summary_tra: "236-013-001-013-000-000-000",
|
|
3002
|
+
summary_findings: "236-013-001-014-000-000-000",
|
|
3003
|
+
instrument_full: "236-013-002-000-000-000-000",
|
|
3004
|
+
full_initial_screen: "236-013-002-001-000-000-000",
|
|
3005
|
+
full_mental_health_screen: "236-013-002-002-000-000-000",
|
|
3006
|
+
full_behavioral_health_intake: "236-013-002-003-000-000-000",
|
|
3007
|
+
full_trauma_and_coping_screen: "236-013-002-004-000-000-000",
|
|
3008
|
+
full_ae_intake: "236-013-002-005-000-000-000",
|
|
3009
|
+
full_ida: "236-013-002-006-000-000-000",
|
|
3010
|
+
full_lap: "236-013-002-007-000-000-000",
|
|
3011
|
+
full_danger_assessment: "236-013-002-008-000-000-000",
|
|
3012
|
+
full_stalking_assessment: "236-013-002-009-000-000-000",
|
|
3013
|
+
full_injury_and_strangulation: "236-013-002-010-000-000-000",
|
|
3014
|
+
full_hope_scale: "236-013-002-011-000-000-000",
|
|
3015
|
+
full_needs_assessment: "236-013-002-012-000-000-000",
|
|
3016
|
+
full_tra: "236-013-002-013-000-000-000",
|
|
3017
|
+
full_findings: "236-013-002-014-000-000-000",
|
|
3018
|
+
relationships_household: "236-014-000-000-000-000-000",
|
|
3019
|
+
primary_client: "236-015-000-000-000-000-000",
|
|
3020
|
+
other_named_persons: "236-016-000-000-000-000-000",
|
|
3021
|
+
offenders: "236-016-001-000-000-000-000",
|
|
3022
|
+
offenders__identifying: "236-016-001-001-000-000-000",
|
|
3023
|
+
offenders__risk: "236-016-001-002-000-000-000",
|
|
3024
|
+
offenders__contact: "236-016-001-003-000-000-000",
|
|
3025
|
+
offenders__safe_locations: "236-016-001-003-002-000-000",
|
|
3026
|
+
offenders__services: "236-016-001-004-000-000-000",
|
|
3027
|
+
offenders__health_accommodation: "236-016-001-006-000-000-000",
|
|
3028
|
+
offenders__immigration_legal_status: "236-016-001-007-000-000-000",
|
|
3029
|
+
offenders__instruments: "236-016-001-013-000-000-000",
|
|
3030
|
+
offenders__instrument_summary: "236-016-001-013-001-000-000",
|
|
3031
|
+
offenders__instrument_full: "236-016-001-013-002-000-000",
|
|
3032
|
+
offenders__relationships_household: "236-016-001-014-000-000-000",
|
|
3033
|
+
family: "236-016-002-000-000-000-000",
|
|
3034
|
+
family__identifying: "236-016-002-001-000-000-000",
|
|
3035
|
+
family__risk: "236-016-002-002-000-000-000",
|
|
3036
|
+
family__contact: "236-016-002-003-000-000-000",
|
|
3037
|
+
family__safe_locations: "236-016-002-003-002-000-000",
|
|
3038
|
+
family__services: "236-016-002-004-000-000-000",
|
|
3039
|
+
family__health_accommodation: "236-016-002-006-000-000-000",
|
|
3040
|
+
family__immigration_legal_status: "236-016-002-007-000-000-000",
|
|
3041
|
+
family__instruments: "236-016-002-013-000-000-000",
|
|
3042
|
+
family__instrument_summary: "236-016-002-013-001-000-000",
|
|
3043
|
+
family__instrument_full: "236-016-002-013-002-000-000",
|
|
3044
|
+
family__relationships_household: "236-016-002-014-000-000-000",
|
|
3045
|
+
others: "236-016-003-000-000-000-000",
|
|
3046
|
+
others__identifying: "236-016-003-001-000-000-000",
|
|
3047
|
+
others__risk: "236-016-003-002-000-000-000",
|
|
3048
|
+
others__contact: "236-016-003-003-000-000-000",
|
|
3049
|
+
others__safe_locations: "236-016-003-003-002-000-000",
|
|
3050
|
+
others__services: "236-016-003-004-000-000-000",
|
|
3051
|
+
others__health_accommodation: "236-016-003-006-000-000-000",
|
|
3052
|
+
others__immigration_legal_status: "236-016-003-007-000-000-000",
|
|
3053
|
+
others__instruments: "236-016-003-013-000-000-000",
|
|
3054
|
+
others__instrument_summary: "236-016-003-013-001-000-000",
|
|
3055
|
+
others__instrument_full: "236-016-003-013-002-000-000",
|
|
3056
|
+
others__relationships_household: "236-016-003-014-000-000-000"
|
|
2984
3057
|
};
|
|
2985
3058
|
var RoiScopeKeys = {
|
|
2986
3059
|
missingness_root: "983-000-000-000-000-000-000",
|