@htilabs/platform-common-models 0.5.3-beta.4 → 0.7.0-beta.1

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.
Files changed (87) hide show
  1. package/README.md +44 -0
  2. package/dist/config/index.cjs +191 -0
  3. package/dist/config/index.cjs.map +1 -0
  4. package/dist/config/index.d.cts +101 -0
  5. package/dist/config/index.d.ts +101 -0
  6. package/dist/config/index.js +165 -0
  7. package/dist/config/index.js.map +1 -0
  8. package/dist/constants/index.cjs +46 -5
  9. package/dist/constants/index.cjs.map +1 -1
  10. package/dist/constants/index.d.cts +1 -1
  11. package/dist/constants/index.d.ts +1 -1
  12. package/dist/constants/index.js +42 -5
  13. package/dist/constants/index.js.map +1 -1
  14. package/dist/cvcs/index.cjs +6874 -2
  15. package/dist/cvcs/index.cjs.map +1 -1
  16. package/dist/cvcs/index.d.cts +7562 -66
  17. package/dist/cvcs/index.d.ts +7562 -66
  18. package/dist/cvcs/index.js +6833 -1
  19. package/dist/cvcs/index.js.map +1 -1
  20. package/dist/index.cjs +7742 -6
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +1009 -3
  23. package/dist/index.d.ts +1009 -3
  24. package/dist/index.js +7656 -6
  25. package/dist/index.js.map +1 -1
  26. package/dist/{platform-auth-CjC57132.d.cts → platform-auth-C97LpsRd.d.cts} +8 -4
  27. package/dist/{platform-auth-CjC57132.d.ts → platform-auth-C97LpsRd.d.ts} +8 -4
  28. package/dist/schemas/index.cjs +43 -6
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +4 -0
  31. package/dist/schemas/index.d.ts +4 -0
  32. package/dist/schemas/index.js +43 -6
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +9 -2
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +160 -0
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +319 -0
  39. package/src/__tests__/cvc-structural.test.ts +40 -0
  40. package/src/__tests__/runtime-contract-validator.test.ts +556 -0
  41. package/src/config/fixtures/valid.yaml +90 -0
  42. package/src/config/index.ts +352 -0
  43. package/src/constants/ic.ts +49 -6
  44. package/src/cvcs/administeringJurisdiction.v1.0.0.json +105 -0
  45. package/src/cvcs/ageBinReporting.v1.0.0.json +114 -0
  46. package/src/cvcs/contactInfoTypes.v1.0.0.json +250 -0
  47. package/src/cvcs/contactSafetyStatus.v1.0.0.json +69 -0
  48. package/src/cvcs/employmentStatus.v1.0.0.json +302 -0
  49. package/src/cvcs/enrollmentApplicationStatus.v1.0.0.json +123 -0
  50. package/src/cvcs/eyeColor.v1.0.0.json +114 -0
  51. package/src/cvcs/facilitatorEntityType.v1.0.0.json +141 -0
  52. package/src/cvcs/facilitatorLabelUsedInSource.v1.0.0.json +159 -0
  53. package/src/cvcs/facilitatorSubrole.v1.0.0.json +381 -0
  54. package/src/cvcs/frequencyCadence.v1.0.0.json +114 -0
  55. package/src/cvcs/genderIdentity.v1.0.0.json +128 -0
  56. package/src/cvcs/hairColor.v1.0.0.json +105 -0
  57. package/src/cvcs/hasTattoos.v1.0.0.json +69 -0
  58. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +124 -0
  59. package/src/cvcs/hmisSex.v1.0.0.json +89 -0
  60. package/src/cvcs/homelessStatus.v1.0.0.json +98 -0
  61. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +392 -0
  62. package/src/cvcs/index.ts +80 -0
  63. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
  64. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +78 -0
  65. package/src/cvcs/locationType.v1.0.0.json +168 -0
  66. package/src/cvcs/maritalStatusLegal.v1.0.0.json +96 -0
  67. package/src/cvcs/militaryBranch.v1.0.0.json +85 -0
  68. package/src/cvcs/militaryStatus.v1.0.0.json +67 -0
  69. package/src/cvcs/nameType.v1.0.0.json +123 -0
  70. package/src/cvcs/offenderStatus.v1.0.0.json +96 -0
  71. package/src/cvcs/offenderStatusFamily.v1.0.0.json +87 -0
  72. package/src/cvcs/orientationIdentity.v1.0.0.json +97 -0
  73. package/src/cvcs/personRelationships.v1.0.0.json +924 -0
  74. package/src/cvcs/preferredContactMethod.v1.0.0.json +46 -0
  75. package/src/cvcs/pronouns.v1.0.0.json +87 -0
  76. package/src/cvcs/recencyBand.v1.0.0.json +124 -0
  77. package/src/cvcs/referralEntityCategory.v1.0.0.json +439 -0
  78. package/src/cvcs/relationshipStatusCurrent.v1.0.0.json +69 -0
  79. package/src/cvcs/relationshipTies.v1.0.0.json +291 -0
  80. package/src/cvcs/sexProviderSubrole.v1.0.0.json +78 -0
  81. package/src/cvcs/sharePurpose.v1.0.0.json +82 -0
  82. package/src/cvcs/smtType.v1.0.0.json +114 -0
  83. package/src/cvcs/tribes.v1.0.0.json +492 -0
  84. package/src/cvcs/victimStatusFamily.v1.0.0.json +96 -0
  85. package/src/generated/cvc-enums.ts +1048 -0
  86. package/src/index.ts +20 -0
  87. package/src/schemas/common.ts +4 -0
