@htilabs/platform-common-models 0.8.7 → 0.8.9

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 (38) hide show
  1. package/dist/constants/index.cjs +404 -0
  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 +402 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +903 -0
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +2527 -1519
  10. package/dist/cvcs/index.d.ts +2527 -1519
  11. package/dist/cvcs/index.js +896 -0
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +1422 -1
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +146 -4
  16. package/dist/index.d.ts +146 -4
  17. package/dist/index.js +1406 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-BdnJUisw.d.cts → platform-auth-BSKYSDKe.d.cts} +4 -1
  20. package/dist/{platform-auth-BdnJUisw.d.ts → platform-auth-BSKYSDKe.d.ts} +4 -1
  21. package/dist/schemas/index.cjs.map +1 -1
  22. package/dist/schemas/index.js.map +1 -1
  23. package/dist/types/index.d.cts +2 -2
  24. package/dist/types/index.d.ts +2 -2
  25. package/package.json +1 -1
  26. package/src/__tests__/__snapshots__/cvc-sot.snap +30 -2
  27. package/src/__tests__/cvc-sot-snapshot.test.ts +9 -1
  28. package/src/constants/ic.ts +414 -0
  29. package/src/cvcs/assertionDomain.v1.0.0.json +18 -0
  30. package/src/cvcs/childChangeType.v1.0.0.json +152 -0
  31. package/src/cvcs/hivStatus.v1.0.0.json +71 -0
  32. package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
  33. package/src/cvcs/index.ts +14 -0
  34. package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
  35. package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
  36. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +161 -0
  37. package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
  38. package/src/generated/cvc-enums.ts +157 -1
