@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/src/cvcs/index.ts
CHANGED
|
@@ -164,8 +164,8 @@ import romanticRelationshipChangeTypeSot from "./romanticRelationshipChangeType.
|
|
|
164
164
|
import riskCategorySot from "./riskCategory.v1.0.0.json" with { type: "json" };
|
|
165
165
|
import coreFunctionsSot from "./coreFunctions.v1.1.0.json" with { type: "json" };
|
|
166
166
|
import needsAssessmentChangeTypeSot from "./needsAssessmentChangeType.v1.0.0.json" with { type: "json" };
|
|
167
|
-
import coreInformationScopeSot from "./coreInformationScope.
|
|
168
|
-
import roiScopeSot from "./roiScope.v1.
|
|
167
|
+
import coreInformationScopeSot from "./coreInformationScope.v2.0.0.json" with { type: "json" };
|
|
168
|
+
import roiScopeSot from "./roiScope.v1.3.0.json" with { type: "json" };
|
|
169
169
|
import roiStatusSot from "./roiStatus.v1.0.0.json" with { type: "json" };
|
|
170
170
|
import coreReferralOutcomeSot from "./coreReferralOutcome.v1.0.0.json" with { type: "json" };
|
|
171
171
|
import coreIndicatorsSot from "./coreIndicators.v1.1.0.json" with { type: "json" };
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "roi_scope",
|
|
3
|
+
"name": "ROI Scope",
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering. 0.8.13: COMPLETED against the canonical 27-item source. 0.8.12 shipped 15 of the canonical 27; the missing 12 are added here. Nothing PAVE shipped was invented — this was purely a gap. Canonical source: `HTI_SHARE_SCOPE_GROUPS` in HTI-LEADS-PAVE-Thread-prototype.html @ HEAD a596eb9 (7 groups x items = 27): identifying (5) + risk (4) + contact (3) + notes (3) + health_accommodation (6) + immigration_legal_status (5) + system (1). The GROUP axis (identifying / risk / contact / notes / health_accommodation / immigration_legal_status / system) is a separate presentation concern and is deliberately NOT modelled as hierarchy rows here — this CVC is the flat item vocabulary that an ROI authorizes. PENDING canonical Notion authoring + steward ratification. VERSION 1.2.0 supersedes 1.1.0 (co-bwc): `screen_notes` (983-012) and `background` (983-014) are RETIRED TOMBSTONES, matching CVC-236 `core_information_scope` v1.1.0 (retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI that names one resolves to \"retired\", not \"unknown\". Not additive, hence the version (ADR-CVC-0.8.13 Addendum 2026-10-05; see `_supersedes`). This flat vocabulary is LEGACY: new units (e.g. `session_summary`, 236-005-004) are minted in CVC-236 only and are not mirrored here. VERSION 1.3.0 supersedes 1.2.0: `ida_full`, `ida_consid`, `disability_subtypes`, `mental_health_status`, `substance_use_status`, `chronic_health_status`, `hiv_status`, `uscis_alien_number`, `federal_protection_applications`, `tvap_enrollment`, `le_report_status` are RETIRED TOMBSTONES too, matching CVC-236 `core_information_scope` v2.0.0 (the v4 tree: instrument-era retirements 2026-10-08, Health & accommodation and Immigration & legal status simplified 2026-10-09). Each keeps its code, is `selectable: false` + `retired: true`, and reads as its CVC-236 twin's `successors` (see `_supersedes`).",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 HTI-LEADS-PAVE-Thread-prototype.html HTI_SHARE_SCOPE_GROUPS; v1.2.0 retirements: htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 retired_units (L467); v1.3.0 retirements: platform-common-models coreInformationScope.v2.0.0.json (CVC-236 v4, prototype core_information_scope.v4.draft.yaml @ 615ed0b9)",
|
|
7
|
+
"_supersedes": {
|
|
8
|
+
"version": "1.2.0",
|
|
9
|
+
"keyMap": {
|
|
10
|
+
"missingness_root": "missingness_root",
|
|
11
|
+
"unknown": "unknown",
|
|
12
|
+
"anonymous": "anonymous",
|
|
13
|
+
"data_not_collected": "data_not_collected",
|
|
14
|
+
"names": "names",
|
|
15
|
+
"dob": "dob",
|
|
16
|
+
"addresses": "addresses",
|
|
17
|
+
"additional_ids": "additional_ids",
|
|
18
|
+
"demographics": "demographics",
|
|
19
|
+
"screen_indicators": "screen_indicators",
|
|
20
|
+
"victimization": "victimization",
|
|
21
|
+
"ida_full": "ida_full",
|
|
22
|
+
"ida_consid": "ida_consid",
|
|
23
|
+
"contact_info": "contact_info",
|
|
24
|
+
"service_history": "service_history",
|
|
25
|
+
"screen_notes": "screen_notes",
|
|
26
|
+
"case_notes": "case_notes",
|
|
27
|
+
"background": "background",
|
|
28
|
+
"system_info": "system_info",
|
|
29
|
+
"contact_history": "contact_history",
|
|
30
|
+
"accommodation_needs": "accommodation_needs",
|
|
31
|
+
"disability_subtypes": "disability_subtypes",
|
|
32
|
+
"mental_health_status": "mental_health_status",
|
|
33
|
+
"substance_use_status": "substance_use_status",
|
|
34
|
+
"chronic_health_status": "chronic_health_status",
|
|
35
|
+
"hiv_status": "hiv_status",
|
|
36
|
+
"immigration_status": "immigration_status",
|
|
37
|
+
"uscis_alien_number": "uscis_alien_number",
|
|
38
|
+
"federal_protection_applications": "federal_protection_applications",
|
|
39
|
+
"tvap_enrollment": "tvap_enrollment",
|
|
40
|
+
"le_report_status": "le_report_status"
|
|
41
|
+
},
|
|
42
|
+
"retiredCodes": [],
|
|
43
|
+
"notes": {
|
|
44
|
+
"summary": "Every v1.2.0 key is still an entry in v1.3.0, at its v1.2.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 11 more published items are now RETIRED tombstones (notes below), matching CVC-236 `core_information_scope` v2.0.0 (the v4 tree), which retired the same keys; nothing was added. Unlike the v1.2.0 pair, these tombstones are NOT empty: a stored roi_scope list is unstamped and v2-era, so it reads through canon's v2 -> v3 table first and then through the CVC-236 v2.0.0 `migrations` table (its twin's `successors`), and keeps a v4 reading. Keeps the co-bwc rule: one answer to \"is this offerable\" across both vocabularies.",
|
|
45
|
+
"ida_full": "v1.2.0 `ida_full` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-08 (INFOSCOPE-RETIRE; signed Instruments spec v4, R30). It stays at 983-008 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `full_ida`, `summary_ida` (rule `retired before v4`) — canon's flattened reading, which the conjunctive v2 -> v3 rows can narrow (see the twin's definition).",
|
|
46
|
+
"ida_consid": "v1.2.0 `ida_consid` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-08 (INFOSCOPE-RETIRE; signed Instruments spec v4, R30). It stays at 983-009 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `summary_ida` (rule `retired before v4`) — canon's flattened reading, which the conjunctive v2 -> v3 rows can narrow (see the twin's definition).",
|
|
47
|
+
"disability_subtypes": "v1.2.0 `disability_subtypes` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-018 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`).",
|
|
48
|
+
"mental_health_status": "v1.2.0 `mental_health_status` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-019 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`).",
|
|
49
|
+
"substance_use_status": "v1.2.0 `substance_use_status` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-020 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`).",
|
|
50
|
+
"chronic_health_status": "v1.2.0 `chronic_health_status` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-021 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`).",
|
|
51
|
+
"hiv_status": "v1.2.0 `hiv_status` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-022 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`).",
|
|
52
|
+
"uscis_alien_number": "v1.2.0 `uscis_alien_number` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-024 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_status` (rule `row`).",
|
|
53
|
+
"federal_protection_applications": "v1.2.0 `federal_protection_applications` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-025 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`).",
|
|
54
|
+
"tvap_enrollment": "v1.2.0 `tvap_enrollment` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-026 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`).",
|
|
55
|
+
"le_report_status": "v1.2.0 `le_report_status` was a selectable item. CVC-236 v2.0.0 retired the same key on 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6). It stays at 983-027 as a tombstone (`selectable: false`, `retired: true`); a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`)."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"levels": {
|
|
59
|
+
"0": "Unknown or Missing",
|
|
60
|
+
"1": "ROI scope item"
|
|
61
|
+
},
|
|
62
|
+
"entries": [
|
|
63
|
+
{
|
|
64
|
+
"code": "983-000-000-000-000-000-000",
|
|
65
|
+
"key": "missingness_root",
|
|
66
|
+
"title": "Unknown, Redacted, or Missing",
|
|
67
|
+
"selectable": false,
|
|
68
|
+
"parentCode": null,
|
|
69
|
+
"childCodes": [
|
|
70
|
+
"983-000-000-000-000-000-001",
|
|
71
|
+
"983-000-000-000-000-000-002",
|
|
72
|
+
"983-000-000-000-000-000-003"
|
|
73
|
+
],
|
|
74
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. The PAVE enum enumerates only the substantive scope items, so the quadruplet is added per SOT convention."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"code": "983-000-000-000-000-000-001",
|
|
78
|
+
"key": "unknown",
|
|
79
|
+
"title": "Unknown",
|
|
80
|
+
"selectable": true,
|
|
81
|
+
"parentCode": "983-000-000-000-000-000-000",
|
|
82
|
+
"childCodes": [],
|
|
83
|
+
"definition": "ROI scope item is unknown at time of entry (missingness sentinel)."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"code": "983-000-000-000-000-000-002",
|
|
87
|
+
"key": "anonymous",
|
|
88
|
+
"title": "Anonymous / declined to answer",
|
|
89
|
+
"selectable": true,
|
|
90
|
+
"parentCode": "983-000-000-000-000-000-000",
|
|
91
|
+
"childCodes": [],
|
|
92
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"code": "983-000-000-000-000-000-003",
|
|
96
|
+
"key": "data_not_collected",
|
|
97
|
+
"title": "Data not collected",
|
|
98
|
+
"selectable": true,
|
|
99
|
+
"parentCode": "983-000-000-000-000-000-000",
|
|
100
|
+
"childCodes": [],
|
|
101
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"code": "983-001-000-000-000-000-000",
|
|
105
|
+
"key": "names",
|
|
106
|
+
"title": "Names + aliases",
|
|
107
|
+
"selectable": true,
|
|
108
|
+
"parentCode": null,
|
|
109
|
+
"childCodes": [],
|
|
110
|
+
"definition": "All logged name entries for the subject. Identifying-information scope group."
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"code": "983-002-000-000-000-000-000",
|
|
114
|
+
"key": "dob",
|
|
115
|
+
"title": "Date of birth",
|
|
116
|
+
"selectable": true,
|
|
117
|
+
"parentCode": null,
|
|
118
|
+
"childCodes": [],
|
|
119
|
+
"definition": "The subject's date of birth. Identifying-information scope group."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"code": "983-003-000-000-000-000-000",
|
|
123
|
+
"key": "addresses",
|
|
124
|
+
"title": "Addresses",
|
|
125
|
+
"selectable": true,
|
|
126
|
+
"parentCode": null,
|
|
127
|
+
"childCodes": [],
|
|
128
|
+
"definition": "Logged addresses for the subject. Identifying-information scope group."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"code": "983-004-000-000-000-000-000",
|
|
132
|
+
"key": "additional_ids",
|
|
133
|
+
"title": "Additional identifiers",
|
|
134
|
+
"selectable": true,
|
|
135
|
+
"parentCode": null,
|
|
136
|
+
"childCodes": [],
|
|
137
|
+
"definition": "Other identifiers entered separately from the primary identity record. Identifying-information scope group."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"code": "983-005-000-000-000-000-000",
|
|
141
|
+
"key": "demographics",
|
|
142
|
+
"title": "Demographics",
|
|
143
|
+
"selectable": true,
|
|
144
|
+
"parentCode": null,
|
|
145
|
+
"childCodes": [],
|
|
146
|
+
"definition": "Demographic attributes of the subject. Identifying-information scope group."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"code": "983-006-000-000-000-000-000",
|
|
150
|
+
"key": "screen_indicators",
|
|
151
|
+
"title": "Screen indicators + risk level",
|
|
152
|
+
"selectable": true,
|
|
153
|
+
"parentCode": null,
|
|
154
|
+
"childCodes": [],
|
|
155
|
+
"definition": "Screening indicators and the derived risk level. Risk-related scope group."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"code": "983-007-000-000-000-000-000",
|
|
159
|
+
"key": "victimization",
|
|
160
|
+
"title": "Victimization determination",
|
|
161
|
+
"selectable": true,
|
|
162
|
+
"parentCode": null,
|
|
163
|
+
"childCodes": [],
|
|
164
|
+
"definition": "The recorded victimization determination. Risk-related scope group."
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"code": "983-008-000-000-000-000-000",
|
|
168
|
+
"key": "ida_full",
|
|
169
|
+
"title": "Full IDA answers + notes",
|
|
170
|
+
"selectable": false,
|
|
171
|
+
"parentCode": null,
|
|
172
|
+
"childCodes": [],
|
|
173
|
+
"definition": "RETIRED 2026-10-08 (INFOSCOPE-RETIRE; signed Instruments spec v4, R30), matching its CVC-236 `core_information_scope` v2.0.0 twin. Superseded by the Screens & assessments category (`instruments`): one Summary & outcome row and one Full row per instrument. No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `full_ida`, `summary_ida` (rule `retired before v4`) — canon's flattened reading, which the conjunctive v2 -> v3 rows can narrow (see the twin's definition). It resolves here so a reader can tell retired from unknown.",
|
|
174
|
+
"retired": true
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"code": "983-009-000-000-000-000-000",
|
|
178
|
+
"key": "ida_consid",
|
|
179
|
+
"title": "IDA “Additional considerations”",
|
|
180
|
+
"selectable": false,
|
|
181
|
+
"parentCode": null,
|
|
182
|
+
"childCodes": [],
|
|
183
|
+
"definition": "RETIRED 2026-10-08 (INFOSCOPE-RETIRE; signed Instruments spec v4, R30), matching its CVC-236 `core_information_scope` v2.0.0 twin. Superseded by the Screens & assessments category (`instruments`): one Summary & outcome row and one Full row per instrument. No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `summary_ida` (rule `retired before v4`) — canon's flattened reading, which the conjunctive v2 -> v3 rows can narrow (see the twin's definition). It resolves here so a reader can tell retired from unknown.",
|
|
184
|
+
"retired": true
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"code": "983-010-000-000-000-000-000",
|
|
188
|
+
"key": "contact_info",
|
|
189
|
+
"title": "Contact info + safety preferences",
|
|
190
|
+
"selectable": true,
|
|
191
|
+
"parentCode": null,
|
|
192
|
+
"childCodes": [],
|
|
193
|
+
"definition": "How to reach the subject, plus their contact-safety preferences. Contact & history scope group."
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"code": "983-011-000-000-000-000-000",
|
|
197
|
+
"key": "service_history",
|
|
198
|
+
"title": "Service referrals + needs",
|
|
199
|
+
"selectable": true,
|
|
200
|
+
"parentCode": null,
|
|
201
|
+
"childCodes": [],
|
|
202
|
+
"definition": "Service referrals made and needs recorded for the subject. Contact & history scope group."
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"code": "983-012-000-000-000-000-000",
|
|
206
|
+
"key": "screen_notes",
|
|
207
|
+
"title": "Screen notes",
|
|
208
|
+
"selectable": false,
|
|
209
|
+
"parentCode": null,
|
|
210
|
+
"childCodes": [],
|
|
211
|
+
"definition": "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
212
|
+
"retired": true
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"code": "983-013-000-000-000-000-000",
|
|
216
|
+
"key": "case_notes",
|
|
217
|
+
"title": "Detailed case notes",
|
|
218
|
+
"selectable": true,
|
|
219
|
+
"parentCode": null,
|
|
220
|
+
"childCodes": [],
|
|
221
|
+
"definition": "Detailed narrative case notes. Narrative-notes scope group."
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"code": "983-014-000-000-000-000-000",
|
|
225
|
+
"key": "background",
|
|
226
|
+
"title": "Background information",
|
|
227
|
+
"selectable": false,
|
|
228
|
+
"parentCode": null,
|
|
229
|
+
"childCodes": [],
|
|
230
|
+
"definition": "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. Nothing ever captured it. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
231
|
+
"retired": true
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"code": "983-015-000-000-000-000-000",
|
|
235
|
+
"key": "system_info",
|
|
236
|
+
"title": "System metadata",
|
|
237
|
+
"selectable": true,
|
|
238
|
+
"parentCode": null,
|
|
239
|
+
"childCodes": [],
|
|
240
|
+
"definition": "System-level record metadata (identifiers, timestamps, provenance). System-metadata scope group."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"code": "983-016-000-000-000-000-000",
|
|
244
|
+
"key": "contact_history",
|
|
245
|
+
"title": "Contact history with this agency",
|
|
246
|
+
"selectable": true,
|
|
247
|
+
"parentCode": null,
|
|
248
|
+
"childCodes": [],
|
|
249
|
+
"definition": "Prior contacts/interactions between the subject and this agency. Canonical scope group `contact` (Contact & history)."
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"code": "983-017-000-000-000-000-000",
|
|
253
|
+
"key": "accommodation_needs",
|
|
254
|
+
"title": "Accommodation needs",
|
|
255
|
+
"selectable": true,
|
|
256
|
+
"parentCode": null,
|
|
257
|
+
"childCodes": [],
|
|
258
|
+
"definition": "Accessibility / accommodation needs. Canonical scope group `health_accommodation` (Health & Accommodation)."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"code": "983-018-000-000-000-000-000",
|
|
262
|
+
"key": "disability_subtypes",
|
|
263
|
+
"title": "Disability types",
|
|
264
|
+
"selectable": false,
|
|
265
|
+
"parentCode": null,
|
|
266
|
+
"childCodes": [],
|
|
267
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Health & accommodation collapses to two sub-categories; every health fact rides Health status (`health_status`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
268
|
+
"retired": true
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"code": "983-019-000-000-000-000-000",
|
|
272
|
+
"key": "mental_health_status",
|
|
273
|
+
"title": "Mental health status",
|
|
274
|
+
"selectable": false,
|
|
275
|
+
"parentCode": null,
|
|
276
|
+
"childCodes": [],
|
|
277
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Health & accommodation collapses to two sub-categories; every health fact rides Health status (`health_status`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
278
|
+
"retired": true
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"code": "983-020-000-000-000-000-000",
|
|
282
|
+
"key": "substance_use_status",
|
|
283
|
+
"title": "Substance use status",
|
|
284
|
+
"selectable": false,
|
|
285
|
+
"parentCode": null,
|
|
286
|
+
"childCodes": [],
|
|
287
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Health & accommodation collapses to two sub-categories; every health fact rides Health status (`health_status`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
288
|
+
"retired": true
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"code": "983-021-000-000-000-000-000",
|
|
292
|
+
"key": "chronic_health_status",
|
|
293
|
+
"title": "Chronic health status",
|
|
294
|
+
"selectable": false,
|
|
295
|
+
"parentCode": null,
|
|
296
|
+
"childCodes": [],
|
|
297
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Health & accommodation collapses to two sub-categories; every health fact rides Health status (`health_status`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
298
|
+
"retired": true
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"code": "983-022-000-000-000-000-000",
|
|
302
|
+
"key": "hiv_status",
|
|
303
|
+
"title": "HIV status",
|
|
304
|
+
"selectable": false,
|
|
305
|
+
"parentCode": null,
|
|
306
|
+
"childCodes": [],
|
|
307
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Health & accommodation collapses to two sub-categories; every health fact rides Health status (`health_status`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `health_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
308
|
+
"retired": true
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"code": "983-023-000-000-000-000-000",
|
|
312
|
+
"key": "immigration_status",
|
|
313
|
+
"title": "Immigration status",
|
|
314
|
+
"selectable": true,
|
|
315
|
+
"parentCode": null,
|
|
316
|
+
"childCodes": [],
|
|
317
|
+
"definition": "Immigration status: visa type + birth country + relevant flags. Canonical scope group `immigration_legal_status` (Immigration & Legal Status)."
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"code": "983-024-000-000-000-000-000",
|
|
321
|
+
"key": "uscis_alien_number",
|
|
322
|
+
"title": "USCIS A-Number",
|
|
323
|
+
"selectable": false,
|
|
324
|
+
"parentCode": null,
|
|
325
|
+
"childCodes": [],
|
|
326
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Immigration & legal status collapses to two sub-categories; the A-number rides Immigration status. No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_status` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
327
|
+
"retired": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"code": "983-025-000-000-000-000-000",
|
|
331
|
+
"key": "federal_protection_applications",
|
|
332
|
+
"title": "Federal protection applications",
|
|
333
|
+
"selectable": false,
|
|
334
|
+
"parentCode": null,
|
|
335
|
+
"childCodes": [],
|
|
336
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Immigration & legal status collapses to two sub-categories; what is in flight rides Applications, enrollments & law enforcement engagement (`immigration_applications`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
337
|
+
"retired": true
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"code": "983-026-000-000-000-000-000",
|
|
341
|
+
"key": "tvap_enrollment",
|
|
342
|
+
"title": "TVAP enrollment",
|
|
343
|
+
"selectable": false,
|
|
344
|
+
"parentCode": null,
|
|
345
|
+
"childCodes": [],
|
|
346
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Immigration & legal status collapses to two sub-categories; what is in flight rides Applications, enrollments & law enforcement engagement (`immigration_applications`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
347
|
+
"retired": true
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"code": "983-027-000-000-000-000-000",
|
|
351
|
+
"key": "le_report_status",
|
|
352
|
+
"title": "Law enforcement engagement",
|
|
353
|
+
"selectable": false,
|
|
354
|
+
"parentCode": null,
|
|
355
|
+
"childCodes": [],
|
|
356
|
+
"definition": "RETIRED 2026-10-09 (INFOSCOPE v4 SIMPLIFY, Crysta; GDR § 0.6.2 rule 6), matching its CVC-236 `core_information_scope` v2.0.0 twin. Immigration & legal status collapses to two sub-categories; what is in flight rides Applications, enrollments & law enforcement engagement (`immigration_applications`). No longer offered in an ROI; a stored roi_scope list is unstamped and v2-era (CVC-236 v2.0.0 `migrations.unstamped`): it reads through canon's v2 -> v3 table (htilabstech/prototype/data/cvcs/core_information_scope.yaml L539-565 @ 00179edc) first, then through CVC-236 v2.0.0's `migrations`, where its twin's line names `immigration_applications` (rule `row`). It resolves here so a reader can tell retired from unknown.",
|
|
357
|
+
"retired": true
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
}
|
|
@@ -4102,9 +4102,9 @@ export const NeedsAssessmentChangeTypeKeys = {
|
|
|
4102
4102
|
export type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
4103
4103
|
|
|
4104
4104
|
/**
|
|
4105
|
-
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236
|
|
4105
|
+
* 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)
|
|
4106
4106
|
*
|
|
4107
|
-
* Domain: `core_information_scope` · Version:
|
|
4107
|
+
* Domain: `core_information_scope` · Version: 2.0.0 · Entries: 146
|
|
4108
4108
|
*/
|
|
4109
4109
|
export const CoreInformationScopeKeys = {
|
|
4110
4110
|
missingness_root: "236-000-000-000-000-000-000",
|
|
@@ -4117,6 +4117,7 @@ export const CoreInformationScopeKeys = {
|
|
|
4117
4117
|
addresses: "236-001-003-000-000-000-000",
|
|
4118
4118
|
additional_ids: "236-001-004-000-000-000-000",
|
|
4119
4119
|
demographics: "236-001-005-000-000-000-000",
|
|
4120
|
+
identifying__other: "236-001-006-000-000-000-000",
|
|
4120
4121
|
risk: "236-002-000-000-000-000-000",
|
|
4121
4122
|
screen_indicators: "236-002-001-000-000-000-000",
|
|
4122
4123
|
victimization: "236-002-002-000-000-000-000",
|
|
@@ -4159,12 +4160,14 @@ export const CoreInformationScopeKeys = {
|
|
|
4159
4160
|
mental_health_screen: "236-006-007-000-000-000-000",
|
|
4160
4161
|
trauma_and_coping_screen: "236-006-008-000-000-000-000",
|
|
4161
4162
|
behavioral_health_intake: "236-006-009-000-000-000-000",
|
|
4163
|
+
health_status: "236-006-010-000-000-000-000",
|
|
4162
4164
|
immigration_legal_status: "236-007-000-000-000-000-000",
|
|
4163
4165
|
immigration_status: "236-007-001-000-000-000-000",
|
|
4164
4166
|
uscis_alien_number: "236-007-002-000-000-000-000",
|
|
4165
4167
|
federal_protection_applications: "236-007-003-000-000-000-000",
|
|
4166
4168
|
tvap_enrollment: "236-007-004-000-000-000-000",
|
|
4167
4169
|
le_report_status: "236-007-005-000-000-000-000",
|
|
4170
|
+
immigration_applications: "236-007-006-000-000-000-000",
|
|
4168
4171
|
system: "236-008-000-000-000-000-000",
|
|
4169
4172
|
system_info: "236-008-001-000-000-000-000",
|
|
4170
4173
|
network_associations: "236-009-000-000-000-000-000",
|
|
@@ -4180,14 +4183,84 @@ export const CoreInformationScopeKeys = {
|
|
|
4180
4183
|
object_identifiers: "236-012-000-000-000-000-000",
|
|
4181
4184
|
phone_identifiers: "236-012-001-000-000-000-000",
|
|
4182
4185
|
object_identity_attributes: "236-012-002-000-000-000-000",
|
|
4186
|
+
instruments: "236-013-000-000-000-000-000",
|
|
4187
|
+
instrument_summary: "236-013-001-000-000-000-000",
|
|
4188
|
+
summary_initial_screen: "236-013-001-001-000-000-000",
|
|
4189
|
+
summary_mental_health_screen: "236-013-001-002-000-000-000",
|
|
4190
|
+
summary_behavioral_health_intake: "236-013-001-003-000-000-000",
|
|
4191
|
+
summary_trauma_and_coping_screen: "236-013-001-004-000-000-000",
|
|
4192
|
+
summary_ae_intake: "236-013-001-005-000-000-000",
|
|
4193
|
+
summary_ida: "236-013-001-006-000-000-000",
|
|
4194
|
+
summary_lap: "236-013-001-007-000-000-000",
|
|
4195
|
+
summary_danger_assessment: "236-013-001-008-000-000-000",
|
|
4196
|
+
summary_stalking_assessment: "236-013-001-009-000-000-000",
|
|
4197
|
+
summary_injury_and_strangulation: "236-013-001-010-000-000-000",
|
|
4198
|
+
summary_hope_scale: "236-013-001-011-000-000-000",
|
|
4199
|
+
summary_needs_assessment: "236-013-001-012-000-000-000",
|
|
4200
|
+
summary_tra: "236-013-001-013-000-000-000",
|
|
4201
|
+
summary_findings: "236-013-001-014-000-000-000",
|
|
4202
|
+
instrument_full: "236-013-002-000-000-000-000",
|
|
4203
|
+
full_initial_screen: "236-013-002-001-000-000-000",
|
|
4204
|
+
full_mental_health_screen: "236-013-002-002-000-000-000",
|
|
4205
|
+
full_behavioral_health_intake: "236-013-002-003-000-000-000",
|
|
4206
|
+
full_trauma_and_coping_screen: "236-013-002-004-000-000-000",
|
|
4207
|
+
full_ae_intake: "236-013-002-005-000-000-000",
|
|
4208
|
+
full_ida: "236-013-002-006-000-000-000",
|
|
4209
|
+
full_lap: "236-013-002-007-000-000-000",
|
|
4210
|
+
full_danger_assessment: "236-013-002-008-000-000-000",
|
|
4211
|
+
full_stalking_assessment: "236-013-002-009-000-000-000",
|
|
4212
|
+
full_injury_and_strangulation: "236-013-002-010-000-000-000",
|
|
4213
|
+
full_hope_scale: "236-013-002-011-000-000-000",
|
|
4214
|
+
full_needs_assessment: "236-013-002-012-000-000-000",
|
|
4215
|
+
full_tra: "236-013-002-013-000-000-000",
|
|
4216
|
+
full_findings: "236-013-002-014-000-000-000",
|
|
4217
|
+
relationships_household: "236-014-000-000-000-000-000",
|
|
4218
|
+
primary_client: "236-015-000-000-000-000-000",
|
|
4219
|
+
other_named_persons: "236-016-000-000-000-000-000",
|
|
4220
|
+
offenders: "236-016-001-000-000-000-000",
|
|
4221
|
+
offenders__identifying: "236-016-001-001-000-000-000",
|
|
4222
|
+
offenders__risk: "236-016-001-002-000-000-000",
|
|
4223
|
+
offenders__contact: "236-016-001-003-000-000-000",
|
|
4224
|
+
offenders__safe_locations: "236-016-001-003-002-000-000",
|
|
4225
|
+
offenders__services: "236-016-001-004-000-000-000",
|
|
4226
|
+
offenders__health_accommodation: "236-016-001-006-000-000-000",
|
|
4227
|
+
offenders__immigration_legal_status: "236-016-001-007-000-000-000",
|
|
4228
|
+
offenders__instruments: "236-016-001-013-000-000-000",
|
|
4229
|
+
offenders__instrument_summary: "236-016-001-013-001-000-000",
|
|
4230
|
+
offenders__instrument_full: "236-016-001-013-002-000-000",
|
|
4231
|
+
offenders__relationships_household: "236-016-001-014-000-000-000",
|
|
4232
|
+
family: "236-016-002-000-000-000-000",
|
|
4233
|
+
family__identifying: "236-016-002-001-000-000-000",
|
|
4234
|
+
family__risk: "236-016-002-002-000-000-000",
|
|
4235
|
+
family__contact: "236-016-002-003-000-000-000",
|
|
4236
|
+
family__safe_locations: "236-016-002-003-002-000-000",
|
|
4237
|
+
family__services: "236-016-002-004-000-000-000",
|
|
4238
|
+
family__health_accommodation: "236-016-002-006-000-000-000",
|
|
4239
|
+
family__immigration_legal_status: "236-016-002-007-000-000-000",
|
|
4240
|
+
family__instruments: "236-016-002-013-000-000-000",
|
|
4241
|
+
family__instrument_summary: "236-016-002-013-001-000-000",
|
|
4242
|
+
family__instrument_full: "236-016-002-013-002-000-000",
|
|
4243
|
+
family__relationships_household: "236-016-002-014-000-000-000",
|
|
4244
|
+
others: "236-016-003-000-000-000-000",
|
|
4245
|
+
others__identifying: "236-016-003-001-000-000-000",
|
|
4246
|
+
others__risk: "236-016-003-002-000-000-000",
|
|
4247
|
+
others__contact: "236-016-003-003-000-000-000",
|
|
4248
|
+
others__safe_locations: "236-016-003-003-002-000-000",
|
|
4249
|
+
others__services: "236-016-003-004-000-000-000",
|
|
4250
|
+
others__health_accommodation: "236-016-003-006-000-000-000",
|
|
4251
|
+
others__immigration_legal_status: "236-016-003-007-000-000-000",
|
|
4252
|
+
others__instruments: "236-016-003-013-000-000-000",
|
|
4253
|
+
others__instrument_summary: "236-016-003-013-001-000-000",
|
|
4254
|
+
others__instrument_full: "236-016-003-013-002-000-000",
|
|
4255
|
+
others__relationships_household: "236-016-003-014-000-000-000",
|
|
4183
4256
|
} as const;
|
|
4184
4257
|
|
|
4185
4258
|
export type CoreInformationScopeKey = keyof typeof CoreInformationScopeKeys;
|
|
4186
4259
|
|
|
4187
4260
|
/**
|
|
4188
|
-
* 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:
|
|
4261
|
+
* 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).
|
|
4189
4262
|
*
|
|
4190
|
-
* Domain: `roi_scope` · Version: 1.
|
|
4263
|
+
* Domain: `roi_scope` · Version: 1.3.0 · Entries: 31
|
|
4191
4264
|
*/
|
|
4192
4265
|
export const RoiScopeKeys = {
|
|
4193
4266
|
missingness_root: "983-000-000-000-000-000-000",
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# source: htilabstech/prototype docs/share-roi/information_scope_v4.migrations.csv @ 6dab8a9532cf1b94cdce3e475906df839359ad80 (byte-identical at 00179edc); verbatim below this line, re-copy never hand-edit (the test checks the git blob hash)
|
|
2
|
+
v3_code,v4_reads_as,rule,note
|
|
3
|
+
system,system,identity,code unchanged
|
|
4
|
+
notes,notes,identity,code unchanged
|
|
5
|
+
identifying,identifying,identity,code unchanged
|
|
6
|
+
contact,contact,identity,code unchanged
|
|
7
|
+
health_accommodation,health_accommodation,identity,code unchanged
|
|
8
|
+
immigration_legal_status,immigration_legal_status,identity,code unchanged
|
|
9
|
+
risk,risk,identity,code unchanged
|
|
10
|
+
services,services,identity,code unchanged
|
|
11
|
+
instruments,instruments,identity,code unchanged
|
|
12
|
+
names,names,identity,code unchanged
|
|
13
|
+
dob,dob,identity,code unchanged
|
|
14
|
+
addresses,addresses,identity,code unchanged
|
|
15
|
+
additional_ids,additional_ids,identity,code unchanged
|
|
16
|
+
demographics,demographics,identity,code unchanged
|
|
17
|
+
contact_info,contact_info,identity,code unchanged
|
|
18
|
+
safe_locations,safe_locations,identity,code unchanged
|
|
19
|
+
priorities_safety,priorities_safety,identity,code unchanged
|
|
20
|
+
encounter_location,encounter_location,identity,code unchanged
|
|
21
|
+
accommodation_needs,accommodation_needs,identity,code unchanged
|
|
22
|
+
immigration_status,immigration_status,identity,code unchanged
|
|
23
|
+
immigration_status,immigration_status,identity,code unchanged
|
|
24
|
+
screen_indicators,screen_indicators,identity,code unchanged
|
|
25
|
+
victimization,victimization,identity,code unchanged
|
|
26
|
+
system_involvement,system_involvement,identity,code unchanged
|
|
27
|
+
derived_risk_signals,derived_risk_signals,identity,code unchanged
|
|
28
|
+
contact_history,contact_history,identity,code unchanged
|
|
29
|
+
service_history,service_history,identity,code unchanged
|
|
30
|
+
plans_goals,plans_goals,identity,code unchanged
|
|
31
|
+
session_summary,session_summary,identity,code unchanged
|
|
32
|
+
case_notes,case_notes,identity,code unchanged
|
|
33
|
+
system_info,system_info,identity,code unchanged
|
|
34
|
+
instrument_summary,instrument_summary,identity,code unchanged
|
|
35
|
+
instrument_full,instrument_full,identity,code unchanged
|
|
36
|
+
summary_initial_screen,summary_initial_screen,identity,code unchanged
|
|
37
|
+
summary_mental_health_screen,summary_mental_health_screen,identity,code unchanged
|
|
38
|
+
summary_behavioral_health_intake,summary_behavioral_health_intake,identity,code unchanged
|
|
39
|
+
summary_trauma_and_coping_screen,summary_trauma_and_coping_screen,identity,code unchanged
|
|
40
|
+
summary_ae_intake,summary_ae_intake,identity,code unchanged
|
|
41
|
+
summary_ida,summary_ida,identity,code unchanged
|
|
42
|
+
summary_lap,summary_lap,identity,code unchanged
|
|
43
|
+
summary_danger_assessment,summary_danger_assessment,identity,code unchanged
|
|
44
|
+
summary_stalking_assessment,summary_stalking_assessment,identity,code unchanged
|
|
45
|
+
summary_injury_and_strangulation,summary_injury_and_strangulation,identity,code unchanged
|
|
46
|
+
summary_hope_scale,summary_hope_scale,identity,code unchanged
|
|
47
|
+
summary_needs_assessment,summary_needs_assessment,identity,code unchanged
|
|
48
|
+
summary_tra,summary_tra,identity,code unchanged
|
|
49
|
+
summary_findings,summary_findings,identity,code unchanged
|
|
50
|
+
full_initial_screen,full_initial_screen,identity,code unchanged
|
|
51
|
+
full_mental_health_screen,full_mental_health_screen,identity,code unchanged
|
|
52
|
+
full_behavioral_health_intake,full_behavioral_health_intake,identity,code unchanged
|
|
53
|
+
full_trauma_and_coping_screen,full_trauma_and_coping_screen,identity,code unchanged
|
|
54
|
+
full_ae_intake,full_ae_intake,identity,code unchanged
|
|
55
|
+
full_ida,full_ida,identity,code unchanged
|
|
56
|
+
full_lap,full_lap,identity,code unchanged
|
|
57
|
+
full_danger_assessment,full_danger_assessment,identity,code unchanged
|
|
58
|
+
full_stalking_assessment,full_stalking_assessment,identity,code unchanged
|
|
59
|
+
full_injury_and_strangulation,full_injury_and_strangulation,identity,code unchanged
|
|
60
|
+
full_hope_scale,full_hope_scale,identity,code unchanged
|
|
61
|
+
full_needs_assessment,full_needs_assessment,identity,code unchanged
|
|
62
|
+
full_tra,full_tra,identity,code unchanged
|
|
63
|
+
full_findings,full_findings,identity,code unchanged
|
|
64
|
+
network_associations,network_associations,identity,code unchanged
|
|
65
|
+
network_membership,network_membership,identity,code unchanged
|
|
66
|
+
persona_links,persona_links,identity,code unchanged
|
|
67
|
+
commercial_activity,commercial_activity,identity,code unchanged
|
|
68
|
+
ad_content,ad_content,identity,code unchanged
|
|
69
|
+
commercial_patterns,commercial_patterns,identity,code unchanged
|
|
70
|
+
investigative_work_product,investigative_work_product,identity,code unchanged
|
|
71
|
+
case_determinations,case_determinations,identity,code unchanged
|
|
72
|
+
case_lifecycle,case_lifecycle,identity,code unchanged
|
|
73
|
+
case_attachments,case_attachments,identity,code unchanged
|
|
74
|
+
object_identifiers,object_identifiers,identity,code unchanged
|
|
75
|
+
phone_identifiers,phone_identifiers,identity,code unchanged
|
|
76
|
+
object_identity_attributes,object_identity_attributes,identity,code unchanged
|
|
77
|
+
offender_facilitator,offenders.identifying offenders.risk,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
78
|
+
mental_health_status,health_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
79
|
+
substance_use_status,health_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
80
|
+
chronic_health_status,health_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
81
|
+
disability_subtypes,health_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
82
|
+
hiv_status,health_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
83
|
+
uscis_alien_number,immigration_status,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
84
|
+
federal_protection_applications,immigration_applications,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
85
|
+
tvap_enrollment,immigration_applications,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
86
|
+
le_report_status,immigration_applications,row,retired in v4; a stored selection naming it reads as the successor(s)
|
|
87
|
+
risk,risk,category,category-grain selection; maps to the listed codes only (never widened)
|
|
88
|
+
identifying,identifying,category,category-grain selection; maps to the listed codes only (never widened)
|
|
89
|
+
offender_facilitator,offenders,subtract,a v3 RESTRICTION on this code keeps restricting the listed v4 rows
|
|
90
|
+
ida_full,full_ida summary_ida,retired before v4,via v3: full_ida summary_ida
|
|
91
|
+
ida_consid,summary_ida,retired before v4,via v3: summary_ida
|
|
92
|
+
initial_screen,summary_initial_screen,retired before v4,via v3: summary_initial_screen
|
|
93
|
+
tra,summary_tra,retired before v4,via v3: summary_tra
|
|
94
|
+
lap,summary_lap,retired before v4,via v3: summary_lap
|
|
95
|
+
danger_assessment,summary_danger_assessment,retired before v4,via v3: summary_danger_assessment
|
|
96
|
+
injury_and_strangulation,summary_injury_and_strangulation,retired before v4,via v3: summary_injury_and_strangulation
|
|
97
|
+
stalking_assessment,summary_stalking_assessment,retired before v4,via v3: summary_stalking_assessment
|
|
98
|
+
ae_intake,summary_ae_intake,retired before v4,via v3: summary_ae_intake
|
|
99
|
+
hope_scale,summary_hope_scale,retired before v4,via v3: summary_hope_scale
|
|
100
|
+
assessment_records,(nothing),retired before v4,retired with no successor row (R30); the lifecycle lines are not share content
|
|
101
|
+
determinations,summary_findings,retired before v4,via v3: summary_findings
|
|
102
|
+
mental_health_screen,summary_mental_health_screen,retired before v4,via v3: summary_mental_health_screen
|
|
103
|
+
trauma_and_coping_screen,summary_trauma_and_coping_screen,retired before v4,via v3: summary_trauma_and_coping_screen
|
|
104
|
+
behavioral_health_intake,summary_behavioral_health_intake,retired before v4,via v3: summary_behavioral_health_intake
|
|
105
|
+
screen_notes,(nothing),retired before v4,retired 2026-10-05 — an Initial Screen note is an instrument note and rides full_initial_screen; a stored selection naming it includes nothing
|
|
106
|
+
background,(nothing),retired before v4,retired 2026-10-05 — nothing ever captured it (Crysta to Nate: Eliminate)
|