@@ -0,0 +1,439 @@
1
+ {
2
+ "domain": "referral_entity_category",
3
+ "name": "Core Referral Entity Category",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Category",
8
+ "2": "Entity",
9
+ "3": "Variant"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "048-001-000-000-000-000-000",
14
+ "key": "self_referred",
15
+ "title": "Self-referred",
16
+ "selectable": true,
17
+ "parentCode": null,
18
+ "childCodes": [],
19
+ "definition": "Client initiated contact or presented for services without a third-party referrer."
20
+ },
21
+ {
22
+ "code": "048-002-000-000-000-000-000",
23
+ "key": "family_guardian_friend",
24
+ "title": "Family / guardian / friend / foster parent",
25
+ "selectable": true,
26
+ "parentCode": null,
27
+ "childCodes": [],
28
+ "definition": "A caregiver, family member, or close personal support person initiated the referral."
29
+ },
30
+ {
31
+ "code": "048-003-000-000-000-000-000",
32
+ "key": "peer",
33
+ "title": "Peer / another client",
34
+ "selectable": true,
35
+ "parentCode": null,
36
+ "childCodes": [],
37
+ "definition": "Another current or former client initiated or encouraged the referral."
38
+ },
39
+ {
40
+ "code": "048-004-000-000-000-000-000",
41
+ "key": "other_individual",
42
+ "title": "Other individual",
43
+ "selectable": true,
44
+ "parentCode": null,
45
+ "childCodes": [],
46
+ "definition": "A non-family individual initiated the referral (e.g., neighbor, community member, clergy)."
47
+ },
48
+ {
49
+ "code": "048-005-000-000-000-000-000",
50
+ "key": "housing_shelter_continuum",
51
+ "title": "Housing / Shelter continuum",
52
+ "selectable": false,
53
+ "parentCode": null,
54
+ "childCodes": [
55
+ "048-005-001-000-000-000-000",
56
+ "048-005-002-000-000-000-000",
57
+ "048-005-003-000-000-000-000"
58
+ ],
59
+ "definition": "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs."
60
+ },
61
+ {
62
+ "code": "048-005-001-000-000-000-000",
63
+ "key": "outreach_project",
64
+ "title": "Outreach Project",
65
+ "selectable": true,
66
+ "parentCode": "048-005-000-000-000-000-000",
67
+ "childCodes": [],
68
+ "definition": "Street/community outreach program that engaged the client prior to enrollment."
69
+ },
70
+ {
71
+ "code": "048-005-002-000-000-000-000",
72
+ "key": "temporary_shelter",
73
+ "title": "Temporary Shelter",
74
+ "selectable": true,
75
+ "parentCode": "048-005-000-000-000-000-000",
76
+ "childCodes": [],
77
+ "definition": "Emergency/crisis shelter or short-term temporary housing program."
78
+ },
79
+ {
80
+ "code": "048-005-003-000-000-000-000",
81
+ "key": "residential_project",
82
+ "title": "Residential Project",
83
+ "selectable": true,
84
+ "parentCode": "048-005-000-000-000-000-000",
85
+ "childCodes": [],
86
+ "definition": "Longer-term residential or transitional living program."
87
+ },
88
+ {
89
+ "code": "048-006-000-000-000-000-000",
90
+ "key": "hotlines",
91
+ "title": "Hotlines",
92
+ "selectable": false,
93
+ "parentCode": null,
94
+ "childCodes": [
95
+ "048-006-001-000-000-000-000",
96
+ "048-006-002-000-000-000-000"
97
+ ],
98
+ "definition": "Crisis hotlines or call centers that connect a person to services."
99
+ },
100
+ {
101
+ "code": "048-006-001-000-000-000-000",
102
+ "key": "national_hotline",
103
+ "title": "National hotline",
104
+ "selectable": true,
105
+ "parentCode": "048-006-000-000-000-000-000",
106
+ "childCodes": [],
107
+ "definition": "National-level hotline network."
108
+ },
109
+ {
110
+ "code": "048-006-002-000-000-000-000",
111
+ "key": "local_other_hotline",
112
+ "title": "Local / other hotline",
113
+ "selectable": true,
114
+ "parentCode": "048-006-000-000-000-000-000",
115
+ "childCodes": [],
116
+ "definition": "Local/regional hotline or non-national hotline."
117
+ },
118
+ {
119
+ "code": "048-007-000-000-000-000-000",
120
+ "key": "justice_protective_systems",
121
+ "title": "Justice & Protective Systems",
122
+ "selectable": false,
123
+ "parentCode": null,
124
+ "childCodes": [
125
+ "048-007-001-000-000-000-000",
126
+ "048-007-002-000-000-000-000",
127
+ "048-007-003-000-000-000-000",
128
+ "048-007-004-000-000-000-000",
129
+ "048-007-005-000-000-000-000"
130
+ ],
131
+ "definition": "Parent category for government justice and protective systems (child welfare, juvenile justice, law enforcement, courts, corrections)."
132
+ },
133
+ {
134
+ "code": "048-007-001-000-000-000-000",
135
+ "key": "child_welfare_cps",
136
+ "title": "Child Welfare / CPS",
137
+ "selectable": true,
138
+ "parentCode": "048-007-000-000-000-000-000",
139
+ "childCodes": [],
140
+ "definition": "Government child protection agency responsible for investigating child abuse/neglect and ensuring child safety."
141
+ },
142
+ {
143
+ "code": "048-007-002-000-000-000-000",
144
+ "key": "juvenile_justice",
145
+ "title": "Juvenile Justice",
146
+ "selectable": true,
147
+ "parentCode": "048-007-000-000-000-000-000",
148
+ "childCodes": [],
149
+ "definition": "Juvenile probation/detention/court-related juvenile justice system initiated the referral."
150
+ },
151
+ {
152
+ "code": "048-007-003-000-000-000-000",
153
+ "key": "law_enforcement",
154
+ "title": "Law enforcement / Police",
155
+ "selectable": false,
156
+ "parentCode": "048-007-000-000-000-000-000",
157
+ "childCodes": [
158
+ "048-007-003-001-000-000-000",
159
+ "048-007-003-002-000-000-000",
160
+ "048-007-003-003-000-000-000",
161
+ "048-007-003-004-000-000-000",
162
+ "048-007-003-005-000-000-000"
163
+ ],
164
+ "definition": "Law enforcement agency initiated the referral (local/state/federal/tribal)."
165
+ },
166
+ {
167
+ "code": "048-007-003-001-000-000-000",
168
+ "key": "local_law_enforcement",
169
+ "title": "Local law enforcement",
170
+ "selectable": true,
171
+ "parentCode": "048-007-003-000-000-000-000",
172
+ "childCodes": [],
173
+ "definition": "City/county police or sheriff."
174
+ },
175
+ {
176
+ "code": "048-007-003-002-000-000-000",
177
+ "key": "state_law_enforcement",
178
+ "title": "State law enforcement",
179
+ "selectable": true,
180
+ "parentCode": "048-007-003-000-000-000-000",
181
+ "childCodes": [],
182
+ "definition": "State-level law enforcement agency (e.g., state police/highway patrol/state bureau of investigation) acting in an official capacity."
183
+ },
184
+ {
185
+ "code": "048-007-003-003-000-000-000",
186
+ "key": "federal_law_enforcement",
187
+ "title": "Federal law enforcement",
188
+ "selectable": true,
189
+ "parentCode": "048-007-003-000-000-000-000",
190
+ "childCodes": [],
191
+ "definition": "Federal law enforcement agency (e.g., FBI, DHS/ICE)."
192
+ },
193
+ {
194
+ "code": "048-007-003-004-000-000-000",
195
+ "key": "tribal_law_enforcement",
196
+ "title": "Tribal law enforcement",
197
+ "selectable": true,
198
+ "parentCode": "048-007-003-000-000-000-000",
199
+ "childCodes": [],
200
+ "definition": "Tribal police."
201
+ },
202
+ {
203
+ "code": "048-007-003-005-000-000-000",
204
+ "key": "other_law_enforcement",
205
+ "title": "Other / unknown law enforcement",
206
+ "selectable": true,
207
+ "parentCode": "048-007-003-000-000-000-000",
208
+ "childCodes": [],
209
+ "definition": "Other law enforcement entity, or law enforcement type is unknown."
210
+ },
211
+ {
212
+ "code": "048-007-004-000-000-000-000",
213
+ "key": "courts_prosecution",
214
+ "title": "Courts or prosecution",
215
+ "selectable": true,
216
+ "parentCode": "048-007-000-000-000-000-000",
217
+ "childCodes": [],
218
+ "definition": "Court or prosecution entity (not law enforcement)."
219
+ },
220
+ {
221
+ "code": "048-007-005-000-000-000-000",
222
+ "key": "correction_probation",
223
+ "title": "Correction / probation",
224
+ "selectable": true,
225
+ "parentCode": "048-007-000-000-000-000-000",
226
+ "childCodes": [],
227
+ "definition": "Corrections, probation, parole, or community supervision entity (not law enforcement)."
228
+ },
229
+ {
230
+ "code": "048-008-000-000-000-000-000",
231
+ "key": "health_behavioral_health",
232
+ "title": "Health / behavioral health",
233
+ "selectable": false,
234
+ "parentCode": null,
235
+ "childCodes": [
236
+ "048-008-001-000-000-000-000",
237
+ "048-008-002-000-000-000-000"
238
+ ],
239
+ "definition": "Hospitals and healthcare providers (including mental health inpatient facilities)."
240
+ },
241
+ {
242
+ "code": "048-008-001-000-000-000-000",
243
+ "key": "inpatient_psychiatric_facility",
244
+ "title": "Inpatient psychiatric facility",
245
+ "selectable": true,
246
+ "parentCode": "048-008-000-000-000-000-000",
247
+ "childCodes": [],
248
+ "definition": "Inpatient psychiatric hospital or psychiatric facility."
249
+ },
250
+ {
251
+ "code": "048-008-002-000-000-000-000",
252
+ "key": "healthcare_provider",
253
+ "title": "Healthcare provider (non-inpatient psychiatric)",
254
+ "selectable": true,
255
+ "parentCode": "048-008-000-000-000-000-000",
256
+ "childCodes": [],
257
+ "definition": "Any non-inpatient healthcare provider (clinic, hospital, outpatient provider, behavioral health clinic, SANE program, substance abuse clinic, etc.)."
258
+ },
259
+ {
260
+ "code": "048-009-000-000-000-000-000",
261
+ "key": "education",
262
+ "title": "Education",
263
+ "selectable": true,
264
+ "parentCode": null,
265
+ "childCodes": [],
266
+ "definition": "Education-related institutions (schools, academic institutions, colleges, universities) that initiated the referral."
267
+ },
268
+ {
269
+ "code": "048-010-000-000-000-000-000",
270
+ "key": "victim_community_service_providers",
271
+ "title": "Victim + Community service providers",
272
+ "selectable": false,
273
+ "parentCode": null,
274
+ "childCodes": [
275
+ "048-010-001-000-000-000-000",
276
+ "048-010-002-000-000-000-000",
277
+ "048-010-003-000-000-000-000"
278
+ ],
279
+ "definition": "Parent category for victim service providers and community-based service providers."
280
+ },
281
+ {
282
+ "code": "048-010-001-000-000-000-000",
283
+ "key": "child_advocacy_center",
284
+ "title": "Child Advocacy Center (CAC)",
285
+ "selectable": true,
286
+ "parentCode": "048-010-000-000-000-000-000",
287
+ "childCodes": [],
288
+ "definition": "A child-centered multidisciplinary center coordinating investigation and services (forensic interview, coordination, referrals, sometimes medical or therapy) for child victims."
289
+ },
290
+ {
291
+ "code": "048-010-002-000-000-000-000",
292
+ "key": "victim_service_provider",
293
+ "title": "Victim service provider / advocacy program",
294
+ "selectable": true,
295
+ "parentCode": "048-010-000-000-000-000-000",
296
+ "childCodes": [],
297
+ "definition": "Private nonprofit organization whose primary mission is to provide services to survivors of domestic violence, dating violence, sexual assault, or stalking. Includes rape crisis centers, battered women's shelters, domestic violence transitional housing programs, and other programs."
298
+ },
299
+ {
300
+ "code": "048-010-003-000-000-000-000",
301
+ "key": "community_based_service_provider",
302
+ "title": "Community-based service provider (general social services)",
303
+ "selectable": true,
304
+ "parentCode": "048-010-000-000-000-000-000",
305
+ "childCodes": [],
306
+ "definition": "Non-VSP offering practical support services, navigation, or stabilization resources that is not primarily a VSP, housing or shelter project, government justice agency, healthcare provider, school, hotline, or public benefits office. Example: youth drop-in center, food pantry, reentry program."
307
+ },
308
+ {
309
+ "code": "048-011-000-000-000-000-000",
310
+ "key": "coordination_governance",
311
+ "title": "Coordination & Governance",
312
+ "selectable": false,
313
+ "parentCode": null,
314
+ "childCodes": [
315
+ "048-011-001-000-000-000-000",
316
+ "048-011-002-000-000-000-000"
317
+ ],
318
+ "definition": "Parent category for coordination and governance bodies (e.g., MDTs, coalitions)."
319
+ },
320
+ {
321
+ "code": "048-011-001-000-000-000-000",
322
+ "key": "mdt",
323
+ "title": "MDT (case coalition body)",
324
+ "selectable": true,
325
+ "parentCode": "048-011-000-000-000-000-000",
326
+ "childCodes": [],
327
+ "definition": "A multi-organization coordination group (not a direct service provider) that initiates referrals through case review, interagency coordination, or system-level processes."
328
+ },
329
+ {
330
+ "code": "048-011-002-000-000-000-000",
331
+ "key": "coalition",
332
+ "title": "Coalition (state / regional)",
333
+ "selectable": true,
334
+ "parentCode": "048-011-000-000-000-000-000",
335
+ "childCodes": [],
336
+ "definition": "A state or regional multi-organization coalition (not a direct service provider) that initiates referrals through case review, interagency coordination, or system-level processes."
337
+ },
338
+ {
339
+ "code": "048-012-000-000-000-000-000",
340
+ "key": "internal",
341
+ "title": "Internal",
342
+ "selectable": false,
343
+ "parentCode": null,
344
+ "childCodes": [
345
+ "048-012-001-000-000-000-000"
346
+ ],
347
+ "definition": "Parent category for internal referrals within the same umbrella agency."
348
+ },
349
+ {
350
+ "code": "048-012-001-000-000-000-000",
351
+ "key": "own_agency_internal",
352
+ "title": "Own agency / internal referral",
353
+ "selectable": true,
354
+ "parentCode": "048-012-000-000-000-000-000",
355
+ "childCodes": [],
356
+ "definition": "Client was referred from another program or unit within the same umbrella agency."
357
+ },
358
+ {
359
+ "code": "048-013-000-000-000-000-000",
360
+ "key": "other_entity",
361
+ "title": "Other",
362
+ "selectable": false,
363
+ "parentCode": null,
364
+ "childCodes": [
365
+ "048-013-001-000-000-000-000",
366
+ "048-013-002-000-000-000-000",
367
+ "048-013-003-000-000-000-000"
368
+ ],
369
+ "definition": "Parent category for other organizations not captured by the primary sectors."
370
+ },
371
+ {
372
+ "code": "048-013-001-000-000-000-000",
373
+ "key": "employer",
374
+ "title": "Employer",
375
+ "selectable": true,
376
+ "parentCode": "048-013-000-000-000-000-000",
377
+ "childCodes": [],
378
+ "definition": "Employer, HR, or employee assistance program initiated the referral."
379
+ },
380
+ {
381
+ "code": "048-013-002-000-000-000-000",
382
+ "key": "benefits_public_assistance_office",
383
+ "title": "Benefits / public assistance office",
384
+ "selectable": true,
385
+ "parentCode": "048-013-000-000-000-000-000",
386
+ "childCodes": [],
387
+ "definition": "Government office administering public benefits or eligibility and enrollment (e.g., SNAP, TANF, Medicaid, SSA)."
388
+ },
389
+ {
390
+ "code": "048-013-003-000-000-000-000",
391
+ "key": "other_organization",
392
+ "title": "Other organization",
393
+ "selectable": true,
394
+ "parentCode": "048-013-000-000-000-000-000",
395
+ "childCodes": [],
396
+ "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
+ }
438
+ ]
439
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "domain": "relationship_status_current",
3
+ "name": "Core Relationship Status (Current)",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Relationship status"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "157-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
+ "157-000-000-000-000-000-001",
18
+ "157-000-000-000-000-000-002",
19
+ "157-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "157-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "157-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "157-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "157-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Anonymous or declined to answer — value is intentionally withheld by or on behalf of the subject."
40
+ },
41
+ {
42
+ "code": "157-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "157-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "157-001-000-000-000-000-000",
52
+ "key": "partnered",
53
+ "title": "Partnered",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Currently in a romantic relationship or partnership. Describes the current relational state only and makes no claim about cohabitation (see CVC-158 COHABITATING) or legal marriage status (see CVC-156)."
58
+ },
59
+ {
60
+ "code": "157-002-000-000-000-000-000",
61
+ "key": "not_partnered",
62
+ "title": "Not partnered",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Not currently in a romantic relationship or partnership. Prior or dissolved partnerships are not captured here; this code reflects the subject's current state only."
67
+ }
68
+ ]
69
+ }