@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.
Files changed (133) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +76 -52
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +75 -48
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +11136 -136
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +12856 -603
  13. package/dist/cvcs/index.d.ts +12856 -603
  14. package/dist/cvcs/index.js +11060 -132
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +12593 -246
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +1686 -98
  21. package/dist/index.d.ts +1686 -98
  22. package/dist/index.js +12442 -234
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
  28. package/dist/schemas/index.cjs +68 -49
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +68 -49
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +19 -25
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
  39. package/src/__tests__/cvc-structural.test.ts +76 -3
  40. package/src/constants/ic.ts +163 -51
  41. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  42. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  43. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  44. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  45. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  46. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  47. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  48. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  49. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  50. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  51. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  52. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  53. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  54. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  55. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  56. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  57. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  58. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  59. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  60. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  61. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  62. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  63. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  64. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  65. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  66. package/src/cvcs/funder.v1.0.0.json +125 -0
  67. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  68. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  69. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  70. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  71. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  72. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  73. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  74. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  75. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  76. package/src/cvcs/index.ts +150 -6
  77. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  78. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  79. package/src/cvcs/languages.v1.0.0.json +1924 -0
  80. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  81. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  82. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  83. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  84. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  85. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  86. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  87. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  88. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  89. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  90. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  91. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  92. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  93. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  94. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  95. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  96. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  97. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  98. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  99. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  100. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  101. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  102. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  103. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  104. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  105. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  106. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  107. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  108. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  109. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  110. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  111. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  112. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  113. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  114. package/src/cvcs/threadType.v1.0.0.json +98 -0
  115. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  116. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  117. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  118. package/src/cvcs/visaType.v1.0.0.json +378 -0
  119. package/src/generated/cvc-enums.ts +1816 -46
  120. package/src/index.ts +0 -20
  121. package/src/schemas/common.ts +0 -4
  122. package/dist/config/index.cjs +0 -191
  123. package/dist/config/index.cjs.map +0 -1
  124. package/dist/config/index.d.cts +0 -101
  125. package/dist/config/index.d.ts +0 -101
  126. package/dist/config/index.js +0 -165
  127. package/dist/config/index.js.map +0 -1
  128. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  129. package/src/config/fixtures/valid.yaml +0 -90
  130. package/src/config/index.ts +0 -352
  131. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  132. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  133. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
