@htilabs/platform-common-models 0.9.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/index.cjs +4 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +16 -1
- package/dist/config/index.d.ts +16 -1
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +473 -182
- 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 +470 -170
- package/dist/constants/index.js.map +1 -1
- package/dist/cvc-Cp4uWnAa.d.cts +298 -0
- package/dist/cvc-Cp4uWnAa.d.ts +298 -0
- package/dist/cvcs/index.cjs +21798 -811
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +25138 -2212
- package/dist/cvcs/index.d.ts +25138 -2212
- package/dist/cvcs/index.js +21736 -810
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +4557 -0
- package/dist/enums/index.cjs.map +1 -0
- package/dist/enums/index.d.cts +5257 -0
- package/dist/enums/index.d.ts +5257 -0
- package/dist/enums/index.js +4354 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/index.cjs +24053 -1052
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3072
- package/dist/index.d.ts +5 -3072
- package/dist/index.js +23928 -1039
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.cjs +383 -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 +351 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-XVB9aHqR.d.cts → platform-auth-Dv5fu0Fh.d.cts} +22 -77
- package/dist/{platform-auth-XVB9aHqR.d.ts → platform-auth-Dv5fu0Fh.d.ts} +22 -77
- package/dist/schemas/index.cjs +30 -157
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +30 -157
- 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/dist/validation/index.cjs +58 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +82 -283
- package/dist/validation/index.d.ts +82 -283
- package/dist/validation/index.js +57 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +18 -1
- package/src/__sot__/README.md +91 -0
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +2149 -0
- package/src/__sot__/cvcIndex.pin.json +272 -0
- package/src/__sot__/scoringEmits.pin.json +176 -0
- package/src/__tests__/__snapshots__/cvc-sot.snap +260 -40
- package/src/__tests__/core-information-scope-invariant.test.ts +134 -0
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +328 -0
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +1036 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +191 -18
- package/src/__tests__/cvc-status-parser.test.ts +150 -0
- package/src/__tests__/cvc-structural.test.ts +70 -1
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/config/index.ts +8 -2
- package/src/constants/ic.ts +629 -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 +647 -0
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/carCorrectionReason.v1.0.0.json +89 -0
- package/src/cvcs/caseShareState.v1.0.0.json +62 -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 +2918 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +1165 -0
- package/src/cvcs/coreReferralOutcome.v1.0.0.json +71 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +1166 -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 +47 -37
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
- package/src/cvcs/index.ts +138 -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/minorAdultStatus.v1.0.0.json +80 -0
- 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/personRelationships.v1.0.0.json +67 -2
- 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/referralOrigin.v1.0.0.json +26 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +123 -0
- package/src/cvcs/riskCategory.v1.0.0.json +134 -0
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -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 +283 -0
- package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
- package/src/cvcs/sharePurpose.v1.0.0.json +80 -12
- 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/subjectType.v1.0.0.json +80 -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 +2318 -10
- 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/src/validation/cvcStatus.ts +209 -0
- package/src/validation/index.ts +1 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "radius_bucket",
|
|
3
|
+
"name": "radiusBucket",
|
|
4
|
+
"version": "1.0.0",
|
|
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
|
+
},
|
|
13
|
+
"_source": "pave-2.0/packages/domain/src/enums.ts",
|
|
14
|
+
"levels": {
|
|
15
|
+
"0": "Unknown or Missing",
|
|
16
|
+
"1": "Search radius bucket (miles)"
|
|
17
|
+
},
|
|
18
|
+
"entries": [
|
|
19
|
+
{
|
|
20
|
+
"code": "967-000-000-000-000-000-000",
|
|
21
|
+
"key": "missingness_root",
|
|
22
|
+
"title": "Unknown, Redacted, or Missing",
|
|
23
|
+
"selectable": false,
|
|
24
|
+
"parentCode": null,
|
|
25
|
+
"childCodes": [
|
|
26
|
+
"967-000-000-000-000-000-001",
|
|
27
|
+
"967-000-000-000-000-000-002",
|
|
28
|
+
"967-000-000-000-000-000-003"
|
|
29
|
+
],
|
|
30
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "967-000-000-000-000-000-001",
|
|
34
|
+
"key": "unknown",
|
|
35
|
+
"title": "Unknown",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "967-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "The radius_bucket is unknown or cannot be determined."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "967-000-000-000-000-000-002",
|
|
43
|
+
"key": "anonymous",
|
|
44
|
+
"title": "Anonymous / declined to answer",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "967-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "967-000-000-000-000-000-003",
|
|
52
|
+
"key": "data_not_collected",
|
|
53
|
+
"title": "Data not collected",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": "967-000-000-000-000-000-000",
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "No attempt was made to collect the value."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "967-001-000-000-000-000-000",
|
|
61
|
+
"key": "mi_10",
|
|
62
|
+
"title": "10 miles",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Search/proximity radius bucket: 10 miles.",
|
|
67
|
+
"radiusMiles": 10
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"code": "967-002-000-000-000-000-000",
|
|
71
|
+
"key": "mi_50",
|
|
72
|
+
"title": "50 miles",
|
|
73
|
+
"selectable": true,
|
|
74
|
+
"parentCode": null,
|
|
75
|
+
"childCodes": [],
|
|
76
|
+
"definition": "Search/proximity radius bucket: 50 miles.",
|
|
77
|
+
"radiusMiles": 50
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "967-003-000-000-000-000-000",
|
|
81
|
+
"key": "mi_100",
|
|
82
|
+
"title": "100 miles",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Search/proximity radius bucket: 100 miles.",
|
|
87
|
+
"radiusMiles": 100
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"code": "967-004-000-000-000-000-000",
|
|
91
|
+
"key": "mi_250",
|
|
92
|
+
"title": "250 miles",
|
|
93
|
+
"selectable": true,
|
|
94
|
+
"parentCode": null,
|
|
95
|
+
"childCodes": [],
|
|
96
|
+
"definition": "Search/proximity radius bucket: 250 miles.",
|
|
97
|
+
"radiusMiles": 250
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"code": "967-005-000-000-000-000-000",
|
|
101
|
+
"key": "mi_500",
|
|
102
|
+
"title": "500 miles",
|
|
103
|
+
"selectable": true,
|
|
104
|
+
"parentCode": null,
|
|
105
|
+
"childCodes": [],
|
|
106
|
+
"definition": "Search/proximity radius bucket: 500 miles.",
|
|
107
|
+
"radiusMiles": 500
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|