@htilabs/platform-common-models 0.8.12 → 0.8.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/index.cjs +133 -287
- 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 +133 -275
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +11670 -969
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +14727 -3020
- package/dist/cvcs/index.d.ts +14727 -3020
- package/dist/cvcs/index.js +11643 -968
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +12718 -1360
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1012 -128
- package/dist/index.d.ts +1012 -128
- package/dist/index.js +12671 -1345
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-BwfZ0bxU.d.cts → platform-auth-BfCMuAlC.d.cts} +2 -74
- package/dist/{platform-auth-BwfZ0bxU.d.ts → platform-auth-BfCMuAlC.d.ts} +2 -74
- package/dist/schemas/index.cjs +0 -152
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +0 -152
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +0 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +0 -3
- package/dist/services/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +4 -1
- package/src/__sot__/README.md +56 -0
- package/src/__sot__/coreIndicators.pin.json +215 -0
- package/src/__sot__/cvcIndex.pin.json +268 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +109 -37
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +596 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +38 -8
- package/src/__tests__/cvc-structural.test.ts +37 -1
- package/src/constants/ic.ts +184 -333
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/adminRoles.v1.0.0.json +153 -0
- package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
- package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
- package/src/cvcs/assertionDomain.v1.1.0.json +78 -105
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
- package/src/cvcs/exploitationType.v1.0.0.json +106 -0
- package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
- package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
- package/src/cvcs/index.ts +55 -2
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
- package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
- package/src/cvcs/nameType.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
- package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
- package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
- package/src/cvcs/poStatus.v1.0.0.json +144 -0
- package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
- package/src/cvcs/recencyBand.v1.0.0.json +126 -42
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiScope.v1.0.0.json +111 -3
- package/src/cvcs/roiStatus.v1.0.0.json +18 -10
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
- package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
- package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
- package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
- package/src/cvcs/serviceStates.v1.0.0.json +40 -40
- package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/smtType.v1.0.0.json +40 -40
- package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
- package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
- package/src/cvcs/whyNots.v1.0.0.json +385 -0
- package/src/generated/cvc-enums.ts +1047 -127
- package/src/services/cvcRegistryService.ts +1 -1
- package/src/cvcs/riskBand.v1.0.0.json +0 -98
|
@@ -7,6 +7,46 @@
|
|
|
7
7
|
"1": "Name type"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "001-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
|
+
"001-000-000-000-000-000-001",
|
|
18
|
+
"001-000-000-000-000-000-002",
|
|
19
|
+
"001-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "001-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "001-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "001-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "001-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
10
50
|
{
|
|
11
51
|
"code": "001-001-000-000-000-000-000",
|
|
12
52
|
"key": "alias",
|
|
@@ -78,46 +118,6 @@
|
|
|
78
118
|
"parentCode": null,
|
|
79
119
|
"childCodes": [],
|
|
80
120
|
"definition": "A professional, trade, or stage name; each instance of use should be stored because 'most commonly used' is tracked. Maps to 'Partial, street name, or code name reported'."
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"code": "001-000-000-000-000-000-000",
|
|
84
|
-
"key": "missingness_root",
|
|
85
|
-
"title": "Unknown, Redacted, or Missing",
|
|
86
|
-
"selectable": false,
|
|
87
|
-
"parentCode": null,
|
|
88
|
-
"childCodes": [
|
|
89
|
-
"001-000-000-000-000-000-001",
|
|
90
|
-
"001-000-000-000-000-000-002",
|
|
91
|
-
"001-000-000-000-000-000-003"
|
|
92
|
-
],
|
|
93
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"code": "001-000-000-000-000-000-001",
|
|
97
|
-
"key": "unknown",
|
|
98
|
-
"title": "Unknown",
|
|
99
|
-
"selectable": true,
|
|
100
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
101
|
-
"childCodes": [],
|
|
102
|
-
"definition": "Value is unknown at time of entry."
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"code": "001-000-000-000-000-000-002",
|
|
106
|
-
"key": "anonymous",
|
|
107
|
-
"title": "Anonymous",
|
|
108
|
-
"selectable": true,
|
|
109
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
110
|
-
"childCodes": [],
|
|
111
|
-
"definition": "Value is intentionally withheld or redacted."
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"code": "001-000-000-000-000-000-003",
|
|
115
|
-
"key": "data_not_collected",
|
|
116
|
-
"title": "Data not collected",
|
|
117
|
-
"selectable": true,
|
|
118
|
-
"parentCode": "001-000-000-000-000-000-000",
|
|
119
|
-
"childCodes": [],
|
|
120
|
-
"definition": "No attempt was made to collect the value."
|
|
121
121
|
}
|
|
122
122
|
]
|
|
123
123
|
}
|
|
@@ -7,6 +7,46 @@
|
|
|
7
7
|
"1": "Offender status"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "164-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
|
+
"164-000-000-000-000-000-001",
|
|
18
|
+
"164-000-000-000-000-000-002",
|
|
19
|
+
"164-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Notion codebook explicitly lists UNK/ANON/DNC for this domain (no PNA)."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "164-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "164-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Unknown or cannot be determined from the available information. Missingness value; do not map to a justice stage. Consider prompting follow-up rather than persisting as a long-term state."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "164-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "164-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted. Missingness value; do not map to a justice stage. Distinct from Unknown (insufficient information)."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "164-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "164-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the information. Missingness value; do not map to a justice stage. Distinct from Unknown."
|
|
49
|
+
},
|
|
10
50
|
{
|
|
11
51
|
"code": "164-001-000-000-000-000-000",
|
|
12
52
|
"key": "suspected_offender",
|
|
@@ -51,46 +91,6 @@
|
|
|
51
91
|
"parentCode": null,
|
|
52
92
|
"childCodes": [],
|
|
53
93
|
"definition": "The subject has been convicted (or accepted a plea resulting in conviction) for a relevant offense within the program's scope."
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"code": "164-000-000-000-000-000-000",
|
|
57
|
-
"key": "missingness_root",
|
|
58
|
-
"title": "Unknown, Redacted, or Missing",
|
|
59
|
-
"selectable": false,
|
|
60
|
-
"parentCode": null,
|
|
61
|
-
"childCodes": [
|
|
62
|
-
"164-000-000-000-000-000-001",
|
|
63
|
-
"164-000-000-000-000-000-002",
|
|
64
|
-
"164-000-000-000-000-000-003"
|
|
65
|
-
],
|
|
66
|
-
"definition": "Root group for values indicating absent, withheld, or uncollected data. Notion codebook explicitly lists UNK/ANON/DNC for this domain (no PNA)."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"code": "164-000-000-000-000-000-001",
|
|
70
|
-
"key": "unknown",
|
|
71
|
-
"title": "Unknown",
|
|
72
|
-
"selectable": true,
|
|
73
|
-
"parentCode": "164-000-000-000-000-000-000",
|
|
74
|
-
"childCodes": [],
|
|
75
|
-
"definition": "Unknown or cannot be determined from the available information. Missingness value; do not map to a justice stage. Consider prompting follow-up rather than persisting as a long-term state."
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"code": "164-000-000-000-000-000-002",
|
|
79
|
-
"key": "anonymous",
|
|
80
|
-
"title": "Anonymous",
|
|
81
|
-
"selectable": true,
|
|
82
|
-
"parentCode": "164-000-000-000-000-000-000",
|
|
83
|
-
"childCodes": [],
|
|
84
|
-
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted. Missingness value; do not map to a justice stage. Distinct from Unknown (insufficient information)."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"code": "164-000-000-000-000-000-003",
|
|
88
|
-
"key": "data_not_collected",
|
|
89
|
-
"title": "Data not collected",
|
|
90
|
-
"selectable": true,
|
|
91
|
-
"parentCode": "164-000-000-000-000-000-000",
|
|
92
|
-
"childCodes": [],
|
|
93
|
-
"definition": "No attempt was made to collect the information. Missingness value; do not map to a justice stage. Distinct from Unknown."
|
|
94
94
|
}
|
|
95
95
|
]
|
|
96
96
|
}
|
|
@@ -7,42 +7,6 @@
|
|
|
7
7
|
"1": "Offender status family"
|
|
8
8
|
},
|
|
9
9
|
"entries": [
|
|
10
|
-
{
|
|
11
|
-
"code": "167-001-000-000-000-000-000",
|
|
12
|
-
"key": "no_indication",
|
|
13
|
-
"title": "No indication",
|
|
14
|
-
"selectable": true,
|
|
15
|
-
"parentCode": null,
|
|
16
|
-
"childCodes": [],
|
|
17
|
-
"definition": "Indicates there is no evidence suggesting the individual is an offender of human trafficking or of related exploitation within the scope of this program's determination process."
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"code": "167-002-000-000-000-000-000",
|
|
21
|
-
"key": "non_trafficking_exploitation_offender",
|
|
22
|
-
"title": "Non-trafficking exploitation offender",
|
|
23
|
-
"selectable": true,
|
|
24
|
-
"parentCode": null,
|
|
25
|
-
"childCodes": [],
|
|
26
|
-
"definition": "Indicates the individual is an offender of exploitation that does not meet the statutory or programmatic thresholds for human trafficking (e.g., labor abuses, non-trafficking commercial sexual exploitation)."
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"code": "167-003-000-000-000-000-000",
|
|
30
|
-
"key": "potential_trafficking_offender",
|
|
31
|
-
"title": "Potential trafficking offender",
|
|
32
|
-
"selectable": true,
|
|
33
|
-
"parentCode": null,
|
|
34
|
-
"childCodes": [],
|
|
35
|
-
"definition": "Indicates the individual is suspected of being a human trafficking offender based on available indicators, but the determination has not been substantiated or confirmed."
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"code": "167-004-000-000-000-000-000",
|
|
39
|
-
"key": "trafficking_offender",
|
|
40
|
-
"title": "Trafficking offender",
|
|
41
|
-
"selectable": true,
|
|
42
|
-
"parentCode": null,
|
|
43
|
-
"childCodes": [],
|
|
44
|
-
"definition": "Indicates the individual is determined to be an offender of human trafficking under the program's applicable definition (e.g., recruiting, harboring, transporting, providing, or obtaining a person for labor or commercial sex through force, fraud, or coercion)."
|
|
45
|
-
},
|
|
46
10
|
{
|
|
47
11
|
"code": "167-000-000-000-000-000-000",
|
|
48
12
|
"key": "missingness_root",
|
|
@@ -82,6 +46,42 @@
|
|
|
82
46
|
"parentCode": "167-000-000-000-000-000-000",
|
|
83
47
|
"childCodes": [],
|
|
84
48
|
"definition": "Indicates the offender status family question was not asked and/or a value was not obtained; distinguish from 'unknown' (asked but not known) and 'anonymous' (asked but withheld)."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "167-001-000-000-000-000-000",
|
|
52
|
+
"key": "no_indication",
|
|
53
|
+
"title": "No indication",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Indicates there is no evidence suggesting the individual is an offender of human trafficking or of related exploitation within the scope of this program's determination process."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "167-002-000-000-000-000-000",
|
|
61
|
+
"key": "non_trafficking_exploitation_offender",
|
|
62
|
+
"title": "Non-trafficking exploitation offender",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Indicates the individual is an offender of exploitation that does not meet the statutory or programmatic thresholds for human trafficking (e.g., labor abuses, non-trafficking commercial sexual exploitation)."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "167-003-000-000-000-000-000",
|
|
70
|
+
"key": "potential_trafficking_offender",
|
|
71
|
+
"title": "Potential trafficking offender",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Indicates the individual is suspected of being a human trafficking offender based on available indicators, but the determination has not been substantiated or confirmed."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "167-004-000-000-000-000-000",
|
|
79
|
+
"key": "trafficking_offender",
|
|
80
|
+
"title": "Trafficking offender",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Indicates the individual is determined to be an offender of human trafficking under the program's applicable definition (e.g., recruiting, harboring, transporting, providing, or obtaining a person for labor or commercial sex through force, fraud, or coercion)."
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "po_petition_basis",
|
|
3
|
+
"name": "Core Protection Order Petition Basis (CVC-213)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-213, Owner Crysta Price, Status 'Drafted - Needs Review'). The alleged conduct forming the basis of a protection-order petition (IC-62).",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 Protection Orders (IC-62)/core - PO_petition_basis CVC — codebook 1.csv (CVC-213)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Protection order petition basis"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "213-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
|
+
"213-000-000-000-000-000-001",
|
|
20
|
+
"213-000-000-000-000-000-002",
|
|
21
|
+
"213-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": "213-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "213-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Unknown or cannot be determined from the available information.",
|
|
33
|
+
"canonicalCode": "UNK"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"code": "213-000-000-000-000-000-002",
|
|
37
|
+
"key": "anonymous",
|
|
38
|
+
"title": "Anonymous / declined to answer",
|
|
39
|
+
"selectable": true,
|
|
40
|
+
"parentCode": "213-000-000-000-000-000-000",
|
|
41
|
+
"childCodes": [],
|
|
42
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
43
|
+
"canonicalCode": "ANON"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"code": "213-000-000-000-000-000-003",
|
|
47
|
+
"key": "data_not_collected",
|
|
48
|
+
"title": "Data not collected",
|
|
49
|
+
"selectable": true,
|
|
50
|
+
"parentCode": "213-000-000-000-000-000-000",
|
|
51
|
+
"childCodes": [],
|
|
52
|
+
"definition": "No attempt was made to collect the information.",
|
|
53
|
+
"canonicalCode": "DNC"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"code": "213-001-000-000-000-000-000",
|
|
57
|
+
"key": "dv",
|
|
58
|
+
"title": "Domestic Violence / Domestic Abuse",
|
|
59
|
+
"selectable": true,
|
|
60
|
+
"parentCode": null,
|
|
61
|
+
"childCodes": [],
|
|
62
|
+
"definition": "Abuse alleged between family or household members or intimate partners, including physical harm, attempted harm, credible threats, or non-consensual sexual conduct, forming the basis for a protective order petition.",
|
|
63
|
+
"canonicalCode": "DV"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"code": "213-002-000-000-000-000-000",
|
|
67
|
+
"key": "har",
|
|
68
|
+
"title": "Harassment",
|
|
69
|
+
"selectable": true,
|
|
70
|
+
"parentCode": null,
|
|
71
|
+
"childCodes": [],
|
|
72
|
+
"definition": "Repeated or ongoing unwanted contact or conduct (including stalking) alleged as the basis for a protective order petition, causing distress, fear, or intimidation.",
|
|
73
|
+
"canonicalCode": "HAR"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"code": "213-003-000-000-000-000-000",
|
|
77
|
+
"key": "sa",
|
|
78
|
+
"title": "Sexual Assault",
|
|
79
|
+
"selectable": true,
|
|
80
|
+
"parentCode": null,
|
|
81
|
+
"childCodes": [],
|
|
82
|
+
"definition": "Non-consensual sexual conduct or attempted conduct alleged as the basis for a protective order petition.",
|
|
83
|
+
"canonicalCode": "SA"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"code": "213-004-000-000-000-000-000",
|
|
87
|
+
"key": "other",
|
|
88
|
+
"title": "Other Qualifying Conduct",
|
|
89
|
+
"selectable": true,
|
|
90
|
+
"parentCode": null,
|
|
91
|
+
"childCodes": [],
|
|
92
|
+
"definition": "Conduct alleged as the basis for a protective order petition that does not fall within defined categories.",
|
|
93
|
+
"canonicalCode": "OTHER"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "po_status",
|
|
3
|
+
"name": "Core Protection Order Status (CVC-214)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-214, Owner Crysta Price, Status 'Drafted - Needs Review'). Lifecycle status of a protection order (IC-62). The codebook's `Level` column encodes a LIFECYCLE STAGE (1 = filing, 2 = interim/ex-parte, 3 = final, 4 = terminal), NOT a parent/child hierarchy — the codebook declares no parents. All values are therefore modelled FLAT and the canonical stage is carried verbatim in `lifecycleStage` rather than inventing a tree.",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 Protection Orders (IC-62)/core - PO_status CVC — codebook 1.csv (CVC-214)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Protection order status"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "214-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
|
+
"214-000-000-000-000-000-001",
|
|
20
|
+
"214-000-000-000-000-000-002",
|
|
21
|
+
"214-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": "214-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "214-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Unknown or cannot be determined from the available information.",
|
|
33
|
+
"canonicalCode": "UNK"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"code": "214-000-000-000-000-000-002",
|
|
37
|
+
"key": "anonymous",
|
|
38
|
+
"title": "Anonymous / declined to answer",
|
|
39
|
+
"selectable": true,
|
|
40
|
+
"parentCode": "214-000-000-000-000-000-000",
|
|
41
|
+
"childCodes": [],
|
|
42
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
43
|
+
"canonicalCode": "ANON"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"code": "214-000-000-000-000-000-003",
|
|
47
|
+
"key": "data_not_collected",
|
|
48
|
+
"title": "Data not collected",
|
|
49
|
+
"selectable": true,
|
|
50
|
+
"parentCode": "214-000-000-000-000-000-000",
|
|
51
|
+
"childCodes": [],
|
|
52
|
+
"definition": "No attempt was made to collect the information.",
|
|
53
|
+
"canonicalCode": "DNC"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"code": "214-001-000-000-000-000-000",
|
|
57
|
+
"key": "filed",
|
|
58
|
+
"title": "Filed / Requested",
|
|
59
|
+
"selectable": true,
|
|
60
|
+
"parentCode": null,
|
|
61
|
+
"childCodes": [],
|
|
62
|
+
"definition": "A protection order petition or request has been formally submitted to the court.",
|
|
63
|
+
"canonicalCode": "FILED",
|
|
64
|
+
"lifecycleStage": 1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"code": "214-002-000-000-000-000-000",
|
|
68
|
+
"key": "ex_parte_granted",
|
|
69
|
+
"title": "Ex Parte Granted",
|
|
70
|
+
"selectable": true,
|
|
71
|
+
"parentCode": null,
|
|
72
|
+
"childCodes": [],
|
|
73
|
+
"definition": "Temporary or emergency protection has been granted prior to a full hearing or final adjudication.",
|
|
74
|
+
"canonicalCode": "EX_PARTE_GRANTED",
|
|
75
|
+
"lifecycleStage": 2
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "214-003-000-000-000-000-000",
|
|
79
|
+
"key": "hearing_pending",
|
|
80
|
+
"title": "Show Cause Hearing Pending",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Temporary or emergency protection was not granted and the case is awaiting or proceeding to a hearing or court-ordered appearance.",
|
|
85
|
+
"canonicalCode": "HEARING_PENDING",
|
|
86
|
+
"lifecycleStage": 2
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "214-004-000-000-000-000-000",
|
|
90
|
+
"key": "denied_outright",
|
|
91
|
+
"title": "Denied Outright",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "The protection order petition was denied at initial review without advancing to a hearing.",
|
|
96
|
+
"canonicalCode": "DENIED_OUTRIGHT",
|
|
97
|
+
"lifecycleStage": 2
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"code": "214-005-000-000-000-000-000",
|
|
101
|
+
"key": "final_granted",
|
|
102
|
+
"title": "Final Granted",
|
|
103
|
+
"selectable": true,
|
|
104
|
+
"parentCode": null,
|
|
105
|
+
"childCodes": [],
|
|
106
|
+
"definition": "A final protection order has been granted following hearing or final court determination.",
|
|
107
|
+
"canonicalCode": "FINAL_GRANTED",
|
|
108
|
+
"lifecycleStage": 3
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"code": "214-006-000-000-000-000-000",
|
|
112
|
+
"key": "final_denied_or_dismissed",
|
|
113
|
+
"title": "Final Denied or Dismissed",
|
|
114
|
+
"selectable": true,
|
|
115
|
+
"parentCode": null,
|
|
116
|
+
"childCodes": [],
|
|
117
|
+
"definition": "The petition was denied or dismissed following hearing or final court review.",
|
|
118
|
+
"canonicalCode": "FINAL_DENIED_OR_DISMISSED",
|
|
119
|
+
"lifecycleStage": 3
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"code": "214-007-000-000-000-000-000",
|
|
123
|
+
"key": "expired",
|
|
124
|
+
"title": "Expired",
|
|
125
|
+
"selectable": true,
|
|
126
|
+
"parentCode": null,
|
|
127
|
+
"childCodes": [],
|
|
128
|
+
"definition": "A protection order has reached the end of its effective period and is no longer active.",
|
|
129
|
+
"canonicalCode": "EXPIRED",
|
|
130
|
+
"lifecycleStage": 4
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"code": "214-008-000-000-000-000-000",
|
|
134
|
+
"key": "emergency",
|
|
135
|
+
"title": "Emergency Granted",
|
|
136
|
+
"selectable": true,
|
|
137
|
+
"parentCode": null,
|
|
138
|
+
"childCodes": [],
|
|
139
|
+
"definition": "An emergency protective order has been issued in response to an immediate and present danger, typically outside normal court processes (e.g., via law enforcement or after-hours judicial authorization). Provides short-term protection pending formal court review.",
|
|
140
|
+
"canonicalCode": "EMERGENCY",
|
|
141
|
+
"lifecycleStage": 2
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "po_violation_status",
|
|
3
|
+
"name": "Core Protection Order Violation Status (CVC-215)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-215, Owner Crysta Price, Status 'Drafted - Needs Review'). Whether a protection order was violated during its effective period (IC-62).",
|
|
6
|
+
"_source": "htilabstech/prototype@a596eb9 Protection Orders (IC-62)/core PO violation status CVC — codebook 1.csv (CVC-215)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Protection order violation status"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "215-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
|
+
"215-000-000-000-000-000-001",
|
|
20
|
+
"215-000-000-000-000-000-002",
|
|
21
|
+
"215-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": "215-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "215-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Unknown or cannot be determined from the available information.",
|
|
33
|
+
"canonicalCode": "UNK"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"code": "215-000-000-000-000-000-002",
|
|
37
|
+
"key": "anonymous",
|
|
38
|
+
"title": "Anonymous / declined to answer",
|
|
39
|
+
"selectable": true,
|
|
40
|
+
"parentCode": "215-000-000-000-000-000-000",
|
|
41
|
+
"childCodes": [],
|
|
42
|
+
"definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
43
|
+
"canonicalCode": "ANON"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"code": "215-000-000-000-000-000-003",
|
|
47
|
+
"key": "data_not_collected",
|
|
48
|
+
"title": "Data not collected",
|
|
49
|
+
"selectable": true,
|
|
50
|
+
"parentCode": "215-000-000-000-000-000-000",
|
|
51
|
+
"childCodes": [],
|
|
52
|
+
"definition": "No attempt was made to collect the information.",
|
|
53
|
+
"canonicalCode": "DNC"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"code": "215-001-000-000-000-000-000",
|
|
57
|
+
"key": "violated",
|
|
58
|
+
"title": "Violated",
|
|
59
|
+
"selectable": true,
|
|
60
|
+
"parentCode": null,
|
|
61
|
+
"childCodes": [],
|
|
62
|
+
"definition": "There is a known or credible indication that the respondent violated the terms of the protection order during its effective period.",
|
|
63
|
+
"canonicalCode": "VIOLATED"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"code": "215-002-000-000-000-000-000",
|
|
67
|
+
"key": "notviolated",
|
|
68
|
+
"title": "Not Violated",
|
|
69
|
+
"selectable": true,
|
|
70
|
+
"parentCode": null,
|
|
71
|
+
"childCodes": [],
|
|
72
|
+
"definition": "No known or indicated violation of the protection order during its effective period.",
|
|
73
|
+
"canonicalCode": "NOTVIOLATED"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
"domain": "radius_bucket",
|
|
3
3
|
"name": "radiusBucket",
|
|
4
4
|
"version": "1.0.0",
|
|
5
|
-
"_status":
|
|
5
|
+
"_status": {
|
|
6
|
+
"vocabStatus": "provisional-pending-notion-ratification",
|
|
7
|
+
"authoredBy": "platform-common 0.8.13",
|
|
8
|
+
"evidence": "Substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (pave-2.0/packages/domain/src/enums.ts). Net-new value-CVC not yet in Notion; provisional 900-block numbering (967).",
|
|
9
|
+
"keyFix": "BREAKING (provisional domain). Keys were the bare numerals 10 / 50 / 100 / 250 / 500, which VIOLATE the CVC key contract /^[a-z][a-z0-9_]*$/ (a key may not start with a digit). They are now mi_10 / mi_50 / mi_100 / mi_250 / mi_500, with the numeric mileage carried losslessly on each entry as `radiusMiles`. Codes are UNCHANGED (967-001..967-005). Caught by the new CVC drift gate (assertion G) — this domain had never been validated, because cvc-structural.test.ts drives off a hand-maintained file list that omitted it. The gate scans the directory instead, so nothing can hide from it again.",
|
|
10
|
+
"upstreamReconciliation": "radius_bucket has no Notion CVC number. Confirm the 5 buckets and assign a canonical number, or confirm it should stay PAVE-local.",
|
|
11
|
+
"consumerRebind": "pave-2.0 RadiusBucketKeys: '10' -> 'mi_10' etc. Read the mileage from `radiusMiles` rather than parsing the key."
|
|
12
|
+
},
|
|
6
13
|
"_source": "pave-2.0/packages/domain/src/enums.ts",
|
|
7
14
|
"levels": {
|
|
8
15
|
"0": "Unknown or Missing",
|
|
@@ -51,48 +58,53 @@
|
|
|
51
58
|
},
|
|
52
59
|
{
|
|
53
60
|
"code": "967-001-000-000-000-000-000",
|
|
54
|
-
"key": "
|
|
61
|
+
"key": "mi_10",
|
|
55
62
|
"title": "10 miles",
|
|
56
63
|
"selectable": true,
|
|
57
64
|
"parentCode": null,
|
|
58
65
|
"childCodes": [],
|
|
59
|
-
"definition": "Search/proximity radius bucket: 10 miles."
|
|
66
|
+
"definition": "Search/proximity radius bucket: 10 miles.",
|
|
67
|
+
"radiusMiles": 10
|
|
60
68
|
},
|
|
61
69
|
{
|
|
62
70
|
"code": "967-002-000-000-000-000-000",
|
|
63
|
-
"key": "
|
|
71
|
+
"key": "mi_50",
|
|
64
72
|
"title": "50 miles",
|
|
65
73
|
"selectable": true,
|
|
66
74
|
"parentCode": null,
|
|
67
75
|
"childCodes": [],
|
|
68
|
-
"definition": "Search/proximity radius bucket: 50 miles."
|
|
76
|
+
"definition": "Search/proximity radius bucket: 50 miles.",
|
|
77
|
+
"radiusMiles": 50
|
|
69
78
|
},
|
|
70
79
|
{
|
|
71
80
|
"code": "967-003-000-000-000-000-000",
|
|
72
|
-
"key": "
|
|
81
|
+
"key": "mi_100",
|
|
73
82
|
"title": "100 miles",
|
|
74
83
|
"selectable": true,
|
|
75
84
|
"parentCode": null,
|
|
76
85
|
"childCodes": [],
|
|
77
|
-
"definition": "Search/proximity radius bucket: 100 miles."
|
|
86
|
+
"definition": "Search/proximity radius bucket: 100 miles.",
|
|
87
|
+
"radiusMiles": 100
|
|
78
88
|
},
|
|
79
89
|
{
|
|
80
90
|
"code": "967-004-000-000-000-000-000",
|
|
81
|
-
"key": "
|
|
91
|
+
"key": "mi_250",
|
|
82
92
|
"title": "250 miles",
|
|
83
93
|
"selectable": true,
|
|
84
94
|
"parentCode": null,
|
|
85
95
|
"childCodes": [],
|
|
86
|
-
"definition": "Search/proximity radius bucket: 250 miles."
|
|
96
|
+
"definition": "Search/proximity radius bucket: 250 miles.",
|
|
97
|
+
"radiusMiles": 250
|
|
87
98
|
},
|
|
88
99
|
{
|
|
89
100
|
"code": "967-005-000-000-000-000-000",
|
|
90
|
-
"key": "
|
|
101
|
+
"key": "mi_500",
|
|
91
102
|
"title": "500 miles",
|
|
92
103
|
"selectable": true,
|
|
93
104
|
"parentCode": null,
|
|
94
105
|
"childCodes": [],
|
|
95
|
-
"definition": "Search/proximity radius bucket: 500 miles."
|
|
106
|
+
"definition": "Search/proximity radius bucket: 500 miles.",
|
|
107
|
+
"radiusMiles": 500
|
|
96
108
|
}
|
|
97
109
|
]
|
|
98
110
|
}
|