@htilabs/platform-common-models 0.9.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/config/index.cjs +85 -0
  2. package/dist/config/index.cjs.map +1 -1
  3. package/dist/config/index.d.cts +94 -4
  4. package/dist/config/index.d.ts +94 -4
  5. package/dist/config/index.js +81 -1
  6. package/dist/config/index.js.map +1 -1
  7. package/dist/constants/index.cjs +456 -181
  8. package/dist/constants/index.cjs.map +1 -1
  9. package/dist/constants/index.d.cts +1 -1
  10. package/dist/constants/index.d.ts +1 -1
  11. package/dist/constants/index.js +453 -169
  12. package/dist/constants/index.js.map +1 -1
  13. package/dist/cvcs/index.cjs +15331 -801
  14. package/dist/cvcs/index.cjs.map +1 -1
  15. package/dist/cvcs/index.d.cts +18167 -2208
  16. package/dist/cvcs/index.d.ts +18167 -2208
  17. package/dist/cvcs/index.js +15282 -801
  18. package/dist/cvcs/index.js.map +1 -1
  19. package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
  20. package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
  21. package/dist/index.cjs +17070 -1056
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +1638 -12
  24. package/dist/index.d.ts +1638 -12
  25. package/dist/index.js +16969 -1043
  26. package/dist/index.js.map +1 -1
  27. package/dist/models/index.d.cts +2 -2
  28. package/dist/models/index.d.ts +2 -2
  29. package/dist/mongo/index.cjs +384 -0
  30. package/dist/mongo/index.cjs.map +1 -0
  31. package/dist/mongo/index.d.cts +221 -0
  32. package/dist/mongo/index.d.ts +221 -0
  33. package/dist/mongo/index.js +352 -0
  34. package/dist/mongo/index.js.map +1 -0
  35. package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
  36. package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
  37. package/dist/schemas/index.cjs +25 -156
  38. package/dist/schemas/index.cjs.map +1 -1
  39. package/dist/schemas/index.d.cts +25 -25
  40. package/dist/schemas/index.d.ts +25 -25
  41. package/dist/schemas/index.js +25 -156
  42. package/dist/schemas/index.js.map +1 -1
  43. package/dist/services/index.cjs +0 -3
  44. package/dist/services/index.cjs.map +1 -1
  45. package/dist/services/index.js +0 -3
  46. package/dist/services/index.js.map +1 -1
  47. package/dist/types/index.d.cts +2 -2
  48. package/dist/types/index.d.ts +2 -2
  49. package/package.json +9 -1
  50. package/src/__sot__/README.md +56 -0
  51. package/src/__sot__/coreIndicators.pin.json +215 -0
  52. package/src/__sot__/cvcIndex.pin.json +268 -0
  53. package/src/__sot__/scoringEmits.pin.json +176 -0
  54. package/src/__tests__/__snapshots__/cvc-sot.snap +227 -35
  55. package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
  56. package/src/__tests__/cvc-drift-gate.test.ts +603 -0
  57. package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
  58. package/src/__tests__/cvc-structural.test.ts +56 -1
  59. package/src/__tests__/mongo-verifier.test.ts +502 -0
  60. package/src/__tests__/runtime-contract-validator.test.ts +325 -1
  61. package/src/config/index.ts +197 -6
  62. package/src/constants/ic.ts +512 -206
  63. package/src/constants/service-catalog.ts +4 -2
  64. package/src/cvcs/activityType.v1.0.0.json +143 -0
  65. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  66. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  67. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  68. package/src/cvcs/assertionDomain.v1.1.0.json +629 -0
  69. package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
  70. package/src/cvcs/childChangeType.v1.0.0.json +152 -0
  71. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  72. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  73. package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
  74. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  75. package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
  76. package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
  77. package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
  78. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  79. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  80. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  81. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +55 -46
  82. package/src/cvcs/hivStatus.v1.0.0.json +71 -0
  83. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  84. package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
  85. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  86. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
  87. package/src/cvcs/htType.v1.0.0.json +87 -0
  88. package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
  89. package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
  90. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  91. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  92. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  93. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
  94. package/src/cvcs/index.ts +106 -1
  95. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
  96. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  97. package/src/cvcs/livingSituation.v1.0.0.json +213 -0
  98. package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
  99. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  100. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  101. package/src/cvcs/nameType.v1.0.0.json +40 -40
  102. package/src/cvcs/needsAssessmentChangeType.v1.0.0.json +134 -0
  103. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  104. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  105. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  106. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  107. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  108. package/src/cvcs/programEnrollmentChangeType.v1.0.0.json +134 -0
  109. package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
  110. package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
  111. package/src/cvcs/recencyBand.v1.0.0.json +104 -39
  112. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  113. package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
  114. package/src/cvcs/riskCategory.v1.0.0.json +134 -0
  115. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  116. package/src/cvcs/roiMethod.v1.0.0.json +107 -0
  117. package/src/cvcs/roiScope.v1.0.0.json +296 -0
  118. package/src/cvcs/roiStatus.v1.0.0.json +106 -0
  119. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
  120. package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
  121. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  122. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  123. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  124. package/src/cvcs/serviceStates.v1.0.0.json +55 -33
  125. package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
  126. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  127. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  128. package/src/cvcs/smtType.v1.0.0.json +40 -40
  129. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  130. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  131. package/src/cvcs/sourceSubtype.v1.1.0.json +36 -0
  132. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  133. package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
  134. package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
  135. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  136. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  137. package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
  138. package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
  139. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  140. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  141. package/src/generated/cvc-enums.ts +1729 -7
  142. package/src/mongo/catalog.ts +65 -0
  143. package/src/mongo/contract.ts +157 -0
  144. package/src/mongo/index.ts +343 -0
  145. package/src/mongo/similarity.ts +133 -0
  146. package/src/mongo/uri.ts +53 -0
  147. package/src/services/cvcRegistryService.ts +1 -1
  148. package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
  149. package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