@@ -0,0 +1,152 @@
1
+ {
2
+ "domain": "child_change_type",
3
+ "name": "Child Change Type",
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_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Lifecycle + sub-block change-event verbs (CHILD_* CARs) emitted by the Add/Edit Child openers and child-profile sub-blocks; routes to StatusLog under assertion_domain child_profile.",
6
+ "_source": "prototype/data/cvcs/core_child_change_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Child profile change event (CAR verb)"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "976-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
+ "976-000-000-000-000-000-001",
20
+ "976-000-000-000-000-000-002",
21
+ "976-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). The prototype YAML enumerates only the substantive level-1 CHILD_* change verbs, so the triplet is added per SOT convention."
24
+ },
25
+ {
26
+ "code": "976-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "976-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Change-event type is unknown at time of entry (missingness sentinel)."
33
+ },
34
+ {
35
+ "code": "976-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "976-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": "976-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "976-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "976-001-000-000-000-000-000",
54
+ "key": "child_added",
55
+ "title": "Child added",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Fires once per Add Child save when a new HTI_CHILD_PROFILES[] row is created. Carries { subject_id, child_person_id, child_profile_id, relationship_type_code (locked to parent_child / child_of) }. Pairs with separate value-level CARs for sub-block fields populated in the same save. (YAML code CHILD_ADDED.)"
60
+ },
61
+ {
62
+ "code": "976-002-000-000-000-000-000",
63
+ "key": "child_updated",
64
+ "title": "Child profile updated",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Fires on Edit Child save when a row is updated. Carries the changed-field delta. Per GDR § 5.6.4 trivial-edit policy, single-field micro-edits may suppress the CAR; material multi-field edits emit one row. (YAML code CHILD_UPDATED.)"
69
+ },
70
+ {
71
+ "code": "976-003-000-000-000-000-000",
72
+ "key": "child_archived",
73
+ "title": "Child archived",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Fires when archiveChild is called. Soft-archive — sets active.to timestamp; row remains queryable. Carries { subject_id, child_person_id, child_profile_id, archived_reason (optional) }. (YAML code CHILD_ARCHIVED.)"
78
+ },
79
+ {
80
+ "code": "976-004-000-000-000-000-000",
81
+ "key": "child_restored",
82
+ "title": "Child restored",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Fires when restoreChild is called on an archived row. Carries { subject_id, child_person_id, child_profile_id }. (YAML code CHILD_RESTORED.)"
87
+ },
88
+ {
89
+ "code": "976-005-000-000-000-000-000",
90
+ "key": "child_education_updated",
91
+ "title": "Child education updated",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Fires when school/daycare attendance Y/N/U + name + grade + level fields change in aggregate. Carries the school/daycare snapshot. (YAML code CHILD_EDUCATION_UPDATED.)"
96
+ },
97
+ {
98
+ "code": "976-006-000-000-000-000-000",
99
+ "key": "child_health_updated",
100
+ "title": "Child health & needs updated",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Fires when special-needs codes / medication needs / accommodations / allergies / immediate health needs change in aggregate. Multi-field aggregate verb keeps the CAR ledger digestible. (YAML code CHILD_HEALTH_UPDATED.)"
105
+ },
106
+ {
107
+ "code": "976-007-000-000-000-000-000",
108
+ "key": "child_custody_updated",
109
+ "title": "Child custody arrangement updated",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Fires when custody_arrangement_code or any of the Y/N flags (court-ordered custody / documentation / visitation / other contact / Child Welfare involvement) change. Aggregate verb covering the custody sub-block. (YAML code CHILD_CUSTODY_UPDATED.)"
114
+ },
115
+ {
116
+ "code": "976-008-000-000-000-000-000",
117
+ "key": "child_parental_rights_updated",
118
+ "title": "Child loss of parental rights updated",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Fires when the per-child LoPR sub-block changes (Y/N + court-ordered + voluntary + caregiver + restrictions). Distinct from CHILD_CUSTODY_UPDATED: LoPR captures the historical / terminal-state of rights; custody captures the current arrangement. (YAML code CHILD_PARENTAL_RIGHTS_UPDATED.)"
123
+ },
124
+ {
125
+ "code": "976-009-000-000-000-000-000",
126
+ "key": "child_behavioral_concerns_updated",
127
+ "title": "Child behavioral concerns updated",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Fires when behavioral_concern_codes[] or behavioral_concerns_other_text changes. Privacy-sensitive disclosure — review surface implications before exposing this CAR's body in cross-org sharing contexts. (YAML code CHILD_BEHAVIORAL_CONCERNS_UPDATED.)"
132
+ },
133
+ {
134
+ "code": "976-010-000-000-000-000-000",
135
+ "key": "child_household_linked",
136
+ "title": "Child linked to household roster",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Fires when \"Do they live with you?\" toggles to Yes / Sometimes and an HTI_HOUSEHOLD_MEMBERSHIP[] row is auto-created from the Child profile. Carries { subject_id, child_person_id, hh_membership_id }. Pairs with the H3-side HOUSEHOLD_MEMBER_ADDED CAR (which fires from the membership row creation). (YAML code CHILD_HOUSEHOLD_LINKED.)"
141
+ },
142
+ {
143
+ "code": "976-011-000-000-000-000-000",
144
+ "key": "child_household_unlinked",
145
+ "title": "Child unlinked from household roster",
146
+ "selectable": true,
147
+ "parentCode": null,
148
+ "childCodes": [],
149
+ "definition": "Fires when \"Do they live with you?\" toggles from Yes / Sometimes back to No / Unknown and the existing HTI_HOUSEHOLD_MEMBERSHIP[] row is archived. Idempotent if already unlinked. (YAML code CHILD_HOUSEHOLD_UNLINKED.)"
150
+ }
151
+ ]
152
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "domain": "hiv_status",
3
+ "name": "HIV Status",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_hiv_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Single-select HIV / AIDS or related diagnosis status per HMIS 4.08; YES auto-qualifies HMIS 3.08 Disabling Condition rollup.",
6
+ "_source": "prototype/data/cvcs/core_hiv_status.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "HIV / AIDS status"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "973-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
+ "973-000-000-000-000-000-001",
20
+ "973-000-000-000-000-000-002",
21
+ "973-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet. The prototype YAML's three HMIS 4.08 non-response codes (DK 'Client doesn't know', PNA 'Client prefers not to answer', UNK 'Data not collected') are folded onto this triplet per SOT convention rather than duplicated as substantive values."
24
+ },
25
+ {
26
+ "code": "973-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "973-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Survivor explicitly says they don't know their HIV status. Useful when the survivor hasn't been tested OR doesn't recall test results. Maps the prototype YAML DK value (HMIS 4.08 = Client doesn't know) onto the standard missingness triplet."
33
+ },
34
+ {
35
+ "code": "973-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "973-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value intentionally withheld or redacted. Survivor explicitly declines to answer. Maps the prototype YAML PNA value (HMIS 4.08 = Client prefers not to answer) onto the standard workspace ANON sentinel."
42
+ },
43
+ {
44
+ "code": "973-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "973-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "Not collected during this interaction — the question wasn't asked or the conversation didn't reach resolution. Default missing state. Maps the prototype YAML UNK value (HMIS 4.08 = Data not collected) onto the standard missingness triplet."
51
+ },
52
+ {
53
+ "code": "973-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "HIV / AIDS or related diagnosis confirmed by a healthcare professional. Auto-qualifies for HMIS 3.08 Disabling Condition rollup (no severity follow-up required per HMIS 4.08 guidance). HMIS 4.08 = Yes. (YAML code YES.)"
60
+ },
61
+ {
62
+ "code": "973-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "No HIV / AIDS diagnosis. Does not contribute to HMIS 3.08 Disabling Condition rollup. HMIS 4.08 = No. (YAML code NO.)"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "domain": "immigration_legal_status_change_type",
3
+ "name": "Immigration & Legal Status Change Type",
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_immigration_legal_status_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Change-type (CAR verb) vocabulary for the Core Profile Immigration & Legal Status sub-section: per-question capture/update events plus section decline/recapture state transitions.",
6
+ "_source": "prototype/data/cvcs/core_immigration_legal_status_change_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Immigration & legal status change type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "977-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
+ "977-000-000-000-000-000-001",
20
+ "977-000-000-000-000-000-002",
21
+ "977-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet; the prototype YAML enumerates only level-1 canonical change-type verbs, so the triplet is added per SOT convention."
24
+ },
25
+ {
26
+ "code": "977-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "977-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Change type is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "977-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "977-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": "977-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "977-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "Not collected during this interaction. System-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "977-001-000-000-000-000-000",
54
+ "key": "immigration_legal_status_section_declined",
55
+ "title": "Section declined",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Advocate toggled the section's decline-to-answer toggle ON. Records `section_declined` set to `true` per recommendations doc § 4.1.3; `assertion_value_code` set to `DECLINED_TO_ANSWER` per `GDR § 6.5.8`. Clears section's missing-data nag for risk algo."
60
+ },
61
+ {
62
+ "code": "977-002-000-000-000-000-000",
63
+ "key": "immigration_legal_status_section_recaptured",
64
+ "title": "Section recaptured",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Advocate toggled the section's decline-to-answer toggle OFF (returning to capture). Records `section_declined` set to `false` and re-enables per-question capture per recommendations doc § 4.1.3."
69
+ },
70
+ {
71
+ "code": "977-003-000-000-000-000-000",
72
+ "key": "immigration_visa_captured",
73
+ "title": "Visa captured",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "First-time capture of `p.demographics.visa_type` + optional `visa_expires_at` per recommendations doc § 4.1.1 Q1 + Q1.a."
78
+ },
79
+ {
80
+ "code": "977-004-000-000-000-000-000",
81
+ "key": "immigration_visa_updated",
82
+ "title": "Visa updated",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Edit to existing visa-type or expiration data. Material edit per `GDR § 5.6.4` (visa changes drive risk-algo + service-eligibility consumers)."
87
+ },
88
+ {
89
+ "code": "977-005-000-000-000-000-000",
90
+ "key": "identification_status_captured",
91
+ "title": "Identification status captured",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "First-time capture of `p.demographics.has_proof_of_id` + optional `proof_of_id_types[]` per recommendations doc § 4.1.1 Q2 + Q2.a."
96
+ },
97
+ {
98
+ "code": "977-006-000-000-000-000-000",
99
+ "key": "identification_status_updated",
100
+ "title": "Identification status updated",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Edit to existing identification data — has-proof Y/N change, types added / removed."
105
+ },
106
+ {
107
+ "code": "977-007-000-000-000-000-000",
108
+ "key": "le_report_status_captured",
109
+ "title": "LE report status captured",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "First-time capture of `p.demographics.le_report_status` + optional Q3.a / Q3.b sub-fields per recommendations doc § 4.1.1 Q3."
114
+ },
115
+ {
116
+ "code": "977-008-000-000-000-000-000",
117
+ "key": "le_report_status_updated",
118
+ "title": "LE report status updated",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Edit to existing LE-report status (transition from `scheduled` → `yes_reported` after the interview occurs; agency / agent / report# changes; etc.)."
123
+ },
124
+ {
125
+ "code": "977-009-000-000-000-000-000",
126
+ "key": "trafficking_screening_captured",
127
+ "title": "Trafficking screening captured",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "First-time capture of attorney trafficking screening fact-anchor per recommendations doc § 4.1.1 Q4 + Q4.a + Q4.b + Q4.c. When Q4.c indicates platform-internal screening, this verb is auto-derived from the platform's IDA + Determination Helper assertions per § 6.5."
132
+ },
133
+ {
134
+ "code": "977-010-000-000-000-000-000",
135
+ "key": "trafficking_screening_updated",
136
+ "title": "Trafficking screening updated",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Edit to existing trafficking-screening data — attorney info update, date update, etc."
141
+ }
142
+ ]
143
+ }
package/src/cvcs/index.ts CHANGED
@@ -146,6 +146,13 @@ import htTypeSot from "./htType.v1.0.0.json" with { type: "json" };
146
146
  import relationshipConcernSot from "./relationshipConcern.v1.0.0.json" with { type: "json" };
