@htilabs/platform-common-models 0.12.4 → 0.13.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.
- package/dist/constants/index.cjs +73 -0
- 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 +69 -0
- 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 +1065 -236
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1337 -484
- package/dist/cvcs/index.d.ts +1337 -484
- package/dist/cvcs/index.js +1065 -236
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +32 -17
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +38 -23
- package/dist/enums/index.d.ts +38 -23
- package/dist/enums/index.js +32 -17
- package/dist/enums/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 +1170 -253
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1166 -253
- 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-Dv5fu0Fh.d.cts → platform-auth-64U8jjuw.d.cts} +71 -2
- package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-64U8jjuw.d.ts} +71 -2
- package/dist/schemas/index.cjs +62 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/dist/schemas/index.js +62 -0
- 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 +26 -27
- package/src/__tests__/__snapshots__/cvc-sot.snap +12 -12
- package/src/__tests__/core-information-scope-invariant.test.ts +28 -0
- package/src/__tests__/cvc-drift-gate.test.ts +16 -5
- package/src/__tests__/cvc-sot-snapshot.test.ts +24 -14
- package/src/__tests__/cvc-structural.test.ts +8 -8
- package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
- package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
- package/src/__tests__/victim-abuse-types-canon.test.ts +301 -0
- package/src/constants/ic.ts +158 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +3 -3
- package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
- package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
- package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
- package/src/cvcs/index.ts +8 -8
- package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
- package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
- package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
- package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
- package/src/cvcs/victimAbuseTypes.v1.1.0.json +744 -0
- package/src/generated/cvc-enums.ts +38 -23
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "incident_participation_roles",
|
|
3
|
+
"name": "Core Incident Participation Roles",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"_status": "CANONICAL — Notion CVC-69 `core-incident_participation_roles` (IC-64) v1.0, status Active (last audit 2026-09-10, CVC69-AUDIT; re-keyed in canon 2026-08-13, CVC69-CODEBOOK-SYNC). Re-mirrored from prototype canon @ a498581d. SUPERSEDES incidentParticipationRoles v1.0.0 (platform-common <= 0.13.0), which predated both. ADDITIVE, NOT BREAKING: no v1.0.0 key is removed and no v1.0.0 code changes. All 21 canon codes ship as entries carrying `canonicalCode` / `canonicalLevel` / `personnel` (codebook Type = Personnel); `title` is the codebook `Acceptable name` and `definition` the codebook Definition, both verbatim. The five keys canon renamed on 2026-08-13 (service_provider_staff -> vsp_staff, medical_provider_staff -> healthcare_provider_staff, data_entry -> data_entry_staff, other_incident_responder -> other_response_personnel, responding_officer -> law_enforcement_personnel) REMAIN as entries at their v1.0.0 code, title and definition, marked `deprecated: true` + `supersededBy` and `selectable: false`: stored values and `getEntryByKey` keep resolving, pickers (`getSelectableEntries`) drop them, and nothing stored is rewritten. The mapping is canon's rename ruling, not a semantic-equivalence proof — v1.0.0 `other_incident_responder` was titled 'VSP or Other Incident Responder' while canon `other_response_personnel` EXCLUDES VSP staff (`vsp_staff`), and v1.0.0 `responding_officer` maps to the broad `law_enforcement_personnel` bucket, not the Level-2 `le_officer`; see `_supersedes.notes`. MISSINGNESS: canon re-keyed Level 0 to UNK / ANON / DNC (2026-09-10); the package keys stay `unknown` / `anonymous` / `data_not_collected` (package-wide convention; keys must be lowercase slugs) with the canon code on `canonicalCode`. Canon: UNK is user-pickable, ANON is set through a decline affordance, DNC is system-stamped only — `neverPickable: true` marks the two that must never be offered as a picker option (yaml `never_pickable`); all three stay `selectable: true` as assignable values, unchanged from v1.0.0. HIERARCHY: the four non-selectable `*_group` rows are package-synthetic, one per value of the codebook `Select` column; canon Level 1 is package level 2, and canon Level 2 (the LEADS investigative sub-items) is package level 3 under its canon parent. A sub-item implies its parent; `task_force` is deliberately parentless in canon (Crysta 2026-08-13) and sits directly under its Select group. Positional ordinals are FROZEN per concept: the 20 v1.0.0 codes are unchanged, 11 were MINTED for v1.1.0 (069-004-007..012 in canon row order; sub-items 069-004-009-001..004 and 069-004-006-001), and the generator REFUSES a canon key with no frozen ordinal. NOT carried: the codebook's Logic Notes / Guidance, the CVC-45 service-audience crosswalk relation, and the yaml `legacy_codes` read-aliases (prototype runtime ids such as `service_staff` / `vsp_other`, never shipped by this package). Generated by scripts/gen-incident-participation-roles.py — do not hand-edit.",
|
|
6
|
+
"_source": "htilabstech/prototype/data/cvcs/core_incident_participation_roles.yaml @ a498581d + htilabstech/prototype/Final CVCs/core - incident_participation_role — codebook 2.csv @ a498581d (cross-checked against codebook 1.csv @ a498581d) (Notion CVC-69 v1.0; read from origin/main)",
|
|
7
|
+
"_supersedes": {
|
|
8
|
+
"version": "1.0.0",
|
|
9
|
+
"keyMap": {
|
|
10
|
+
"missingness_root": "missingness_root",
|
|
11
|
+
"unknown": "unknown",
|
|
12
|
+
"anonymous": "anonymous",
|
|
13
|
+
"data_not_collected": "data_not_collected",
|
|
14
|
+
"client_group": "client_group",
|
|
15
|
+
"client_subject": "client_subject",
|
|
16
|
+
"caller_reporter_group": "caller_reporter_group",
|
|
17
|
+
"caller_self": "caller_self",
|
|
18
|
+
"caller_third_party": "caller_third_party",
|
|
19
|
+
"reporter": "reporter",
|
|
20
|
+
"support_network_group": "support_network_group",
|
|
21
|
+
"family_member_or_guardian": "family_member_or_guardian",
|
|
22
|
+
"friend_or_peer": "friend_or_peer",
|
|
23
|
+
"system_professional_group": "system_professional_group",
|
|
24
|
+
"service_provider_staff": "vsp_staff",
|
|
25
|
+
"medical_provider_staff": "healthcare_provider_staff",
|
|
26
|
+
"data_entry": "data_entry_staff",
|
|
27
|
+
"other_incident_responder": "other_response_personnel",
|
|
28
|
+
"responding_officer": "law_enforcement_personnel",
|
|
29
|
+
"legal_professional": "legal_professional"
|
|
30
|
+
},
|
|
31
|
+
"retiredCodes": [],
|
|
32
|
+
"notes": {
|
|
33
|
+
"additive": "Every v1.0.0 key is still an entry in v1.1.0 at its v1.0.0 code. `keyMap` gives the CANONICAL successor of each v1.0.0 key (identity for the 15 that canon kept); a consumer may normalise on read or migrate at its own pace, and is never required to.",
|
|
34
|
+
"other_incident_responder": "v1.0.0 `other_incident_responder` ('VSP or Other Incident Responder') could mean a VSP advocate on scene. Canon `other_response_personnel` is the residual AFTER the VSP, healthcare, law-enforcement and legal codes. A stored value that was really VSP staff belongs on `vsp_staff`; a migration should review, not map blindly.",
|
|
35
|
+
"responding_officer": "v1.0.0 `responding_officer` covered patrol officers AND detectives, so its successor is the broad Level-1 `law_enforcement_personnel`, per canon's rename ruling — not the Level-2 `le_officer` (a responding or patrol officer only)."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"levels": {
|
|
39
|
+
"0": "Unknown or Missing",
|
|
40
|
+
"1": "Group",
|
|
41
|
+
"2": "Role",
|
|
42
|
+
"3": "Sub-role"
|
|
43
|
+
},
|
|
44
|
+
"entries": [
|
|
45
|
+
{
|
|
46
|
+
"code": "069-000-000-000-000-000-000",
|
|
47
|
+
"key": "missingness_root",
|
|
48
|
+
"title": "Unknown, Redacted, or Missing",
|
|
49
|
+
"selectable": false,
|
|
50
|
+
"parentCode": null,
|
|
51
|
+
"childCodes": [
|
|
52
|
+
"069-000-000-000-000-000-001",
|
|
53
|
+
"069-000-000-000-000-000-002",
|
|
54
|
+
"069-000-000-000-000-000-003"
|
|
55
|
+
],
|
|
56
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"code": "069-000-000-000-000-000-001",
|
|
60
|
+
"key": "unknown",
|
|
61
|
+
"title": "Unknown",
|
|
62
|
+
"selectable": true,
|
|
63
|
+
"parentCode": "069-000-000-000-000-000-000",
|
|
64
|
+
"childCodes": [],
|
|
65
|
+
"definition": "A participation role is in scope but unknown or cannot be determined from the available information.",
|
|
66
|
+
"canonicalCode": "UNK",
|
|
67
|
+
"canonicalLevel": 0,
|
|
68
|
+
"personnel": false
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "069-000-000-000-000-000-002",
|
|
72
|
+
"key": "anonymous",
|
|
73
|
+
"title": "Anonymous",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": "069-000-000-000-000-000-000",
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "The participation role is intentionally withheld or redacted (privacy / safety / legal), even if known to the reporting party.",
|
|
78
|
+
"canonicalCode": "ANON",
|
|
79
|
+
"canonicalLevel": 0,
|
|
80
|
+
"personnel": false,
|
|
81
|
+
"neverPickable": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"code": "069-000-000-000-000-000-003",
|
|
85
|
+
"key": "data_not_collected",
|
|
86
|
+
"title": "Data not collected",
|
|
87
|
+
"selectable": true,
|
|
88
|
+
"parentCode": "069-000-000-000-000-000-000",
|
|
89
|
+
"childCodes": [],
|
|
90
|
+
"definition": "No attempt was made to collect a participation role for this person.",
|
|
91
|
+
"canonicalCode": "DNC",
|
|
92
|
+
"canonicalLevel": 0,
|
|
93
|
+
"personnel": false,
|
|
94
|
+
"neverPickable": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"code": "069-001-000-000-000-000-000",
|
|
98
|
+
"key": "client_group",
|
|
99
|
+
"title": "Client",
|
|
100
|
+
"selectable": false,
|
|
101
|
+
"parentCode": null,
|
|
102
|
+
"childCodes": [
|
|
103
|
+
"069-001-001-000-000-000-000"
|
|
104
|
+
],
|
|
105
|
+
"definition": "Group of participation roles identifying the person the incident record is about."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"code": "069-001-001-000-000-000-000",
|
|
109
|
+
"key": "client_subject",
|
|
110
|
+
"title": "Client / subject-of-record",
|
|
111
|
+
"selectable": true,
|
|
112
|
+
"parentCode": "069-001-000-000-000-000-000",
|
|
113
|
+
"childCodes": [],
|
|
114
|
+
"definition": "The person the incident/session is about (the anchor person for the record).",
|
|
115
|
+
"canonicalCode": "client_subject",
|
|
116
|
+
"canonicalLevel": 1,
|
|
117
|
+
"personnel": false
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"code": "069-002-000-000-000-000-000",
|
|
121
|
+
"key": "caller_reporter_group",
|
|
122
|
+
"title": "Caller / Reporter",
|
|
123
|
+
"selectable": false,
|
|
124
|
+
"parentCode": null,
|
|
125
|
+
"childCodes": [
|
|
126
|
+
"069-002-001-000-000-000-000",
|
|
127
|
+
"069-002-002-000-000-000-000",
|
|
128
|
+
"069-002-003-000-000-000-000"
|
|
129
|
+
],
|
|
130
|
+
"definition": "Group of participation roles identifying who contacted or reported the incident to the program."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"code": "069-002-001-000-000-000-000",
|
|
134
|
+
"key": "caller_self",
|
|
135
|
+
"title": "Caller (self)",
|
|
136
|
+
"selectable": true,
|
|
137
|
+
"parentCode": "069-002-000-000-000-000-000",
|
|
138
|
+
"childCodes": [],
|
|
139
|
+
"definition": "The caller is the same person as the client/subject-of-record.",
|
|
140
|
+
"canonicalCode": "caller_self",
|
|
141
|
+
"canonicalLevel": 1,
|
|
142
|
+
"personnel": false
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"code": "069-002-002-000-000-000-000",
|
|
146
|
+
"key": "caller_third_party",
|
|
147
|
+
"title": "Caller (third party)",
|
|
148
|
+
"selectable": true,
|
|
149
|
+
"parentCode": "069-002-000-000-000-000-000",
|
|
150
|
+
"childCodes": [],
|
|
151
|
+
"definition": "The caller is a different person than the client/subject-of-record.",
|
|
152
|
+
"canonicalCode": "caller_third_party",
|
|
153
|
+
"canonicalLevel": 1,
|
|
154
|
+
"personnel": false
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"code": "069-002-003-000-000-000-000",
|
|
158
|
+
"key": "reporter",
|
|
159
|
+
"title": "Reporter / information source",
|
|
160
|
+
"selectable": true,
|
|
161
|
+
"parentCode": "069-002-000-000-000-000-000",
|
|
162
|
+
"childCodes": [],
|
|
163
|
+
"definition": "A person who provides information about the incident/session subject, regardless of who benefits from the service.",
|
|
164
|
+
"canonicalCode": "reporter",
|
|
165
|
+
"canonicalLevel": 1,
|
|
166
|
+
"personnel": false
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"code": "069-003-000-000-000-000-000",
|
|
170
|
+
"key": "support_network_group",
|
|
171
|
+
"title": "Support network",
|
|
172
|
+
"selectable": false,
|
|
173
|
+
"parentCode": null,
|
|
174
|
+
"childCodes": [
|
|
175
|
+
"069-003-001-000-000-000-000",
|
|
176
|
+
"069-003-002-000-000-000-000"
|
|
177
|
+
],
|
|
178
|
+
"definition": "Group of participation roles identifying people from the client's personal support network."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"code": "069-003-001-000-000-000-000",
|
|
182
|
+
"key": "family_member_or_guardian",
|
|
183
|
+
"title": "Family member or guardian (participant)",
|
|
184
|
+
"selectable": true,
|
|
185
|
+
"parentCode": "069-003-000-000-000-000-000",
|
|
186
|
+
"childCodes": [],
|
|
187
|
+
"definition": "A participant who is in the client/subject’s family or guardianship network (including parent/guardian).",
|
|
188
|
+
"canonicalCode": "family_member_or_guardian",
|
|
189
|
+
"canonicalLevel": 1,
|
|
190
|
+
"personnel": false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"code": "069-003-002-000-000-000-000",
|
|
194
|
+
"key": "friend_or_peer",
|
|
195
|
+
"title": "Friend or peer (participant)",
|
|
196
|
+
"selectable": true,
|
|
197
|
+
"parentCode": "069-003-000-000-000-000-000",
|
|
198
|
+
"childCodes": [],
|
|
199
|
+
"definition": "A participant who is a friend, peer, or informal support person to the client/subject.",
|
|
200
|
+
"canonicalCode": "friend_or_peer",
|
|
201
|
+
"canonicalLevel": 1,
|
|
202
|
+
"personnel": false
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"code": "069-004-000-000-000-000-000",
|
|
206
|
+
"key": "system_professional_group",
|
|
207
|
+
"title": "System / professional participants",
|
|
208
|
+
"selectable": false,
|
|
209
|
+
"parentCode": null,
|
|
210
|
+
"childCodes": [
|
|
211
|
+
"069-004-001-000-000-000-000",
|
|
212
|
+
"069-004-002-000-000-000-000",
|
|
213
|
+
"069-004-003-000-000-000-000",
|
|
214
|
+
"069-004-004-000-000-000-000",
|
|
215
|
+
"069-004-005-000-000-000-000",
|
|
216
|
+
"069-004-006-000-000-000-000",
|
|
217
|
+
"069-004-007-000-000-000-000",
|
|
218
|
+
"069-004-008-000-000-000-000",
|
|
219
|
+
"069-004-009-000-000-000-000",
|
|
220
|
+
"069-004-010-000-000-000-000",
|
|
221
|
+
"069-004-011-000-000-000-000",
|
|
222
|
+
"069-004-012-000-000-000-000"
|
|
223
|
+
],
|
|
224
|
+
"definition": "Group of participation roles identifying system-side professionals involved in the incident."
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"code": "069-004-001-000-000-000-000",
|
|
228
|
+
"key": "service_provider_staff",
|
|
229
|
+
"title": "Service provider staff",
|
|
230
|
+
"selectable": false,
|
|
231
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
232
|
+
"childCodes": [],
|
|
233
|
+
"definition": "Staff of a service provider program or agency involved in the incident.",
|
|
234
|
+
"deprecated": true,
|
|
235
|
+
"supersededBy": "vsp_staff"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"code": "069-004-002-000-000-000-000",
|
|
239
|
+
"key": "medical_provider_staff",
|
|
240
|
+
"title": "Medical provider staff",
|
|
241
|
+
"selectable": false,
|
|
242
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
243
|
+
"childCodes": [],
|
|
244
|
+
"definition": "Staff of a medical provider (hospital, clinic) involved in the incident.",
|
|
245
|
+
"deprecated": true,
|
|
246
|
+
"supersededBy": "healthcare_provider_staff"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"code": "069-004-003-000-000-000-000",
|
|
250
|
+
"key": "data_entry",
|
|
251
|
+
"title": "Data Entry / Editor",
|
|
252
|
+
"selectable": false,
|
|
253
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
254
|
+
"childCodes": [],
|
|
255
|
+
"definition": "A participant performing data entry or record editing for the incident — typically program staff entering or updating the record rather than participating substantively in the incident response.",
|
|
256
|
+
"deprecated": true,
|
|
257
|
+
"supersededBy": "data_entry_staff"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"code": "069-004-004-000-000-000-000",
|
|
261
|
+
"key": "other_incident_responder",
|
|
262
|
+
"title": "VSP or Other Incident Responder",
|
|
263
|
+
"selectable": false,
|
|
264
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
265
|
+
"childCodes": [],
|
|
266
|
+
"definition": "A participant acting as a Victim Service Provider (VSP) or other non-law-enforcement responder present at the incident (e.g., crisis advocate on scene).",
|
|
267
|
+
"deprecated": true,
|
|
268
|
+
"supersededBy": "other_response_personnel"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"code": "069-004-005-000-000-000-000",
|
|
272
|
+
"key": "responding_officer",
|
|
273
|
+
"title": "LE Responding Officer",
|
|
274
|
+
"selectable": false,
|
|
275
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
276
|
+
"childCodes": [],
|
|
277
|
+
"definition": "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel).",
|
|
278
|
+
"deprecated": true,
|
|
279
|
+
"supersededBy": "law_enforcement_personnel"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"code": "069-004-006-000-000-000-000",
|
|
283
|
+
"key": "legal_professional",
|
|
284
|
+
"title": "Legal professional",
|
|
285
|
+
"selectable": true,
|
|
286
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
287
|
+
"childCodes": [
|
|
288
|
+
"069-004-006-001-000-000-000"
|
|
289
|
+
],
|
|
290
|
+
"definition": "A participant acting in a legal capacity (attorney, prosecutor, court personnel).",
|
|
291
|
+
"canonicalCode": "legal_professional",
|
|
292
|
+
"canonicalLevel": 1,
|
|
293
|
+
"personnel": true
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"code": "069-004-006-001-000-000-000",
|
|
297
|
+
"key": "prosecutor",
|
|
298
|
+
"title": "Prosecutor",
|
|
299
|
+
"selectable": true,
|
|
300
|
+
"parentCode": "069-004-006-000-000-000-000",
|
|
301
|
+
"childCodes": [],
|
|
302
|
+
"definition": "A prosecution-side contributor.",
|
|
303
|
+
"canonicalCode": "prosecutor",
|
|
304
|
+
"canonicalLevel": 2,
|
|
305
|
+
"personnel": true
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"code": "069-004-007-000-000-000-000",
|
|
309
|
+
"key": "vsp_staff",
|
|
310
|
+
"title": "Victim Service provider staff",
|
|
311
|
+
"selectable": true,
|
|
312
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
313
|
+
"childCodes": [],
|
|
314
|
+
"definition": "A participant acting in a victim-service capacity (advocate, case manager, shelter staff, crisis response) on behalf of a VSP.",
|
|
315
|
+
"canonicalCode": "vsp_staff",
|
|
316
|
+
"canonicalLevel": 1,
|
|
317
|
+
"personnel": true
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"code": "069-004-008-000-000-000-000",
|
|
321
|
+
"key": "healthcare_provider_staff",
|
|
322
|
+
"title": "Healthcare provider staff",
|
|
323
|
+
"selectable": true,
|
|
324
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
325
|
+
"childCodes": [],
|
|
326
|
+
"definition": "A participant acting formally as medical, mental, behavioral or clinical staff (clinic, hospital, SANE program, behavioral health provider).",
|
|
327
|
+
"canonicalCode": "healthcare_provider_staff",
|
|
328
|
+
"canonicalLevel": 1,
|
|
329
|
+
"personnel": true
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"code": "069-004-009-000-000-000-000",
|
|
333
|
+
"key": "law_enforcement_personnel",
|
|
334
|
+
"title": "Law enforcement personnel",
|
|
335
|
+
"selectable": true,
|
|
336
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
337
|
+
"childCodes": [
|
|
338
|
+
"069-004-009-001-000-000-000",
|
|
339
|
+
"069-004-009-002-000-000-000",
|
|
340
|
+
"069-004-009-003-000-000-000",
|
|
341
|
+
"069-004-009-004-000-000-000"
|
|
342
|
+
],
|
|
343
|
+
"definition": "A participant acting in a law-enforcement capacity (responding officer, investigator, analyst, detective, SRO).",
|
|
344
|
+
"canonicalCode": "law_enforcement_personnel",
|
|
345
|
+
"canonicalLevel": 1,
|
|
346
|
+
"personnel": true
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"code": "069-004-009-001-000-000-000",
|
|
350
|
+
"key": "lead_investigator",
|
|
351
|
+
"title": "Lead Investigator",
|
|
352
|
+
"selectable": true,
|
|
353
|
+
"parentCode": "069-004-009-000-000-000-000",
|
|
354
|
+
"childCodes": [],
|
|
355
|
+
"definition": "The lead of an inquiry. Distinct from the platform case agent, which is the access/ownership singleton on the case object (first claimer, with recorded transfer) — a case names one agent but may name several investigators.",
|
|
356
|
+
"canonicalCode": "lead_investigator",
|
|
357
|
+
"canonicalLevel": 2,
|
|
358
|
+
"personnel": true
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"code": "069-004-009-002-000-000-000",
|
|
362
|
+
"key": "investigator",
|
|
363
|
+
"title": "Investigator / Detective",
|
|
364
|
+
"selectable": true,
|
|
365
|
+
"parentCode": "069-004-009-000-000-000-000",
|
|
366
|
+
"childCodes": [],
|
|
367
|
+
"definition": "A participant working some aspect of the inquiry. This is the need-to-know population for investigation_support shares.",
|
|
368
|
+
"canonicalCode": "investigator",
|
|
369
|
+
"canonicalLevel": 2,
|
|
370
|
+
"personnel": true
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"code": "069-004-009-003-000-000-000",
|
|
374
|
+
"key": "analyst",
|
|
375
|
+
"title": "Analyst",
|
|
376
|
+
"selectable": true,
|
|
377
|
+
"parentCode": "069-004-009-000-000-000-000",
|
|
378
|
+
"childCodes": [],
|
|
379
|
+
"definition": "An intelligence or analytical contributor.",
|
|
380
|
+
"canonicalCode": "analyst",
|
|
381
|
+
"canonicalLevel": 2,
|
|
382
|
+
"personnel": true
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"code": "069-004-009-004-000-000-000",
|
|
386
|
+
"key": "le_officer",
|
|
387
|
+
"title": "LE Officer",
|
|
388
|
+
"selectable": true,
|
|
389
|
+
"parentCode": "069-004-009-000-000-000-000",
|
|
390
|
+
"childCodes": [],
|
|
391
|
+
"definition": "A responding or patrol officer.",
|
|
392
|
+
"canonicalCode": "le_officer",
|
|
393
|
+
"canonicalLevel": 2,
|
|
394
|
+
"personnel": true
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"code": "069-004-010-000-000-000-000",
|
|
398
|
+
"key": "other_response_personnel",
|
|
399
|
+
"title": "Other Response Personnel",
|
|
400
|
+
"selectable": true,
|
|
401
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
402
|
+
"childCodes": [],
|
|
403
|
+
"definition": "A responder or professional participant not covered by the VSP, healthcare, law-enforcement or legal codes (e.g. clergy, interpreter, government social services).",
|
|
404
|
+
"canonicalCode": "other_response_personnel",
|
|
405
|
+
"canonicalLevel": 1,
|
|
406
|
+
"personnel": true
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"code": "069-004-011-000-000-000-000",
|
|
410
|
+
"key": "data_entry_staff",
|
|
411
|
+
"title": "Data Entry / Editor",
|
|
412
|
+
"selectable": true,
|
|
413
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
414
|
+
"childCodes": [],
|
|
415
|
+
"definition": "Staff person who created or edited the record but did not respond/participate in the incident/session itself.",
|
|
416
|
+
"canonicalCode": "data_entry_staff",
|
|
417
|
+
"canonicalLevel": 1,
|
|
418
|
+
"personnel": true
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"code": "069-004-012-000-000-000-000",
|
|
422
|
+
"key": "task_force",
|
|
423
|
+
"title": "Task Force Partner",
|
|
424
|
+
"selectable": true,
|
|
425
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
426
|
+
"childCodes": [],
|
|
427
|
+
"definition": "A cross-agency task-force contributor — the community/task-force tier's personnel analogue.",
|
|
428
|
+
"canonicalCode": "task_force",
|
|
429
|
+
"canonicalLevel": 1,
|
|
430
|
+
"personnel": true
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
package/src/cvcs/index.ts
CHANGED
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
import serviceCategoriesSot from "./serviceCategories.v1.0.0.json" with { type: "json" };
|
|
23
|
-
import serviceStatesSot from "./serviceStates.v1.
|
|
23
|
+
import serviceStatesSot from "./serviceStates.v1.1.0.json" with { type: "json" };
|
|
24
24
|
import serviceMechanismsSot from "./serviceMechanisms.v1.0.0.json" with { type: "json" };
|
|
25
|
-
import incidentParticipationRolesSot from "./incidentParticipationRoles.v1.
|
|
25
|
+
import incidentParticipationRolesSot from "./incidentParticipationRoles.v1.1.0.json" with { type: "json" };
|
|
26
26
|
import incidentInvolvementRolesSot from "./incidentInvolvementRoles.v1.0.0.json" with { type: "json" };
|
|
27
27
|
import raceEthnicitySot from "./raceEthnicity.v1.0.0.json" with { type: "json" };
|
|
28
28
|
import primaryLanguageSot from "./primaryLanguage.v1.0.0.json" with { type: "json" };
|
|
@@ -41,7 +41,7 @@ import militaryStatusSot from "./militaryStatus.v1.0.0.json" with { type: "json"
|
|
|
41
41
|
import militaryBranchSot from "./militaryBranch.v1.0.0.json" with { type: "json" };
|
|
42
42
|
import contactInfoTypesSot from "./contactInfoTypes.v1.0.0.json" with { type: "json" };
|
|
43
43
|
import contactSafetyStatusSot from "./contactSafetyStatus.v1.0.0.json" with { type: "json" };
|
|
44
|
-
import highestEducationLevelCompletedSot from "./highestEducationLevelCompleted.v1.
|
|
44
|
+
import highestEducationLevelCompletedSot from "./highestEducationLevelCompleted.v1.1.0.json" with { type: "json" };
|
|
45
45
|
import preferredContactMethodSot from "./preferredContactMethod.v1.0.0.json" with { type: "json" };
|
|
46
46
|
import sharePurposeSot from "./sharePurpose.v1.0.0.json" with { type: "json" };
|
|
47
47
|
import referralOriginSot from "./referralOrigin.v1.0.0.json" with { type: "json" };
|
|
@@ -66,19 +66,19 @@ import employmentStatusSot from "./employmentStatus.v1.0.0.json" with { type: "j
|
|
|
66
66
|
// (tier · anchors · anchorDefault · shareUnit · safetyDefault) are overlaid from
|
|
67
67
|
// prototype canon by scripts/gen-location-type.py; re-run, don't hand-edit them.
|
|
68
68
|
import locationTypeSot from "./locationType.v1.0.0.json" with { type: "json" };
|
|
69
|
-
import referralEntityCategorySot from "./referralEntityCategory.v1.
|
|
70
|
-
import incomeBenefitsSourcesSot from "./incomeBenefitsSources.v1.
|
|
69
|
+
import referralEntityCategorySot from "./referralEntityCategory.v1.1.0.json" with { type: "json" };
|
|
70
|
+
import incomeBenefitsSourcesSot from "./incomeBenefitsSources.v1.1.0.json" with { type: "json" };
|
|
71
71
|
import enrollmentApplicationStatusSot from "./enrollmentApplicationStatus.v1.0.0.json" with { type: "json" };
|
|
72
72
|
import administeringJurisdictionSot from "./administeringJurisdiction.v1.0.0.json" with { type: "json" };
|
|
73
73
|
import frequencyCadenceSot from "./frequencyCadence.v1.0.0.json" with { type: "json" };
|
|
74
74
|
import inferenceTypeSot from "./inferenceType.v1.0.0.json" with { type: "json" };
|
|
75
75
|
import sourceCategorySot from "./sourceCategory.v1.1.0.json" with { type: "json" };
|
|
76
|
-
import sourceSubtypeSot from "./sourceSubtype.v1.
|
|
76
|
+
import sourceSubtypeSot from "./sourceSubtype.v1.2.0.json" with { type: "json" };
|
|
77
77
|
import supportStrengthSot from "./supportStrength.v1.0.0.json" with { type: "json" };
|
|
78
78
|
import determinationLevelSot from "./determinationLevel.v1.0.0.json" with { type: "json" };
|
|
79
79
|
import roleContextSot from "./roleContext.v1.0.0.json" with { type: "json" };
|
|
80
80
|
import timeScopeSot from "./timeScope.v1.0.0.json" with { type: "json" };
|
|
81
|
-
import verificationMethodSot from "./verificationMethod.v1.
|
|
81
|
+
import verificationMethodSot from "./verificationMethod.v1.1.0.json" with { type: "json" };
|
|
82
82
|
import qualityFlagsSot from "./qualityFlags.v1.0.0.json" with { type: "json" };
|
|
83
83
|
import contactInfoUseTypeSot from "./contactInfoUseType.v1.0.0.json" with { type: "json" };
|
|
84
84
|
import sessionStateSot from "./sessionState.v1.0.0.json" with { type: "json" };
|
|
@@ -149,7 +149,7 @@ import visaTypeSot from "./visaType.v1.0.0.json" with { type: "json" };
|
|
|
149
149
|
import livingSituationSot from "./livingSituation.v1.0.0.json" with { type: "json" };
|
|
150
150
|
import serviceAudienceSot from "./serviceAudience.v1.0.0.json" with { type: "json" };
|
|
151
151
|
import hmisRelationshipToHohSot from "./hmisRelationshipToHoh.v1.0.0.json" with { type: "json" };
|
|
152
|
-
import victimAbuseTypesSot from "./victimAbuseTypes.v1.
|
|
152
|
+
import victimAbuseTypesSot from "./victimAbuseTypes.v1.1.0.json" with { type: "json" };
|
|
153
153
|
import htTypeSot from "./htType.v1.0.0.json" with { type: "json" };
|
|
154
154
|
import relationshipConcernSot from "./relationshipConcern.v1.0.0.json" with { type: "json" };
|
|
155
155
|
import recencyBandSot from "./recencyBand.v1.0.0.json" with { type: "json" };
|