@@ -11,6 +11,50 @@
11
11
  "5": "Sub-Sub-Sub Category"
12
12
  },
13
13
  "entries": [
14
+ {
15
+ "code": "022-000-000-000-000-000-000",
16
+ "key": "missingness_root",
17
+ "title": "Unknown, Redacted, or Missing",
18
+ "selectable": false,
19
+ "parentCode": null,
20
+ "childCodes": [
21
+ "022-000-000-000-000-000-001",
22
+ "022-000-000-000-000-000-002",
23
+ "022-000-000-000-000-000-003"
24
+ ],
25
+ "definition": "Root group for values indicating absent, withheld, or uncollected data.",
26
+ "relevantMechanisms": null
27
+ },
28
+ {
29
+ "code": "022-000-000-000-000-000-001",
30
+ "key": "unknown",
31
+ "title": "Unknown",
32
+ "selectable": true,
33
+ "parentCode": "022-000-000-000-000-000-000",
34
+ "childCodes": [],
35
+ "definition": "Value is unknown at time of entry.",
36
+ "relevantMechanisms": null
37
+ },
38
+ {
39
+ "code": "022-000-000-000-000-000-002",
40
+ "key": "anonymous",
41
+ "title": "Anonymous",
42
+ "selectable": true,
43
+ "parentCode": "022-000-000-000-000-000-000",
44
+ "childCodes": [],
45
+ "definition": "Value is intentionally withheld or redacted.",
46
+ "relevantMechanisms": null
47
+ },
48
+ {
49
+ "code": "022-000-000-000-000-000-003",
50
+ "key": "data_not_collected",
51
+ "title": "Data not collected",
52
+ "selectable": true,
53
+ "parentCode": "022-000-000-000-000-000-000",
54
+ "childCodes": [],
55
+ "definition": "No attempt was made to collect the value.",
56
+ "relevantMechanisms": null
57
+ },
14
58
  {
15
59
  "code": "022-002-000-000-000-000-000",
16
60
  "key": "social_support_community_engagement",
@@ -2028,50 +2072,6 @@
2028
2072
  "childCodes": [],
2029
2073
  "definition": "Does not fit any other category; acts as write-in.",
2030
2074
  "relevantMechanisms": null
2031
- },
2032
- {
2033
- "code": "022-000-000-000-000-000-000",
2034
- "key": "missingness_root",
2035
- "title": "Unknown, Redacted, or Missing",
2036
- "selectable": false,
2037
- "parentCode": null,
2038
- "childCodes": [
2039
- "022-000-000-000-000-000-001",
2040
- "022-000-000-000-000-000-002",
2041
- "022-000-000-000-000-000-003"
2042
- ],
2043
- "definition": "Root group for values indicating absent, withheld, or uncollected data.",
2044
- "relevantMechanisms": null
2045
- },
2046
- {
2047
- "code": "022-000-000-000-000-000-001",
2048
- "key": "unknown",
2049
- "title": "Unknown",
2050
- "selectable": true,
2051
- "parentCode": "022-000-000-000-000-000-000",
2052
- "childCodes": [],
2053
- "definition": "Value is unknown at time of entry.",
2054
- "relevantMechanisms": null
2055
- },
2056
- {
2057
- "code": "022-000-000-000-000-000-002",
2058
- "key": "anonymous",
2059
- "title": "Anonymous",
2060
- "selectable": true,
2061
- "parentCode": "022-000-000-000-000-000-000",
2062
- "childCodes": [],
2063
- "definition": "Value is intentionally withheld or redacted.",
2064
- "relevantMechanisms": null
2065
- },
2066
- {
2067
- "code": "022-000-000-000-000-000-003",
2068
- "key": "data_not_collected",
2069
- "title": "Data not collected",
2070
- "selectable": true,
2071
- "parentCode": "022-000-000-000-000-000-000",
2072
- "childCodes": [],
2073
- "definition": "No attempt was made to collect the value.",
2074
- "relevantMechanisms": null
2075
2075
  }
2076
2076
  ]
