@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,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "assertion_status",
|
|
3
|
+
"name": "Assertion Status",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "PROVISIONAL — GDR §10.1 confirmed-CVC name is `core - status`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `ASSERTION_STATUSES` enum (D10 GDR §10.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive lifecycle states, so the missingness quadruplet is added per SOT convention.",
|
|
6
|
+
"_source": "pave-2.0/packages/domain/src/enums.ts ASSERTION_STATUSES",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Assertion lifecycle status"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "985-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
|
+
"985-000-000-000-000-000-001",
|
|
20
|
+
"985-000-000-000-000-000-002",
|
|
21
|
+
"985-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "985-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "985-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "The assertion status is unknown at time of entry (missingness sentinel)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "985-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "985-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "985-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "985-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "985-001-000-000-000-000-000",
|
|
54
|
+
"key": "active",
|
|
55
|
+
"title": "Active",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "In force — the current, non-superseded row for its spine partition. Emitting systems typically default new assertions to this status (e.g. PAVE's assertion factory defaults `status: \"active\"`)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "985-002-000-000-000-000-000",
|
|
63
|
+
"key": "superseded",
|
|
64
|
+
"title": "Superseded",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Replaced by a later assertion row in the same spine partition. When status === \"superseded\", `supersedes_assertion_id` is required per GLOBAL_DESIGN_RULES §5.5."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "985-003-000-000-000-000-000",
|
|
72
|
+
"key": "retracted",
|
|
73
|
+
"title": "Retracted",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Withdrawn or invalidated without a replacement row — the claim is no longer asserted. Distinct from superseded (which points at a successor)."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "car_correction_reason",
|
|
3
|
+
"name": "CAR Correction Reason",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering (992). Non-clinical bookkeeping/provenance vocabulary — the coded KIND of a CAR (Contextual Assertion Record) correction or retraction, engineer-direct-authored per the PAVE CVC-authoring governance steer (structural, provisional/ratify-later; FYI to Crysta, NOT Crysta-gated). The first three tokens are sourced verbatim from PAVE `@pave/domain` CAR_CORRECTION_REASONS / RETRACTION_TYPES (packages/domain/src/carGovernance.ts), themselves hoisted from packages/db/src/services/assertionRetraction.ts's documented `retractionType` set; publishing them here retires that PAVE-local const in favour of the SOT it always wanted (carGovernance.ts §'Where these labels are DERIVED' notes 'the day a CVC publishes these three the swap is one deriveLabels call'). The fourth, removed_by_recipient_curation, is added for the PAVE CaseShare received-content curation lane (bead pv-p6share-curation-retract-reason-vocab, 2026-09-18). CASING: lower_snake per the CVC key regex. PENDING canonical Notion authoring + steward ratification.",
|
|
6
|
+
"_source": "pave-2.0/packages/domain/src/carGovernance.ts CAR_CORRECTION_REASONS; pave-2.0/packages/db/src/services/assertionRetraction.ts RetractAssertionInput.retractionType; removed_by_recipient_curation net-new for the received-content curation lane (pv-p6share-curation-retract-reason-vocab)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "CAR correction / retraction reason (single-select per correction event)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "992-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
|
+
"992-000-000-000-000-000-001",
|
|
20
|
+
"992-000-000-000-000-000-002",
|
|
21
|
+
"992-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). No prefer_not_to_answer — workspace standard ANON semantic rolls 'declined to answer' into the anonymous sentinel. A correction reason is always explicitly chosen in practice; the quadruplet is present per SOT convention, not because a correction is expected to be missing."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "992-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "992-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "992-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "992-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "992-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "992-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "992-001-000-000-000-000-000",
|
|
54
|
+
"key": "entered_in_error",
|
|
55
|
+
"title": "Entered in error",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "The assertion should never have been recorded — it was captured by mistake (wrong subject, wrong field, an advocate mis-click, or a claim the conversation did not actually support). The row is RETRACTED, not hard-deleted: a retraction retains the row it retracts so the log of record stays forensic. The canonical 'this is not true and never was' correction."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "992-002-000-000-000-000-000",
|
|
63
|
+
"key": "duplicate",
|
|
64
|
+
"title": "Duplicate of another assertion",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "The same claim was asserted twice in the same spine partition (e.g. captured from two surfaces, or re-emitted by an ingest path that did not de-duplicate). The duplicate copy is retracted; the canonical copy remains active. Distinct from entered_in_error: the claim IS true, it is merely recorded more than once."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "992-003-000-000-000-000-000",
|
|
72
|
+
"key": "superseded_externally",
|
|
73
|
+
"title": "Superseded externally",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "The assertion is retired because a truer or more current value arrived from OUTSIDE the ordinary in-partition supersession chain (e.g. a corrected value from another system or a later disclosure that a normal supersede row could not express). Use when the successor is not itself a spine row that carries `supersedes_assertion_id`; where an in-partition successor exists, status 'superseded' with `supersedes_assertion_id` is the right shape instead."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "992-004-000-000-000-000-000",
|
|
81
|
+
"key": "removed_by_recipient_curation",
|
|
82
|
+
"title": "Removed by recipient curation",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Recipient-side curation removal of a received (re-emitted) assertion; added for PAVE CaseShare received-content curation, 2026-09-18. A recipient agency curates a cleanly-attributed foreign re-emitted CAR (indicator / victimization / involvement) out of their own record — the claim is not asserted as false, it is simply not one this recipient chooses to carry. The row is RETRACTED with this coded, honest reason rather than silently dropped, so the received-then-removed sequence stays on the log of record and the origin's assertion is untouched. Distinct from entered_in_error (a mistaken capture) and from duplicate (a redundant copy): the assertion was validly received and validly removed by the receiving side's curation decision."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "case_share_state",
|
|
3
|
+
"name": "Core Case Share State",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": { "1": "State" },
|
|
6
|
+
"entries": [
|
|
7
|
+
{
|
|
8
|
+
"code": "925-001-000-000-000-000-000",
|
|
9
|
+
"key": "pending",
|
|
10
|
+
"title": "Pending",
|
|
11
|
+
"selectable": true,
|
|
12
|
+
"parentCode": null,
|
|
13
|
+
"childCodes": [],
|
|
14
|
+
"definition": "The share has been delivered to the receiving party and is awaiting a claim. No one on the receiving side has taken responsibility for it yet, and no client content has been disclosed."
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"code": "925-002-000-000-000-000-000",
|
|
18
|
+
"key": "claimed",
|
|
19
|
+
"title": "Claimed",
|
|
20
|
+
"selectable": true,
|
|
21
|
+
"parentCode": null,
|
|
22
|
+
"childCodes": [],
|
|
23
|
+
"definition": "A team on the receiving side has taken custody of the share but has not yet accepted it. Claiming assigns responsibility only; it discloses no client content, so a claimed share is still outstanding work rather than a completed exchange."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "925-003-000-000-000-000-000",
|
|
27
|
+
"key": "accepted_awaiting_review",
|
|
28
|
+
"title": "Accepted — awaiting review",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": null,
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "The share has been accepted and its content disclosed, but one or more delivered persons matched an existing record ambiguously and are held for a human decision before the receiving record is linked."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "925-004-000-000-000-000-000",
|
|
36
|
+
"key": "accepted",
|
|
37
|
+
"title": "Accepted",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": null,
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "The share has been accepted, its content disclosed, and the link to the receiving party's record written. Terminal."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "925-005-000-000-000-000-000",
|
|
45
|
+
"key": "declined",
|
|
46
|
+
"title": "Declined",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": null,
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "The receiving party refused the share at the claim decision point, BEFORE its content was disclosed. Distinct from rejected: no client information was released, so the refusal carries no disclosure to account for. Terminal."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "925-006-000-000-000-000-000",
|
|
54
|
+
"key": "rejected",
|
|
55
|
+
"title": "Rejected",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "The receiving party refused the share AFTER accepting it and reviewing its content. Distinct from declined: the disclosure already occurred and remains subject to the receiving party's retention and audit obligations. Terminal."
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "check_in_phase",
|
|
3
3
|
"name": "Check-In Phase",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_check_in_phase.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Flat single-select controlled set authored faithfully; the prototype YAML carries a per-entry program_type (residential|non_residential|any) dimension preserved inline in each definition. May collapse into IC-63 session templates at a later build phase.",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_check_in_phase.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Flat single-select controlled set authored faithfully; the prototype YAML carries a per-entry program_type (residential|non_residential|any) dimension preserved inline in each definition. May collapse into IC-63 session templates at a later build phase. v1.1.0 appends `phase_2_followup` (907-012) and `phase_3_followup` (907-013). NOTE: no `exit_review` leaf is added — CVC-907 already carries `pre_exit_review` (907-010) and duplicating that semantic is explicitly declined.",
|
|
6
6
|
"_source": "prototype/data/cvcs/core_check_in_phase.yaml",
|
|
7
7
|
"levels": {
|
|
8
8
|
"0": "Unknown or Missing",
|
|
@@ -147,6 +147,24 @@
|
|
|
147
147
|
"parentCode": null,
|
|
148
148
|
"childCodes": [],
|
|
149
149
|
"definition": "Check-in after the survivor has exited the program. Captures sustained outcomes and ongoing support needs. program_type: any."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"code": "907-012-000-000-000-000-000",
|
|
153
|
+
"key": "phase_2_followup",
|
|
154
|
+
"title": "Phase 2 follow-up",
|
|
155
|
+
"selectable": true,
|
|
156
|
+
"parentCode": null,
|
|
157
|
+
"childCodes": [],
|
|
158
|
+
"definition": "Follow-up check-in attached to the Phase 2 (30-to-60-day) residential window — a follow-up touch inside the phase, as distinct from the phase-boundary check-in itself (`phase_2_60d`). program_type: residential. Added in v1.1.0."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"code": "907-013-000-000-000-000-000",
|
|
162
|
+
"key": "phase_3_followup",
|
|
163
|
+
"title": "Phase 3 follow-up",
|
|
164
|
+
"selectable": true,
|
|
165
|
+
"parentCode": null,
|
|
166
|
+
"childCodes": [],
|
|
167
|
+
"definition": "Follow-up check-in attached to the Phase 3 (60-to-90-day) residential window — a follow-up touch inside the phase, as distinct from the phase-boundary check-in itself (`phase_3_90d`). program_type: residential. Added in v1.1.0."
|
|
150
168
|
}
|
|
151
169
|
]
|
|
152
170
|
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "child_change_type",
|
|
3
|
+
"name": "Child 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_child_change_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Lifecycle + sub-block change-event verbs (CHILD_* CARs) emitted by the Add/Edit Child openers and child-profile sub-blocks; routes to StatusLog under assertion_domain child_profile.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_child_change_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Child profile change event (CAR verb)"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "976-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
|
+
"976-000-000-000-000-000-001",
|
|
20
|
+
"976-000-000-000-000-000-002",
|
|
21
|
+
"976-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). The prototype YAML enumerates only the substantive level-1 CHILD_* change verbs, so the triplet is added per SOT convention."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "976-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "976-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Change-event type is unknown at time of entry (missingness sentinel)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "976-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "976-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "976-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "976-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "976-001-000-000-000-000-000",
|
|
54
|
+
"key": "child_added",
|
|
55
|
+
"title": "Child added",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Fires once per Add Child save when a new HTI_CHILD_PROFILES[] row is created. Carries { subject_id, child_person_id, child_profile_id, relationship_type_code (locked to parent_child / child_of) }. Pairs with separate value-level CARs for sub-block fields populated in the same save. (YAML code CHILD_ADDED.)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "976-002-000-000-000-000-000",
|
|
63
|
+
"key": "child_updated",
|
|
64
|
+
"title": "Child profile updated",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Fires on Edit Child save when a row is updated. Carries the changed-field delta. Per GDR § 5.6.4 trivial-edit policy, single-field micro-edits may suppress the CAR; material multi-field edits emit one row. (YAML code CHILD_UPDATED.)"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "976-003-000-000-000-000-000",
|
|
72
|
+
"key": "child_archived",
|
|
73
|
+
"title": "Child archived",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Fires when archiveChild is called. Soft-archive — sets active.to timestamp; row remains queryable. Carries { subject_id, child_person_id, child_profile_id, archived_reason (optional) }. (YAML code CHILD_ARCHIVED.)"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "976-004-000-000-000-000-000",
|
|
81
|
+
"key": "child_restored",
|
|
82
|
+
"title": "Child restored",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Fires when restoreChild is called on an archived row. Carries { subject_id, child_person_id, child_profile_id }. (YAML code CHILD_RESTORED.)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "976-005-000-000-000-000-000",
|
|
90
|
+
"key": "child_education_updated",
|
|
91
|
+
"title": "Child education updated",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Fires when school/daycare attendance Y/N/U + name + grade + level fields change in aggregate. Carries the school/daycare snapshot. (YAML code CHILD_EDUCATION_UPDATED.)"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "976-006-000-000-000-000-000",
|
|
99
|
+
"key": "child_health_updated",
|
|
100
|
+
"title": "Child health & needs updated",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Fires when special-needs codes / medication needs / accommodations / allergies / immediate health needs change in aggregate. Multi-field aggregate verb keeps the CAR ledger digestible. (YAML code CHILD_HEALTH_UPDATED.)"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "976-007-000-000-000-000-000",
|
|
108
|
+
"key": "child_custody_updated",
|
|
109
|
+
"title": "Child custody arrangement updated",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Fires when custody_arrangement_code or any of the Y/N flags (court-ordered custody / documentation / visitation / other contact / Child Welfare involvement) change. Aggregate verb covering the custody sub-block. (YAML code CHILD_CUSTODY_UPDATED.)"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "976-008-000-000-000-000-000",
|
|
117
|
+
"key": "child_parental_rights_updated",
|
|
118
|
+
"title": "Child loss of parental rights updated",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Fires when the per-child LoPR sub-block changes (Y/N + court-ordered + voluntary + caregiver + restrictions). Distinct from CHILD_CUSTODY_UPDATED: LoPR captures the historical / terminal-state of rights; custody captures the current arrangement. (YAML code CHILD_PARENTAL_RIGHTS_UPDATED.)"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "976-009-000-000-000-000-000",
|
|
126
|
+
"key": "child_behavioral_concerns_updated",
|
|
127
|
+
"title": "Child behavioral concerns updated",
|
|
128
|
+
"selectable": true,
|
|
129
|
+
"parentCode": null,
|
|
130
|
+
"childCodes": [],
|
|
131
|
+
"definition": "Fires when behavioral_concern_codes[] or behavioral_concerns_other_text changes. Privacy-sensitive disclosure — review surface implications before exposing this CAR's body in cross-org sharing contexts. (YAML code CHILD_BEHAVIORAL_CONCERNS_UPDATED.)"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"code": "976-010-000-000-000-000-000",
|
|
135
|
+
"key": "child_household_linked",
|
|
136
|
+
"title": "Child linked to household roster",
|
|
137
|
+
"selectable": true,
|
|
138
|
+
"parentCode": null,
|
|
139
|
+
"childCodes": [],
|
|
140
|
+
"definition": "Fires when \"Do they live with you?\" toggles to Yes / Sometimes and an HTI_HOUSEHOLD_MEMBERSHIP[] row is auto-created from the Child profile. Carries { subject_id, child_person_id, hh_membership_id }. Pairs with the H3-side HOUSEHOLD_MEMBER_ADDED CAR (which fires from the membership row creation). (YAML code CHILD_HOUSEHOLD_LINKED.)"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"code": "976-011-000-000-000-000-000",
|
|
144
|
+
"key": "child_household_unlinked",
|
|
145
|
+
"title": "Child unlinked from household roster",
|
|
146
|
+
"selectable": true,
|
|
147
|
+
"parentCode": null,
|
|
148
|
+
"childCodes": [],
|
|
149
|
+
"definition": "Fires when \"Do they live with you?\" toggles from Yes / Sometimes back to No / Unknown and the existing HTI_HOUSEHOLD_MEMBERSHIP[] row is archived. Idempotent if already unlinked. (YAML code CHILD_HOUSEHOLD_UNLINKED.)"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|