@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.
- package/README.md +0 -44
- package/dist/constants/index.cjs +76 -52
- 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 +75 -48
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
- package/dist/cvcs/index.cjs +11136 -136
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +12856 -603
- package/dist/cvcs/index.d.ts +12856 -603
- package/dist/cvcs/index.js +11060 -132
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +12593 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1686 -98
- package/dist/index.d.ts +1686 -98
- package/dist/index.js +12442 -234
- 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-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
- package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
- package/dist/schemas/index.cjs +68 -49
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -15
- package/dist/schemas/index.d.ts +11 -15
- package/dist/schemas/index.js +68 -49
- 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 +19 -25
- package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
- package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
- package/src/__tests__/cvc-structural.test.ts +76 -3
- package/src/constants/ic.ts +163 -51
- package/src/cvcs/accommodationType.v1.0.0.json +107 -0
- package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
- package/src/cvcs/actionStepType.v1.0.0.json +71 -0
- package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
- package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
- package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
- package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
- package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
- package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
- package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
- package/src/cvcs/collectionContext.v1.0.0.json +88 -0
- package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
- package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
- package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
- package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
- package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
- package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
- package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
- package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
- package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
- package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
- package/src/cvcs/exitReasons.v1.0.0.json +224 -0
- package/src/cvcs/facialHair.v1.0.0.json +71 -0
- package/src/cvcs/funder.v1.0.0.json +125 -0
- package/src/cvcs/goalCategory.v1.0.0.json +161 -0
- package/src/cvcs/goalPriority.v1.0.0.json +80 -0
- package/src/cvcs/goalStatus.v1.0.0.json +98 -0
- package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
- package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
- package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
- package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
- package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/index.ts +150 -6
- package/src/cvcs/inferenceType.v1.0.0.json +78 -0
- package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
- package/src/cvcs/languages.v1.0.0.json +1924 -0
- package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
- package/src/cvcs/legalActionType.v1.0.0.json +116 -0
- package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
- package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
- package/src/cvcs/milestoneType.v1.0.0.json +170 -0
- package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +6 -6
- package/src/cvcs/petExitReason.v1.0.0.json +107 -0
- package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
- package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
- package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
- package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
- package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
- package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
- package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
- package/src/cvcs/roleContext.v1.0.0.json +78 -0
- package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
- package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
- package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
- package/src/cvcs/serviceSource.v1.0.0.json +71 -0
- package/src/cvcs/serviceStates.v1.0.0.json +12 -2
- package/src/cvcs/sessionState.v1.0.0.json +96 -0
- package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
- package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
- package/src/cvcs/signatureType.v1.0.0.json +89 -0
- package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
- package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
- package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
- package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
- package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
- package/src/cvcs/supportStrength.v1.0.0.json +114 -0
- package/src/cvcs/supportTopic.v1.0.0.json +116 -0
- package/src/cvcs/threadStatus.v1.0.0.json +80 -0
- package/src/cvcs/threadType.v1.0.0.json +98 -0
- package/src/cvcs/timeScope.v1.0.0.json +69 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
- package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/visaType.v1.0.0.json +378 -0
- package/src/generated/cvc-enums.ts +1816 -46
- package/src/index.ts +0 -20
- package/src/schemas/common.ts +0 -4
- package/dist/config/index.cjs +0 -191
- package/dist/config/index.cjs.map +0 -1
- package/dist/config/index.d.cts +0 -101
- package/dist/config/index.d.ts +0 -101
- package/dist/config/index.js +0 -165
- package/dist/config/index.js.map +0 -1
- package/src/__tests__/runtime-contract-validator.test.ts +0 -556
- package/src/config/fixtures/valid.yaml +0 -90
- package/src/config/index.ts +0 -352
- package/src/cvcs/hmisSex.v1.0.0.json +0 -89
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
- package/src/cvcs/recencyBand.v1.0.0.json +0 -124
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "child_custody_arrangement",
|
|
3
|
+
"name": "Child Custody Arrangement",
|
|
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_child_custody_arrangement.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_child_custody_arrangement.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Custody arrangement (single-select rolled-up status)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "910-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
|
+
"910-000-000-000-000-000-001",
|
|
20
|
+
"910-000-000-000-000-000-002",
|
|
21
|
+
"910-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). Distinct from the YAML's substantive 'unknown' code (survivor doesn't know the legal status) which is preserved as a selectable level-1 entry below."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "910-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "910-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry (missingness sentinel)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "910-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "910-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": "910-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "910-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "910-001-000-000-000-000-000",
|
|
54
|
+
"key": "court_ordered_sole_client",
|
|
55
|
+
"title": "Court-ordered — client has sole custody",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Survivor (the active session subject / client) has sole legal custody per court order. Documentation typically on file. Common protection-planning win condition; pairs with court-ordered-custody Y=yes + documentation Y=yes on the entry."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "910-002-000-000-000-000-000",
|
|
63
|
+
"key": "court_ordered_sole_other",
|
|
64
|
+
"title": "Court-ordered — other parent / guardian has sole custody",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "The non-survivor parent or another guardian has sole legal custody per court order. May intersect with safety planning if the other parent is the abuser. Pairs with abuser-different-from-bio-father Y/N + court-ordered-visitation Y/N on the entry."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "910-003-000-000-000-000-000",
|
|
72
|
+
"key": "court_ordered_shared",
|
|
73
|
+
"title": "Court-ordered — shared / joint custody",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Joint legal custody per court order. Visitation schedule typically specified. The visitation-frequency free-text on the entry captures the operational specifics."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "910-004-000-000-000-000-000",
|
|
81
|
+
"key": "voluntary_informal_client",
|
|
82
|
+
"title": "Informal — child lives primarily with client",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "No court order in place; the child lives primarily with the survivor by mutual agreement or default. Common for unmarried parents pre-formalization. Vulnerable to disruption if abuser asserts parental rights."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "910-005-000-000-000-000-000",
|
|
90
|
+
"key": "voluntary_informal_other",
|
|
91
|
+
"title": "Informal — child lives primarily with other parent / guardian",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "No court order; child lives primarily with the non-survivor parent / guardian. May be a temporary safety arrangement or a longstanding informal custody. Captures the situation accurately without forcing formalization."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "910-006-000-000-000-000-000",
|
|
99
|
+
"key": "shared_informal",
|
|
100
|
+
"title": "Informal — shared between client and other parent / guardian",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "No court order; informal shared parenting (e.g., week-on-week-off, every-other-weekend). Surfaces well-before-court arrangements in the data."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "910-007-000-000-000-000-000",
|
|
108
|
+
"key": "rights_surrendered_voluntary",
|
|
109
|
+
"title": "Parental rights voluntarily surrendered",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Pairs with the per-child Loss of Parental Rights sub-block (voluntary placement Y=yes). Captured here as the rolled-up custody status."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "910-008-000-000-000-000-000",
|
|
117
|
+
"key": "rights_terminated_court",
|
|
118
|
+
"title": "Parental rights terminated by court",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Pairs with the per-child Loss of Parental Rights sub-block (court-ordered Y=yes). Includes situations where TPR was initiated by the state (CPS) or by another party."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "910-009-000-000-000-000-000",
|
|
126
|
+
"key": "kinship_care",
|
|
127
|
+
"title": "Kinship care (extended-family caregiver)",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Child lives with grandparent / aunt-uncle / other extended family member. May be informal or formalized through state foster-care kinship placement. Captures a common arrangement that doesn't fit the parent-vs-other-parent binary."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"code": "910-010-000-000-000-000-000",
|
|
135
|
+
"key": "foster_care",
|
|
136
|
+
"title": "Foster care (state placement)",
|
|
137
|
+
"selectable": true,
|
|
138
|
+
"parentCode": null,
|
|
139
|
+
"childCodes": [],
|
|
140
|
+
"definition": "Child placed in state foster care (non-kinship). Pairs with Child Welfare System involvement Y=yes on the entry."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"code": "910-011-000-000-000-000-000",
|
|
144
|
+
"key": "adopted_out",
|
|
145
|
+
"title": "Adopted by another family",
|
|
146
|
+
"selectable": true,
|
|
147
|
+
"parentCode": null,
|
|
148
|
+
"childCodes": [],
|
|
149
|
+
"definition": "Child has been adopted out (rights of original parents fully terminated; new legal parents). Captures the historical fact for trauma / safety-planning context."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"code": "910-012-000-000-000-000-000",
|
|
153
|
+
"key": "pending_legal_process",
|
|
154
|
+
"title": "Pending legal process (custody / divorce / TPR in progress)",
|
|
155
|
+
"selectable": true,
|
|
156
|
+
"parentCode": null,
|
|
157
|
+
"childCodes": [],
|
|
158
|
+
"definition": "Currently in active legal process. Surfaces the temporary / unstable status. Pairs with the visitation Y/N + frequency free-text for the current interim arrangement."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"code": "910-013-000-000-000-000-000",
|
|
162
|
+
"key": "unknown_status",
|
|
163
|
+
"title": "Unknown",
|
|
164
|
+
"selectable": true,
|
|
165
|
+
"parentCode": null,
|
|
166
|
+
"childCodes": [],
|
|
167
|
+
"definition": "Survivor doesn't know the legal status (rare for primary-caregiver kids; common for kids surrendered long ago / kids in extended-family informal arrangements). Preserves the unknown-but-real signal. Distinct from the missingness_root sentinel: this is a substantive captured value meaning 'the survivor was asked and does not know', not an uncollected/withheld field."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"code": "910-014-000-000-000-000-000",
|
|
171
|
+
"key": "not_applicable",
|
|
172
|
+
"title": "Not applicable",
|
|
173
|
+
"selectable": true,
|
|
174
|
+
"parentCode": null,
|
|
175
|
+
"childCodes": [],
|
|
176
|
+
"definition": "Child's age + situation makes custody status moot (e.g., adult child still being captured for context, but no legal custody question). Use sparingly."
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"code": "910-015-000-000-000-000-000",
|
|
180
|
+
"key": "other",
|
|
181
|
+
"title": "Other (specify)",
|
|
182
|
+
"selectable": true,
|
|
183
|
+
"parentCode": null,
|
|
184
|
+
"childCodes": [],
|
|
185
|
+
"definition": "Free-text refinement on state.attributes.child_custody_arrangement_other_text. Future polish: surface most-frequently-typed values back as suggested codes for canonical promotion."
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "collection_context",
|
|
3
|
+
"name": "Core Collection Context",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_source": "prototype/data/cvcs/core_collection_context.yaml (Final-CVC-derived), CVC-195",
|
|
6
|
+
"levels": {
|
|
7
|
+
"0": "Unknown or Missing",
|
|
8
|
+
"1": "Collection context anchor"
|
|
9
|
+
},
|
|
10
|
+
"entries": [
|
|
11
|
+
{
|
|
12
|
+
"code": "195-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
|
+
"195-000-000-000-000-000-001",
|
|
19
|
+
"195-000-000-000-000-000-002",
|
|
20
|
+
"195-000-000-000-000-000-003"
|
|
21
|
+
],
|
|
22
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). The prototype's `unknown` cleanup-target anchor maps to the unknown sentinel; DNC/ANON map to data_not_collected/anonymous."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"code": "195-000-000-000-000-000-001",
|
|
26
|
+
"key": "unknown",
|
|
27
|
+
"title": "Unknown / Unanchored",
|
|
28
|
+
"selectable": true,
|
|
29
|
+
"parentCode": "195-000-000-000-000-000-000",
|
|
30
|
+
"childCodes": [],
|
|
31
|
+
"definition": "Anchor context is unknown, ambiguous, or not captured (legacy import, partner ambiguity, insufficient provenance). Treat as a cleanup target. Do not use for new captures when the workflow can determine the correct context."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"code": "195-000-000-000-000-000-002",
|
|
35
|
+
"key": "anonymous",
|
|
36
|
+
"title": "Anonymous / declined to answer",
|
|
37
|
+
"selectable": true,
|
|
38
|
+
"parentCode": "195-000-000-000-000-000-000",
|
|
39
|
+
"childCodes": [],
|
|
40
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted. Used to reduce re-identification; covers \"client prefers not to answer\" and redaction contexts."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"code": "195-000-000-000-000-000-003",
|
|
44
|
+
"key": "data_not_collected",
|
|
45
|
+
"title": "Data not collected",
|
|
46
|
+
"selectable": true,
|
|
47
|
+
"parentCode": "195-000-000-000-000-000-000",
|
|
48
|
+
"childCodes": [],
|
|
49
|
+
"definition": "No attempt was made to collect the information. Use when the field was not asked or not captured."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"code": "195-001-000-000-000-000-000",
|
|
53
|
+
"key": "contact",
|
|
54
|
+
"title": "Contact (HMIS 4.12)",
|
|
55
|
+
"selectable": true,
|
|
56
|
+
"parentCode": null,
|
|
57
|
+
"childCodes": [],
|
|
58
|
+
"definition": "Captured at time of contact/encounter/session; repeatable. Represents a snapshot of the subject's situation as-of the contact time. Use for HMIS 4.12 Current Living Situation exports. Multiple records over time are expected; do not overwrite a single field. Canonical default for advocate-driven capture."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"code": "195-002-000-000-000-000-000",
|
|
62
|
+
"key": "enrollment_entry",
|
|
63
|
+
"title": "Enrollment entry (HMIS 3.917)",
|
|
64
|
+
"selectable": true,
|
|
65
|
+
"parentCode": null,
|
|
66
|
+
"childCodes": [],
|
|
67
|
+
"definition": "Captured at project start; describes the situation immediately prior to Project Start Date (HMIS 3.917 Prior Living Situation semantics). Anchor is Project Start Date (not interview time). Household members may differ. May require additional chronicity fields depending on project type (3.917A vs 3.917B)."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"code": "195-003-000-000-000-000-000",
|
|
71
|
+
"key": "enrollment_exit",
|
|
72
|
+
"title": "Enrollment exit / Destination (HMIS 3.12)",
|
|
73
|
+
"selectable": true,
|
|
74
|
+
"parentCode": null,
|
|
75
|
+
"childCodes": [],
|
|
76
|
+
"definition": "Captured at project exit; describes where the client is expected to stay just after exiting (HMIS 3.12 Destination semantics). Must not be prefilled at project start and must not be inferred from prior living situation or timeline/current values. Capture with client-confirmed provenance."
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"code": "195-004-000-000-000-000-000",
|
|
80
|
+
"key": "post_exit",
|
|
81
|
+
"title": "Post-exit (RHY R20)",
|
|
82
|
+
"selectable": true,
|
|
83
|
+
"parentCode": null,
|
|
84
|
+
"childCodes": [],
|
|
85
|
+
"definition": "Captured after project exit; post-exit follow-up facts (e.g., aftercare provided) that do not extend enrollment participation. Used for RHY R20 Aftercare Plans. Must be time-stamped with its own information date and occur after exit."
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "contact_info_use_type",
|
|
3
|
+
"name": "Core Contact Info Use Type",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Use type"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "154-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
|
+
"154-000-000-000-000-000-001",
|
|
18
|
+
"154-000-000-000-000-000-002",
|
|
19
|
+
"154-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "154-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "154-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Usage context is not known."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "154-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "154-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "154-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "154-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "Worker did not attempt to collect / record usage context."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "154-001-000-000-000-000-000",
|
|
52
|
+
"key": "business_commercial_sex",
|
|
53
|
+
"title": "Business (commercial sex)",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Used primarily for commercial sex advertising, client communication, or related coordination. If a source instrument directly encodes a CS-only flag, map that into this code."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "154-002-000-000-000-000-000",
|
|
61
|
+
"key": "business_non_cs",
|
|
62
|
+
"title": "Business (non-CS)",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Used primarily for work / business communication not specific to commercial sex activity (employer, general business, services, etc.)."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "154-003-000-000-000-000-000",
|
|
70
|
+
"key": "mixed_use",
|
|
71
|
+
"title": "Mixed use",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Used for both personal and business purposes (including where business includes commercial sex activity)."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "154-004-000-000-000-000-000",
|
|
79
|
+
"key": "personal",
|
|
80
|
+
"title": "Personal",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Used primarily for personal / family communication."
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "da_incident_archive_reason",
|
|
3
|
+
"name": "DA Incident Archive Reason",
|
|
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_da_incident_archive_reason.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_da_incident_archive_reason.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Archive reason (single-select per archive event)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "911-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
|
+
"911-000-000-000-000-000-001",
|
|
20
|
+
"911-000-000-000-000-000-002",
|
|
21
|
+
"911-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). No prefer_not_to_answer — workspace standard ANON semantic rolls 'declined to answer' into the anonymous sentinel."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "911-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "911-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "911-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "911-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": "911-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "911-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "911-001-000-000-000-000-000",
|
|
54
|
+
"key": "inaccurate",
|
|
55
|
+
"title": "Inaccurate",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "The captured incident details (severity, choking, date, notes) are wrong as captured. Most common archive reason when advocate realizes mid-session that an incident was mis-categorized OR when later survivor disclosure refines an earlier capture. Preserves the forensic record — do NOT hard-delete inaccurate entries; archive them."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "911-002-000-000-000-000-000",
|
|
63
|
+
"key": "duplicate",
|
|
64
|
+
"title": "Duplicate of another incident",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Same incident was captured twice (e.g., advocate added it from the grid AND the list affordance accidentally). The duplicate copy is archived; the canonical copy remains. Advocate SHOULD add a note to the surviving incident pointing to the archived duplicate id when context is useful for case-file forensics."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "911-003-000-000-000-000-000",
|
|
72
|
+
"key": "captured_in_error",
|
|
73
|
+
"title": "Captured in error",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Incident was logged in error — for example, advocate accidentally clicked the wrong month cell OR the conversation did not actually reveal an incident the advocate thought it did. Archived rather than hard-deleted so the event sequence (LOGGED → ARCHIVED) remains the canonical record."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "911-004-000-000-000-000-000",
|
|
81
|
+
"key": "survivor_retracted",
|
|
82
|
+
"title": "Survivor retracted the report",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Survivor explicitly retracted the incident — e.g., during the same session OR a later conversation, the survivor asks the advocate not to record the incident in the case file. Honors survivor agency over the case-file narrative; the entry is archived but the CAR sequence remains forensic record. Per Crysta product framing, survivor agency is load-bearing across all PAVE surfaces."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "da_incident_confidence",
|
|
3
|
+
"name": "DA Incident Recall Confidence",
|
|
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_da_incident_confidence.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_da_incident_confidence.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Recall confidence band (single-select per incident; default APPROXIMATE)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "912-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
|
+
"912-000-000-000-000-000-001",
|
|
20
|
+
"912-000-000-000-000-000-002",
|
|
21
|
+
"912-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). No prefer_not_to_answer — workspace standard ANON semantic rolls 'declined to answer' into the anonymous sentinel."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "912-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "912-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "912-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "912-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": "912-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "912-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "912-001-000-000-000-000-000",
|
|
54
|
+
"key": "exact",
|
|
55
|
+
"title": "Exact",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Advocate has confirmed BOTH month and day of incident; survivor recall is firm; corroborating evidence (ED records, police report, journal entry) may be present. Highest confidence band. Downstream consumers MAY weight EXACT incidents higher when computing Q1 trend signal or risk-algo input."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "912-002-000-000-000-000-000",
|
|
63
|
+
"key": "approximate",
|
|
64
|
+
"title": "Approximate",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Canonical DEFAULT. Survivor recall is at month-level or week-level granularity, not day-precise. Honors Campbell's verbatim 'approximate dates' framing. Most calendar-exercise entries are APPROXIMATE — this is not a quality flag, it is the capture norm. Drawer opens with this value pre-selected per QB-B3 build-time default."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "912-003-000-000-000-000-000",
|
|
72
|
+
"key": "uncertain",
|
|
73
|
+
"title": "Uncertain",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor recall is unclear; advocate captured the incident based on partial information OR the survivor's recall shifted mid-conversation. Lowest confidence band. Downstream consumers MAY discount UNCERTAIN incidents when computing Q1 trend signal OR surface them in a separate low-confidence group for advocate re-review."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "da_incident_day_approx",
|
|
3
|
+
"name": "DA Incident Approximate Day-Of-Month",
|
|
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_da_incident_day_approx.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_da_incident_day_approx.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Approximate day-of-month band (single-select; mutually exclusive with incident_day_exact)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "913-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
|
+
"913-000-000-000-000-000-001",
|
|
20
|
+
"913-000-000-000-000-000-002",
|
|
21
|
+
"913-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). Distinct from the YAML's substantive 'unspecified' (month-only) code preserved as a selectable level-1 entry below."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "913-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "913-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "913-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "913-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": "913-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "913-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "913-001-000-000-000-000-000",
|
|
54
|
+
"key": "early",
|
|
55
|
+
"title": "Early (1st–10th)",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Day-approx for incidents recalled in the first third of the month. canonical_day_proxy=5 is used by computeQ1Signal when sorting incidents chronologically (treats the incident as if it occurred on the 5th for sorting purposes only; not displayed to the advocate)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "913-002-000-000-000-000-000",
|
|
63
|
+
"key": "mid",
|
|
64
|
+
"title": "Mid (11th–20th)",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Day-approx for incidents recalled in the middle third of the month. Sort proxy = 15. UI displays as 'Mid-<Month> <Year>' — e.g., 'Mid-Mar 2026'."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "913-003-000-000-000-000-000",
|
|
72
|
+
"key": "late",
|
|
73
|
+
"title": "Late (21st–end)",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Day-approx for incidents recalled in the last third of the month. Sort proxy = 25."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "913-004-000-000-000-000-000",
|
|
81
|
+
"key": "unspecified",
|
|
82
|
+
"title": "No day specified",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Day-approx for incidents recalled at month-only granularity. Equivalent to leaving day_approx null (also a valid state). Offered as an explicit picker value so advocates can affirm 'no specific day' rather than leaving the field blank. Sort proxy = 15. UI displays as '<Month> <Year>' — e.g., 'Mar 2026'."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|