2077
2077
  }
@@ -0,0 +1,147 @@
1
+ {
2
+ "domain": "service_delivery_channel",
3
+ "name": "Core Service Delivery Channel (CVC-47)",
4
+ "version": "1.0.0",
5
+ "_status": "CANONICAL — imported 0.8.13 from the yaml mirror `data/cvcs/core_service_delivery_channel.yaml` (vocab_status: canonical; Notion CVC-47, Owner Crysta Price, Verification 'Verified', Status 'Drafted - Needs Review'; critical for OAG/VOCA grant reporting). HOW a service was delivered. Sibling axis to CVC-25 `service_mechanisms` (what was done) and CVC-49 `service_states` (lifecycle). `GROUP_INPERSON` / `GROUP_REMOTE` are documented prototype-LOCAL EXTENSIONS, not part of canonical CVC-47 — they are flagged `localExtension: true` so reporting can separate them. `locationRelevance` is canonical logic: IN_PERSON + ON_SCENE make the service-instance location MANDATORY; PHONE / VIRTUAL / EMAIL_TEXT_CHAT make it NOT RELEVANT (the behavioural gating is a separate ship).",
6
+ "_source": "htilabstech/prototype@a596eb9 data/cvcs/core_service_delivery_channel.yaml (CVC-47, canonical)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Service delivery channel"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "047-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
+ "047-000-000-000-000-000-001",
20
+ "047-000-000-000-000-000-002",
21
+ "047-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "047-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "047-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Unknown (cannot estimate). Level-0 missingness. Not shown as a primary picker chip.",
33
+ "canonicalCode": "UNK"
34
+ },
35
+ {
36
+ "code": "047-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "047-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Withheld or redacted. Level-0 missingness; privacy-driven. Not shown as a primary picker chip.",
43
+ "canonicalCode": "ANON"
44
+ },
45
+ {
46
+ "code": "047-000-000-000-000-000-003",
47
+ "key": "data_not_collected",
48
+ "title": "Data not collected",
49
+ "selectable": true,
50
+ "parentCode": "047-000-000-000-000-000-000",
51
+ "childCodes": [],
52
+ "definition": "No signal captured. Level-0 missingness. Not shown as a primary picker chip.",
53
+ "canonicalCode": "DNC"
54
+ },
55
+ {
56
+ "code": "047-001-000-000-000-000-000",
57
+ "key": "phone",
58
+ "title": "Phone",
59
+ "selectable": true,
60
+ "parentCode": null,
61
+ "childCodes": [],
62
+ "definition": "Hotline calls or other phone-based service delivery. If selected, the location of the service instance is not relevant.",
63
+ "canonicalCode": "PHONE",
64
+ "locationRelevance": "not_relevant",
65
+ "localExtension": false,
66
+ "prototypeId": "phone"
67
+ },
68
+ {
69
+ "code": "047-002-000-000-000-000-000",
70
+ "key": "in_person",
71
+ "title": "In person",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Office, shelter, clinic, or other in-person setting. If selected, the location of the service instance becomes a MANDATORY field.",
76
+ "canonicalCode": "IN_PERSON",
77
+ "locationRelevance": "mandatory",
78
+ "localExtension": false,
79
+ "prototypeId": "in-person"
80
+ },
81
+ {
82
+ "code": "047-003-000-000-000-000-000",
83
+ "key": "on_scene",
84
+ "title": "On-scene",
85
+ "selectable": true,
86
+ "parentCode": null,
87
+ "childCodes": [],
88
+ "definition": "Field response, crisis response, mobile advocacy, or other on-location service. If selected, the location of the service instance becomes a MANDATORY field.",
89
+ "canonicalCode": "ON_SCENE",
90
+ "locationRelevance": "mandatory",
91
+ "localExtension": false,
92
+ "prototypeId": "on-scene"
93
+ },
94
+ {
95
+ "code": "047-004-000-000-000-000-000",
96
+ "key": "virtual",
97
+ "title": "Virtual",
98
+ "selectable": true,
99
+ "parentCode": null,
100
+ "childCodes": [],
101
+ "definition": "Service delivered via a virtual meeting modality (for example, a video call). Supersedes the prototype's prior narrower \"Video\" channel. If selected, location is not relevant.",
102
+ "canonicalCode": "VIRTUAL",
103
+ "locationRelevance": "not_relevant",
104
+ "localExtension": false,
105
+ "prototypeId": "virtual"
106
+ },
107
+ {
108
+ "code": "047-005-000-000-000-000-000",
109
+ "key": "email_text_chat",
110
+ "title": "Email / text / chat",
111
+ "selectable": true,
112
+ "parentCode": null,
113
+ "childCodes": [],
114
+ "definition": "Service delivered via email, SMS/text, or chat messaging. Canonical MERGE of the prototype's prior separate \"Text / chat\" + \"Email / async\" channels. If selected, location is not relevant.",
115
+ "canonicalCode": "EMAIL_TEXT_CHAT",
116
+ "locationRelevance": "not_relevant",
117
+ "localExtension": false,
118
+ "prototypeId": "email-text-chat"
119
+ },
120
+ {
121
+ "code": "047-006-000-000-000-000-000",
122
+ "key": "group_inperson",
123
+ "title": "Group (in-person)",
124
+ "selectable": true,
125
+ "parentCode": null,
126
+ "childCodes": [],
127
+ "definition": "LOCAL EXTENSION (not in canonical CVC-47). In-person group-format delivery (e.g., a support group session). Retained per Toby's 2026-05-31 directive; treated as in-person for location relevance.",
128
+ "canonicalCode": "GROUP_INPERSON",
129
+ "locationRelevance": "mandatory",
130
+ "localExtension": true,
131
+ "prototypeId": "group-ip"
132
+ },
133
+ {
134
+ "code": "047-007-000-000-000-000-000",
135
+ "key": "group_remote",
136
+ "title": "Group (remote)",
137
+ "selectable": true,
138
+ "parentCode": null,
139
+ "childCodes": [],
140
+ "definition": "LOCAL EXTENSION (not in canonical CVC-47). Remote group-format delivery (e.g., a virtual support group). Retained per Toby's 2026-05-31 directive; treated as virtual for location relevance.",
141
+ "canonicalCode": "GROUP_REMOTE",
142
+ "locationRelevance": "not_relevant",
143
+ "localExtension": true,
144
+ "prototypeId": "group-rm"
145
+ }
146
+ ]
147
+ }
@@ -7,42 +7,6 @@
7
7
  "1": "Service Mechanism"
