@htilabs/platform-common-models 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/agency-BHv54o79.d.ts +484 -0
  2. package/dist/agency-Ca4pCOOf.d.ts +342 -0
  3. package/dist/agency-DYCv839V.d.cts +342 -0
  4. package/dist/agency-Djp57S71.d.cts +484 -0
  5. package/dist/constants/index.cjs +952 -0
  6. package/dist/constants/index.cjs.map +1 -1
  7. package/dist/constants/index.d.cts +3 -1
  8. package/dist/constants/index.d.ts +3 -1
  9. package/dist/constants/index.js +920 -0
  10. package/dist/constants/index.js.map +1 -1
  11. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
  12. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
  13. package/dist/cvcs/index.cjs +114 -62
  14. package/dist/cvcs/index.cjs.map +1 -1
  15. package/dist/cvcs/index.d.cts +112 -59
  16. package/dist/cvcs/index.d.ts +112 -59
  17. package/dist/cvcs/index.js +114 -62
  18. package/dist/cvcs/index.js.map +1 -1
  19. package/dist/enums/index.cjs +1 -0
  20. package/dist/enums/index.cjs.map +1 -1
  21. package/dist/enums/index.d.cts +2 -1
  22. package/dist/enums/index.d.ts +2 -1
  23. package/dist/enums/index.js +1 -0
  24. package/dist/enums/index.js.map +1 -1
  25. package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
  26. package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  27. package/dist/index.cjs +1654 -1077
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +6 -4
  30. package/dist/index.d.ts +6 -4
  31. package/dist/index.js +1600 -1076
  32. package/dist/index.js.map +1 -1
  33. package/dist/models/index.d.cts +2 -2
  34. package/dist/models/index.d.ts +2 -2
  35. package/dist/org-type-BYQb9Qzq.d.ts +366 -0
  36. package/dist/org-type-D_FG4KdN.d.cts +366 -0
  37. package/dist/{platform-auth-CrF5U_JH.d.cts → platform-auth-CvAYFVhK.d.cts} +39 -0
  38. package/dist/{platform-auth-CrF5U_JH.d.ts → platform-auth-CvAYFVhK.d.ts} +39 -0
  39. package/dist/schemas/index.cjs +977 -2
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +14 -11
  42. package/dist/schemas/index.d.ts +14 -11
  43. package/dist/schemas/index.js +962 -1
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/types/index.d.cts +2 -2
  46. package/dist/types/index.d.ts +2 -2
  47. package/dist/validation/index.cjs +894 -2
  48. package/dist/validation/index.cjs.map +1 -1
  49. package/dist/validation/index.d.cts +5 -1
  50. package/dist/validation/index.d.ts +5 -1
  51. package/dist/validation/index.js +884 -1
  52. package/dist/validation/index.js.map +1 -1
  53. package/package.json +26 -27
  54. package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
  55. package/src/__tests__/cvc-sot-snapshot.test.ts +5 -5
  56. package/src/__tests__/cvc-structural.test.ts +1 -1
  57. package/src/__tests__/org-type-contract.test.ts +1353 -0
  58. package/src/__tests__/referral-entity-category-canon.test.ts +255 -81
  59. package/src/constants/ic.ts +45 -0
  60. package/src/constants/index.ts +1 -0
  61. package/src/constants/org-type.ts +703 -0
  62. package/src/cvcs/index.ts +1 -1
  63. package/src/cvcs/{referralEntityCategory.v1.1.0.json → referralEntityCategory.v1.2.0.json} +111 -59
  64. package/src/generated/cvc-enums.ts +2 -1
  65. package/src/index.ts +23 -0
  66. package/src/schemas/agency.ts +481 -0
  67. package/src/schemas/index.ts +24 -0
  68. package/src/validation/agency.ts +119 -0
  69. package/src/validation/index.ts +1 -0
  70. package/dist/team-C4LJ5Tex.d.cts +0 -333
  71. package/dist/team-C4LJ5Tex.d.ts +0 -333
@@ -11022,13 +11022,13 @@ var locationType_v1_0_0_default = {
11022
11022
  ]
11023
11023
  };
11024
11024
 
