@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.
- package/dist/config/index.cjs +85 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +94 -4
- package/dist/config/index.d.ts +94 -4
- package/dist/config/index.js +81 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +456 -181
- 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 +453 -169
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +15331 -801
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +18167 -2208
- package/dist/cvcs/index.d.ts +18167 -2208
- package/dist/cvcs/index.js +15282 -801
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +17070 -1056
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1638 -12
- package/dist/index.d.ts +1638 -12
- package/dist/index.js +16969 -1043
- 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/mongo/index.cjs +384 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +352 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-v53r3BhN.d.cts} +19 -75
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-v53r3BhN.d.ts} +19 -75
- package/dist/schemas/index.cjs +25 -156
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js +25 -156
- 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 +9 -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 +227 -35
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +323 -0
- package/src/__tests__/cvc-drift-gate.test.ts +603 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +122 -11
- package/src/__tests__/cvc-structural.test.ts +56 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/__tests__/runtime-contract-validator.test.ts +325 -1
- package/src/config/index.ts +197 -6
- package/src/constants/ic.ts +512 -206
- package/src/constants/service-catalog.ts +4 -2
- package/src/cvcs/activityType.v1.0.0.json +143 -0
- 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 +629 -0
- package/src/cvcs/{checkInPhase.v1.0.0.json → checkInPhase.v1.1.0.json} +20 -2
- package/src/cvcs/childChangeType.v1.0.0.json +152 -0
- package/src/cvcs/citizenship.v1.0.0.json +3062 -0
- package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
- package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
- package/src/cvcs/coreDhState.v1.0.0.json +113 -0
- package/src/cvcs/coreFunctions.v1.0.0.json +746 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +2840 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -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 +55 -46
- package/src/cvcs/hivStatus.v1.0.0.json +71 -0
- package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +104 -0
- package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +161 -0
- package/src/cvcs/htType.v1.0.0.json +87 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/immigrationLegalStatusChangeType.v1.0.0.json +143 -0
- 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/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +106 -1
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +28 -18
- package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
- package/src/cvcs/livingSituation.v1.0.0.json +213 -0
- package/src/cvcs/mentalHealthStatus.v1.0.0.json +71 -0
- 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/needsAssessmentChangeType.v1.0.0.json +134 -0
- 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/programEnrollmentChangeType.v1.0.0.json +134 -0
- package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
- package/src/cvcs/radiusBucket.v1.0.0.json +110 -0
- package/src/cvcs/recencyBand.v1.0.0.json +104 -39
- package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
- package/src/cvcs/roiMethod.v1.0.0.json +107 -0
- package/src/cvcs/roiScope.v1.0.0.json +296 -0
- package/src/cvcs/roiStatus.v1.0.0.json +106 -0
- package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +162 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -0
- 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 +55 -33
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
- 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/sourceSubtype.v1.1.0.json +36 -0
- package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
- package/src/cvcs/specialNeedsDisabilities.v1.0.0.json +143 -0
- package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
- package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
- package/src/cvcs/userRoles.v1.0.0.json +203 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -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 +1729 -7
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/services/cvcRegistryService.ts +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "program_enrollment_change_type",
|
|
3
|
+
"name": "Program Enrollment Change Type",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_program_enrollment_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Generalized lifecycle CAR-verb vocabulary for the status transitions of HTI program-enrollment and federal-protection legal-action records.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_program_enrollment_change_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Record lifecycle verb"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "978-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
|
+
"978-000-000-000-000-000-001",
|
|
20
|
+
"978-000-000-000-000-000-002",
|
|
21
|
+
"978-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Standard workspace missingness triplet; the prototype YAML enumerates only level-1 canonical lifecycle verbs, so the triplet is added per SOT convention."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "978-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "978-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Enrollment change type is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "978-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "978-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "978-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "978-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "Not collected during this interaction. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "978-001-000-000-000-000-000",
|
|
54
|
+
"key": "program_enrollment_drafted",
|
|
55
|
+
"title": "Program enrollment drafted",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Advocate creates the record in `applied` status (typically from `NEEDS-IMM-TVAP-1` Yes or analogous demand answer for non-TVAP programs). Status transition → APPLIED. Permission gate per § 4.3.5 — `case_nav` user role."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "978-002-000-000-000-000-000",
|
|
63
|
+
"key": "program_enrollment_submitted",
|
|
64
|
+
"title": "Program enrollment submitted",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Supervisor submits the record to the external administering entity (USCRI for TVAP; USCIS for federal-protection legal actions; analogous for other programs). Status transition APPLIED → PENDING. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — review sub-action)."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "978-003-000-000-000-000-000",
|
|
72
|
+
"key": "program_enrollment_approved",
|
|
73
|
+
"title": "Program enrollment approved",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "External administering entity returns approval. Captures program-specific identifiers at this transition — USCRI # + USCIS Alien Number for TVAP; analogous identifiers for other programs. Status transition PENDING → APPROVED. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — approval-record sub-action)."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "978-004-000-000-000-000-000",
|
|
81
|
+
"key": "program_enrollment_activated",
|
|
82
|
+
"title": "Program enrollment activated",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Survivor's program-funded services begin. Status transition APPROVED → ACTIVE. Permission gate per § 4.3.5 — `case_nav` user role."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "978-005-000-000-000-000-000",
|
|
90
|
+
"key": "program_enrollment_denied",
|
|
91
|
+
"title": "Program enrollment denied",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "External administering entity returns denial. Status transition PENDING → DENIED. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — approval-record sub-action)."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "978-006-000-000-000-000-000",
|
|
99
|
+
"key": "program_enrollment_closed",
|
|
100
|
+
"title": "Program enrollment closed",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Active enrollment ends — client transfers / leaves program / case closure. Status transition ACTIVE → CLOSED. Carries closure_reason from `core_exit_reasons` CVC (canonical v2.2 — the May 7 `core_program_enrollment_closure_reason` was retired May 14 in favor of unified `core_exit_reasons.yaml`). Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function (composite — discontinuation-authorize sub-action)."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "978-007-000-000-000-000-000",
|
|
108
|
+
"key": "program_enrollment_expired",
|
|
109
|
+
"title": "Program enrollment expired",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Active enrollment lapses without renewal (recertification deadline missed). Status transition ACTIVE → EXPIRED. Permission gate per § 4.3.5 — `case_nav` user role (recertification reminder workflow)."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "978-008-000-000-000-000-000",
|
|
117
|
+
"key": "program_enrollment_restored",
|
|
118
|
+
"title": "Program enrollment restored",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Re-activated after closure / expiration (rare; possible). Status transition CLOSED/EXPIRED → ACTIVE. Permission gate per § 4.3.5 — proposed `program_enrollment_supervisor_review` function."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "978-009-000-000-000-000-000",
|
|
126
|
+
"key": "program_prior_history_captured",
|
|
127
|
+
"title": "Program prior history captured",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Advocate records prior-agency enrollment (the survivor was previously enrolled in TVAP at another agency before transferring to current agency). Distinct from current-agency enrollment lifecycle. No status transition (historical record). Permission gate per § 4.3.5 — `case_nav` user role."
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|