8
8
  },
9
9
  "entries": [
10
- {
11
- "code": "025-001-000-000-000-000-000",
12
- "key": "support_via_referral",
13
- "title": "Support via Referral",
14
- "selectable": true,
15
- "parentCode": null,
16
- "childCodes": [],
17
- "definition": "Connecting the client to an external provider or resource, and documenting the referral action and follow-up if applicable."
18
- },
19
- {
20
- "code": "025-002-000-000-000-000-000",
21
- "key": "informational_support",
22
- "title": "Informational Support",
23
- "selectable": true,
24
- "parentCode": null,
25
- "childCodes": [],
26
- "definition": "Education, informational materials, guidance, navigation, instructions, or resource lists where the primary delivery is information."
27
- },
28
- {
29
- "code": "025-003-000-000-000-000-000",
30
- "key": "direct_staff_contractor",
31
- "title": "Direct Staff/Contractor Service",
32
- "selectable": true,
33
- "parentCode": null,
34
- "childCodes": [],
35
- "definition": "Support delivered via personnel time and effort (advocacy, case management, counseling/clinician services, accompaniment, coordination, etc.)."
36
- },
37
- {
38
- "code": "025-004-000-000-000-000-000",
39
- "key": "financial_material_assistance",
40
- "title": "Financial/Material Assistance",
41
- "selectable": true,
42
- "parentCode": null,
43
- "childCodes": [],
44
- "definition": "Cash, vouchers, goods, payments, or anything with monetary value transferred or provided on behalf of the client."
45
- },
46
10
  {
47
11
  "code": "025-000-000-000-000-000-000",
48
12
  "key": "missingness_root",
@@ -82,6 +46,42 @@
82
46
  "parentCode": "025-000-000-000-000-000-000",
83
47
  "childCodes": [],
84
48
  "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "025-001-000-000-000-000-000",
52
+ "key": "support_via_referral",
53
+ "title": "Support via Referral",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Connecting the client to an external provider or resource, and documenting the referral action and follow-up if applicable."
58
+ },
59
+ {
60
+ "code": "025-002-000-000-000-000-000",
61
+ "key": "informational_support",
62
+ "title": "Informational Support",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Education, informational materials, guidance, navigation, instructions, or resource lists where the primary delivery is information."
67
+ },
68
+ {
69
+ "code": "025-003-000-000-000-000-000",
70
+ "key": "direct_staff_contractor",
71
+ "title": "Direct Staff/Contractor Service",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Support delivered via personnel time and effort (advocacy, case management, counseling/clinician services, accompaniment, coordination, etc.)."
76
+ },
77
+ {
78
+ "code": "025-004-000-000-000-000-000",
79
+ "key": "financial_material_assistance",
80
+ "title": "Financial/Material Assistance",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "Cash, vouchers, goods, payments, or anything with monetary value transferred or provided on behalf of the client."
85
85
  }
86
86
  ]
