@htilabs/platform-common-models 0.8.10 → 0.8.13

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 (99) hide show
  1. package/dist/constants/index.cjs +133 -285
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +133 -273
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +13075 -859
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +15852 -2457
  10. package/dist/cvcs/index.d.ts +15852 -2457
  11. package/dist/cvcs/index.js +13042 -859
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +14288 -1232
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +1201 -108
  16. package/dist/index.d.ts +1201 -108
  17. package/dist/index.js +14229 -1219
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-BSKYSDKe.d.cts → platform-auth-BfCMuAlC.d.cts} +2 -74
  20. package/dist/{platform-auth-BSKYSDKe.d.ts → platform-auth-BfCMuAlC.d.ts} +2 -74
  21. package/dist/schemas/index.cjs +0 -152
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +0 -152
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/services/index.cjs +0 -3
  26. package/dist/services/index.cjs.map +1 -1
  27. package/dist/services/index.js +0 -3
  28. package/dist/services/index.js.map +1 -1
  29. package/dist/types/index.d.cts +2 -2
  30. package/dist/types/index.d.ts +2 -2
  31. package/package.json +4 -1
  32. package/src/__sot__/README.md +56 -0
  33. package/src/__sot__/coreIndicators.pin.json +215 -0
  34. package/src/__sot__/cvcIndex.pin.json +268 -0
  35. package/src/__sot__/scoringEmits.pin.json +176 -0
  36. package/src/__tests__/__snapshots__/cvc-sot.snap +132 -32
  37. package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
  38. package/src/__tests__/cvc-drift-gate.test.ts +596 -0
  39. package/src/__tests__/cvc-sot-snapshot.test.ts +59 -7
  40. package/src/__tests__/cvc-structural.test.ts +47 -1
  41. package/src/constants/ic.ts +185 -321
  42. package/src/constants/service-catalog.ts +4 -2
  43. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  44. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  45. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  46. package/src/cvcs/{assertionDomain.v1.0.0.json → assertionDomain.v1.1.0.json} +78 -96
  47. package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
  48. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  49. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  50. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  51. package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
  52. package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
  53. package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
  54. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  55. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  56. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  57. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
  58. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  59. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  60. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
  61. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  62. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  63. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  64. package/src/cvcs/index.ts +68 -1
  65. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
  66. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  67. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  68. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  69. package/src/cvcs/nameType.v1.0.0.json +40 -40
  70. package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
  71. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  72. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  73. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  74. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  75. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  76. package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
  77. package/src/cvcs/recencyBand.v1.0.0.json +126 -42
  78. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  79. package/src/cvcs/riskCategory.v1.0.0.json +134 -0
  80. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  81. package/src/cvcs/roiScope.v1.0.0.json +296 -0
  82. package/src/cvcs/roiStatus.v1.0.0.json +106 -0
  83. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
  84. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  85. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  86. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  87. package/src/cvcs/serviceStates.v1.0.0.json +40 -40
  88. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  89. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  90. package/src/cvcs/smtType.v1.0.0.json +40 -40
  91. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  92. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  93. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  94. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  95. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  96. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  97. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  98. package/src/generated/cvc-enums.ts +1248 -105
  99. package/src/services/cvcRegistryService.ts +1 -1
