@htilabs/platform-common-models 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/index.cjs +72 -7
- 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 +71 -7
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +10956 -10
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +12748 -554
- package/dist/cvcs/index.d.ts +12748 -554
- package/dist/cvcs/index.js +10885 -9
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +12357 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1615 -8
- package/dist/index.d.ts +1615 -8
- package/dist/index.js +12216 -19
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-CjC57132.d.cts → platform-auth-7dL99tZh.d.cts} +18 -2
- package/dist/{platform-auth-CjC57132.d.ts → platform-auth-7dL99tZh.d.ts} +18 -2
- package/dist/schemas/index.cjs +63 -7
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +63 -7
- 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 +2 -2
- package/src/__tests__/__snapshots__/cvc-sot.snap +283 -3
- package/src/__tests__/cvc-sot-snapshot.test.ts +93 -2
- package/src/__tests__/cvc-structural.test.ts +72 -0
- package/src/constants/ic.ts +158 -3
- 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/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/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/hmisRelationshipToHoh.v1.0.0.json +104 -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/htType.v1.0.0.json +78 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/index.ts +140 -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/livingSituation.v1.0.0.json +213 -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/referenceLinkType.v1.0.0.json +125 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +114 -0
- package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
- package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
- package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
- package/src/cvcs/serviceAudience.v1.0.0.json +96 -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/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/substanceUseStatus.v1.0.0.json +90 -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/verificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +276 -0
- package/src/cvcs/visaType.v1.0.0.json +378 -0
- package/src/generated/cvc-enums.ts +1752 -5
package/src/constants/ic.ts
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
// HMIS-aligned data quality indicators for demographics and contact fields.
|
|
11
11
|
// Used as companion fields (e.g., sexDataQuality, raceDataQuality) to track
|
|
12
12
|
// why data is missing. Absence of the field (undefined) means data was provided.
|
|
13
|
+
//
|
|
14
|
+
// PAVE §4 DIVERGENCE FLAG (ADR-CONTRACT-platform-common-wiring §4 — missingness
|
|
15
|
+
// row). `@pave/domain` MISSINGNESS_REASONS is `[unk, anon, dnc]`; per the PAVE
|
|
16
|
+
// bind notes those abbreviations realign to the canonical SOT triad
|
|
17
|
+
// `unknown`/`anonymous`/`data_not_collected` that the per-domain CVC JSON
|
|
18
|
+
// missingness leaves already use (prototype/Notion authority). DATA_QUALITY
|
|
19
|
+
// below is a SEPARATE companion-field vocabulary (client_doesnt_know /
|
|
20
|
+
// client_prefers_not_to_answer / data_not_collected) and is intentionally NOT
|
|
21
|
+
// reshaped to match — its reconciliation vs MissingnessKeys is an unratified
|
|
22
|
+
// Tier-C conflict (ADR §8.3, Sean sign-off). No value dropped; flag only.
|
|
13
23
|
|
|
14
24
|
export const DATA_QUALITY = {
|
|
15
25
|
/** Client does not know the answer. */
|
|
@@ -47,6 +57,17 @@ export const DATA_QUALITY_DESCRIPTIONS: Record<DataQualityValue, string> = {
|
|
|
47
57
|
// Distinguishes between legal names (structured: first/middle/last/suffix)
|
|
48
58
|
// and unstructured name forms (alias, trade name, mononym, etc.)
|
|
49
59
|
// Reference: core_name_type in IC/CVC codebook
|
|
60
|
+
//
|
|
61
|
+
// PAVE §4 DIVERGENCE FLAG (ADR-CONTRACT-platform-common-wiring §4 — name-type
|
|
62
|
+
// row). `@pave/domain` NAME_TYPES (14 string members incl. maiden/street/code/
|
|
63
|
+
// preferred/system_display/other; `trade` not `trade_name`; no `mononym`)
|
|
64
|
+
// CONFLICTS with this CVC_1_NAME_TYPE (7 members incl. `mononym`) and with the
|
|
65
|
+
// nameType.v1.0.0.json SOT (8 substantive keys: legal/alias/code_name/
|
|
66
|
+
// handle_screenname/maiden_former/nickname/street_name/trade_name_stage_name).
|
|
67
|
+
// The PAVE bind notes list NAME_TYPES as STILL-DIVERGENT / DEFERRED. This is an
|
|
68
|
+
// unratified Tier-C conflict (ADR §8.3, Sean sign-off); platform-common is NOT
|
|
69
|
+
// reshaped here. No prototype value is dropped — flag only. The nameType SOT
|
|
70
|
+
// JSON is the canonical string surface; this numeric-adjacent const is retained.
|
|
50
71
|
|
|
51
72
|
export const CVC_1_NAME_TYPE = {
|
|
52
73
|
/** Full legal name with structured components (first, middle, last, suffix) */
|
|
@@ -764,6 +785,11 @@ export const IC_57_SERVICE_AUDIENCE = {
|
|
|
764
785
|
THIRD_PARTY: 2,
|
|
765
786
|
DEPENDENT_SECONDARY: 3,
|
|
766
787
|
CLIENT_GROUPS: 4,
|
|
788
|
+
// ADDITIVE per Thread Phase-0 SOT Block C. Labels for codes 1-3 intentionally
|
|
789
|
+
// left as-is (they diverge from the prototype semantically, but renaming them
|
|
790
|
+
// is a [TOUCHES EXISTING] change deferred out of this additive pass).
|
|
791
|
+
OFFENDER: 5,
|
|
792
|
+
PERSONNEL: 6,
|
|
767
793
|
} as const;
|
|
768
794
|
|
|
769
795
|
export type IC57Value =
|
|
@@ -774,6 +800,8 @@ export const IC_57_LABELS: Record<IC57Value, string> = {
|
|
|
774
800
|
[IC_57_SERVICE_AUDIENCE.THIRD_PARTY]: "Third-Party",
|
|
775
801
|
[IC_57_SERVICE_AUDIENCE.DEPENDENT_SECONDARY]: "Dependent / Secondary Victim",
|
|
776
802
|
[IC_57_SERVICE_AUDIENCE.CLIENT_GROUPS]: "Client Groups",
|
|
803
|
+
[IC_57_SERVICE_AUDIENCE.OFFENDER]: "Offender",
|
|
804
|
+
[IC_57_SERVICE_AUDIENCE.PERSONNEL]: "Personnel",
|
|
777
805
|
};
|
|
778
806
|
|
|
779
807
|
// ─── IC-58: Referral Entity Category ────────────────────────────────
|
|
@@ -1059,6 +1087,23 @@ export const IC_58_EXTERNAL_TIERED: IC58ExternalCategory[] = [
|
|
|
1059
1087
|
];
|
|
1060
1088
|
|
|
1061
1089
|
// ─── IC-59: Service State ───────────────────────────────────────────
|
|
1090
|
+
//
|
|
1091
|
+
// FLAG — DEPRECATION CANDIDATE (Thread Phase-0 SOT Block D step 13). This
|
|
1092
|
+
// numeric 1..5 mirror has NO prototype source (the prototype models service
|
|
1093
|
+
// state via the string-keyed `service_states` CVC in serviceStates.v1.0.0.json,
|
|
1094
|
+
// which is the canonical surface). REFERRED=2 in particular has no prototype
|
|
1095
|
+
// analog. Do NOT extend this numeric enum; new states (e.g. the additive
|
|
1096
|
+
// `unable_other_reason`) land on the string CVC only. Retained for wire/
|
|
1097
|
+
// back-compat until consumers migrate off the numeric mirror.
|
|
1098
|
+
//
|
|
1099
|
+
// PAVE §4 DIVERGENCE FLAG (ADR-CONTRACT-platform-common-wiring §4 —
|
|
1100
|
+
// service-state row). THREE distinct vocabularies model this concept:
|
|
1101
|
+
// `@pave/domain` LIFECYCLE_STATES `[needed, provided, referred, declined,
|
|
1102
|
+
// attempted]` (5, str), the `ServiceStateKeys` CVC (now 15 keys, code-mapped —
|
|
1103
|
+
// the prototype/Notion authority), and this numeric IC_59 (1..5). The PAVE bind
|
|
1104
|
+
// notes list LIFECYCLE_STATES as STILL-DIVERGENT / DEFERRED. Unratified Tier-C
|
|
1105
|
+
// conflict (ADR §8.3, Sean sign-off); not reshaped here. The string
|
|
1106
|
+
// `service_states` CVC is the canonical surface both sides converge toward.
|
|
1062
1107
|
|
|
1063
1108
|
export const IC_59_SERVICE_STATE = {
|
|
1064
1109
|
IDENTIFIED: 1,
|
|
@@ -1126,6 +1171,11 @@ export const SESSION_STATES = {
|
|
|
1126
1171
|
PENDING_SAVE: 3,
|
|
1127
1172
|
CLOSED: 4,
|
|
1128
1173
|
DISCARDED: 5,
|
|
1174
|
+
// ADDITIVE per Thread Phase-0 SOT Block G. FLAG — SESSION_STATES has no
|
|
1175
|
+
// prototype source (the prototype has a single record `status`, no
|
|
1176
|
+
// session-wizard state machine); SUBMITTED=6 rides Thread-local th-tsnf.13
|
|
1177
|
+
// authority, not the prototype.
|
|
1178
|
+
SUBMITTED: 6,
|
|
1129
1179
|
} as const;
|
|
1130
1180
|
|
|
1131
1181
|
export type SessionStateValue =
|
|
@@ -1137,6 +1187,7 @@ export const SESSION_STATE_LABELS: Record<SessionStateValue, string> = {
|
|
|
1137
1187
|
[SESSION_STATES.PENDING_SAVE]: "Pending Save",
|
|
1138
1188
|
[SESSION_STATES.CLOSED]: "Closed",
|
|
1139
1189
|
[SESSION_STATES.DISCARDED]: "Discarded",
|
|
1190
|
+
[SESSION_STATES.SUBMITTED]: "Submitted",
|
|
1140
1191
|
};
|
|
1141
1192
|
|
|
1142
1193
|
// ─── Record States ──────────────────────────────────────────────────
|
|
@@ -1167,6 +1218,13 @@ export const INTERACTION_TYPES = {
|
|
|
1167
1218
|
LAP_INCIDENT: 2,
|
|
1168
1219
|
FIELD_RESPONSE: 3,
|
|
1169
1220
|
EMAIL_CRISIS: 4,
|
|
1221
|
+
// ADDITIVE per Thread Phase-0 SOT Block F. FLAG — numeric INTERACTION_TYPES
|
|
1222
|
+
// (incl. these 3 and the pre-existing EMAIL_CRISIS=4) have no prototype
|
|
1223
|
+
// source; the prototype models interactions as string template ids + the
|
|
1224
|
+
// CVC-47/IC-56 delivery channel. Non-canonical wire/back-compat mirror.
|
|
1225
|
+
IN_PERSON: 5,
|
|
1226
|
+
TEXT_EMAIL: 6,
|
|
1227
|
+
VIRTUAL: 7,
|
|
1170
1228
|
OTHER: 99,
|
|
1171
1229
|
} as const;
|
|
1172
1230
|
|
|
@@ -1188,11 +1246,24 @@ export const INTERACTION_TYPE_LABELS: Record<InteractionTypeValue, string> = {
|
|
|
1188
1246
|
[INTERACTION_TYPES.LAP_INCIDENT]: "LAP Incident",
|
|
1189
1247
|
[INTERACTION_TYPES.FIELD_RESPONSE]: "Field Response",
|
|
1190
1248
|
[INTERACTION_TYPES.EMAIL_CRISIS]: "Email Crisis",
|
|
1249
|
+
[INTERACTION_TYPES.IN_PERSON]: "In Person",
|
|
1250
|
+
[INTERACTION_TYPES.TEXT_EMAIL]: "Text / Email",
|
|
1251
|
+
[INTERACTION_TYPES.VIRTUAL]: "Virtual",
|
|
1191
1252
|
[INTERACTION_TYPES.OTHER]: "Other",
|
|
1192
1253
|
};
|
|
1193
1254
|
|
|
1194
1255
|
// ─── CVC-130: Incident Involvement Role ─────────────────────────────
|
|
1195
1256
|
// MECE "one slot" per person per incident. Determines Person Type.
|
|
1257
|
+
//
|
|
1258
|
+
// PAVE §4 DIVERGENCE FLAG (ADR-CONTRACT-platform-common-wiring §4 —
|
|
1259
|
+
// involvement-role row): CONVERGED. `@pave/domain` INVOLVEMENT_ROLES is now
|
|
1260
|
+
// sourced FROM this CVC-130 (via `IncidentInvolvementRoleKeys`/
|
|
1261
|
+
// `INVOLVEMENT_ROLE_KEYS`); the 6 substantive roles (victim_primary/
|
|
1262
|
+
// victim_secondary/victim_other/offender/witness/dependent) match exactly and
|
|
1263
|
+
// PAVE realigned its sentinel `not_collected`→`data_not_collected` to match the
|
|
1264
|
+
// canonical keys here. This string-keyed CVC is the prototype/Notion authority;
|
|
1265
|
+
// no platform-common change needed. (Distinct from the legacy numeric
|
|
1266
|
+
// PERSON_ROLES display map below, which is non-canonical.)
|
|
1196
1267
|
|
|
1197
1268
|
export const INCIDENT_INVOLVEMENT_ROLE = {
|
|
1198
1269
|
VICTIM_PRIMARY: "victim_primary",
|
|
@@ -1295,11 +1366,36 @@ export const IC_4_LABELS: Record<IC4Value, string> = {
|
|
|
1295
1366
|
};
|
|
1296
1367
|
|
|
1297
1368
|
// ─── IC-22: Core Sex ───────────────────────────────────────────────
|
|
1369
|
+
//
|
|
1370
|
+
// PROTOTYPE-AUTHORITY ALIGNMENT (Thread Phase-0 SOT, Block A / SEVERE-1).
|
|
1371
|
+
// The prototype CSV + Thread treat numeric code 3 = NOT_REPORTED. The prior
|
|
1372
|
+
// SOT assigned code 3 = INTERSEX, a TRUE COLLISION on the same integer with
|
|
1373
|
+
// incompatible meaning (numeric exchange silently corrupted "Not Reported" ↔
|
|
1374
|
+
// "Intersex"). Resolution per "prototype is authority":
|
|
1375
|
+
// • code 3 reassigned INTERSEX → NOT_REPORTED (matches prototype + Thread)
|
|
1376
|
+
// • code 4 NOT_TRACKED added (matches CVC_15_CORE_SEX missingness surface)
|
|
1377
|
+
// • INTERSEX relocated to code 5 — FLAGGED, NOT deleted. INTERSEX has no
|
|
1378
|
+
// prototype source (grep -i intersex over the 268k-line prototype = 0
|
|
1379
|
+
// hits; absent from the CVC-15 CSV). It is retained at 5 only because
|
|
1380
|
+
// out-of-repo persisted data may exist under the old meaning.
|
|
1381
|
+
// CVC_15_CORE_SEX is the canonical string surface and is already
|
|
1382
|
+
// prototype-correct — UNCHANGED. Numeric IC_22 is retained for wire/back-compat.
|
|
1383
|
+
//
|
|
1384
|
+
// STORED-DATA MIGRATION — CONDITIONAL. IC_22_CORE_SEX.INTERSEX has NO
|
|
1385
|
+
// value-level consumer in platform-common src (only the IC22Value type is
|
|
1386
|
+
// re-exported at src/types/index.ts). IF any persisted `sex == 3` rows exist
|
|
1387
|
+
// out-of-repo under the OLD INTERSEX meaning, re-map 3 → 5 before this lands.
|
|
1388
|
+
// If none, no migration. This is a consumer-side (Thread) migration gated on
|
|
1389
|
+
// the 0.8.0 publish, not a change applied here.
|
|
1298
1390
|
|
|
1299
1391
|
export const IC_22_CORE_SEX = {
|
|
1300
1392
|
FEMALE: 1,
|
|
1301
1393
|
MALE: 2,
|
|
1302
|
-
|
|
1394
|
+
NOT_REPORTED: 3,
|
|
1395
|
+
NOT_TRACKED: 4,
|
|
1396
|
+
// FLAG: no prototype source; relocated from 3 (not deleted) to preserve any
|
|
1397
|
+
// out-of-repo persisted data. See migration note above.
|
|
1398
|
+
INTERSEX: 5,
|
|
1303
1399
|
UNKNOWN: 99,
|
|
1304
1400
|
} as const;
|
|
1305
1401
|
|
|
@@ -1308,11 +1404,30 @@ export type IC22Value = (typeof IC_22_CORE_SEX)[keyof typeof IC_22_CORE_SEX];
|
|
|
1308
1404
|
export const IC_22_LABELS: Record<IC22Value, string> = {
|
|
1309
1405
|
[IC_22_CORE_SEX.FEMALE]: "Female",
|
|
1310
1406
|
[IC_22_CORE_SEX.MALE]: "Male",
|
|
1407
|
+
[IC_22_CORE_SEX.NOT_REPORTED]: "Not Reported",
|
|
1408
|
+
[IC_22_CORE_SEX.NOT_TRACKED]: "Not Tracked",
|
|
1311
1409
|
[IC_22_CORE_SEX.INTERSEX]: "Intersex",
|
|
1312
1410
|
[IC_22_CORE_SEX.UNKNOWN]: "Unknown",
|
|
1313
1411
|
};
|
|
1314
1412
|
|
|
1315
1413
|
// ─── IC-23: Core Gender Identity ───────────────────────────────────
|
|
1414
|
+
//
|
|
1415
|
+
// PROTOTYPE-AUTHORITY ALIGNMENT (Thread Phase-0 SOT, Block B / SEVERE-2).
|
|
1416
|
+
// The canonical prototype (prototype/data/cvcs/core_gender_identity.yaml)
|
|
1417
|
+
// defines TRANSGENDER_MTF = "transgender woman" and TRANSGENDER_FTM =
|
|
1418
|
+
// "transgender man". Per the user's 2026-06-11 decision to MATCH THE CANONICAL
|
|
1419
|
+
// CVC, the numeric meanings are fixed as:
|
|
1420
|
+
// • code 4 TRANSGENDER_FEMALE = trans woman (MTF, male-to-female)
|
|
1421
|
+
// • code 5 TRANSGENDER_MALE = trans man (FTM, female-to-male)
|
|
1422
|
+
// Labels below are made UNAMBIGUOUS so no downstream consumer can mis-code.
|
|
1423
|
+
//
|
|
1424
|
+
// FLAG — Thread-side conditional migration (gated on the 0.8.0 publish):
|
|
1425
|
+
// Thread's labels were BACKWARDS — Thread labeled code 4 "Transgender - FTM"
|
|
1426
|
+
// (a trans man) and code 5 "Transgender - MTF" (a trans woman), the opposite
|
|
1427
|
+
// people from this canonical mapping. Thread MUST (a) correct its IC_23 labels
|
|
1428
|
+
// to match the canonical here, and (b) migrate any persisted numeric IC_23
|
|
1429
|
+
// data captured under the backwards labels (swap 4 ↔ 5 for affected rows).
|
|
1430
|
+
// No data change is applied here; this is a Thread-repo consumer migration.
|
|
1316
1431
|
|
|
1317
1432
|
export const IC_23_CORE_GENDER_IDENTITY = {
|
|
1318
1433
|
FEMALE: 1,
|
|
@@ -1320,6 +1435,8 @@ export const IC_23_CORE_GENDER_IDENTITY = {
|
|
|
1320
1435
|
NON_BINARY: 3,
|
|
1321
1436
|
TRANSGENDER_FEMALE: 4,
|
|
1322
1437
|
TRANSGENDER_MALE: 5,
|
|
1438
|
+
TRANSGENDER: 6,
|
|
1439
|
+
OTHER: 7,
|
|
1323
1440
|
UNKNOWN: 99,
|
|
1324
1441
|
} as const;
|
|
1325
1442
|
|
|
@@ -1330,8 +1447,12 @@ export const IC_23_LABELS: Record<IC23Value, string> = {
|
|
|
1330
1447
|
[IC_23_CORE_GENDER_IDENTITY.FEMALE]: "Female",
|
|
1331
1448
|
[IC_23_CORE_GENDER_IDENTITY.MALE]: "Male",
|
|
1332
1449
|
[IC_23_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
|
|
1333
|
-
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_FEMALE]:
|
|
1334
|
-
|
|
1450
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_FEMALE]:
|
|
1451
|
+
"Transgender Female (MTF / trans woman)",
|
|
1452
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_MALE]:
|
|
1453
|
+
"Transgender Male (FTM / trans man)",
|
|
1454
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER]: "Transgender",
|
|
1455
|
+
[IC_23_CORE_GENDER_IDENTITY.OTHER]: "Other",
|
|
1335
1456
|
[IC_23_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
|
|
1336
1457
|
};
|
|
1337
1458
|
|
|
@@ -1416,6 +1537,10 @@ export const CVC_17_CORE_GENDER_IDENTITY = {
|
|
|
1416
1537
|
NON_BINARY: "NON_BINARY",
|
|
1417
1538
|
OTHER: "OTHER",
|
|
1418
1539
|
UNKNOWN: "UNK",
|
|
1540
|
+
// Level 0 - Missingness (canonical genderIdentity.v1.0.0.json L0 set).
|
|
1541
|
+
// ADDITIVE per Thread Phase-0 SOT Block B step 5.
|
|
1542
|
+
PREFER_NOT_TO_ANSWER: "PREFER_NOT_TO_ANSWER",
|
|
1543
|
+
DATA_NOT_COLLECTED: "DATA_NOT_COLLECTED",
|
|
1419
1544
|
// Level 2 - Transgender subcategories
|
|
1420
1545
|
TRANSGENDER_FTM: "TRANSGENDER_FTM",
|
|
1421
1546
|
TRANSGENDER_MTF: "TRANSGENDER_MTF",
|
|
@@ -1431,6 +1556,9 @@ export const CVC_17_LABELS: Record<CVC17Value, string> = {
|
|
|
1431
1556
|
[CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
|
|
1432
1557
|
[CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
|
|
1433
1558
|
[CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
|
|
1559
|
+
[CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]:
|
|
1560
|
+
"Client prefers not to answer",
|
|
1561
|
+
[CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
|
|
1434
1562
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
|
|
1435
1563
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF",
|
|
1436
1564
|
};
|
|
@@ -1445,6 +1573,14 @@ export const CVC_17_LEVEL_1_OPTIONS: CVC17Value[] = [
|
|
|
1445
1573
|
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
1446
1574
|
];
|
|
1447
1575
|
|
|
1576
|
+
// Level 0 options (missingness — canonical genderIdentity.v1.0.0.json L0 set).
|
|
1577
|
+
// ADDITIVE per Thread Phase-0 SOT Block B step 5.
|
|
1578
|
+
export const CVC_17_LEVEL_0_MISSINGNESS_OPTIONS: CVC17Value[] = [
|
|
1579
|
+
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
1580
|
+
CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
|
|
1581
|
+
CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
|
|
1582
|
+
];
|
|
1583
|
+
|
|
1448
1584
|
// Level 2 options (transgender subcategories)
|
|
1449
1585
|
export const CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: CVC17Value[] = [
|
|
1450
1586
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
@@ -1630,6 +1766,10 @@ export const QUICK_START_TEMPLATES = {
|
|
|
1630
1766
|
HT_REFERRAL: "ht_referral",
|
|
1631
1767
|
FIELD_RESPONSE: "field_response",
|
|
1632
1768
|
EMAIL_CRISIS: "email_crisis",
|
|
1769
|
+
// ADDITIVE per Thread Phase-0 SOT Block F step 19.
|
|
1770
|
+
TEXT_EMAIL: "text_email",
|
|
1771
|
+
MISC_CALL: "misc_call",
|
|
1772
|
+
IN_PERSON: "in_person",
|
|
1633
1773
|
OTHER: "other",
|
|
1634
1774
|
} as const;
|
|
1635
1775
|
|
|
@@ -1642,6 +1782,9 @@ export const QUICK_START_LABELS: Record<QuickStartTemplateId, string> = {
|
|
|
1642
1782
|
ht_referral: "HT Referral",
|
|
1643
1783
|
field_response: "Field Response",
|
|
1644
1784
|
email_crisis: "Email / Crisis",
|
|
1785
|
+
text_email: "Text / Email",
|
|
1786
|
+
misc_call: "Misc Call",
|
|
1787
|
+
in_person: "In Person",
|
|
1645
1788
|
other: "Other",
|
|
1646
1789
|
};
|
|
1647
1790
|
|
|
@@ -1670,6 +1813,18 @@ export const QUICK_START_CONFIG: Record<
|
|
|
1670
1813
|
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
1671
1814
|
interactionType: INTERACTION_TYPES.EMAIL_CRISIS,
|
|
1672
1815
|
},
|
|
1816
|
+
text_email: {
|
|
1817
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT,
|
|
1818
|
+
interactionType: INTERACTION_TYPES.TEXT_EMAIL,
|
|
1819
|
+
},
|
|
1820
|
+
misc_call: {
|
|
1821
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
1822
|
+
interactionType: INTERACTION_TYPES.OTHER,
|
|
1823
|
+
},
|
|
1824
|
+
in_person: {
|
|
1825
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.IN_PERSON,
|
|
1826
|
+
interactionType: INTERACTION_TYPES.IN_PERSON,
|
|
1827
|
+
},
|
|
1673
1828
|
other: {
|
|
1674
1829
|
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
1675
1830
|
interactionType: INTERACTION_TYPES.OTHER,
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "accommodation_type",
|
|
3
|
+
"name": "Accommodation 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_accommodation_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_accommodation_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Accommodation type"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "900-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
|
+
"900-000-000-000-000-000-001",
|
|
20
|
+
"900-000-000-000-000-000-002",
|
|
21
|
+
"900-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. The prototype YAML's UNK sentinel (survivor knows an accommodation is needed but can't specify the type) maps to the unknown child."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "900-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "900-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry. Carries the prototype's UNK case — survivor knows accommodations are needed but can't specify the type; useful when the conversation needs to keep moving without forcing a guess, and the advocate returns to capture detail later."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "900-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "900-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": "900-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "900-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "900-001-000-000-000-000-000",
|
|
54
|
+
"key": "sensory",
|
|
55
|
+
"title": "Sensory (vision, hearing)",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "ASL interpreter, captioning, large print, screen reader compatible materials, assistive listening device, tactile materials. Per-type free-text captures the specific need (e.g., 'ASL interpreter for in-person staff meetings only — written for everything else')."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "900-002-000-000-000-000-000",
|
|
63
|
+
"key": "mobility",
|
|
64
|
+
"title": "Mobility / physical access",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Wheelchair access, ramps, accessible entrances/restrooms, first-floor units, accessible parking, seating support. Per-type free-text captures the specific physical access requirement (e.g., 'wheelchair-accessible entrance + first-floor unit + grab bars in bathroom')."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "900-003-000-000-000-000-000",
|
|
72
|
+
"key": "communication_cognitive",
|
|
73
|
+
"title": "Communication / cognitive processing",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Augmentative/alternative communication (AAC), simplified materials, extra processing time, support person for communication, written-only communication, plain language. Distinct from sensory (which is about access modality) — this is about how information is structured and paced for the survivor."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "900-004-000-000-000-000-000",
|
|
81
|
+
"key": "medical_dietary",
|
|
82
|
+
"title": "Medical / dietary",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Medication storage, refrigeration, dietary restrictions (allergies / religious / medical), break schedules for medical care, accessible bathroom/kitchen for medical-care self-management. Per-type free-text captures the specific medical or dietary requirement."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"code": "900-005-000-000-000-000-000",
|
|
90
|
+
"key": "service_animal",
|
|
91
|
+
"title": "Service animal accompanies",
|
|
92
|
+
"selectable": true,
|
|
93
|
+
"parentCode": null,
|
|
94
|
+
"childCodes": [],
|
|
95
|
+
"definition": "Trained service animal accompanies the survivor; programs need to confirm service-animal-friendly housing and intake spaces. Distinct from emotional support animal (ESA) — most shelters are not legally required to accommodate ESAs but ARE required to accommodate trained service animals per ADA Title III."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "900-006-000-000-000-000-000",
|
|
99
|
+
"key": "other",
|
|
100
|
+
"title": "Other (specify)",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"definition": "Free-text refinement for accommodation needs not otherwise categorized. Future polish: surface most-frequently-typed values back as suggested codes for canonical promotion."
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "action_step_completion_status",
|
|
3
|
+
"name": "Action Step Completion 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_action_step_completion_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_action_step_completion_status.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Action step completion status"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "901-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
|
+
"901-000-000-000-000-000-001",
|
|
20
|
+
"901-000-000-000-000-000-002",
|
|
21
|
+
"901-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. Distinct from the canonical UNKNOWN_NA / UNANSWERED operational states below, which are first-class completion outcomes, not missingness sentinels."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "901-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "901-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "901-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "901-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": "901-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "901-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "901-001-000-000-000-000-000",
|
|
54
|
+
"key": "yes",
|
|
55
|
+
"title": "Yes",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Action step was completed. Triggers completion-date capture. (Code quoted in the prototype YAML to prevent PyYAML boolean parsing.)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "901-002-000-000-000-000-000",
|
|
63
|
+
"key": "no",
|
|
64
|
+
"title": "No",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Action step was not completed (yet). May be revisited at a future check-in. (Code quoted in the prototype YAML to prevent PyYAML boolean parsing.)"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "901-003-000-000-000-000-000",
|
|
72
|
+
"key": "unknown_na",
|
|
73
|
+
"title": "Unknown / N/A",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Step's completion status is unknown OR not applicable. Per The Spring's canonical structure, fused as one option — separating Unknown from N/A adds capture friction without adding analytic clarity for goal tracking. Preserved as a first-class operational value distinct from the missingness_root sentinels."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "901-004-000-000-000-000-000",
|
|
81
|
+
"key": "unanswered",
|
|
82
|
+
"title": "Unanswered",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "Step has not been reviewed yet. Default on action step creation; flipped to one of the other three values when the advocate reviews progress at a check-in."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "action_step_type",
|
|
3
|
+
"name": "Action Step 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_action_step_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: the prototype YAML declares no L0 missingness sentinels ('every action step is one type or the other by construction'); missingness_root is added here for shape parity with the SOT contract but is non-selectable.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_action_step_type.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Action step type"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "902-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
|
+
"902-000-000-000-000-000-001",
|
|
20
|
+
"902-000-000-000-000-000-002",
|
|
21
|
+
"902-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. Per the prototype YAML this CVC is an internal field with no user-facing missingness — every action step is CLIENT_ACTION or ADVOCATE_ACTION by construction — but the missingness_root is retained for SOT shape parity."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "902-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "902-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "902-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "902-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": "902-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "902-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "902-001-000-000-000-000-000",
|
|
54
|
+
"key": "client_action",
|
|
55
|
+
"title": "Client action step",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "An action the client commits to taking to move the goal forward. Belongs to the survivor per OAC 75:30-3-1(c) self-determination."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "902-002-000-000-000-000-000",
|
|
63
|
+
"key": "advocate_action",
|
|
64
|
+
"title": "Advocate action step",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "An action the advocate commits to taking in support of the client's goal. Distinct from client action — keeps the agency boundary clear in the record."
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "announcement_audience_scope",
|
|
3
|
+
"name": "Announcement Audience Scope",
|
|
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_announcement_audience_scope.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). v1 ships only the three scopes below; AGENCY and SECTOR are deferred v2 candidates in the prototype YAML and are NOT yet authored here.",
|
|
6
|
+
"_source": "prototype/data/cvcs/core_announcement_audience_scope.yaml",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Announcement audience scope"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "903-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
|
+
"903-000-000-000-000-000-001",
|
|
20
|
+
"903-000-000-000-000-000-002",
|
|
21
|
+
"903-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "903-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "903-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "Value is unknown at time of entry."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "903-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "903-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": "903-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "903-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "903-001-000-000-000-000-000",
|
|
54
|
+
"key": "all",
|
|
55
|
+
"title": "All Platform Members",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "Network-wide broadcast. Every authenticated Platform Member receives the announcement. Use for governance updates, feature releases, all-hands office hours, urgent maintenance windows. No filter value required."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "903-002-000-000-000-000-000",
|
|
63
|
+
"key": "role",
|
|
64
|
+
"title": "By role",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "Targeted to all Platform Members with a specific role. Horizontal cross-agency cut. Filter value is a role code from IC-66 (e.g., 'MEM-ADM' for member-account admins, 'CASE-ADV' for case advocates). Use for role-specific updates ('all administrators: new audit log feature', 'all Case Advocates: training session next Friday')."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "903-003-000-000-000-000-000",
|
|
72
|
+
"key": "working_group",
|
|
73
|
+
"title": "By Working Group",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "Targeted to members of a specific Working Group. Filter value is a working_group_id. Use for recurring meeting notes, sub-team coordination, sensitive case consultations within an MDT. Working Group admins may also have publish authority per Q15 v2."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|