87
87
  }
@@ -8,6 +8,46 @@
8
8
  "2": "Sub-State"
9
9
  },
10
10
  "entries": [
11
+ {
12
+ "code": "049-000-000-000-000-000-000",
13
+ "key": "missingness_root",
14
+ "title": "Unknown, Redacted, or Missing",
15
+ "selectable": false,
16
+ "parentCode": null,
17
+ "childCodes": [
18
+ "049-000-000-000-000-000-001",
19
+ "049-000-000-000-000-000-002",
20
+ "049-000-000-000-000-000-003"
21
+ ],
22
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
23
+ },
24
+ {
25
+ "code": "049-000-000-000-000-000-001",
26
+ "key": "unknown",
27
+ "title": "Unknown",
28
+ "selectable": true,
29
+ "parentCode": "049-000-000-000-000-000-000",
30
+ "childCodes": [],
31
+ "definition": "Value is unknown at time of entry."
32
+ },
33
+ {
34
+ "code": "049-000-000-000-000-000-002",
35
+ "key": "anonymous",
36
+ "title": "Anonymous",
37
+ "selectable": true,
38
+ "parentCode": "049-000-000-000-000-000-000",
39
+ "childCodes": [],
40
+ "definition": "Value is intentionally withheld or redacted."
41
+ },
42
+ {
43
+ "code": "049-000-000-000-000-000-003",
44
+ "key": "data_not_collected",
45
+ "title": "Data not collected",
46
+ "selectable": true,
47
+ "parentCode": "049-000-000-000-000-000-000",
48
+ "childCodes": [],
49
+ "definition": "No attempt was made to collect the value."
50
+ },
11
51
  {
12
52
  "code": "049-001-000-000-000-000-000",
13
53
  "key": "need_identified",
@@ -72,7 +112,9 @@
72
112
  "049-007-001-000-000-000-000",
73
113
  "049-007-002-000-000-000-000",
74
114
  "049-007-003-000-000-000-000",
75
- "049-007-004-000-000-000-000"
115
+ "049-007-004-000-000-000-000",
116
+ "049-007-005-000-000-000-000",
117
+ "049-007-006-000-000-000-000"
76
118
  ],
77
119
  "definition": "Program could not provide the service."
78
120
  },