@@ -0,0 +1,106 @@
1
+ {
2
+ "domain": "incarceration_episode_type",
3
+ "name": "Core Incarceration Episode Type (CVC-198)",
4
+ "version": "1.0.0",
5
+ "_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-198, Owner Crysta Price, Status 'Drafted - Needs Review'). Value set for classifying incarceration episode type when `assertion_domain = incarceration` (custody stays such as jail / prison / detention).",
6
+ "_source": "htilabstech/prototype@a596eb9 Living Situation (IC-73)/core - incarceration episode type — codebook 1.csv (CVC-198)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Incarceration episode type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "198-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
+ "198-000-000-000-000-000-001",
20
+ "198-000-000-000-000-000-002",
21
+ "198-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) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "198-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "198-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Unknown or cannot be determined from the available information.",
33
+ "canonicalCode": "UNK"
34
+ },
35
+ {
36
+ "code": "198-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "198-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
43
+ "canonicalCode": "ANON"
44
+ },
45
+ {
46
+ "code": "198-000-000-000-000-000-003",
47
+ "key": "data_not_collected",
48
+ "title": "Data not collected",
49
+ "selectable": true,
50
+ "parentCode": "198-000-000-000-000-000-000",
51
+ "childCodes": [],
52
+ "definition": "No attempt was made to collect the information.",
53
+ "canonicalCode": "DNC"
54
+ },
55
+ {
56
+ "code": "198-001-000-000-000-000-000",
57
+ "key": "jail",
58
+ "title": "Jail",
59
+ "selectable": true,
60
+ "parentCode": null,
61
+ "childCodes": [],
62
+ "definition": "Custody stay in a jail facility (typically local/county).",
63
+ "canonicalCode": "jail"
64
+ },
65
+ {
66
+ "code": "198-002-000-000-000-000-000",
67
+ "key": "detention",
68
+ "title": "Detention (generic custody)",
69
+ "selectable": true,
70
+ "parentCode": null,
71
+ "childCodes": [],
72
+ "definition": "Custody stay where jail vs prison is unknown/unspecified (generic detention).",
73
+ "canonicalCode": "detention"
74
+ },
75
+ {
76
+ "code": "198-003-000-000-000-000-000",
77
+ "key": "prison",
78
+ "title": "Prison",
79
+ "selectable": true,
80
+ "parentCode": null,
81
+ "childCodes": [],
82
+ "definition": "Custody stay in a prison facility (state/federal).",
83
+ "canonicalCode": "prison"
84
+ },
85
+ {
86
+ "code": "198-004-000-000-000-000-000",
87
+ "key": "immigration_detention",
88
+ "title": "Immigration detention",
89
+ "selectable": true,
90
+ "parentCode": null,
91
+ "childCodes": [],
92
+ "definition": "Custody stay in immigration detention (civil detention under immigration authority).",
93
+ "canonicalCode": "immigration_detention"
94
+ },
95
+ {
96
+ "code": "198-005-000-000-000-000-000",
97
+ "key": "work_release_or_halfway_house_custody",
98
+ "title": "Work release / custody in halfway house",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Custody arrangement where the person is in a work-release program or custody-like halfway house setting (only when treated as custody).",
103
+ "canonicalCode": "work_release_or_halfway_house_custody"
104
+ }
105
+ ]
106
+ }
@@ -7,6 +7,46 @@
7
7
  "1": "Involvement Role"
8
8
  },
9
9
  "entries": [
10
+ {
11
+ "code": "130-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
+ "130-000-000-000-000-000-001",
18
+ "130-000-000-000-000-000-002",
19
+ "130-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "130-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "130-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "130-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "130-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "130-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "130-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
10
50
  {
11
51
  "code": "130-001-000-000-000-000-000",
12
52
  "key": "victim_primary",
@@ -60,46 +100,6 @@
60
100
  "parentCode": null,
61
101
  "childCodes": [],
62
102
  "definition": "A relevant dependent (often a child) involved in the situation, not necessarily asserted harmed."
63
- },
64
- {
65
- "code": "130-000-000-000-000-000-000",
66
- "key": "missingness_root",
67
- "title": "Unknown, Redacted, or Missing",
68
- "selectable": false,
69
- "parentCode": null,
70
- "childCodes": [
71
- "130-000-000-000-000-000-001",
72
- "130-000-000-000-000-000-002",
73
- "130-000-000-000-000-000-003"
74
- ],
75
- "definition": "Root group for values indicating absent, withheld, or uncollected data."
76
- },
77
- {
78
- "code": "130-000-000-000-000-000-001",
79
- "key": "unknown",
80
- "title": "Unknown",
81
- "selectable": true,
82
- "parentCode": "130-000-000-000-000-000-000",
83
- "childCodes": [],
84
- "definition": "Value is unknown at time of entry."
85
- },
86
- {
87
- "code": "130-000-000-000-000-000-002",
88
- "key": "anonymous",
89
- "title": "Anonymous",
90
- "selectable": true,
91
- "parentCode": "130-000-000-000-000-000-000",
92
- "childCodes": [],
93
- "definition": "Value is intentionally withheld or redacted."
94
- },
95
- {
96
- "code": "130-000-000-000-000-000-003",
97
- "key": "data_not_collected",
98
- "title": "Data not collected",
99
- "selectable": true,
100
- "parentCode": "130-000-000-000-000-000-000",
101
- "childCodes": [],
102
- "definition": "No attempt was made to collect the value."
103
103
  }
104
104
  ]
105
105
  }
