@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,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "session_state",
|
|
3
|
+
"name": "Core Session State",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Session state"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "216-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
|
+
"216-000-000-000-000-000-001",
|
|
18
|
+
"216-000-000-000-000-000-002",
|
|
19
|
+
"216-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "216-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "216-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "216-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "216-001-000-000-000-000-000",
|
|
52
|
+
"key": "session_action_needed",
|
|
53
|
+
"title": "Action needed",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Session not eligible for save because there are required responses needed (e.g., missing some elements of Service Instance). Blocks transition to session_closed. Has 'Required to Submit' blockers."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "216-002-000-000-000-000-000",
|
|
61
|
+
"key": "session_closed",
|
|
62
|
+
"title": "Closed",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Session has been completed successfully."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "216-003-000-000-000-000-000",
|
|
70
|
+
"key": "session_discarded",
|
|
71
|
+
"title": "Discarded",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Session had actions but was later discarded without committing changes to the CaseRecord."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "216-004-000-000-000-000-000",
|
|
79
|
+
"key": "session_in_progress",
|
|
80
|
+
"title": "In progress",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Session has actions that are completed and is eligible to be saved / committed. No 'Required to Submit' blockers."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "216-005-000-000-000-000-000",
|
|
88
|
+
"key": "session_initialized",
|
|
89
|
+
"title": "Initialized",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "Session has been created but no edits have been collected. Blocks transition to session_closed."
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "severity_follow_up",
|
|
3
|
+
"name": "Severity Follow Up",
|
|
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_severity_follow_up.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Source YAML is the verbatim HMIS 4.05/4.07/4.09/4.10 disabling-condition severity follow-up response set; YES/NO/DK/PNA preserved as selectable level-1 HMIS response options, the YAML UNK (HMIS 'Data not collected') folded into the missingness root.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_severity_follow_up.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Severity follow-up response"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "951-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
|
+
"951-000-000-000-000-000-001",
|
|
20
|
+
"951-000-000-000-000-000-002",
|
|
21
|
+
"951-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's UNK ('Unknown' / HMIS 'Data not collected' — the follow-up wasn't asked or didn't resolve) maps to unknown here. The HMIS response options 'Client doesn't know' (DK) and 'Client prefers not to answer' (PNA) are preserved as distinct selectable level-1 entries below rather than folded into this root, because HMIS treats them as explicit, reportable answers."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "951-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "951-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Default missing state — the follow-up wasn't asked or the conversation didn't reach resolution. Maps from the prototype's UNK code (HMIS 4.05/4.07/4.09/4.10 = 'Data not collected'); HMIS export marks the contribution to 3.08 as 'severity_unknown' for these cases."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "951-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "951-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. Distinct from the HMIS 'Client prefers not to answer' (PNA) response option preserved as a selectable level-1 entry below."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "951-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "951-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "951-001-000-000-000-000-000",
|
|
54
|
+
"key": "yes",
|
|
55
|
+
"title": "Yes",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Condition is expected to be of long-continued and indefinite duration AND substantially impairs ability to live independently. Contributes to HMIS 3.08 Disabling Condition rollup (paired with the matching base condition = YES). HMIS 4.05/4.07/4.09/4.10 severity follow-up = Yes."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "951-002-000-000-000-000-000",
|
|
63
|
+
"key": "no",
|
|
64
|
+
"title": "No",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Condition does not meet the long-continued + impairs-independent-living threshold. Does not contribute to the HMIS 3.08 rollup. HMIS 4.05/4.07/4.09/4.10 severity follow-up = No."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "951-003-000-000-000-000-000",
|
|
72
|
+
"key": "client_doesnt_know",
|
|
73
|
+
"title": "Client doesn't know",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor explicitly says they don't know whether the condition meets the threshold. HMIS 4.05/4.07/4.09/4.10 canonical response option = 'Client doesn't know'."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "951-004-000-000-000-000-000",
|
|
81
|
+
"key": "prefer_not_to_answer",
|
|
82
|
+
"title": "Prefer not to answer",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Survivor explicitly declines to answer the severity follow-up. HMIS 4.05/4.07/4.09/4.10 canonical response option = 'Client prefers not to answer'."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "signature_method",
|
|
3
|
+
"name": "Signature Method",
|
|
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_signature_method.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). The source YAML notes 'L0 sentinels not required — every signature event has one method by construction'; the missingness root is nonetheless included here per the workspace-standard SOT shape, but is expected to be unused in practice for this domain.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_signature_method.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Signature method"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "952-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
|
+
"952-000-000-000-000-000-001",
|
|
20
|
+
"952-000-000-000-000-000-002",
|
|
21
|
+
"952-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). Per the source YAML, L0 sentinels are not required for this domain — every signature event has exactly one method by construction — so this root is included for SOT-shape consistency but is expected to be unused."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "952-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "952-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Signature method is unknown at time of entry. Expected to be unused — every signature event has a concrete method by construction."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "952-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "952-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": "952-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "952-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "952-001-000-000-000-000-000",
|
|
54
|
+
"key": "digital_typed",
|
|
55
|
+
"title": "Digital signature (typed)",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Survivor or advocate typed their name as their digital signature. Stores the typed string as the signature_data. Default method."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "952-002-000-000-000-000-000",
|
|
63
|
+
"key": "digital_drawn",
|
|
64
|
+
"title": "Digital signature (drawn)",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Survivor or advocate drew their signature with mouse / finger / stylus. Stores the drawing as a base64 image as signature_data."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "952-003-000-000-000-000-000",
|
|
72
|
+
"key": "verbal_recorded",
|
|
73
|
+
"title": "Verbal agreement recorded",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor verbally agreed (e.g., over the phone in a crisis call); the advocate records the verbal agreement on the survivor's behalf. signature_data is null; a notes field captures the verbal agreement context."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "952-004-000-000-000-000-000",
|
|
81
|
+
"key": "written_scanned",
|
|
82
|
+
"title": "Written signature (scanned)",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Survivor signed a paper form; the signed form is scanned + linked as an attachment. signature_data references the attachment URL."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "signature_type",
|
|
3
|
+
"name": "Goal Signature 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_signature_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Single-select CVC distinguishing the four canonical signature events on a Goal record per The Spring's structure: client + advocate signatures at goal creation, plus optional client + advocate signatures at goal completion. Internal field — not user-pickable as a chip register; the signature's type is determined by which signature button the user clicks. The signature is about consent + agency (load-bearing for OAC 75:30-3-1(c) self-determination), not commitment-as-contract. Sibling of signature_method (CVC-952). YAML declares vocab_status: draft with 4 flat level-1 entries and no L0 sentinels; the canonical missingness triplet (unknown/anonymous/data_not_collected) is added here per the workspace-standard SOT shape.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_signature_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Goal signature event"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "953-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
|
+
"953-000-000-000-000-000-001",
|
|
20
|
+
"953-000-000-000-000-000-002",
|
|
21
|
+
"953-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). Added per the workspace-standard SOT shape — the prototype YAML carried no L0 sentinels for this internal signature-event set."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "953-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "953-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Signature event type is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "953-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "953-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld or redacted under the workspace-standard ANON sentinel."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "953-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "953-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "953-001-000-000-000-000-000",
|
|
54
|
+
"key": "client_at_creation",
|
|
55
|
+
"title": "Client signature at goal creation",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Survivor signs acknowledging this is the goal they have chosen for themselves. Required by default per Crysta Q6 (Phase 1 ship default; admin-configurable per-agency in Phase 6)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "953-002-000-000-000-000-000",
|
|
63
|
+
"key": "advocate_at_creation",
|
|
64
|
+
"title": "Advocate signature at goal creation",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Advocate signs acknowledging they're committing to support the goal. Pairs with the client at-creation signature."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "953-003-000-000-000-000-000",
|
|
72
|
+
"key": "client_at_completion",
|
|
73
|
+
"title": "Client signature at goal completion",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Survivor signs acknowledging the goal is achieved. Optional — some programs require, others don't. Triggered on goal-status flip to COMPLETED."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "953-004-000-000-000-000-000",
|
|
81
|
+
"key": "advocate_at_completion",
|
|
82
|
+
"title": "Advocate signature at goal completion",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Advocate signs confirming goal completion. Optional. Pairs with the client at-completion signature."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|