@@ -113,44 +155,24 @@
113
155
  "definition": "Program could not provide the Service for a reason other than eligibility, capacity, or resources."
114
156
  },
115
157
  {
116
- "code": "049-000-000-000-000-000-000",
117
- "key": "missingness_root",
118
- "title": "Unknown, Redacted, or Missing",
119
- "selectable": false,
120
- "parentCode": null,
121
- "childCodes": [
122
- "049-000-000-000-000-000-001",
123
- "049-000-000-000-000-000-002",
124
- "049-000-000-000-000-000-003"
125
- ],
126
- "definition": "Root group for values indicating absent, withheld, or uncollected data."
127
- },
128
- {
129
- "code": "049-000-000-000-000-000-001",
130
- "key": "unknown",
131
- "title": "Unknown",
158
+ "code": "049-007-005-000-000-000-000",
159
+ "key": "unable_to_provide_service_fit",
160
+ "title": "Unable due to service fit",
132
161
  "selectable": true,
133
- "parentCode": "049-000-000-000-000-000-000",
134
- "childCodes": [],
135
- "definition": "Value is unknown at time of entry."
136
- },
137
- {
138
- "code": "049-000-000-000-000-000-002",
139
- "key": "anonymous",
140
- "title": "Anonymous",
141
- "selectable": true,
142
- "parentCode": "049-000-000-000-000-000-000",
162
+ "parentCode": "049-007-000-000-000-000-000",
143
163
  "childCodes": [],
144
- "definition": "Value is intentionally withheld or redacted."
164
+ "definition": "Program's services were not an appropriate fit for the client's presenting needs.",
165
+ "provisional": true
145
166
  },
146
167
  {
147
- "code": "049-000-000-000-000-000-003",
148
- "key": "data_not_collected",
149
- "title": "Data not collected",
168
+ "code": "049-007-006-000-000-000-000",
169
+ "key": "unable_to_provide_access_barrier",
170
+ "title": "Unable due to access barrier",
150
171
  "selectable": true,
151
- "parentCode": "049-000-000-000-000-000-000",
172
+ "parentCode": "049-007-000-000-000-000-000",
152
173
  "childCodes": [],
153
- "definition": "No attempt was made to collect the value."
174
+ "definition": "An access barrier (e.g. language, transportation, location, hours, technology) prevented service delivery.",
175
+ "provisional": true
154
176
  }
155
177
  ]
156
178
  }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "session_note_visibility",
3
+ "name": "sessionNoteVisibility",
4
+ "version": "1.0.0",
5
+ "_status": "PROVISIONAL — net-new value-CVC not yet in Notion; provisional 900+ numbering; substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (D10 source-from-platform-common). PENDING canonical Notion authoring + steward ratification of titles/definitions.",
6
+ "_source": "pave-2.0/packages/domain/src/enums.ts",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Session-note visibility"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "971-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
+ "971-000-000-000-000-000-001",
20
+ "971-000-000-000-000-000-002",
21
+ "971-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "971-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "971-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The session_note_visibility is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "971-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "971-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "971-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "971-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "971-001-000-000-000-000-000",
54
+ "key": "default",
55
+ "title": "Default",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Default visibility — visible per the surface's standard scope."
60
+ },
61
+ {
62
+ "code": "971-002-000-000-000-000-000",
63
+ "key": "account",
64
+ "title": "Account",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Visible to the whole account/agency."
69
+ },
70
+ {
71
+ "code": "971-003-000-000-000-000-000",
72
+ "key": "private",
73
+ "title": "Private",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Private to the author."
78
+ }
79
+ ]
80
+ }