@@ -0,0 +1,97 @@
1
+ {
2
+ "domain": "da_incident_severity",
3
+ "name": "Core DA Incident Severity (Campbell scale)",
4
+ "version": "1.0.0",
5
+ "_source": "prototype/data/cvcs/core_da_incident_severity.yaml (Final-CVC-derived), CVC-228",
6
+ "levels": {
7
+ "0": "Unknown or Missing",
8
+ "1": "Incident severity (Campbell scale 1-5)"
9
+ },
10
+ "entries": [
11
+ {
12
+ "code": "228-000-000-000-000-000-000",
13
+ "key": "missingness_root",
14
+ "title": "Unknown, Redacted, or Missing",
15
+ "selectable": false,
16
+ "parentCode": null,
17
+ "childCodes": [
18
+ "228-000-000-000-000-000-001",
19
+ "228-000-000-000-000-000-002",
20
+ "228-000-000-000-000-000-003"
21
+ ],
22
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). No prefer_not_to_answer — Notion codebook rolls 'declined to answer' into the anonymous sentinel under the workspace standard ANON semantic."
23
+ },
24
+ {
25
+ "code": "228-000-000-000-000-000-001",
26
+ "key": "unknown",
27
+ "title": "Unknown",
28
+ "selectable": true,
29
+ "parentCode": "228-000-000-000-000-000-000",
30
+ "childCodes": [],
31
+ "definition": "Value is unknown at time of entry."
32
+ },
33
+ {
34
+ "code": "228-000-000-000-000-000-002",
35
+ "key": "anonymous",
36
+ "title": "Anonymous / declined to answer",
37
+ "selectable": true,
38
+ "parentCode": "228-000-000-000-000-000-000",
39
+ "childCodes": [],
40
+ "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
41
+ },
42
+ {
43
+ "code": "228-000-000-000-000-000-003",
44
+ "key": "data_not_collected",
45
+ "title": "Data not collected",
46
+ "selectable": true,
47
+ "parentCode": "228-000-000-000-000-000-000",
48
+ "childCodes": [],
49
+ "definition": "No attempt was made to collect the value."
50
+ },
51
+ {
52
+ "code": "228-001-000-000-000-000-000",
53
+ "key": "severity_1",
54
+ "title": "1 · Slapping, pushing; no injuries and/or lasting pain",
55
+ "selectable": true,
56
+ "parentCode": null,
57
+ "childCodes": [],
58
+ "definition": "Campbell-verbatim severity 1. Reflects incidents with physical contact but no observed injury or lasting pain. UI renders the digit '1' with canonical caution tone (var(--risk-3, #DAB98F))."
59
+ },
60
+ {
61
+ "code": "228-002-000-000-000-000-000",
62
+ "key": "severity_2",
63
+ "title": "2 · Punching, kicking; bruises, cuts, and/or continuing pain",
64
+ "selectable": true,
65
+ "parentCode": null,
66
+ "childCodes": [],
67
+ "definition": "Campbell-verbatim severity 2. Reflects incidents with observable injury (bruises, cuts) or ongoing pain. UI renders the digit '2' with canonical caution tone (var(--risk-3, #DAB98F)) — same tone as severity 1 per canonical PAVE severity grouping (1+2 = caution · 3 = elevated · 4+5 = critical)."
68
+ },
69
+ {
70
+ "code": "228-003-000-000-000-000-000",
71
+ "key": "severity_3",
72
+ "title": "3 · \"Beating up\"; severe contusions, burns, broken bones",
73
+ "selectable": true,
74
+ "parentCode": null,
75
+ "childCodes": [],
76
+ "definition": "Campbell-verbatim severity 3. Reflects incidents with severe observable injury (broken bones, burns, severe contusions). Campbell's quoted 'beating up' phrasing surfaces the canonical survivor-voice framing of the incident. UI renders the digit '3' with canonical elevated tone (var(--risk-4, #E4B79A))."
77
+ },
78
+ {
79
+ "code": "228-004-000-000-000-000-000",
80
+ "key": "severity_4",
81
+ "title": "4 · Threat to use weapon; head injury, internal injury, permanent injury, miscarriage, choking",
82
+ "selectable": true,
83
+ "parentCode": null,
84
+ "childCodes": [],
85
+ "definition": "Campbell-verbatim severity 4. Reflects incidents involving weapon threats OR severe internal/permanent injury OR pregnancy loss OR choking/strangulation. The choking marker is captured as a SEPARATE canonical bool field (choking_present), NOT encoded into the severity string. UI renders the digit '4' (plus optional ⊙ glyph for choking) with canonical critical tone (var(--risk-5, #D89594))."
86
+ },
87
+ {
88
+ "code": "228-005-000-000-000-000-000",
89
+ "key": "severity_5",
90
+ "title": "5 · Use of weapon; wounds from weapon",
91
+ "selectable": true,
92
+ "parentCode": null,
93
+ "childCodes": [],
94
+ "definition": "Campbell-verbatim severity 5. Reflects incidents involving actual weapon use OR wounds from a weapon (not just threats — see severity 4 for threat-only). Highest canonical Campbell severity. UI renders the digit '5' with canonical critical tone (var(--risk-5, #D89594)) — same tone as severity 4 per canonical PAVE severity grouping."
95
+ }
96
+ ]
97
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "domain": "determination_level",
3
+ "name": "Core Determination Level",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Determination level"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "138-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
+ "138-000-000-000-000-000-001",
18
+ "138-000-000-000-000-000-002",
19
+ "138-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "138-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "138-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "138-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "138-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "138-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "138-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "138-001-000-000-000-000-000",
52
+ "key": "disclosed",
53
+ "title": "Disclosed (subject)",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "The subject discloses or self-reports the condition occurred or applies. Use for trauma-informed capture of disclosures without requiring independent corroboration. Often high priority for service workflows. Pair with support_strength = allegation by default unless corroboration exists."
58
+ },
59
+ {
60
+ "code": "138-002-000-000-000-000-000",
61
+ "key": "estimated",
62
+ "title": "Estimated (system-derived)",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Statistical or heuristic estimate where underlying facts may be partial or inferred; useful for early triage and modeling, but not a direct claim by a person or authority. Use when the system or staff is inferring a status from incomplete signals (heuristics, early screening patterns, probabilistic scoring). Do not treat as a disclosure. Pair with inference_type = rules / model when applicable."
67
+ },
68
+ {
69
+ "code": "138-003-000-000-000-000-000",
70
+ "key": "reported",
71
+ "title": "Reported (third-party)",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "A third party reports the condition occurred or applies (not the subject's own account). Use when information comes from someone other than the subject: witness, family, another agency, community tip, etc. Not a measure of truth. Pair with support_strength to capture corroboration strength."
76
+ },
77
+ {
78
+ "code": "138-004-000-000-000-000-000",
79
+ "key": "suspected",
80
+ "title": "Suspected (working theory)",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "A working hypothesis or investigative theory that the condition likely applies, but is not yet established as a report / disclosure or verified determination. Use for early investigation, suspicion from indicators, or preliminary hypotheses by staff or partners. May be elevated to verified later via superseding entries. Avoid using as a long-term resting state."
85
+ },
86
+ {
87
+ "code": "138-005-000-000-000-000-000",
88
+ "key": "verified",
89
+ "title": "Verified (operational)",
90
+ "selectable": true,
91
+ "parentCode": null,
92
+ "childCodes": [],
93
+ "definition": "The asserting organization has verified the condition to a defined operational threshold (not necessarily a legal finding). Use when an agency's policy defines what counts as verified for program / reporting or an internal badge. Verification criteria vary by org; record the policy / threshold via provenance notes or mapping version. Verified means an organization has performed an explicit verification act under a defined threshold; support / corroboration belongs in support_strength."
94
+ }
95
+ ]
96
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "domain": "disability_subtype",
3
+ "name": "Disability Subtype",
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_disability_subtype.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_disability_subtype.yaml",
7
+ "_reconcile": "may map to an existing Notion CVC under a different name — reconcile before canonical authoring",
8
+ "levels": {
9
+ "0": "Unknown or Missing",
10
+ "1": "Disability subtype (multi-select; contributes to HMIS 3.08 Disabling Condition)"
11
+ },
12
+ "entries": [
13
+ {
14
+ "code": "914-000-000-000-000-000-000",
15
+ "key": "missingness_root",
16
+ "title": "Unknown, Redacted, or Missing",
17
+ "selectable": false,
18
+ "parentCode": null,
19
+ "childCodes": [
20
+ "914-000-000-000-000-000-001",
21
+ "914-000-000-000-000-000-002",
22
+ "914-000-000-000-000-000-003"
23
+ ],
24
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). The YAML's UNK code (survivor declines / disengaged with the question; maps to HMIS DK / PNA / Not collected) is represented here by the 'unknown' / 'anonymous' sentinels. Distinct from the substantive 'exists_but_type_unknown' selectable level-1 entry below."
25
+ },
26
+ {
27
+ "code": "914-000-000-000-000-000-001",
28
+ "key": "unknown",
29
+ "title": "Unknown",
30
+ "selectable": true,
31
+ "parentCode": "914-000-000-000-000-000-000",
32
+ "childCodes": [],
33
+ "definition": "Value is unknown at time of entry. Carries the YAML UNK L0-sentinel semantic — survivor declines to specify subtype OR didn't engage with the question; maps to HMIS DK / PNA / Not collected per response context."
34
+ },
35
+ {
36
+ "code": "914-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "914-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
43
+ },
44
+ {
45
+ "code": "914-000-000-000-000-000-003",
46
+ "key": "data_not_collected",
47
+ "title": "Data not collected",
48
+ "selectable": true,
49
+ "parentCode": "914-000-000-000-000-000-000",
50
+ "childCodes": [],
51
+ "definition": "No attempt was made to collect the value."
52
+ },
53
+ {
54
+ "code": "914-001-000-000-000-000-000",
55
+ "key": "vision",
56
+ "title": "Vision (blind / difficulty seeing)",
57
+ "selectable": true,
58
+ "parentCode": null,
59
+ "childCodes": [],
60
+ "definition": "Includes both partial vision impairment + complete blindness. Contributes to HMIS 3.08 (per ADA + HMIS guidance). Pairs commonly with the SENSORY accommodation type for service planning (large print, screen reader, audio materials)."
61
+ },
62
+ {
63
+ "code": "914-002-000-000-000-000-000",
64
+ "key": "hearing",
65
+ "title": "Hearing (Deaf / hard of hearing)",
66
+ "selectable": true,
67
+ "parentCode": null,
68
+ "childCodes": [],
69
+ "definition": "Both Spring + Ascension partner intakes capture this category. Contributes to HMIS 3.08. Pairs commonly with the SENSORY + COMMUNICATION_COGNITIVE accommodation types (ASL interpreter, captioning, written communication). Also drives the VOCA / OVC Special Classifications 'Deaf / Hard of hearing' census count."
70
+ },
71
+ {
72
+ "code": "914-003-000-000-000-000-000",
73
+ "key": "speech",
74
+ "title": "Speech",
75
+ "selectable": true,
76
+ "parentCode": null,
77
+ "childCodes": [],
78
+ "definition": "Includes speech impairment + communication impairment that affects ability to speak. Contributes to HMIS 3.08. Pairs commonly with the COMMUNICATION_COGNITIVE accommodation type. Ascension captures, Spring doesn't."
79
+ },
80
+ {
81
+ "code": "914-004-000-000-000-000-000",
82
+ "key": "cognitive_developmental",
83
+ "title": "Cognitive / developmental",
84
+ "selectable": true,
85
+ "parentCode": null,
86
+ "childCodes": [],
87
+ "definition": "MERGE of cognitive + developmental per Crysta v2 Q5 sign-off. Contributes to HMIS 3.08; HMIS 4.06 Developmental Disability derived = TRUE if onset-before-adulthood (default TRUE; optional advocate override for 'purely cognitive without developmental origin'). Includes intellectual disability, autism-spectrum, Down syndrome, learning disabilities, developmental delays."
88
+ },
89
+ {
90
+ "code": "914-005-000-000-000-000-000",
91
+ "key": "physical",
92
+ "title": "Physical",
93
+ "selectable": true,
94
+ "parentCode": null,
95
+ "childCodes": [],
96
+ "definition": "Includes mobility impairments, limb differences, fine-motor / gross-motor limitations. HMIS 4.05 Physical Disability; severity follow-up via core_severity_follow_up determines 3.08 contribution. Pairs commonly with the MOBILITY accommodation type for service planning."
97
+ },
98
+ {
99
+ "code": "914-006-000-000-000-000-000",
100
+ "key": "mental",
101
+ "title": "Mental (mental illness / mental health disability)",
102
+ "selectable": true,
103
+ "parentCode": null,
104
+ "childCodes": [],
105
+ "definition": "MERGE of mental disability + mental health disorder per recs § 3.2 Problem 3 (definitions overlap; HMIS 4.09 has a single category). Crysta v2 Q7 picks MENTAL (not MENTAL_ILLNESS). HMIS 4.09 Mental Health Disorder; severity follow-up via core_severity_follow_up determines 3.08 contribution. Same underlying signal as the standalone mental_health_status field."
106
+ },
107
+ {
108
+ "code": "914-007-000-000-000-000-000",
109
+ "key": "other",
110
+ "title": "Other (specify)",
111
+ "selectable": true,
112
+ "parentCode": null,
113
+ "childCodes": [],
114
+ "definition": "Free-text refinement on p.demographics.disability_other_text. Captures everything not otherwise categorized (e.g., chronic pain conditions, autoimmune-driven functional impairment, neurological conditions not fitting elsewhere). Survivor self-identifies; counts toward 3.08 by HMIS guidance discretion."
115
+ },
116
+ {
117
+ "code": "914-008-000-000-000-000-000",
118
+ "key": "exists_but_type_unknown",
119
+ "title": "I know there is a disability, but I don't know which type",
120
+ "selectable": true,
121
+ "parentCode": null,
122
+ "childCodes": [],
123
+ "definition": "Per Crysta v2 Q6 sign-off + Spring intake practice ('Unknown but Exists' checkbox). When checked, sets has_disability = YES + contributes to has_disabling_condition rollup (HMIS 3.08 = YES) without requiring the survivor to commit to a specific subtype. Distinct from the missingness 'unknown' sentinel (survivor declines / disengaged) — this code asserts existence without subtype specificity."
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "domain": "discretion_level",
3
+ "name": "Discretion Level",
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_discretion_level.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_discretion_level.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Discretion register when contacting someone on the survivor's behalf"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "915-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
+ "915-000-000-000-000-000-001",
20
+ "915-000-000-000-000-000-002",
21
+ "915-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 YAML's UNKNOWN code (advocate hasn't yet asked the survivor about discretion preference, per GDR § 1.1 Y/N/Unknown) maps to the 'unknown' sentinel here."
24
+ },
25
+ {
26
+ "code": "915-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "915-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry. Carries the YAML UNKNOWN sentinel semantic — advocate hasn't yet asked the survivor about discretion preference (GDR § 1.1 Default-Unknown)."
33
+ },
34
+ {
35
+ "code": "915-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "915-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": "915-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "915-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "915-001-000-000-000-000-000",
54
+ "key": "full_disclosure",
55
+ "title": "Full disclosure",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Staff may identify the agency by name + share the survivor's situation context as needed. Default for survivors with low confidentiality concern (e.g., a contact who is also a co-survivor or close family who knows the full picture)."
60
+ },
61
+ {
62
+ "code": "915-002-000-000-000-000-000",
63
+ "key": "discrete_message",
64
+ "title": "Discrete message",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Spring's canonical default — 'a discrete message will be left as your information is still considered a confidential personal record and will be provided to others on a need-to-know basis only.' Staff convey only what's necessary for the situation; minimize identifying context. Recommended Phase 1 default value when the section ships."
69
+ },
70
+ {
71
+ "code": "915-003-000-000-000-000-000",
72
+ "key": "vsp_only_no_agency_name",
73
+ "title": "VSP only — don't name the agency",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Higher-discretion register. Staff confirm they're calling on behalf of 'a service provider the client is working with' without naming the specific agency. Use when the survivor's safety requires that the contact NOT know which VSP the survivor is engaged with (high-risk DV scenarios; trafficking cases; etc.)."
78
+ },
79
+ {
80
+ "code": "915-004-000-000-000-000-000",
81
+ "key": "code_word_verification_required",
82
+ "title": "Code word verification required",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Highest-discretion register. Pairs with the Phase 3 24-hr safety check-in protocol + code word capture. Staff verify the contact knows the survivor's code word before sharing ANY information; the code word IS the authentication. Use for high-acuity safety planning where the contact's identity must be verified before disclosure."
87
+ }
88
+ ]
89
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "domain": "emergency_contact_call_reason",
3
+ "name": "Emergency Contact Call 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_emergency_contact_call_reason.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_emergency_contact_call_reason.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Reason to call an emergency contact (multi-select)"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "916-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
+ "916-000-000-000-000-000-001",
20
+ "916-000-000-000-000-000-002",
21
+ "916-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."
24
+ },
25
+ {
26
+ "code": "916-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "916-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "916-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "916-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": "916-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "916-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "916-001-000-000-000-000-000",
54
+ "key": "medical_incapacity",
55
+ "title": "Medical incapacity (client unconscious / unable to respond)",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Use case U1 — survivor's medical incapacity (unconscious / unable to respond)."
60
+ },
61
+ {
62
+ "code": "916-002-000-000-000-000-000",
63
+ "key": "safety_concern_survivor_missing",
64
+ "title": "Safety concern — client unreachable / missing",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Use case U3 generalized; absorbs Spring's 24-hr no-check-in trigger. Future Phase 3 24-hr safety check-in protocol pairs with this code."
69
+ },
70
+ {
71
+ "code": "916-003-000-000-000-000-000",
72
+ "key": "child_emergency_client_unreachable",
73
+ "title": "Child emergency while client unreachable",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Use case U4 — children's medical emergency or other safety event while the survivor cannot be reached."
78
+ },
79
+ {
80
+ "code": "916-004-000-000-000-000-000",
81
+ "key": "logistics_children_pet_care_needed",
82
+ "title": "Logistics — children / pet care needed",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Use case U2 — collapses Spring's separate 'leaves children behind' + 'leaves pets behind' triggers (which were shelter-specific) into one canonical reason. Program-relevant when children or pets are in the survivor's care."
87
+ },
88
+ {
89
+ "code": "916-005-000-000-000-000-000",
90
+ "key": "logistics_belongings_or_mail_pickup",
91
+ "title": "Logistics — belongings / mail pickup",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Use case U5 — Spring's 'may pick up mail / personal belongings' affordance. Canonical (renders everywhere) but program-relevant only — non-residential VSPs typically don't hold the survivor's mail or possessions. Pairs with the per-contact MAY_PICKUP_MAIL + MAY_PICKUP_BELONGINGS permissions in core_emergency_contact_permissions."
96
+ },
97
+ {
98
+ "code": "916-006-000-000-000-000-000",
99
+ "key": "other",
100
+ "title": "Other",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Catch-all; pairs with a free-text 'specify' input on the per-contact entry. Use sparingly; flag for vocab review if the same OTHER + text combination recurs (signal for a new canonical reason code)."
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "domain": "emergency_contact_permissions",
3
+ "name": "Emergency Contact Permissions",
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_emergency_contact_permissions.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Multi-select set of WHAT OPERATIONAL/PRACTICAL ACTIONS an emergency contact is authorized to take on the survivor's behalf (distinct from info-sharing scope). YAML declares vocab_status: draft, 9 flat L1 codes with no L0 sentinels; the canonical missingness triplet (unknown/anonymous/data_not_collected) is added here per workspace standard.",
6
+ "_source": "prototype/data/cvcs/core_emergency_contact_permissions.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Emergency contact permission"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "917-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
+ "917-000-000-000-000-000-001",
20
+ "917-000-000-000-000-000-002",
21
+ "917-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 workspace standard — the prototype YAML carried no L0 sentinels for this multi-select permission set."
24
+ },
25
+ {
26
+ "code": "917-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "917-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry — the contact's authorized permissions have not been established."
33
+ },
34
+ {
35
+ "code": "917-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "917-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": "917-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "917-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "917-001-000-000-000-000-000",
54
+ "key": "may_be_told_of_status",
55
+ "title": "May be told of client's status / wellness",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Use case U1 — basic 'is the survivor OK?' confirmation. The minimum-viable permission for an emergency contact who's being notified at all."
60
+ },
61
+ {
62
+ "code": "917-002-000-000-000-000-000",
63
+ "key": "may_receive_location",
64
+ "title": "May be told client's current location",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "High-trust permission. For survivors in residential programs / safe houses / undisclosed locations, this determines whether the contact can know where the survivor IS, not just THAT she's safe. Use sparingly; many emergency contacts should NOT have this permission."
69
+ },
70
+ {
71
+ "code": "917-003-000-000-000-000-000",
72
+ "key": "may_pickup_children",
73
+ "title": "May pick up client's children",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Use case U2 — practical catastrophe coordination. Pairs with the LOGISTICS_CHILDREN_PET_CARE_NEEDED reason in core_emergency_contact_call_reason. May intersect with custody / parental rights — verify this contact has appropriate standing."
78
+ },
79
+ {
80
+ "code": "917-004-000-000-000-000-000",
81
+ "key": "may_pickup_pets",
82
+ "title": "May pick up client's pets",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Use case U2. Pairs with the LOGISTICS_CHILDREN_PET_CARE_NEEDED reason. Often a different person than may_pickup_children — pets and children may go to different short-term carers."
87
+ },
88
+ {
89
+ "code": "917-005-000-000-000-000-000",
90
+ "key": "may_pickup_mail",
91
+ "title": "May pick up client's mail",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Use case U5 — end-of-stay / abrupt-departure logistics. Spring's 'May Pick Up/Handle My Mail' affordance. Program-relevant: residential VSPs hold mail; outpatient / hotline-only programs don't."
96
+ },
97
+ {
98
+ "code": "917-006-000-000-000-000-000",
99
+ "key": "may_pickup_belongings",
100
+ "title": "May pick up client's personal belongings",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Use case U5 — Spring's 'May Pick Up/Handle My Personal Belongings' affordance. Program-relevant — residential / shelter context. May also apply to hospital or short-term institutional contexts."
105
+ },
106
+ {
107
+ "code": "917-007-000-000-000-000-000",
108
+ "key": "may_act_on_clients_behalf_general",
109
+ "title": "May act on client's behalf in emergencies (broad)",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Use case U2 — Spring's 'Is the person authorized to act on your behalf in the event of an emergency?' question. The high-level 'this person speaks for me' affirmation, distinct from the granular permissions (which say WHAT specifically they may do). Pairs with the per-contact authorized_to_act Y/N/U field on the entry."
114
+ },
115
+ {
116
+ "code": "917-008-000-000-000-000-000",
117
+ "key": "may_make_medical_decisions",
118
+ "title": "May make medical decisions (verify medical power of attorney is on file)",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Use case U1 — for survivors with formal medical power of attorney (MDPOA / MPOA / health-care proxy). The label includes a verification reminder: this permission shouldn't be granted casually. Some VSPs will want to see the signed POA document before relying on this permission."
123
+ }
124
+ ]
125
+ }