@@ -8,6 +8,46 @@
8
8
  "2": "Role"
9
9
  },
10
10
  "entries": [
11
+ {
12
+ "code": "069-000-000-000-000-000-000",
13
+ "key": "missingness_root",
14
+ "title": "Unknown, Redacted, or Missing",
15
+ "selectable": false,
16
+ "parentCode": null,
17
+ "childCodes": [
18
+ "069-000-000-000-000-000-001",
19
+ "069-000-000-000-000-000-002",
20
+ "069-000-000-000-000-000-003"
21
+ ],
22
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
23
+ },
24
+ {
25
+ "code": "069-000-000-000-000-000-001",
26
+ "key": "unknown",
27
+ "title": "Unknown",
28
+ "selectable": true,
29
+ "parentCode": "069-000-000-000-000-000-000",
30
+ "childCodes": [],
31
+ "definition": "Value is unknown at time of entry."
32
+ },
33
+ {
34
+ "code": "069-000-000-000-000-000-002",
35
+ "key": "anonymous",
36
+ "title": "Anonymous",
37
+ "selectable": true,
38
+ "parentCode": "069-000-000-000-000-000-000",
39
+ "childCodes": [],
40
+ "definition": "Value is intentionally withheld or redacted."
41
+ },
42
+ {
43
+ "code": "069-000-000-000-000-000-003",
44
+ "key": "data_not_collected",
45
+ "title": "Data not collected",
46
+ "selectable": true,
47
+ "parentCode": "069-000-000-000-000-000-000",
48
+ "childCodes": [],
49
+ "definition": "No attempt was made to collect the value."
50
+ },
11
51
  {
12
52
  "code": "069-001-000-000-000-000-000",
13
53
  "key": "client_group",
@@ -157,46 +197,6 @@
157
197
  "parentCode": "069-004-000-000-000-000-000",
158
198
  "childCodes": [],
159
199
  "definition": "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
160
- },
161
- {
162
- "code": "069-000-000-000-000-000-000",
163
- "key": "missingness_root",
164
- "title": "Unknown, Redacted, or Missing",
165
- "selectable": false,
166
- "parentCode": null,
167
- "childCodes": [
168
- "069-000-000-000-000-000-001",
169
- "069-000-000-000-000-000-002",
170
- "069-000-000-000-000-000-003"
171
- ],
172
- "definition": "Root group for values indicating absent, withheld, or uncollected data."
173
- },
174
- {
175
- "code": "069-000-000-000-000-000-001",
176
- "key": "unknown",
177
- "title": "Unknown",
178
- "selectable": true,
179
- "parentCode": "069-000-000-000-000-000-000",
180
- "childCodes": [],
181
- "definition": "Value is unknown at time of entry."
182
- },
183
- {
184
- "code": "069-000-000-000-000-000-002",
185
- "key": "anonymous",
186
- "title": "Anonymous",
187
- "selectable": true,
188
- "parentCode": "069-000-000-000-000-000-000",
189
- "childCodes": [],
190
- "definition": "Value is intentionally withheld or redacted."
191
- },
192
- {
193
- "code": "069-000-000-000-000-000-003",
194
- "key": "data_not_collected",
195
- "title": "Data not collected",
196
- "selectable": true,
197
- "parentCode": "069-000-000-000-000-000-000",
198
- "childCodes": [],
199
- "definition": "No attempt was made to collect the value."
200
200
  }
201
201
  ]
202
202
  }
