@htilabs/platform-common-models 0.8.7 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/constants/index.cjs +5 -28
- 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 +5 -27
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
- package/dist/cvcs/index.cjs +3 -1321
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1195 -2649
- package/dist/cvcs/index.d.ts +1195 -2649
- package/dist/cvcs/index.js +3 -1313
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +121 -1550
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -401
- package/dist/index.d.ts +48 -401
- package/dist/index.js +120 -1526
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/{platform-auth-BdnJUisw.d.cts → platform-auth-XVB9aHqR.d.cts} +3 -16
- package/dist/{platform-auth-BdnJUisw.d.ts → platform-auth-XVB9aHqR.d.ts} +3 -16
- package/dist/schemas/index.cjs +9 -26
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +39 -35
- package/dist/schemas/index.d.ts +39 -35
- package/dist/schemas/index.js +9 -26
- 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 +25 -19
- package/src/__tests__/__snapshots__/cvc-sot.snap +12 -76
- package/src/__tests__/cvc-sot-snapshot.test.ts +10 -61
- package/src/__tests__/cvc-structural.test.ts +0 -9
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
- package/src/constants/ic.ts +3 -31
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +0 -9
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +0 -18
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +2 -31
- package/src/cvcs/index.ts +0 -16
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/recencyBand.v1.0.0.json +57 -38
- package/src/cvcs/serviceStates.v1.0.0.json +1 -23
- package/src/cvcs/sourceSubtype.v1.1.0.json +0 -36
- package/src/cvcs/verificationMethod.v1.0.0.json +0 -18
- package/src/generated/cvc-enums.ts +6 -429
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
- package/src/cvcs/activityType.v1.0.0.json +0 -143
- package/src/cvcs/assertionDomain.v1.0.0.json +0 -629
- package/src/cvcs/contactLinkType.v1.0.0.json +0 -89
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +0 -104
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +0 -159
- package/src/cvcs/htType.v1.0.0.json +0 -87
- package/src/cvcs/livingSituation.v1.0.0.json +0 -213
- package/src/cvcs/provenanceSourceId.v1.0.0.json +0 -134
- package/src/cvcs/radiusBucket.v1.0.0.json +0 -98
- package/src/cvcs/relationshipConcern.v1.0.0.json +0 -114
- package/src/cvcs/roiMethod.v1.0.0.json +0 -107
- package/src/cvcs/serviceAudience.v1.0.0.json +0 -96
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +0 -80
- package/src/cvcs/suggestionSource.v1.0.0.json +0 -71
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "provenance_source_id",
|
|
3
|
-
"name": "provenanceSourceId",
|
|
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": "Provenance source id"
|
|
10
|
-
},
|
|
11
|
-
"entries": [
|
|
12
|
-
{
|
|
13
|
-
"code": "966-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
|
-
"966-000-000-000-000-000-001",
|
|
20
|
-
"966-000-000-000-000-000-002",
|
|
21
|
-
"966-000-000-000-000-000-003"
|
|
22
|
-
],
|
|
23
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"code": "966-000-000-000-000-000-001",
|
|
27
|
-
"key": "unknown",
|
|
28
|
-
"title": "Unknown",
|
|
29
|
-
"selectable": true,
|
|
30
|
-
"parentCode": "966-000-000-000-000-000-000",
|
|
31
|
-
"childCodes": [],
|
|
32
|
-
"definition": "The provenance_source_id is unknown or cannot be determined."
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"code": "966-000-000-000-000-000-002",
|
|
36
|
-
"key": "anonymous",
|
|
37
|
-
"title": "Anonymous / declined to answer",
|
|
38
|
-
"selectable": true,
|
|
39
|
-
"parentCode": "966-000-000-000-000-000-000",
|
|
40
|
-
"childCodes": [],
|
|
41
|
-
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"code": "966-000-000-000-000-000-003",
|
|
45
|
-
"key": "data_not_collected",
|
|
46
|
-
"title": "Data not collected",
|
|
47
|
-
"selectable": true,
|
|
48
|
-
"parentCode": "966-000-000-000-000-000-000",
|
|
49
|
-
"childCodes": [],
|
|
50
|
-
"definition": "No attempt was made to collect the value."
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"code": "966-001-000-000-000-000-000",
|
|
54
|
-
"key": "client_self_report",
|
|
55
|
-
"title": "Client Self Report",
|
|
56
|
-
"selectable": true,
|
|
57
|
-
"parentCode": null,
|
|
58
|
-
"childCodes": [],
|
|
59
|
-
"definition": "Provenance source 'client_self_report' — the origin system/actor a value was derived from."
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"code": "966-002-000-000-000-000-000",
|
|
63
|
-
"key": "system_derived_ads",
|
|
64
|
-
"title": "System Derived Ads",
|
|
65
|
-
"selectable": true,
|
|
66
|
-
"parentCode": null,
|
|
67
|
-
"childCodes": [],
|
|
68
|
-
"definition": "Provenance source 'system_derived_ads' — the origin system/actor a value was derived from."
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"code": "966-003-000-000-000-000-000",
|
|
72
|
-
"key": "system_derived_geocoder",
|
|
73
|
-
"title": "System Derived Geocoder",
|
|
74
|
-
"selectable": true,
|
|
75
|
-
"parentCode": null,
|
|
76
|
-
"childCodes": [],
|
|
77
|
-
"definition": "Provenance source 'system_derived_geocoder' — the origin system/actor a value was derived from."
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"code": "966-004-000-000-000-000-000",
|
|
81
|
-
"key": "staff_observation",
|
|
82
|
-
"title": "Staff Observation",
|
|
83
|
-
"selectable": true,
|
|
84
|
-
"parentCode": null,
|
|
85
|
-
"childCodes": [],
|
|
86
|
-
"definition": "Provenance source 'staff_observation' — the origin system/actor a value was derived from."
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"code": "966-005-000-000-000-000-000",
|
|
90
|
-
"key": "intake_form",
|
|
91
|
-
"title": "Intake Form",
|
|
92
|
-
"selectable": true,
|
|
93
|
-
"parentCode": null,
|
|
94
|
-
"childCodes": [],
|
|
95
|
-
"definition": "Provenance source 'intake_form' — the origin system/actor a value was derived from."
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"code": "966-006-000-000-000-000-000",
|
|
99
|
-
"key": "referral_partner",
|
|
100
|
-
"title": "Referral Partner",
|
|
101
|
-
"selectable": true,
|
|
102
|
-
"parentCode": null,
|
|
103
|
-
"childCodes": [],
|
|
104
|
-
"definition": "Provenance source 'referral_partner' — the origin system/actor a value was derived from."
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"code": "966-007-000-000-000-000-000",
|
|
108
|
-
"key": "law_enforcement",
|
|
109
|
-
"title": "Law Enforcement",
|
|
110
|
-
"selectable": true,
|
|
111
|
-
"parentCode": null,
|
|
112
|
-
"childCodes": [],
|
|
113
|
-
"definition": "Provenance source 'law_enforcement' — the origin system/actor a value was derived from."
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"code": "966-008-000-000-000-000-000",
|
|
117
|
-
"key": "id_document",
|
|
118
|
-
"title": "Id Document",
|
|
119
|
-
"selectable": true,
|
|
120
|
-
"parentCode": null,
|
|
121
|
-
"childCodes": [],
|
|
122
|
-
"definition": "Provenance source 'id_document' — the origin system/actor a value was derived from."
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"code": "966-009-000-000-000-000-000",
|
|
126
|
-
"key": "social_profile",
|
|
127
|
-
"title": "Social Profile",
|
|
128
|
-
"selectable": true,
|
|
129
|
-
"parentCode": null,
|
|
130
|
-
"childCodes": [],
|
|
131
|
-
"definition": "Provenance source 'social_profile' — the origin system/actor a value was derived from."
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "radius_bucket",
|
|
3
|
-
"name": "radiusBucket",
|
|
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": "Search radius bucket (miles)"
|
|
10
|
-
},
|
|
11
|
-
"entries": [
|
|
12
|
-
{
|
|
13
|
-
"code": "967-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
|
-
"967-000-000-000-000-000-001",
|
|
20
|
-
"967-000-000-000-000-000-002",
|
|
21
|
-
"967-000-000-000-000-000-003"
|
|
22
|
-
],
|
|
23
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"code": "967-000-000-000-000-000-001",
|
|
27
|
-
"key": "unknown",
|
|
28
|
-
"title": "Unknown",
|
|
29
|
-
"selectable": true,
|
|
30
|
-
"parentCode": "967-000-000-000-000-000-000",
|
|
31
|
-
"childCodes": [],
|
|
32
|
-
"definition": "The radius_bucket is unknown or cannot be determined."
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"code": "967-000-000-000-000-000-002",
|
|
36
|
-
"key": "anonymous",
|
|
37
|
-
"title": "Anonymous / declined to answer",
|
|
38
|
-
"selectable": true,
|
|
39
|
-
"parentCode": "967-000-000-000-000-000-000",
|
|
40
|
-
"childCodes": [],
|
|
41
|
-
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"code": "967-000-000-000-000-000-003",
|
|
45
|
-
"key": "data_not_collected",
|
|
46
|
-
"title": "Data not collected",
|
|
47
|
-
"selectable": true,
|
|
48
|
-
"parentCode": "967-000-000-000-000-000-000",
|
|
49
|
-
"childCodes": [],
|
|
50
|
-
"definition": "No attempt was made to collect the value."
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"code": "967-001-000-000-000-000-000",
|
|
54
|
-
"key": "10",
|
|
55
|
-
"title": "10 miles",
|
|
56
|
-
"selectable": true,
|
|
57
|
-
"parentCode": null,
|
|
58
|
-
"childCodes": [],
|
|
59
|
-
"definition": "Search/proximity radius bucket: 10 miles."
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"code": "967-002-000-000-000-000-000",
|
|
63
|
-
"key": "50",
|
|
64
|
-
"title": "50 miles",
|
|
65
|
-
"selectable": true,
|
|
66
|
-
"parentCode": null,
|
|
67
|
-
"childCodes": [],
|
|
68
|
-
"definition": "Search/proximity radius bucket: 50 miles."
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"code": "967-003-000-000-000-000-000",
|
|
72
|
-
"key": "100",
|
|
73
|
-
"title": "100 miles",
|
|
74
|
-
"selectable": true,
|
|
75
|
-
"parentCode": null,
|
|
76
|
-
"childCodes": [],
|
|
77
|
-
"definition": "Search/proximity radius bucket: 100 miles."
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"code": "967-004-000-000-000-000-000",
|
|
81
|
-
"key": "250",
|
|
82
|
-
"title": "250 miles",
|
|
83
|
-
"selectable": true,
|
|
84
|
-
"parentCode": null,
|
|
85
|
-
"childCodes": [],
|
|
86
|
-
"definition": "Search/proximity radius bucket: 250 miles."
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"code": "967-005-000-000-000-000-000",
|
|
90
|
-
"key": "500",
|
|
91
|
-
"title": "500 miles",
|
|
92
|
-
"selectable": true,
|
|
93
|
-
"parentCode": null,
|
|
94
|
-
"childCodes": [],
|
|
95
|
-
"definition": "Search/proximity radius bucket: 500 miles."
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "relationship_concern",
|
|
3
|
-
"name": "Core Relationship Concern (PROVISIONAL CVC-231 — pending codebook ratification)",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"levels": {
|
|
6
|
-
"0": "Unknown or Missing",
|
|
7
|
-
"1": "Relationship concern"
|
|
8
|
-
},
|
|
9
|
-
"entries": [
|
|
10
|
-
{
|
|
11
|
-
"code": "231-000-000-000-000-000-000",
|
|
12
|
-
"key": "missingness_root",
|
|
13
|
-
"title": "Unknown, Redacted, or Missing",
|
|
14
|
-
"selectable": false,
|
|
15
|
-
"parentCode": null,
|
|
16
|
-
"childCodes": [
|
|
17
|
-
"231-000-000-000-000-000-001",
|
|
18
|
-
"231-000-000-000-000-000-002",
|
|
19
|
-
"231-000-000-000-000-000-003"
|
|
20
|
-
],
|
|
21
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"code": "231-000-000-000-000-000-001",
|
|
25
|
-
"key": "unknown",
|
|
26
|
-
"title": "Unknown",
|
|
27
|
-
"selectable": true,
|
|
28
|
-
"parentCode": "231-000-000-000-000-000-000",
|
|
29
|
-
"childCodes": [],
|
|
30
|
-
"definition": "The relationship concern is unknown or cannot be determined from the available information."
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"code": "231-000-000-000-000-000-002",
|
|
34
|
-
"key": "anonymous",
|
|
35
|
-
"title": "Anonymous / declined to answer",
|
|
36
|
-
"selectable": true,
|
|
37
|
-
"parentCode": "231-000-000-000-000-000-000",
|
|
38
|
-
"childCodes": [],
|
|
39
|
-
"definition": "The relationship concern may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"code": "231-000-000-000-000-000-003",
|
|
43
|
-
"key": "data_not_collected",
|
|
44
|
-
"title": "Data not collected",
|
|
45
|
-
"selectable": true,
|
|
46
|
-
"parentCode": "231-000-000-000-000-000-000",
|
|
47
|
-
"childCodes": [],
|
|
48
|
-
"definition": "No attempt was made to collect the relationship concern."
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"code": "231-001-000-000-000-000-000",
|
|
52
|
-
"key": "appears_controlling",
|
|
53
|
-
"title": "Appears controlling",
|
|
54
|
-
"selectable": true,
|
|
55
|
-
"parentCode": null,
|
|
56
|
-
"childCodes": [],
|
|
57
|
-
"definition": "Employer, intimate partner, or family member who appears controlling in relation to the subject."
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"code": "231-002-000-000-000-000-000",
|
|
61
|
-
"key": "is_much_older",
|
|
62
|
-
"title": "Is much older (age-disparate)",
|
|
63
|
-
"selectable": true,
|
|
64
|
-
"parentCode": null,
|
|
65
|
-
"childCodes": [],
|
|
66
|
-
"definition": "Significant age disparity in the relationship — a vulnerability signal, especially for youth."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"code": "231-003-000-000-000-000-000",
|
|
70
|
-
"key": "physically_abusive",
|
|
71
|
-
"title": "Physically abusive",
|
|
72
|
-
"selectable": true,
|
|
73
|
-
"parentCode": null,
|
|
74
|
-
"childCodes": [],
|
|
75
|
-
"definition": "Reports of physical harm or abuse from this person toward the subject."
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"code": "231-004-000-000-000-000-000",
|
|
79
|
-
"key": "emotionally_abusive",
|
|
80
|
-
"title": "Emotionally abusive / threatening",
|
|
81
|
-
"selectable": true,
|
|
82
|
-
"parentCode": null,
|
|
83
|
-
"childCodes": [],
|
|
84
|
-
"definition": "Emotional abuse, threats, or intimidation by this person toward the subject."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"code": "231-005-000-000-000-000-000",
|
|
88
|
-
"key": "has_legal_involvement",
|
|
89
|
-
"title": "Has relevant legal involvement",
|
|
90
|
-
"selectable": true,
|
|
91
|
-
"parentCode": null,
|
|
92
|
-
"childCodes": [],
|
|
93
|
-
"definition": "This person has a legal case, protective order, or criminal history relevant to the subject's situation."
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"code": "231-006-000-000-000-000-000",
|
|
97
|
-
"key": "is_known_trafficker_or_suspect",
|
|
98
|
-
"title": "Is known or suspected trafficker",
|
|
99
|
-
"selectable": true,
|
|
100
|
-
"parentCode": null,
|
|
101
|
-
"childCodes": [],
|
|
102
|
-
"definition": "This person is suspected or confirmed as a trafficker in relation to the subject. Complements (does not replace) role assignment via Add-Person."
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"code": "231-007-000-000-000-000-000",
|
|
106
|
-
"key": "other_concern",
|
|
107
|
-
"title": "Other concern",
|
|
108
|
-
"selectable": true,
|
|
109
|
-
"parentCode": null,
|
|
110
|
-
"childCodes": [],
|
|
111
|
-
"definition": "Catch-all for concerns not covered by the other codes. Requires accompanying free-text explanation; prefer a specific code whenever one applies."
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "roi_method",
|
|
3
|
-
"name": "roiMethod",
|
|
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": "ROI delivery method"
|
|
10
|
-
},
|
|
11
|
-
"entries": [
|
|
12
|
-
{
|
|
13
|
-
"code": "970-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
|
-
"970-000-000-000-000-000-001",
|
|
20
|
-
"970-000-000-000-000-000-002",
|
|
21
|
-
"970-000-000-000-000-000-003"
|
|
22
|
-
],
|
|
23
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"code": "970-000-000-000-000-000-001",
|
|
27
|
-
"key": "unknown",
|
|
28
|
-
"title": "Unknown",
|
|
29
|
-
"selectable": true,
|
|
30
|
-
"parentCode": "970-000-000-000-000-000-000",
|
|
31
|
-
"childCodes": [],
|
|
32
|
-
"definition": "The roi_method is unknown or cannot be determined."
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"code": "970-000-000-000-000-000-002",
|
|
36
|
-
"key": "anonymous",
|
|
37
|
-
"title": "Anonymous / declined to answer",
|
|
38
|
-
"selectable": true,
|
|
39
|
-
"parentCode": "970-000-000-000-000-000-000",
|
|
40
|
-
"childCodes": [],
|
|
41
|
-
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"code": "970-000-000-000-000-000-003",
|
|
45
|
-
"key": "data_not_collected",
|
|
46
|
-
"title": "Data not collected",
|
|
47
|
-
"selectable": true,
|
|
48
|
-
"parentCode": "970-000-000-000-000-000-000",
|
|
49
|
-
"childCodes": [],
|
|
50
|
-
"definition": "No attempt was made to collect the value."
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"code": "970-001-000-000-000-000-000",
|
|
54
|
-
"key": "thread_caseshare",
|
|
55
|
-
"title": "Thread CaseShare",
|
|
56
|
-
"selectable": true,
|
|
57
|
-
"parentCode": null,
|
|
58
|
-
"childCodes": [],
|
|
59
|
-
"definition": "ROI delivered via a Thread CaseShare."
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"code": "970-002-000-000-000-000-000",
|
|
63
|
-
"key": "thread_magic_link",
|
|
64
|
-
"title": "Thread magic link",
|
|
65
|
-
"selectable": true,
|
|
66
|
-
"parentCode": null,
|
|
67
|
-
"childCodes": [],
|
|
68
|
-
"definition": "ROI delivered via a Thread magic-link referral."
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"code": "970-003-000-000-000-000-000",
|
|
72
|
-
"key": "email",
|
|
73
|
-
"title": "Email",
|
|
74
|
-
"selectable": true,
|
|
75
|
-
"parentCode": null,
|
|
76
|
-
"childCodes": [],
|
|
77
|
-
"definition": "ROI delivered by email."
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"code": "970-004-000-000-000-000-000",
|
|
81
|
-
"key": "fax",
|
|
82
|
-
"title": "Fax",
|
|
83
|
-
"selectable": true,
|
|
84
|
-
"parentCode": null,
|
|
85
|
-
"childCodes": [],
|
|
86
|
-
"definition": "ROI delivered by fax."
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"code": "970-005-000-000-000-000-000",
|
|
90
|
-
"key": "secure_portal",
|
|
91
|
-
"title": "Secure portal",
|
|
92
|
-
"selectable": true,
|
|
93
|
-
"parentCode": null,
|
|
94
|
-
"childCodes": [],
|
|
95
|
-
"definition": "ROI delivered via a secure portal."
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"code": "970-006-000-000-000-000-000",
|
|
99
|
-
"key": "in_person",
|
|
100
|
-
"title": "In person",
|
|
101
|
-
"selectable": true,
|
|
102
|
-
"parentCode": null,
|
|
103
|
-
"childCodes": [],
|
|
104
|
-
"definition": "ROI delivered in person."
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "service_audience",
|
|
3
|
-
"name": "Core Service Audience",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"levels": {
|
|
6
|
-
"0": "Unknown or Missing",
|
|
7
|
-
"1": "Service audience"
|
|
8
|
-
},
|
|
9
|
-
"entries": [
|
|
10
|
-
{
|
|
11
|
-
"code": "045-000-000-000-000-000-000",
|
|
12
|
-
"key": "missingness_root",
|
|
13
|
-
"title": "Unknown, Redacted, or Missing",
|
|
14
|
-
"selectable": false,
|
|
15
|
-
"parentCode": null,
|
|
16
|
-
"childCodes": [
|
|
17
|
-
"045-000-000-000-000-000-001",
|
|
18
|
-
"045-000-000-000-000-000-002",
|
|
19
|
-
"045-000-000-000-000-000-003"
|
|
20
|
-
],
|
|
21
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"code": "045-000-000-000-000-000-001",
|
|
25
|
-
"key": "unknown",
|
|
26
|
-
"title": "Unknown",
|
|
27
|
-
"selectable": true,
|
|
28
|
-
"parentCode": "045-000-000-000-000-000-000",
|
|
29
|
-
"childCodes": [],
|
|
30
|
-
"definition": "The audience for the service is unknown or cannot be determined from the available information."
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"code": "045-000-000-000-000-000-002",
|
|
34
|
-
"key": "anonymous",
|
|
35
|
-
"title": "Anonymous / declined to answer",
|
|
36
|
-
"selectable": true,
|
|
37
|
-
"parentCode": "045-000-000-000-000-000-000",
|
|
38
|
-
"childCodes": [],
|
|
39
|
-
"definition": "The service audience may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"code": "045-000-000-000-000-000-003",
|
|
43
|
-
"key": "data_not_collected",
|
|
44
|
-
"title": "Data not collected",
|
|
45
|
-
"selectable": true,
|
|
46
|
-
"parentCode": "045-000-000-000-000-000-000",
|
|
47
|
-
"childCodes": [],
|
|
48
|
-
"definition": "No attempt was made to collect the service audience."
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"code": "045-001-000-000-000-000-000",
|
|
52
|
-
"key": "primary_victim",
|
|
53
|
-
"title": "Primary victim",
|
|
54
|
-
"selectable": true,
|
|
55
|
-
"parentCode": null,
|
|
56
|
-
"childCodes": [],
|
|
57
|
-
"definition": "The direct victim / survivor of the crime or victimization who is the primary recipient of the service."
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"code": "045-002-000-000-000-000-000",
|
|
61
|
-
"key": "eligible_family_member",
|
|
62
|
-
"title": "Eligible family member",
|
|
63
|
-
"selectable": true,
|
|
64
|
-
"parentCode": null,
|
|
65
|
-
"childCodes": [],
|
|
66
|
-
"definition": "A family member of the primary victim who is themselves eligible to receive services (e.g., a secondary victim or dependent)."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"code": "045-003-000-000-000-000-000",
|
|
70
|
-
"key": "third_party",
|
|
71
|
-
"title": "Third party",
|
|
72
|
-
"selectable": true,
|
|
73
|
-
"parentCode": null,
|
|
74
|
-
"childCodes": [],
|
|
75
|
-
"definition": "A third party who is not the primary victim or an eligible family member but is the recipient of the service (e.g., a witness, bystander, or community contact)."
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"code": "045-004-000-000-000-000-000",
|
|
79
|
-
"key": "offender",
|
|
80
|
-
"title": "Offender",
|
|
81
|
-
"selectable": true,
|
|
82
|
-
"parentCode": null,
|
|
83
|
-
"childCodes": [],
|
|
84
|
-
"definition": "A person who is the offender / perpetrator in the relevant context and is the recipient of the service (e.g., diversion or rehabilitative services)."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"code": "045-005-000-000-000-000-000",
|
|
88
|
-
"key": "personnel",
|
|
89
|
-
"title": "Personnel",
|
|
90
|
-
"selectable": true,
|
|
91
|
-
"parentCode": null,
|
|
92
|
-
"childCodes": [],
|
|
93
|
-
"definition": "Agency personnel, staff, volunteers, or other professionals who are the recipients of the service (e.g., training, debriefing, or staff support)."
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
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
|
-
}
|