@htilabs/platform-common-models 0.8.12 → 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.
- package/dist/constants/index.cjs +133 -287
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +133 -275
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +11670 -969
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +14727 -3020
- package/dist/cvcs/index.d.ts +14727 -3020
- package/dist/cvcs/index.js +11643 -968
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +12718 -1360
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1012 -128
- package/dist/index.d.ts +1012 -128
- package/dist/index.js +12671 -1345
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-BwfZ0bxU.d.cts → platform-auth-BfCMuAlC.d.cts} +2 -74
- package/dist/{platform-auth-BwfZ0bxU.d.ts → platform-auth-BfCMuAlC.d.ts} +2 -74
- package/dist/schemas/index.cjs +0 -152
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +0 -152
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +0 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +0 -3
- package/dist/services/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +4 -1
- package/src/__sot__/README.md +56 -0
- package/src/__sot__/coreIndicators.pin.json +215 -0
- package/src/__sot__/cvcIndex.pin.json +268 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +109 -37
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +596 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +38 -8
- package/src/__tests__/cvc-structural.test.ts +37 -1
- package/src/constants/ic.ts +184 -333
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/adminRoles.v1.0.0.json +153 -0
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
- package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
- package/src/cvcs/assertionDomain.v1.1.0.json +78 -105
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
- package/src/cvcs/exploitationType.v1.0.0.json +106 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
- package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
- package/src/cvcs/index.ts +55 -2
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
- package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
- package/src/cvcs/poStatus.v1.0.0.json +144 -0
- package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
- package/src/cvcs/recencyBand.v1.0.0.json +126 -42
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiScope.v1.0.0.json +111 -3
- package/src/cvcs/roiStatus.v1.0.0.json +18 -10
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
- package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
- package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
- package/src/cvcs/serviceStates.v1.0.0.json +40 -40
- package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/smtType.v1.0.0.json +40 -40
- package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
- package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
- package/src/cvcs/whyNots.v1.0.0.json +385 -0
- package/src/generated/cvc-enums.ts +1047 -127
- package/src/services/cvcRegistryService.ts +1 -1
- package/src/cvcs/riskBand.v1.0.0.json +0 -98
|
@@ -1,105 +1,189 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "recency_band",
|
|
3
|
-
"name": "Core Recency Band (
|
|
3
|
+
"name": "Core Recency Band (CVC-137)",
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"levels": {
|
|
6
6
|
"0": "Unknown or Missing",
|
|
7
7
|
"1": "Recency band"
|
|
8
8
|
},
|
|
9
|
+
"sliceFamilies": {
|
|
10
|
+
"hmis_dv": ["w3m", "m3_6", "m6_12", "y1p"],
|
|
11
|
+
"unified_intake": ["w3m", "m3_6", "m6_12", "y1_3", "y3_10", "y10p"],
|
|
12
|
+
"long_horizon": ["ylt3", "y3_10", "y10p"],
|
|
13
|
+
"missingness": ["unknown", "data_not_collected", "anonymous"]
|
|
14
|
+
},
|
|
15
|
+
"hmisCollapse": {
|
|
16
|
+
"y1_3": "y1p",
|
|
17
|
+
"y3_10": "y1p",
|
|
18
|
+
"y10p": "y1p"
|
|
19
|
+
},
|
|
9
20
|
"entries": [
|
|
10
21
|
{
|
|
11
|
-
"code": "
|
|
22
|
+
"code": "137-000-000-000-000-000-000",
|
|
12
23
|
"key": "missingness_root",
|
|
13
24
|
"title": "Unknown, Redacted, or Missing",
|
|
14
25
|
"selectable": false,
|
|
15
26
|
"parentCode": null,
|
|
16
27
|
"childCodes": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
28
|
+
"137-000-000-000-000-000-001",
|
|
29
|
+
"137-000-000-000-000-000-002",
|
|
30
|
+
"137-000-000-000-000-000-003"
|
|
20
31
|
],
|
|
21
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
32
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data.",
|
|
33
|
+
"canonicalCode": null,
|
|
34
|
+
"temporalAnchor": "none",
|
|
35
|
+
"families": ["missingness"]
|
|
22
36
|
},
|
|
23
37
|
{
|
|
24
|
-
"code": "
|
|
38
|
+
"code": "137-000-000-000-000-000-001",
|
|
25
39
|
"key": "unknown",
|
|
26
|
-
"title": "Unknown
|
|
40
|
+
"title": "Unknown",
|
|
27
41
|
"selectable": true,
|
|
28
|
-
"parentCode": "
|
|
42
|
+
"parentCode": "137-000-000-000-000-000-000",
|
|
29
43
|
"childCodes": [],
|
|
30
|
-
"definition": "The recency band is unknown or cannot be determined from the available information."
|
|
44
|
+
"definition": "The recency band is unknown or cannot be determined from the available information. Not derivable to a date window.",
|
|
45
|
+
"canonicalCode": "UNK",
|
|
46
|
+
"temporalAnchor": "none",
|
|
47
|
+
"families": ["missingness"]
|
|
31
48
|
},
|
|
32
49
|
{
|
|
33
|
-
"code": "
|
|
50
|
+
"code": "137-000-000-000-000-000-002",
|
|
34
51
|
"key": "anonymous",
|
|
35
|
-
"title": "Anonymous
|
|
52
|
+
"title": "Anonymous",
|
|
36
53
|
"selectable": true,
|
|
37
|
-
"parentCode": "
|
|
54
|
+
"parentCode": "137-000-000-000-000-000-000",
|
|
38
55
|
"childCodes": [],
|
|
39
|
-
"definition": "The recency band may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
56
|
+
"definition": "The recency band may be withheld by preference or due to redaction; identity is anonymous or redacted. Not derivable to a date window.",
|
|
57
|
+
"canonicalCode": "ANON",
|
|
58
|
+
"temporalAnchor": "none",
|
|
59
|
+
"families": ["missingness"]
|
|
40
60
|
},
|
|
41
61
|
{
|
|
42
|
-
"code": "
|
|
62
|
+
"code": "137-000-000-000-000-000-003",
|
|
43
63
|
"key": "data_not_collected",
|
|
44
64
|
"title": "Data not collected",
|
|
45
65
|
"selectable": true,
|
|
46
|
-
"parentCode": "
|
|
66
|
+
"parentCode": "137-000-000-000-000-000-000",
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "No attempt was made to collect the recency band. Not derivable to a date window.",
|
|
69
|
+
"canonicalCode": "DNC",
|
|
70
|
+
"temporalAnchor": "none",
|
|
71
|
+
"families": ["missingness"]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"code": "137-001-000-000-000-000-000",
|
|
75
|
+
"key": "w3m",
|
|
76
|
+
"title": "Within past 3 months",
|
|
77
|
+
"selectable": true,
|
|
78
|
+
"parentCode": null,
|
|
79
|
+
"childCodes": [],
|
|
80
|
+
"definition": "The event or condition occurred within the past 3 months, relative to time_as_of. Both window edges are firm (temporalAnchor: bounded).",
|
|
81
|
+
"canonicalCode": "W3M",
|
|
82
|
+
"temporalAnchor": "bounded",
|
|
83
|
+
"families": ["hmis_dv", "unified_intake"]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"code": "137-002-000-000-000-000-000",
|
|
87
|
+
"key": "m3_6",
|
|
88
|
+
"title": "3–6 months ago",
|
|
89
|
+
"selectable": true,
|
|
90
|
+
"parentCode": null,
|
|
47
91
|
"childCodes": [],
|
|
48
|
-
"definition": "
|
|
92
|
+
"definition": "The event or condition occurred 3 to 6 months before time_as_of. Both window edges are firm (temporalAnchor: bounded).",
|
|
93
|
+
"canonicalCode": "M3_6",
|
|
94
|
+
"temporalAnchor": "bounded",
|
|
95
|
+
"families": ["hmis_dv", "unified_intake"]
|
|
49
96
|
},
|
|
50
97
|
{
|
|
51
|
-
"code": "
|
|
52
|
-
"key": "
|
|
53
|
-
"title": "
|
|
98
|
+
"code": "137-003-000-000-000-000-000",
|
|
99
|
+
"key": "m6_12",
|
|
100
|
+
"title": "6–12 months ago",
|
|
54
101
|
"selectable": true,
|
|
55
102
|
"parentCode": null,
|
|
56
103
|
"childCodes": [],
|
|
57
|
-
"definition": "The event or condition occurred
|
|
104
|
+
"definition": "The event or condition occurred 6 to 12 months before time_as_of. Both window edges are firm (temporalAnchor: bounded).",
|
|
105
|
+
"canonicalCode": "M6_12",
|
|
106
|
+
"temporalAnchor": "bounded",
|
|
107
|
+
"families": ["hmis_dv", "unified_intake"]
|
|
58
108
|
},
|
|
59
109
|
{
|
|
60
|
-
"code": "
|
|
61
|
-
"key": "
|
|
62
|
-
"title": "
|
|
110
|
+
"code": "137-004-000-000-000-000-000",
|
|
111
|
+
"key": "y1p",
|
|
112
|
+
"title": "1+ years ago",
|
|
63
113
|
"selectable": true,
|
|
64
114
|
"parentCode": null,
|
|
65
115
|
"childCodes": [],
|
|
66
|
-
"definition": "The event or condition occurred more
|
|
116
|
+
"definition": "The event or condition occurred 1 or more years before time_as_of. Only the recent edge is firm (temporalAnchor: upper_only) — yields an upper-bounded age range. HMIS 4.11 DV-mappable terminal bucket; the unified_intake bands y1_3 / y3_10 / y10p collapse into this one for HMIS export.",
|
|
117
|
+
"canonicalCode": "Y1P",
|
|
118
|
+
"temporalAnchor": "upper_only",
|
|
119
|
+
"families": ["hmis_dv"]
|
|
67
120
|
},
|
|
68
121
|
{
|
|
69
|
-
"code": "
|
|
70
|
-
"key": "
|
|
71
|
-
"title": "
|
|
122
|
+
"code": "137-005-000-000-000-000-000",
|
|
123
|
+
"key": "y1_3",
|
|
124
|
+
"title": "1–3 years ago",
|
|
72
125
|
"selectable": true,
|
|
73
126
|
"parentCode": null,
|
|
74
127
|
"childCodes": [],
|
|
75
|
-
"definition": "The event or condition occurred
|
|
128
|
+
"definition": "The event or condition occurred 1 to 3 years before time_as_of. Both window edges are firm (temporalAnchor: bounded). NET-NEW in 0.8.13 — had no equivalent in the pre-0.8.13 6-slug key system.",
|
|
129
|
+
"canonicalCode": "Y1_3",
|
|
130
|
+
"temporalAnchor": "bounded",
|
|
131
|
+
"families": ["unified_intake"]
|
|
76
132
|
},
|
|
77
133
|
{
|
|
78
|
-
"code": "
|
|
79
|
-
"key": "
|
|
80
|
-
"title": "
|
|
134
|
+
"code": "137-006-000-000-000-000-000",
|
|
135
|
+
"key": "y3_10",
|
|
136
|
+
"title": "3–10 years ago",
|
|
81
137
|
"selectable": true,
|
|
82
138
|
"parentCode": null,
|
|
83
139
|
"childCodes": [],
|
|
84
|
-
"definition": "The event or condition occurred
|
|
140
|
+
"definition": "The event or condition occurred 3 to 10 years before time_as_of. Both window edges are firm (temporalAnchor: bounded).",
|
|
141
|
+
"canonicalCode": "Y3_10",
|
|
142
|
+
"temporalAnchor": "bounded",
|
|
143
|
+
"families": ["unified_intake", "long_horizon"]
|
|
85
144
|
},
|
|
86
145
|
{
|
|
87
|
-
"code": "
|
|
88
|
-
"key": "
|
|
89
|
-
"title": "
|
|
146
|
+
"code": "137-007-000-000-000-000-000",
|
|
147
|
+
"key": "y10p",
|
|
148
|
+
"title": "10+ years ago",
|
|
90
149
|
"selectable": true,
|
|
91
150
|
"parentCode": null,
|
|
92
151
|
"childCodes": [],
|
|
93
|
-
"definition": "The event or condition occurred more
|
|
152
|
+
"definition": "The event or condition occurred 10 or more years before time_as_of. Only the recent edge is firm (temporalAnchor: upper_only) — yields an upper-bounded age range.",
|
|
153
|
+
"canonicalCode": "Y10P",
|
|
154
|
+
"temporalAnchor": "upper_only",
|
|
155
|
+
"families": ["unified_intake", "long_horizon"]
|
|
94
156
|
},
|
|
95
157
|
{
|
|
96
|
-
"code": "
|
|
97
|
-
"key": "
|
|
98
|
-
"title": "
|
|
158
|
+
"code": "137-008-000-000-000-000-000",
|
|
159
|
+
"key": "ylt3",
|
|
160
|
+
"title": "Less than 3 years ago",
|
|
99
161
|
"selectable": true,
|
|
100
162
|
"parentCode": null,
|
|
101
163
|
"childCodes": [],
|
|
102
|
-
"definition": "The event or condition occurred
|
|
164
|
+
"definition": "The event or condition occurred less than 3 years before time_as_of. Both window edges are firm (temporalAnchor: bounded). NET-NEW in 0.8.13. NOT the same concept as y1p (`1+ years ago`) — ylt3 is a long_horizon-family band used by trafficking-last-experience instruments (e.g. TRA-43 → VIII-F), and the two bands OVERLAP rather than partition. Never mix families in one question.",
|
|
165
|
+
"canonicalCode": "YLT3",
|
|
166
|
+
"temporalAnchor": "bounded",
|
|
167
|
+
"families": ["long_horizon"]
|
|
103
168
|
}
|
|
104
|
-
]
|
|
169
|
+
],
|
|
170
|
+
"_status": {
|
|
171
|
+
"vocabStatus": "canonical",
|
|
172
|
+
"authoredBy": "platform-common 0.8.13",
|
|
173
|
+
"evidence": "prototype@a596eb9 data/cvcs/core_recency_band.yaml (cvc_ref: CVC-137, vocab_status: canonical, aligned 2026-07-01 per Crysta go-ahead; upstream_authority: Final CVCs/Assertion Contract/recency_band.md, 'Ready for dev'). CVC_INDEX.md:124 confirms recency_band = CVC-137.",
|
|
174
|
+
"changeInThisRelease": "KEY-SYSTEM ADOPTION. 0.8.13's first pass corrected the NUMBER only (provisional CVC-232 -> canonical CVC-137) and kept 6 semantic slugs. This pass adopts the canonical 8-band key system verbatim. Codes/labels/temporal anchors/slice families are carried from the yaml; keys are the lowercase transliteration of the canonical codes (CVC keys must match /^[a-z][a-z0-9_]*$/), with the canonical code carried verbatim in `canonicalCode` — the same pattern used for risk_severity_band (risk-1 -> risk_1).",
|
|
175
|
+
"keyMigration": {
|
|
176
|
+
"within_3_months": "w3m (W3M)",
|
|
177
|
+
"months_3_to_6": "m3_6 (M3_6)",
|
|
178
|
+
"months_6_to_12": "m6_12 (M6_12)",
|
|
179
|
+
"one_year_or_more": "y1p (Y1P)",
|
|
180
|
+
"years_3_to_10": "y3_10 (Y3_10)",
|
|
181
|
+
"ten_plus_years": "y10p (Y10P)"
|
|
182
|
+
},
|
|
183
|
+
"orphanedConsumerKeys": "NONE. All 6 pre-0.8.13 keys map 1:1 onto a canonical band. The change is additive in cardinality: +y1_3 (Y1_3, '1-3 years ago') and +ylt3 (YLT3, 'less than 3 years ago') are net-new and had no pre-0.8.13 equivalent. No consumer key is left without a canonical home.",
|
|
184
|
+
"semanticWarning": "y1p and ylt3 are NOT the same concept and are NOT interchangeable. y1p = '1+ years ago' (hmis_dv family, upper_only). ylt3 = 'less than 3 years ago' (long_horizon family, bounded). They overlap rather than partition. MUTUAL EXCLUSIVITY RULE (canonical): choose ONE slice family per question/instrument; never mix bands across families. hmisCollapse maps the unified_intake long bands onto y1p for HMIS 4.11 export.",
|
|
185
|
+
"upstreamReconciliation": "None required for the vocabulary itself — this is a verbatim adoption of an upstream `vocab_status: canonical` yaml. Crysta need only confirm that the lowercase key transliteration (w3m/m3_6/.../ylt3) is acceptable as the platform-side key, given the canonical uppercase codes are preserved in `canonicalCode`.",
|
|
186
|
+
"consumerRebind": "pave-2.0 packages/domain/src/cvc/cvcKeys.ts -> RecencyBandKeys: 6 keys -> 8, all 6 old keys renamed per keyMigration. Any surface that binds a recency radio must also pick its slice family."
|
|
187
|
+
},
|
|
188
|
+
"_source": "htilabstech/prototype@a596eb9 data/cvcs/core_recency_band.yaml (CVC-137, vocab_status: canonical) + Final CVCs/Assertion Contract/recency_band.md"
|
|
105
189
|
}
|
|
@@ -9,6 +9,46 @@
|
|
|
9
9
|
"3": "Variant"
|
|
10
10
|
},
|
|
11
11
|
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "048-000-000-000-000-000-000",
|
|
14
|
+
"key": "missingness_root",
|
|
15
|
+
"title": "Unknown, Redacted, or Missing",
|
|
16
|
+
"selectable": false,
|
|
17
|
+
"parentCode": null,
|
|
18
|
+
"childCodes": [
|
|
19
|
+
"048-000-000-000-000-000-001",
|
|
20
|
+
"048-000-000-000-000-000-002",
|
|
21
|
+
"048-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "048-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "048-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "048-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "048-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "048-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "048-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
12
52
|
{
|
|
13
53
|
"code": "048-001-000-000-000-000-000",
|
|
14
54
|
"key": "self_referred",
|
|
@@ -394,46 +434,6 @@
|
|
|
394
434
|
"parentCode": "048-013-000-000-000-000-000",
|
|
395
435
|
"childCodes": [],
|
|
396
436
|
"definition": "Other organization not otherwise captured by the listed categories."
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"code": "048-000-000-000-000-000-000",
|
|
400
|
-
"key": "missingness_root",
|
|
401
|
-
"title": "Unknown, Redacted, or Missing",
|
|
402
|
-
"selectable": false,
|
|
403
|
-
"parentCode": null,
|
|
404
|
-
"childCodes": [
|
|
405
|
-
"048-000-000-000-000-000-001",
|
|
406
|
-
"048-000-000-000-000-000-002",
|
|
407
|
-
"048-000-000-000-000-000-003"
|
|
408
|
-
],
|
|
409
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"code": "048-000-000-000-000-000-001",
|
|
413
|
-
"key": "unknown",
|
|
414
|
-
"title": "Unknown",
|
|
415
|
-
"selectable": true,
|
|
416
|
-
"parentCode": "048-000-000-000-000-000-000",
|
|
417
|
-
"childCodes": [],
|
|
418
|
-
"definition": "Value is unknown at time of entry."
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"code": "048-000-000-000-000-000-002",
|
|
422
|
-
"key": "anonymous",
|
|
423
|
-
"title": "Anonymous",
|
|
424
|
-
"selectable": true,
|
|
425
|
-
"parentCode": "048-000-000-000-000-000-000",
|
|
426
|
-
"childCodes": [],
|
|
427
|
-
"definition": "Value is intentionally withheld or redacted."
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"code": "048-000-000-000-000-000-003",
|
|
431
|
-
"key": "data_not_collected",
|
|
432
|
-
"title": "Data not collected",
|
|
433
|
-
"selectable": true,
|
|
434
|
-
"parentCode": "048-000-000-000-000-000-000",
|
|
435
|
-
"childCodes": [],
|
|
436
|
-
"definition": "No attempt was made to collect the value."
|
|
437
437
|
}
|
|
438
438
|
]
|
|
439
439
|
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "risk_severity_band",
|
|
3
|
+
"name": "Core Risk Severity Band (CVC-238)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — VERIFIED. Replaces the WITHDRAWN provisional `risk_band` (CVC-981, shipped in 0.8.11), which duplicated this vocabulary under an invented number AND dropped its load-bearing thresholds. Sourced from `data/cvcs/core_risk_severity_band.yaml` @ prototype HEAD a596eb9 (vocab_status: verified; Notion CVC-238, Owner Crysta Price, Verification 'Verified', Status 'Ready for dev'). IMPORTED FROM THE YAML MIRROR, NOT THE FINAL CSV EXPORT: the Final export's Code column is corrupted with a leading em-dash (`—risk-1` … `—risk-5`); the yaml is clean. KEY SYSTEM: CVC entry keys must match /^[a-z][a-z0-9_]*$/, so the canonical hyphenated codes `risk-1`…`risk-5` are carried verbatim in the `canonicalCode` field and the keys are their underscore transliterations `risk_1`…`risk_5`. THRESHOLDS ARE LOAD-BEARING and are carried here (`lowerBand` 0/20/40/60/80): the milestone band-crossing trigger reads them (upward crossings only). Internal scale is 0–100; the leads-app / prototype display scale is 0–10 (x10). RECONCILED with @hti/scoring @ 9b5d654 `weights/risk.weights.json` `bands` = {severe: 8.0, elevated: 6.0, review: 4.0, watch: 2.0} on the 0–10 DISPLAY scale — these AGREE with CVC-238's `lowerBand` 80/60/40/20 on the 0–100 internal scale (x10), and the band NAMES agree exactly (stable/watch/review/elevated/severe). `stable` is the terminal else-branch and correctly has no cutoff of its own. NO DISAGREEMENT. Cutoffs remain CALIBRATION owned by @hti/scoring and may be recalibrated without a CVC change; the values recorded here are the canonical codebook's own, per ADR-CONTRACT-scoring-vocab-model-boundary. ONE scale applied at TWO scopes: per-person AGGREGATE band (the weighted rollup) and per-indicator ATOMIC severity.",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 data/cvcs/core_risk_severity_band.yaml (CVC-238, verified) + Final CVCs/Risk Signal & Severity (CVC-238)/",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Risk severity band"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "238-000-000-000-000-000-000",
|
|
14
|
+
"key": "missingness_root",
|
|
15
|
+
"title": "Unknown, Redacted, or Missing",
|
|
16
|
+
"selectable": false,
|
|
17
|
+
"parentCode": null,
|
|
18
|
+
"childCodes": [
|
|
19
|
+
"238-000-000-000-000-000-001",
|
|
20
|
+
"238-000-000-000-000-000-002",
|
|
21
|
+
"238-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"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 canonical export carries a single L0 `UNK`; the anonymous / data_not_collected sentinels are added per SOT convention."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "238-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "238-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"canonicalCode": "UNK",
|
|
33
|
+
"definition": "Unknown or cannot be determined from the available information. NOT a safe default: do not treat as a neutral “safe” value in a derived current status, do not persist as a long-term state, and consider excluding from training labels — trigger a follow-up prompt instead. Distinct from `risk_1` (Stable): an unscored subject has no band, it is not banded low."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"code": "238-000-000-000-000-000-002",
|
|
37
|
+
"key": "anonymous",
|
|
38
|
+
"title": "Anonymous / declined to answer",
|
|
39
|
+
"selectable": true,
|
|
40
|
+
"parentCode": "238-000-000-000-000-000-000",
|
|
41
|
+
"childCodes": [],
|
|
42
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"code": "238-000-000-000-000-000-003",
|
|
46
|
+
"key": "data_not_collected",
|
|
47
|
+
"title": "Data not collected",
|
|
48
|
+
"selectable": true,
|
|
49
|
+
"parentCode": "238-000-000-000-000-000-000",
|
|
50
|
+
"childCodes": [],
|
|
51
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"code": "238-001-000-000-000-000-000",
|
|
55
|
+
"key": "risk_1",
|
|
56
|
+
"title": "Stable",
|
|
57
|
+
"selectable": true,
|
|
58
|
+
"parentCode": null,
|
|
59
|
+
"childCodes": [],
|
|
60
|
+
"definition": "Stable — band 1 of the canonical five-tier risk severity scale (CVC-238). Internal score range 0 – 19 (0–100); display range 0.0 – 1.9 (0–10). As an indicator severity: Protective / autonomy — chooses own clients, sets own schedule. Floor band. Stable is PROTECTIVE, not merely “absent” (load-bearing): the floor explicitly means reassuring/autonomy signals, so they render green and actually pull the score down rather than reading as a neutral zero. NOT a missingness value — an unscored subject is not banded at all (use the missingness quadruplet).",
|
|
61
|
+
"canonicalCode": "risk-1",
|
|
62
|
+
"ordinal": 1,
|
|
63
|
+
"lowerBand": 0,
|
|
64
|
+
"bandRangeInternal": "0 – 19",
|
|
65
|
+
"bandRangeDisplay": "0.0 – 1.9",
|
|
66
|
+
"asIndicator": "Protective / autonomy — chooses own clients, sets own schedule",
|
|
67
|
+
"descriptorVictim": "Few indicators present. Routine follow-up.",
|
|
68
|
+
"descriptorOffender": "Few indicators present. Routine follow-up."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "238-002-000-000-000-000-000",
|
|
72
|
+
"key": "risk_2",
|
|
73
|
+
"title": "Watch",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Watch — band 2 of the canonical five-tier risk severity scale (CVC-238). Internal score range 20 – 39 (0–100); display range 2.0 – 3.9 (0–10). As an indicator severity: Low-severity context signal.",
|
|
78
|
+
"canonicalCode": "risk-2",
|
|
79
|
+
"ordinal": 2,
|
|
80
|
+
"lowerBand": 20,
|
|
81
|
+
"bandRangeInternal": "20 – 39",
|
|
82
|
+
"bandRangeDisplay": "2.0 – 3.9",
|
|
83
|
+
"asIndicator": "Low-severity context signal",
|
|
84
|
+
"descriptorVictim": "Some signals worth noting. Keep a light watch.",
|
|
85
|
+
"descriptorOffender": "Some signals worth noting. Keep a light watch."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"code": "238-003-000-000-000-000-000",
|
|
89
|
+
"key": "risk_3",
|
|
90
|
+
"title": "Review",
|
|
91
|
+
"selectable": true,
|
|
92
|
+
"parentCode": null,
|
|
93
|
+
"childCodes": [],
|
|
94
|
+
"definition": "Review — band 3 of the canonical five-tier risk severity scale (CVC-238). Internal score range 40 – 59 (0–100); display range 4.0 – 5.9 (0–10). As an indicator severity: Contextual vulnerability — homelessness, isolation, in CS industry.",
|
|
95
|
+
"canonicalCode": "risk-3",
|
|
96
|
+
"ordinal": 3,
|
|
97
|
+
"lowerBand": 40,
|
|
98
|
+
"bandRangeInternal": "40 – 59",
|
|
99
|
+
"bandRangeDisplay": "4.0 – 5.9",
|
|
100
|
+
"asIndicator": "Contextual vulnerability — homelessness, isolation, in CS industry",
|
|
101
|
+
"descriptorVictim": "Indicators present but mixed. Worth a closer look.",
|
|
102
|
+
"descriptorOffender": "Indicators present but mixed. Worth a closer look."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"code": "238-004-000-000-000-000-000",
|
|
106
|
+
"key": "risk_4",
|
|
107
|
+
"title": "Elevated",
|
|
108
|
+
"selectable": true,
|
|
109
|
+
"parentCode": null,
|
|
110
|
+
"childCodes": [],
|
|
111
|
+
"definition": "Elevated — band 4 of the canonical five-tier risk severity scale (CVC-238). Internal score range 60 – 79 (0–100); display range 6.0 – 7.9 (0–10). As an indicator severity: Control / coercion mechanism — debt, no ID, “turned out”.",
|
|
112
|
+
"canonicalCode": "risk-4",
|
|
113
|
+
"ordinal": 4,
|
|
114
|
+
"lowerBand": 60,
|
|
115
|
+
"bandRangeInternal": "60 – 79",
|
|
116
|
+
"bandRangeDisplay": "6.0 – 7.9",
|
|
117
|
+
"asIndicator": "Control / coercion mechanism — debt, no ID, “turned out”",
|
|
118
|
+
"descriptorVictim": "Converging signals. Prioritise and plan a response.",
|
|
119
|
+
"descriptorOffender": "Converging signals. Prioritise and plan a response."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"code": "238-005-000-000-000-000-000",
|
|
123
|
+
"key": "risk_5",
|
|
124
|
+
"title": "Severe",
|
|
125
|
+
"selectable": true,
|
|
126
|
+
"parentCode": null,
|
|
127
|
+
"childCodes": [],
|
|
128
|
+
"definition": "Severe — band 5 of the canonical five-tier risk severity scale (CVC-238). Internal score range 80 – 100 (0–100); display range 8.0 – 10.0 (0–10). As an indicator severity: Confirmed harm / coercion — forced sex act, strangulation.",
|
|
129
|
+
"canonicalCode": "risk-5",
|
|
130
|
+
"ordinal": 5,
|
|
131
|
+
"lowerBand": 80,
|
|
132
|
+
"bandRangeInternal": "80 – 100",
|
|
133
|
+
"bandRangeDisplay": "8.0 – 10.0",
|
|
134
|
+
"asIndicator": "Confirmed harm / coercion — forced sex act, strangulation",
|
|
135
|
+
"descriptorVictim": "Strong, consistent indicators. Act now.",
|
|
136
|
+
"descriptorOffender": "Strong, converging facilitation evidence. Act now."
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "roi_scope",
|
|
3
3
|
"name": "ROI Scope",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering
|
|
6
|
-
"_source": "
|
|
4
|
+
"version": "1.1.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.",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 HTI-LEADS-PAVE-Thread-prototype.html HTI_SHARE_SCOPE_GROUPS",
|
|
7
7
|
"levels": {
|
|
8
8
|
"0": "Unknown or Missing",
|
|
9
9
|
"1": "ROI scope item"
|
|
@@ -183,6 +183,114 @@
|
|
|
183
183
|
"parentCode": null,
|
|
184
184
|
"childCodes": [],
|
|
185
185
|
"definition": "System-level record metadata (identifiers, timestamps, provenance). System-metadata scope group."
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"code": "983-016-000-000-000-000-000",
|
|
189
|
+
"key": "contact_history",
|
|
190
|
+
"title": "Contact history with this agency",
|
|
191
|
+
"selectable": true,
|
|
192
|
+
"parentCode": null,
|
|
193
|
+
"childCodes": [],
|
|
194
|
+
"definition": "Prior contacts/interactions between the subject and this agency. Canonical scope group `contact` (Contact & history)."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"code": "983-017-000-000-000-000-000",
|
|
198
|
+
"key": "accommodation_needs",
|
|
199
|
+
"title": "Accommodation needs",
|
|
200
|
+
"selectable": true,
|
|
201
|
+
"parentCode": null,
|
|
202
|
+
"childCodes": [],
|
|
203
|
+
"definition": "Accessibility / accommodation needs. Canonical scope group `health_accommodation` (Health & Accommodation)."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"code": "983-018-000-000-000-000-000",
|
|
207
|
+
"key": "disability_subtypes",
|
|
208
|
+
"title": "Disability types",
|
|
209
|
+
"selectable": true,
|
|
210
|
+
"parentCode": null,
|
|
211
|
+
"childCodes": [],
|
|
212
|
+
"definition": "Disability subtype detail (CVC-914 `disability_subtype`). Canonical scope group `health_accommodation`."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"code": "983-019-000-000-000-000-000",
|
|
216
|
+
"key": "mental_health_status",
|
|
217
|
+
"title": "Mental health status",
|
|
218
|
+
"selectable": true,
|
|
219
|
+
"parentCode": null,
|
|
220
|
+
"childCodes": [],
|
|
221
|
+
"definition": "Mental health status (CVC-974 `mental_health_status`). Canonical scope group `health_accommodation`."
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"code": "983-020-000-000-000-000-000",
|
|
225
|
+
"key": "substance_use_status",
|
|
226
|
+
"title": "Substance use status",
|
|
227
|
+
"selectable": true,
|
|
228
|
+
"parentCode": null,
|
|
229
|
+
"childCodes": [],
|
|
230
|
+
"definition": "Substance use status (CVC-958 `substance_use_status`). Canonical scope group `health_accommodation`."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"code": "983-021-000-000-000-000-000",
|
|
234
|
+
"key": "chronic_health_status",
|
|
235
|
+
"title": "Chronic health status",
|
|
236
|
+
"selectable": true,
|
|
237
|
+
"parentCode": null,
|
|
238
|
+
"childCodes": [],
|
|
239
|
+
"definition": "Chronic / ongoing health condition status. Canonical scope group `health_accommodation`."
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"code": "983-022-000-000-000-000-000",
|
|
243
|
+
"key": "hiv_status",
|
|
244
|
+
"title": "HIV status",
|
|
245
|
+
"selectable": true,
|
|
246
|
+
"parentCode": null,
|
|
247
|
+
"childCodes": [],
|
|
248
|
+
"definition": "HIV status (CVC-973 `hiv_status`). No special toggle — the canonical Authorization Model handles the privacy posture. Canonical scope group `health_accommodation`."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"code": "983-023-000-000-000-000-000",
|
|
252
|
+
"key": "immigration_status",
|
|
253
|
+
"title": "Immigration status",
|
|
254
|
+
"selectable": true,
|
|
255
|
+
"parentCode": null,
|
|
256
|
+
"childCodes": [],
|
|
257
|
+
"definition": "Immigration status: visa type + birth country + relevant flags. Canonical scope group `immigration_legal_status` (Immigration & Legal Status)."
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"code": "983-024-000-000-000-000-000",
|
|
261
|
+
"key": "uscis_alien_number",
|
|
262
|
+
"title": "USCIS A-Number",
|
|
263
|
+
"selectable": true,
|
|
264
|
+
"parentCode": null,
|
|
265
|
+
"childCodes": [],
|
|
266
|
+
"definition": "USCIS Alien Registration Number. Canonical scope group `immigration_legal_status`."
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"code": "983-025-000-000-000-000-000",
|
|
270
|
+
"key": "federal_protection_applications",
|
|
271
|
+
"title": "Federal protection applications",
|
|
272
|
+
"selectable": true,
|
|
273
|
+
"parentCode": null,
|
|
274
|
+
"childCodes": [],
|
|
275
|
+
"definition": "Federal protection applications: T-Visa, Continued Presence, U-Visa, VAWA, Asylum, SIJS. Canonical scope group `immigration_legal_status`."
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"code": "983-026-000-000-000-000-000",
|
|
279
|
+
"key": "tvap_enrollment",
|
|
280
|
+
"title": "TVAP enrollment",
|
|
281
|
+
"selectable": true,
|
|
282
|
+
"parentCode": null,
|
|
283
|
+
"childCodes": [],
|
|
284
|
+
"definition": "Trafficking Victim Assistance Program enrollment (USCRI federal trafficking-survivor grant). Canonical scope group `immigration_legal_status`."
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"code": "983-027-000-000-000-000-000",
|
|
288
|
+
"key": "le_report_status",
|
|
289
|
+
"title": "Law enforcement engagement",
|
|
290
|
+
"selectable": true,
|
|
291
|
+
"parentCode": null,
|
|
292
|
+
"childCodes": [],
|
|
293
|
+
"definition": "Law-enforcement report + interview status (CVC-932 `le_report_status`); relevant for foreign-national cases. Canonical scope group `immigration_legal_status`."
|
|
186
294
|
}
|
|
187
295
|
]
|
|
188
296
|
}
|