package/src/cvcs/index.ts CHANGED
@@ -90,7 +90,7 @@ import announcementAudienceScopeSot from "./announcementAudienceScope.v1.0.0.jso
90
90
  import announcementResponseTypeSot from "./announcementResponseType.v1.0.0.json" with { type: "json" };
91
91
  import basisQuickPicksSot from "./basisQuickPicks.v1.0.0.json" with { type: "json" };
92
92
  import checkInActivitySot from "./checkInActivity.v1.0.0.json" with { type: "json" };
93
- import checkInPhaseSot from "./checkInPhase.v1.0.0.json" with { type: "json" };
93
+ import checkInPhaseSot from "./checkInPhase.v1.1.0.json" with { type: "json" };
94
94
  import childBehavioralConcernsSot from "./childBehavioralConcerns.v1.0.0.json" with { type: "json" };
95
95
  import childCustodyArrangementSot from "./childCustodyArrangement.v1.0.0.json" with { type: "json" };
96
96
  import daIncidentArchiveReasonSot from "./daIncidentArchiveReason.v1.0.0.json" with { type: "json" };
@@ -153,6 +153,40 @@ import childChangeTypeSot from "./childChangeType.v1.0.0.json" with { type: "jso
153
153
  import immigrationLegalStatusChangeTypeSot from "./immigrationLegalStatusChangeType.v1.0.0.json" with { type: "json" };
154
154
  import programEnrollmentChangeTypeSot from "./programEnrollmentChangeType.v1.0.0.json" with { type: "json" };
155
155
  import romanticRelationshipChangeTypeSot from "./romanticRelationshipChangeType.v1.0.0.json" with { type: "json" };
156
+ import riskCategorySot from "./riskCategory.v1.0.0.json" with { type: "json" };
157
+ import coreFunctionsSot from "./coreFunctions.v1.0.0.json" with { type: "json" };
158
+ import needsAssessmentChangeTypeSot from "./needsAssessmentChangeType.v1.0.0.json" with { type: "json" };
159
+ import roiScopeSot from "./roiScope.v1.0.0.json" with { type: "json" };
160
+ import roiStatusSot from "./roiStatus.v1.0.0.json" with { type: "json" };
161
+ import coreReferralOutcomeSot from "./coreReferralOutcome.v1.0.0.json" with { type: "json" };
162
+ import coreIndicatorsSot from "./coreIndicators.v1.0.0.json" with { type: "json" };
163
+ import coreDhStateSot from "./coreDhState.v1.0.0.json" with { type: "json" };
164
+ import riskSeverityBandSot from "./riskSeverityBand.v1.0.0.json" with { type: "json" };
165
+ import adminRolesSot from "./adminRoles.v1.0.0.json" with { type: "json" };
166
+ import userRolesSot from "./userRoles.v1.0.0.json" with { type: "json" };
167
+ import hmisCurrentLivingSituationSot from "./hmisCurrentLivingSituation.v1.0.0.json" with { type: "json" };
168
+ import juvenileJusticeEpisodeTypeSot from "./juvenileJusticeEpisodeType.v1.0.0.json" with { type: "json" };
169
+ import incarcerationEpisodeTypeSot from "./incarcerationEpisodeType.v1.0.0.json" with { type: "json" };
170
+ import exploitationTypeSot from "./exploitationType.v1.0.0.json" with { type: "json" };
171
+ import sourceSystemSot from "./sourceSystem.v1.0.0.json" with { type: "json" };
172
+ import sourceInstrumentSot from "./sourceInstrument.v1.0.0.json" with { type: "json" };
173
+ import poPetitionBasisSot from "./poPetitionBasis.v1.0.0.json" with { type: "json" };
174
+ import poStatusSot from "./poStatus.v1.0.0.json" with { type: "json" };
175
+ import poViolationStatusSot from "./poViolationStatus.v1.0.0.json" with { type: "json" };
176
+ import sessionTemplateSot from "./sessionTemplate.v1.0.0.json" with { type: "json" };
177
+ import serviceDeliveryChannelSot from "./serviceDeliveryChannel.v1.0.0.json" with { type: "json" };
178
+ import whyNotsSot from "./whyNots.v1.0.0.json" with { type: "json" };
179
+ import citizenshipSot from "./citizenship.v1.0.0.json" with { type: "json" };
180
+ import traffickingRelevantRoleSot from "./traffickingRelevantRole.v1.0.0.json" with { type: "json" };
181
+ // Domains that were never exported from this barrel (found by the CVC drift gate).
182
+ import activityTypeSot from "./activityType.v1.0.0.json" with { type: "json" };
183
+ import assertionDomainSot from "./assertionDomain.v1.1.0.json" with { type: "json" };
184
+ import contactLinkTypeSot from "./contactLinkType.v1.0.0.json" with { type: "json" };
185
+ import provenanceSourceIdSot from "./provenanceSourceId.v1.0.0.json" with { type: "json" };
186
+ import radiusBucketSot from "./radiusBucket.v1.0.0.json" with { type: "json" };
187
+ import roiMethodSot from "./roiMethod.v1.0.0.json" with { type: "json" };
188
+ import sessionNoteVisibilitySot from "./sessionNoteVisibility.v1.0.0.json" with { type: "json" };
189
+ import suggestionSourceSot from "./suggestionSource.v1.0.0.json" with { type: "json" };
156
190
 
157
191
  export {
158
192
  serviceCategoriesSot,
@@ -289,4 +323,37 @@ export {
289
323
  immigrationLegalStatusChangeTypeSot,
290
324
  programEnrollmentChangeTypeSot,
291
325
  romanticRelationshipChangeTypeSot,
326
+ riskCategorySot,
327
+ coreFunctionsSot,
328
+ needsAssessmentChangeTypeSot,
329
+ roiScopeSot,
330
+ roiStatusSot,
331
+ coreReferralOutcomeSot,
332
+ coreIndicatorsSot,
333
+ coreDhStateSot,
334
+ riskSeverityBandSot,
335
+ adminRolesSot,
336
+ userRolesSot,
337
+ hmisCurrentLivingSituationSot,
338
+ juvenileJusticeEpisodeTypeSot,
339
+ incarcerationEpisodeTypeSot,
340
+ exploitationTypeSot,
341
+ sourceSystemSot,
342
+ sourceInstrumentSot,
343
+ poPetitionBasisSot,
344
+ poStatusSot,
345
+ poViolationStatusSot,
346
+ sessionTemplateSot,
347
+ serviceDeliveryChannelSot,
348
+ whyNotsSot,
349
+ citizenshipSot,
350
+ traffickingRelevantRoleSot,
351
+ activityTypeSot,
352
+ assertionDomainSot,
353
+ contactLinkTypeSot,
354
+ provenanceSourceIdSot,
355
+ radiusBucketSot,
356
+ roiMethodSot,
357
+ sessionNoteVisibilitySot,
358
+ suggestionSourceSot,
292
359
  };
@@ -0,0 +1,106 @@
1
+ {
2
+ "domain": "juvenile_justice_episode_type",
3
+ "name": "Core Juvenile Justice Episode Type (CVC-197)",
4
+ "version": "1.0.0",
5
+ "_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-197, Owner Crysta Price, Status 'Drafting'). Value set for classifying the TYPE of a juvenile-justice involvement EPISODE asserted when `assertion_domain = juvenile_justice_involvement`. DISTINCT from CVC-95 `juvenile_justice_involvement_status` (the point-in-time status axis) — 197 types the episode, 95 states the status.",
6
+ "_source": "htilabstech/prototype@a596eb9 Living Situation (IC-73)/core - juvenile_justice_episode_type — codebook 1.csv (CVC-197)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Juvenile justice episode type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "197-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
+ "197-000-000-000-000-000-001",
20
+ "197-000-000-000-000-000-002",
21
+ "197-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) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "197-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "197-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Unknown or cannot be determined from the available information.",
33
+ "canonicalCode": "UNK"
34
+ },
35
+ {
36
+ "code": "197-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "197-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
43
+ "canonicalCode": "ANON"
44
+ },
45
+ {
46
+ "code": "197-000-000-000-000-000-003",
47
+ "key": "data_not_collected",
48
+ "title": "Data not collected",
49
+ "selectable": true,
50
+ "parentCode": "197-000-000-000-000-000-000",
51
+ "childCodes": [],
52
+ "definition": "No attempt was made to collect the information.",
53
+ "canonicalCode": "DNC"
54
+ },
55
+ {
56
+ "code": "197-001-000-000-000-000-000",
57
+ "key": "pending_adjudication",
58
+ "title": "Pending charges / adjudication process",
59
+ "selectable": true,
60
+ "parentCode": null,
61
+ "childCodes": [],
62
+ "definition": "Juvenile justice involvement primarily characterized by an active charges/adjudication process (court process) without clear custody/supervision details.",
63
+ "canonicalCode": "pending_adjudication"
64
+ },
65
+ {
66
+ "code": "197-002-000-000-000-000-000",
67
+ "key": "diversion_program",
68
+ "title": "Diversion program",
69
+ "selectable": true,
70
+ "parentCode": null,
71
+ "childCodes": [],
72
+ "definition": "Participation in a diversion program or diversionary pathway in the juvenile justice system.",
73
+ "canonicalCode": "diversion_program"
74
+ },
75
+ {
76
+ "code": "197-003-000-000-000-000-000",
77
+ "key": "residential_jj_placement",
78
+ "title": "Residential JJ placement",
79
+ "selectable": true,
80
+ "parentCode": null,
81
+ "childCodes": [],
82
+ "definition": "Residential juvenile justice placement (e.g., juvenile correctional/residential facility placement) beyond short-term detention.",
83
+ "canonicalCode": "residential_jj_placement"
84
+ },
85
+ {
86
+ "code": "197-004-000-000-000-000-000",
87
+ "key": "probation_supervision",
88
+ "title": "Probation / community supervision (juvenile)",
89
+ "selectable": true,
90
+ "parentCode": null,
91
+ "childCodes": [],
92
+ "definition": "Juvenile probation or community supervision without custody/residential placement.",
93
+ "canonicalCode": "probation_supervision"
94
+ },
95
+ {
96
+ "code": "197-005-000-000-000-000-000",
97
+ "key": "detention_stay",
98
+ "title": "Detention stay",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Time in juvenile detention custody (detention facility stay).",
103
+ "canonicalCode": "detention_stay"
104
+ }
105
+ ]
106
+ }
@@ -7,33 +7,6 @@
7
7
  "1": "Involvement status"
