@htilabs/platform-common-models 0.7.0-beta.1 → 0.8.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.
Files changed (133) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +76 -52
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +75 -48
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +11136 -136
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +12856 -603
  13. package/dist/cvcs/index.d.ts +12856 -603
  14. package/dist/cvcs/index.js +11060 -132
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +12593 -246
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +1686 -98
  21. package/dist/index.d.ts +1686 -98
  22. package/dist/index.js +12442 -234
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
  28. package/dist/schemas/index.cjs +68 -49
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +68 -49
  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 +19 -25
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
  39. package/src/__tests__/cvc-structural.test.ts +76 -3
  40. package/src/constants/ic.ts +163 -51
  41. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  42. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  43. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  44. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  45. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  46. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  47. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  48. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  49. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  50. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  51. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  52. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  53. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  54. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  55. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  56. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  57. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  58. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  59. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  60. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  61. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  62. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  63. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  64. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  65. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  66. package/src/cvcs/funder.v1.0.0.json +125 -0
  67. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  68. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  69. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  70. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  71. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  72. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  73. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  74. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  75. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  76. package/src/cvcs/index.ts +150 -6
  77. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  78. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  79. package/src/cvcs/languages.v1.0.0.json +1924 -0
  80. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  81. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  82. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  83. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  84. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  85. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  86. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  87. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  88. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  89. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  90. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  91. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  92. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  93. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  94. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  95. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  96. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  97. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  98. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  99. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  100. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  101. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  102. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  103. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  104. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  105. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  106. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  107. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  108. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  109. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  110. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  111. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  112. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  113. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  114. package/src/cvcs/threadType.v1.0.0.json +98 -0
  115. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  116. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  117. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  118. package/src/cvcs/visaType.v1.0.0.json +378 -0
  119. package/src/generated/cvc-enums.ts +1816 -46
  120. package/src/index.ts +0 -20
  121. package/src/schemas/common.ts +0 -4
  122. package/dist/config/index.cjs +0 -191
  123. package/dist/config/index.cjs.map +0 -1
  124. package/dist/config/index.d.cts +0 -101
  125. package/dist/config/index.d.ts +0 -101
  126. package/dist/config/index.js +0 -165
  127. package/dist/config/index.js.map +0 -1
  128. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  129. package/src/config/fixtures/valid.yaml +0 -90
  130. package/src/config/index.ts +0 -352
  131. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  132. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  133. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
