@htilabs/platform-common-models 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/constants/index.cjs +72 -7
  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 +71 -7
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +10956 -10
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +12748 -554
  10. package/dist/cvcs/index.d.ts +12748 -554
  11. package/dist/cvcs/index.js +10885 -9
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +12357 -19
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +1615 -8
  16. package/dist/index.d.ts +1615 -8
  17. package/dist/index.js +12216 -19
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-CjC57132.d.cts → platform-auth-7dL99tZh.d.cts} +18 -2
  20. package/dist/{platform-auth-CjC57132.d.ts → platform-auth-7dL99tZh.d.ts} +18 -2
  21. package/dist/schemas/index.cjs +63 -7
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +63 -7
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/types/index.d.cts +2 -2
  26. package/dist/types/index.d.ts +2 -2
  27. package/package.json +2 -2
  28. package/src/__tests__/__snapshots__/cvc-sot.snap +283 -3
  29. package/src/__tests__/cvc-sot-snapshot.test.ts +93 -2
  30. package/src/__tests__/cvc-structural.test.ts +72 -0
  31. package/src/constants/ic.ts +158 -3
  32. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  33. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  34. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  35. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  36. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  37. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  38. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  39. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  40. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  41. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  42. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  43. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  44. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  45. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  46. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  47. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  48. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  49. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  50. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  51. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  52. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  53. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  54. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  55. package/src/cvcs/funder.v1.0.0.json +125 -0
  56. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  57. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  58. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  59. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  60. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  61. package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
  62. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  63. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  64. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  65. package/src/cvcs/htType.v1.0.0.json +78 -0
  66. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  67. package/src/cvcs/index.ts +140 -0
  68. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  69. package/src/cvcs/languages.v1.0.0.json +1924 -0
  70. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  71. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  72. package/src/cvcs/livingSituation.v1.0.0.json +213 -0
  73. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  74. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  75. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  76. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  77. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  78. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  79. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  80. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  81. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  82. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  83. package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
  84. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  85. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  86. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  87. package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
  88. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  89. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  90. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  91. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  92. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  93. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  94. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  95. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  96. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  97. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  98. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  99. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  100. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  101. package/src/cvcs/threadType.v1.0.0.json +98 -0
  102. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  103. package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
  104. package/src/cvcs/visaType.v1.0.0.json +378 -0
  105. package/src/generated/cvc-enums.ts +1752 -5
