@htilabs/platform-common-models 0.8.8 → 0.9.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/README.md +44 -0
- package/dist/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/constants/index.cjs +5 -432
- 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 +5 -429
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
- package/dist/cvcs/index.cjs +5863 -7181
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +3127 -4581
- package/dist/cvcs/index.d.ts +3127 -4581
- package/dist/cvcs/index.js +5863 -7173
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +1780 -3613
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -544
- package/dist/index.d.ts +191 -544
- package/dist/index.js +5967 -7775
- 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/{platform-auth-BSKYSDKe.d.cts → platform-auth-XVB9aHqR.d.cts} +3 -19
- package/dist/{platform-auth-BSKYSDKe.d.ts → platform-auth-XVB9aHqR.d.ts} +3 -19
- package/dist/schemas/index.cjs +9 -26
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +39 -35
- package/dist/schemas/index.d.ts +39 -35
- package/dist/schemas/index.js +9 -26
- 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 +25 -19
- package/src/__tests__/__snapshots__/cvc-sot.snap +13 -77
- package/src/__tests__/cvc-sot-snapshot.test.ts +11 -62
- package/src/__tests__/cvc-structural.test.ts +2 -11
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
- package/src/constants/ic.ts +3 -445
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +0 -9
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +0 -18
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +2 -31
- package/src/cvcs/index.ts +1 -17
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/recencyBand.v1.0.0.json +57 -38
- package/src/cvcs/{serviceCategories.v1.1.0.json → serviceCategories.v1.0.0.json} +1091 -1091
- package/src/cvcs/serviceStates.v1.0.0.json +1 -23
- package/src/cvcs/sourceSubtype.v1.1.0.json +0 -36
- package/src/cvcs/verificationMethod.v1.0.0.json +0 -18
- package/src/generated/cvc-enums.ts +149 -572
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
- package/src/cvcs/activityType.v1.0.0.json +0 -143
- package/src/cvcs/assertionDomain.v1.0.0.json +0 -629
- package/src/cvcs/contactLinkType.v1.0.0.json +0 -89
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +0 -104
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +0 -159
- package/src/cvcs/htType.v1.0.0.json +0 -87
- package/src/cvcs/livingSituation.v1.0.0.json +0 -213
- package/src/cvcs/provenanceSourceId.v1.0.0.json +0 -134
- package/src/cvcs/radiusBucket.v1.0.0.json +0 -98
- package/src/cvcs/relationshipConcern.v1.0.0.json +0 -114
- package/src/cvcs/roiMethod.v1.0.0.json +0 -107
- package/src/cvcs/serviceAudience.v1.0.0.json +0 -96
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +0 -80
- package/src/cvcs/suggestionSource.v1.0.0.json +0 -71
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "suggestion_source",
|
|
3
|
-
"name": "suggestionSource",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"_status": "PROVISIONAL — net-new value-CVC not yet in Notion; provisional 900+ numbering; substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (D10 source-from-platform-common). PENDING canonical Notion authoring + steward ratification of titles/definitions.",
|
|
6
|
-
"_source": "pave-2.0/packages/domain/src/enums.ts",
|
|
7
|
-
"levels": {
|
|
8
|
-
"0": "Unknown or Missing",
|
|
9
|
-
"1": "Goal suggestion source"
|
|
10
|
-
},
|
|
11
|
-
"entries": [
|
|
12
|
-
{
|
|
13
|
-
"code": "969-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
|
-
"969-000-000-000-000-000-001",
|
|
20
|
-
"969-000-000-000-000-000-002",
|
|
21
|
-
"969-000-000-000-000-000-003"
|
|
22
|
-
],
|
|
23
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"code": "969-000-000-000-000-000-001",
|
|
27
|
-
"key": "unknown",
|
|
28
|
-
"title": "Unknown",
|
|
29
|
-
"selectable": true,
|
|
30
|
-
"parentCode": "969-000-000-000-000-000-000",
|
|
31
|
-
"childCodes": [],
|
|
32
|
-
"definition": "The suggestion_source is unknown or cannot be determined."
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"code": "969-000-000-000-000-000-002",
|
|
36
|
-
"key": "anonymous",
|
|
37
|
-
"title": "Anonymous / declined to answer",
|
|
38
|
-
"selectable": true,
|
|
39
|
-
"parentCode": "969-000-000-000-000-000-000",
|
|
40
|
-
"childCodes": [],
|
|
41
|
-
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"code": "969-000-000-000-000-000-003",
|
|
45
|
-
"key": "data_not_collected",
|
|
46
|
-
"title": "Data not collected",
|
|
47
|
-
"selectable": true,
|
|
48
|
-
"parentCode": "969-000-000-000-000-000-000",
|
|
49
|
-
"childCodes": [],
|
|
50
|
-
"definition": "No attempt was made to collect the value."
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"code": "969-001-000-000-000-000-000",
|
|
54
|
-
"key": "lap",
|
|
55
|
-
"title": "LAP",
|
|
56
|
-
"selectable": true,
|
|
57
|
-
"parentCode": null,
|
|
58
|
-
"childCodes": [],
|
|
59
|
-
"definition": "Goal suggested from the Lethality Assessment Program (LAP)."
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"code": "969-002-000-000-000-000-000",
|
|
63
|
-
"key": "ps_step_4",
|
|
64
|
-
"title": "Priorities & Safety Step 4",
|
|
65
|
-
"selectable": true,
|
|
66
|
-
"parentCode": null,
|
|
67
|
-
"childCodes": [],
|
|
68
|
-
"definition": "Goal suggested from Priorities & Safety Step 4."
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
@@ -1,276 +0,0 @@
|
|
|
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
|
-
}
|