8
8
  },
9
9
  "entries": [
10
- {
11
- "code": "095-001-000-000-000-000-000",
12
- "key": "current",
13
- "title": "Current",
14
- "selectable": true,
15
- "parentCode": null,
16
- "childCodes": [],
17
- "definition": "Indicates that the individual is currently involved with the juvenile justice system, such as being under detention, probation, diversion supervision, or active juvenile court oversight."
18
- },
19
- {
20
- "code": "095-002-000-000-000-000-000",
21
- "key": "never",
22
- "title": "Never",
23
- "selectable": true,
24
- "parentCode": null,
25
- "childCodes": [],
26
- "definition": "Indicates that the individual has no known history of involvement with the juvenile justice system."
27
- },
28
- {
29
- "code": "095-003-000-000-000-000-000",
30
- "key": "previous",
31
- "title": "Previous",
32
- "selectable": true,
33
- "parentCode": null,
34
- "childCodes": [],
35
- "definition": "Indicates that the individual previously had involvement with the juvenile justice system but is not currently under juvenile justice supervision. Maps to HMIS R12 'Yes' (Formerly a Ward of Juvenile Justice System)."
36
- },
37
10
  {
38
11
  "code": "095-000-000-000-000-000-000",
39
12
  "key": "missingness_root",
@@ -56,6 +29,15 @@
56
29
  "childCodes": [],
57
30
  "definition": "Indicates that it is not known whether the individual has ever been involved with the juvenile justice system. Maps to HMIS R12 'Client doesn't know'."
58
31
  },
32
+ {
33
+ "code": "095-000-000-000-000-000-003",
34
+ "key": "data_not_collected",
35
+ "title": "Data not collected",
36
+ "selectable": true,
37
+ "parentCode": "095-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Indicates the question was not asked and/or a value was not obtained; distinguish from 'unknown' (asked but not known) and 'prefer_not_to_answer' (asked but declined). Maps to HMIS R12 'Data not collected'."
40
+ },
59
41
  {
60
42
  "code": "095-000-000-000-000-000-002",
61
43
  "key": "prefer_not_to_answer",
@@ -66,13 +48,31 @@
66
48
  "definition": "Indicates the individual was asked about juvenile justice involvement history and chose not to answer. Maps to HMIS R12 'Client prefers not to answer'."
67
49
  },
68
50
  {
69
- "code": "095-000-000-000-000-000-003",
70
- "key": "data_not_collected",
71
- "title": "Data not collected",
51
+ "code": "095-001-000-000-000-000-000",
52
+ "key": "current",
53
+ "title": "Current",
72
54
  "selectable": true,
73
- "parentCode": "095-000-000-000-000-000-000",
55
+ "parentCode": null,
74
56
  "childCodes": [],
75
- "definition": "Indicates the question was not asked and/or a value was not obtained; distinguish from 'unknown' (asked but not known) and 'prefer_not_to_answer' (asked but declined). Maps to HMIS R12 'Data not collected'."
57
+ "definition": "Indicates that the individual is currently involved with the juvenile justice system, such as being under detention, probation, diversion supervision, or active juvenile court oversight."
58
+ },
59
+ {
60
+ "code": "095-002-000-000-000-000-000",
61
+ "key": "never",
62
+ "title": "Never",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Indicates that the individual has no known history of involvement with the juvenile justice system."
67
+ },
68
+ {
69
+ "code": "095-003-000-000-000-000-000",
70
+ "key": "previous",
71
+ "title": "Previous",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Indicates that the individual previously had involvement with the juvenile justice system but is not currently under juvenile justice supervision. Maps to HMIS R12 'Yes' (Formerly a Ward of Juvenile Justice System)."
76
76
  }
77
77
  ]