@@ -0,0 +1,170 @@
1
+ {
2
+ "domain": "milestone_type",
3
+ "name": "Milestone 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_milestone_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: the source YAML is single_select at the value level but each entry carries a rich per-entry writeback contract (one of three shapes — scalar demographics writeback, sub-log addEntry writeback, or service-instance writeback — or null for celebration-only); that writeback contract is summarized in each entry's definition but is NOT represented in this flat controlled-vocabulary shape. The L1 goal-category cross-reference is likewise carried in the definition, not as a structural field.",
6
+ "_source": "prototype/data/cvcs/core_milestone_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Milestone type (canonical positive event)"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "936-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
+ "936-000-000-000-000-000-001",
20
+ "936-000-000-000-000-000-002",
21
+ "936-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). Added per the temporary-author convention; the source YAML declares no L0 sentinels (milestones are positive events by construction) so these are provisional missingness anchors only."
24
+ },
25
+ {
26
+ "code": "936-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "936-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Milestone type is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "936-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "936-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Milestone type is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "936-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "936-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "936-001-000-000-000-000-000",
54
+ "key": "edu_grade_complete",
55
+ "title": "EDU: Class / Year Grade Complete",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Survivor completed a grade level (class/year complete) prior to high school graduation. Category INFORMAL_EDUCATION_LIFE_SKILLS. Writeback (Shape 1, maps directly, silent): p.demographics.highest_education_level_completed = LT_HS. Spring code 'EDU: (C/Y) Grade Complete'."
60
+ },
61
+ {
62
+ "code": "936-002-000-000-000-000-000",
63
+ "key": "edu_ged_hs_diploma",
64
+ "title": "EDU: GED / HS Diploma",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Survivor earned a GED or high school diploma. Category INFORMAL_EDUCATION_LIFE_SKILLS. Writeback (Shape 1, maps directly, silent): p.demographics.highest_education_level_completed = HS. Spring code 'EDU: GED/HS Diploma'."
69
+ },
70
+ {
71
+ "code": "936-003-000-000-000-000-000",
72
+ "key": "edu_higher_ed_degree",
73
+ "title": "EDU: Higher Ed Degree",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Survivor earned a college degree. Category INFORMAL_EDUCATION_LIFE_SKILLS. Writeback (Shape 1, logic needed, advocate confirms): p.demographics.highest_education_level_completed candidates [BA, GRAD] via inline confirmation step. Spring code 'EDU: Higher Ed Degree'."
78
+ },
79
+ {
80
+ "code": "936-004-000-000-000-000-000",
81
+ "key": "edu_trade_school_degree",
82
+ "title": "EDU: Trade School Degree",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Survivor completed trade school. Category INFORMAL_EDUCATION_LIFE_SKILLS. Writeback (Shape 1, logic needed, advocate confirms): p.demographics.highest_education_level_completed candidates [AA, TRADE]; trade school may or may not equate to an associate's degree. Spring code 'EDU: Trade School Degree'."
87
+ },
88
+ {
89
+ "code": "936-005-000-000-000-000-000",
90
+ "key": "obtained_employment",
91
+ "title": "Obtained Employment",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Survivor secured a job. Category FINANCIAL_AND_EMPLOYMENT. Writeback (Shape 1, maps directly, silent): p.demographics.employment_status = EMP. Spring code 'Obtained Employment'."
96
+ },
97
+ {
98
+ "code": "936-006-000-000-000-000-000",
99
+ "key": "received_housing_offer",
100
+ "title": "Received Housing Offer",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Survivor was offered housing. Category HOUSING. Writeback (Shape 2, sub-log addEntry, logic needed): if advocate confirms move-in, dispatch HTI_LIVING_SITUATIONS_API.addEntry with code_candidates [OWN_RENT, TEMP_HOUSING_PROGRAM, OTHER], status current, source milestone_writeback; otherwise celebrates the offer without changing residence state. Spring code 'Received Housing Offer'."
105
+ },
106
+ {
107
+ "code": "936-007-000-000-000-000-000",
108
+ "key": "recovery_anniversary",
109
+ "title": "Recovery Anniversary",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Survivor reached a sobriety anniversary. Category HEALTHCARE. Writeback null (celebration-only) — canonical field p.demographics.previous_substance_abuse_disorder_status does not yet exist; Phase 2.5 follow-up restores the logic-needed contract once Crysta authors the field. Spring code 'Recovery Anniversary'."
114
+ },
115
+ {
116
+ "code": "936-008-000-000-000-000-000",
117
+ "key": "parenting_class_completed",
118
+ "title": "Parenting Class Completed",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Survivor completed a parenting class. Category DEPENDENTS. Writeback (Shape 3, service instance, logic needed): service_instance_path ['Social Support & Community Engagement Services', 'Dependents', 'Parenting Education & Family Skill-Building'], service_instance_code VSCAT-36, state provided. Spring code 'Parenting Class Completed'."
123
+ },
124
+ {
125
+ "code": "936-009-000-000-000-000-000",
126
+ "key": "opened_bank_account",
127
+ "title": "Opened Bank Account",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Survivor opened a bank account. Category FINANCIAL_AND_EMPLOYMENT. Writeback null (celebration-only) — canonical has_bank_account field intentionally NOT authored per Crysta Q14 (gap accepted; not a HUD-required UDE). Spring code 'Opened Bank Account'."
132
+ },
133
+ {
134
+ "code": "936-010-000-000-000-000-000",
135
+ "key": "baptism",
136
+ "title": "Baptism",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "Survivor was baptized. Category SOCIAL_SUPPORT_COMMUNITY_ENGAGEMENT. Writeback null (celebration-only) — faith celebrations fold under Social Support & Community Engagement per Crysta Q3; no semantic data implication. Spring code 'Baptism'."
141
+ },
142
+ {
143
+ "code": "936-011-000-000-000-000-000",
144
+ "key": "spiritual_decision",
145
+ "title": "Spiritual Decision",
146
+ "selectable": true,
147
+ "parentCode": null,
148
+ "childCodes": [],
149
+ "definition": "Survivor made a spiritual commitment / decision. Category SOCIAL_SUPPORT_COMMUNITY_ENGAGEMENT. Writeback null (celebration-only) per Crysta Q3. Spring code 'Spiritual Decision'."
150
+ },
151
+ {
152
+ "code": "936-012-000-000-000-000-000",
153
+ "key": "baby_child_youth_dedication",
154
+ "title": "Baby / Child / Youth Dedication",
155
+ "selectable": true,
156
+ "parentCode": null,
157
+ "childCodes": [],
158
+ "definition": "Faith-tradition ceremony dedicating a baby, child, or youth. Category SOCIAL_SUPPORT_COMMUNITY_ENGAGEMENT. Writeback null (celebration-only) per Crysta Q13. Spring code 'Baby/Child/Youth Dedic.'."
159
+ },
160
+ {
161
+ "code": "936-013-000-000-000-000-000",
162
+ "key": "other",
163
+ "title": "Other Milestone",
164
+ "selectable": true,
165
+ "parentCode": null,
166
+ "childCodes": [],
167
+ "definition": "Other milestone type not captured by canonical entries. Category OTHER_SERVICES. Writeback null (pure celebration unless paired with an explicit linked_goal_id for goal-completion linkage). Pairs with a required description free-text."
168
+ }
169
+ ]
170
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "needs_residential_again",
3
+ "name": "Needs Residential Again",
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_needs_residential_again.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_needs_residential_again.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Anticipated future residential need"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "937-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
+ "937-000-000-000-000-000-001",
20
+ "937-000-000-000-000-000-002",
21
+ "937-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 source YAML's L0 sentinel UNK ('Not asked or no answer captured') maps to the unknown child here. Distinct from the substantive MAYBE value (advocate-assessed uncertainty), which is a selectable level-1 entry."
24
+ },
25
+ {
26
+ "code": "937-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "937-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Not asked or no answer captured. Canonical missingness sentinel. Maps from source YAML L0 code UNK. Distinct from MAYBE (survivor uncertain about future residential need)."
33
+ },
34
+ {
35
+ "code": "937-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "937-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": "937-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "937-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "937-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Survivor anticipates needing residential program assistance again in the near future. Captures self-determination per OAC 75:30-3-1(c)."
60
+ },
61
+ {
62
+ "code": "937-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Survivor does not anticipate needing residential program assistance again. Canonical positive outcome signal for canonical reporting."
69
+ },
70
+ {
71
+ "code": "937-003-000-000-000-000-000",
72
+ "key": "maybe",
73
+ "title": "Maybe",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Survivor uncertain about future residential need. Distinct from canonical UNK (not asked). Canonical exit-planning signal for advocates to set up Phase D Step 5 admin_review_required_details follow-up context."
78
+ }
79
+ ]
80
+ }
@@ -247,8 +247,8 @@
247
247
  },
