@htilabs/platform-common-models 0.13.0 → 0.13.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.
Files changed (58) hide show
  1. package/dist/constants/index.cjs +73 -0
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +69 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
  8. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
  9. package/dist/cvcs/index.cjs +466 -107
  10. package/dist/cvcs/index.cjs.map +1 -1
  11. package/dist/cvcs/index.d.cts +489 -110
  12. package/dist/cvcs/index.d.ts +489 -110
  13. package/dist/cvcs/index.js +466 -107
  14. package/dist/cvcs/index.js.map +1 -1
  15. package/dist/enums/index.cjs +15 -1
  16. package/dist/enums/index.cjs.map +1 -1
  17. package/dist/enums/index.d.cts +21 -7
  18. package/dist/enums/index.d.ts +21 -7
  19. package/dist/enums/index.js +15 -1
  20. package/dist/enums/index.js.map +1 -1
  21. package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
  22. package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  23. package/dist/index.cjs +554 -108
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +3 -3
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +550 -108
  28. package/dist/index.js.map +1 -1
  29. package/dist/models/index.d.cts +2 -2
  30. package/dist/models/index.d.ts +2 -2
  31. package/dist/{platform-auth-Dv5fu0Fh.d.cts → platform-auth-64U8jjuw.d.cts} +71 -2
  32. package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-64U8jjuw.d.ts} +71 -2
  33. package/dist/schemas/index.cjs +62 -0
  34. package/dist/schemas/index.cjs.map +1 -1
  35. package/dist/schemas/index.d.cts +11 -11
  36. package/dist/schemas/index.d.ts +11 -11
  37. package/dist/schemas/index.js +62 -0
  38. package/dist/schemas/index.js.map +1 -1
  39. package/dist/types/index.d.cts +2 -2
  40. package/dist/types/index.d.ts +2 -2
  41. package/package.json +26 -27
  42. package/src/__tests__/__snapshots__/cvc-sot.snap +9 -9
  43. package/src/__tests__/cvc-drift-gate.test.ts +16 -5
  44. package/src/__tests__/cvc-sot-snapshot.test.ts +18 -11
  45. package/src/__tests__/cvc-structural.test.ts +7 -7
  46. package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
  47. package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
  48. package/src/constants/ic.ts +158 -0
  49. package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
  50. package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
  51. package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
  52. package/src/cvcs/index.ts +7 -7
  53. package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
  54. package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
  55. package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
  56. package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
  57. package/src/generated/cvc-enums.ts +21 -7
  58. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