147
147
  import recencyBandSot from "./recencyBand.v1.0.0.json" with { type: "json" };
148
148
  import housingSubsidyTypesSot from "./housingSubsidyTypes.v1.0.0.json" with { type: "json" };
149
+ import specialNeedsDisabilitiesSot from "./specialNeedsDisabilities.v1.0.0.json" with { type: "json" };
150
+ import hivStatusSot from "./hivStatus.v1.0.0.json" with { type: "json" };
151
+ import mentalHealthStatusSot from "./mentalHealthStatus.v1.0.0.json" with { type: "json" };
152
+ import childChangeTypeSot from "./childChangeType.v1.0.0.json" with { type: "json" };
153
+ import immigrationLegalStatusChangeTypeSot from "./immigrationLegalStatusChangeType.v1.0.0.json" with { type: "json" };
154
+ import programEnrollmentChangeTypeSot from "./programEnrollmentChangeType.v1.0.0.json" with { type: "json" };
155
+ import romanticRelationshipChangeTypeSot from "./romanticRelationshipChangeType.v1.0.0.json" with { type: "json" };
149
156
 
150
157
  export {
151
158
  serviceCategoriesSot,
@@ -275,4 +282,11 @@ export {
275
282
  relationshipConcernSot,
276
283
  recencyBandSot,
277
284
  housingSubsidyTypesSot,
285
+ specialNeedsDisabilitiesSot,
286
+ hivStatusSot,
287
+ mentalHealthStatusSot,
288
+ childChangeTypeSot,
289
+ immigrationLegalStatusChangeTypeSot,
290
+ programEnrollmentChangeTypeSot,
291
+ romanticRelationshipChangeTypeSot,
278
292
  };
@@ -0,0 +1,71 @@
1
+ {
2
+ "domain": "mental_health_status",
3
+ "name": "Mental Health Status",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_mental_health_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Single-select presence of a mental health condition or concern (HMIS 4.09 Mental Health Disorder); YES triggers a severity follow-up and contributes to the HMIS 3.08 Disabling Condition rollup.",
6
+ "_source": "prototype/data/cvcs/core_mental_health_status.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Mental health status"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "974-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
+ "974-000-000-000-000-000-001",
20
+ "974-000-000-000-000-000-002",
21
+ "974-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet. The prototype YAML's own level-1 missingness values (UNK · DK · PNA) map onto this triplet per SOT convention rather than being duplicated as substantive entries."
24
+ },
25
+ {
26
+ "code": "974-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "974-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Mental health status is unknown at time of entry — survivor or advocate doesn't know. Default missing state. Folds the prototype UNK (HMIS 4.09 = Data not collected; survivor/advocate doesn't know) and DK (HMIS 4.09 = Client doesn't know; survivor explicitly says they don't know) values under the standard workspace UNK sentinel."
33
+ },
34
+ {
35
+ "code": "974-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "974-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value intentionally withheld or redacted. Maps the prototype PNA (HMIS 4.09 = Client prefers not to answer; survivor explicitly declines to answer) under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "974-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "974-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "Not collected during this interaction. No attempt was made to collect the value; system-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "974-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Mental health condition or concern present. Triggers severity follow-up via core_severity_follow_up CVC captured in p.demographics.mental_health_severity. Per HMIS 4.09 guidance: range from situational to serious mental illness. YES (any severity) fires the risk indicator history_of_mental_health_issues, and YES + severity=YES contributes to the HMIS 3.08 Disabling Condition rollup per HMIS 4.09 guidance. (YAML code YES; HMIS 4.09 = Yes.)"
60
+ },
61
+ {
62
+ "code": "974-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "No mental health condition reported. Does not contribute to the HMIS 3.08 Disabling Condition rollup. (YAML code NO; HMIS 4.09 = No.)"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,134 @@
1
+ {
2
+ "domain": "program_enrollment_change_type",
3
+ "name": "Program Enrollment Change Type",
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_program_enrollment_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Generalized lifecycle CAR-verb vocabulary for the status transitions of HTI program-enrollment and federal-protection legal-action records.",
6
+ "_source": "prototype/data/cvcs/core_program_enrollment_change_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Record lifecycle verb"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "978-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
+ "978-000-000-000-000-000-001",
20
+ "978-000-000-000-000-000-002",
21
+ "978-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet; the prototype YAML enumerates only level-1 canonical lifecycle verbs, so the triplet is added per SOT convention."
24
+ },
25
+ {
26
+ "code": "978-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "978-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Enrollment change type is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "978-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "978-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "978-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "978-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "Not collected during this interaction. System-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "978-001-000-000-000-000-000",
54
+ "key": "program_enrollment_drafted",
55
+ "title": "Program enrollment drafted",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Advocate creates the record in `applied` status (typically from `NEEDS-IMM-TVAP-1` Yes or analogous demand answer for non-TVAP programs). Status transition → APPLIED. Permission gate per § 4.3.5 — `case_nav` user role."
60
+ },
61
+ {
62
+ "code": "978-002-000-000-000-000-000",
63
+ "key": "program_enrollment_submitted",
64
+ "title": "Program enrollment submitted",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Supervisor submits the record to the external administering entity (USCRI for TVAP; USCIS for federal-protection legal actions; analogous for other programs). Status transition APPLIED → PENDING. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — review sub-action)."
69
+ },
70
+ {
71
+ "code": "978-003-000-000-000-000-000",
72
+ "key": "program_enrollment_approved",
73
+ "title": "Program enrollment approved",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "External administering entity returns approval. Captures program-specific identifiers at this transition — USCRI # + USCIS Alien Number for TVAP; analogous identifiers for other programs. Status transition PENDING → APPROVED. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — approval-record sub-action)."
78
+ },
79
+ {
80
+ "code": "978-004-000-000-000-000-000",
81
+ "key": "program_enrollment_activated",
82
+ "title": "Program enrollment activated",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Survivor's program-funded services begin. Status transition APPROVED → ACTIVE. Permission gate per § 4.3.5 — `case_nav` user role."
87
+ },
88
+ {
89
+ "code": "978-005-000-000-000-000-000",
90
+ "key": "program_enrollment_denied",
91
+ "title": "Program enrollment denied",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "External administering entity returns denial. Status transition PENDING → DENIED. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — approval-record sub-action)."
96
+ },
97
+ {
98
+ "code": "978-006-000-000-000-000-000",
99
+ "key": "program_enrollment_closed",
100
+ "title": "Program enrollment closed",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Active enrollment ends — client transfers / leaves program / case closure. Status transition ACTIVE → CLOSED. Carries closure_reason from `core_exit_reasons` CVC (canonical v2.2 — the May 7 `core_program_enrollment_closure_reason` was retired May 14 in favor of unified `core_exit_reasons.yaml`). Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — discontinuation-authorize sub-action)."
105
+ },
106
+ {
107
+ "code": "978-007-000-000-000-000-000",
108
+ "key": "program_enrollment_expired",
109
+ "title": "Program enrollment expired",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Active enrollment lapses without renewal (recertification deadline missed). Status transition ACTIVE → EXPIRED. Permission gate per § 4.3.5 — `case_nav` user role (recertification reminder workflow)."
114
+ },
115
+ {
116
+ "code": "978-008-000-000-000-000-000",
117
+ "key": "program_enrollment_restored",
118
+ "title": "Program enrollment restored",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Re-activated after closure / expiration (rare; possible). Status transition CLOSED/EXPIRED → ACTIVE. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function."
123
+ },
124
+ {
125
+ "code": "978-009-000-000-000-000-000",
126
+ "key": "program_prior_history_captured",
127
+ "title": "Program prior history captured",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Advocate records prior-agency enrollment (the survivor was previously enrolled in TVAP at another agency before transferring to current agency). Distinct from current-agency enrollment lifecycle. No status transition (historical record). Permission gate per § 4.3.5 — `case_nav` user role."
132
+ }
133
+ ]
134
+ }