@htilabs/platform-common-models 0.9.0 → 0.12.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/config/index.cjs +85 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +94 -4
- package/dist/config/index.d.ts +94 -4
- package/dist/config/index.js +81 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +456 -181
- 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 +453 -169
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +15331 -801
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +18167 -2208
- package/dist/cvcs/index.d.ts +18167 -2208
- package/dist/cvcs/index.js +15282 -801
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +17070 -1056
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1638 -12
- package/dist/index.d.ts +1638 -12
- package/dist/index.js +16969 -1043
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/mongo/index.cjs +384 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +352 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
- package/dist/schemas/index.cjs +25 -156
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js +25 -156
- 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 +9 -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 +227 -35
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +603 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
- package/src/__tests__/cvc-structural.test.ts +56 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/__tests__/runtime-contract-validator.test.ts +325 -1
- package/src/config/index.ts +197 -6
- package/src/constants/ic.ts +512 -206
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/activityType.v1.0.0.json +143 -0
- 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 +629 -0
- package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -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 +55 -46
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
- package/src/cvcs/htType.v1.0.0.json +87 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- 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/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +106 -1
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- 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/needsAssessmentChangeType.v1.0.0.json +134 -0
- 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/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
- package/src/cvcs/recencyBand.v1.0.0.json +104 -39
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiMethod.v1.0.0.json +107 -0
- package/src/cvcs/roiScope.v1.0.0.json +296 -0
- package/src/cvcs/roiStatus.v1.0.0.json +106 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- 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 +55 -33
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
- 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/sourceSubtype.v1.1.0.json +36 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -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 +1729 -7
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/services/cvcRegistryService.ts +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "living_situation",
|
|
3
|
+
"name": "Core Living Situation",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Living situation"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "192-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"192-000-000-000-000-000-001",
|
|
18
|
+
"192-000-000-000-000-000-002",
|
|
19
|
+
"192-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "192-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown / not captured",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "192-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Living situation is unknown or cannot be determined from the available information."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "192-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous / declined to answer",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "192-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Living situation may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "192-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "192-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the living situation."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "192-001-000-000-000-000-000",
|
|
52
|
+
"key": "unsheltered",
|
|
53
|
+
"title": "Unsheltered / place not meant for habitation",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Place not meant for human habitation (e.g., a vehicle, abandoned building, bus/train/subway station, airport, or anywhere outside). Literally homeless per HUD's homelessness definition."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "192-002-000-000-000-000-000",
|
|
61
|
+
"key": "emergency_shelter",
|
|
62
|
+
"title": "Emergency shelter",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Emergency shelter, including hotel or motel paid for with an emergency shelter voucher, or Host Home shelter. Literally homeless per HUD's homelessness definition."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "192-003-000-000-000-000-000",
|
|
70
|
+
"key": "safe_haven",
|
|
71
|
+
"title": "Safe Haven",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Safe Haven program for hard-to-serve individuals. Literally homeless per HUD's homelessness definition."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "192-004-000-000-000-000-000",
|
|
79
|
+
"key": "dv_shelter_safe_house",
|
|
80
|
+
"title": "Domestic violence shelter / safe house",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Domestic violence shelter, safe house, or other confidential residential program serving survivors of intimate-partner / domestic violence."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "192-005-000-000-000-000-000",
|
|
88
|
+
"key": "homeless_unspecified",
|
|
89
|
+
"title": "Homeless (not sure where staying)",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "The person is homeless but the specific type of homeless situation is not known or not specified."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"code": "192-006-000-000-000-000-000",
|
|
97
|
+
"key": "hospital_medical",
|
|
98
|
+
"title": "Hospital / medical facility",
|
|
99
|
+
"selectable": true,
|
|
100
|
+
"parentCode": null,
|
|
101
|
+
"childCodes": [],
|
|
102
|
+
"definition": "Hospital or other residential non-psychiatric medical facility. Institutional situation."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"code": "192-007-000-000-000-000-000",
|
|
106
|
+
"key": "psychiatric_residential_facility",
|
|
107
|
+
"title": "Psychiatric facility",
|
|
108
|
+
"selectable": true,
|
|
109
|
+
"parentCode": null,
|
|
110
|
+
"childCodes": [],
|
|
111
|
+
"definition": "Psychiatric hospital or other psychiatric residential facility. Institutional situation."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"code": "192-008-000-000-000-000-000",
|
|
115
|
+
"key": "substance_use_treatment_residential",
|
|
116
|
+
"title": "Substance use treatment / detox facility",
|
|
117
|
+
"selectable": true,
|
|
118
|
+
"parentCode": null,
|
|
119
|
+
"childCodes": [],
|
|
120
|
+
"definition": "Substance use treatment center or detox facility (residential). Institutional situation."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"code": "192-009-000-000-000-000-000",
|
|
124
|
+
"key": "incarcerated",
|
|
125
|
+
"title": "Jail, prison, or detention facility",
|
|
126
|
+
"selectable": true,
|
|
127
|
+
"parentCode": null,
|
|
128
|
+
"childCodes": [],
|
|
129
|
+
"definition": "Jail, prison, or juvenile detention facility. Institutional situation."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"code": "192-010-000-000-000-000-000",
|
|
133
|
+
"key": "cw_foster_care",
|
|
134
|
+
"title": "Foster care or foster care group home",
|
|
135
|
+
"selectable": true,
|
|
136
|
+
"parentCode": null,
|
|
137
|
+
"childCodes": [],
|
|
138
|
+
"definition": "Foster care home or foster care group home under child welfare placement. Institutional situation."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"code": "192-011-000-000-000-000-000",
|
|
142
|
+
"key": "cw_kinship",
|
|
143
|
+
"title": "Kinship placement under child welfare",
|
|
144
|
+
"selectable": true,
|
|
145
|
+
"parentCode": null,
|
|
146
|
+
"childCodes": [],
|
|
147
|
+
"definition": "Kinship care placement under child welfare authority. Institutional situation."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"code": "192-012-000-000-000-000-000",
|
|
151
|
+
"key": "long_term_care",
|
|
152
|
+
"title": "Long-term care / nursing facility",
|
|
153
|
+
"selectable": true,
|
|
154
|
+
"parentCode": null,
|
|
155
|
+
"childCodes": [],
|
|
156
|
+
"definition": "Long-term care facility or nursing home. Institutional situation."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"code": "192-013-000-000-000-000-000",
|
|
160
|
+
"key": "transitional_housing_program",
|
|
161
|
+
"title": "Transitional housing program",
|
|
162
|
+
"selectable": true,
|
|
163
|
+
"parentCode": null,
|
|
164
|
+
"childCodes": [],
|
|
165
|
+
"definition": "Transitional housing program for formerly homeless persons. Temporary housing situation."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"code": "192-014-000-000-000-000-000",
|
|
169
|
+
"key": "temp_housing_program",
|
|
170
|
+
"title": "Temporary housing program",
|
|
171
|
+
"selectable": true,
|
|
172
|
+
"parentCode": null,
|
|
173
|
+
"childCodes": [],
|
|
174
|
+
"definition": "Other temporary housing program (e.g., rapid re-housing, host home, or other time-limited program). Temporary housing situation."
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"code": "192-015-000-000-000-000-000",
|
|
178
|
+
"key": "hotel_motel_non_shelter",
|
|
179
|
+
"title": "Hotel / motel — non-shelter (no canonical voucher)",
|
|
180
|
+
"selectable": true,
|
|
181
|
+
"parentCode": null,
|
|
182
|
+
"childCodes": [],
|
|
183
|
+
"definition": "Hotel or motel paid for without an emergency shelter voucher. Temporary housing situation."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"code": "192-016-000-000-000-000-000",
|
|
187
|
+
"key": "own_rent",
|
|
188
|
+
"title": "Own or rent home / apartment",
|
|
189
|
+
"selectable": true,
|
|
190
|
+
"parentCode": null,
|
|
191
|
+
"childCodes": [],
|
|
192
|
+
"definition": "Rental or owned housing (house, apartment, or room), with or without a subsidy. Permanent housing situation."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"code": "192-017-000-000-000-000-000",
|
|
196
|
+
"key": "with_family_friends",
|
|
197
|
+
"title": "Staying with family or friends",
|
|
198
|
+
"selectable": true,
|
|
199
|
+
"parentCode": null,
|
|
200
|
+
"childCodes": [],
|
|
201
|
+
"definition": "Staying or living in a family member's or friend's room, apartment, or house. Temporary or permanent housing situation depending on tenure."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"code": "192-018-000-000-000-000-000",
|
|
205
|
+
"key": "other",
|
|
206
|
+
"title": "Other living situation",
|
|
207
|
+
"selectable": true,
|
|
208
|
+
"parentCode": null,
|
|
209
|
+
"childCodes": [],
|
|
210
|
+
"definition": "A living situation not covered by the other codes. Requires accompanying free-text explanation; prefer a specific living-situation code whenever one applies."
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "mental_health_status",
|
|
3
|
+
"name": "Mental Health Status",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_mental_health_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Single-select presence of a mental health condition or concern (HMIS 4.09 Mental Health Disorder); YES triggers a severity follow-up and contributes to the HMIS 3.08 Disabling Condition rollup.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_mental_health_status.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Mental health status"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "974-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
|
+
"974-000-000-000-000-000-001",
|
|
20
|
+
"974-000-000-000-000-000-002",
|
|
21
|
+
"974-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet. The prototype YAML's own level-1 missingness values (UNK · DK · PNA) map onto this triplet per SOT convention rather than being duplicated as substantive entries."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "974-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "974-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Mental health status is unknown at time of entry — survivor or advocate doesn't know. Default missing state. Folds the prototype UNK (HMIS 4.09 = Data not collected; survivor/advocate doesn't know) and DK (HMIS 4.09 = Client doesn't know; survivor explicitly says they don't know) values under the standard workspace UNK sentinel."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "974-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "974-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value intentionally withheld or redacted. Maps the prototype PNA (HMIS 4.09 = Client prefers not to answer; survivor explicitly declines to answer) under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "974-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "974-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "Not collected during this interaction. No attempt was made to collect the value; system-only sentinel per GLOBAL_DESIGN_RULES."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "974-001-000-000-000-000-000",
|
|
54
|
+
"key": "yes",
|
|
55
|
+
"title": "Yes",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Mental health condition or concern present. Triggers severity follow-up via core_severity_follow_up CVC captured in p.demographics.mental_health_severity. Per HMIS 4.09 guidance: range from situational to serious mental illness. YES (any severity) fires the risk indicator history_of_mental_health_issues, and YES + severity=YES contributes to the HMIS 3.08 Disabling Condition rollup per HMIS 4.09 guidance. (YAML code YES; HMIS 4.09 = Yes.)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "974-002-000-000-000-000-000",
|
|
63
|
+
"key": "no",
|
|
64
|
+
"title": "No",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "No mental health condition reported. Does not contribute to the HMIS 3.08 Disabling Condition rollup. (YAML code NO; HMIS 4.09 = No.)"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -7,6 +7,26 @@
|
|
|
7
7
|
"1": "Military branch"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "120-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"120-000-000-000-000-000-001"
|
|
18
|
+
],
|
|
19
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"code": "120-000-000-000-000-000-001",
|
|
23
|
+
"key": "unknown",
|
|
24
|
+
"title": "Unknown",
|
|
25
|
+
"selectable": true,
|
|
26
|
+
"parentCode": "120-000-000-000-000-000-000",
|
|
27
|
+
"childCodes": [],
|
|
28
|
+
"definition": "Value is unknown at time of entry."
|
|
29
|
+
},
|
|
10
30
|
{
|
|
11
31
|
"code": "120-001-000-000-000-000-000",
|
|
12
32
|
"key": "army",
|
|
@@ -60,26 +80,6 @@
|
|
|
60
80
|
"parentCode": null,
|
|
61
81
|
"childCodes": [],
|
|
62
82
|
"definition": "Indicates service in the United States Space Force, the space-warfare branch of the U.S. Armed Forces established in 2019. Crosswalk note: some partner intake forms (e.g., Ascension) pre-date Space Force and do not list it — consumers receiving legacy data may need to map 'Other' to this key based on service dates."
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"code": "120-000-000-000-000-000-000",
|
|
66
|
-
"key": "missingness_root",
|
|
67
|
-
"title": "Unknown, Redacted, or Missing",
|
|
68
|
-
"selectable": false,
|
|
69
|
-
"parentCode": null,
|
|
70
|
-
"childCodes": [
|
|
71
|
-
"120-000-000-000-000-000-001"
|
|
72
|
-
],
|
|
73
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"code": "120-000-000-000-000-000-001",
|
|
77
|
-
"key": "unknown",
|
|
78
|
-
"title": "Unknown",
|
|
79
|
-
"selectable": true,
|
|
80
|
-
"parentCode": "120-000-000-000-000-000-000",
|
|
81
|
-
"childCodes": [],
|
|
82
|
-
"definition": "Value is unknown at time of entry."
|
|
83
83
|
}
|
|
84
84
|
]
|
|
85
85
|
}
|
|
@@ -7,6 +7,26 @@
|
|
|
7
7
|
"1": "Military status"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "121-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"121-000-000-000-000-000-001"
|
|
18
|
+
],
|
|
19
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"code": "121-000-000-000-000-000-001",
|
|
23
|
+
"key": "unknown",
|
|
24
|
+
"title": "Unknown",
|
|
25
|
+
"selectable": true,
|
|
26
|
+
"parentCode": "121-000-000-000-000-000-000",
|
|
27
|
+
"childCodes": [],
|
|
28
|
+
"definition": "Value is unknown at time of entry."
|
|
29
|
+
},
|
|
10
30
|
{
|
|
11
31
|
"code": "121-001-000-000-000-000-000",
|
|
12
32
|
"key": "active_duty",
|
|
@@ -42,26 +62,6 @@
|
|
|
42
62
|
"parentCode": null,
|
|
43
63
|
"childCodes": [],
|
|
44
64
|
"definition": "Indicates the individual is currently serving in a Reserve component of the United States Armed Forces (e.g., Army Reserve, Navy Reserve, Air Force Reserve, Marine Forces Reserve, Coast Guard Reserve, National Guard)."
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"code": "121-000-000-000-000-000-000",
|
|
48
|
-
"key": "missingness_root",
|
|
49
|
-
"title": "Unknown, Redacted, or Missing",
|
|
50
|
-
"selectable": false,
|
|
51
|
-
"parentCode": null,
|
|
52
|
-
"childCodes": [
|
|
53
|
-
"121-000-000-000-000-000-001"
|
|
54
|
-
],
|
|
55
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"code": "121-000-000-000-000-000-001",
|
|
59
|
-
"key": "unknown",
|
|
60
|
-
"title": "Unknown",
|
|
61
|
-
"selectable": true,
|
|
62
|
-
"parentCode": "121-000-000-000-000-000-000",
|
|
63
|
-
"childCodes": [],
|
|
64
|
-
"definition": "Value is unknown at time of entry."
|
|
65
65
|
}
|
|
66
66
|
]
|
|
67
67
|
}
|
|
@@ -7,6 +7,46 @@
|
|
|
7
7
|
"1": "Name type"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "001-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"001-000-000-000-000-000-001",
|
|
18
|
+
"001-000-000-000-000-000-002",
|
|
19
|
+
"001-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "001-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "001-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "001-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
10
50
|
{
|
|
11
51
|
"code": "001-001-000-000-000-000-000",
|
|
12
52
|
"key": "alias",
|
|
@@ -78,46 +118,6 @@
|
|
|
78
118
|
"parentCode": null,
|
|
79
119
|
"childCodes": [],
|
|
80
120
|
"definition": "A professional, trade, or stage name; each instance of use should be stored because 'most commonly used' is tracked. Maps to 'Partial, street name, or code name reported'."
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"code": "001-000-000-000-000-000-000",
|
|
84
|
-
"key": "missingness_root",
|
|
85
|
-
"title": "Unknown, Redacted, or Missing",
|
|
86
|
-
"selectable": false,
|
|
87
|
-
"parentCode": null,
|
|
88
|
-
"childCodes": [
|
|
89
|
-
"001-000-000-000-000-000-001",
|
|
90
|
-
"001-000-000-000-000-000-002",
|
|
91
|
-
"001-000-000-000-000-000-003"
|
|
92
|
-
],
|
|
93
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"code": "001-000-000-000-000-000-001",
|
|
97
|
-
"key": "unknown",
|
|
98
|
-
"title": "Unknown",
|
|
99
|
-
"selectable": true,
|
|
100
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
101
|
-
"childCodes": [],
|
|
102
|
-
"definition": "Value is unknown at time of entry."
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"code": "001-000-000-000-000-000-002",
|
|
106
|
-
"key": "anonymous",
|
|
107
|
-
"title": "Anonymous",
|
|
108
|
-
"selectable": true,
|
|
109
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
110
|
-
"childCodes": [],
|
|
111
|
-
"definition": "Value is intentionally withheld or redacted."
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"code": "001-000-000-000-000-000-003",
|
|
115
|
-
"key": "data_not_collected",
|
|
116
|
-
"title": "Data not collected",
|
|
117
|
-
"selectable": true,
|
|
118
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
119
|
-
"childCodes": [],
|
|
120
|
-
"definition": "No attempt was made to collect the value."
|
|
121
121
|
}
|
|
122
122
|
]
|
|
123
123
|
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "needs_assessment_change_type",
|
|
3
|
+
"name": "Needs Assessment Change Type",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes sourced verbatim from PAVE `@pave/domain` NEEDS_ASSESSMENT_CHANGE_TYPES (packages/domain/src/assertionVerbs.ts, PR #439) — PAVE author-own-vocab per the 2026-07-02 steer, working CVC name `core - needs_assessment_change_type`. CASING NORMALIZED: PAVE stores these SCREAMING_SNAKE (ANSWER_RECORDED…); CVC keys are lower_snake per the key regex. This is the FINE-GRAINED per-mutation change_type vocabulary, DISTINCT from the coarse 3-verb section-boundary runtime registry NEEDS_ASSESSMENT_VERB_REGISTRY (sectionSubmitted/sectionDeclined/needLogged), which stays as-is. PENDING canonical Notion authoring + steward ratification.",
|
|
6
|
+
"_source": "pave-2.0/packages/domain/src/assertionVerbs.ts NEEDS_ASSESSMENT_CHANGE_TYPES (PR #439); prototype/docs/components/COMPONENT_NeedsAssessmentSection.md § 6 (the 9-verb emit table)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Needs-assessment change event (CAR verb)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "982-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
|
+
"982-000-000-000-000-000-001",
|
|
20
|
+
"982-000-000-000-000-000-002",
|
|
21
|
+
"982-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 PAVE enum enumerates only the substantive change types, so the quadruplet is added per SOT convention."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "982-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "982-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Change-event type is unknown at time of entry (missingness sentinel)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "982-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "982-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "982-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "982-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "982-001-000-000-000-000-000",
|
|
54
|
+
"key": "answer_recorded",
|
|
55
|
+
"title": "Answer recorded",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "First commit on a previously-untouched question. Payload `(q, value)`; the diff is taken via a `prior` lookup in HTI_NEEDS_ANSWERS. (PAVE code ANSWER_RECORDED.)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "982-002-000-000-000-000-000",
|
|
63
|
+
"key": "answer_changed",
|
|
64
|
+
"title": "Answer changed",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Subsequent commit on an already-answered question. Payload `(q, value)`; freetext commits are debounced 1500ms. (PAVE code ANSWER_CHANGED.)"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "982-003-000-000-000-000-000",
|
|
72
|
+
"key": "answer_cleared",
|
|
73
|
+
"title": "Answer cleared",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Value goes from non-empty to empty (radio cleared, textarea blanked). Payload `(q)`. Only fires when the prior value was non-empty. (PAVE code ANSWER_CLEARED.)"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "982-004-000-000-000-000-000",
|
|
81
|
+
"key": "section_declined",
|
|
82
|
+
"title": "Section declined",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Decline-to-answer toggle flipped ON for a section. Payload `(slug)`; carries `assertion_value_anon: \"ANON\"` per GLOBAL_DESIGN_RULES § 6.5.8. (PAVE code SECTION_DECLINED.)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "982-005-000-000-000-000-000",
|
|
90
|
+
"key": "section_undeclined",
|
|
91
|
+
"title": "Section undeclined",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Decline-to-answer toggle flipped OFF. Marks the prior section_declined row `status: \"superseded\"` BEFORE emitting. (PAVE code SECTION_UNDECLINED.)"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "982-006-000-000-000-000-000",
|
|
99
|
+
"key": "section_submitted",
|
|
100
|
+
"title": "Section submitted",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Per-section Save button click. Payload `(slug, answeredCount)`. Always fires on Save when `answered > 0 OR declined`; does not fire when nothing is committable. (PAVE code SECTION_SUBMITTED.)"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "982-007-000-000-000-000-000",
|
|
108
|
+
"key": "assessment_submitted",
|
|
109
|
+
"title": "Assessment submitted",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Footer-level Submit Needs Assessment click. Payload `(answeredCount, totalCount)`; locks the assessment as a complete instrument run. (PAVE code ASSESSMENT_SUBMITTED.)"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "982-008-000-000-000-000-000",
|
|
117
|
+
"key": "service_instance_generated",
|
|
118
|
+
"title": "Service instance generated",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "A `loggedServiceWhen` rule fires `addServiceInstance` with a fresh instance. Payload `(q, instanceId)`; pairs with an INSTANCE_ADDED row on the service_delivery domain. (PAVE code SERVICE_INSTANCE_GENERATED.)"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "982-009-000-000-000-000-000",
|
|
126
|
+
"key": "service_instance_linked",
|
|
127
|
+
"title": "Service instance linked",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "A `loggedServiceWhen` rule re-evaluates and binds an already-existing service instance. Payload `(q, instanceId)`; idempotent path. (PAVE code SERVICE_INSTANCE_LINKED.)"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|