@@ -0,0 +1,330 @@
1
+ {
2
+ "domain": "source_subtype",
3
+ "name": "Core Source Subtype",
4
+ "version": "1.1.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Source subtype"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "141-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
+ "141-000-000-000-000-000-001",
18
+ "141-000-000-000-000-000-002",
19
+ "141-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "141-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "141-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "141-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "141-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "141-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "141-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "141-001-000-000-000-000-000",
52
+ "key": "ads_profile_website",
53
+ "title": "Ads / profile website",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Online advertisement or profile page used as the origin of the information. Source category: open_source. Pair with source_artifact_refs pointing to the ad / profile capture."
58
+ },
59
+ {
60
+ "code": "141-002-000-000-000-000-000",
61
+ "key": "aggregation_output",
62
+ "title": "Aggregation output",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Derived community-level aggregate artifact / output produced by an internal aggregation pipeline (not a model score and not a rules-engine assertion), typically based on one or more input datasets and reporting context. Source category: machine. Pair with source_system, aggregation pipeline source_instrument_id, and artifact refs to run IDs + input dataset IDs."
67
+ },
68
+ {
69
+ "code": "141-003-000-000-000-000-000",
70
+ "key": "benefits_record",
71
+ "title": "Benefits record",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Information grounded in an official benefits / eligibility / participation record maintained by a program or institution (public or private), not a court artifact. Source category: institutional_record."
76
+ },
77
+ {
78
+ "code": "141-004-000-000-000-000-000",
79
+ "key": "charge_document",
80
+ "title": "Charge document",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "Charging document, complaint, indictment, or citation. Source category: legal_evidentiary."
85
+ },
86
+ {
87
+ "code": "141-005-000-000-000-000-000",
88
+ "key": "child_welfare_record",
89
+ "title": "Child welfare record",
90
+ "selectable": true,
91
+ "parentCode": null,
92
+ "childCodes": [],
93
+ "definition": "Information grounded in official child welfare / CPS documentation (case notes, investigations, placements, safety plans) maintained by a child welfare agency or program. Source category: institutional_record."
94
+ },
95
+ {
96
+ "code": "141-006-000-000-000-000-000",
97
+ "key": "conviction_record",
98
+ "title": "Conviction record",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Conviction disposition, judgment, or sentencing record. Source category: legal_evidentiary."
103
+ },
104
+ {
105
+ "code": "141-007-000-000-000-000-000",
106
+ "key": "corrections_record",
107
+ "title": "Corrections record",
108
+ "selectable": true,
109
+ "parentCode": null,
110
+ "childCodes": [],
111
+ "definition": "Information grounded in official jail / prison / corrections documentation (booking, custody status, housing, incident reports, release records) maintained by a corrections institution. Source category: institutional_record."
112
+ },
113
+ {
114
+ "code": "141-008-000-000-000-000-000",
115
+ "key": "court_record",
116
+ "title": "Court record",
117
+ "selectable": true,
118
+ "parentCode": null,
119
+ "childCodes": [],
120
+ "definition": "Court filing, docket entry, order, transcript, or other court-originating record. Source category: legal_evidentiary."
121
+ },
122
+ {
123
+ "code": "141-009-000-000-000-000-000",
124
+ "key": "employment_hr_record",
125
+ "title": "Employment / HR record",
126
+ "selectable": true,
127
+ "parentCode": null,
128
+ "childCodes": [],
129
+ "definition": "Information grounded in official employment or HR documentation produced / maintained by an employer or institution (e.g., employment verification, HR notes, pay stubs when used as records). Source category: institutional_record."
130
+ },
131
+ {
132
+ "code": "141-010-000-000-000-000-000",
133
+ "key": "forensic_medical_exam",
134
+ "title": "Forensic medical exam",
135
+ "selectable": true,
136
+ "parentCode": null,
137
+ "childCodes": [],
138
+ "definition": "Information grounded in forensic medical exam documentation (e.g., SANE exam) maintained as an institutional / clinical record. Source category: institutional_record."
139
+ },
140
+ {
141
+ "code": "141-011-000-000-000-000-000",
142
+ "key": "immigration_record",
143
+ "title": "Immigration record",
144
+ "selectable": true,
145
+ "parentCode": null,
146
+ "childCodes": [],
147
+ "definition": "Information grounded in official immigration documentation or records maintained by an institution / agency. Source category: institutional_record."
148
+ },
149
+ {
150
+ "code": "141-012-000-000-000-000-000",
151
+ "key": "law_enforcement_assessment",
152
+ "title": "Law enforcement assessment",
153
+ "selectable": true,
154
+ "parentCode": null,
155
+ "childCodes": [],
156
+ "definition": "Narrative assessment, categorization, or investigative judgment recorded by law enforcement personnel that is not directly tied to a specific formal evidentiary artifact. Use for officer / agent / analyst narrative conclusions (e.g., appears to be controlled by, known associate of, suspected recruitment pattern). Source category: human."
157
+ },
158
+ {
159
+ "code": "141-013-000-000-000-000-000",
160
+ "key": "medical_record",
161
+ "title": "Medical record",
162
+ "selectable": true,
163
+ "parentCode": null,
164
+ "childCodes": [],
165
+ "definition": "Information grounded in an official clinical record (EHR / chart, encounter documentation, discharge summary, labs, imaging reports) produced or maintained by a healthcare institution. Source category: institutional_record."
166
+ },
167
+ {
168
+ "code": "141-014-000-000-000-000-000",
169
+ "key": "model_output",
170
+ "title": "Model output / score",
171
+ "selectable": true,
172
+ "parentCode": null,
173
+ "childCodes": [],
174
+ "definition": "Derived by an ML model or statistical scoring process. Source category: machine. Use for risk signals, classifications, or scores produced by a model. Store model id / version where possible."
175
+ },
176
+ {
177
+ "code": "141-015-000-000-000-000-000",
178
+ "key": "news_media",
179
+ "title": "News / media reporting",
180
+ "selectable": true,
181
+ "parentCode": null,
182
+ "childCodes": [],
183
+ "definition": "Public journalism or media reporting used as the origin of the information. Source category: open_source. Store link / citation in artifact refs when possible."
184
+ },
185
+ {
186
+ "code": "141-016-000-000-000-000-000",
187
+ "key": "official_id_document",
188
+ "title": "Official ID document",
189
+ "selectable": true,
190
+ "parentCode": null,
191
+ "childCodes": [],
192
+ "definition": "Government-issued identity document when used as the evidentiary basis for a fact. Source category: legal_evidentiary."
193
+ },
194
+ {
195
+ "code": "141-017-000-000-000-000-000",
196
+ "key": "parser_extraction",
197
+ "title": "Parser extraction (OCR / NLP)",
198
+ "selectable": true,
199
+ "parentCode": null,
200
+ "childCodes": [],
201
+ "definition": "Automatically extracted from unstructured text or media via OCR, parsing, or entity extraction. Source category: machine. Store artifact refs to the source content and parser version if available."
202
+ },
203
+ {
204
+ "code": "141-018-000-000-000-000-000",
205
+ "key": "partner_agency_case_note",
206
+ "title": "Partner agency case note",
207
+ "selectable": true,
208
+ "parentCode": null,
209
+ "childCodes": [],
210
+ "definition": "Information grounded in official notes, logs, or case documentation produced by a partner institution / agency (non-court, non-public) used as the basis for an assertion. Source category: institutional_record."
211
+ },
212
+ {
213
+ "code": "141-019-000-000-000-000-000",
214
+ "key": "public_registry",
215
+ "title": "Public registry / public database lookup",
216
+ "selectable": true,
217
+ "parentCode": null,
218
+ "childCodes": [],
219
+ "definition": "Public registry or public database lookup used as the origin of the information. Source category: open_source. Use for public registries (business, property, court lookups when accessed publicly) and other public records sources not captured as formal legal evidentiary artifacts."
220
+ },
221
+ {
222
+ "code": "141-020-000-000-000-000-000",
223
+ "key": "reviews_forums_comments",
224
+ "title": "Reviews / forums / comments",
225
+ "selectable": true,
226
+ "parentCode": null,
227
+ "childCodes": [],
228
+ "definition": "Public reviews, forum posts, comment threads, or discussion-board content used as the origin of the information. Source category: open_source. If the content is on a social media platform, prefer social_media."
229
+ },
230
+ {
231
+ "code": "141-021-000-000-000-000-000",
232
+ "key": "rules_engine",
233
+ "title": "Rules engine derived",
234
+ "selectable": true,
235
+ "parentCode": null,
236
+ "childCodes": [],
237
+ "definition": "Derived by deterministic rules or business logic. Source category: machine. Store rule set / version via mapping version fields when possible."
238
+ },
239
+ {
240
+ "code": "141-022-000-000-000-000-000",
241
+ "key": "school_record",
242
+ "title": "School record",
243
+ "selectable": true,
244
+ "parentCode": null,
245
+ "childCodes": [],
246
+ "definition": "Information grounded in official school documentation (enrollment / attendance / disciplinary / counseling records) maintained by an educational institution. Source category: institutional_record."
247
+ },
248
+ {
249
+ "code": "141-023-000-000-000-000-000",
250
+ "key": "search_warrant_return",
251
+ "title": "Search warrant return",
252
+ "selectable": true,
253
+ "parentCode": null,
254
+ "childCodes": [],
255
+ "definition": "Search warrant materials, returns, or inventories. Source category: legal_evidentiary."
256
+ },
257
+ {
258
+ "code": "141-024-000-000-000-000-000",
259
+ "key": "service_provider_assessment",
260
+ "title": "Service provider assessment",
261
+ "selectable": true,
262
+ "parentCode": null,
263
+ "childCodes": [],
264
+ "definition": "Assessment or professional judgment by a service provider. Source category: human. Capture instrument / version where applicable."
265
+ },
266
+ {
267
+ "code": "141-025-000-000-000-000-000",
268
+ "key": "service_provider_case_note",
269
+ "title": "Service provider case note",
270
+ "selectable": true,
271
+ "parentCode": null,
272
+ "childCodes": [],
273
+ "definition": "Information grounded in official case notes / documentation maintained by a service provider (VSP, advocacy org, healthcare social work, case management) used as the provenance basis for an assertion. Source category: institutional_record."
274
+ },
275
+ {
276
+ "code": "141-026-000-000-000-000-000",
277
+ "key": "shelter_program_record",
278
+ "title": "Shelter / program record",
279
+ "selectable": true,
280
+ "parentCode": null,
281
+ "childCodes": [],
282
+ "definition": "Information grounded in official shelter / program documentation (intake, stay records, service plans, case notes) maintained by a shelter or service program. Source category: institutional_record."
283
+ },
284
+ {
285
+ "code": "141-027-000-000-000-000-000",
286
+ "key": "social_media",
287
+ "title": "Social media (public)",
288
+ "selectable": true,
289
+ "parentCode": null,
290
+ "childCodes": [],
291
+ "definition": "Public social media content used as the origin of the information. Source category: open_source. Store artifact references where possible."
292
+ },
293
+ {
294
+ "code": "141-028-000-000-000-000-000",
295
+ "key": "staff_observation",
296
+ "title": "Staff observation",
297
+ "selectable": true,
298
+ "parentCode": null,
299
+ "childCodes": [],
300
+ "definition": "First-hand observation recorded by staff during service delivery or field work (i.e., directly witnessed, not inferred from other information sources). Source category: human. Distinguish from law_enforcement_assessment: observation = directly witnessed fact / condition; assessment = judgment / interpretation."
301
+ },
302
+ {
303
+ "code": "141-029-000-000-000-000-000",
304
+ "key": "system_import",
305
+ "title": "System import / migration",
306
+ "selectable": true,
307
+ "parentCode": null,
308
+ "childCodes": [],
309
+ "definition": "Imported from an upstream system, bulk migration, or automated sync. Source category: machine. Pair with source_system and mapping version where applicable."
310
+ },
311
+ {
312
+ "code": "141-030-000-000-000-000-000",
313
+ "key": "third_party_report",
314
+ "title": "Third-party report",
315
+ "selectable": true,
316
+ "parentCode": null,
317
+ "childCodes": [],
318
+ "definition": "Another person reports information about the subject. Source category: human. Use for reports from family, friends, community members, anonymous tipsters, or other non-subject reporters."
319
+ },
320
+ {
321
+ "code": "141-031-000-000-000-000-000",
322
+ "key": "victim_disclosure",
323
+ "title": "Victim disclosure",
324
+ "selectable": true,
325
+ "parentCode": null,
326
+ "childCodes": [],
327
+ "definition": "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
328
+ }
329
+ ]
330
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "domain": "substance_use_status",
3
+ "name": "Core Substance Use 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_substance_use_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_substance_use_status.yaml",
7
+ "_reconcile": "may map to an existing Notion CVC under a different name — reconcile before canonical authoring",
8
+ "levels": {
9
+ "0": "Unknown or Missing",
10
+ "1": "Substance use status"
11
+ },
12
+ "entries": [
13
+ {
14
+ "code": "958-000-000-000-000-000-000",
15
+ "key": "missingness_root",
16
+ "title": "Unknown, Redacted, or Missing",
17
+ "selectable": false,
18
+ "parentCode": null,
19
+ "childCodes": [
20
+ "958-000-000-000-000-000-001",
21
+ "958-000-000-000-000-000-002",
22
+ "958-000-000-000-000-000-003"
23
+ ],
24
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). Maps the HMIS 4.10 canonical missing-response triplet from the prototype YAML: DK ('Client doesn't know') → unknown; PNA ('Client prefers not to answer') → anonymous (workspace ANON sentinel); UNK ('Data not collected') → data_not_collected."
25
+ },
26
+ {
27
+ "code": "958-000-000-000-000-000-001",
28
+ "key": "unknown",
29
+ "title": "Unknown",
30
+ "selectable": true,
31
+ "parentCode": "958-000-000-000-000-000-000",
32
+ "childCodes": [],
33
+ "definition": "Value is unknown at time of entry. Maps the prototype YAML's DK ('Client doesn't know') — survivor explicitly says they don't know (HMIS 4.10 canonical response option). Distinct from data_not_collected, where the question wasn't asked or the conversation didn't reach resolution."
34
+ },
35
+ {
36
+ "code": "958-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "958-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Value is intentionally withheld or redacted. Maps the prototype YAML's PNA ('Client prefers not to answer') — survivor explicitly declines (HMIS 4.10 canonical response option). Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
43
+ },
44
+ {
45
+ "code": "958-000-000-000-000-000-003",
46
+ "key": "data_not_collected",
47
+ "title": "Data not collected",
48
+ "selectable": true,
49
+ "parentCode": "958-000-000-000-000-000-000",
50
+ "childCodes": [],
51
+ "definition": "No attempt was made to collect the value. Maps the prototype YAML's UNK ('Unknown' / HMIS 4.10 = Data not collected) — the default missing state; the question wasn't asked or the conversation didn't reach resolution. Distinct from DK (survivor explicitly says they don't know) and PNA (survivor explicitly declines)."
52
+ },
53
+ {
54
+ "code": "958-001-000-000-000-000-000",
55
+ "key": "no",
56
+ "title": "No",
57
+ "selectable": true,
58
+ "parentCode": null,
59
+ "childCodes": [],
60
+ "definition": "No substance use disorder reported (HMIS 4.10 = No). Does not contribute to HMIS 3.08 Disabling Condition rollup."
61
+ },
62
+ {
63
+ "code": "958-002-000-000-000-000-000",
64
+ "key": "alcohol",
65
+ "title": "Alcohol use disorder",
66
+ "selectable": true,
67
+ "parentCode": null,
68
+ "childCodes": [],
69
+ "definition": "Alcohol-only use disorder (HMIS 4.10 = Alcohol use disorder). Triggers severity follow-up via core_severity_follow_up CVC. DSM-5 (2013) retired the 'abuse' / 'dependence' distinction in favor of 'use disorder' — this code aligns."
70
+ },
71
+ {
72
+ "code": "958-003-000-000-000-000-000",
73
+ "key": "drug",
74
+ "title": "Drug use disorder",
75
+ "selectable": true,
76
+ "parentCode": null,
77
+ "childCodes": [],
78
+ "definition": "Drug-only use disorder (HMIS 4.10 = Drug use disorder). Triggers severity follow-up via core_severity_follow_up CVC. DSM-5-aligned terminology."
79
+ },
80
+ {
81
+ "code": "958-004-000-000-000-000-000",
82
+ "key": "both",
83
+ "title": "Both alcohol and drug use disorders",
84
+ "selectable": true,
85
+ "parentCode": null,
86
+ "childCodes": [],
87
+ "definition": "Poly-substance use disorder (HMIS 4.10 = Both alcohol and drug use disorders). Triggers severity follow-up via core_severity_follow_up CVC. Canonical multi-option form chosen over a bifurcated alcohol + drug Y/N pair so a poly-substance survivor is captured cleanly in a single field rather than two parallel Yes answers."
88
+ }
89
+ ]
90
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "domain": "support_strength",
3
+ "name": "Core Support Strength",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Support strength"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "139-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
+ "139-000-000-000-000-000-001",
18
+ "139-000-000-000-000-000-002",
19
+ "139-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "139-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "139-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "139-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "139-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "139-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "139-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "139-001-000-000-000-000-000",
52
+ "key": "adjudicated",
53
+ "title": "Adjudicated / disposition-supported",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Supported by an adjudication, disposition, or judgment record indicating a formal case outcome (e.g., conviction, dismissal, deferred adjudication) as captured in artifact refs. Not a blanket truth stamp for all related allegations; scope is limited to what the disposition actually supports. Should be rare outside justice-process domains."
58
+ },
59
+ {
60
+ "code": "139-002-000-000-000-000-000",
61
+ "key": "allegation",
62
+ "title": "Allegation (uncorroborated)",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "An articulated claim without independent corroboration. Use when an assertion is stated (by the subject or a third party) but there is not yet corroboration from an independent source or artifact. May pair with determination_level = disclosed or reported. Not eligible for verified badges."
67
+ },
68
+ {
69
+ "code": "139-003-000-000-000-000-000",
70
+ "key": "corroborated",
71
+ "title": "Corroborated (single source)",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Supported by at least one independent source or artifact beyond the original source of the claim. Use when there is corroboration beyond the original claim source, such as an independent witness, document, digital artifact, or cross-system record. Still not necessarily confirmed in a legal sense."
76
+ },
77
+ {
78
+ "code": "139-004-000-000-000-000-000",
79
+ "key": "minimally_supported",
80
+ "title": "Minimally / weakly supported",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "Weak support based mostly on signals, indicators, or pattern matches rather than articulated claims or independent corroboration. Use for early-stage support when the underlying facts are incomplete or indirect. Should not be eligible for training labels."
85
+ },
86
+ {
87
+ "code": "139-005-000-000-000-000-000",
88
+ "key": "multi_source_corroborated",
89
+ "title": "Multi-source corroborated",
90
+ "selectable": true,
91
+ "parentCode": null,
92
+ "childCodes": [],
93
+ "definition": "Supported by two or more independent sources or artifacts that materially corroborate the claim. Use when corroboration comes from multiple independent sources (e.g., two separate artifacts, systems, agencies, or witnesses), not just repeated copies of the same underlying record. Stronger than single-source corroborated."
94
+ },
95
+ {
96
+ "code": "139-006-000-000-000-000-000",
97
+ "key": "official_record_supported",
98
+ "title": "Official-record supported",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Supported by an official record from a government or regulated institutional source (e.g., court portal entry, charging document, booking record, program enrollment record), as captured in artifact refs. About support type and traceability, not a guarantee of accuracy or admissibility. Often pairs with source_category = legal_evidentiary or open_source plus artifact refs."
103
+ },
104
+ {
105
+ "code": "139-007-000-000-000-000-000",
106
+ "key": "strongly_supported",
107
+ "title": "Strongly supported (per policy)",
108
+ "selectable": true,
109
+ "parentCode": null,
110
+ "childCodes": [],
111
+ "definition": "Strong support per organizational policy, typically including multi-source corroboration and / or traceable official records, with complete provenance. This is support strength, not a legal conclusion or a court finding. Eligible for training-label candidacy and / or verified UI badges only when other requirements are met. Prefer the more specific tiers (multi_source_corroborated, official_record_supported, adjudicated) when applicable."
112
+ }
113
+ ]
114
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "domain": "support_topic",
3
+ "name": "Core Support Topic",
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_support_topic.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_support_topic.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Support topic"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "959-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
+ "959-000-000-000-000-000-001",
20
+ "959-000-000-000-000-000-002",
21
+ "959-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). The prototype YAML does not enumerate missingness states (OTHER is a substantive catch-all, not a missing sentinel); the standard workspace triplet is added here per the value-CVC authoring convention."
24
+ },
25
+ {
26
+ "code": "959-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "959-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "959-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "959-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": "959-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "959-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "959-001-000-000-000-000-000",
54
+ "key": "how_to_use_platform",
55
+ "title": "Question about how to use the platform",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "General usage question. The user needs help understanding how a feature works. Routes to the HTI generic-support team (routes_to_team: 'HTI Platform Support'). Most common Topic; the default selection in the modal dropdown."
60
+ },
61
+ {
62
+ "code": "959-002-000-000-000-000-000",
63
+ "key": "something_broken",
64
+ "title": "Something looks broken",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Bug report. Auto-captures Page + Browser + client time at submission. Encourages attaching a screenshot. The HTI staff queue surfaces these as elevated priority. Routes to 'HTI Platform Support'."
69
+ },
70
+ {
71
+ "code": "959-003-000-000-000-000-000",
72
+ "key": "data_record_issue",
73
+ "title": "Data or record issue",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "User reports incorrect data, missing records, sync issues, or data quality concerns. May route to a sub-team based on which data domain the issue touches (e.g., LEADS data issues route to the LEADS team). Routes to 'HTI Platform Support'."
78
+ },
79
+ {
80
+ "code": "959-004-000-000-000-000-000",
81
+ "key": "account_access",
82
+ "title": "Account or access issue",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Login problems, role-permission mismatches, account-state confusion, multi-factor auth failures. Routes to support with optional escalation to the Platform Admin team if it appears to be a provisioning issue. Routes to 'HTI Platform Support'."
87
+ },
88
+ {
89
+ "code": "959-005-000-000-000-000-000",
90
+ "key": "request_training",
91
+ "title": "Request a training",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "User requests a training module, workshop, or coaching session. Routes to the HTI training team (Trail-adjacent; routes_to_team: 'HTI Training Team'). Common follow-up: scheduling 1:1 coaching or pointing the user at an existing Trail module."
96
+ },
97
+ {
98
+ "code": "959-006-000-000-000-000-000",
99
+ "key": "feature_request",
100
+ "title": "Feature request",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "User suggests a new feature or platform improvement. Routes to the HTI product team for triage (routes_to_team: 'HTI Product Team'). Tracked + cross-referenced in product backlog over time."
105
+ },
106
+ {
107
+ "code": "959-007-000-000-000-000-000",
108
+ "key": "other",
109
+ "title": "Other",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Catch-all for topics that don't fit the structured set. Free-text body carries the detail. HTI staff re-routes from the queue if the topic warrants a specialized team. Routes to 'HTI Platform Support'."
114
+ }
115
+ ]
116
+ }