11025
- // src/cvcs/referralEntityCategory.v1.1.0.json
11026
- var referralEntityCategory_v1_1_0_default = {
11025
+ // src/cvcs/referralEntityCategory.v1.2.0.json
11026
+ var referralEntityCategory_v1_2_0_default = {
11027
11027
  domain: "referral_entity_category",
11028
11028
  name: "Core Referral Entity Category",
11029
- version: "1.1.0",
11030
- _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.",
11031
- _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)",
11029
+ version: "1.2.0",
11030
+ _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 @ f1321e47 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 (4): `adult_protective_services` (02-03-06-00), `school_academic_institution` (02-05-01-00), `legal_services_provider` (02-06-04-00), and since 0.18.0 `hotline` (02-02-01-00, canon's selectable Level-2 parent of the two hotline children) at the next free ordinal 048-006-003 with `national_hotline` / `local_other_hotline` RE-PARENTED under it \u2014 their codes are unchanged (a positional code is identity, `parentCode` is hierarchy). 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: canon `hmis_r1_code` / `hmis_r1_mapping`, `required`, `voca_ovc_pmt_bucket`, `pave_2025_mapping`, `logic_notes`, `mappings_notes` (v1.0.0 carried none of them). CARRIED since 0.18.0: canon `enum_constant` as `enumConstant` on every canon-backed row (the Sean-spec constant the org registry / `agencies.typeId` spell the type with). Generated by scripts/gen-referral-entity-category.py \u2014 do not hand-edit.",
11031
+ _source: "htilabstech/prototype/data/cvcs/core_referral_entity_category.yaml @ f1321e47 (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)",
11032
11032
  _supersedes: {
11033
11033
  version: "1.0.0",
11034
11034
  keyMap: {
@@ -11082,13 +11082,7 @@ var referralEntityCategory_v1_1_0_default = {
11082
11082
  law_enforcement: "v1.0.0 `law_enforcement` was a non-selectable heading. Canon makes Law enforcement / Police a selectable leaf with five optional children."
11083
11083
  }
11084
11084
  },
11085
- _notCarried: [
11086
- {
11087
- canonicalCode: "02-02-01-00",
11088
- name: "Hotline",
11089
- 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"
11090
- }
11091
- ],
11085
+ _notCarried: [],
11092
11086
  levels: {
11093
11087
  "0": "Unknown or Missing",
11094
11088
  "1": "Category",
@@ -11117,7 +11111,8 @@ var referralEntityCategory_v1_1_0_default = {
11117
11111
  parentCode: "048-000-000-000-000-000-000",
11118
11112
  childCodes: [],
11119
11113
  definition: "Referral entity category unknown.",
11120
- canonicalCode: "00-00-01-00"
11114
+ canonicalCode: "00-00-01-00",
11115
+ enumConstant: "EMPTY_RESPONSE_UNKNOWN"
11121
11116
  },
11122
11117
  {
11123
11118
  code: "048-000-000-000-000-000-002",
@@ -11127,7 +11122,8 @@ var referralEntityCategory_v1_1_0_default = {
11127
11122
  parentCode: "048-000-000-000-000-000-000",
11128
11123
  childCodes: [],
11129
11124
  definition: "Referral entity category withheld or redacted.",
11130
- canonicalCode: "00-00-02-00"
11125
+ canonicalCode: "00-00-02-00",
11126
+ enumConstant: "EMPTY_RESPONSE_ANONYMOUS"
11131
11127
  },
11132
11128
  {
11133
11129
  code: "048-000-000-000-000-000-003",
@@ -11137,7 +11133,8 @@ var referralEntityCategory_v1_1_0_default = {
11137
11133
  parentCode: "048-000-000-000-000-000-000",
11138
11134
  childCodes: [],
11139
11135
  definition: "Referral entity category not collected or no signal captured.",
11140
- canonicalCode: "00-00-03-00"
11136
+ canonicalCode: "00-00-03-00",
11137
+ enumConstant: "EMPTY_RESPONSE_NOTCOLLECTED"
11141
11138
  },
11142
11139
  {
11143
11140
  code: "048-001-000-000-000-000-000",
@@ -11147,7 +11144,8 @@ var referralEntityCategory_v1_1_0_default = {
11147
11144
  parentCode: null,
11148
11145
  childCodes: [],
11149
11146
  definition: "Client initiated contact or presented for services without a third-party referrer.",
11150
- canonicalCode: "01-00-01-00"
11147
+ canonicalCode: "01-00-01-00",
11148
+ enumConstant: "INDIVIDUAL_PERSON_SELFREFERRED"
11151
11149
  },
11152
11150
  {
11153
11151
  code: "048-002-000-000-000-000-000",
@@ -11157,7 +11155,8 @@ var referralEntityCategory_v1_1_0_default = {
11157
11155
  parentCode: null,
11158
11156
  childCodes: [],
11159
11157
  definition: "A caregiver, family member, or close personal support person initiated the referral.",
11160
- canonicalCode: "01-00-02-00"
11158
+ canonicalCode: "01-00-02-00",
11159
+ enumConstant: "INDIVIDUAL_PERSON_FAMILYGUARDIANFRIEND"
11161
11160
  },
11162
11161
  {
11163
11162
  code: "048-003-000-000-000-000-000",
@@ -11167,7 +11166,8 @@ var referralEntityCategory_v1_1_0_default = {
11167
11166
  parentCode: null,
11168
11167
  childCodes: [],
11169
11168
  definition: "Another current or former client initiated or encouraged the referral.",
11170
- canonicalCode: "01-00-03-00"
11169
+ canonicalCode: "01-00-03-00",
11170
+ enumConstant: "INDIVIDUAL_PERSON_PEER"
11171
11171
  },
11172
11172
  {
11173
11173
  code: "048-004-000-000-000-000-000",
@@ -11177,7 +11177,8 @@ var referralEntityCategory_v1_1_0_default = {
11177
11177
  parentCode: null,
11178
11178
  childCodes: [],
11179
11179
  definition: "A non-family individual initiated the referral (e.g., neighbor, community member, clergy).",
11180
- canonicalCode: "01-00-04-00"
11180
+ canonicalCode: "01-00-04-00",
11181
+ enumConstant: "INDIVIDUAL_PERSON_OTHER"
11181
11182
  },
11182
11183
  {
11183
11184
  code: "048-005-000-000-000-000-000",
@@ -11191,7 +11192,8 @@ var referralEntityCategory_v1_1_0_default = {
11191
11192
  "048-005-003-000-000-000-000"
11192
11193
  ],
11193
11194
  definition: "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs.",
11194
- canonicalCode: "02-01-00-00"
11195
+ canonicalCode: "02-01-00-00",
11196
+ enumConstant: "ORGANIZATION_HOUSING"
11195
11197
  },
11196
11198
  {
11197
11199
  code: "048-005-001-000-000-000-000",
@@ -11201,7 +11203,8 @@ var referralEntityCategory_v1_1_0_default = {
11201
11203
  parentCode: "048-005-000-000-000-000-000",
11202
11204
  childCodes: [],
11203
11205
  definition: "Street/community outreach program that engaged the client prior to enrollment.",
11204
- canonicalCode: "02-01-01-00"
11206
+ canonicalCode: "02-01-01-00",
11207
+ enumConstant: "ORGANIZATION_HOUSING_OUTREACHPROJECT"
11205
11208
  },
11206
11209
  {
11207
11210
  code: "048-005-002-000-000-000-000",
@@ -11211,7 +11214,8 @@ var referralEntityCategory_v1_1_0_default = {
11211
11214
  parentCode: "048-005-000-000-000-000-000",
11212
11215
  childCodes: [],
11213
11216
  definition: "Emergency/crisis shelter or short-term temporary housing program.",
11214
- canonicalCode: "02-01-02-00"
11217
+ canonicalCode: "02-01-02-00",
11218
+ enumConstant: "ORGANIZATION_HOUSING_TEMPORARYSHELTER"
11215
11219
  },
11216
11220
  {
11217
11221
  code: "048-005-003-000-000-000-000",
@@ -11221,7 +11225,8 @@ var referralEntityCategory_v1_1_0_default = {
11221
11225
  parentCode: "048-005-000-000-000-000-000",
11222
11226
  childCodes: [],
11223
11227
  definition: "Longer-term residential or transitional living program.",
11224
- canonicalCode: "02-01-03-00"
11228
+ canonicalCode: "02-01-03-00",
11229
+ enumConstant: "ORGANIZATION_HOUSING_RESIDENTIALPROJECT"
11225
11230
  },
11226
11231
  {
11227
11232
  code: "048-006-000-000-000-000-000",
@@ -11230,31 +11235,47 @@ var referralEntityCategory_v1_1_0_default = {
11230
11235
  selectable: false,
11231
11236
  parentCode: null,
11232
11237
  childCodes: [
11233
- "048-006-001-000-000-000-000",
11234
- "048-006-002-000-000-000-000"
11238
+ "048-006-003-000-000-000-000"
11235
11239
  ],
11236
11240
  definition: "Crisis lines or call centers that connect a person to services.",
11237
- canonicalCode: "02-02-00-00"
11241
+ canonicalCode: "02-02-00-00",
11242
+ enumConstant: "ORGANIZATION_CALLCENTERS"
11238
11243
  },
11239
11244
  {
11240
11245
  code: "048-006-001-000-000-000-000",
11241
11246
  key: "national_hotline",
11242
11247
  title: "National hotline",
11243
11248
  selectable: true,
11244
- parentCode: "048-006-000-000-000-000-000",
11249
+ parentCode: "048-006-003-000-000-000-000",
11245
11250
  childCodes: [],
11246
11251
  definition: "National-level hotline network.",
11247
- canonicalCode: "02-02-01-01"
11252
+ canonicalCode: "02-02-01-01",
11253
+ enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE_NATIONAL"
11248
11254
  },
11249
11255
  {
11250
11256
  code: "048-006-002-000-000-000-000",
11251
11257
  key: "local_other_hotline",
11252
11258
  title: "Local/other hotline",
11253
11259
  selectable: true,
11254
- parentCode: "048-006-000-000-000-000-000",
11260
+ parentCode: "048-006-003-000-000-000-000",
11255
11261
  childCodes: [],
11256
11262
  definition: "Local/regional hotline or non-national hotline.",
11257
- canonicalCode: "02-02-01-02"
11263
+ canonicalCode: "02-02-01-02",
11264
+ enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE_LOCAL"
11265
+ },
11266
+ {
11267
+ code: "048-006-003-000-000-000-000",
11268
+ key: "hotline",
11269
+ title: "Hotline",
11270
+ selectable: true,
11271
+ parentCode: "048-006-000-000-000-000-000",
11272
+ childCodes: [
11273
+ "048-006-001-000-000-000-000",
11274
+ "048-006-002-000-000-000-000"
11275
+ ],
11276
+ definition: "Crisis hotline or call center that connected the client to services.",
11277
+ canonicalCode: "02-02-01-00",
11278
+ enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE"
11258
11279
  },
11259
11280
  {
11260
11281
  code: "048-007-000-000-000-000-000",
@@ -11271,7 +11292,8 @@ var referralEntityCategory_v1_1_0_default = {
11271
11292
  "048-007-006-000-000-000-000"
11272
11293
  ],
11273
11294
  definition: null,
11274
- canonicalCode: "02-03-00-00"
11295
+ canonicalCode: "02-03-00-00",
11296
+ enumConstant: "ORGANIZATION_JUSTICE"
11275
11297
  },
11276
11298
  {
11277
11299
  code: "048-007-001-000-000-000-000",
@@ -11281,7 +11303,8 @@ var referralEntityCategory_v1_1_0_default = {
11281
11303
  parentCode: "048-007-000-000-000-000-000",
11282
11304
  childCodes: [],
11283
11305
  definition: "Government child protection agency responsible for investigating child abuse/neglect and ensuring child safety.",
11284
- canonicalCode: "02-03-01-00"
11306
+ canonicalCode: "02-03-01-00",
11307
+ enumConstant: "ORGANIZATION_JUSTICE_CHILDWELFARE"
11285
11308
  },
11286
11309
  {
11287
11310
  code: "048-007-002-000-000-000-000",
@@ -11291,7 +11314,8 @@ var referralEntityCategory_v1_1_0_default = {
11291
11314
  parentCode: "048-007-000-000-000-000-000",
11292
11315
  childCodes: [],
11293
11316
  definition: "Juvenile probation/detention/court-related juvenile justice system initiated the referral.",
11294
- canonicalCode: "02-03-02-00"
11317
+ canonicalCode: "02-03-02-00",
11318
+ enumConstant: "ORGANIZATION_JUSTICE_JUVENILE"
11295
11319
  },
11296
11320
  {
11297
11321
  code: "048-007-003-000-000-000-000",
@@ -11307,7 +11331,8 @@ var referralEntityCategory_v1_1_0_default = {
11307
11331
  "048-007-003-005-000-000-000"
11308
11332
  ],
11309
11333
  definition: "Law enforcement agency initiated the referral (local/state/federal).",
11310
- canonicalCode: "02-03-03-00"
11334
+ canonicalCode: "02-03-03-00",
11335
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT"
11311
11336
  },
11312
11337
  {
11313
11338
  code: "048-007-003-001-000-000-000",
@@ -11317,7 +11342,8 @@ var referralEntityCategory_v1_1_0_default = {
11317
11342
  parentCode: "048-007-003-000-000-000-000",
11318
11343
  childCodes: [],
11319
11344
  definition: "City/county police or sheriff.",
11320
- canonicalCode: "02-03-03-01"
11345
+ canonicalCode: "02-03-03-01",
11346
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_LOCAL"
11321
11347
  },
11322
11348
  {
11323
11349
  code: "048-007-003-002-000-000-000",
@@ -11327,7 +11353,8 @@ var referralEntityCategory_v1_1_0_default = {
11327
11353
  parentCode: "048-007-003-000-000-000-000",
11328
11354
  childCodes: [],
11329
11355
  definition: "State-level law enforcement agency (e.g., state police/highway patrol/state bureau of investigation) acting in an official capacity.",
11330
- canonicalCode: "02-03-03-02"
11356
+ canonicalCode: "02-03-03-02",
11357
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_STATE"
11331
11358
  },
11332
11359
  {
11333
11360
  code: "048-007-003-003-000-000-000",
@@ -11337,7 +11364,8 @@ var referralEntityCategory_v1_1_0_default = {
11337
11364
  parentCode: "048-007-003-000-000-000-000",
11338
11365
  childCodes: [],
11339
11366
  definition: "Federal law enforcement agency (e.g., FBI, DHS/ICE).",
11340
- canonicalCode: "02-03-03-03"
11367
+ canonicalCode: "02-03-03-03",
11368
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_FEDERAL"
11341
11369
  },
11342
11370
  {
11343
11371
  code: "048-007-003-004-000-000-000",
@@ -11347,7 +11375,8 @@ var referralEntityCategory_v1_1_0_default = {
11347
11375
  parentCode: "048-007-003-000-000-000-000",
11348
11376
  childCodes: [],
11349
11377
  definition: "Tribal police.",
11350
- canonicalCode: "02-03-03-04"
11378
+ canonicalCode: "02-03-03-04",
11379
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_TRIBAL"
11351
11380
  },
11352
11381
  {
11353
11382
  code: "048-007-003-005-000-000-000",
@@ -11357,7 +11386,8 @@ var referralEntityCategory_v1_1_0_default = {
11357
11386
  parentCode: "048-007-003-000-000-000-000",
11358
11387
  childCodes: [],
11359
11388
  definition: "Other law enforcement entity, or law enforcement type is unknown.",
11360
- canonicalCode: "02-03-03-05"
11389
+ canonicalCode: "02-03-03-05",
11390
+ enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_OTHER"
11361
11391
  },
11362
11392
  {
11363
11393
  code: "048-007-004-000-000-000-000",
@@ -11367,7 +11397,8 @@ var referralEntityCategory_v1_1_0_default = {
11367
11397
  parentCode: "048-007-000-000-000-000-000",
11368
11398
  childCodes: [],
11369
11399
  definition: "Court or prosecution entity (not law enforcement).",
11370
- canonicalCode: "02-03-04-00"
11400
+ canonicalCode: "02-03-04-00",
11401
+ enumConstant: "ORGANIZATION_JUSTICE_COURTS"
11371
11402
  },
11372
11403
  {
11373
11404
  code: "048-007-005-000-000-000-000",
@@ -11377,7 +11408,8 @@ var referralEntityCategory_v1_1_0_default = {
11377
11408
  parentCode: "048-007-000-000-000-000-000",
11378
11409
  childCodes: [],
11379
11410
  definition: "Corrections, probation, parole, or community supervision entity (not law enforcement).",
11380
- canonicalCode: "02-03-05-00"
11411
+ canonicalCode: "02-03-05-00",
11412
+ enumConstant: "ORGANIZATION_JUSTICE_CORRECTIONS"
11381
11413
  },
11382
11414
  {
11383
11415
  code: "048-007-006-000-000-000-000",
@@ -11387,7 +11419,8 @@ var referralEntityCategory_v1_1_0_default = {
11387
11419
  parentCode: "048-007-000-000-000-000-000",
11388
11420
  childCodes: [],
11389
11421
  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.",
11390
- canonicalCode: "02-03-06-00"
11422
+ canonicalCode: "02-03-06-00",
11423
+ enumConstant: "ORGANIZATION_JUSTICE_ADULTPROTECTIVE"
11391
11424
  },
11392
11425
  {
11393
11426
  code: "048-008-000-000-000-000-000",
@@ -11400,7 +11433,8 @@ var referralEntityCategory_v1_1_0_default = {
11400
11433
  "048-008-002-000-000-000-000"
11401
11434
  ],
11402
11435
  definition: "Hospitals and healthcare providers (including mental health inpatient facilities).",
11403
- canonicalCode: "02-04-00-00"
11436
+ canonicalCode: "02-04-00-00",
11437
+ enumConstant: "ORGANIZATION_HEALTH"
11404
11438
  },
11405
11439
  {
11406
11440
  code: "048-008-001-000-000-000-000",
@@ -11410,7 +11444,8 @@ var referralEntityCategory_v1_1_0_default = {
11410
11444
  parentCode: "048-008-000-000-000-000-000",
11411
11445
  childCodes: [],
11412
11446
  definition: "Inpatient psychiatric hospital or psychiatric facility.",
11413
- canonicalCode: "02-04-01-00"
11447
+ canonicalCode: "02-04-01-00",
11448
+ enumConstant: "ORGANIZATION_HEALTH_PSYCHIATRIC"
11414
11449
  },
11415
11450
  {
11416
11451
  code: "048-008-002-000-000-000-000",
@@ -11420,7 +11455,8 @@ var referralEntityCategory_v1_1_0_default = {
11420
11455
  parentCode: "048-008-000-000-000-000-000",
11421
11456
  childCodes: [],
11422
11457
  definition: "Any non-inpatient healthcare provider (clinic, hospital, outpatient provider, behavioral health clinic, SANE program, substance abuse clinic, etc.).",
11423
- canonicalCode: "02-04-02-00"
11458
+ canonicalCode: "02-04-02-00",
11459
+ enumConstant: "ORGANIZATION_HEALTH_HEALTHCARE"
11424
11460
  },
11425
11461
  {
11426
11462
  code: "048-009-000-000-000-000-000",
@@ -11432,7 +11468,8 @@ var referralEntityCategory_v1_1_0_default = {
11432
11468
  "048-009-001-000-000-000-000"
11433
11469
  ],
11434
11470
  definition: "Parent category for education-related institutions.",
11435
- canonicalCode: "02-05-00-00"
11471
+ canonicalCode: "02-05-00-00",
11472
+ enumConstant: "ORGANIZATION_EDUCATION"
11436
11473
  },
11437
11474
  {
11438
11475
  code: "048-009-001-000-000-000-000",
@@ -11442,7 +11479,8 @@ var referralEntityCategory_v1_1_0_default = {
11442
11479
  parentCode: "048-009-000-000-000-000-000",
11443
11480
  childCodes: [],
11444
11481
  definition: "School system or educational institution.",
11445
- canonicalCode: "02-05-01-00"
11482
+ canonicalCode: "02-05-01-00",
11483
+ enumConstant: "ORGANIZATION_EDUCATION_SCHOOL"
11446
11484
  },
11447
11485
  {
11448
11486
  code: "048-010-000-000-000-000-000",
@@ -11457,7 +11495,8 @@ var referralEntityCategory_v1_1_0_default = {
11457
11495
  "048-010-004-000-000-000-000"
11458
11496
  ],
11459
11497
  definition: "Parent category for victim service providers and community-based service providers.",
11460
- canonicalCode: "02-06-00-00"
11498
+ canonicalCode: "02-06-00-00",
11499
+ enumConstant: "ORGANIZATION_COMMUNITY"
11461
11500
  },
11462
11501
  {
11463
11502
  code: "048-010-001-000-000-000-000",
@@ -11467,7 +11506,8 @@ var referralEntityCategory_v1_1_0_default = {
11467
11506
  parentCode: "048-010-000-000-000-000-000",
11468
11507
  childCodes: [],
11469
11508
  definition: "A child-centered multidisciplinary center coordinating investigation and services (forensic interview, coordination, referrals, sometimes medical or therapy) for child victims.",
11470
- canonicalCode: "02-06-01-00"
11509
+ canonicalCode: "02-06-01-00",
11510
+ enumConstant: "ORGANIZATION_COMMUNITY_CHILDADVOCACYCENTER"
11471
11511
  },
11472
11512
  {
11473
11513
  code: "048-010-002-000-000-000-000",
@@ -11477,7 +11517,8 @@ var referralEntityCategory_v1_1_0_default = {
11477
11517
  parentCode: "048-010-000-000-000-000-000",
11478
11518
  childCodes: [],
11479
11519
  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.",
11480
- canonicalCode: "02-06-02-00"
11520
+ canonicalCode: "02-06-02-00",
11521
+ enumConstant: "ORGANIZATION_COMMUNITY_VICTIMSERVICEPROVIDER"
11481
11522
  },
11482
11523
  {
11483
11524
  code: "048-010-003-000-000-000-000",
@@ -11487,7 +11528,8 @@ var referralEntityCategory_v1_1_0_default = {
11487
11528
  parentCode: "048-010-000-000-000-000-000",
11488
11529
  childCodes: [],
11489
11530
  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.)",
11490
- canonicalCode: "02-06-03-00"
11531
+ canonicalCode: "02-06-03-00",
11532
+ enumConstant: "ORGANIZATION_COMMUNITY_COMMUNITYSERVICEPROVIDER"
11491
11533
  },
11492
11534
  {
11493
11535
  code: "048-010-004-000-000-000-000",
@@ -11497,7 +11539,8 @@ var referralEntityCategory_v1_1_0_default = {
11497
11539
  parentCode: "048-010-000-000-000-000-000",
11498
11540
  childCodes: [],
11499
11541
  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.",
11500
- canonicalCode: "02-06-04-00"
11542
+ canonicalCode: "02-06-04-00",
11543
+ enumConstant: "ORGANIZATION_COMMUNITY_LEGALSERVICES"
11501
11544
  },
11502
11545
  {
11503
11546
  code: "048-011-000-000-000-000-000",
@@ -11510,7 +11553,8 @@ var referralEntityCategory_v1_1_0_default = {
11510
11553
  "048-011-002-000-000-000-000"
11511
11554
  ],
11512
11555
  definition: "Parent category for coordination and governance bodies (e.g., MDTs, coalitions).",
11513
- canonicalCode: "02-07-00-00"
11556
+ canonicalCode: "02-07-00-00",
11557
+ enumConstant: "ORGANIZATION_GOVERNANCE"
11514
11558
  },
11515
11559
  {
11516
11560
  code: "048-011-001-000-000-000-000",
@@ -11520,7 +11564,8 @@ var referralEntityCategory_v1_1_0_default = {
11520
11564
  parentCode: "048-011-000-000-000-000-000",
11521
11565
  childCodes: [],
11522
11566
  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.)",
11523
- canonicalCode: "02-07-01-00"
11567
+ canonicalCode: "02-07-01-00",
11568
+ enumConstant: "ORGANIZATION_GOVERNANCE_MDT"
11524
11569
  },
11525
11570
  {
11526
11571
  code: "048-011-002-000-000-000-000",
@@ -11530,7 +11575,8 @@ var referralEntityCategory_v1_1_0_default = {
11530
11575
  parentCode: "048-011-000-000-000-000-000",
11531
11576
  childCodes: [],
11532
11577
  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.",
11533
- canonicalCode: "02-07-02-00"
11578
+ canonicalCode: "02-07-02-00",
11579
+ enumConstant: "ORGANIZATION_GOVERNANCE_COALITION"
11534
11580
  },
11535
11581
  {
11536
11582
  code: "048-012-000-000-000-000-000",
@@ -11542,7 +11588,8 @@ var referralEntityCategory_v1_1_0_default = {
11542
11588
  "048-012-001-000-000-000-000"
11543
11589
  ],
11544
11590
  definition: "Parent category for internal referrals within the same umbrella agency.",
11545
- canonicalCode: "02-08-00-00"
11591
+ canonicalCode: "02-08-00-00",
11592
+ enumConstant: "ORGANIZATION_INTERNAL"
11546
11593
  },
11547
11594
  {
11548
11595
  code: "048-012-001-000-000-000-000",
@@ -11552,7 +11599,8 @@ var referralEntityCategory_v1_1_0_default = {
11552
11599
  parentCode: "048-012-000-000-000-000-000",
11553
11600
  childCodes: [],
11554
11601
  definition: "Client was referred from another program or unit within the same umbrella agency.",
11555
- canonicalCode: "02-08-01-00"
11602
+ canonicalCode: "02-08-01-00",
11603
+ enumConstant: "ORGANIZATION_INTERNAL_OWNAGENCY"
11556
11604
  },
11557
11605
  {
11558
11606
  code: "048-013-000-000-000-000-000",
@@ -11566,7 +11614,8 @@ var referralEntityCategory_v1_1_0_default = {
11566
11614
  "048-013-003-000-000-000-000"
11567
11615
  ],
11568
11616
  definition: "Parent category for other organizations not captured by the primary sectors.",
11569
- canonicalCode: "02-09-00-00"
11617
+ canonicalCode: "02-09-00-00",
11618
+ enumConstant: "ORGANIZATION_OTHER"
11570
11619
  },
11571
11620
  {
11572
11621
  code: "048-013-001-000-000-000-000",
@@ -11576,7 +11625,8 @@ var referralEntityCategory_v1_1_0_default = {
11576
11625
  parentCode: "048-013-000-000-000-000-000",
11577
11626
  childCodes: [],
11578
11627
  definition: "Employer, HR, or employee assistance program initiated the referral.",
11579
- canonicalCode: "02-09-01-00"
11628
+ canonicalCode: "02-09-01-00",
11629
+ enumConstant: "ORGANIZATION_OTHER_EMPLOYER"
11580
11630
  },
11581
11631
  {
11582
11632
  code: "048-013-002-000-000-000-000",
@@ -11586,7 +11636,8 @@ var referralEntityCategory_v1_1_0_default = {
11586
11636
  parentCode: "048-013-000-000-000-000-000",
11587
11637
  childCodes: [],
11588
11638
  definition: "Government office administering public benefits or eligibility and enrollment (e.g., SNAP, TANF, Medicaid, SSA).",
11589
- canonicalCode: "02-09-02-00"
11639
+ canonicalCode: "02-09-02-00",
11640
+ enumConstant: "ORGANIZATION_OTHER_PUBLICASSISTANCE"
11590
11641
  },
11591
11642
  {
11592
11643
  code: "048-013-003-000-000-000-000",
@@ -11596,7 +11647,8 @@ var referralEntityCategory_v1_1_0_default = {
11596
11647
  parentCode: "048-013-000-000-000-000-000",
11597
11648
  childCodes: [],
11598
11649
  definition: "Other organization not otherwise captured by the listed categories.",
11599
- canonicalCode: "02-09-03-00"
11650
+ canonicalCode: "02-09-03-00",
11651
+ enumConstant: "ORGANIZATION_OTHER_UNSPECIFIED"
11600
11652
  }
11601
11653
  ]
11602
11654
  };
@@ -44949,7 +45001,7 @@ export {
44949
45001
  radiusBucket_v1_0_0_default as radiusBucketSot,
44950
45002
  recencyBand_v1_0_0_default as recencyBandSot,
44951
45003
  referenceLinkType_v1_0_0_default as referenceLinkTypeSot,
44952
- referralEntityCategory_v1_1_0_default as referralEntityCategorySot,
45004
+ referralEntityCategory_v1_2_0_default as referralEntityCategorySot,
44953
45005
  referralOrigin_v1_0_0_default as referralOriginSot,
44954
45006
  relationshipConcern_v1_0_0_default as relationshipConcernSot,
44955
45007
  relationshipDynamics_v1_0_0_default as relationshipDynamicsSot,