@htilabs/platform-common-models 0.7.0-beta.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -44
- package/dist/constants/index.cjs +76 -52
- 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 +75 -48
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
- package/dist/cvcs/index.cjs +11136 -136
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +12856 -603
- package/dist/cvcs/index.d.ts +12856 -603
- package/dist/cvcs/index.js +11060 -132
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +12593 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1686 -98
- package/dist/index.d.ts +1686 -98
- package/dist/index.js +12442 -234
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
- package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
- package/dist/schemas/index.cjs +68 -49
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -15
- package/dist/schemas/index.d.ts +11 -15
- package/dist/schemas/index.js +68 -49
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +19 -25
- package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
- package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
- package/src/__tests__/cvc-structural.test.ts +76 -3
- package/src/constants/ic.ts +163 -51
- package/src/cvcs/accommodationType.v1.0.0.json +107 -0
- package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
- package/src/cvcs/actionStepType.v1.0.0.json +71 -0
- package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
- package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
- package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
- package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
- package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
- package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
- package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
- package/src/cvcs/collectionContext.v1.0.0.json +88 -0
- package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
- package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
- package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
- package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
- package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
- package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
- package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
- package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
- package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
- package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
- package/src/cvcs/exitReasons.v1.0.0.json +224 -0
- package/src/cvcs/facialHair.v1.0.0.json +71 -0
- package/src/cvcs/funder.v1.0.0.json +125 -0
- package/src/cvcs/goalCategory.v1.0.0.json +161 -0
- package/src/cvcs/goalPriority.v1.0.0.json +80 -0
- package/src/cvcs/goalStatus.v1.0.0.json +98 -0
- package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
- package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
- package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
- package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
- package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/index.ts +150 -6
- package/src/cvcs/inferenceType.v1.0.0.json +78 -0
- package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
- package/src/cvcs/languages.v1.0.0.json +1924 -0
- package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
- package/src/cvcs/legalActionType.v1.0.0.json +116 -0
- package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
- package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
- package/src/cvcs/milestoneType.v1.0.0.json +170 -0
- package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +6 -6
- package/src/cvcs/petExitReason.v1.0.0.json +107 -0
- package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
- package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
- package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
- package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
- package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
- package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
- package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
- package/src/cvcs/roleContext.v1.0.0.json +78 -0
- package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
- package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
- package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
- package/src/cvcs/serviceSource.v1.0.0.json +71 -0
- package/src/cvcs/serviceStates.v1.0.0.json +12 -2
- package/src/cvcs/sessionState.v1.0.0.json +96 -0
- package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
- package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
- package/src/cvcs/signatureType.v1.0.0.json +89 -0
- package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
- package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
- package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
- package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
- package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
- package/src/cvcs/supportStrength.v1.0.0.json +114 -0
- package/src/cvcs/supportTopic.v1.0.0.json +116 -0
- package/src/cvcs/threadStatus.v1.0.0.json +80 -0
- package/src/cvcs/threadType.v1.0.0.json +98 -0
- package/src/cvcs/timeScope.v1.0.0.json +69 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
- package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/visaType.v1.0.0.json +378 -0
- package/src/generated/cvc-enums.ts +1816 -46
- package/src/index.ts +0 -20
- package/src/schemas/common.ts +0 -4
- package/dist/config/index.cjs +0 -191
- package/dist/config/index.cjs.map +0 -1
- package/dist/config/index.d.cts +0 -101
- package/dist/config/index.d.ts +0 -101
- package/dist/config/index.js +0 -165
- package/dist/config/index.js.map +0 -1
- package/src/__tests__/runtime-contract-validator.test.ts +0 -556
- package/src/config/fixtures/valid.yaml +0 -90
- package/src/config/index.ts +0 -352
- package/src/cvcs/hmisSex.v1.0.0.json +0 -89
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
- package/src/cvcs/recencyBand.v1.0.0.json +0 -124
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "returned_to_abuser_status",
|
|
3
|
+
"name": "Returned To Abuser Status",
|
|
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_returned_to_abuser_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_returned_to_abuser_status.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Returned to abuser at exit"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "944-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
|
+
"944-000-000-000-000-000-001",
|
|
20
|
+
"944-000-000-000-000-000-002",
|
|
21
|
+
"944-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 carries an UNANSWERED level-1 value (declined OR not asked) plus a level-0 UNK sentinel (truly indeterminate, for retrospective/imported data); UNK maps to unknown here, while UNANSWERED is preserved as a selectable level-1 entry per the canonical HMIS 4.20 3-value set."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "944-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "944-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Truly cannot be determined from available information at the time of exit (rare — typically used for retrospective data cleanup or imported records). Maps from the prototype's level-0 UNK sentinel. Prefer 'unanswered' for the live capture surface; unknown is for canonical data-import paths."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "944-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "944-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": "944-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "944-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "944-001-000-000-000-000-000",
|
|
54
|
+
"key": "yes",
|
|
55
|
+
"title": "Yes",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Survivor returned to an abuser at the moment of program exit. Triggers the canonical advisory cascade (Safety Plan banner + risk-algo re-eval). Captured once at exit; the record persists for HMIS 4.20 federal-reporting export. Does NOT mutate the canonical Safety Plan goal record."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "944-002-000-000-000-000-000",
|
|
63
|
+
"key": "no",
|
|
64
|
+
"title": "No",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Survivor did NOT return to an abuser at the moment of program exit. No cascade dispatch. Canonical positive outcome for HMIS 4.20 federal-reporting export. Captured once at exit."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "944-003-000-000-000-000-000",
|
|
72
|
+
"key": "unanswered",
|
|
73
|
+
"title": "Unanswered",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor explicitly declined to answer OR the advocate did not ask. Canonical 3-value for HMIS 4.20 — preserves the survivor's right to decline AND captures the absence of data without forcing a fabricated Yes/No. Preferred over the unknown sentinel for the live capture surface."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "role_context",
|
|
3
|
+
"name": "Core Role Context",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Role context"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "160-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
|
+
"160-000-000-000-000-000-001",
|
|
18
|
+
"160-000-000-000-000-000-002",
|
|
19
|
+
"160-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "160-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Unknown or cannot be determined from the available information. Use when the victim / offender lens cannot be determined. Prefer improving completeness over time; avoid persisting unknown when a more specific context is later known."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "160-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Information is intentionally withheld or redacted. Use only when role context is intentionally withheld (not as a default)."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "160-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value. Use when role context was not asked or not captured by the source workflow."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "160-001-000-000-000-000-000",
|
|
52
|
+
"key": "both",
|
|
53
|
+
"title": "Both",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Assertion is meaningfully about both victimization and offending (dual-role) or a context where both lenses apply. Use when a subject has both victim and offender aspects in the asserted context (e.g., coerced offending, reciprocal exploitation, or when policy explicitly treats the claim as dual-role). Use sparingly and only when the dual-role meaning is intentional."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "160-002-000-000-000-000-000",
|
|
61
|
+
"key": "offender",
|
|
62
|
+
"title": "Offender",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Assertion is being made from the offending / perpetration lens (the subject is being described as harming / exploiting another party in the relevant context). Use when the asserted claim is about offending / perpetration (e.g., offender status, trafficking-offender determination). Independent of the asserted value code; combines with assertion_domain + determination_level."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "160-003-000-000-000-000-000",
|
|
70
|
+
"key": "victim",
|
|
71
|
+
"title": "Victim",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Assertion is being made from the victimization lens (the subject is being described as harmed / victimized in the relevant context). Use when the asserted claim is about victimization (e.g., victim status, victimization type, relationship dynamics describing harm to the subject). This is a context label for the assertion, not the asserted content itself. Do not use to encode commercial-sex-industry roles (sex provider / facilitator / buyer)."
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "rsvp_response",
|
|
3
|
+
"name": "Rsvp Response",
|
|
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_rsvp_response.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_rsvp_response.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "RSVP response"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "946-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
|
+
"946-000-000-000-000-000-001",
|
|
20
|
+
"946-000-000-000-000-000-002",
|
|
21
|
+
"946-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 is a flat 3-value calendar-event RSVP set with no sentinels (silence = no selection persisted); the missingness root is added here per the workspace standard. Note: per the YAML, silence/no-selection is distinct from an explicit RSVP_NO and is represented by the absence of a persisted value."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "946-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "946-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "RSVP response is unknown at time of entry (e.g., the recipient has not yet responded and no selection has been persisted)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "946-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "946-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": "946-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "946-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "946-001-000-000-000-000-000",
|
|
54
|
+
"key": "rsvp_yes",
|
|
55
|
+
"title": "Yes",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "User plans to attend / engage. Counted in the author's attendance metric. Default-affirmative response. (Code carries the RSVP_ prefix in the prototype to disambiguate from YAML 1.1 boolean parsing.)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "946-002-000-000-000-000-000",
|
|
63
|
+
"key": "rsvp_maybe",
|
|
64
|
+
"title": "Maybe",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "User is interested but uncommitted. Useful for office hours where attendees want to flag interest without firm commitment. Tracked separately from Yes; the author can use the Maybe count for capacity planning."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "946-003-000-000-000-000-000",
|
|
72
|
+
"key": "rsvp_no",
|
|
73
|
+
"title": "No",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "User does not plan to attend / engage. Captures the conscious decline (vs. silence which could mean unread). Author can use as a signal to follow up via 1:1 if the announcement was high-importance."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "service_plan_closure_reason",
|
|
3
|
+
"name": "Service Plan Closure Reason",
|
|
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_service_plan_closure_reason.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_service_plan_closure_reason.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Service plan closure reason"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "947-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
|
+
"947-000-000-000-000-000-001",
|
|
20
|
+
"947-000-000-000-000-000-002",
|
|
21
|
+
"947-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 is a flat single-select set with an OTHER catch-all (paired with required closure_narrative text) and no L0 sentinels; the missingness root is added here per the workspace standard."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "947-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "947-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Closure reason is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "947-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "947-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": "947-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "947-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "947-001-000-000-000-000-000",
|
|
54
|
+
"key": "program_exit_goals_reached",
|
|
55
|
+
"title": "Program exit — goals reached",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Survivor completed the program with their goals substantially achieved. The most affirmative closure path."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "947-002-000-000-000-000-000",
|
|
63
|
+
"key": "program_exit_incomplete",
|
|
64
|
+
"title": "Program exit — goals incomplete",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Survivor exited the program before their goals were achieved. Distinct from withdrew or lost-contact — survivor chose to exit at a defined boundary (e.g., end of residential stay)."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "947-003-000-000-000-000-000",
|
|
72
|
+
"key": "transferred",
|
|
73
|
+
"title": "Transferred to another agency",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor was transferred to a different VSP or partner agency that's taking over service planning. A new Service Plan opens at the receiving agency."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "947-004-000-000-000-000-000",
|
|
81
|
+
"key": "aged_out",
|
|
82
|
+
"title": "Aged out of program",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Survivor crossed an age-based eligibility boundary (e.g., transitioned from youth program to adult services)."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "947-005-000-000-000-000-000",
|
|
90
|
+
"key": "lost_contact",
|
|
91
|
+
"title": "Lost contact",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Agency has lost contact with the survivor despite reasonable attempts. The plan closes after the agency's contact-attempts policy expires."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "947-006-000-000-000-000-000",
|
|
99
|
+
"key": "survivor_withdrew",
|
|
100
|
+
"title": "Survivor withdrew from services",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Survivor explicitly chose to withdraw from program participation. Per OAC 75:30-3-1(c) voluntary services — every survivor may withdraw at any time without penalty."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "947-007-000-000-000-000-000",
|
|
108
|
+
"key": "agency_terminated",
|
|
109
|
+
"title": "Agency-initiated termination",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Agency terminated the survivor's participation per program policy (e.g., serious rule violation). Rare; requires documentation of agency policy + supervisor approval."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "947-008-000-000-000-000-000",
|
|
117
|
+
"key": "other",
|
|
118
|
+
"title": "Other",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "Other closure reason not captured by the above codes. Pairs with required closure_narrative text."
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "service_plan_review_snooze_reason",
|
|
3
|
+
"name": "Service Plan Review Snooze Reason",
|
|
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_service_plan_review_snooze_reason.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_service_plan_review_snooze_reason.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Service plan review snooze reason"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "948-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
|
+
"948-000-000-000-000-000-001",
|
|
20
|
+
"948-000-000-000-000-000-002",
|
|
21
|
+
"948-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 is a flat single-select set with an OTHER free-text-required catch-all and no L0 sentinels; the missingness root is added here per the workspace standard."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "948-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "948-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Snooze reason is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "948-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "948-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": "948-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "948-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "948-001-000-000-000-000-000",
|
|
54
|
+
"key": "survivor_unreachable",
|
|
55
|
+
"title": "Survivor unreachable",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Multiple outreach attempts (phone, text, in-person) returned no response; canonical safety status unchanged. Accepts optional supplementary free-text."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "948-002-000-000-000-000-000",
|
|
63
|
+
"key": "schedule_conflict",
|
|
64
|
+
"title": "Schedule conflict",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Survivor + advocate calendar misalignment; canonical alternative touchpoint within the snooze window. Accepts optional supplementary free-text."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "948-003-000-000-000-000-000",
|
|
72
|
+
"key": "survivor_traveling_or_out_of_contact",
|
|
73
|
+
"title": "Survivor traveling or out of contact",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor canonically away (work travel, family visit, jurisdictional move pending) with a known return-by. Accepts optional supplementary free-text."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "948-004-000-000-000-000-000",
|
|
81
|
+
"key": "advocate_caseload_spike",
|
|
82
|
+
"title": "Advocate caseload spike",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Canonical capacity constraint; supervisor canonically aware. Required to be addressed within the snooze window. Accepts optional supplementary free-text."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "948-005-000-000-000-000-000",
|
|
90
|
+
"key": "safety_circumstance",
|
|
91
|
+
"title": "Safety circumstance preventing touchpoint",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Canonical contact would compromise survivor safety (perpetrator proximity, custody court pending, etc.); the safety plan supersedes review cadence. Accepts optional supplementary free-text."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "948-006-000-000-000-000-000",
|
|
99
|
+
"key": "awaiting_information_from_external_party",
|
|
100
|
+
"title": "Awaiting information from external party",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Court date pending · CPS update pending · PO renewal in progress · medical evaluation pending; review canonically deferred until the external information lands. Accepts optional supplementary free-text."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "948-007-000-000-000-000-000",
|
|
108
|
+
"key": "other",
|
|
109
|
+
"title": "Other (capture in note)",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": null,
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Canonical free-text-only path. Used when the pre-coded reasons don't fit; the free-text becomes the canonical record. Free-text is REQUIRED for this code (snooze save blocked unless provided)."
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "service_source",
|
|
3
|
+
"name": "Service Source",
|
|
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_service_source.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_service_source.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Service source"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "949-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
|
+
"949-000-000-000-000-000-001",
|
|
20
|
+
"949-000-000-000-000-000-002",
|
|
21
|
+
"949-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 carries its own three L0 sentinels — DNC (data not collected), ANON (anonymous/withheld), and UNK (cannot determine) — which map cleanly onto data_not_collected, anonymous, and unknown respectively under the workspace standard missingness root."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "949-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "949-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "The advocate cannot determine the service source from available information. Maps from the prototype's UNK sentinel. Distinct from data_not_collected ('not asked') and anonymous ('intentionally withheld'); triggers a follow-up prompt where reasonable, preferred over forcing a guess."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "949-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "949-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Source intentionally withheld/redacted for privacy or anonymous interaction (anonymous hotline calls + redacted external services). Maps from the prototype's ANON sentinel under the workspace standard ANON semantic."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "949-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "949-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to capture the service source. Maps from the prototype's DNC sentinel. Use only when the service was logged before this axis was authored OR for legacy imports; avoid as a default selection."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "949-001-000-000-000-000-000",
|
|
54
|
+
"key": "your_program",
|
|
55
|
+
"title": "Your program",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "The service is being provided by the user's own program / agency (e.g., your Survivor Services team providing direct crisis counseling). Canonical default for most service-management entries. Counts toward this program's VOCA / OVC PMT / FVPSA / OCAT reporting."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "949-002-000-000-000-000-000",
|
|
63
|
+
"key": "other_agency",
|
|
64
|
+
"title": "Other agency",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "The service is being provided by an external organization, not the user's own program (e.g., a separate DV shelter providing housing; a hospital providing medical care; Legal Aid handling a T-Visa application). When selected, an inline OrgPicker reveals for provider_org_id capture. Does NOT count toward this program's grant reporting; appears in the survivor's cross-agency service picture for case coordination."
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
"childCodes": [
|
|
72
72
|
"049-007-001-000-000-000-000",
|
|
73
73
|
"049-007-002-000-000-000-000",
|
|
74
|
-
"049-007-003-000-000-000-000"
|
|
74
|
+
"049-007-003-000-000-000-000",
|
|
75
|
+
"049-007-004-000-000-000-000"
|
|
75
76
|
],
|
|
76
77
|
"definition": "Program could not provide the service."
|
|
77
78
|
},
|
|
@@ -95,13 +96,22 @@
|
|
|
95
96
|
},
|
|
96
97
|
{
|
|
97
98
|
"code": "049-007-003-000-000-000-000",
|
|
98
|
-
"key": "
|
|
99
|
+
"key": "unable_to_provide_resource",
|
|
99
100
|
"title": "Unable due to resource",
|
|
100
101
|
"selectable": true,
|
|
101
102
|
"parentCode": "049-007-000-000-000-000-000",
|
|
102
103
|
"childCodes": [],
|
|
103
104
|
"definition": "Program did not have sufficient resources to provide the Service."
|
|
104
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"code": "049-007-004-000-000-000-000",
|
|
108
|
+
"key": "unable_other_reason",
|
|
109
|
+
"title": "Unable for another reason",
|
|
110
|
+
"selectable": true,
|
|
111
|
+
"parentCode": "049-007-000-000-000-000-000",
|
|
112
|
+
"childCodes": [],
|
|
113
|
+
"definition": "Program could not provide the Service for a reason other than eligibility, capacity, or resources."
|
|
114
|
+
},
|
|
105
115
|
{
|
|
106
116
|
"code": "049-000-000-000-000-000-000",
|
|
107
117
|
"key": "missingness_root",
|