78
78
  }
@@ -7,6 +7,26 @@
7
7
  "1": "Military branch"
8
8
  },
9
9
  "entries": [
10
+ {
11
+ "code": "120-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
+ "120-000-000-000-000-000-001"
18
+ ],
19
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
20
+ },
21
+ {
22
+ "code": "120-000-000-000-000-000-001",
23
+ "key": "unknown",
24
+ "title": "Unknown",
25
+ "selectable": true,
26
+ "parentCode": "120-000-000-000-000-000-000",
27
+ "childCodes": [],
28
+ "definition": "Value is unknown at time of entry."
29
+ },
10
30
  {
11
31
  "code": "120-001-000-000-000-000-000",
12
32
  "key": "army",
@@ -60,26 +80,6 @@
60
80
  "parentCode": null,
61
81
  "childCodes": [],
62
82
  "definition": "Indicates service in the United States Space Force, the space-warfare branch of the U.S. Armed Forces established in 2019. Crosswalk note: some partner intake forms (e.g., Ascension) pre-date Space Force and do not list it — consumers receiving legacy data may need to map 'Other' to this key based on service dates."
63
- },
64
- {
65
- "code": "120-000-000-000-000-000-000",
66
- "key": "missingness_root",
67
- "title": "Unknown, Redacted, or Missing",
68
- "selectable": false,
69
- "parentCode": null,
70
- "childCodes": [
71
- "120-000-000-000-000-000-001"
72
- ],
73
- "definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only) per Notion codebook v3.0; this CVC relies on the parent field (core_veteran) gating to exclude PNA/DNC cases."
74
- },
75
- {
76
- "code": "120-000-000-000-000-000-001",
77
- "key": "unknown",
78
- "title": "Unknown",
79
- "selectable": true,
80
- "parentCode": "120-000-000-000-000-000-000",
81
- "childCodes": [],
82
- "definition": "Value is unknown at time of entry."
83
83
  }
84
84
  ]
85
85
  }