@@ -83,7 +83,7 @@ __export(cvcs_exports, {
83
83
  goalWithdrawalReasonSot: () => goalWithdrawalReason_v1_0_0_default,
84
84
  hairColorSot: () => hairColor_v1_0_0_default,
85
85
  hasTattoosSot: () => hasTattoos_v1_0_0_default,
86
- highestEducationLevelCompletedSot: () => highestEducationLevelCompleted_v1_0_0_default,
86
+ highestEducationLevelCompletedSot: () => highestEducationLevelCompleted_v1_1_0_default,
87
87
  hivStatusSot: () => hivStatus_v1_0_0_default,
88
88
  hmisCurrentLivingSituationSot: () => hmisCurrentLivingSituation_v1_0_0_default,
89
89
  hmisProjectTypeSot: () => hmisProjectType_v1_0_0_default,
@@ -99,8 +99,8 @@ __export(cvcs_exports, {
99
99
  immigrationLegalStatusChangeTypeSot: () => immigrationLegalStatusChangeType_v1_0_0_default,
100
100
  incarcerationEpisodeTypeSot: () => incarcerationEpisodeType_v1_0_0_default,
101
101
  incidentInvolvementRolesSot: () => incidentInvolvementRoles_v1_0_0_default,
102
- incidentParticipationRolesSot: () => incidentParticipationRoles_v1_0_0_default,
103
- incomeBenefitsSourcesSot: () => incomeBenefitsSources_v1_0_0_default,
102
+ incidentParticipationRolesSot: () => incidentParticipationRoles_v1_1_0_default,
103
+ incomeBenefitsSourcesSot: () => incomeBenefitsSources_v1_1_0_default,
104
104
  inferenceTypeSot: () => inferenceType_v1_0_0_default,
105
105
  investigativeRequestTypeSot: () => investigativeRequestType_v1_0_0_default,
106
106
  juvenileJusticeEpisodeTypeSot: () => juvenileJusticeEpisodeType_v1_0_0_default,
@@ -142,7 +142,7 @@ __export(cvcs_exports, {
142
142
  radiusBucketSot: () => radiusBucket_v1_0_0_default,
143
143
  recencyBandSot: () => recencyBand_v1_0_0_default,
144
144
  referenceLinkTypeSot: () => referenceLinkType_v1_0_0_default,
145
- referralEntityCategorySot: () => referralEntityCategory_v1_0_0_default,
145
+ referralEntityCategorySot: () => referralEntityCategory_v1_1_0_default,
146
146
  referralOriginSot: () => referralOrigin_v1_0_0_default,
147
147
  relationshipConcernSot: () => relationshipConcern_v1_0_0_default,
148
148
  relationshipDynamicsSot: () => relationshipDynamics_v1_0_0_default,
@@ -165,7 +165,7 @@ __export(cvcs_exports, {
165
165
  servicePlanClosureReasonSot: () => servicePlanClosureReason_v1_0_0_default,
166
166
  servicePlanReviewSnoozeReasonSot: () => servicePlanReviewSnoozeReason_v1_0_0_default,
167
167
  serviceSourceSot: () => serviceSource_v1_0_0_default,
168
- serviceStatesSot: () => serviceStates_v1_0_0_default,
168
+ serviceStatesSot: () => serviceStates_v1_1_0_default,
169
169
  sessionNoteVisibilitySot: () => sessionNoteVisibility_v1_0_0_default,
170
170
  sessionStateSot: () => sessionState_v1_0_0_default,
171
171
  sessionTemplateSot: () => sessionTemplate_v1_0_0_default,
@@ -181,7 +181,7 @@ __export(cvcs_exports, {
181
181
  smtTypeSot: () => smtType_v1_0_0_default,
182
182
  sourceCategorySot: () => sourceCategory_v1_1_0_default,
183
183
  sourceInstrumentSot: () => sourceInstrument_v1_0_0_default,
184
- sourceSubtypeSot: () => sourceSubtype_v1_1_0_default,
184
+ sourceSubtypeSot: () => sourceSubtype_v1_2_0_default,
185
185
  sourceSystemSot: () => sourceSystem_v1_0_0_default,
186
186
  specialNeedsDisabilitiesSot: () => specialNeedsDisabilities_v1_0_0_default,
187
187
  subjectTypeSot: () => subjectType_v1_0_0_default,
@@ -195,7 +195,7 @@ __export(cvcs_exports, {
195
195
  traffickingRelevantRoleSot: () => traffickingRelevantRole_v1_0_0_default,
196
196
  tribesSot: () => tribes_v1_0_0_default,
197
197
  userRolesSot: () => userRoles_v1_0_0_default,
198
- verificationMethodSot: () => verificationMethod_v1_0_0_default,
198
+ verificationMethodSot: () => verificationMethod_v1_1_0_default,
199
199
  verificationStatusSot: () => verificationStatus_v1_0_0_default,
200
200
  victimAbuseTypesSot: () => victimAbuseTypes_v1_1_0_default,
201
201
  victimStatusFamilySot: () => victimStatusFamily_v1_0_0_default,
@@ -2283,11 +2283,11 @@ var serviceCategories_v1_0_0_default = {
2283
2283
  ]
2284
2284
  };
2285
2285
 
2286
- // src/cvcs/serviceStates.v1.0.0.json
2287
- var serviceStates_v1_0_0_default = {
2286
+ // src/cvcs/serviceStates.v1.1.0.json
2287
+ var serviceStates_v1_1_0_default = {
2288
2288
  domain: "service_states",
2289
2289
  name: "Core Service State",
2290
- version: "1.0.0",
2290
+ version: "1.1.0",
2291
2291
  levels: {
2292
2292
  "0": "Unknown or Missing",
2293
2293
  "1": "Primary State",
@@ -2552,15 +2552,49 @@ var serviceMechanisms_v1_0_0_default = {
2552
2552
  ]
2553
2553
  };
2554
2554
 
2555
- // src/cvcs/incidentParticipationRoles.v1.0.0.json
2556
- var incidentParticipationRoles_v1_0_0_default = {
2555
+ // src/cvcs/incidentParticipationRoles.v1.1.0.json
2556
+ var incidentParticipationRoles_v1_1_0_default = {
2557
2557
  domain: "incident_participation_roles",
2558
2558
  name: "Core Incident Participation Roles",
2559
- version: "1.0.0",
2559
+ version: "1.1.0",
2560
+ _status: "CANONICAL \u2014 Notion CVC-69 `core-incident_participation_roles` (IC-64) v1.0, status Active (last audit 2026-09-10, CVC69-AUDIT; re-keyed in canon 2026-08-13, CVC69-CODEBOOK-SYNC). Re-mirrored from prototype canon @ a498581d. SUPERSEDES incidentParticipationRoles v1.0.0 (platform-common <= 0.13.0), which predated both. ADDITIVE, NOT BREAKING: no v1.0.0 key is removed and no v1.0.0 code changes. All 21 canon codes ship as entries carrying `canonicalCode` / `canonicalLevel` / `personnel` (codebook Type = Personnel); `title` is the codebook `Acceptable name` and `definition` the codebook Definition, both verbatim. The five keys canon renamed on 2026-08-13 (service_provider_staff -> vsp_staff, medical_provider_staff -> healthcare_provider_staff, data_entry -> data_entry_staff, other_incident_responder -> other_response_personnel, responding_officer -> law_enforcement_personnel) REMAIN as entries at their v1.0.0 code, title and definition, marked `deprecated: true` + `supersededBy` and `selectable: false`: stored values and `getEntryByKey` keep resolving, pickers (`getSelectableEntries`) drop them, and nothing stored is rewritten. The mapping is canon's rename ruling, not a semantic-equivalence proof \u2014 v1.0.0 `other_incident_responder` was titled 'VSP or Other Incident Responder' while canon `other_response_personnel` EXCLUDES VSP staff (`vsp_staff`), and v1.0.0 `responding_officer` maps to the broad `law_enforcement_personnel` bucket, not the Level-2 `le_officer`; see `_supersedes.notes`. MISSINGNESS: canon re-keyed Level 0 to UNK / ANON / DNC (2026-09-10); the package keys stay `unknown` / `anonymous` / `data_not_collected` (package-wide convention; keys must be lowercase slugs) with the canon code on `canonicalCode`. Canon: UNK is user-pickable, ANON is set through a decline affordance, DNC is system-stamped only \u2014 `neverPickable: true` marks the two that must never be offered as a picker option (yaml `never_pickable`); all three stay `selectable: true` as assignable values, unchanged from v1.0.0. HIERARCHY: the four non-selectable `*_group` rows are package-synthetic, one per value of the codebook `Select` column; canon Level 1 is package level 2, and canon Level 2 (the LEADS investigative sub-items) is package level 3 under its canon parent. A sub-item implies its parent; `task_force` is deliberately parentless in canon (Crysta 2026-08-13) and sits directly under its Select group. Positional ordinals are FROZEN per concept: the 20 v1.0.0 codes are unchanged, 11 were MINTED for v1.1.0 (069-004-007..012 in canon row order; sub-items 069-004-009-001..004 and 069-004-006-001), and the generator REFUSES a canon key with no frozen ordinal. NOT carried: the codebook's Logic Notes / Guidance, the CVC-45 service-audience crosswalk relation, and the yaml `legacy_codes` read-aliases (prototype runtime ids such as `service_staff` / `vsp_other`, never shipped by this package). Generated by scripts/gen-incident-participation-roles.py \u2014 do not hand-edit.",
2561
+ _source: "htilabstech/prototype/data/cvcs/core_incident_participation_roles.yaml @ a498581d + htilabstech/prototype/Final CVCs/core - incident_participation_role \u2014 codebook 2.csv @ a498581d (cross-checked against codebook 1.csv @ a498581d) (Notion CVC-69 v1.0; read from origin/main)",
2562
+ _supersedes: {
2563
+ version: "1.0.0",
2564
+ keyMap: {
2565
+ missingness_root: "missingness_root",
2566
+ unknown: "unknown",
2567
+ anonymous: "anonymous",
2568
+ data_not_collected: "data_not_collected",
2569
+ client_group: "client_group",
2570
+ client_subject: "client_subject",
2571
+ caller_reporter_group: "caller_reporter_group",
2572
+ caller_self: "caller_self",
2573
+ caller_third_party: "caller_third_party",
2574
+ reporter: "reporter",
2575
+ support_network_group: "support_network_group",
2576
+ family_member_or_guardian: "family_member_or_guardian",
2577
+ friend_or_peer: "friend_or_peer",
2578
+ system_professional_group: "system_professional_group",
2579
+ service_provider_staff: "vsp_staff",
2580
+ medical_provider_staff: "healthcare_provider_staff",
2581
+ data_entry: "data_entry_staff",
2582
+ other_incident_responder: "other_response_personnel",
2583
+ responding_officer: "law_enforcement_personnel",
2584
+ legal_professional: "legal_professional"
2585
+ },
2586
+ retiredCodes: [],
2587
+ notes: {
2588
+ additive: "Every v1.0.0 key is still an entry in v1.1.0 at its v1.0.0 code. `keyMap` gives the CANONICAL successor of each v1.0.0 key (identity for the 15 that canon kept); a consumer may normalise on read or migrate at its own pace, and is never required to.",
2589
+ other_incident_responder: "v1.0.0 `other_incident_responder` ('VSP or Other Incident Responder') could mean a VSP advocate on scene. Canon `other_response_personnel` is the residual AFTER the VSP, healthcare, law-enforcement and legal codes. A stored value that was really VSP staff belongs on `vsp_staff`; a migration should review, not map blindly.",
2590
+ responding_officer: "v1.0.0 `responding_officer` covered patrol officers AND detectives, so its successor is the broad Level-1 `law_enforcement_personnel`, per canon's rename ruling \u2014 not the Level-2 `le_officer` (a responding or patrol officer only)."
2591
+ }
2592
+ },
2560
2593
  levels: {
2561
2594
  "0": "Unknown or Missing",
2562
2595
  "1": "Group",
2563
- "2": "Role"
2596
+ "2": "Role",
2597
+ "3": "Sub-role"
2564
2598
  },
2565
2599
  entries: [
2566
2600
  {
@@ -2583,7 +2617,10 @@ var incidentParticipationRoles_v1_0_0_default = {
2583
2617
  selectable: true,
2584
2618
  parentCode: "069-000-000-000-000-000-000",
2585
2619
  childCodes: [],
2586
- definition: "Value is unknown at time of entry."
2620
+ definition: "A participation role is in scope but unknown or cannot be determined from the available information.",
2621
+ canonicalCode: "UNK",
2622
+ canonicalLevel: 0,
2623
+ personnel: false
2587
2624
  },
2588
2625
  {
2589
2626
  code: "069-000-000-000-000-000-002",
@@ -2592,7 +2629,11 @@ var incidentParticipationRoles_v1_0_0_default = {
2592
2629
  selectable: true,
2593
2630
  parentCode: "069-000-000-000-000-000-000",
2594
2631
  childCodes: [],
2595
- definition: "Value is intentionally withheld or redacted."
2632
+ definition: "The participation role is intentionally withheld or redacted (privacy / safety / legal), even if known to the reporting party.",
2633
+ canonicalCode: "ANON",
2634
+ canonicalLevel: 0,
2635
+ personnel: false,
2636
+ neverPickable: true
2596
2637
  },
2597
2638
  {
2598
2639
  code: "069-000-000-000-000-000-003",
@@ -2601,7 +2642,11 @@ var incidentParticipationRoles_v1_0_0_default = {
2601
2642
  selectable: true,
2602
2643
  parentCode: "069-000-000-000-000-000-000",
2603
2644
  childCodes: [],
2604
- definition: "No attempt was made to collect the value."
2645
+ definition: "No attempt was made to collect a participation role for this person.",
2646
+ canonicalCode: "DNC",
2647
+ canonicalLevel: 0,
2648
+ personnel: false,
2649
+ neverPickable: true
2605
2650
  },
2606
2651
  {
2607
2652
  code: "069-001-000-000-000-000-000",
@@ -2617,11 +2662,14 @@ var incidentParticipationRoles_v1_0_0_default = {
2617
2662
  {
2618
2663
  code: "069-001-001-000-000-000-000",
2619
2664
  key: "client_subject",
2620
- title: "Client (subject)",
2665
+ title: "Client / subject-of-record",
2621
2666
  selectable: true,
2622
2667
  parentCode: "069-001-000-000-000-000-000",
2623
2668
  childCodes: [],
2624
- definition: "The participant who is the subject of the incident record (the client for whom the episode is framed)."
2669
+ definition: "The person the incident/session is about (the anchor person for the record).",
2670
+ canonicalCode: "client_subject",
2671
+ canonicalLevel: 1,
2672
+ personnel: false
2625
2673
  },
2626
2674
  {
2627
2675
  code: "069-002-000-000-000-000-000",
@@ -2643,7 +2691,10 @@ var incidentParticipationRoles_v1_0_0_default = {
2643
2691
  selectable: true,
2644
2692
  parentCode: "069-002-000-000-000-000-000",
2645
2693
  childCodes: [],
2646
- definition: "Caller contacting the program on their own behalf."
2694
+ definition: "The caller is the same person as the client/subject-of-record.",
2695
+ canonicalCode: "caller_self",
2696
+ canonicalLevel: 1,
2697
+ personnel: false
2647
2698
  },
2648
2699
  {
2649
2700
  code: "069-002-002-000-000-000-000",
@@ -2652,16 +2703,22 @@ var incidentParticipationRoles_v1_0_0_default = {
2652
2703
  selectable: true,
2653
2704
  parentCode: "069-002-000-000-000-000-000",
2654
2705
  childCodes: [],
2655
- definition: "Caller contacting the program on behalf of someone else."
2706
+ definition: "The caller is a different person than the client/subject-of-record.",
2707
+ canonicalCode: "caller_third_party",
2708
+ canonicalLevel: 1,
2709
+ personnel: false
2656
2710
  },
2657
2711
  {
2658
2712
  code: "069-002-003-000-000-000-000",
2659
2713
  key: "reporter",
2660
- title: "Reporter",
2714
+ title: "Reporter / information source",
2661
2715
  selectable: true,
2662
2716
  parentCode: "069-002-000-000-000-000-000",
2663
2717
  childCodes: [],
2664
- definition: "Participant who filed a formal report about the incident."
2718
+ definition: "A person who provides information about the incident/session subject, regardless of who benefits from the service.",
2719
+ canonicalCode: "reporter",
2720
+ canonicalLevel: 1,
2721
+ personnel: false
2665
2722
  },
2666
2723
  {
2667
2724
  code: "069-003-000-000-000-000-000",
@@ -2678,20 +2735,26 @@ var incidentParticipationRoles_v1_0_0_default = {
2678
2735
  {
2679
2736
  code: "069-003-001-000-000-000-000",
2680
2737
  key: "family_member_or_guardian",
2681
- title: "Family member or guardian",
2738
+ title: "Family member or guardian (participant)",
2682
2739
  selectable: true,
2683
2740
  parentCode: "069-003-000-000-000-000-000",
2684
2741
  childCodes: [],
2685
- definition: "Family member or legal guardian of the client."
2742
+ definition: "A participant who is in the client/subject\u2019s family or guardianship network (including parent/guardian).",
2743
+ canonicalCode: "family_member_or_guardian",
2744
+ canonicalLevel: 1,
2745
+ personnel: false
2686
2746
  },
2687
2747
  {
2688
2748
  code: "069-003-002-000-000-000-000",
2689
2749
  key: "friend_or_peer",
2690
- title: "Friend or peer",
2750
+ title: "Friend or peer (participant)",
2691
2751
  selectable: true,
2692
2752
  parentCode: "069-003-000-000-000-000-000",
2693
2753
  childCodes: [],
2694
- definition: "Friend or peer in the client's support network."
2754
+ definition: "A participant who is a friend, peer, or informal support person to the client/subject.",
2755
+ canonicalCode: "friend_or_peer",
2756
+ canonicalLevel: 1,
2757
+ personnel: false
2695
2758
  },
2696
2759
  {
2697
2760
  code: "069-004-000-000-000-000-000",
@@ -2705,7 +2768,13 @@ var incidentParticipationRoles_v1_0_0_default = {
2705
2768
  "069-004-003-000-000-000-000",
2706
2769
  "069-004-004-000-000-000-000",
2707
2770
  "069-004-005-000-000-000-000",
2708
- "069-004-006-000-000-000-000"
2771
+ "069-004-006-000-000-000-000",
2772
+ "069-004-007-000-000-000-000",
2773
+ "069-004-008-000-000-000-000",
2774
+ "069-004-009-000-000-000-000",
2775
+ "069-004-010-000-000-000-000",
2776
+ "069-004-011-000-000-000-000",
2777
+ "069-004-012-000-000-000-000"
2709
2778
  ],
2710
2779
  definition: "Group of participation roles identifying system-side professionals involved in the incident."
2711
2780
  },
@@ -2713,46 +2782,56 @@ var incidentParticipationRoles_v1_0_0_default = {
2713
2782
  code: "069-004-001-000-000-000-000",
2714
2783
  key: "service_provider_staff",
2715
2784
  title: "Service provider staff",
2716
- selectable: true,
2785
+ selectable: false,
2717
2786
  parentCode: "069-004-000-000-000-000-000",
2718
2787
  childCodes: [],
2719
- definition: "Staff of a service provider program or agency involved in the incident."
2788
+ definition: "Staff of a service provider program or agency involved in the incident.",
2789
+ deprecated: true,
2790
+ supersededBy: "vsp_staff"
2720
2791
  },
2721
2792
  {
2722
2793
  code: "069-004-002-000-000-000-000",
2723
2794
  key: "medical_provider_staff",
2724
2795
  title: "Medical provider staff",
2725
- selectable: true,
2796
+ selectable: false,
2726
2797
  parentCode: "069-004-000-000-000-000-000",
2727
2798
  childCodes: [],
2728
- definition: "Staff of a medical provider (hospital, clinic) involved in the incident."
2799
+ definition: "Staff of a medical provider (hospital, clinic) involved in the incident.",
2800
+ deprecated: true,
2801
+ supersededBy: "healthcare_provider_staff"
2729
2802
  },
2730
2803
  {
2731
2804
  code: "069-004-003-000-000-000-000",
2732
2805
  key: "data_entry",
2733
2806
  title: "Data Entry / Editor",
2734
- selectable: true,
2807
+ selectable: false,
2735
2808
  parentCode: "069-004-000-000-000-000-000",
2736
2809
  childCodes: [],
2737
- definition: "A participant performing data entry or record editing for the incident \u2014 typically program staff entering or updating the record rather than participating substantively in the incident response."
2810
+ definition: "A participant performing data entry or record editing for the incident \u2014 typically program staff entering or updating the record rather than participating substantively in the incident response.",
2811
+ deprecated: true,
2812
+ supersededBy: "data_entry_staff"
2738
2813
  },
2739
2814
  {
2740
2815
  code: "069-004-004-000-000-000-000",
2741
2816
  key: "other_incident_responder",
2742
2817
  title: "VSP or Other Incident Responder",
2743
- selectable: true,
2818
+ selectable: false,
2744
2819
  parentCode: "069-004-000-000-000-000-000",
2745
2820
  childCodes: [],
2746
- definition: "A participant acting as a Victim Service Provider (VSP) or other non-law-enforcement responder present at the incident (e.g., crisis advocate on scene)."
2821
+ definition: "A participant acting as a Victim Service Provider (VSP) or other non-law-enforcement responder present at the incident (e.g., crisis advocate on scene).",
2822
+ deprecated: true,
2823
+ supersededBy: "other_response_personnel"
2747
2824
  },
2748
2825
  {
2749
2826
  code: "069-004-005-000-000-000-000",
2750
2827
  key: "responding_officer",
2751
2828
  title: "LE Responding Officer",
2752
- selectable: true,
2829
+ selectable: false,
2753
2830
  parentCode: "069-004-000-000-000-000-000",
2754
2831
  childCodes: [],
2755
- definition: "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
2832
+ definition: "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel).",
2833
+ deprecated: true,
2834
+ supersededBy: "law_enforcement_personnel"
2756
2835
  },
2757
2836
  {
2758
2837
  code: "069-004-006-000-000-000-000",
@@ -2760,8 +2839,150 @@ var incidentParticipationRoles_v1_0_0_default = {
2760
2839
  title: "Legal professional",
2761
2840
  selectable: true,
2762
2841
  parentCode: "069-004-000-000-000-000-000",
2842
+ childCodes: [
2843
+ "069-004-006-001-000-000-000"
2844
+ ],
2845
+ definition: "A participant acting in a legal capacity (attorney, prosecutor, court personnel).",
2846
+ canonicalCode: "legal_professional",
2847
+ canonicalLevel: 1,
2848
+ personnel: true
2849
+ },
2850
+ {
2851
+ code: "069-004-006-001-000-000-000",
2852
+ key: "prosecutor",
2853
+ title: "Prosecutor",
2854
+ selectable: true,
2855
+ parentCode: "069-004-006-000-000-000-000",
2856
+ childCodes: [],
2857
+ definition: "A prosecution-side contributor.",
2858
+ canonicalCode: "prosecutor",
2859
+ canonicalLevel: 2,
2860
+ personnel: true
2861
+ },
2862
+ {
2863
+ code: "069-004-007-000-000-000-000",
2864
+ key: "vsp_staff",
2865
+ title: "Victim Service provider staff",
2866
+ selectable: true,
2867
+ parentCode: "069-004-000-000-000-000-000",
2763
2868
  childCodes: [],
2764
- definition: "An attorney or other legal professional (e.g., legal advocate, paralegal) acting in a legal capacity in relation to the incident."
2869
+ definition: "A participant acting in a victim-service capacity (advocate, case manager, shelter staff, crisis response) on behalf of a VSP.",
2870
+ canonicalCode: "vsp_staff",
2871
+ canonicalLevel: 1,
2872
+ personnel: true
2873
+ },
2874
+ {
2875
+ code: "069-004-008-000-000-000-000",
2876
+ key: "healthcare_provider_staff",
2877
+ title: "Healthcare provider staff",
2878
+ selectable: true,
2879
+ parentCode: "069-004-000-000-000-000-000",
2880
+ childCodes: [],
2881
+ definition: "A participant acting formally as medical, mental, behavioral or clinical staff (clinic, hospital, SANE program, behavioral health provider).",
2882
+ canonicalCode: "healthcare_provider_staff",
2883
+ canonicalLevel: 1,
2884
+ personnel: true
2885
+ },
2886
+ {
2887
+ code: "069-004-009-000-000-000-000",
2888
+ key: "law_enforcement_personnel",
2889
+ title: "Law enforcement personnel",
2890
+ selectable: true,
2891
+ parentCode: "069-004-000-000-000-000-000",
2892
+ childCodes: [
2893
+ "069-004-009-001-000-000-000",
2894
+ "069-004-009-002-000-000-000",
2895
+ "069-004-009-003-000-000-000",
2896
+ "069-004-009-004-000-000-000"
2897
+ ],
2898
+ definition: "A participant acting in a law-enforcement capacity (responding officer, investigator, analyst, detective, SRO).",
2899
+ canonicalCode: "law_enforcement_personnel",
2900
+ canonicalLevel: 1,
2901
+ personnel: true
2902
+ },
2903
+ {
2904
+ code: "069-004-009-001-000-000-000",
2905
+ key: "lead_investigator",
2906
+ title: "Lead Investigator",
2907
+ selectable: true,
2908
+ parentCode: "069-004-009-000-000-000-000",
2909
+ childCodes: [],
2910
+ definition: "The lead of an inquiry. Distinct from the platform case agent, which is the access/ownership singleton on the case object (first claimer, with recorded transfer) \u2014 a case names one agent but may name several investigators.",
2911
+ canonicalCode: "lead_investigator",
2912
+ canonicalLevel: 2,
2913
+ personnel: true
2914
+ },
2915
+ {
2916
+ code: "069-004-009-002-000-000-000",
2917
+ key: "investigator",
2918
+ title: "Investigator / Detective",
2919
+ selectable: true,
2920
+ parentCode: "069-004-009-000-000-000-000",
2921
+ childCodes: [],
2922
+ definition: "A participant working some aspect of the inquiry. This is the need-to-know population for investigation_support shares.",
2923
+ canonicalCode: "investigator",
2924
+ canonicalLevel: 2,
2925
+ personnel: true
2926
+ },
2927
+ {
2928
+ code: "069-004-009-003-000-000-000",
2929
+ key: "analyst",
2930
+ title: "Analyst",
2931
+ selectable: true,
2932
+ parentCode: "069-004-009-000-000-000-000",
2933
+ childCodes: [],
2934
+ definition: "An intelligence or analytical contributor.",
2935
+ canonicalCode: "analyst",
2936
+ canonicalLevel: 2,
2937
+ personnel: true
2938
+ },
2939
+ {
2940
+ code: "069-004-009-004-000-000-000",
2941
+ key: "le_officer",
2942
+ title: "LE Officer",
2943
+ selectable: true,
2944
+ parentCode: "069-004-009-000-000-000-000",
2945
+ childCodes: [],
2946
+ definition: "A responding or patrol officer.",
2947
+ canonicalCode: "le_officer",
2948
+ canonicalLevel: 2,
2949
+ personnel: true
2950
+ },
2951
+ {
2952
+ code: "069-004-010-000-000-000-000",
2953
+ key: "other_response_personnel",
2954
+ title: "Other Response Personnel",
2955
+ selectable: true,
2956
+ parentCode: "069-004-000-000-000-000-000",
2957
+ childCodes: [],
2958
+ definition: "A responder or professional participant not covered by the VSP, healthcare, law-enforcement or legal codes (e.g. clergy, interpreter, government social services).",
2959
+ canonicalCode: "other_response_personnel",
2960
+ canonicalLevel: 1,
2961
+ personnel: true
2962
+ },
2963
+ {
2964
+ code: "069-004-011-000-000-000-000",
2965
+ key: "data_entry_staff",
2966
+ title: "Data Entry / Editor",
2967
+ selectable: true,
2968
+ parentCode: "069-004-000-000-000-000-000",
2969
+ childCodes: [],
2970
+ definition: "Staff person who created or edited the record but did not respond/participate in the incident/session itself.",
2971
+ canonicalCode: "data_entry_staff",
2972
+ canonicalLevel: 1,
2973
+ personnel: true
2974
+ },
2975
+ {
2976
+ code: "069-004-012-000-000-000-000",
2977
+ key: "task_force",
2978
+ title: "Task Force Partner",
2979
+ selectable: true,
2980
+ parentCode: "069-004-000-000-000-000-000",
2981
+ childCodes: [],
2982
+ definition: "A cross-agency task-force contributor \u2014 the community/task-force tier's personnel analogue.",
2983
+ canonicalCode: "task_force",
2984
+ canonicalLevel: 1,
2985
+ personnel: true
2765
2986
  }
2766
2987
  ]
2767
2988
  };
@@ -7166,11 +7387,11 @@ var contactSafetyStatus_v1_0_0_default = {
7166
7387
  ]
7167
7388
  };
7168
7389
 
7169
- // src/cvcs/highestEducationLevelCompleted.v1.0.0.json
7170
- var highestEducationLevelCompleted_v1_0_0_default = {
7390
+ // src/cvcs/highestEducationLevelCompleted.v1.1.0.json
7391
+ var highestEducationLevelCompleted_v1_1_0_default = {
7171
7392
  domain: "highest_education_level_completed",
7172
7393
  name: "Core Highest Education Level Completed",
7173
- version: "1.0.0",
7394
+ version: "1.1.0",
7174
7395
  levels: {
7175
7396
  "0": "Unknown or Missing",
7176
7397
  "1": "Education level"
@@ -11007,11 +11228,73 @@ var locationType_v1_0_0_default = {
11007
11228
  ]
11008
11229
  };
11009
11230
 
11010
- // src/cvcs/referralEntityCategory.v1.0.0.json
11011
- var referralEntityCategory_v1_0_0_default = {
11231
+ // src/cvcs/referralEntityCategory.v1.1.0.json
11232
+ var referralEntityCategory_v1_1_0_default = {
11012
11233
  domain: "referral_entity_category",
11013
11234
  name: "Core Referral Entity Category",
11014
- version: "1.0.0",
11235
+ version: "1.1.0",
11236
+ _status: "CANONICAL \u2014 Notion CVC-48 `core-referral_entity_category` (IC-58), status Active (full audit 2026-08-20, CVC48_IC58_REFERRAL_ENTITY_CATEGORY_AUDIT; `Date of last audit` 2026-09-01). Re-mirrored from prototype canon yaml v1.3 @ 9a10f480 and the live Notion codebook (46 rows, compared row by row 2026-10-05). SUPERSEDES referralEntityCategory v1.0.0 (platform-common <= 0.13.0), which predated the audit. ADDITIVE: no v1.0.0 key is removed and no v1.0.0 positional code changes. ADDED (3): `adult_protective_services` (02-03-06-00), `school_academic_institution` (02-05-01-00), `legal_services_provider` (02-06-04-00). SELECTABLE follows canon on two rows: `education` is now a non-selectable heading (its leaf is `school_academic_institution`, which carries the HMIS R1 School rollup \u2014 ruled 2026-08-20) and `law_enforcement` is now selectable (canon Level 2 Required; its five children are optional depth). A stored `education` is still a valid key. `title` and `definition` are canon's, verbatim (yaml `name` / `definition`; the live Notion wording where the two differ: the Adult Protective Services label, the quotation marks in the Victim service provider definition, and the wording of the residual Community-based provider definition); the Level-0 rows keep the package's house missingness titles. `justice_protective_systems` no longer carries the package-authored definition v1.0.0 gave it: canon's heading (02-03-00-00) has none. Every canon-backed row carries canon's 4-segment code as `canonicalCode`; the package's own positional codes are unchanged and are NOT canon's. NOT CARRIED, pending a decision: `02-02-01-00` Hotline \u2014 canon's Level-2 parent of National hotline / Local/other hotline; carrying it needs a decision between renumbering 048-006-001/-002 (breaks the frozen-ordinal rule) and appending it at 048-006-003 as a sibling of its own canon children. Until it is carried, `national_hotline` and `local_other_hotline` sit directly under the `hotlines` heading (as in v1.0.0) and this package has no key for a generic Hotline. Also NOT carried: canon `hmis_r1_code` / `hmis_r1_mapping`, `required`, `enum_constant`, `voca_ovc_pmt_bucket`, `pave_2025_mapping`, `logic_notes`, `mappings_notes` (v1.0.0 carried none of them). Generated by scripts/gen-referral-entity-category.py \u2014 do not hand-edit.",
11237
+ _source: "htilabstech/prototype/data/cvcs/core_referral_entity_category.yaml @ 9a10f480 (Notion CVC-48, yaml v1.3; read from origin/main) + Notion codebook collection://3181ef14-abcd-8081-95b5-000bc30a73bd (wording of 3 cells, compared 2026-10-05)",
11238
+ _supersedes: {
11239
+ version: "1.0.0",
11240
+ keyMap: {
11241
+ missingness_root: "missingness_root",
11242
+ unknown: "unknown",
11243
+ anonymous: "anonymous",
11244
+ data_not_collected: "data_not_collected",
11245
+ self_referred: "self_referred",
11246
+ family_guardian_friend: "family_guardian_friend",
11247
+ peer: "peer",
11248
+ other_individual: "other_individual",
11249
+ housing_shelter_continuum: "housing_shelter_continuum",
11250
+ outreach_project: "outreach_project",
11251
+ temporary_shelter: "temporary_shelter",
11252
+ residential_project: "residential_project",
11253
+ hotlines: "hotlines",
11254
+ national_hotline: "national_hotline",
11255
+ local_other_hotline: "local_other_hotline",
11256
+ justice_protective_systems: "justice_protective_systems",
11257
+ child_welfare_cps: "child_welfare_cps",
11258
+ juvenile_justice: "juvenile_justice",
11259
+ law_enforcement: "law_enforcement",
11260
+ local_law_enforcement: "local_law_enforcement",
11261
+ state_law_enforcement: "state_law_enforcement",
11262
+ federal_law_enforcement: "federal_law_enforcement",
11263
+ tribal_law_enforcement: "tribal_law_enforcement",
11264
+ other_law_enforcement: "other_law_enforcement",
11265
+ courts_prosecution: "courts_prosecution",
11266
+ correction_probation: "correction_probation",
11267
+ health_behavioral_health: "health_behavioral_health",
11268
+ inpatient_psychiatric_facility: "inpatient_psychiatric_facility",
11269
+ healthcare_provider: "healthcare_provider",
11270
+ education: "education",
11271
+ victim_community_service_providers: "victim_community_service_providers",
11272
+ child_advocacy_center: "child_advocacy_center",
11273
+ victim_service_provider: "victim_service_provider",
11274
+ community_based_service_provider: "community_based_service_provider",
11275
+ coordination_governance: "coordination_governance",
11276
+ mdt: "mdt",
11277
+ coalition: "coalition",
11278
+ internal: "internal",
11279
+ own_agency_internal: "own_agency_internal",
11280
+ other_entity: "other_entity",
11281
+ employer: "employer",
11282
+ benefits_public_assistance_office: "benefits_public_assistance_office",
11283
+ other_organization: "other_organization"
11284
+ },
11285
+ retiredCodes: [],
11286
+ notes: {
11287
+ education: "v1.0.0 `education` was a selectable leaf. Canon makes Education a heading whose only leaf is School / academic institution. `education` stays a valid stored key (now `selectable: false`); the specific successor for a school is `school_academic_institution`. Not mapped automatically.",
11288
+ law_enforcement: "v1.0.0 `law_enforcement` was a non-selectable heading. Canon makes Law enforcement / Police a selectable leaf with five optional children."
11289
+ }
11290
+ },
11291
+ _notCarried: [
11292
+ {
11293
+ canonicalCode: "02-02-01-00",
11294
+ name: "Hotline",
11295
+ reason: "canon's Level-2 parent of National hotline / Local/other hotline; carrying it needs a decision between renumbering 048-006-001/-002 (breaks the frozen-ordinal rule) and appending it at 048-006-003 as a sibling of its own canon children"
11296
+ }
11297
+ ],
11015
11298
  levels: {
11016
11299
  "0": "Unknown or Missing",
11017
11300
  "1": "Category",
@@ -11039,7 +11322,8 @@ var referralEntityCategory_v1_0_0_default = {
11039
11322
  selectable: true,
11040
11323
  parentCode: "048-000-000-000-000-000-000",
11041
11324
  childCodes: [],
11042
- definition: "Value is unknown at time of entry."
11325
+ definition: "Referral entity category unknown.",
11326
+ canonicalCode: "00-00-01-00"
11043
11327
  },
11044
11328
  {
11045
11329
  code: "048-000-000-000-000-000-002",
@@ -11048,7 +11332,8 @@ var referralEntityCategory_v1_0_0_default = {
11048
11332
  selectable: true,
11049
11333
  parentCode: "048-000-000-000-000-000-000",
11050
11334
  childCodes: [],
11051
- definition: "Value is intentionally withheld or redacted."
11335
+ definition: "Referral entity category withheld or redacted.",
11336
+ canonicalCode: "00-00-02-00"
11052
11337
  },
11053
11338
  {
11054
11339
  code: "048-000-000-000-000-000-003",
@@ -11057,7 +11342,8 @@ var referralEntityCategory_v1_0_0_default = {
11057
11342
  selectable: true,
11058
11343
  parentCode: "048-000-000-000-000-000-000",
11059
11344
  childCodes: [],
11060
- definition: "No attempt was made to collect the value."
11345
+ definition: "Referral entity category not collected or no signal captured.",
11346
+ canonicalCode: "00-00-03-00"
11061
11347
  },
11062
11348
  {
11063
11349
  code: "048-001-000-000-000-000-000",
@@ -11066,16 +11352,18 @@ var referralEntityCategory_v1_0_0_default = {
11066
11352
  selectable: true,
11067
11353
  parentCode: null,
11068
11354
  childCodes: [],
11069
- definition: "Client initiated contact or presented for services without a third-party referrer."
11355
+ definition: "Client initiated contact or presented for services without a third-party referrer.",
11356
+ canonicalCode: "01-00-01-00"
11070
11357
  },
11071
11358
  {
11072
11359
  code: "048-002-000-000-000-000-000",
11073
11360
  key: "family_guardian_friend",
11074
- title: "Family / guardian / friend / foster parent",
11361
+ title: "Family/guardian/friend/foster parent",
11075
11362
  selectable: true,
11076
11363
  parentCode: null,
11077
11364
  childCodes: [],
11078
- definition: "A caregiver, family member, or close personal support person initiated the referral."
11365
+ definition: "A caregiver, family member, or close personal support person initiated the referral.",
11366
+ canonicalCode: "01-00-02-00"
11079
11367
  },
11080
11368
  {
11081
11369
  code: "048-003-000-000-000-000-000",
@@ -11084,7 +11372,8 @@ var referralEntityCategory_v1_0_0_default = {
11084
11372
  selectable: true,
11085
11373
  parentCode: null,
11086
11374
  childCodes: [],
11087
- definition: "Another current or former client initiated or encouraged the referral."
11375
+ definition: "Another current or former client initiated or encouraged the referral.",
11376
+ canonicalCode: "01-00-03-00"
11088
11377
  },
11089
11378
  {
11090
11379
  code: "048-004-000-000-000-000-000",
@@ -11093,7 +11382,8 @@ var referralEntityCategory_v1_0_0_default = {
11093
11382
  selectable: true,
11094
11383
  parentCode: null,
11095
11384
  childCodes: [],
11096
- definition: "A non-family individual initiated the referral (e.g., neighbor, community member, clergy)."
11385
+ definition: "A non-family individual initiated the referral (e.g., neighbor, community member, clergy).",
11386
+ canonicalCode: "01-00-04-00"
11097
11387
  },
11098
11388
  {
11099
11389
  code: "048-005-000-000-000-000-000",
@@ -11106,7 +11396,8 @@ var referralEntityCategory_v1_0_0_default = {
11106
11396
  "048-005-002-000-000-000-000",
11107
11397
  "048-005-003-000-000-000-000"
11108
11398
  ],
11109
- definition: "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs."
11399
+ definition: "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs.",
11400
+ canonicalCode: "02-01-00-00"
11110
11401
  },
11111
11402
  {
11112
11403
  code: "048-005-001-000-000-000-000",
@@ -11115,7 +11406,8 @@ var referralEntityCategory_v1_0_0_default = {
11115
11406
  selectable: true,
11116
11407
  parentCode: "048-005-000-000-000-000-000",
11117
11408
  childCodes: [],
11118
- definition: "Street/community outreach program that engaged the client prior to enrollment."
11409
+ definition: "Street/community outreach program that engaged the client prior to enrollment.",
11410
+ canonicalCode: "02-01-01-00"
11119
11411
  },
11120
11412
  {
11121
11413
  code: "048-005-002-000-000-000-000",
@@ -11124,7 +11416,8 @@ var referralEntityCategory_v1_0_0_default = {
11124
11416
  selectable: true,
11125
11417
  parentCode: "048-005-000-000-000-000-000",
11126
11418
  childCodes: [],
11127
- definition: "Emergency/crisis shelter or short-term temporary housing program."
11419
+ definition: "Emergency/crisis shelter or short-term temporary housing program.",
11420
+ canonicalCode: "02-01-02-00"
11128
11421
  },
11129
11422
  {
11130
11423
  code: "048-005-003-000-000-000-000",
@@ -11133,7 +11426,8 @@ var referralEntityCategory_v1_0_0_default = {
11133
11426
  selectable: true,
11134
11427
  parentCode: "048-005-000-000-000-000-000",
11135
11428
  childCodes: [],
11136
- definition: "Longer-term residential or transitional living program."
11429
+ definition: "Longer-term residential or transitional living program.",
11430
+ canonicalCode: "02-01-03-00"
11137
11431
  },
11138
11432
  {
11139
11433
  code: "048-006-000-000-000-000-000",
@@ -11145,7 +11439,8 @@ var referralEntityCategory_v1_0_0_default = {
11145
11439
  "048-006-001-000-000-000-000",
11146
11440
  "048-006-002-000-000-000-000"
11147
11441
  ],
11148
- definition: "Crisis hotlines or call centers that connect a person to services."
11442
+ definition: "Crisis lines or call centers that connect a person to services.",
11443
+ canonicalCode: "02-02-00-00"
11149
11444
  },
11150
11445
  {
11151
11446
  code: "048-006-001-000-000-000-000",
@@ -11154,16 +11449,18 @@ var referralEntityCategory_v1_0_0_default = {
11154
11449
  selectable: true,
11155
11450
  parentCode: "048-006-000-000-000-000-000",
11156
11451
  childCodes: [],
11157
- definition: "National-level hotline network."
11452
+ definition: "National-level hotline network.",
11453
+ canonicalCode: "02-02-01-01"
11158
11454
  },
11159
11455
  {
11160
11456
  code: "048-006-002-000-000-000-000",
11161
11457
  key: "local_other_hotline",
11162
- title: "Local / other hotline",
11458
+ title: "Local/other hotline",
11163
11459
  selectable: true,
11164
11460
  parentCode: "048-006-000-000-000-000-000",
11165
11461
  childCodes: [],
11166
- definition: "Local/regional hotline or non-national hotline."
11462
+ definition: "Local/regional hotline or non-national hotline.",
11463
+ canonicalCode: "02-02-01-02"
11167
11464
  },
11168
11465
  {
11169
11466
  code: "048-007-000-000-000-000-000",
@@ -11176,9 +11473,11 @@ var referralEntityCategory_v1_0_0_default = {
11176
11473
  "048-007-002-000-000-000-000",
11177
11474
  "048-007-003-000-000-000-000",
11178
11475
  "048-007-004-000-000-000-000",
11179
- "048-007-005-000-000-000-000"
11476
+ "048-007-005-000-000-000-000",
11477
+ "048-007-006-000-000-000-000"
11180
11478
  ],
11181
- definition: "Parent category for government justice and protective systems (child welfare, juvenile justice, law enforcement, courts, corrections)."
11479
+ definition: null,
11480
+ canonicalCode: "02-03-00-00"
11182
11481
  },
11183
11482
  {
11184
11483
  code: "048-007-001-000-000-000-000",
@@ -11187,7 +11486,8 @@ var referralEntityCategory_v1_0_0_default = {
11187
11486
  selectable: true,
11188
11487
  parentCode: "048-007-000-000-000-000-000",
11189
11488
  childCodes: [],
11190
- definition: "Government child protection agency responsible for investigating child abuse/neglect and ensuring child safety."
11489
+ definition: "Government child protection agency responsible for investigating child abuse/neglect and ensuring child safety.",
11490
+ canonicalCode: "02-03-01-00"
11191
11491
  },
11192
11492
  {
11193
11493
  code: "048-007-002-000-000-000-000",
@@ -11196,13 +11496,14 @@ var referralEntityCategory_v1_0_0_default = {
11196
11496
  selectable: true,
11197
11497
  parentCode: "048-007-000-000-000-000-000",
11198
11498
  childCodes: [],
11199
- definition: "Juvenile probation/detention/court-related juvenile justice system initiated the referral."
11499
+ definition: "Juvenile probation/detention/court-related juvenile justice system initiated the referral.",
11500
+ canonicalCode: "02-03-02-00"
11200
11501
  },
11201
11502
  {
11202
11503
  code: "048-007-003-000-000-000-000",
11203
11504
  key: "law_enforcement",
11204
11505
  title: "Law enforcement / Police",
11205
- selectable: false,
11506
+ selectable: true,
11206
11507
  parentCode: "048-007-000-000-000-000-000",
11207
11508
  childCodes: [
11208
11509
  "048-007-003-001-000-000-000",
@@ -11211,7 +11512,8 @@ var referralEntityCategory_v1_0_0_default = {
11211
11512
  "048-007-003-004-000-000-000",
11212
11513
  "048-007-003-005-000-000-000"
11213
11514
  ],
11214
- definition: "Law enforcement agency initiated the referral (local/state/federal/tribal)."
11515
+ definition: "Law enforcement agency initiated the referral (local/state/federal).",
11516
+ canonicalCode: "02-03-03-00"
11215
11517
  },
11216
11518
  {
11217
11519
  code: "048-007-003-001-000-000-000",
@@ -11220,7 +11522,8 @@ var referralEntityCategory_v1_0_0_default = {
11220
11522
  selectable: true,
11221
11523
  parentCode: "048-007-003-000-000-000-000",
11222
11524
  childCodes: [],
11223
- definition: "City/county police or sheriff."
11525
+ definition: "City/county police or sheriff.",
11526
+ canonicalCode: "02-03-03-01"
11224
11527
  },
11225
11528
  {
11226
11529
  code: "048-007-003-002-000-000-000",
@@ -11229,7 +11532,8 @@ var referralEntityCategory_v1_0_0_default = {
11229
11532
  selectable: true,
11230
11533
  parentCode: "048-007-003-000-000-000-000",
11231
11534
  childCodes: [],
11232
- definition: "State-level law enforcement agency (e.g., state police/highway patrol/state bureau of investigation) acting in an official capacity."
11535
+ definition: "State-level law enforcement agency (e.g., state police/highway patrol/state bureau of investigation) acting in an official capacity.",
11536
+ canonicalCode: "02-03-03-02"
11233
11537
  },
11234
11538
  {
11235
11539
  code: "048-007-003-003-000-000-000",
@@ -11238,7 +11542,8 @@ var referralEntityCategory_v1_0_0_default = {
11238
11542
  selectable: true,
11239
11543
  parentCode: "048-007-003-000-000-000-000",
11240
11544
  childCodes: [],
11241
- definition: "Federal law enforcement agency (e.g., FBI, DHS/ICE)."
11545
+ definition: "Federal law enforcement agency (e.g., FBI, DHS/ICE).",
11546
+ canonicalCode: "02-03-03-03"
11242
11547
  },
11243
11548
  {
11244
11549
  code: "048-007-003-004-000-000-000",
@@ -11247,16 +11552,18 @@ var referralEntityCategory_v1_0_0_default = {
11247
11552
  selectable: true,
11248
11553
  parentCode: "048-007-003-000-000-000-000",
11249
11554
  childCodes: [],
11250
- definition: "Tribal police."
11555
+ definition: "Tribal police.",
11556
+ canonicalCode: "02-03-03-04"
11251
11557
  },
11252
11558
  {
11253
11559
  code: "048-007-003-005-000-000-000",
11254
11560
  key: "other_law_enforcement",
11255
- title: "Other / unknown law enforcement",
11561
+ title: "Other/ unknown LE",
11256
11562
  selectable: true,
11257
11563
  parentCode: "048-007-003-000-000-000-000",
11258
11564
  childCodes: [],
11259
- definition: "Other law enforcement entity, or law enforcement type is unknown."
11565
+ definition: "Other law enforcement entity, or law enforcement type is unknown.",
11566
+ canonicalCode: "02-03-03-05"
11260
11567
  },
11261
11568
  {
11262
11569
  code: "048-007-004-000-000-000-000",
@@ -11265,7 +11572,8 @@ var referralEntityCategory_v1_0_0_default = {
11265
11572
  selectable: true,
11266
11573
  parentCode: "048-007-000-000-000-000-000",
11267
11574
  childCodes: [],
11268
- definition: "Court or prosecution entity (not law enforcement)."
11575
+ definition: "Court or prosecution entity (not law enforcement).",
11576
+ canonicalCode: "02-03-04-00"
11269
11577
  },
11270
11578
  {
11271
11579
  code: "048-007-005-000-000-000-000",
@@ -11274,7 +11582,18 @@ var referralEntityCategory_v1_0_0_default = {
11274
11582
  selectable: true,
11275
11583
  parentCode: "048-007-000-000-000-000-000",
11276
11584
  childCodes: [],
11277
- definition: "Corrections, probation, parole, or community supervision entity (not law enforcement)."
11585
+ definition: "Corrections, probation, parole, or community supervision entity (not law enforcement).",
11586
+ canonicalCode: "02-03-05-00"
11587
+ },
11588
+ {
11589
+ code: "048-007-006-000-000-000-000",
11590
+ key: "adult_protective_services",
11591
+ title: "Adult Protective Services (APS)",
11592
+ selectable: true,
11593
+ parentCode: "048-007-000-000-000-000-000",
11594
+ childCodes: [],
11595
+ definition: "Government adult protection agency responsible for investigating abuse, neglect, self-neglect, or exploitation of vulnerable or older adults and ensuring their safety. Adult analog of Child Welfare / CPS.",
11596
+ canonicalCode: "02-03-06-00"
11278
11597
  },
11279
11598
  {
11280
11599
  code: "048-008-000-000-000-000-000",
@@ -11286,7 +11605,8 @@ var referralEntityCategory_v1_0_0_default = {
11286
11605
  "048-008-001-000-000-000-000",
11287
11606
  "048-008-002-000-000-000-000"
11288
11607
  ],
11289
- definition: "Hospitals and healthcare providers (including mental health inpatient facilities)."
11608
+ definition: "Hospitals and healthcare providers (including mental health inpatient facilities).",
11609
+ canonicalCode: "02-04-00-00"
11290
11610
  },
11291
11611
  {
11292
11612
  code: "048-008-001-000-000-000-000",
@@ -11295,7 +11615,8 @@ var referralEntityCategory_v1_0_0_default = {
11295
11615
  selectable: true,
11296
11616
  parentCode: "048-008-000-000-000-000-000",
11297
11617
  childCodes: [],
11298
- definition: "Inpatient psychiatric hospital or psychiatric facility."
11618
+ definition: "Inpatient psychiatric hospital or psychiatric facility.",
11619
+ canonicalCode: "02-04-01-00"
11299
11620
  },
11300
11621
  {
11301
11622
  code: "048-008-002-000-000-000-000",
@@ -11304,16 +11625,30 @@ var referralEntityCategory_v1_0_0_default = {
11304
11625
  selectable: true,
11305
11626
  parentCode: "048-008-000-000-000-000-000",
11306
11627
  childCodes: [],
11307
- definition: "Any non-inpatient healthcare provider (clinic, hospital, outpatient provider, behavioral health clinic, SANE program, substance abuse clinic, etc.)."
11628
+ definition: "Any non-inpatient healthcare provider (clinic, hospital, outpatient provider, behavioral health clinic, SANE program, substance abuse clinic, etc.).",
11629
+ canonicalCode: "02-04-02-00"
11308
11630
  },
11309
11631
  {
11310
11632
  code: "048-009-000-000-000-000-000",
11311
11633
  key: "education",
11312
11634
  title: "Education",
11313
- selectable: true,
11635
+ selectable: false,
11314
11636
  parentCode: null,
11637
+ childCodes: [
11638
+ "048-009-001-000-000-000-000"
11639
+ ],
11640
+ definition: "Parent category for education-related institutions.",
11641
+ canonicalCode: "02-05-00-00"
11642
+ },
11643
+ {
11644
+ code: "048-009-001-000-000-000-000",
11645
+ key: "school_academic_institution",
11646
+ title: "School / academic institution",
11647
+ selectable: true,
11648
+ parentCode: "048-009-000-000-000-000-000",
11315
11649
  childCodes: [],
11316
- definition: "Education-related institutions (schools, academic institutions, colleges, universities) that initiated the referral."
11650
+ definition: "School system or educational institution.",
11651
+ canonicalCode: "02-05-01-00"
11317
11652
  },
11318
11653
  {
11319
11654
  code: "048-010-000-000-000-000-000",
@@ -11324,9 +11659,11 @@ var referralEntityCategory_v1_0_0_default = {
11324
11659
  childCodes: [
11325
11660
  "048-010-001-000-000-000-000",
11326
11661
  "048-010-002-000-000-000-000",
11327
- "048-010-003-000-000-000-000"
11662
+ "048-010-003-000-000-000-000",
11663
+ "048-010-004-000-000-000-000"
11328
11664
  ],
11329
- definition: "Parent category for victim service providers and community-based service providers."
11665
+ definition: "Parent category for victim service providers and community-based service providers.",
11666
+ canonicalCode: "02-06-00-00"
11330
11667
  },
11331
11668
  {
11332
11669
  code: "048-010-001-000-000-000-000",
@@ -11335,7 +11672,8 @@ var referralEntityCategory_v1_0_0_default = {
11335
11672
  selectable: true,
11336
11673
  parentCode: "048-010-000-000-000-000-000",
11337
11674
  childCodes: [],
11338
- definition: "A child-centered multidisciplinary center coordinating investigation and services (forensic interview, coordination, referrals, sometimes medical or therapy) for child victims."
11675
+ definition: "A child-centered multidisciplinary center coordinating investigation and services (forensic interview, coordination, referrals, sometimes medical or therapy) for child victims.",
11676
+ canonicalCode: "02-06-01-00"
11339
11677
  },
11340
11678
  {
11341
11679
  code: "048-010-002-000-000-000-000",
@@ -11344,7 +11682,8 @@ var referralEntityCategory_v1_0_0_default = {
11344
11682
  selectable: true,
11345
11683
  parentCode: "048-010-000-000-000-000-000",
11346
11684
  childCodes: [],
11347
- definition: "Private nonprofit organization whose primary mission is to provide services to survivors of domestic violence, dating violence, sexual assault, or stalking. Includes rape crisis centers, battered women's shelters, domestic violence transitional housing programs, and other programs."
11685
+ definition: "Organization whose primary mission is to provide services to victims/survivors of crime (VOCA-aligned breadth: rape crisis centers, DV/dating-violence/stalking programs, anti-trafficking programs, child victim centers, homicide-survivor organizations, and similar). Whether the organization is specifically a DV/SA victim service provider \u2014 the fact HMIS 2.01 needs (Comparable Database) \u2014 is a separate per-organization attribute, self-attested by the organization at onboarding (Platform survey / Agency Hub \u201CMy agency info\u201D), not part of this category.",
11686
+ canonicalCode: "02-06-02-00"
11348
11687
  },
11349
11688
  {
11350
11689
  code: "048-010-003-000-000-000-000",
@@ -11353,7 +11692,18 @@ var referralEntityCategory_v1_0_0_default = {
11353
11692
  selectable: true,
11354
11693
  parentCode: "048-010-000-000-000-000-000",
11355
11694
  childCodes: [],
11356
- definition: "Non-VSP offering practical support services, navigation, or stabilization resources that is not primarily a VSP, housing or shelter project, government justice agency, healthcare provider, school, hotline, or public benefits office. Example: youth drop-in center, food pantry, reentry program."
11695
+ definition: "The residual community-based provider (\u201Cother community-based service provider\u201D): a non-VSP offering practical support services, navigation, or stabilization resources that is not primarily a VSP, a legal services provider, a housing/shelter project, a government justice agency, a healthcare provider, a school, a hotline, or a public benefits office. (Ex: youth drop-in center; food pantry; reentry program.)",
11696
+ canonicalCode: "02-06-03-00"
11697
+ },
11698
+ {
11699
+ code: "048-010-004-000-000-000-000",
11700
+ key: "legal_services_provider",
11701
+ title: "Legal services provider",
11702
+ selectable: true,
11703
+ parentCode: "048-010-000-000-000-000-000",
11704
+ childCodes: [],
11705
+ definition: "Civil legal aid organization, immigration attorneys, victim-rights law clinic, or similar provider of legal help to the client. Distinct from Courts or prosecution (the justice-system entity itself): this is getting a lawyer's help, not being referred into proceedings.",
11706
+ canonicalCode: "02-06-04-00"
11357
11707
  },
11358
11708
  {
11359
11709
  code: "048-011-000-000-000-000-000",
@@ -11365,25 +11715,28 @@ var referralEntityCategory_v1_0_0_default = {
11365
11715
  "048-011-001-000-000-000-000",
11366
11716
  "048-011-002-000-000-000-000"
11367
11717
  ],
11368
- definition: "Parent category for coordination and governance bodies (e.g., MDTs, coalitions)."
11718
+ definition: "Parent category for coordination and governance bodies (e.g., MDTs, coalitions).",
11719
+ canonicalCode: "02-07-00-00"
11369
11720
  },
11370
11721
  {
11371
11722
  code: "048-011-001-000-000-000-000",
11372
11723
  key: "mdt",
11373
- title: "MDT (case coalition body)",
11724
+ title: "Multidisciplinary team (MDT)",
11374
11725
  selectable: true,
11375
11726
  parentCode: "048-011-000-000-000-000-000",
11376
11727
  childCodes: [],
11377
- definition: "A multi-organization coordination group (not a direct service provider) that initiates referrals through case review, interagency coordination, or system-level processes."
11728
+ definition: "A case-level team: professionals from multiple agencies (law enforcement, child welfare, medical, advocacy) who review and coordinate individual cases together; referrals arise out of case review. (E.g., a county trafficking MDT or a CAC-based team.)",
11729
+ canonicalCode: "02-07-01-00"
11378
11730
  },
11379
11731
  {
11380
11732
  code: "048-011-002-000-000-000-000",
11381
11733
  key: "coalition",
11382
- title: "Coalition (state / regional)",
11734
+ title: "Coalition (state/regional coalition)",
11383
11735
  selectable: true,
11384
11736
  parentCode: "048-011-000-000-000-000-000",
11385
11737
  childCodes: [],
11386
- definition: "A state or regional multi-organization coalition (not a direct service provider) that initiates referrals through case review, interagency coordination, or system-level processes."
11738
+ definition: "A state or regional membership body of organizations coordinating at the system level \u2014 training, standards, policy, funding \u2014 not individual cases; referrals from a coalition are typically warm handoffs to a member organization.",
11739
+ canonicalCode: "02-07-02-00"
11387
11740
  },
11388
11741
  {
11389
11742
  code: "048-012-000-000-000-000-000",
@@ -11394,7 +11747,8 @@ var referralEntityCategory_v1_0_0_default = {
11394
11747
  childCodes: [
11395
11748
  "048-012-001-000-000-000-000"
11396
11749
  ],
11397
- definition: "Parent category for internal referrals within the same umbrella agency."
11750
+ definition: "Parent category for internal referrals within the same umbrella agency.",
11751
+ canonicalCode: "02-08-00-00"
11398
11752
  },
11399
11753
  {
11400
11754
  code: "048-012-001-000-000-000-000",
@@ -11403,7 +11757,8 @@ var referralEntityCategory_v1_0_0_default = {
11403
11757
  selectable: true,
11404
11758
  parentCode: "048-012-000-000-000-000-000",
11405
11759
  childCodes: [],
11406
- definition: "Client was referred from another program or unit within the same umbrella agency."
11760
+ definition: "Client was referred from another program or unit within the same umbrella agency.",
11761
+ canonicalCode: "02-08-01-00"
11407
11762
  },
11408
11763
  {
11409
11764
  code: "048-013-000-000-000-000-000",
@@ -11416,7 +11771,8 @@ var referralEntityCategory_v1_0_0_default = {
11416
11771
  "048-013-002-000-000-000-000",
11417
11772
  "048-013-003-000-000-000-000"
11418
11773
  ],
11419
- definition: "Parent category for other organizations not captured by the primary sectors."
11774
+ definition: "Parent category for other organizations not captured by the primary sectors.",
11775
+ canonicalCode: "02-09-00-00"
11420
11776
  },
11421
11777
  {
11422
11778
  code: "048-013-001-000-000-000-000",
@@ -11425,34 +11781,37 @@ var referralEntityCategory_v1_0_0_default = {
11425
11781
  selectable: true,
11426
11782
  parentCode: "048-013-000-000-000-000-000",
11427
11783
  childCodes: [],
11428
- definition: "Employer, HR, or employee assistance program initiated the referral."
11784
+ definition: "Employer, HR, or employee assistance program initiated the referral.",
11785
+ canonicalCode: "02-09-01-00"
11429
11786
  },
11430
11787
  {
11431
11788
  code: "048-013-002-000-000-000-000",
11432
11789
  key: "benefits_public_assistance_office",
11433
- title: "Benefits / public assistance office",
11790
+ title: "Benefits/public assistance office",
11434
11791
  selectable: true,
11435
11792
  parentCode: "048-013-000-000-000-000-000",
11436
11793
  childCodes: [],
11437
- definition: "Government office administering public benefits or eligibility and enrollment (e.g., SNAP, TANF, Medicaid, SSA)."
11794
+ definition: "Government office administering public benefits or eligibility and enrollment (e.g., SNAP, TANF, Medicaid, SSA).",
11795
+ canonicalCode: "02-09-02-00"
11438
11796
  },
11439
11797
  {
11440
11798
  code: "048-013-003-000-000-000-000",
11441
11799
  key: "other_organization",
11442
- title: "Other organization",
11800
+ title: "Other Organization",
11443
11801
  selectable: true,
11444
11802
  parentCode: "048-013-000-000-000-000-000",
11445
11803
  childCodes: [],
11446
- definition: "Other organization not otherwise captured by the listed categories."
11804
+ definition: "Other organization not otherwise captured by the listed categories.",
11805
+ canonicalCode: "02-09-03-00"
11447
11806
  }
11448
11807
  ]
11449
11808
  };
11450
11809
 
11451
- // src/cvcs/incomeBenefitsSources.v1.0.0.json
11452
- var incomeBenefitsSources_v1_0_0_default = {
11810
+ // src/cvcs/incomeBenefitsSources.v1.1.0.json
11811
+ var incomeBenefitsSources_v1_1_0_default = {
11453
11812
  domain: "income_benefits_sources",
11454
11813
  name: "Core Income / Benefits Sources",
11455
- version: "1.0.0",
11814
+ version: "1.1.0",
11456
11815
  levels: {
11457
11816
  "0": "Unknown or Missing",
11458
11817
  "1": "Type group",
@@ -12404,11 +12763,11 @@ var sourceCategory_v1_1_0_default = {
12404
12763
  }
12405
12764
  };
12406
12765
 
12407
- // src/cvcs/sourceSubtype.v1.1.0.json
12408
- var sourceSubtype_v1_1_0_default = {
12766
+ // src/cvcs/sourceSubtype.v1.2.0.json
12767
+ var sourceSubtype_v1_2_0_default = {
12409
12768
  domain: "source_subtype",
12410
12769
  name: "Core Source Subtype",
12411
- version: "1.1.0",
12770
+ version: "1.2.0",
12412
12771
  levels: {
12413
12772
  "0": "Unknown or Missing",
12414
12773
  "1": "Source subtype"
@@ -13137,11 +13496,11 @@ var timeScope_v1_0_0_default = {
13137
13496
  ]
13138
13497
  };
13139
13498
 
13140
- // src/cvcs/verificationMethod.v1.0.0.json
13141
- var verificationMethod_v1_0_0_default = {
13499
+ // src/cvcs/verificationMethod.v1.1.0.json
13500
+ var verificationMethod_v1_1_0_default = {
13142
13501
  domain: "verification_method",
13143
13502
  name: "Core Verification Method",
13144
- version: "1.0.0",
13503
+ version: "1.1.0",
13145
13504
  levels: {
13146
13505
  "0": "Unknown or Missing",
13147
13506
  "1": "Verification method"