@htilabs/platform-common-models 0.8.0 → 0.8.3
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 +28 -5
- 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 +27 -5
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +1173 -1
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +2486 -1194
- package/dist/cvcs/index.d.ts +2486 -1194
- package/dist/cvcs/index.js +1165 -1
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +1348 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +182 -6
- package/dist/index.d.ts +182 -6
- package/dist/index.js +1331 -9
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-7dL99tZh.d.cts → platform-auth-BdnJUisw.d.cts} +16 -3
- package/dist/{platform-auth-7dL99tZh.d.ts → platform-auth-BdnJUisw.d.ts} +16 -3
- package/dist/schemas/index.cjs +25 -4
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +25 -4
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +38 -6
- package/src/__tests__/cvc-sot-snapshot.test.ts +45 -7
- package/src/__tests__/cvc-structural.test.ts +9 -0
- package/src/constants/ic.ts +31 -3
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +9 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +114 -0
- package/src/cvcs/htType.v1.0.0.json +78 -0
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +9 -0
- package/src/cvcs/index.ts +16 -0
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/recencyBand.v1.0.0.json +105 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- package/src/cvcs/serviceStates.v1.0.0.json +23 -1
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
- package/src/generated/cvc-enums.ts +195 -3
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "victim_abuse_types",
|
|
3
|
+
"name": "Core Victim Abuse Types",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Abuse / victimization type"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "073-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
|
+
"073-000-000-000-000-000-001",
|
|
18
|
+
"073-000-000-000-000-000-002",
|
|
19
|
+
"073-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "073-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "073-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "The abuse / victimization type is unknown or cannot be determined from the available information."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "073-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous / declined to answer",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "073-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "The abuse / victimization type may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "073-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "073-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the abuse / victimization type."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "073-001-000-000-000-000-000",
|
|
52
|
+
"key": "adult_physical_assault",
|
|
53
|
+
"title": "Adult Physical Assault (includes Aggravated and Simple Assault)",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Adult physical assault, including aggravated and simple assault."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "073-002-000-000-000-000-000",
|
|
61
|
+
"key": "adult_sexual_assault",
|
|
62
|
+
"title": "Adult Sexual Assault",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Adult sexual assault."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "073-003-000-000-000-000-000",
|
|
70
|
+
"key": "arson",
|
|
71
|
+
"title": "Arson",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Arson."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "073-004-000-000-000-000-000",
|
|
79
|
+
"key": "bullying",
|
|
80
|
+
"title": "Bullying (Verbal, Cyber, or Physical)",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Bullying, including verbal, cyber, or physical bullying."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "073-005-000-000-000-000-000",
|
|
88
|
+
"key": "burglary",
|
|
89
|
+
"title": "Burglary",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "Burglary."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"code": "073-006-000-000-000-000-000",
|
|
97
|
+
"key": "child_physical_abuse_or_neglect",
|
|
98
|
+
"title": "Child Physical Abuse or Neglect",
|
|
99
|
+
"selectable": true,
|
|
100
|
+
"parentCode": null,
|
|
101
|
+
"childCodes": [],
|
|
102
|
+
"definition": "Child physical abuse or neglect."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"code": "073-007-000-000-000-000-000",
|
|
106
|
+
"key": "child_pornography",
|
|
107
|
+
"title": "Child Pornography",
|
|
108
|
+
"selectable": true,
|
|
109
|
+
"parentCode": null,
|
|
110
|
+
"childCodes": [],
|
|
111
|
+
"definition": "Child pornography."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"code": "073-008-000-000-000-000-000",
|
|
115
|
+
"key": "child_sexual_abuse_assault",
|
|
116
|
+
"title": "Child Sexual Abuse / Assault",
|
|
117
|
+
"selectable": true,
|
|
118
|
+
"parentCode": null,
|
|
119
|
+
"childCodes": [],
|
|
120
|
+
"definition": "Child sexual abuse or assault."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"code": "073-009-000-000-000-000-000",
|
|
124
|
+
"key": "domestic_and_or_family_violence",
|
|
125
|
+
"title": "Domestic and/or Family Violence",
|
|
126
|
+
"selectable": true,
|
|
127
|
+
"parentCode": null,
|
|
128
|
+
"childCodes": [],
|
|
129
|
+
"definition": "Domestic and/or family violence."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"code": "073-010-000-000-000-000-000",
|
|
133
|
+
"key": "dui_dwi_incidents",
|
|
134
|
+
"title": "DUI / DWI Incidents",
|
|
135
|
+
"selectable": true,
|
|
136
|
+
"parentCode": null,
|
|
137
|
+
"childCodes": [],
|
|
138
|
+
"definition": "Driving under the influence (DUI) / driving while intoxicated (DWI) incidents."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"code": "073-011-000-000-000-000-000",
|
|
142
|
+
"key": "elder_abuse",
|
|
143
|
+
"title": "Elder Abuse or Neglect (Physical or Emotional)",
|
|
144
|
+
"selectable": true,
|
|
145
|
+
"parentCode": null,
|
|
146
|
+
"childCodes": [],
|
|
147
|
+
"definition": "Elder abuse or neglect, physical or emotional."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"code": "073-012-000-000-000-000-000",
|
|
151
|
+
"key": "gang_violence",
|
|
152
|
+
"title": "Gang Violence",
|
|
153
|
+
"selectable": true,
|
|
154
|
+
"parentCode": null,
|
|
155
|
+
"childCodes": [],
|
|
156
|
+
"definition": "Gang violence."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"code": "073-013-000-000-000-000-000",
|
|
160
|
+
"key": "hate_crime",
|
|
161
|
+
"title": "Hate Crime",
|
|
162
|
+
"selectable": true,
|
|
163
|
+
"parentCode": null,
|
|
164
|
+
"childCodes": [],
|
|
165
|
+
"definition": "Hate crime."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"code": "073-014-000-000-000-000-000",
|
|
169
|
+
"key": "homicide",
|
|
170
|
+
"title": "Homicide",
|
|
171
|
+
"selectable": true,
|
|
172
|
+
"parentCode": null,
|
|
173
|
+
"childCodes": [],
|
|
174
|
+
"definition": "Homicide."
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"code": "073-015-000-000-000-000-000",
|
|
178
|
+
"key": "identity_theft",
|
|
179
|
+
"title": "Identity Theft / Fraud / Financial Crime",
|
|
180
|
+
"selectable": true,
|
|
181
|
+
"parentCode": null,
|
|
182
|
+
"childCodes": [],
|
|
183
|
+
"definition": "Identity theft, fraud, or financial crime."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"code": "073-016-000-000-000-000-000",
|
|
187
|
+
"key": "kidnapping_custodial",
|
|
188
|
+
"title": "Kidnapping (Custodial)",
|
|
189
|
+
"selectable": true,
|
|
190
|
+
"parentCode": null,
|
|
191
|
+
"childCodes": [],
|
|
192
|
+
"definition": "Custodial kidnapping."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"code": "073-017-000-000-000-000-000",
|
|
196
|
+
"key": "kidnapping_noncustodial",
|
|
197
|
+
"title": "Kidnapping (Noncustodial)",
|
|
198
|
+
"selectable": true,
|
|
199
|
+
"parentCode": null,
|
|
200
|
+
"childCodes": [],
|
|
201
|
+
"definition": "Noncustodial kidnapping."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"code": "073-018-000-000-000-000-000",
|
|
205
|
+
"key": "mass_violence",
|
|
206
|
+
"title": "Mass Violence (Domestic / International)",
|
|
207
|
+
"selectable": true,
|
|
208
|
+
"parentCode": null,
|
|
209
|
+
"childCodes": [],
|
|
210
|
+
"definition": "Mass violence, domestic or international."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"code": "073-019-000-000-000-000-000",
|
|
214
|
+
"key": "other",
|
|
215
|
+
"title": "Other",
|
|
216
|
+
"selectable": true,
|
|
217
|
+
"parentCode": null,
|
|
218
|
+
"childCodes": [],
|
|
219
|
+
"definition": "An abuse / victimization type not covered by the other codes. Requires accompanying free-text explanation; prefer a specific code whenever one applies."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"code": "073-020-000-000-000-000-000",
|
|
223
|
+
"key": "other_vehicular",
|
|
224
|
+
"title": "Other Vehicular Victimization",
|
|
225
|
+
"selectable": true,
|
|
226
|
+
"parentCode": null,
|
|
227
|
+
"childCodes": [],
|
|
228
|
+
"definition": "Other vehicular victimization."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"code": "073-021-000-000-000-000-000",
|
|
232
|
+
"key": "robbery",
|
|
233
|
+
"title": "Robbery",
|
|
234
|
+
"selectable": true,
|
|
235
|
+
"parentCode": null,
|
|
236
|
+
"childCodes": [],
|
|
237
|
+
"definition": "Robbery."
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"code": "073-022-000-000-000-000-000",
|
|
241
|
+
"key": "stalking_harassment",
|
|
242
|
+
"title": "Stalking / Harassment",
|
|
243
|
+
"selectable": true,
|
|
244
|
+
"parentCode": null,
|
|
245
|
+
"childCodes": [],
|
|
246
|
+
"definition": "Stalking or harassment."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"code": "073-023-000-000-000-000-000",
|
|
250
|
+
"key": "survivors_of_homicide_victims",
|
|
251
|
+
"title": "Survivors of Homicide Victims",
|
|
252
|
+
"selectable": true,
|
|
253
|
+
"parentCode": null,
|
|
254
|
+
"childCodes": [],
|
|
255
|
+
"definition": "Survivors of homicide victims."
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"code": "073-024-000-000-000-000-000",
|
|
259
|
+
"key": "teen_dating_victimization",
|
|
260
|
+
"title": "Teen Dating Victimization",
|
|
261
|
+
"selectable": true,
|
|
262
|
+
"parentCode": null,
|
|
263
|
+
"childCodes": [],
|
|
264
|
+
"definition": "Teen dating victimization."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"code": "073-025-000-000-000-000-000",
|
|
268
|
+
"key": "terrorism",
|
|
269
|
+
"title": "Terrorism (Domestic / International)",
|
|
270
|
+
"selectable": true,
|
|
271
|
+
"parentCode": null,
|
|
272
|
+
"childCodes": [],
|
|
273
|
+
"definition": "Terrorism, domestic or international."
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
}
|
|
@@ -173,7 +173,7 @@ export type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
|
|
|
173
173
|
/**
|
|
174
174
|
* Key → positional code map for the `service_states` CVC domain.
|
|
175
175
|
*
|
|
176
|
-
* Domain: `service_states` · Version: 1.0.0 · Entries:
|
|
176
|
+
* Domain: `service_states` · Version: 1.0.0 · Entries: 17
|
|
177
177
|
*/
|
|
178
178
|
export const ServiceStateKeys = {
|
|
179
179
|
missingness_root: "049-000-000-000-000-000-000",
|
|
@@ -191,6 +191,8 @@ export const ServiceStateKeys = {
|
|
|
191
191
|
unable_to_provide_capacity: "049-007-002-000-000-000-000",
|
|
192
192
|
unable_to_provide_resource: "049-007-003-000-000-000-000",
|
|
193
193
|
unable_other_reason: "049-007-004-000-000-000-000",
|
|
194
|
+
unable_to_provide_service_fit: "049-007-005-000-000-000-000",
|
|
195
|
+
unable_to_provide_access_barrier: "049-007-006-000-000-000-000",
|
|
194
196
|
} as const;
|
|
195
197
|
|
|
196
198
|
export type ServiceStateKey = keyof typeof ServiceStateKeys;
|
|
@@ -835,7 +837,7 @@ export type ContactSafetyStatusKey = keyof typeof ContactSafetyStatusKeys;
|
|
|
835
837
|
/**
|
|
836
838
|
* Key → positional code map for the `highest_education_level_completed` CVC domain.
|
|
837
839
|
*
|
|
838
|
-
* Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries:
|
|
840
|
+
* Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 13
|
|
839
841
|
*/
|
|
840
842
|
export const HighestEducationLevelCompletedKeys = {
|
|
841
843
|
missingness_root: "180-000-000-000-000-000-000",
|
|
@@ -850,6 +852,7 @@ export const HighestEducationLevelCompletedKeys = {
|
|
|
850
852
|
associates: "180-005-000-000-000-000-000",
|
|
851
853
|
bachelors: "180-006-000-000-000-000-000",
|
|
852
854
|
graduate_professional: "180-007-000-000-000-000-000",
|
|
855
|
+
trade_vocational: "180-008-000-000-000-000-000",
|
|
853
856
|
} as const;
|
|
854
857
|
|
|
855
858
|
export type HighestEducationLevelCompletedKey = keyof typeof HighestEducationLevelCompletedKeys;
|
|
@@ -1368,7 +1371,7 @@ export type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
|
|
|
1368
1371
|
/**
|
|
1369
1372
|
* Key → positional code map for the `income_benefits_sources` CVC domain.
|
|
1370
1373
|
*
|
|
1371
|
-
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries:
|
|
1374
|
+
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 39
|
|
1372
1375
|
*/
|
|
1373
1376
|
export const IncomeBenefitsSourcesKeys = {
|
|
1374
1377
|
missingness_root: "171-000-000-000-000-000-000",
|
|
@@ -1409,6 +1412,7 @@ export const IncomeBenefitsSourcesKeys = {
|
|
|
1409
1412
|
other_income: "171-005-001-000-000-000-000",
|
|
1410
1413
|
other_benefit: "171-005-002-000-000-000-000",
|
|
1411
1414
|
education_stipend: "171-005-003-000-000-000-000",
|
|
1415
|
+
victim_compensation: "171-006-000-000-000-000-000",
|
|
1412
1416
|
} as const;
|
|
1413
1417
|
|
|
1414
1418
|
export type IncomeBenefitsSourcesKey = keyof typeof IncomeBenefitsSourcesKeys;
|
|
@@ -3303,3 +3307,191 @@ export const ThreadTypeKeys = {
|
|
|
3303
3307
|
} as const;
|
|
3304
3308
|
|
|
3305
3309
|
export type ThreadTypeKey = keyof typeof ThreadTypeKeys;
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* Key → positional code map for the `living_situation` CVC domain.
|
|
3313
|
+
*
|
|
3314
|
+
* Domain: `living_situation` · Version: 1.0.0 · Entries: 22
|
|
3315
|
+
*/
|
|
3316
|
+
export const LivingSituationKeys = {
|
|
3317
|
+
missingness_root: "192-000-000-000-000-000-000",
|
|
3318
|
+
unknown: "192-000-000-000-000-000-001",
|
|
3319
|
+
anonymous: "192-000-000-000-000-000-002",
|
|
3320
|
+
data_not_collected: "192-000-000-000-000-000-003",
|
|
3321
|
+
unsheltered: "192-001-000-000-000-000-000",
|
|
3322
|
+
emergency_shelter: "192-002-000-000-000-000-000",
|
|
3323
|
+
safe_haven: "192-003-000-000-000-000-000",
|
|
3324
|
+
dv_shelter_safe_house: "192-004-000-000-000-000-000",
|
|
3325
|
+
homeless_unspecified: "192-005-000-000-000-000-000",
|
|
3326
|
+
hospital_medical: "192-006-000-000-000-000-000",
|
|
3327
|
+
psychiatric_residential_facility: "192-007-000-000-000-000-000",
|
|
3328
|
+
substance_use_treatment_residential: "192-008-000-000-000-000-000",
|
|
3329
|
+
incarcerated: "192-009-000-000-000-000-000",
|
|
3330
|
+
cw_foster_care: "192-010-000-000-000-000-000",
|
|
3331
|
+
cw_kinship: "192-011-000-000-000-000-000",
|
|
3332
|
+
long_term_care: "192-012-000-000-000-000-000",
|
|
3333
|
+
transitional_housing_program: "192-013-000-000-000-000-000",
|
|
3334
|
+
temp_housing_program: "192-014-000-000-000-000-000",
|
|
3335
|
+
hotel_motel_non_shelter: "192-015-000-000-000-000-000",
|
|
3336
|
+
own_rent: "192-016-000-000-000-000-000",
|
|
3337
|
+
with_family_friends: "192-017-000-000-000-000-000",
|
|
3338
|
+
other: "192-018-000-000-000-000-000",
|
|
3339
|
+
} as const;
|
|
3340
|
+
|
|
3341
|
+
export type LivingSituationKey = keyof typeof LivingSituationKeys;
|
|
3342
|
+
|
|
3343
|
+
/**
|
|
3344
|
+
* Key → positional code map for the `service_audience` CVC domain.
|
|
3345
|
+
*
|
|
3346
|
+
* Domain: `service_audience` · Version: 1.0.0 · Entries: 9
|
|
3347
|
+
*/
|
|
3348
|
+
export const ServiceAudienceKeys = {
|
|
3349
|
+
missingness_root: "045-000-000-000-000-000-000",
|
|
3350
|
+
unknown: "045-000-000-000-000-000-001",
|
|
3351
|
+
anonymous: "045-000-000-000-000-000-002",
|
|
3352
|
+
data_not_collected: "045-000-000-000-000-000-003",
|
|
3353
|
+
primary_victim: "045-001-000-000-000-000-000",
|
|
3354
|
+
eligible_family_member: "045-002-000-000-000-000-000",
|
|
3355
|
+
third_party: "045-003-000-000-000-000-000",
|
|
3356
|
+
offender: "045-004-000-000-000-000-000",
|
|
3357
|
+
personnel: "045-005-000-000-000-000-000",
|
|
3358
|
+
} as const;
|
|
3359
|
+
|
|
3360
|
+
export type ServiceAudienceKey = keyof typeof ServiceAudienceKeys;
|
|
3361
|
+
|
|
3362
|
+
/**
|
|
3363
|
+
* Key → positional code map for the `hmis_relationship_to_hoh` CVC domain.
|
|
3364
|
+
*
|
|
3365
|
+
* Domain: `hmis_relationship_to_hoh` · Version: 1.0.0 · Entries: 9
|
|
3366
|
+
*/
|
|
3367
|
+
export const HmisRelationshipToHohKeys = {
|
|
3368
|
+
missingness_root: "129-000-000-000-000-000-000",
|
|
3369
|
+
unknown: "129-000-000-000-000-000-001",
|
|
3370
|
+
anonymous: "129-000-000-000-000-000-002",
|
|
3371
|
+
data_not_collected: "129-000-000-000-000-000-003",
|
|
3372
|
+
self_hoh: "129-001-000-000-000-000-000",
|
|
3373
|
+
child_of_hoh: "129-002-000-000-000-000-000",
|
|
3374
|
+
spouse_or_partner_of_hoh: "129-003-000-000-000-000-000",
|
|
3375
|
+
other_relative_of_hoh: "129-004-000-000-000-000-000",
|
|
3376
|
+
non_relation_member: "129-005-000-000-000-000-000",
|
|
3377
|
+
} as const;
|
|
3378
|
+
|
|
3379
|
+
export type HmisRelationshipToHohKey = keyof typeof HmisRelationshipToHohKeys;
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* Key → positional code map for the `victim_abuse_types` CVC domain.
|
|
3383
|
+
*
|
|
3384
|
+
* Domain: `victim_abuse_types` · Version: 1.0.0 · Entries: 29
|
|
3385
|
+
*/
|
|
3386
|
+
export const VictimAbuseTypesKeys = {
|
|
3387
|
+
missingness_root: "073-000-000-000-000-000-000",
|
|
3388
|
+
unknown: "073-000-000-000-000-000-001",
|
|
3389
|
+
anonymous: "073-000-000-000-000-000-002",
|
|
3390
|
+
data_not_collected: "073-000-000-000-000-000-003",
|
|
3391
|
+
adult_physical_assault: "073-001-000-000-000-000-000",
|
|
3392
|
+
adult_sexual_assault: "073-002-000-000-000-000-000",
|
|
3393
|
+
arson: "073-003-000-000-000-000-000",
|
|
3394
|
+
bullying: "073-004-000-000-000-000-000",
|
|
3395
|
+
burglary: "073-005-000-000-000-000-000",
|
|
3396
|
+
child_physical_abuse_or_neglect: "073-006-000-000-000-000-000",
|
|
3397
|
+
child_pornography: "073-007-000-000-000-000-000",
|
|
3398
|
+
child_sexual_abuse_assault: "073-008-000-000-000-000-000",
|
|
3399
|
+
domestic_and_or_family_violence: "073-009-000-000-000-000-000",
|
|
3400
|
+
dui_dwi_incidents: "073-010-000-000-000-000-000",
|
|
3401
|
+
elder_abuse: "073-011-000-000-000-000-000",
|
|
3402
|
+
gang_violence: "073-012-000-000-000-000-000",
|
|
3403
|
+
hate_crime: "073-013-000-000-000-000-000",
|
|
3404
|
+
homicide: "073-014-000-000-000-000-000",
|
|
3405
|
+
identity_theft: "073-015-000-000-000-000-000",
|
|
3406
|
+
kidnapping_custodial: "073-016-000-000-000-000-000",
|
|
3407
|
+
kidnapping_noncustodial: "073-017-000-000-000-000-000",
|
|
3408
|
+
mass_violence: "073-018-000-000-000-000-000",
|
|
3409
|
+
other: "073-019-000-000-000-000-000",
|
|
3410
|
+
other_vehicular: "073-020-000-000-000-000-000",
|
|
3411
|
+
robbery: "073-021-000-000-000-000-000",
|
|
3412
|
+
stalking_harassment: "073-022-000-000-000-000-000",
|
|
3413
|
+
survivors_of_homicide_victims: "073-023-000-000-000-000-000",
|
|
3414
|
+
teen_dating_victimization: "073-024-000-000-000-000-000",
|
|
3415
|
+
terrorism: "073-025-000-000-000-000-000",
|
|
3416
|
+
} as const;
|
|
3417
|
+
|
|
3418
|
+
export type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
|
|
3419
|
+
|
|
3420
|
+
/**
|
|
3421
|
+
* Key → positional code map for the `ht_type` CVC domain.
|
|
3422
|
+
*
|
|
3423
|
+
* Domain: `ht_type` · Version: 1.0.0 · Entries: 7
|
|
3424
|
+
*/
|
|
3425
|
+
export const HtTypeKeys = {
|
|
3426
|
+
missingness_root: "072-000-000-000-000-000-000",
|
|
3427
|
+
unknown: "072-000-000-000-000-000-001",
|
|
3428
|
+
anonymous: "072-000-000-000-000-000-002",
|
|
3429
|
+
data_not_collected: "072-000-000-000-000-000-003",
|
|
3430
|
+
sex: "072-001-000-000-000-000-000",
|
|
3431
|
+
labor: "072-002-000-000-000-000-000",
|
|
3432
|
+
sex_and_labor: "072-003-000-000-000-000-000",
|
|
3433
|
+
} as const;
|
|
3434
|
+
|
|
3435
|
+
export type HtTypeKey = keyof typeof HtTypeKeys;
|
|
3436
|
+
|
|
3437
|
+
/**
|
|
3438
|
+
* Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-231 — pending codebook ratification).
|
|
3439
|
+
*
|
|
3440
|
+
* Domain: `relationship_concern` · Version: 1.0.0 · Entries: 11
|
|
3441
|
+
*/
|
|
3442
|
+
export const RelationshipConcernKeys = {
|
|
3443
|
+
missingness_root: "231-000-000-000-000-000-000",
|
|
3444
|
+
unknown: "231-000-000-000-000-000-001",
|
|
3445
|
+
anonymous: "231-000-000-000-000-000-002",
|
|
3446
|
+
data_not_collected: "231-000-000-000-000-000-003",
|
|
3447
|
+
appears_controlling: "231-001-000-000-000-000-000",
|
|
3448
|
+
is_much_older: "231-002-000-000-000-000-000",
|
|
3449
|
+
physically_abusive: "231-003-000-000-000-000-000",
|
|
3450
|
+
emotionally_abusive: "231-004-000-000-000-000-000",
|
|
3451
|
+
has_legal_involvement: "231-005-000-000-000-000-000",
|
|
3452
|
+
is_known_trafficker_or_suspect: "231-006-000-000-000-000-000",
|
|
3453
|
+
other_concern: "231-007-000-000-000-000-000",
|
|
3454
|
+
} as const;
|
|
3455
|
+
|
|
3456
|
+
export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Key → positional code map for the `recency_band` CVC domain (PROVISIONAL CVC-232 — pending codebook ratification).
|
|
3460
|
+
*
|
|
3461
|
+
* Domain: `recency_band` · Version: 1.0.0 · Entries: 10
|
|
3462
|
+
*/
|
|
3463
|
+
export const RecencyBandKeys = {
|
|
3464
|
+
missingness_root: "232-000-000-000-000-000-000",
|
|
3465
|
+
unknown: "232-000-000-000-000-000-001",
|
|
3466
|
+
anonymous: "232-000-000-000-000-000-002",
|
|
3467
|
+
data_not_collected: "232-000-000-000-000-000-003",
|
|
3468
|
+
within_3_months: "232-001-000-000-000-000-000",
|
|
3469
|
+
months_3_to_6: "232-002-000-000-000-000-000",
|
|
3470
|
+
months_6_to_12: "232-003-000-000-000-000-000",
|
|
3471
|
+
one_year_or_more: "232-004-000-000-000-000-000",
|
|
3472
|
+
years_3_to_10: "232-005-000-000-000-000-000",
|
|
3473
|
+
ten_plus_years: "232-006-000-000-000-000-000",
|
|
3474
|
+
} as const;
|
|
3475
|
+
|
|
3476
|
+
export type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
|
|
3480
|
+
*
|
|
3481
|
+
* Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries: 11
|
|
3482
|
+
*/
|
|
3483
|
+
export const HousingSubsidyTypesKeys = {
|
|
3484
|
+
missingness_root: "233-000-000-000-000-000-000",
|
|
3485
|
+
unknown: "233-000-000-000-000-000-001",
|
|
3486
|
+
anonymous: "233-000-000-000-000-000-002",
|
|
3487
|
+
data_not_collected: "233-000-000-000-000-000-003",
|
|
3488
|
+
housing_choice_voucher: "233-001-000-000-000-000-000",
|
|
3489
|
+
public_housing: "233-002-000-000-000-000-000",
|
|
3490
|
+
project_based_rental_assistance: "233-003-000-000-000-000-000",
|
|
3491
|
+
permanent_supportive_housing: "233-004-000-000-000-000-000",
|
|
3492
|
+
rapid_rehousing_assistance: "233-005-000-000-000-000-000",
|
|
3493
|
+
other_housing_subsidy: "233-006-000-000-000-000-000",
|
|
3494
|
+
no_subsidy: "233-007-000-000-000-000-000",
|
|
3495
|
+
} as const;
|
|
3496
|
+
|
|
3497
|
+
export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|