@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.
- package/dist/constants/index.cjs +404 -0
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +402 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +903 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +2527 -1519
- package/dist/cvcs/index.d.ts +2527 -1519
- package/dist/cvcs/index.js +896 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +1422 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +146 -4
- package/dist/index.d.ts +146 -4
- package/dist/index.js +1406 -1
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-BdnJUisw.d.cts → platform-auth-BSKYSDKe.d.cts} +4 -1
- package/dist/{platform-auth-BdnJUisw.d.ts → platform-auth-BSKYSDKe.d.ts} +4 -1
- package/dist/schemas/index.cjs.map +1 -1
- 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 +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +30 -2
- package/src/__tests__/cvc-sot-snapshot.test.ts +9 -1
- package/src/constants/ic.ts +414 -0
- package/src/cvcs/assertionDomain.v1.0.0.json +18 -0
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- package/src/cvcs/index.ts +14 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +161 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/generated/cvc-enums.ts +157 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "romantic_relationship_change_type",
|
|
3
|
+
"name": "Romantic Relationship 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_romantic_relationship_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Verb codebook for CAR/StatusLog rows emitted by the Romantic Relationships sub-section of Core Profile (marital-status + relationship-status snapshots and the romantic-partners sub-log lifecycle).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_romantic_relationship_change_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Romantic relationship change type"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "979-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
|
+
"979-000-000-000-000-000-001",
|
|
20
|
+
"979-000-000-000-000-000-002",
|
|
21
|
+
"979-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 substantive change-type verbs, so the triplet is added per SOT convention."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "979-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "979-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Romantic relationship change type is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "979-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "979-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value intentionally withheld or redacted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "979-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "979-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "Not collected during this interaction."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "979-001-000-000-000-000-000",
|
|
54
|
+
"key": "romantic_partner_added",
|
|
55
|
+
"title": "Romantic partner added",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Emitted on save of a new partner row. Fires even when `subject_id` is silently reused via Q8.6 same-person merge — the verb describes the relationship row, not the person record."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "979-002-000-000-000-000-000",
|
|
63
|
+
"key": "romantic_partner_updated",
|
|
64
|
+
"title": "Romantic partner updated",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Edit of an existing partner row's identity, contact, or `is_current_spouse` flag. Ties and dynamics deltas use the dedicated verbs below."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "979-003-000-000-000-000-000",
|
|
72
|
+
"key": "romantic_partner_archived",
|
|
73
|
+
"title": "Romantic partner archived",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Romantic partner archived."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "979-004-000-000-000-000-000",
|
|
81
|
+
"key": "romantic_partner_restored",
|
|
82
|
+
"title": "Romantic partner restored from archive",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Romantic partner restored from archive."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "979-005-000-000-000-000-000",
|
|
90
|
+
"key": "romantic_partner_ties_changed",
|
|
91
|
+
"title": "Romantic partner — ties changed",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "DELTA-STYLE — one row per add/remove. `assertion_value_code` carries the L2 tie code from `core - relationship ties` (CVC-158)."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "979-006-000-000-000-000-000",
|
|
99
|
+
"key": "romantic_partner_dynamics_changed",
|
|
100
|
+
"title": "Romantic partner — dynamics changed",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "DELTA-STYLE — one row per add/remove. `assertion_value_code` carries the L1 dynamics code from `core - relationship_dynamics` (CVC-145, vocab_status=draft)."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "979-007-000-000-000-000-000",
|
|
108
|
+
"key": "marital_status_set",
|
|
109
|
+
"title": "Marital status set",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "First-time capture (transition from null / DNC → an L1 code)."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "979-008-000-000-000-000-000",
|
|
117
|
+
"key": "marital_status_changed",
|
|
118
|
+
"title": "Marital status changed",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Subsequent change (L1 → L1, e.g. married → divorced). Per Q8.3 sign-off, partner rows flagged `is_current_spouse: true` are NOT auto-flipped on this verb — the partner row surfaces a soft-warning chip instead."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "979-009-000-000-000-000-000",
|
|
126
|
+
"key": "marital_status_declined",
|
|
127
|
+
"title": "Marital status — declined to answer",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Per Q8.5 sign-off, sub-section-level Decline-to-answer toggle emits this verb (one row) with `assertion_value_code: ANON`. Restore-from-decline re-emits `MARITAL_STATUS_SET` on next answer."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"code": "979-010-000-000-000-000-000",
|
|
135
|
+
"key": "relationship_status_set",
|
|
136
|
+
"title": "Current relationship status set",
|
|
137
|
+
"selectable": true,
|
|
138
|
+
"parentCode": null,
|
|
139
|
+
"childCodes": [],
|
|
140
|
+
"definition": "First-time capture (Y/N/U pill row first answer)."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"code": "979-011-000-000-000-000-000",
|
|
144
|
+
"key": "relationship_status_changed",
|
|
145
|
+
"title": "Current relationship status changed",
|
|
146
|
+
"selectable": true,
|
|
147
|
+
"parentCode": null,
|
|
148
|
+
"childCodes": [],
|
|
149
|
+
"definition": "Subsequent flip between `partnered` ↔ `not_partnered` ↔ `UNK`."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"code": "979-012-000-000-000-000-000",
|
|
153
|
+
"key": "relationship_status_declined",
|
|
154
|
+
"title": "Current relationship status — declined to answer",
|
|
155
|
+
"selectable": true,
|
|
156
|
+
"parentCode": null,
|
|
157
|
+
"childCodes": [],
|
|
158
|
+
"definition": "Per Q8.5 sign-off, sub-section-level Decline-to-answer toggle emits this verb (one row) with `assertion_value_code: ANON`. Restore-from-decline re-emits `RELATIONSHIP_STATUS_SET` on next answer."
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "special_needs_disabilities",
|
|
3
|
+
"name": "Special Needs / Disabilities",
|
|
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_special_needs_disabilities.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Per-child multi-select special-needs / disabilities categories mirroring Spring's residential / non-residential child intake checkbox set (a child may carry multiple categories).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_special_needs_disabilities.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Special need / disability category"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "972-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
|
+
"972-000-000-000-000-000-001",
|
|
20
|
+
"972-000-000-000-000-000-002",
|
|
21
|
+
"972-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 substantive level-1 category values, so the triplet is added per SOT convention. Distinct from the substantive 'Unknown but exists' category, which positively asserts a special need whose category is unspecified."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "972-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "972-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Whether the child has any special need / disability is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "972-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "972-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": "972-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "972-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": "972-001-000-000-000-000-000",
|
|
54
|
+
"key": "mental_illness",
|
|
55
|
+
"title": "Mental illness",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Spring intake category. Captures diagnosed mental-health conditions (anxiety, depression, PTSD, bipolar, etc.). Distinct from cognitive/developmental — the latter covers IQ / autism-spectrum / developmental delays."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "972-002-000-000-000-000-000",
|
|
63
|
+
"key": "cognitive_developmental",
|
|
64
|
+
"title": "Cognitive / developmental disability",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Spring intake category. Covers autism-spectrum, Down syndrome, intellectual disability, learning disabilities, developmental delays. Distinct from mental illness."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "972-003-000-000-000-000-000",
|
|
72
|
+
"key": "physical_disability",
|
|
73
|
+
"title": "Physical disability",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Spring intake category. Mobility impairments, limb differences, fine-motor / gross-motor limitations. Pairs with the disability-accommodations free-text on the entry for descriptive detail."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "972-004-000-000-000-000-000",
|
|
81
|
+
"key": "deaf_hard_of_hearing",
|
|
82
|
+
"title": "Deaf / hard of hearing",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Spring intake category. Surfaces the need for communication accommodations (ASL interpreter, TTY, captioning, written intake). May intersect with school/daycare accommodations."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "972-005-000-000-000-000-000",
|
|
90
|
+
"key": "chronic_health_condition",
|
|
91
|
+
"title": "Chronic health condition",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Spring intake category. Diabetes, asthma, epilepsy, cardiac conditions, autoimmune disorders, etc. Pairs with the medication-needs Y/N + immediate-health-needs free-text on the entry."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "972-006-000-000-000-000-000",
|
|
99
|
+
"key": "hiv_aids",
|
|
100
|
+
"title": "HIV / AIDS",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Spring intake category. Listed separately per Spring's intake form's verbatim categories. Privacy-sensitive: discretion-level on parent's emergency contacts may be relevant."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "972-007-000-000-000-000-000",
|
|
108
|
+
"key": "alcohol_abuse",
|
|
109
|
+
"title": "Alcohol use / abuse",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Spring intake category. Captured at the child level when the child themselves has alcohol use concerns (rare but real for older children / teens). Distinct from the abuser's substance use, which lives on the AP drawer."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "972-008-000-000-000-000-000",
|
|
117
|
+
"key": "drug_use_abuse",
|
|
118
|
+
"title": "Drug use / abuse",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Spring intake category. Same scope as ALCOHOL_ABUSE — concerns about the child's own drug use, not the abuser's. For teens / older children. Pairs with substance-use signal on Behavioral Concerns."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "972-009-000-000-000-000-000",
|
|
126
|
+
"key": "unknown_but_exists",
|
|
127
|
+
"title": "Unknown but exists",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Spring intake category. Useful when the survivor knows the child has a special need / disability but can't or won't specify the category. Preserves the signal without forcing a guess."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"code": "972-010-000-000-000-000-000",
|
|
135
|
+
"key": "other",
|
|
136
|
+
"title": "Other (specify)",
|
|
137
|
+
"selectable": true,
|
|
138
|
+
"parentCode": null,
|
|
139
|
+
"childCodes": [],
|
|
140
|
+
"definition": "Spring intake category. Free-text refinement captured on state.attributes.child_special_needs_other_text. Future polish: surface most-frequently-typed values back as suggested codes for canonical promotion."
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
@@ -3515,7 +3515,7 @@ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
|
3515
3515
|
/**
|
|
3516
3516
|
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3517
3517
|
*
|
|
3518
|
-
* Domain: `assertion_domain` · Version: 1.0.0 · Entries:
|
|
3518
|
+
* Domain: `assertion_domain` · Version: 1.0.0 · Entries: 70
|
|
3519
3519
|
*/
|
|
3520
3520
|
export const AssertionDomainKeys = {
|
|
3521
3521
|
missingness_root: "964-000-000-000-000-000-000",
|
|
@@ -3586,6 +3586,8 @@ export const AssertionDomainKeys = {
|
|
|
3586
3586
|
facilitator_role: "964-062-000-000-000-000-000",
|
|
3587
3587
|
facilitator_subrole: "964-063-000-000-000-000-000",
|
|
3588
3588
|
facilitator_entity_type: "964-064-000-000-000-000-000",
|
|
3589
|
+
child_profile: "964-065-000-000-000-000-000",
|
|
3590
|
+
romantic_relationship: "964-066-000-000-000-000-000",
|
|
3589
3591
|
} as const;
|
|
3590
3592
|
|
|
3591
3593
|
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
@@ -3726,3 +3728,157 @@ export const SessionNoteVisibilityKeys = {
|
|
|
3726
3728
|
} as const;
|
|
3727
3729
|
|
|
3728
3730
|
export type SessionNoteVisibilityKey = keyof typeof SessionNoteVisibilityKeys;
|
|
3731
|
+
|
|
3732
|
+
/**
|
|
3733
|
+
* Key → positional code map for the `special_needs_disabilities` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3734
|
+
*
|
|
3735
|
+
* Domain: `special_needs_disabilities` · Version: 1.0.0 · Entries: 14
|
|
3736
|
+
*/
|
|
3737
|
+
export const SpecialNeedsDisabilitiesKeys = {
|
|
3738
|
+
missingness_root: "972-000-000-000-000-000-000",
|
|
3739
|
+
unknown: "972-000-000-000-000-000-001",
|
|
3740
|
+
anonymous: "972-000-000-000-000-000-002",
|
|
3741
|
+
data_not_collected: "972-000-000-000-000-000-003",
|
|
3742
|
+
mental_illness: "972-001-000-000-000-000-000",
|
|
3743
|
+
cognitive_developmental: "972-002-000-000-000-000-000",
|
|
3744
|
+
physical_disability: "972-003-000-000-000-000-000",
|
|
3745
|
+
deaf_hard_of_hearing: "972-004-000-000-000-000-000",
|
|
3746
|
+
chronic_health_condition: "972-005-000-000-000-000-000",
|
|
3747
|
+
hiv_aids: "972-006-000-000-000-000-000",
|
|
3748
|
+
alcohol_abuse: "972-007-000-000-000-000-000",
|
|
3749
|
+
drug_use_abuse: "972-008-000-000-000-000-000",
|
|
3750
|
+
unknown_but_exists: "972-009-000-000-000-000-000",
|
|
3751
|
+
other: "972-010-000-000-000-000-000",
|
|
3752
|
+
} as const;
|
|
3753
|
+
|
|
3754
|
+
export type SpecialNeedsDisabilitiesKey = keyof typeof SpecialNeedsDisabilitiesKeys;
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Key → positional code map for the `hiv_status` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3758
|
+
*
|
|
3759
|
+
* Domain: `hiv_status` · Version: 1.0.0 · Entries: 6
|
|
3760
|
+
*/
|
|
3761
|
+
export const HivStatusKeys = {
|
|
3762
|
+
missingness_root: "973-000-000-000-000-000-000",
|
|
3763
|
+
unknown: "973-000-000-000-000-000-001",
|
|
3764
|
+
anonymous: "973-000-000-000-000-000-002",
|
|
3765
|
+
data_not_collected: "973-000-000-000-000-000-003",
|
|
3766
|
+
yes: "973-001-000-000-000-000-000",
|
|
3767
|
+
no: "973-002-000-000-000-000-000",
|
|
3768
|
+
} as const;
|
|
3769
|
+
|
|
3770
|
+
export type HivStatusKey = keyof typeof HivStatusKeys;
|
|
3771
|
+
|
|
3772
|
+
/**
|
|
3773
|
+
* Key → positional code map for the `mental_health_status` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3774
|
+
*
|
|
3775
|
+
* Domain: `mental_health_status` · Version: 1.0.0 · Entries: 6
|
|
3776
|
+
*/
|
|
3777
|
+
export const MentalHealthStatusKeys = {
|
|
3778
|
+
missingness_root: "974-000-000-000-000-000-000",
|
|
3779
|
+
unknown: "974-000-000-000-000-000-001",
|
|
3780
|
+
anonymous: "974-000-000-000-000-000-002",
|
|
3781
|
+
data_not_collected: "974-000-000-000-000-000-003",
|
|
3782
|
+
yes: "974-001-000-000-000-000-000",
|
|
3783
|
+
no: "974-002-000-000-000-000-000",
|
|
3784
|
+
} as const;
|
|
3785
|
+
|
|
3786
|
+
export type MentalHealthStatusKey = keyof typeof MentalHealthStatusKeys;
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* Key → positional code map for the `child_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3790
|
+
*
|
|
3791
|
+
* Domain: `child_change_type` · Version: 1.0.0 · Entries: 15
|
|
3792
|
+
*/
|
|
3793
|
+
export const ChildChangeTypeKeys = {
|
|
3794
|
+
missingness_root: "976-000-000-000-000-000-000",
|
|
3795
|
+
unknown: "976-000-000-000-000-000-001",
|
|
3796
|
+
anonymous: "976-000-000-000-000-000-002",
|
|
3797
|
+
data_not_collected: "976-000-000-000-000-000-003",
|
|
3798
|
+
child_added: "976-001-000-000-000-000-000",
|
|
3799
|
+
child_updated: "976-002-000-000-000-000-000",
|
|
3800
|
+
child_archived: "976-003-000-000-000-000-000",
|
|
3801
|
+
child_restored: "976-004-000-000-000-000-000",
|
|
3802
|
+
child_education_updated: "976-005-000-000-000-000-000",
|
|
3803
|
+
child_health_updated: "976-006-000-000-000-000-000",
|
|
3804
|
+
child_custody_updated: "976-007-000-000-000-000-000",
|
|
3805
|
+
child_parental_rights_updated: "976-008-000-000-000-000-000",
|
|
3806
|
+
child_behavioral_concerns_updated: "976-009-000-000-000-000-000",
|
|
3807
|
+
child_household_linked: "976-010-000-000-000-000-000",
|
|
3808
|
+
child_household_unlinked: "976-011-000-000-000-000-000",
|
|
3809
|
+
} as const;
|
|
3810
|
+
|
|
3811
|
+
export type ChildChangeTypeKey = keyof typeof ChildChangeTypeKeys;
|
|
3812
|
+
|
|
3813
|
+
/**
|
|
3814
|
+
* Key → positional code map for the `immigration_legal_status_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3815
|
+
*
|
|
3816
|
+
* Domain: `immigration_legal_status_change_type` · Version: 1.0.0 · Entries: 14
|
|
3817
|
+
*/
|
|
3818
|
+
export const ImmigrationLegalStatusChangeTypeKeys = {
|
|
3819
|
+
missingness_root: "977-000-000-000-000-000-000",
|
|
3820
|
+
unknown: "977-000-000-000-000-000-001",
|
|
3821
|
+
anonymous: "977-000-000-000-000-000-002",
|
|
3822
|
+
data_not_collected: "977-000-000-000-000-000-003",
|
|
3823
|
+
immigration_legal_status_section_declined: "977-001-000-000-000-000-000",
|
|
3824
|
+
immigration_legal_status_section_recaptured: "977-002-000-000-000-000-000",
|
|
3825
|
+
immigration_visa_captured: "977-003-000-000-000-000-000",
|
|
3826
|
+
immigration_visa_updated: "977-004-000-000-000-000-000",
|
|
3827
|
+
identification_status_captured: "977-005-000-000-000-000-000",
|
|
3828
|
+
identification_status_updated: "977-006-000-000-000-000-000",
|
|
3829
|
+
le_report_status_captured: "977-007-000-000-000-000-000",
|
|
3830
|
+
le_report_status_updated: "977-008-000-000-000-000-000",
|
|
3831
|
+
trafficking_screening_captured: "977-009-000-000-000-000-000",
|
|
3832
|
+
trafficking_screening_updated: "977-010-000-000-000-000-000",
|
|
3833
|
+
} as const;
|
|
3834
|
+
|
|
3835
|
+
export type ImmigrationLegalStatusChangeTypeKey = keyof typeof ImmigrationLegalStatusChangeTypeKeys;
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* Key → positional code map for the `program_enrollment_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3839
|
+
*
|
|
3840
|
+
* Domain: `program_enrollment_change_type` · Version: 1.0.0 · Entries: 13
|
|
3841
|
+
*/
|
|
3842
|
+
export const ProgramEnrollmentChangeTypeKeys = {
|
|
3843
|
+
missingness_root: "978-000-000-000-000-000-000",
|
|
3844
|
+
unknown: "978-000-000-000-000-000-001",
|
|
3845
|
+
anonymous: "978-000-000-000-000-000-002",
|
|
3846
|
+
data_not_collected: "978-000-000-000-000-000-003",
|
|
3847
|
+
program_enrollment_drafted: "978-001-000-000-000-000-000",
|
|
3848
|
+
program_enrollment_submitted: "978-002-000-000-000-000-000",
|
|
3849
|
+
program_enrollment_approved: "978-003-000-000-000-000-000",
|
|
3850
|
+
program_enrollment_activated: "978-004-000-000-000-000-000",
|
|
3851
|
+
program_enrollment_denied: "978-005-000-000-000-000-000",
|
|
3852
|
+
program_enrollment_closed: "978-006-000-000-000-000-000",
|
|
3853
|
+
program_enrollment_expired: "978-007-000-000-000-000-000",
|
|
3854
|
+
program_enrollment_restored: "978-008-000-000-000-000-000",
|
|
3855
|
+
program_prior_history_captured: "978-009-000-000-000-000-000",
|
|
3856
|
+
} as const;
|
|
3857
|
+
|
|
3858
|
+
export type ProgramEnrollmentChangeTypeKey = keyof typeof ProgramEnrollmentChangeTypeKeys;
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* Key → positional code map for the `romantic_relationship_change_type` CVC domain (DRAFT-TEMPORARY direct import from prototype, pending Notion ratification).
|
|
3862
|
+
*
|
|
3863
|
+
* Domain: `romantic_relationship_change_type` · Version: 1.0.0 · Entries: 16
|
|
3864
|
+
*/
|
|
3865
|
+
export const RomanticRelationshipChangeTypeKeys = {
|
|
3866
|
+
missingness_root: "979-000-000-000-000-000-000",
|
|
3867
|
+
unknown: "979-000-000-000-000-000-001",
|
|
3868
|
+
anonymous: "979-000-000-000-000-000-002",
|
|
3869
|
+
data_not_collected: "979-000-000-000-000-000-003",
|
|
3870
|
+
romantic_partner_added: "979-001-000-000-000-000-000",
|
|
3871
|
+
romantic_partner_updated: "979-002-000-000-000-000-000",
|
|
3872
|
+
romantic_partner_archived: "979-003-000-000-000-000-000",
|
|
3873
|
+
romantic_partner_restored: "979-004-000-000-000-000-000",
|
|
3874
|
+
romantic_partner_ties_changed: "979-005-000-000-000-000-000",
|
|
3875
|
+
romantic_partner_dynamics_changed: "979-006-000-000-000-000-000",
|
|
3876
|
+
marital_status_set: "979-007-000-000-000-000-000",
|
|
3877
|
+
marital_status_changed: "979-008-000-000-000-000-000",
|
|
3878
|
+
marital_status_declined: "979-009-000-000-000-000-000",
|
|
3879
|
+
relationship_status_set: "979-010-000-000-000-000-000",
|
|
3880
|
+
relationship_status_changed: "979-011-000-000-000-000-000",
|
|
3881
|
+
relationship_status_declined: "979-012-000-000-000-000-000",
|
|
3882
|
+
} as const;
|
|
3883
|
+
|
|
3884
|
+
export type RomanticRelationshipChangeTypeKey = keyof typeof RomanticRelationshipChangeTypeKeys;
|