248
248
  {
249
249
  "code": "126-003-002-000-000-000-000",
250
- "key": "emergency_contact_support_person",
251
- "title": "Emergency Contact / Support Person",
250
+ "key": "support_person",
251
+ "title": "Support Person",
252
252
  "selectable": true,
253
253
  "parentCode": "126-003-000-000-000-000-000",
254
254
  "childCodes": [
@@ -259,8 +259,8 @@
259
259
  },
260
260
  {
261
261
  "code": "126-003-002-001-000-000-000",
262
- "key": "emergency_contact_of",
263
- "title": "Emergency contact / support person",
262
+ "key": "support_person_of",
263
+ "title": "Support person",
264
264
  "selectable": true,
265
265
  "parentCode": "126-003-002-000-000-000-000",
266
266
  "childCodes": [],
@@ -268,8 +268,8 @@
268
268
  },
269
269
  {
270
270
  "code": "126-003-002-002-000-000-000",
271
- "key": "has_emergency_contact",
272
- "title": "Has emergency contact",
271
+ "key": "has_support_person",
272
+ "title": "Has support person",
273
273
  "selectable": true,
274
274
  "parentCode": "126-003-002-000-000-000-000",
275
275
  "childCodes": [],
@@ -0,0 +1,107 @@
1
+ {
2
+ "domain": "pet_exit_reason",
3
+ "name": "Core Pet Exit Reason",
4
+ "version": "1.0.0",
5
+ "_source": "prototype/data/cvcs/core_pet_exit_reason.yaml (Final-CVC-derived), CVC-222",
6
+ "_status": "DRAFT — Notion page is Not-started/empty; codes from prototype pending Notion-sub-DB ratification",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Pet exit reason"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "222-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
+ "222-000-000-000-000-000-001",
20
+ "222-000-000-000-000-000-002",
21
+ "222-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). Absorbs the prototype YAML's UNKNOWN missingness sentinel — an explicit 'we exited the program but don't know why', distinct from no-selection — under the unknown child."
24
+ },
25
+ {
26
+ "code": "222-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "222-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The pet exited the program but the reason is unknown. Per the prototype, picking UNKNOWN is an explicit 'we exited the program but don't know why' versus 'the user didn't fill this in yet' (no-selection). Maps the prototype UNKNOWN sentinel."
33
+ },
34
+ {
35
+ "code": "222-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "222-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": "222-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "222-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "222-001-000-000-000-000-000",
54
+ "key": "permanent_placement",
55
+ "title": "Permanent placement (e.g. survivor moves to long-term housing with pet)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "The pet exited the program because the survivor secured stable housing where the pet can stay. Most-positive outcome. Future Spring-aligned codebook may sub-divide by destination type (survivor's own housing vs. friend/family vs. permanent supportive housing)."
60
+ },
61
+ {
62
+ "code": "222-002-000-000-000-000-000",
63
+ "key": "survivor_exit",
64
+ "title": "Survivor exited the program",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "The survivor chose to leave the program (returning to the abuser, transferring to another agency, etc.); the pet exits with them. Distinct from permanent_placement in that the destination is not necessarily stable."
69
+ },
70
+ {
71
+ "code": "222-003-000-000-000-000-000",
72
+ "key": "alternative_care",
73
+ "title": "Alternative care arrangement (family / friend / partner agency)",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "The pet was placed elsewhere — a family member, friend, partner agency, or animal welfare org took over care while the survivor remains in program. Captures the 'Call Partner Agency / Sand Springs Animal Welfare' path on UDD-45 §III."
78
+ },
79
+ {
80
+ "code": "222-004-000-000-000-000-000",
81
+ "key": "behavioral_incident",
82
+ "title": "Behavioral incident (pet)",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "The pet exited due to a behavioral concern (aggression, property damage, incompatibility with other residents/pets). Sensitive: should pair with the Pet Discharge Summary free-text for context."
87
+ },
88
+ {
89
+ "code": "222-005-000-000-000-000-000",
90
+ "key": "health_issue",
91
+ "title": "Health issue (pet)",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "The pet exited due to a medical or health-related concern. Includes both temporary (pet hospitalized) and permanent (pet euthanized / passed away) outcomes; the Pet Discharge Summary free-text captures specifics."
96
+ },
97
+ {
98
+ "code": "222-006-000-000-000-000-000",
99
+ "key": "other",
100
+ "title": "Other (specify)",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Escape hatch for scenarios not covered by the canonical codes. Selecting this reveals an exit_reason_other_text free-text input on the modal. Future Spring-aligned codebook revisions should sweep accumulated OTHER text and promote common patterns to dedicated codes."
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "pet_relationship_basis",
3
+ "name": "Pet Relationship Basis",
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_pet_relationship_basis.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_pet_relationship_basis.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Companion basis"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "938-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
+ "938-000-000-000-000-000-001",
20
+ "938-000-000-000-000-000-002",
21
+ "938-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 source YAML's UNKNOWN entry ('we asked and the survivor didn't know') maps to the unknown child here. This is a multi-select CVC; the substantive companion-basis codes are co-selectable (a pet can be both a household pet and a service animal)."
24
+ },
25
+ {
26
+ "code": "938-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "938-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Missingness sentinel per the source YAML. Renders rightmost in chip groups per GDR § 6.5.7. An explicit 'we asked and the survivor didn't know' — distinct from absence-of-selection (we didn't ask). Maps from source YAML code UNKNOWN."
33
+ },
34
+ {
35
+ "code": "938-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "938-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Companion basis is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "938-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "938-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "938-001-000-000-000-000-000",
54
+ "key": "household_pet",
55
+ "title": "Household pet",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Default pets-of-the-household role: not a service animal, not a foster, not a commercial-care arrangement. The most common case. Multi-select compatible with service_animal or fostered when the pet has been a foster who's stayed on, or a household pet who also performs service tasks."
60
+ },
61
+ {
62
+ "code": "938-002-000-000-000-000-000",
63
+ "key": "service_animal",
64
+ "title": "Service animal",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Trained or in-training to perform tasks for a person with a disability per ADA / equivalent statute. Carries operational implications for housing access (no-pet-policy exemptions), shelter/program access, and protection-order considerations. Co-selectable with household_pet when applicable."
69
+ },
70
+ {
71
+ "code": "938-003-000-000-000-000-000",
72
+ "key": "fostered",
73
+ "title": "Fostered pet",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Temporary care arrangement; the survivor is providing care but ownership lives elsewhere (rescue, foster network, friend's pet pending placement). Distinct from the CAREGIVER role on the relationship row: FOSTERED is about the pet's program status; CAREGIVER vs OWNER is about the person's legal/social tie."
78
+ }
79
+ ]
80
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "domain": "program_specific_code",
3
+ "name": "Program Specific Code",
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_specific_code.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: the source YAML carries per-entry service_category_code / service_category_vscat auto-derivation and a program_specific_identifiers bag (e.g. TVAP → uscri_number + uscis_alien_number); those are summarized in each entry's definition but are NOT represented as structural fields in this flat controlled-vocabulary shape.",
6
+ "_source": "prototype/data/cvcs/core_program_specific_code.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Specific named program"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "940-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
+ "940-000-000-000-000-000-001",
20
+ "940-000-000-000-000-000-002",
21
+ "940-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Maps the source YAML's L0 triplet: UNK → unknown, ANON → anonymous, DNC → data_not_collected. The CVC itself is an OPTIONAL single-select on each enrollment row (null = untagged generic program enrollment)."
24
+ },
25
+ {
26
+ "code": "940-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "940-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Specific program identity not currently known. Maps from source YAML L0 code UNK."
33
+ },
34
+ {
35
+ "code": "940-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "940-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Subject explicitly declined to provide specific program identification. Maps from source YAML L0 code ANON under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "940-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "940-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "System-derived sentinel — the field has not yet been asked. Maps from source YAML L0 code DNC."
51
+ },
52
+ {
53
+ "code": "940-001-000-000-000-000-000",
54
+ "key": "tvap",
55
+ "title": "TVAP (Trafficking Victims Assistance Program)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "USCRI-administered federal grant program providing per-victim funding to certified VSP sub-grantees for direct services to foreign-national trafficking victims. Auto-derives service_category_code 01-10 / VSCAT-194 (Case Coordination → Intake → Screening → TVAP). Carries a TVAP-specific identifier bag — uscri_number + uscis_alien_number."
60
+ },
61
+ {
62
+ "code": "940-002-000-000-000-000-000",
63
+ "key": "t_visa_legal_aid_program",
64
+ "title": "T-Visa Legal Aid Program",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing T-Visa applications. Auto-derives service_category_code 01-05 / VSCAT-113 (Legal Services → Immigration Relief). Distinct from the T-Visa application itself (which lives on HTI_LEGAL_ACTIONS[] with legal_action_type T_VISA)."
69
+ },
70
+ {
71
+ "code": "940-003-000-000-000-000-000",
72
+ "key": "u_visa_legal_aid_program",
73
+ "title": "U-Visa Legal Aid Program",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing U-Visa applications. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the U-Visa application itself."
78
+ },
79
+ {
80
+ "code": "940-004-000-000-000-000-000",
81
+ "key": "vawa_legal_aid_program",
82
+ "title": "VAWA Legal Aid Program",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing VAWA self-petitions. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the VAWA self-petition itself."
87
+ },
88
+ {
89
+ "code": "940-005-000-000-000-000-000",
90
+ "key": "asylum_legal_aid_program",
91
+ "title": "Asylum Legal Aid Program",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Agency-side legal-aid program enrollment for survivors pursuing asylum applications. Auto-derives service_category_code 01-05 / VSCAT-113. Distinct from the asylum application itself."
96
+ },
97
+ {
98
+ "code": "940-006-000-000-000-000-000",
99
+ "key": "sij_legal_aid_program",
100
+ "title": "SIJ Legal Aid Program",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Agency-side legal-aid program enrollment for minor survivors pursuing Special Immigrant Juvenile classification. Auto-derives service_category_code 01-05 / VSCAT-113."
105
+ },
106
+ {
107
+ "code": "940-007-000-000-000-000-000",
108
+ "key": "immigration_relief_program_other",
109
+ "title": "Other immigration-relief legal aid program",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Catch-all for immigration-relief legal aid programs not listed above (humanitarian parole representation / Cancellation of Removal / Adjustment of Status / etc.). Auto-derives service_category_code 01-05 / VSCAT-113. Pairs with a free-text 'specify' input on the program-enrollment record."
114
+ },
115
+ {
116
+ "code": "940-008-000-000-000-000-000",
117
+ "key": "other",
118
+ "title": "Other program",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Catch-all for non-immigration program enrollments (RHY / OVC grants / VOCA / FVPSA / OVW / HUD CoC / state programs / agency-internal programs / etc.). No service-category auto-derivation (advocate sets manually). Pairs with a free-text 'specify' input (program_specific_identifiers.other_text)."
123
+ }
124
+ ]
125
+ }