@htilabs/platform-common-models 0.15.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.
- package/dist/agency-BHv54o79.d.ts +484 -0
- package/dist/agency-Ca4pCOOf.d.ts +342 -0
- package/dist/agency-DYCv839V.d.cts +342 -0
- package/dist/agency-Djp57S71.d.cts +484 -0
- package/dist/constants/index.cjs +952 -0
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +3 -1
- package/dist/constants/index.d.ts +3 -1
- package/dist/constants/index.js +920 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
- package/dist/cvcs/index.cjs +182 -77
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +187 -78
- package/dist/cvcs/index.d.ts +187 -78
- package/dist/cvcs/index.js +182 -77
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +3 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +7 -5
- package/dist/enums/index.d.ts +7 -5
- package/dist/enums/index.js +3 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +1704 -1073
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1650 -1072
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/org-type-BYQb9Qzq.d.ts +366 -0
- package/dist/org-type-D_FG4KdN.d.cts +366 -0
- package/dist/{platform-auth-CrF5U_JH.d.cts → platform-auth-CvAYFVhK.d.cts} +39 -0
- package/dist/{platform-auth-CrF5U_JH.d.ts → platform-auth-CvAYFVhK.d.ts} +39 -0
- package/dist/schemas/index.cjs +977 -2
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +38 -35
- package/dist/schemas/index.d.ts +38 -35
- package/dist/schemas/index.js +962 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +894 -2
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +5 -1
- package/dist/validation/index.d.ts +5 -1
- package/dist/validation/index.js +884 -1
- package/dist/validation/index.js.map +1 -1
- package/package.json +26 -27
- package/src/__tests__/__snapshots__/cvc-sot.snap +5 -5
- package/src/__tests__/core-functions-canon.test.ts +53 -0
- package/src/__tests__/core-information-scope-invariant.test.ts +94 -4
- package/src/__tests__/cvc-sot-snapshot.test.ts +13 -10
- package/src/__tests__/cvc-status-parser.test.ts +1 -1
- package/src/__tests__/cvc-structural.test.ts +3 -3
- package/src/__tests__/org-type-contract.test.ts +1353 -0
- package/src/__tests__/referral-entity-category-canon.test.ts +255 -81
- package/src/constants/ic.ts +45 -0
- package/src/constants/index.ts +1 -0
- package/src/constants/org-type.ts +703 -0
- package/src/cvcs/{coreFunctions.v1.0.0.json → coreFunctions.v1.1.0.json} +11 -2
- package/src/cvcs/index.ts +3 -3
- package/src/cvcs/{referralEntityCategory.v1.1.0.json → referralEntityCategory.v1.2.0.json} +111 -59
- package/src/cvcs/{roiScope.v1.0.0.json → roiScope.v1.2.0.json} +51 -7
- package/src/generated/cvc-enums.ts +7 -5
- package/src/index.ts +23 -0
- package/src/schemas/agency.ts +481 -0
- package/src/schemas/index.ts +24 -0
- package/src/validation/agency.ts +119 -0
- package/src/validation/index.ts +1 -0
- package/dist/team-C4LJ5Tex.d.cts +0 -333
- package/dist/team-C4LJ5Tex.d.ts +0 -333
package/dist/index.js
CHANGED
|
@@ -6020,6 +6020,894 @@ var FUNCTION_STATUS_LABELS = {
|
|
|
6020
6020
|
[FUNCTION_STATUS.FUTURE]: "Future (Not v1)"
|
|
6021
6021
|
};
|
|
6022
6022
|
|
|
6023
|
+
// src/cvcs/referralEntityCategory.v1.2.0.json
|
|
6024
|
+
var referralEntityCategory_v1_2_0_default = {
|
|
6025
|
+
domain: "referral_entity_category",
|
|
6026
|
+
name: "Core Referral Entity Category",
|
|
6027
|
+
version: "1.2.0",
|
|
6028
|
+
_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.",
|
|
6029
|
+
_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)",
|
|
6030
|
+
_supersedes: {
|
|
6031
|
+
version: "1.0.0",
|
|
6032
|
+
keyMap: {
|
|
6033
|
+
missingness_root: "missingness_root",
|
|
6034
|
+
unknown: "unknown",
|
|
6035
|
+
anonymous: "anonymous",
|
|
6036
|
+
data_not_collected: "data_not_collected",
|
|
6037
|
+
self_referred: "self_referred",
|
|
6038
|
+
family_guardian_friend: "family_guardian_friend",
|
|
6039
|
+
peer: "peer",
|
|
6040
|
+
other_individual: "other_individual",
|
|
6041
|
+
housing_shelter_continuum: "housing_shelter_continuum",
|
|
6042
|
+
outreach_project: "outreach_project",
|
|
6043
|
+
temporary_shelter: "temporary_shelter",
|
|
6044
|
+
residential_project: "residential_project",
|
|
6045
|
+
hotlines: "hotlines",
|
|
6046
|
+
national_hotline: "national_hotline",
|
|
6047
|
+
local_other_hotline: "local_other_hotline",
|
|
6048
|
+
justice_protective_systems: "justice_protective_systems",
|
|
6049
|
+
child_welfare_cps: "child_welfare_cps",
|
|
6050
|
+
juvenile_justice: "juvenile_justice",
|
|
6051
|
+
law_enforcement: "law_enforcement",
|
|
6052
|
+
local_law_enforcement: "local_law_enforcement",
|
|
6053
|
+
state_law_enforcement: "state_law_enforcement",
|
|
6054
|
+
federal_law_enforcement: "federal_law_enforcement",
|
|
6055
|
+
tribal_law_enforcement: "tribal_law_enforcement",
|
|
6056
|
+
other_law_enforcement: "other_law_enforcement",
|
|
6057
|
+
courts_prosecution: "courts_prosecution",
|
|
6058
|
+
correction_probation: "correction_probation",
|
|
6059
|
+
health_behavioral_health: "health_behavioral_health",
|
|
6060
|
+
inpatient_psychiatric_facility: "inpatient_psychiatric_facility",
|
|
6061
|
+
healthcare_provider: "healthcare_provider",
|
|
6062
|
+
education: "education",
|
|
6063
|
+
victim_community_service_providers: "victim_community_service_providers",
|
|
6064
|
+
child_advocacy_center: "child_advocacy_center",
|
|
6065
|
+
victim_service_provider: "victim_service_provider",
|
|
6066
|
+
community_based_service_provider: "community_based_service_provider",
|
|
6067
|
+
coordination_governance: "coordination_governance",
|
|
6068
|
+
mdt: "mdt",
|
|
6069
|
+
coalition: "coalition",
|
|
6070
|
+
internal: "internal",
|
|
6071
|
+
own_agency_internal: "own_agency_internal",
|
|
6072
|
+
other_entity: "other_entity",
|
|
6073
|
+
employer: "employer",
|
|
6074
|
+
benefits_public_assistance_office: "benefits_public_assistance_office",
|
|
6075
|
+
other_organization: "other_organization"
|
|
6076
|
+
},
|
|
6077
|
+
retiredCodes: [],
|
|
6078
|
+
notes: {
|
|
6079
|
+
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.",
|
|
6080
|
+
law_enforcement: "v1.0.0 `law_enforcement` was a non-selectable heading. Canon makes Law enforcement / Police a selectable leaf with five optional children."
|
|
6081
|
+
}
|
|
6082
|
+
},
|
|
6083
|
+
_notCarried: [],
|
|
6084
|
+
levels: {
|
|
6085
|
+
"0": "Unknown or Missing",
|
|
6086
|
+
"1": "Category",
|
|
6087
|
+
"2": "Entity",
|
|
6088
|
+
"3": "Variant"
|
|
6089
|
+
},
|
|
6090
|
+
entries: [
|
|
6091
|
+
{
|
|
6092
|
+
code: "048-000-000-000-000-000-000",
|
|
6093
|
+
key: "missingness_root",
|
|
6094
|
+
title: "Unknown, Redacted, or Missing",
|
|
6095
|
+
selectable: false,
|
|
6096
|
+
parentCode: null,
|
|
6097
|
+
childCodes: [
|
|
6098
|
+
"048-000-000-000-000-000-001",
|
|
6099
|
+
"048-000-000-000-000-000-002",
|
|
6100
|
+
"048-000-000-000-000-000-003"
|
|
6101
|
+
],
|
|
6102
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
6103
|
+
},
|
|
6104
|
+
{
|
|
6105
|
+
code: "048-000-000-000-000-000-001",
|
|
6106
|
+
key: "unknown",
|
|
6107
|
+
title: "Unknown",
|
|
6108
|
+
selectable: true,
|
|
6109
|
+
parentCode: "048-000-000-000-000-000-000",
|
|
6110
|
+
childCodes: [],
|
|
6111
|
+
definition: "Referral entity category unknown.",
|
|
6112
|
+
canonicalCode: "00-00-01-00",
|
|
6113
|
+
enumConstant: "EMPTY_RESPONSE_UNKNOWN"
|
|
6114
|
+
},
|
|
6115
|
+
{
|
|
6116
|
+
code: "048-000-000-000-000-000-002",
|
|
6117
|
+
key: "anonymous",
|
|
6118
|
+
title: "Anonymous",
|
|
6119
|
+
selectable: true,
|
|
6120
|
+
parentCode: "048-000-000-000-000-000-000",
|
|
6121
|
+
childCodes: [],
|
|
6122
|
+
definition: "Referral entity category withheld or redacted.",
|
|
6123
|
+
canonicalCode: "00-00-02-00",
|
|
6124
|
+
enumConstant: "EMPTY_RESPONSE_ANONYMOUS"
|
|
6125
|
+
},
|
|
6126
|
+
{
|
|
6127
|
+
code: "048-000-000-000-000-000-003",
|
|
6128
|
+
key: "data_not_collected",
|
|
6129
|
+
title: "Data not collected",
|
|
6130
|
+
selectable: true,
|
|
6131
|
+
parentCode: "048-000-000-000-000-000-000",
|
|
6132
|
+
childCodes: [],
|
|
6133
|
+
definition: "Referral entity category not collected or no signal captured.",
|
|
6134
|
+
canonicalCode: "00-00-03-00",
|
|
6135
|
+
enumConstant: "EMPTY_RESPONSE_NOTCOLLECTED"
|
|
6136
|
+
},
|
|
6137
|
+
{
|
|
6138
|
+
code: "048-001-000-000-000-000-000",
|
|
6139
|
+
key: "self_referred",
|
|
6140
|
+
title: "Self-referred",
|
|
6141
|
+
selectable: true,
|
|
6142
|
+
parentCode: null,
|
|
6143
|
+
childCodes: [],
|
|
6144
|
+
definition: "Client initiated contact or presented for services without a third-party referrer.",
|
|
6145
|
+
canonicalCode: "01-00-01-00",
|
|
6146
|
+
enumConstant: "INDIVIDUAL_PERSON_SELFREFERRED"
|
|
6147
|
+
},
|
|
6148
|
+
{
|
|
6149
|
+
code: "048-002-000-000-000-000-000",
|
|
6150
|
+
key: "family_guardian_friend",
|
|
6151
|
+
title: "Family/guardian/friend/foster parent",
|
|
6152
|
+
selectable: true,
|
|
6153
|
+
parentCode: null,
|
|
6154
|
+
childCodes: [],
|
|
6155
|
+
definition: "A caregiver, family member, or close personal support person initiated the referral.",
|
|
6156
|
+
canonicalCode: "01-00-02-00",
|
|
6157
|
+
enumConstant: "INDIVIDUAL_PERSON_FAMILYGUARDIANFRIEND"
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
code: "048-003-000-000-000-000-000",
|
|
6161
|
+
key: "peer",
|
|
6162
|
+
title: "Peer / another client",
|
|
6163
|
+
selectable: true,
|
|
6164
|
+
parentCode: null,
|
|
6165
|
+
childCodes: [],
|
|
6166
|
+
definition: "Another current or former client initiated or encouraged the referral.",
|
|
6167
|
+
canonicalCode: "01-00-03-00",
|
|
6168
|
+
enumConstant: "INDIVIDUAL_PERSON_PEER"
|
|
6169
|
+
},
|
|
6170
|
+
{
|
|
6171
|
+
code: "048-004-000-000-000-000-000",
|
|
6172
|
+
key: "other_individual",
|
|
6173
|
+
title: "Other individual",
|
|
6174
|
+
selectable: true,
|
|
6175
|
+
parentCode: null,
|
|
6176
|
+
childCodes: [],
|
|
6177
|
+
definition: "A non-family individual initiated the referral (e.g., neighbor, community member, clergy).",
|
|
6178
|
+
canonicalCode: "01-00-04-00",
|
|
6179
|
+
enumConstant: "INDIVIDUAL_PERSON_OTHER"
|
|
6180
|
+
},
|
|
6181
|
+
{
|
|
6182
|
+
code: "048-005-000-000-000-000-000",
|
|
6183
|
+
key: "housing_shelter_continuum",
|
|
6184
|
+
title: "Housing / Shelter continuum",
|
|
6185
|
+
selectable: false,
|
|
6186
|
+
parentCode: null,
|
|
6187
|
+
childCodes: [
|
|
6188
|
+
"048-005-001-000-000-000-000",
|
|
6189
|
+
"048-005-002-000-000-000-000",
|
|
6190
|
+
"048-005-003-000-000-000-000"
|
|
6191
|
+
],
|
|
6192
|
+
definition: "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs.",
|
|
6193
|
+
canonicalCode: "02-01-00-00",
|
|
6194
|
+
enumConstant: "ORGANIZATION_HOUSING"
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
code: "048-005-001-000-000-000-000",
|
|
6198
|
+
key: "outreach_project",
|
|
6199
|
+
title: "Outreach Project",
|
|
6200
|
+
selectable: true,
|
|
6201
|
+
parentCode: "048-005-000-000-000-000-000",
|
|
6202
|
+
childCodes: [],
|
|
6203
|
+
definition: "Street/community outreach program that engaged the client prior to enrollment.",
|
|
6204
|
+
canonicalCode: "02-01-01-00",
|
|
6205
|
+
enumConstant: "ORGANIZATION_HOUSING_OUTREACHPROJECT"
|
|
6206
|
+
},
|
|
6207
|
+
{
|
|
6208
|
+
code: "048-005-002-000-000-000-000",
|
|
6209
|
+
key: "temporary_shelter",
|
|
6210
|
+
title: "Temporary Shelter",
|
|
6211
|
+
selectable: true,
|
|
6212
|
+
parentCode: "048-005-000-000-000-000-000",
|
|
6213
|
+
childCodes: [],
|
|
6214
|
+
definition: "Emergency/crisis shelter or short-term temporary housing program.",
|
|
6215
|
+
canonicalCode: "02-01-02-00",
|
|
6216
|
+
enumConstant: "ORGANIZATION_HOUSING_TEMPORARYSHELTER"
|
|
6217
|
+
},
|
|
6218
|
+
{
|
|
6219
|
+
code: "048-005-003-000-000-000-000",
|
|
6220
|
+
key: "residential_project",
|
|
6221
|
+
title: "Residential Project",
|
|
6222
|
+
selectable: true,
|
|
6223
|
+
parentCode: "048-005-000-000-000-000-000",
|
|
6224
|
+
childCodes: [],
|
|
6225
|
+
definition: "Longer-term residential or transitional living program.",
|
|
6226
|
+
canonicalCode: "02-01-03-00",
|
|
6227
|
+
enumConstant: "ORGANIZATION_HOUSING_RESIDENTIALPROJECT"
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
code: "048-006-000-000-000-000-000",
|
|
6231
|
+
key: "hotlines",
|
|
6232
|
+
title: "Hotlines",
|
|
6233
|
+
selectable: false,
|
|
6234
|
+
parentCode: null,
|
|
6235
|
+
childCodes: [
|
|
6236
|
+
"048-006-003-000-000-000-000"
|
|
6237
|
+
],
|
|
6238
|
+
definition: "Crisis lines or call centers that connect a person to services.",
|
|
6239
|
+
canonicalCode: "02-02-00-00",
|
|
6240
|
+
enumConstant: "ORGANIZATION_CALLCENTERS"
|
|
6241
|
+
},
|
|
6242
|
+
{
|
|
6243
|
+
code: "048-006-001-000-000-000-000",
|
|
6244
|
+
key: "national_hotline",
|
|
6245
|
+
title: "National hotline",
|
|
6246
|
+
selectable: true,
|
|
6247
|
+
parentCode: "048-006-003-000-000-000-000",
|
|
6248
|
+
childCodes: [],
|
|
6249
|
+
definition: "National-level hotline network.",
|
|
6250
|
+
canonicalCode: "02-02-01-01",
|
|
6251
|
+
enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE_NATIONAL"
|
|
6252
|
+
},
|
|
6253
|
+
{
|
|
6254
|
+
code: "048-006-002-000-000-000-000",
|
|
6255
|
+
key: "local_other_hotline",
|
|
6256
|
+
title: "Local/other hotline",
|
|
6257
|
+
selectable: true,
|
|
6258
|
+
parentCode: "048-006-003-000-000-000-000",
|
|
6259
|
+
childCodes: [],
|
|
6260
|
+
definition: "Local/regional hotline or non-national hotline.",
|
|
6261
|
+
canonicalCode: "02-02-01-02",
|
|
6262
|
+
enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE_LOCAL"
|
|
6263
|
+
},
|
|
6264
|
+
{
|
|
6265
|
+
code: "048-006-003-000-000-000-000",
|
|
6266
|
+
key: "hotline",
|
|
6267
|
+
title: "Hotline",
|
|
6268
|
+
selectable: true,
|
|
6269
|
+
parentCode: "048-006-000-000-000-000-000",
|
|
6270
|
+
childCodes: [
|
|
6271
|
+
"048-006-001-000-000-000-000",
|
|
6272
|
+
"048-006-002-000-000-000-000"
|
|
6273
|
+
],
|
|
6274
|
+
definition: "Crisis hotline or call center that connected the client to services.",
|
|
6275
|
+
canonicalCode: "02-02-01-00",
|
|
6276
|
+
enumConstant: "ORGANIZATION_CALLCENTERS_HOTLINE"
|
|
6277
|
+
},
|
|
6278
|
+
{
|
|
6279
|
+
code: "048-007-000-000-000-000-000",
|
|
6280
|
+
key: "justice_protective_systems",
|
|
6281
|
+
title: "Justice & Protective Systems",
|
|
6282
|
+
selectable: false,
|
|
6283
|
+
parentCode: null,
|
|
6284
|
+
childCodes: [
|
|
6285
|
+
"048-007-001-000-000-000-000",
|
|
6286
|
+
"048-007-002-000-000-000-000",
|
|
6287
|
+
"048-007-003-000-000-000-000",
|
|
6288
|
+
"048-007-004-000-000-000-000",
|
|
6289
|
+
"048-007-005-000-000-000-000",
|
|
6290
|
+
"048-007-006-000-000-000-000"
|
|
6291
|
+
],
|
|
6292
|
+
definition: null,
|
|
6293
|
+
canonicalCode: "02-03-00-00",
|
|
6294
|
+
enumConstant: "ORGANIZATION_JUSTICE"
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
code: "048-007-001-000-000-000-000",
|
|
6298
|
+
key: "child_welfare_cps",
|
|
6299
|
+
title: "Child Welfare / CPS",
|
|
6300
|
+
selectable: true,
|
|
6301
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6302
|
+
childCodes: [],
|
|
6303
|
+
definition: "Government child protection agency responsible for investigating child abuse/neglect and ensuring child safety.",
|
|
6304
|
+
canonicalCode: "02-03-01-00",
|
|
6305
|
+
enumConstant: "ORGANIZATION_JUSTICE_CHILDWELFARE"
|
|
6306
|
+
},
|
|
6307
|
+
{
|
|
6308
|
+
code: "048-007-002-000-000-000-000",
|
|
6309
|
+
key: "juvenile_justice",
|
|
6310
|
+
title: "Juvenile Justice",
|
|
6311
|
+
selectable: true,
|
|
6312
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6313
|
+
childCodes: [],
|
|
6314
|
+
definition: "Juvenile probation/detention/court-related juvenile justice system initiated the referral.",
|
|
6315
|
+
canonicalCode: "02-03-02-00",
|
|
6316
|
+
enumConstant: "ORGANIZATION_JUSTICE_JUVENILE"
|
|
6317
|
+
},
|
|
6318
|
+
{
|
|
6319
|
+
code: "048-007-003-000-000-000-000",
|
|
6320
|
+
key: "law_enforcement",
|
|
6321
|
+
title: "Law enforcement / Police",
|
|
6322
|
+
selectable: true,
|
|
6323
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6324
|
+
childCodes: [
|
|
6325
|
+
"048-007-003-001-000-000-000",
|
|
6326
|
+
"048-007-003-002-000-000-000",
|
|
6327
|
+
"048-007-003-003-000-000-000",
|
|
6328
|
+
"048-007-003-004-000-000-000",
|
|
6329
|
+
"048-007-003-005-000-000-000"
|
|
6330
|
+
],
|
|
6331
|
+
definition: "Law enforcement agency initiated the referral (local/state/federal).",
|
|
6332
|
+
canonicalCode: "02-03-03-00",
|
|
6333
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT"
|
|
6334
|
+
},
|
|
6335
|
+
{
|
|
6336
|
+
code: "048-007-003-001-000-000-000",
|
|
6337
|
+
key: "local_law_enforcement",
|
|
6338
|
+
title: "Local law enforcement",
|
|
6339
|
+
selectable: true,
|
|
6340
|
+
parentCode: "048-007-003-000-000-000-000",
|
|
6341
|
+
childCodes: [],
|
|
6342
|
+
definition: "City/county police or sheriff.",
|
|
6343
|
+
canonicalCode: "02-03-03-01",
|
|
6344
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_LOCAL"
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
code: "048-007-003-002-000-000-000",
|
|
6348
|
+
key: "state_law_enforcement",
|
|
6349
|
+
title: "State law enforcement",
|
|
6350
|
+
selectable: true,
|
|
6351
|
+
parentCode: "048-007-003-000-000-000-000",
|
|
6352
|
+
childCodes: [],
|
|
6353
|
+
definition: "State-level law enforcement agency (e.g., state police/highway patrol/state bureau of investigation) acting in an official capacity.",
|
|
6354
|
+
canonicalCode: "02-03-03-02",
|
|
6355
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_STATE"
|
|
6356
|
+
},
|
|
6357
|
+
{
|
|
6358
|
+
code: "048-007-003-003-000-000-000",
|
|
6359
|
+
key: "federal_law_enforcement",
|
|
6360
|
+
title: "Federal law enforcement",
|
|
6361
|
+
selectable: true,
|
|
6362
|
+
parentCode: "048-007-003-000-000-000-000",
|
|
6363
|
+
childCodes: [],
|
|
6364
|
+
definition: "Federal law enforcement agency (e.g., FBI, DHS/ICE).",
|
|
6365
|
+
canonicalCode: "02-03-03-03",
|
|
6366
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_FEDERAL"
|
|
6367
|
+
},
|
|
6368
|
+
{
|
|
6369
|
+
code: "048-007-003-004-000-000-000",
|
|
6370
|
+
key: "tribal_law_enforcement",
|
|
6371
|
+
title: "Tribal law enforcement",
|
|
6372
|
+
selectable: true,
|
|
6373
|
+
parentCode: "048-007-003-000-000-000-000",
|
|
6374
|
+
childCodes: [],
|
|
6375
|
+
definition: "Tribal police.",
|
|
6376
|
+
canonicalCode: "02-03-03-04",
|
|
6377
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_TRIBAL"
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
code: "048-007-003-005-000-000-000",
|
|
6381
|
+
key: "other_law_enforcement",
|
|
6382
|
+
title: "Other/ unknown LE",
|
|
6383
|
+
selectable: true,
|
|
6384
|
+
parentCode: "048-007-003-000-000-000-000",
|
|
6385
|
+
childCodes: [],
|
|
6386
|
+
definition: "Other law enforcement entity, or law enforcement type is unknown.",
|
|
6387
|
+
canonicalCode: "02-03-03-05",
|
|
6388
|
+
enumConstant: "ORGANIZATION_JUSTICE_LAWENFORCEMENT_OTHER"
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
code: "048-007-004-000-000-000-000",
|
|
6392
|
+
key: "courts_prosecution",
|
|
6393
|
+
title: "Courts or prosecution",
|
|
6394
|
+
selectable: true,
|
|
6395
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6396
|
+
childCodes: [],
|
|
6397
|
+
definition: "Court or prosecution entity (not law enforcement).",
|
|
6398
|
+
canonicalCode: "02-03-04-00",
|
|
6399
|
+
enumConstant: "ORGANIZATION_JUSTICE_COURTS"
|
|
6400
|
+
},
|
|
6401
|
+
{
|
|
6402
|
+
code: "048-007-005-000-000-000-000",
|
|
6403
|
+
key: "correction_probation",
|
|
6404
|
+
title: "Correction / probation",
|
|
6405
|
+
selectable: true,
|
|
6406
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6407
|
+
childCodes: [],
|
|
6408
|
+
definition: "Corrections, probation, parole, or community supervision entity (not law enforcement).",
|
|
6409
|
+
canonicalCode: "02-03-05-00",
|
|
6410
|
+
enumConstant: "ORGANIZATION_JUSTICE_CORRECTIONS"
|
|
6411
|
+
},
|
|
6412
|
+
{
|
|
6413
|
+
code: "048-007-006-000-000-000-000",
|
|
6414
|
+
key: "adult_protective_services",
|
|
6415
|
+
title: "Adult Protective Services (APS)",
|
|
6416
|
+
selectable: true,
|
|
6417
|
+
parentCode: "048-007-000-000-000-000-000",
|
|
6418
|
+
childCodes: [],
|
|
6419
|
+
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.",
|
|
6420
|
+
canonicalCode: "02-03-06-00",
|
|
6421
|
+
enumConstant: "ORGANIZATION_JUSTICE_ADULTPROTECTIVE"
|
|
6422
|
+
},
|
|
6423
|
+
{
|
|
6424
|
+
code: "048-008-000-000-000-000-000",
|
|
6425
|
+
key: "health_behavioral_health",
|
|
6426
|
+
title: "Health / behavioral health",
|
|
6427
|
+
selectable: false,
|
|
6428
|
+
parentCode: null,
|
|
6429
|
+
childCodes: [
|
|
6430
|
+
"048-008-001-000-000-000-000",
|
|
6431
|
+
"048-008-002-000-000-000-000"
|
|
6432
|
+
],
|
|
6433
|
+
definition: "Hospitals and healthcare providers (including mental health inpatient facilities).",
|
|
6434
|
+
canonicalCode: "02-04-00-00",
|
|
6435
|
+
enumConstant: "ORGANIZATION_HEALTH"
|
|
6436
|
+
},
|
|
6437
|
+
{
|
|
6438
|
+
code: "048-008-001-000-000-000-000",
|
|
6439
|
+
key: "inpatient_psychiatric_facility",
|
|
6440
|
+
title: "Inpatient psychiatric facility",
|
|
6441
|
+
selectable: true,
|
|
6442
|
+
parentCode: "048-008-000-000-000-000-000",
|
|
6443
|
+
childCodes: [],
|
|
6444
|
+
definition: "Inpatient psychiatric hospital or psychiatric facility.",
|
|
6445
|
+
canonicalCode: "02-04-01-00",
|
|
6446
|
+
enumConstant: "ORGANIZATION_HEALTH_PSYCHIATRIC"
|
|
6447
|
+
},
|
|
6448
|
+
{
|
|
6449
|
+
code: "048-008-002-000-000-000-000",
|
|
6450
|
+
key: "healthcare_provider",
|
|
6451
|
+
title: "Healthcare provider (non-inpatient psychiatric)",
|
|
6452
|
+
selectable: true,
|
|
6453
|
+
parentCode: "048-008-000-000-000-000-000",
|
|
6454
|
+
childCodes: [],
|
|
6455
|
+
definition: "Any non-inpatient healthcare provider (clinic, hospital, outpatient provider, behavioral health clinic, SANE program, substance abuse clinic, etc.).",
|
|
6456
|
+
canonicalCode: "02-04-02-00",
|
|
6457
|
+
enumConstant: "ORGANIZATION_HEALTH_HEALTHCARE"
|
|
6458
|
+
},
|
|
6459
|
+
{
|
|
6460
|
+
code: "048-009-000-000-000-000-000",
|
|
6461
|
+
key: "education",
|
|
6462
|
+
title: "Education",
|
|
6463
|
+
selectable: false,
|
|
6464
|
+
parentCode: null,
|
|
6465
|
+
childCodes: [
|
|
6466
|
+
"048-009-001-000-000-000-000"
|
|
6467
|
+
],
|
|
6468
|
+
definition: "Parent category for education-related institutions.",
|
|
6469
|
+
canonicalCode: "02-05-00-00",
|
|
6470
|
+
enumConstant: "ORGANIZATION_EDUCATION"
|
|
6471
|
+
},
|
|
6472
|
+
{
|
|
6473
|
+
code: "048-009-001-000-000-000-000",
|
|
6474
|
+
key: "school_academic_institution",
|
|
6475
|
+
title: "School / academic institution",
|
|
6476
|
+
selectable: true,
|
|
6477
|
+
parentCode: "048-009-000-000-000-000-000",
|
|
6478
|
+
childCodes: [],
|
|
6479
|
+
definition: "School system or educational institution.",
|
|
6480
|
+
canonicalCode: "02-05-01-00",
|
|
6481
|
+
enumConstant: "ORGANIZATION_EDUCATION_SCHOOL"
|
|
6482
|
+
},
|
|
6483
|
+
{
|
|
6484
|
+
code: "048-010-000-000-000-000-000",
|
|
6485
|
+
key: "victim_community_service_providers",
|
|
6486
|
+
title: "Victim + Community service providers",
|
|
6487
|
+
selectable: false,
|
|
6488
|
+
parentCode: null,
|
|
6489
|
+
childCodes: [
|
|
6490
|
+
"048-010-001-000-000-000-000",
|
|
6491
|
+
"048-010-002-000-000-000-000",
|
|
6492
|
+
"048-010-003-000-000-000-000",
|
|
6493
|
+
"048-010-004-000-000-000-000"
|
|
6494
|
+
],
|
|
6495
|
+
definition: "Parent category for victim service providers and community-based service providers.",
|
|
6496
|
+
canonicalCode: "02-06-00-00",
|
|
6497
|
+
enumConstant: "ORGANIZATION_COMMUNITY"
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
code: "048-010-001-000-000-000-000",
|
|
6501
|
+
key: "child_advocacy_center",
|
|
6502
|
+
title: "Child Advocacy Center (CAC)",
|
|
6503
|
+
selectable: true,
|
|
6504
|
+
parentCode: "048-010-000-000-000-000-000",
|
|
6505
|
+
childCodes: [],
|
|
6506
|
+
definition: "A child-centered multidisciplinary center coordinating investigation and services (forensic interview, coordination, referrals, sometimes medical or therapy) for child victims.",
|
|
6507
|
+
canonicalCode: "02-06-01-00",
|
|
6508
|
+
enumConstant: "ORGANIZATION_COMMUNITY_CHILDADVOCACYCENTER"
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
code: "048-010-002-000-000-000-000",
|
|
6512
|
+
key: "victim_service_provider",
|
|
6513
|
+
title: "Victim service provider / advocacy program",
|
|
6514
|
+
selectable: true,
|
|
6515
|
+
parentCode: "048-010-000-000-000-000-000",
|
|
6516
|
+
childCodes: [],
|
|
6517
|
+
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.",
|
|
6518
|
+
canonicalCode: "02-06-02-00",
|
|
6519
|
+
enumConstant: "ORGANIZATION_COMMUNITY_VICTIMSERVICEPROVIDER"
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
code: "048-010-003-000-000-000-000",
|
|
6523
|
+
key: "community_based_service_provider",
|
|
6524
|
+
title: "Community-based service provider (general social services)",
|
|
6525
|
+
selectable: true,
|
|
6526
|
+
parentCode: "048-010-000-000-000-000-000",
|
|
6527
|
+
childCodes: [],
|
|
6528
|
+
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.)",
|
|
6529
|
+
canonicalCode: "02-06-03-00",
|
|
6530
|
+
enumConstant: "ORGANIZATION_COMMUNITY_COMMUNITYSERVICEPROVIDER"
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
code: "048-010-004-000-000-000-000",
|
|
6534
|
+
key: "legal_services_provider",
|
|
6535
|
+
title: "Legal services provider",
|
|
6536
|
+
selectable: true,
|
|
6537
|
+
parentCode: "048-010-000-000-000-000-000",
|
|
6538
|
+
childCodes: [],
|
|
6539
|
+
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.",
|
|
6540
|
+
canonicalCode: "02-06-04-00",
|
|
6541
|
+
enumConstant: "ORGANIZATION_COMMUNITY_LEGALSERVICES"
|
|
6542
|
+
},
|
|
6543
|
+
{
|
|
6544
|
+
code: "048-011-000-000-000-000-000",
|
|
6545
|
+
key: "coordination_governance",
|
|
6546
|
+
title: "Coordination & Governance",
|
|
6547
|
+
selectable: false,
|
|
6548
|
+
parentCode: null,
|
|
6549
|
+
childCodes: [
|
|
6550
|
+
"048-011-001-000-000-000-000",
|
|
6551
|
+
"048-011-002-000-000-000-000"
|
|
6552
|
+
],
|
|
6553
|
+
definition: "Parent category for coordination and governance bodies (e.g., MDTs, coalitions).",
|
|
6554
|
+
canonicalCode: "02-07-00-00",
|
|
6555
|
+
enumConstant: "ORGANIZATION_GOVERNANCE"
|
|
6556
|
+
},
|
|
6557
|
+
{
|
|
6558
|
+
code: "048-011-001-000-000-000-000",
|
|
6559
|
+
key: "mdt",
|
|
6560
|
+
title: "Multidisciplinary team (MDT)",
|
|
6561
|
+
selectable: true,
|
|
6562
|
+
parentCode: "048-011-000-000-000-000-000",
|
|
6563
|
+
childCodes: [],
|
|
6564
|
+
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.)",
|
|
6565
|
+
canonicalCode: "02-07-01-00",
|
|
6566
|
+
enumConstant: "ORGANIZATION_GOVERNANCE_MDT"
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
code: "048-011-002-000-000-000-000",
|
|
6570
|
+
key: "coalition",
|
|
6571
|
+
title: "Coalition (state/regional coalition)",
|
|
6572
|
+
selectable: true,
|
|
6573
|
+
parentCode: "048-011-000-000-000-000-000",
|
|
6574
|
+
childCodes: [],
|
|
6575
|
+
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.",
|
|
6576
|
+
canonicalCode: "02-07-02-00",
|
|
6577
|
+
enumConstant: "ORGANIZATION_GOVERNANCE_COALITION"
|
|
6578
|
+
},
|
|
6579
|
+
{
|
|
6580
|
+
code: "048-012-000-000-000-000-000",
|
|
6581
|
+
key: "internal",
|
|
6582
|
+
title: "Internal",
|
|
6583
|
+
selectable: false,
|
|
6584
|
+
parentCode: null,
|
|
6585
|
+
childCodes: [
|
|
6586
|
+
"048-012-001-000-000-000-000"
|
|
6587
|
+
],
|
|
6588
|
+
definition: "Parent category for internal referrals within the same umbrella agency.",
|
|
6589
|
+
canonicalCode: "02-08-00-00",
|
|
6590
|
+
enumConstant: "ORGANIZATION_INTERNAL"
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
code: "048-012-001-000-000-000-000",
|
|
6594
|
+
key: "own_agency_internal",
|
|
6595
|
+
title: "Own agency / internal referral",
|
|
6596
|
+
selectable: true,
|
|
6597
|
+
parentCode: "048-012-000-000-000-000-000",
|
|
6598
|
+
childCodes: [],
|
|
6599
|
+
definition: "Client was referred from another program or unit within the same umbrella agency.",
|
|
6600
|
+
canonicalCode: "02-08-01-00",
|
|
6601
|
+
enumConstant: "ORGANIZATION_INTERNAL_OWNAGENCY"
|
|
6602
|
+
},
|
|
6603
|
+
{
|
|
6604
|
+
code: "048-013-000-000-000-000-000",
|
|
6605
|
+
key: "other_entity",
|
|
6606
|
+
title: "Other",
|
|
6607
|
+
selectable: false,
|
|
6608
|
+
parentCode: null,
|
|
6609
|
+
childCodes: [
|
|
6610
|
+
"048-013-001-000-000-000-000",
|
|
6611
|
+
"048-013-002-000-000-000-000",
|
|
6612
|
+
"048-013-003-000-000-000-000"
|
|
6613
|
+
],
|
|
6614
|
+
definition: "Parent category for other organizations not captured by the primary sectors.",
|
|
6615
|
+
canonicalCode: "02-09-00-00",
|
|
6616
|
+
enumConstant: "ORGANIZATION_OTHER"
|
|
6617
|
+
},
|
|
6618
|
+
{
|
|
6619
|
+
code: "048-013-001-000-000-000-000",
|
|
6620
|
+
key: "employer",
|
|
6621
|
+
title: "Employer",
|
|
6622
|
+
selectable: true,
|
|
6623
|
+
parentCode: "048-013-000-000-000-000-000",
|
|
6624
|
+
childCodes: [],
|
|
6625
|
+
definition: "Employer, HR, or employee assistance program initiated the referral.",
|
|
6626
|
+
canonicalCode: "02-09-01-00",
|
|
6627
|
+
enumConstant: "ORGANIZATION_OTHER_EMPLOYER"
|
|
6628
|
+
},
|
|
6629
|
+
{
|
|
6630
|
+
code: "048-013-002-000-000-000-000",
|
|
6631
|
+
key: "benefits_public_assistance_office",
|
|
6632
|
+
title: "Benefits/public assistance office",
|
|
6633
|
+
selectable: true,
|
|
6634
|
+
parentCode: "048-013-000-000-000-000-000",
|
|
6635
|
+
childCodes: [],
|
|
6636
|
+
definition: "Government office administering public benefits or eligibility and enrollment (e.g., SNAP, TANF, Medicaid, SSA).",
|
|
6637
|
+
canonicalCode: "02-09-02-00",
|
|
6638
|
+
enumConstant: "ORGANIZATION_OTHER_PUBLICASSISTANCE"
|
|
6639
|
+
},
|
|
6640
|
+
{
|
|
6641
|
+
code: "048-013-003-000-000-000-000",
|
|
6642
|
+
key: "other_organization",
|
|
6643
|
+
title: "Other Organization",
|
|
6644
|
+
selectable: true,
|
|
6645
|
+
parentCode: "048-013-000-000-000-000-000",
|
|
6646
|
+
childCodes: [],
|
|
6647
|
+
definition: "Other organization not otherwise captured by the listed categories.",
|
|
6648
|
+
canonicalCode: "02-09-03-00",
|
|
6649
|
+
enumConstant: "ORGANIZATION_OTHER_UNSPECIFIED"
|
|
6650
|
+
}
|
|
6651
|
+
]
|
|
6652
|
+
};
|
|
6653
|
+
|
|
6654
|
+
// src/constants/org-type.ts
|
|
6655
|
+
var ENTRIES = referralEntityCategory_v1_2_0_default.entries;
|
|
6656
|
+
var BY_KEY = new Map(ENTRIES.map((e) => [e.key, e]));
|
|
6657
|
+
var BY_CODE = new Map(ENTRIES.map((e) => [e.code, e]));
|
|
6658
|
+
var BY_CANON = new Map(
|
|
6659
|
+
ENTRIES.filter((e) => e.canonicalCode).map((e) => [
|
|
6660
|
+
e.canonicalCode,
|
|
6661
|
+
e
|
|
6662
|
+
])
|
|
6663
|
+
);
|
|
6664
|
+
var BY_ENUM_CONSTANT = new Map(
|
|
6665
|
+
ENTRIES.filter((e) => e.enumConstant).map((e) => [
|
|
6666
|
+
e.enumConstant,
|
|
6667
|
+
e
|
|
6668
|
+
])
|
|
6669
|
+
);
|
|
6670
|
+
var isOrgHalf = (e) => (e.canonicalCode ?? "").startsWith("02-");
|
|
6671
|
+
var isHeading = (e) => isOrgHalf(e) && !e.selectable && /^02-\d\d-00-00$/.test(e.canonicalCode ?? "");
|
|
6672
|
+
var ORG_TYPE_HEADING_KEYS = Object.freeze([
|
|
6673
|
+
"housing_shelter_continuum",
|
|
6674
|
+
"hotlines",
|
|
6675
|
+
"justice_protective_systems",
|
|
6676
|
+
"health_behavioral_health",
|
|
6677
|
+
"education",
|
|
6678
|
+
"victim_community_service_providers",
|
|
6679
|
+
"coordination_governance",
|
|
6680
|
+
"internal",
|
|
6681
|
+
"other_entity"
|
|
6682
|
+
]);
|
|
6683
|
+
var ORG_TYPE_SELECTABLE_KEYS = Object.freeze([
|
|
6684
|
+
"outreach_project",
|
|
6685
|
+
"temporary_shelter",
|
|
6686
|
+
"residential_project",
|
|
6687
|
+
"national_hotline",
|
|
6688
|
+
"local_other_hotline",
|
|
6689
|
+
"hotline",
|
|
6690
|
+
"child_welfare_cps",
|
|
6691
|
+
"juvenile_justice",
|
|
6692
|
+
"law_enforcement",
|
|
6693
|
+
"local_law_enforcement",
|
|
6694
|
+
"state_law_enforcement",
|
|
6695
|
+
"federal_law_enforcement",
|
|
6696
|
+
"tribal_law_enforcement",
|
|
6697
|
+
"other_law_enforcement",
|
|
6698
|
+
"courts_prosecution",
|
|
6699
|
+
"correction_probation",
|
|
6700
|
+
"adult_protective_services",
|
|
6701
|
+
"inpatient_psychiatric_facility",
|
|
6702
|
+
"healthcare_provider",
|
|
6703
|
+
"school_academic_institution",
|
|
6704
|
+
"child_advocacy_center",
|
|
6705
|
+
"victim_service_provider",
|
|
6706
|
+
"community_based_service_provider",
|
|
6707
|
+
"legal_services_provider",
|
|
6708
|
+
"mdt",
|
|
6709
|
+
"coalition",
|
|
6710
|
+
"employer",
|
|
6711
|
+
"benefits_public_assistance_office",
|
|
6712
|
+
"other_organization"
|
|
6713
|
+
]);
|
|
6714
|
+
var ORG_TYPE_NONPICKABLE_LEAF_KEYS = Object.freeze([
|
|
6715
|
+
"own_agency_internal"
|
|
6716
|
+
]);
|
|
6717
|
+
var ORG_TYPE_KEYS = Object.freeze([
|
|
6718
|
+
...ORG_TYPE_HEADING_KEYS,
|
|
6719
|
+
...ORG_TYPE_SELECTABLE_KEYS,
|
|
6720
|
+
...ORG_TYPE_NONPICKABLE_LEAF_KEYS
|
|
6721
|
+
]);
|
|
6722
|
+
var AGENCY_TYPE_KEYS = Object.freeze([
|
|
6723
|
+
...ORG_TYPE_SELECTABLE_KEYS,
|
|
6724
|
+
...ORG_TYPE_NONPICKABLE_LEAF_KEYS,
|
|
6725
|
+
"unknown"
|
|
6726
|
+
]);
|
|
6727
|
+
var ORG_TYPE_KEY_SET = new Set(ORG_TYPE_KEYS);
|
|
6728
|
+
var AGENCY_TYPE_KEY_SET = new Set(AGENCY_TYPE_KEYS);
|
|
6729
|
+
function isOrgTypeKey(value) {
|
|
6730
|
+
return typeof value === "string" && ORG_TYPE_KEY_SET.has(value);
|
|
6731
|
+
}
|
|
6732
|
+
function isAgencyTypeKey(value) {
|
|
6733
|
+
return typeof value === "string" && AGENCY_TYPE_KEY_SET.has(value);
|
|
6734
|
+
}
|
|
6735
|
+
function lookup(value) {
|
|
6736
|
+
if (typeof value !== "string") return null;
|
|
6737
|
+
const v = value.trim();
|
|
6738
|
+
if (!v) return null;
|
|
6739
|
+
return BY_KEY.get(v.toLowerCase()) ?? BY_ENUM_CONSTANT.get(v.toUpperCase()) ?? BY_CANON.get(v) ?? BY_CODE.get(v) ?? null;
|
|
6740
|
+
}
|
|
6741
|
+
function resolveOrgTypeKey(value) {
|
|
6742
|
+
const hit = lookup(value);
|
|
6743
|
+
return hit && isOrgTypeKey(hit.key) ? hit.key : null;
|
|
6744
|
+
}
|
|
6745
|
+
function resolveAgencyTypeKey(value) {
|
|
6746
|
+
const hit = lookup(value);
|
|
6747
|
+
return hit && isAgencyTypeKey(hit.key) ? hit.key : null;
|
|
6748
|
+
}
|
|
6749
|
+
var LEGACY_NUMERIC_TO_REFERRAL_ENTITY_KEY = Object.freeze({
|
|
6750
|
+
0: "unknown",
|
|
6751
|
+
1: "own_agency_internal",
|
|
6752
|
+
2: "self_referred",
|
|
6753
|
+
3: "family_guardian_friend",
|
|
6754
|
+
4: "peer",
|
|
6755
|
+
5: "other_individual",
|
|
6756
|
+
10: "housing_shelter_continuum",
|
|
6757
|
+
11: "hotline",
|
|
6758
|
+
12: "justice_protective_systems",
|
|
6759
|
+
13: "outreach_project",
|
|
6760
|
+
14: "temporary_shelter",
|
|
6761
|
+
15: "residential_project",
|
|
6762
|
+
16: "health_behavioral_health",
|
|
6763
|
+
17: "education",
|
|
6764
|
+
18: "law_enforcement",
|
|
6765
|
+
19: "other_entity",
|
|
6766
|
+
20: "child_welfare_cps",
|
|
6767
|
+
21: "juvenile_justice",
|
|
6768
|
+
22: "courts_prosecution",
|
|
6769
|
+
23: "correction_probation",
|
|
6770
|
+
24: "inpatient_psychiatric_facility",
|
|
6771
|
+
25: "healthcare_provider",
|
|
6772
|
+
26: "victim_community_service_providers",
|
|
6773
|
+
27: "child_advocacy_center",
|
|
6774
|
+
28: "victim_service_provider",
|
|
6775
|
+
29: "community_based_service_provider",
|
|
6776
|
+
30: "employer",
|
|
6777
|
+
31: "benefits_public_assistance_office"
|
|
6778
|
+
});
|
|
6779
|
+
function resolveReferralEntityKeyFromLegacyNumeric(value) {
|
|
6780
|
+
const n = typeof value === "number" ? value : typeof value === "string" && /^\s*\d{1,2}\s*$/.test(value) ? Number(value) : NaN;
|
|
6781
|
+
if (!Number.isInteger(n)) return null;
|
|
6782
|
+
const table = LEGACY_NUMERIC_TO_REFERRAL_ENTITY_KEY;
|
|
6783
|
+
return table[n] ?? null;
|
|
6784
|
+
}
|
|
6785
|
+
function resolveOrgTypeKeyFromLegacyNumeric(value) {
|
|
6786
|
+
const k = resolveReferralEntityKeyFromLegacyNumeric(value);
|
|
6787
|
+
return k && isOrgTypeKey(k) ? k : null;
|
|
6788
|
+
}
|
|
6789
|
+
function orgTypeEnumConstant(key) {
|
|
6790
|
+
return BY_KEY.get(key)?.enumConstant ?? null;
|
|
6791
|
+
}
|
|
6792
|
+
function orgTypeCanonicalCode(key) {
|
|
6793
|
+
return BY_KEY.get(key)?.canonicalCode ?? null;
|
|
6794
|
+
}
|
|
6795
|
+
function orgTypeLabel(key) {
|
|
6796
|
+
return BY_KEY.get(key)?.title ?? null;
|
|
6797
|
+
}
|
|
6798
|
+
function orgTypeAncestry(key) {
|
|
6799
|
+
const out = [];
|
|
6800
|
+
const seen = /* @__PURE__ */ new Set();
|
|
6801
|
+
let cursor = BY_KEY.get(key);
|
|
6802
|
+
while (cursor && !seen.has(cursor.code)) {
|
|
6803
|
+
seen.add(cursor.code);
|
|
6804
|
+
out.push(cursor.key);
|
|
6805
|
+
cursor = cursor.parentCode ? BY_CODE.get(cursor.parentCode) : void 0;
|
|
6806
|
+
}
|
|
6807
|
+
return out;
|
|
6808
|
+
}
|
|
6809
|
+
var ORG_TYPE_PARENT_KEY = Object.freeze(
|
|
6810
|
+
Object.fromEntries(
|
|
6811
|
+
ENTRIES.filter(isOrgHalf).map((e) => [
|
|
6812
|
+
e.key,
|
|
6813
|
+
e.parentCode ? BY_CODE.get(e.parentCode)?.key ?? null : null
|
|
6814
|
+
])
|
|
6815
|
+
)
|
|
6816
|
+
);
|
|
6817
|
+
function orgTypeSector(key) {
|
|
6818
|
+
const chain = orgTypeAncestry(key);
|
|
6819
|
+
if (!chain.length) return null;
|
|
6820
|
+
const top = chain[chain.length - 1];
|
|
6821
|
+
const entry = BY_KEY.get(top);
|
|
6822
|
+
return entry && isHeading(entry) ? top : null;
|
|
6823
|
+
}
|
|
6824
|
+
var VICTIM_SERVING_ORG_TYPE_KEYS = Object.freeze([
|
|
6825
|
+
"victim_service_provider",
|
|
6826
|
+
"child_advocacy_center"
|
|
6827
|
+
]);
|
|
6828
|
+
var LAW_ENFORCEMENT_ORG_TYPE_KEYS = Object.freeze([
|
|
6829
|
+
"law_enforcement",
|
|
6830
|
+
"local_law_enforcement",
|
|
6831
|
+
"state_law_enforcement",
|
|
6832
|
+
"federal_law_enforcement",
|
|
6833
|
+
"tribal_law_enforcement",
|
|
6834
|
+
"other_law_enforcement"
|
|
6835
|
+
]);
|
|
6836
|
+
var LEGAL_ORG_TYPE_KEYS = Object.freeze([
|
|
6837
|
+
"courts_prosecution",
|
|
6838
|
+
"legal_services_provider"
|
|
6839
|
+
]);
|
|
6840
|
+
var HEALTHCARE_ORG_TYPE_KEYS = Object.freeze([
|
|
6841
|
+
"health_behavioral_health",
|
|
6842
|
+
"inpatient_psychiatric_facility",
|
|
6843
|
+
"healthcare_provider"
|
|
6844
|
+
]);
|
|
6845
|
+
var REPORT_AUTHORITY_ORG_TYPE_KEYS = Object.freeze([
|
|
6846
|
+
"justice_protective_systems",
|
|
6847
|
+
"child_welfare_cps",
|
|
6848
|
+
"juvenile_justice",
|
|
6849
|
+
"law_enforcement",
|
|
6850
|
+
"local_law_enforcement",
|
|
6851
|
+
"state_law_enforcement",
|
|
6852
|
+
"federal_law_enforcement",
|
|
6853
|
+
"tribal_law_enforcement",
|
|
6854
|
+
"other_law_enforcement",
|
|
6855
|
+
"courts_prosecution",
|
|
6856
|
+
"correction_probation",
|
|
6857
|
+
"adult_protective_services"
|
|
6858
|
+
]);
|
|
6859
|
+
var NO_SECTOR_ORG_TYPE_KEYS = Object.freeze([
|
|
6860
|
+
"internal",
|
|
6861
|
+
"own_agency_internal",
|
|
6862
|
+
"unknown"
|
|
6863
|
+
]);
|
|
6864
|
+
var asSet = (keys) => new Set(keys);
|
|
6865
|
+
var VICTIM_SERVING = asSet(VICTIM_SERVING_ORG_TYPE_KEYS);
|
|
6866
|
+
var LAW_ENFORCEMENT = asSet(LAW_ENFORCEMENT_ORG_TYPE_KEYS);
|
|
6867
|
+
var LEGAL = asSet(LEGAL_ORG_TYPE_KEYS);
|
|
6868
|
+
var HEALTHCARE = asSet(HEALTHCARE_ORG_TYPE_KEYS);
|
|
6869
|
+
var REPORT_AUTHORITY = asSet(REPORT_AUTHORITY_ORG_TYPE_KEYS);
|
|
6870
|
+
var NO_SECTOR = asSet(NO_SECTOR_ORG_TYPE_KEYS);
|
|
6871
|
+
function isVictimServingOrgType(type) {
|
|
6872
|
+
const k = resolveAgencyTypeKey(type);
|
|
6873
|
+
return !!k && VICTIM_SERVING.has(k);
|
|
6874
|
+
}
|
|
6875
|
+
function isLawEnforcementOrgType(type) {
|
|
6876
|
+
const k = resolveAgencyTypeKey(type);
|
|
6877
|
+
return !!k && LAW_ENFORCEMENT.has(k);
|
|
6878
|
+
}
|
|
6879
|
+
function isLegalOrgType(type) {
|
|
6880
|
+
const k = resolveAgencyTypeKey(type);
|
|
6881
|
+
return !!k && LEGAL.has(k);
|
|
6882
|
+
}
|
|
6883
|
+
function isHealthcareOrgType(type) {
|
|
6884
|
+
const k = resolveAgencyTypeKey(type);
|
|
6885
|
+
return !!k && HEALTHCARE.has(k);
|
|
6886
|
+
}
|
|
6887
|
+
function isReportAuthorityOrgType(type) {
|
|
6888
|
+
const k = resolveAgencyTypeKey(type);
|
|
6889
|
+
return !!k && REPORT_AUTHORITY.has(k);
|
|
6890
|
+
}
|
|
6891
|
+
function orgTypeDefaultVsp(type) {
|
|
6892
|
+
const k = resolveAgencyTypeKey(type);
|
|
6893
|
+
if (!k || NO_SECTOR.has(k) || k === "child_advocacy_center") return null;
|
|
6894
|
+
return k === "victim_service_provider";
|
|
6895
|
+
}
|
|
6896
|
+
function orgTypeDefaultSessionRole(type, vsp) {
|
|
6897
|
+
return orgTypeDefaultSessionRoleOrNull(type, vsp) ?? "vsp_staff";
|
|
6898
|
+
}
|
|
6899
|
+
function orgTypeDefaultSessionRoleOrNull(type, vsp) {
|
|
6900
|
+
if (vsp === true) return "vsp_staff";
|
|
6901
|
+
const k = resolveAgencyTypeKey(type);
|
|
6902
|
+
if (!k) return null;
|
|
6903
|
+
if (NO_SECTOR.has(k)) return "vsp_staff";
|
|
6904
|
+
if (VICTIM_SERVING.has(k)) return "vsp_staff";
|
|
6905
|
+
if (LAW_ENFORCEMENT.has(k)) return "law_enforcement_personnel";
|
|
6906
|
+
if (LEGAL.has(k)) return "legal_professional";
|
|
6907
|
+
if (HEALTHCARE.has(k)) return "healthcare_provider_staff";
|
|
6908
|
+
return "other_response_personnel";
|
|
6909
|
+
}
|
|
6910
|
+
|
|
6023
6911
|
// src/schemas/common.ts
|
|
6024
6912
|
import { Schema } from "mongoose";
|
|
6025
6913
|
var addressSchema = new Schema(
|
|
@@ -7017,6 +7905,147 @@ function buildCvcEntrySchema() {
|
|
|
7017
7905
|
}
|
|
7018
7906
|
var _cvcEntrySchema = buildCvcEntrySchema();
|
|
7019
7907
|
|
|
7908
|
+
// src/schemas/agency.ts
|
|
7909
|
+
import { Error as MongooseError } from "mongoose";
|
|
7910
|
+
function vspTwoStepHolds(v) {
|
|
7911
|
+
return v.vspPrivateNonprofit == null || v.vsp === true;
|
|
7912
|
+
}
|
|
7913
|
+
var VSP_TWO_STEP_ISSUE = {
|
|
7914
|
+
message: "vspPrivateNonprofit is step 2 of the HMIS VSP two-step and requires vsp: true",
|
|
7915
|
+
path: ["vspPrivateNonprofit"]
|
|
7916
|
+
};
|
|
7917
|
+
function vspTwoStepHoldsOnUpdate(update) {
|
|
7918
|
+
if (!update || typeof update !== "object") return true;
|
|
7919
|
+
const u = update;
|
|
7920
|
+
const set = { ...u, ...u.$set ?? {} };
|
|
7921
|
+
return vspTwoStepHolds({
|
|
7922
|
+
vsp: set.vsp,
|
|
7923
|
+
vspPrivateNonprofit: set.vspPrivateNonprofit
|
|
7924
|
+
});
|
|
7925
|
+
}
|
|
7926
|
+
var orgTypeSchemaDefinition = {
|
|
7927
|
+
/**
|
|
7928
|
+
* The agency's organization type: a CVC-48 key from
|
|
7929
|
+
* {@link AGENCY_TYPE_KEYS} (a selectable org-type leaf, or the pre-backfill
|
|
7930
|
+
* `unknown`). Set once in the Admin Hub; carried from the Org. Never free
|
|
7931
|
+
* text — a value outside the enum fails validation on `save()` and, when
|
|
7932
|
+
* the fragment is added with {@link addAgencyOrgTypeFields} (default
|
|
7933
|
+
* options), on `updateOne` / `updateMany` / `findOneAndUpdate` too.
|
|
7934
|
+
*
|
|
7935
|
+
* ORDER OF ADOPTION (review MG2, pinned in org-type-contract.test.ts):
|
|
7936
|
+
* Mongoose validates `init`-ed paths on `save()`, not only modified ones,
|
|
7937
|
+
* so once a consumer adds this fragment, an agency document that carries a
|
|
7938
|
+
* NON-KEY `type` (free text, "UNKNOWN", "multi_service", a number) fails
|
|
7939
|
+
* its next save of ANY field. A document with no `type` at all saves fine.
|
|
7940
|
+
* Backfill first (every stored value → a key or `unknown`), then adopt.
|
|
7941
|
+
*/
|
|
7942
|
+
type: {
|
|
7943
|
+
type: String,
|
|
7944
|
+
enum: [...AGENCY_TYPE_KEYS],
|
|
7945
|
+
index: true
|
|
7946
|
+
},
|
|
7947
|
+
/**
|
|
7948
|
+
* Is this organization a DV/SA victim service provider — the HMIS 2.01
|
|
7949
|
+
* (Comparable Database) fact. Captured in the Admin Hub (never inferred
|
|
7950
|
+
* from the type; the type only PROPOSES it — `orgTypeDefaultVsp`, the
|
|
7951
|
+
* Hub's pre-fill — and HTI Labs affirms or changes it there). Tri-state:
|
|
7952
|
+
* `true` / `false` / absent (not yet captured — a reader falls back to the
|
|
7953
|
+
* proposal).
|
|
7954
|
+
*/
|
|
7955
|
+
vsp: {
|
|
7956
|
+
type: Boolean
|
|
7957
|
+
},
|
|
7958
|
+
/**
|
|
7959
|
+
* Step 2 of the two-step: private non-profit VSP (VOCA/OVC PMT
|
|
7960
|
+
* distinction). Captured; tri-state; may only be `true`/`false` when
|
|
7961
|
+
* `vsp === true` ({@link vspTwoStepHolds}, enforced at the mount).
|
|
7962
|
+
*/
|
|
7963
|
+
vspPrivateNonprofit: {
|
|
7964
|
+
type: Boolean
|
|
7965
|
+
}
|
|
7966
|
+
};
|
|
7967
|
+
var agencyOrgTypeSchemaDefinition = orgTypeSchemaDefinition;
|
|
7968
|
+
var ORG_TYPE_FIELD_NAMES = Object.freeze([
|
|
7969
|
+
"type",
|
|
7970
|
+
"vsp",
|
|
7971
|
+
"vspPrivateNonprofit"
|
|
7972
|
+
]);
|
|
7973
|
+
var AGENCY_ORG_TYPE_VALIDATED_UPDATE_OPS = Object.freeze([
|
|
7974
|
+
"updateOne",
|
|
7975
|
+
"updateMany",
|
|
7976
|
+
"findOneAndUpdate"
|
|
7977
|
+
]);
|
|
7978
|
+
function applyRunValidatorsIfUnset(query) {
|
|
7979
|
+
if (query.getOptions().runValidators === void 0) {
|
|
7980
|
+
query.setOptions({ runValidators: true });
|
|
7981
|
+
}
|
|
7982
|
+
}
|
|
7983
|
+
function mountOrgTypeFields(schema, options) {
|
|
7984
|
+
schema.add(orgTypeSchemaDefinition);
|
|
7985
|
+
schema.pre("validate", function() {
|
|
7986
|
+
const doc = this;
|
|
7987
|
+
if (!vspTwoStepHolds(doc)) {
|
|
7988
|
+
const err = new MongooseError.ValidationError();
|
|
7989
|
+
err.addError(
|
|
7990
|
+
"vspPrivateNonprofit",
|
|
7991
|
+
new MongooseError.ValidatorError({
|
|
7992
|
+
path: "vspPrivateNonprofit",
|
|
7993
|
+
message: VSP_TWO_STEP_ISSUE.message,
|
|
7994
|
+
value: doc.vspPrivateNonprofit
|
|
7995
|
+
})
|
|
7996
|
+
);
|
|
7997
|
+
throw err;
|
|
7998
|
+
}
|
|
7999
|
+
});
|
|
8000
|
+
const validateOnUpdate = options.validateOnUpdate ?? true;
|
|
8001
|
+
schema.pre(
|
|
8002
|
+
[...AGENCY_ORG_TYPE_VALIDATED_UPDATE_OPS],
|
|
8003
|
+
function() {
|
|
8004
|
+
if (!vspTwoStepHoldsOnUpdate(this.getUpdate())) {
|
|
8005
|
+
throw new Error(VSP_TWO_STEP_ISSUE.message);
|
|
8006
|
+
}
|
|
8007
|
+
if (validateOnUpdate) applyRunValidatorsIfUnset(this);
|
|
8008
|
+
}
|
|
8009
|
+
);
|
|
8010
|
+
return schema;
|
|
8011
|
+
}
|
|
8012
|
+
function addOrgTypeFields(schema, options = {}) {
|
|
8013
|
+
return mountOrgTypeFields(schema, options);
|
|
8014
|
+
}
|
|
8015
|
+
function addAgencyOrgTypeFields(schema, options = {}) {
|
|
8016
|
+
return mountOrgTypeFields(schema, options);
|
|
8017
|
+
}
|
|
8018
|
+
function pickOrgTypeFields(src) {
|
|
8019
|
+
const out = {};
|
|
8020
|
+
if (src) {
|
|
8021
|
+
for (const k of ORG_TYPE_FIELD_NAMES) {
|
|
8022
|
+
const v = src[k];
|
|
8023
|
+
if (v != null) out[k] = v;
|
|
8024
|
+
}
|
|
8025
|
+
}
|
|
8026
|
+
return out;
|
|
8027
|
+
}
|
|
8028
|
+
function mirrorOrgTypeFields(org) {
|
|
8029
|
+
const out = pickOrgTypeFields(org);
|
|
8030
|
+
if (!vspTwoStepHolds(out)) {
|
|
8031
|
+
throw new Error(`mirrorOrgTypeFields: ${VSP_TWO_STEP_ISSUE.message}`);
|
|
8032
|
+
}
|
|
8033
|
+
return out;
|
|
8034
|
+
}
|
|
8035
|
+
function resolveEffectiveOrgTypeFields(org, agency) {
|
|
8036
|
+
const linked = agency != null && agency.organizationId != null;
|
|
8037
|
+
if (linked && org) return pickOrgTypeFields(org);
|
|
8038
|
+
return pickOrgTypeFields(agency);
|
|
8039
|
+
}
|
|
8040
|
+
function resolveEffectiveOrgType(org, agency) {
|
|
8041
|
+
return resolveAgencyTypeKey(resolveEffectiveOrgTypeFields(org, agency).type);
|
|
8042
|
+
}
|
|
8043
|
+
function orgTypeFieldsDiffer(org, agency) {
|
|
8044
|
+
const a = pickOrgTypeFields(org);
|
|
8045
|
+
const b = pickOrgTypeFields(agency);
|
|
8046
|
+
return ORG_TYPE_FIELD_NAMES.filter((k) => a[k] !== b[k]);
|
|
8047
|
+
}
|
|
8048
|
+
|
|
7020
8049
|
// src/models/formModel.ts
|
|
7021
8050
|
var formModel_exports = {};
|
|
7022
8051
|
__export(formModel_exports, {
|
|
@@ -8167,6 +9196,7 @@ var ReferralEntityCategoryKeys = {
|
|
|
8167
9196
|
hotlines: "048-006-000-000-000-000-000",
|
|
8168
9197
|
national_hotline: "048-006-001-000-000-000-000",
|
|
8169
9198
|
local_other_hotline: "048-006-002-000-000-000-000",
|
|
9199
|
+
hotline: "048-006-003-000-000-000-000",
|
|
8170
9200
|
justice_protective_systems: "048-007-000-000-000-000-000",
|
|
8171
9201
|
child_welfare_cps: "048-007-001-000-000-000-000",
|
|
8172
9202
|
juvenile_justice: "048-007-002-000-000-000-000",
|
|
@@ -9999,7 +11029,8 @@ var CoreFunctionsKeys = {
|
|
|
9999
11029
|
thread_share_send: "133-074-000-000-000-000-000",
|
|
10000
11030
|
training_content_upload: "133-075-000-000-000-000-000",
|
|
10001
11031
|
training_gate_manage: "133-076-000-000-000-000-000",
|
|
10002
|
-
usr_manage: "133-077-000-000-000-000-000"
|
|
11032
|
+
usr_manage: "133-077-000-000-000-000-000",
|
|
11033
|
+
note_open_departed_author: "133-078-000-000-000-000-000"
|
|
10003
11034
|
};
|
|
10004
11035
|
var NeedsAssessmentChangeTypeKeys = {
|
|
10005
11036
|
missingness_root: "982-000-000-000-000-000-000",
|
|
@@ -11712,6 +12743,26 @@ var TeamDirectoryFieldsSchema = z2.object({
|
|
|
11712
12743
|
canReferTo: z2.array(ObjectIdHexSchema).refine(hasNoDuplicates, "canReferTo must not repeat a team").optional()
|
|
11713
12744
|
});
|
|
11714
12745
|
|
|
12746
|
+
// src/validation/agency.ts
|
|
12747
|
+
import { z as z3 } from "zod";
|
|
12748
|
+
var OrgTypeSelectableKeySchema = z3.enum(ORG_TYPE_SELECTABLE_KEYS);
|
|
12749
|
+
var AgencyTypeKeySchema = z3.enum(AGENCY_TYPE_KEYS);
|
|
12750
|
+
var orgTypeFieldsShape = {
|
|
12751
|
+
type: AgencyTypeKeySchema.optional(),
|
|
12752
|
+
vsp: z3.boolean().optional(),
|
|
12753
|
+
vspPrivateNonprofit: z3.boolean().optional()
|
|
12754
|
+
};
|
|
12755
|
+
var AgencyOrgTypeFieldsSchema = z3.object(orgTypeFieldsShape).refine(vspTwoStepHolds, VSP_TWO_STEP_ISSUE);
|
|
12756
|
+
function withOrgTypeFields(shape) {
|
|
12757
|
+
return z3.object({ ...shape, ...orgTypeFieldsShape }).refine(vspTwoStepHolds, VSP_TWO_STEP_ISSUE);
|
|
12758
|
+
}
|
|
12759
|
+
var OrgTypeFieldsSchema = AgencyOrgTypeFieldsSchema;
|
|
12760
|
+
var SetOrgTypeInputSchema = z3.object({
|
|
12761
|
+
type: OrgTypeSelectableKeySchema,
|
|
12762
|
+
vsp: z3.boolean().optional(),
|
|
12763
|
+
vspPrivateNonprofit: z3.boolean().optional()
|
|
12764
|
+
}).strict().refine(vspTwoStepHolds, VSP_TWO_STEP_ISSUE);
|
|
12765
|
+
|
|
11715
12766
|
// src/cvcs/serviceCategories.v1.0.0.json
|
|
11716
12767
|
var serviceCategories_v1_0_0_default = {
|
|
11717
12768
|
domain: "service_categories",
|
|
@@ -22011,1306 +23062,727 @@ var personRelationships_v1_0_0_default = {
|
|
|
22011
23062
|
parentCode: "126-007-000-000-000-000-000",
|
|
22012
23063
|
childCodes: [
|
|
22013
23064
|
"126-007-004-001-000-000-000",
|
|
22014
|
-
"126-007-004-002-000-000-000"
|
|
22015
|
-
],
|
|
22016
|
-
definition: "Relationship where one person recruits/entices another into commercial sex or exploitation context."
|
|
22017
|
-
},
|
|
22018
|
-
{
|
|
22019
|
-
code: "126-007-004-001-000-000-000",
|
|
22020
|
-
key: "recruited_by",
|
|
22021
|
-
title: "Recruited person",
|
|
22022
|
-
selectable: true,
|
|
22023
|
-
parentCode: "126-007-004-000-000-000-000",
|
|
22024
|
-
childCodes: [],
|
|
22025
|
-
definition: "Role: the related person was recruited/enticed by the anchor person."
|
|
22026
|
-
},
|
|
22027
|
-
{
|
|
22028
|
-
code: "126-007-004-002-000-000-000",
|
|
22029
|
-
key: "recruiter_of",
|
|
22030
|
-
title: "Recruiter",
|
|
22031
|
-
selectable: true,
|
|
22032
|
-
parentCode: "126-007-004-000-000-000-000",
|
|
22033
|
-
childCodes: [],
|
|
22034
|
-
definition: "Role: the related person recruited/enticed the anchor person into commercial sex/exploitation context."
|
|
22035
|
-
},
|
|
22036
|
-
{
|
|
22037
|
-
code: "126-007-005-000-000-000-000",
|
|
22038
|
-
key: "trafficker_victim",
|
|
22039
|
-
title: "Trafficker / Victim",
|
|
22040
|
-
selectable: true,
|
|
22041
|
-
parentCode: "126-007-000-000-000-000-000",
|
|
22042
|
-
childCodes: [
|
|
22043
|
-
"126-007-005-001-000-000-000",
|
|
22044
|
-
"126-007-005-002-000-000-000"
|
|
22045
|
-
],
|
|
22046
|
-
definition: "Exploitation relationship where one person is believed to traffic/exploit the other in a commercial sex or related exploitation context."
|
|
22047
|
-
},
|
|
22048
|
-
{
|
|
22049
|
-
code: "126-007-005-001-000-000-000",
|
|
22050
|
-
key: "trafficker_of",
|
|
22051
|
-
title: "Trafficker",
|
|
22052
|
-
selectable: true,
|
|
22053
|
-
parentCode: "126-007-005-000-000-000-000",
|
|
22054
|
-
childCodes: [],
|
|
22055
|
-
definition: "Role: the related person is the trafficker/exploiter of the anchor person."
|
|
22056
|
-
},
|
|
22057
|
-
{
|
|
22058
|
-
code: "126-007-005-002-000-000-000",
|
|
22059
|
-
key: "victim_of_trafficker",
|
|
22060
|
-
title: "Victim",
|
|
22061
|
-
selectable: true,
|
|
22062
|
-
parentCode: "126-007-005-000-000-000-000",
|
|
22063
|
-
childCodes: [],
|
|
22064
|
-
definition: "Role: the related person is the victim/target of trafficking/exploitation by the anchor person."
|
|
22065
|
-
},
|
|
22066
|
-
{
|
|
22067
|
-
code: "126-008-000-000-000-000-000",
|
|
22068
|
-
key: "other_unspecified",
|
|
22069
|
-
title: "Other / Unspecified",
|
|
22070
|
-
selectable: false,
|
|
22071
|
-
parentCode: null,
|
|
22072
|
-
childCodes: [
|
|
22073
|
-
"126-008-001-000-000-000-000",
|
|
22074
|
-
"126-008-002-000-000-000-000",
|
|
22075
|
-
"126-008-003-000-000-000-000",
|
|
22076
|
-
"126-008-004-000-000-000-000"
|
|
22077
|
-
],
|
|
22078
|
-
definition: "High-level topic for edge cases, unknown/low-information ties, and constrained exceptions that don't fit the primary relationship domains."
|
|
22079
|
-
},
|
|
22080
|
-
{
|
|
22081
|
-
code: "126-008-001-000-000-000-000",
|
|
22082
|
-
key: "other_person_relationship",
|
|
22083
|
-
title: "Other person relationship",
|
|
22084
|
-
selectable: true,
|
|
22085
|
-
parentCode: "126-008-000-000-000-000-000",
|
|
22086
|
-
childCodes: [],
|
|
22087
|
-
definition: "Person-to-person relationship exists, but none of the available structural relationship types fit. Should require detail text."
|
|
22088
|
-
},
|
|
22089
|
-
{
|
|
22090
|
-
code: "126-008-002-000-000-000-000",
|
|
22091
|
-
key: "person_pet",
|
|
22092
|
-
title: "Pet / Animal (person\u2194pet)",
|
|
22093
|
-
selectable: true,
|
|
22094
|
-
parentCode: "126-008-000-000-000-000-000",
|
|
22095
|
-
childCodes: [
|
|
22096
|
-
"126-008-002-001-000-000-000",
|
|
22097
|
-
"126-008-002-002-000-000-000",
|
|
22098
|
-
"126-008-002-003-000-000-000"
|
|
22099
|
-
],
|
|
22100
|
-
definition: "Structural relationship between a person and a pet/animal entity, where the person has ownership, guardianship, caretaking, or similar responsibility. This is a constrained non-person branch inside core_person_relationship for UI continuity; it is not a person\u2194person tie."
|
|
22101
|
-
},
|
|
22102
|
-
{
|
|
22103
|
-
code: "126-008-002-001-000-000-000",
|
|
22104
|
-
key: "pet_caregiver_of",
|
|
22105
|
-
title: "Caregiver of (pet)",
|
|
22106
|
-
selectable: true,
|
|
22107
|
-
parentCode: "126-008-002-000-000-000-000",
|
|
22108
|
-
childCodes: [],
|
|
22109
|
-
definition: "Person provides primary day-to-day care for the pet/animal, regardless of legal ownership."
|
|
22110
|
-
},
|
|
22111
|
-
{
|
|
22112
|
-
code: "126-008-002-002-000-000-000",
|
|
22113
|
-
key: "pet_of",
|
|
22114
|
-
title: "Pet of",
|
|
22115
|
-
selectable: true,
|
|
22116
|
-
parentCode: "126-008-002-000-000-000-000",
|
|
22117
|
-
childCodes: [],
|
|
22118
|
-
definition: "Pet/animal is the pet of the person."
|
|
22119
|
-
},
|
|
22120
|
-
{
|
|
22121
|
-
code: "126-008-002-003-000-000-000",
|
|
22122
|
-
key: "pet_owner_of",
|
|
22123
|
-
title: "Owner of (pet)",
|
|
22124
|
-
selectable: true,
|
|
22125
|
-
parentCode: "126-008-002-000-000-000-000",
|
|
22126
|
-
childCodes: [],
|
|
22127
|
-
definition: "Person has legal or practical ownership responsibility for the pet/animal."
|
|
22128
|
-
},
|
|
22129
|
-
{
|
|
22130
|
-
code: "126-008-003-000-000-000-000",
|
|
22131
|
-
key: "relationship_unknown",
|
|
22132
|
-
title: "Relationship unknown",
|
|
22133
|
-
selectable: true,
|
|
22134
|
-
parentCode: "126-008-000-000-000-000-000",
|
|
22135
|
-
childCodes: [],
|
|
22136
|
-
definition: "A relationship/link is asserted between two people, but the relationship type is unknown or not yet determined."
|
|
22137
|
-
},
|
|
22138
|
-
{
|
|
22139
|
-
code: "126-008-004-000-000-000-000",
|
|
22140
|
-
key: "stranger",
|
|
22141
|
-
title: "Stranger",
|
|
22142
|
-
selectable: true,
|
|
22143
|
-
parentCode: "126-008-000-000-000-000-000",
|
|
22144
|
-
childCodes: [],
|
|
22145
|
-
definition: "No known prior relationship exists between the two people (i.e., they are strangers)."
|
|
22146
|
-
}
|
|
22147
|
-
]
|
|
22148
|
-
};
|
|
22149
|
-
|
|
22150
|
-
// src/cvcs/employmentStatus.v1.0.0.json
|
|
22151
|
-
var employmentStatus_v1_0_0_default = {
|
|
22152
|
-
domain: "employment_status",
|
|
22153
|
-
name: "Core Employment Status",
|
|
22154
|
-
version: "1.0.0",
|
|
22155
|
-
levels: {
|
|
22156
|
-
"0": "Unknown or Missing",
|
|
22157
|
-
"1": "Primary",
|
|
22158
|
-
"2": "Detail"
|
|
22159
|
-
},
|
|
22160
|
-
entries: [
|
|
22161
|
-
{
|
|
22162
|
-
code: "179-000-000-000-000-000-000",
|
|
22163
|
-
key: "missingness_root",
|
|
22164
|
-
title: "Unknown, Redacted, or Missing",
|
|
22165
|
-
selectable: false,
|
|
22166
|
-
parentCode: null,
|
|
22167
|
-
childCodes: [
|
|
22168
|
-
"179-000-000-000-000-000-001",
|
|
22169
|
-
"179-000-000-000-000-000-002",
|
|
22170
|
-
"179-000-000-000-000-000-003",
|
|
22171
|
-
"179-000-000-000-000-000-004",
|
|
22172
|
-
"179-000-000-000-000-000-005"
|
|
22173
|
-
],
|
|
22174
|
-
definition: "Root group for values indicating absent, withheld, or uncollected employment-status data. Expands to the full HMIS 5-state missingness set (unknown, anonymous, data_not_collected, client_doesnt_know, client_refused) per HMIS R6 Employment Status response semantics."
|
|
22175
|
-
},
|
|
22176
|
-
{
|
|
22177
|
-
code: "179-000-000-000-000-000-001",
|
|
22178
|
-
key: "unknown",
|
|
22179
|
-
title: "Unknown",
|
|
22180
|
-
selectable: true,
|
|
22181
|
-
parentCode: "179-000-000-000-000-000-000",
|
|
22182
|
-
childCodes: [],
|
|
22183
|
-
definition: "Value is unknown at time of entry or cannot be determined from available information."
|
|
22184
|
-
},
|
|
22185
|
-
{
|
|
22186
|
-
code: "179-000-000-000-000-000-002",
|
|
22187
|
-
key: "anonymous",
|
|
22188
|
-
title: "Anonymous",
|
|
22189
|
-
selectable: true,
|
|
22190
|
-
parentCode: "179-000-000-000-000-000-000",
|
|
22191
|
-
childCodes: [],
|
|
22192
|
-
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
22193
|
-
},
|
|
22194
|
-
{
|
|
22195
|
-
code: "179-000-000-000-000-000-003",
|
|
22196
|
-
key: "data_not_collected",
|
|
22197
|
-
title: "Data not collected",
|
|
22198
|
-
selectable: true,
|
|
22199
|
-
parentCode: "179-000-000-000-000-000-000",
|
|
22200
|
-
childCodes: [],
|
|
22201
|
-
definition: "No attempt was made to collect the information."
|
|
22202
|
-
},
|
|
22203
|
-
{
|
|
22204
|
-
code: "179-000-000-000-000-000-004",
|
|
22205
|
-
key: "client_doesnt_know",
|
|
22206
|
-
title: "Client doesn't know",
|
|
22207
|
-
selectable: true,
|
|
22208
|
-
parentCode: "179-000-000-000-000-000-000",
|
|
22209
|
-
childCodes: [],
|
|
22210
|
-
definition: "Client is unable to provide an answer (explicit 'doesn't know'). HMIS R6 nonresponse value."
|
|
22211
|
-
},
|
|
22212
|
-
{
|
|
22213
|
-
code: "179-000-000-000-000-000-005",
|
|
22214
|
-
key: "client_refused",
|
|
22215
|
-
title: "Client refused",
|
|
22216
|
-
selectable: true,
|
|
22217
|
-
parentCode: "179-000-000-000-000-000-000",
|
|
22218
|
-
childCodes: [],
|
|
22219
|
-
definition: "The person was asked but chose not to provide an answer (client prefers not to answer). HMIS R6 nonresponse value."
|
|
22220
|
-
},
|
|
22221
|
-
{
|
|
22222
|
-
code: "179-001-000-000-000-000-000",
|
|
22223
|
-
key: "employed",
|
|
22224
|
-
title: "Employed",
|
|
22225
|
-
selectable: true,
|
|
22226
|
-
parentCode: null,
|
|
22227
|
-
childCodes: [
|
|
22228
|
-
"179-001-001-000-000-000-000",
|
|
22229
|
-
"179-001-002-000-000-000-000",
|
|
22230
|
-
"179-001-003-000-000-000-000",
|
|
22231
|
-
"179-001-004-000-000-000-000",
|
|
22232
|
-
"179-001-005-000-000-000-000",
|
|
22233
|
-
"179-001-006-000-000-000-000",
|
|
22234
|
-
"179-001-007-000-000-000-000"
|
|
22235
|
-
],
|
|
22236
|
-
definition: "Has worked for pay or profit during the reference period (includes formal and informal work)."
|
|
22237
|
-
},
|
|
22238
|
-
{
|
|
22239
|
-
code: "179-001-001-000-000-000-000",
|
|
22240
|
-
key: "full_time",
|
|
22241
|
-
title: "Full-time",
|
|
22242
|
-
selectable: true,
|
|
22243
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22244
|
-
childCodes: [],
|
|
22245
|
-
definition: "Working 35+ hours per week (or local program definition of full-time) during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22246
|
-
},
|
|
22247
|
-
{
|
|
22248
|
-
code: "179-001-002-000-000-000-000",
|
|
22249
|
-
key: "part_time",
|
|
22250
|
-
title: "Part-time",
|
|
22251
|
-
selectable: true,
|
|
22252
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22253
|
-
childCodes: [],
|
|
22254
|
-
definition: "Working fewer than full-time hours during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22255
|
-
},
|
|
22256
|
-
{
|
|
22257
|
-
code: "179-001-003-000-000-000-000",
|
|
22258
|
-
key: "seasonal_sporadic",
|
|
22259
|
-
title: "Seasonal / sporadic (including day labor)",
|
|
22260
|
-
selectable: true,
|
|
22261
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22262
|
-
childCodes: [],
|
|
22263
|
-
definition: "Work is seasonal, sporadic, day labor, or otherwise inconsistent/irregular during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22264
|
-
},
|
|
22265
|
-
{
|
|
22266
|
-
code: "179-001-004-000-000-000-000",
|
|
22267
|
-
key: "self_employed",
|
|
22268
|
-
title: "Self-employed",
|
|
22269
|
-
selectable: true,
|
|
22270
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22271
|
-
childCodes: [],
|
|
22272
|
-
definition: "Works for themself as a contractor, sole proprietor, or business owner. HTI extended detail (non-HMIS)."
|
|
22273
|
-
},
|
|
22274
|
-
{
|
|
22275
|
-
code: "179-001-005-000-000-000-000",
|
|
22276
|
-
key: "informal_cash_gig",
|
|
22277
|
-
title: "Informal / cash-based / gig",
|
|
22278
|
-
selectable: true,
|
|
22279
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22280
|
-
childCodes: [],
|
|
22281
|
-
definition: "Earns income through informal, cash-based, gig, or off-the-books work. HTI extended detail (non-HMIS)."
|
|
22282
|
-
},
|
|
22283
|
-
{
|
|
22284
|
-
code: "179-001-006-000-000-000-000",
|
|
22285
|
-
key: "multiple_jobs",
|
|
22286
|
-
title: "Multiple jobs",
|
|
22287
|
-
selectable: true,
|
|
22288
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22289
|
-
childCodes: [],
|
|
22290
|
-
definition: "Holds more than one job or income-generating role. HTI extended detail (non-HMIS)."
|
|
22291
|
-
},
|
|
22292
|
-
{
|
|
22293
|
-
code: "179-001-007-000-000-000-000",
|
|
22294
|
-
key: "unpaid_family_worker",
|
|
22295
|
-
title: "Unpaid family worker",
|
|
22296
|
-
selectable: true,
|
|
22297
|
-
parentCode: "179-001-000-000-000-000-000",
|
|
22298
|
-
childCodes: [],
|
|
22299
|
-
definition: "Works in a family business or farm without formal pay. HTI extended detail (non-HMIS)."
|
|
22300
|
-
},
|
|
22301
|
-
{
|
|
22302
|
-
code: "179-002-000-000-000-000-000",
|
|
22303
|
-
key: "unemployed",
|
|
22304
|
-
title: "Unemployed",
|
|
22305
|
-
selectable: true,
|
|
22306
|
-
parentCode: null,
|
|
22307
|
-
childCodes: [
|
|
22308
|
-
"179-002-001-000-000-000-000",
|
|
22309
|
-
"179-002-002-000-000-000-000",
|
|
22310
|
-
"179-002-003-000-000-000-000",
|
|
22311
|
-
"179-002-004-000-000-000-000",
|
|
22312
|
-
"179-002-005-000-000-000-000"
|
|
22313
|
-
],
|
|
22314
|
-
definition: "Not working, available, and actively seeking work (or on temporary layoff). Federal BLS/Census Unemployed definition."
|
|
22315
|
-
},
|
|
22316
|
-
{
|
|
22317
|
-
code: "179-002-001-000-000-000-000",
|
|
22318
|
-
key: "looking_for_work",
|
|
22319
|
-
title: "Looking for work (HMIS)",
|
|
22320
|
-
selectable: true,
|
|
22321
|
-
parentCode: "179-002-000-000-000-000-000",
|
|
22322
|
-
childCodes: [],
|
|
22323
|
-
definition: "Employed=No and looking for work. HMIS-authoritative reason captured when Employed=No."
|
|
22324
|
-
},
|
|
22325
|
-
{
|
|
22326
|
-
code: "179-002-002-000-000-000-000",
|
|
22327
|
-
key: "actively_seeking",
|
|
22328
|
-
title: "Actively seeking",
|
|
22329
|
-
selectable: true,
|
|
22330
|
-
parentCode: "179-002-000-000-000-000-000",
|
|
22331
|
-
childCodes: [],
|
|
22332
|
-
definition: "Not working, available, and actively taking steps to find work. HTI extended detail (non-HMIS)."
|
|
22333
|
-
},
|
|
22334
|
-
{
|
|
22335
|
-
code: "179-002-003-000-000-000-000",
|
|
22336
|
-
key: "first_time_job_seeker",
|
|
22337
|
-
title: "First-time job seeker",
|
|
22338
|
-
selectable: true,
|
|
22339
|
-
parentCode: "179-002-000-000-000-000-000",
|
|
22340
|
-
childCodes: [],
|
|
22341
|
-
definition: "Unemployed and seeking a first job (no prior work history or new entrant). HTI extended detail (non-HMIS)."
|
|
22342
|
-
},
|
|
22343
|
-
{
|
|
22344
|
-
code: "179-002-004-000-000-000-000",
|
|
22345
|
-
key: "recently_laid_off",
|
|
22346
|
-
title: "Recently laid off",
|
|
22347
|
-
selectable: true,
|
|
22348
|
-
parentCode: "179-002-000-000-000-000-000",
|
|
22349
|
-
childCodes: [],
|
|
22350
|
-
definition: "Unemployed due to a recent layoff or job loss. HTI extended detail (non-HMIS)."
|
|
22351
|
-
},
|
|
22352
|
-
{
|
|
22353
|
-
code: "179-002-005-000-000-000-000",
|
|
22354
|
-
key: "long_term_unemployed",
|
|
22355
|
-
title: "Long-term unemployed",
|
|
22356
|
-
selectable: true,
|
|
22357
|
-
parentCode: "179-002-000-000-000-000-000",
|
|
22358
|
-
childCodes: [],
|
|
22359
|
-
definition: "Unemployed and actively seeking work for an extended period (program-defined threshold, often 27+ weeks). HTI extended detail (non-HMIS)."
|
|
22360
|
-
},
|
|
22361
|
-
{
|
|
22362
|
-
code: "179-003-000-000-000-000-000",
|
|
22363
|
-
key: "not_in_labor_force",
|
|
22364
|
-
title: "Not in the labor force (NILF)",
|
|
22365
|
-
selectable: true,
|
|
22366
|
-
parentCode: null,
|
|
22367
|
-
childCodes: [
|
|
22368
|
-
"179-003-001-000-000-000-000",
|
|
22369
|
-
"179-003-002-000-000-000-000",
|
|
22370
|
-
"179-003-003-000-000-000-000",
|
|
22371
|
-
"179-003-004-000-000-000-000",
|
|
22372
|
-
"179-003-005-000-000-000-000",
|
|
22373
|
-
"179-003-006-000-000-000-000",
|
|
22374
|
-
"179-003-007-000-000-000-000",
|
|
22375
|
-
"179-003-008-000-000-000-000"
|
|
22376
|
-
],
|
|
22377
|
-
definition: "Not working and not actively seeking work during the reference period (e.g., student, caregiver, retired). Federal BLS/Census NILF definition."
|
|
22378
|
-
},
|
|
22379
|
-
{
|
|
22380
|
-
code: "179-003-001-000-000-000-000",
|
|
22381
|
-
key: "not_looking_for_work",
|
|
22382
|
-
title: "Not looking for work (HMIS)",
|
|
22383
|
-
selectable: true,
|
|
22384
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22385
|
-
childCodes: [],
|
|
22386
|
-
definition: "Employed=No and not looking for work. HMIS-authoritative reason captured when Employed=No."
|
|
22387
|
-
},
|
|
22388
|
-
{
|
|
22389
|
-
code: "179-003-002-000-000-000-000",
|
|
22390
|
-
key: "unable_to_work",
|
|
22391
|
-
title: "Unable to work (HMIS)",
|
|
22392
|
-
selectable: true,
|
|
22393
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22394
|
-
childCodes: [],
|
|
22395
|
-
definition: "Employed=No due to being unable to work. HMIS-authoritative reason captured when Employed=No."
|
|
22396
|
-
},
|
|
22397
|
-
{
|
|
22398
|
-
code: "179-003-003-000-000-000-000",
|
|
22399
|
-
key: "student",
|
|
22400
|
-
title: "Student",
|
|
22401
|
-
selectable: true,
|
|
22402
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22403
|
-
childCodes: [],
|
|
22404
|
-
definition: "Not working because enrolled in school or training and not actively seeking work. HTI extended detail (non-HMIS)."
|
|
22405
|
-
},
|
|
22406
|
-
{
|
|
22407
|
-
code: "179-003-004-000-000-000-000",
|
|
22408
|
-
key: "caregiver",
|
|
22409
|
-
title: "Caregiver (child, family, dependent)",
|
|
22410
|
-
selectable: true,
|
|
22411
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22412
|
-
childCodes: [],
|
|
22413
|
-
definition: "Not working due to caregiving responsibilities for a child, family member, or other dependent. HTI extended detail (non-HMIS)."
|
|
22414
|
-
},
|
|
22415
|
-
{
|
|
22416
|
-
code: "179-003-005-000-000-000-000",
|
|
22417
|
-
key: "disabled",
|
|
22418
|
-
title: "Disabled / unable to work",
|
|
22419
|
-
selectable: true,
|
|
22420
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22421
|
-
childCodes: [],
|
|
22422
|
-
definition: "Not working due to disability, illness, or inability to work. HTI extended detail (non-HMIS); captures disability-specific context beyond the HMIS Unable-to-work code."
|
|
22423
|
-
},
|
|
22424
|
-
{
|
|
22425
|
-
code: "179-003-006-000-000-000-000",
|
|
22426
|
-
key: "retired",
|
|
22427
|
-
title: "Retired",
|
|
22428
|
-
selectable: true,
|
|
22429
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22430
|
-
childCodes: [],
|
|
22431
|
-
definition: "Not working because retired and not actively seeking work. HTI extended detail (non-HMIS)."
|
|
22432
|
-
},
|
|
22433
|
-
{
|
|
22434
|
-
code: "179-003-007-000-000-000-000",
|
|
22435
|
-
key: "discouraged_worker",
|
|
22436
|
-
title: "Discouraged worker",
|
|
22437
|
-
selectable: true,
|
|
22438
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22439
|
-
childCodes: [],
|
|
22440
|
-
definition: "Not working and wants a job but is not currently seeking due to discouragement about job prospects. HTI extended detail (non-HMIS)."
|
|
22441
|
-
},
|
|
22442
|
-
{
|
|
22443
|
-
code: "179-003-008-000-000-000-000",
|
|
22444
|
-
key: "other_reason",
|
|
22445
|
-
title: "Other reason",
|
|
22446
|
-
selectable: true,
|
|
22447
|
-
parentCode: "179-003-000-000-000-000-000",
|
|
22448
|
-
childCodes: [],
|
|
22449
|
-
definition: "Not working for another specified reason not captured above. HTI extended detail (non-HMIS)."
|
|
22450
|
-
}
|
|
22451
|
-
]
|
|
22452
|
-
};
|
|
22453
|
-
|
|
22454
|
-
// src/cvcs/locationType.v1.0.0.json
|
|
22455
|
-
var locationType_v1_0_0_default = {
|
|
22456
|
-
domain: "location_type",
|
|
22457
|
-
name: "Core Location Type",
|
|
22458
|
-
version: "1.0.0",
|
|
22459
|
-
_source: "Rows: hand-authored 2026-04-22 from the April Notion codebook export (co-8ff.5.12); codes, keys, titles and definitions are unchanged since. LOGIC columns (tier \xB7 anchors \xB7 anchorDefault \xB7 shareUnit \xB7 safetyDefault): htilabstech/prototype/data/cvcs/core_location_type.yaml @ 55088d44 (CVC-191 v1.1, logic amended 2026-10-01; read from origin/main; cross-checked against htilabstech/prototype/Final CVCs/Location (IC-4)/core - location_type \u2014 codebook 1.csv + 2.csv @ 55088d44), overlaid by scripts/gen-location-type.py. NOT absorbed: 8 canon rows the package does not publish (TRAFFICKING_OCCURRENCE, VICTIM_IDENTIFICATION, COMMERCIAL_SEX_AD_POSTING, TRAFFICKING_RECRUITMENT, BIRTHPLACE, COURT_LOCATION, LE_INTERVIEW_LOCATION, LE_AGENCY_LOCATION) and the 4 labels canon reworded on 2026-08-28.",
|
|
22460
|
-
levels: {
|
|
22461
|
-
"0": "Unknown or Missing",
|
|
22462
|
-
"1": "Category"
|
|
22463
|
-
},
|
|
22464
|
-
entries: [
|
|
22465
|
-
{
|
|
22466
|
-
code: "191-000-000-000-000-000-000",
|
|
22467
|
-
key: "missingness_root",
|
|
22468
|
-
title: "Unknown, Redacted, or Missing",
|
|
22469
|
-
selectable: false,
|
|
22470
|
-
parentCode: null,
|
|
22471
|
-
childCodes: [
|
|
22472
|
-
"191-000-000-000-000-000-001",
|
|
22473
|
-
"191-000-000-000-000-000-002",
|
|
22474
|
-
"191-000-000-000-000-000-003"
|
|
22475
|
-
],
|
|
22476
|
-
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
22477
|
-
},
|
|
22478
|
-
{
|
|
22479
|
-
code: "191-000-000-000-000-000-001",
|
|
22480
|
-
key: "unknown",
|
|
22481
|
-
title: "Unknown",
|
|
22482
|
-
selectable: true,
|
|
22483
|
-
parentCode: "191-000-000-000-000-000-000",
|
|
22484
|
-
childCodes: [],
|
|
22485
|
-
definition: "Unknown or cannot be determined from the available information.",
|
|
22486
|
-
tier: "sentinel",
|
|
22487
|
-
anchors: [],
|
|
22488
|
-
anchorDefault: null,
|
|
22489
|
-
shareUnit: null,
|
|
22490
|
-
safetyDefault: null
|
|
22491
|
-
},
|
|
22492
|
-
{
|
|
22493
|
-
code: "191-000-000-000-000-000-002",
|
|
22494
|
-
key: "anonymous",
|
|
22495
|
-
title: "Anonymous",
|
|
22496
|
-
selectable: true,
|
|
22497
|
-
parentCode: "191-000-000-000-000-000-000",
|
|
22498
|
-
childCodes: [],
|
|
22499
|
-
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
22500
|
-
tier: "sentinel",
|
|
22501
|
-
anchors: [],
|
|
22502
|
-
anchorDefault: null,
|
|
22503
|
-
shareUnit: null,
|
|
22504
|
-
safetyDefault: null
|
|
22505
|
-
},
|
|
22506
|
-
{
|
|
22507
|
-
code: "191-000-000-000-000-000-003",
|
|
22508
|
-
key: "data_not_collected",
|
|
22509
|
-
title: "Data not collected",
|
|
22510
|
-
selectable: true,
|
|
22511
|
-
parentCode: "191-000-000-000-000-000-000",
|
|
22512
|
-
childCodes: [],
|
|
22513
|
-
definition: "No attempt was made to collect the information.",
|
|
22514
|
-
tier: "sentinel",
|
|
22515
|
-
anchors: [],
|
|
22516
|
-
anchorDefault: null,
|
|
22517
|
-
shareUnit: null,
|
|
22518
|
-
safetyDefault: null
|
|
23065
|
+
"126-007-004-002-000-000-000"
|
|
23066
|
+
],
|
|
23067
|
+
definition: "Relationship where one person recruits/entices another into commercial sex or exploitation context."
|
|
22519
23068
|
},
|
|
22520
23069
|
{
|
|
22521
|
-
code: "
|
|
22522
|
-
key: "
|
|
22523
|
-
title: "
|
|
23070
|
+
code: "126-007-004-001-000-000-000",
|
|
23071
|
+
key: "recruited_by",
|
|
23072
|
+
title: "Recruited person",
|
|
22524
23073
|
selectable: true,
|
|
22525
|
-
parentCode:
|
|
23074
|
+
parentCode: "126-007-004-000-000-000-000",
|
|
22526
23075
|
childCodes: [],
|
|
22527
|
-
definition: "
|
|
22528
|
-
tier: "residence",
|
|
22529
|
-
anchors: [
|
|
22530
|
-
"person"
|
|
22531
|
-
],
|
|
22532
|
-
anchorDefault: "person",
|
|
22533
|
-
shareUnit: "addresses",
|
|
22534
|
-
safetyDefault: "ask"
|
|
23076
|
+
definition: "Role: the related person was recruited/enticed by the anchor person."
|
|
22535
23077
|
},
|
|
22536
23078
|
{
|
|
22537
|
-
code: "
|
|
22538
|
-
key: "
|
|
22539
|
-
title: "
|
|
23079
|
+
code: "126-007-004-002-000-000-000",
|
|
23080
|
+
key: "recruiter_of",
|
|
23081
|
+
title: "Recruiter",
|
|
22540
23082
|
selectable: true,
|
|
22541
|
-
parentCode:
|
|
23083
|
+
parentCode: "126-007-004-000-000-000-000",
|
|
22542
23084
|
childCodes: [],
|
|
22543
|
-
definition: "
|
|
22544
|
-
tier: "service",
|
|
22545
|
-
anchors: [
|
|
22546
|
-
"service_instance",
|
|
22547
|
-
"agency_program",
|
|
22548
|
-
"person"
|
|
22549
|
-
],
|
|
22550
|
-
anchorDefault: "service_instance",
|
|
22551
|
-
shareUnit: "service_history",
|
|
22552
|
-
safetyDefault: "ask"
|
|
23085
|
+
definition: "Role: the related person recruited/enticed the anchor person into commercial sex/exploitation context."
|
|
22553
23086
|
},
|
|
22554
23087
|
{
|
|
22555
|
-
code: "
|
|
22556
|
-
key: "
|
|
22557
|
-
title: "
|
|
23088
|
+
code: "126-007-005-000-000-000-000",
|
|
23089
|
+
key: "trafficker_victim",
|
|
23090
|
+
title: "Trafficker / Victim",
|
|
22558
23091
|
selectable: true,
|
|
22559
|
-
parentCode:
|
|
22560
|
-
childCodes: [
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
anchors: [
|
|
22564
|
-
"person"
|
|
23092
|
+
parentCode: "126-007-000-000-000-000-000",
|
|
23093
|
+
childCodes: [
|
|
23094
|
+
"126-007-005-001-000-000-000",
|
|
23095
|
+
"126-007-005-002-000-000-000"
|
|
22565
23096
|
],
|
|
22566
|
-
|
|
22567
|
-
shareUnit: "addresses",
|
|
22568
|
-
safetyDefault: "ask"
|
|
23097
|
+
definition: "Exploitation relationship where one person is believed to traffic/exploit the other in a commercial sex or related exploitation context."
|
|
22569
23098
|
},
|
|
22570
23099
|
{
|
|
22571
|
-
code: "
|
|
22572
|
-
key: "
|
|
22573
|
-
title: "
|
|
23100
|
+
code: "126-007-005-001-000-000-000",
|
|
23101
|
+
key: "trafficker_of",
|
|
23102
|
+
title: "Trafficker",
|
|
22574
23103
|
selectable: true,
|
|
22575
|
-
parentCode:
|
|
23104
|
+
parentCode: "126-007-005-000-000-000-000",
|
|
22576
23105
|
childCodes: [],
|
|
22577
|
-
definition: "
|
|
22578
|
-
tier: "encounter",
|
|
22579
|
-
anchors: [
|
|
22580
|
-
"session",
|
|
22581
|
-
"event",
|
|
22582
|
-
"person"
|
|
22583
|
-
],
|
|
22584
|
-
anchorDefault: "session",
|
|
22585
|
-
shareUnit: "encounter_location",
|
|
22586
|
-
safetyDefault: "ask"
|
|
23106
|
+
definition: "Role: the related person is the trafficker/exploiter of the anchor person."
|
|
22587
23107
|
},
|
|
22588
23108
|
{
|
|
22589
|
-
code: "
|
|
22590
|
-
key: "
|
|
22591
|
-
title: "
|
|
23109
|
+
code: "126-007-005-002-000-000-000",
|
|
23110
|
+
key: "victim_of_trafficker",
|
|
23111
|
+
title: "Victim",
|
|
22592
23112
|
selectable: true,
|
|
22593
|
-
parentCode:
|
|
23113
|
+
parentCode: "126-007-005-000-000-000-000",
|
|
22594
23114
|
childCodes: [],
|
|
22595
|
-
definition: "
|
|
22596
|
-
tier: "residence",
|
|
22597
|
-
anchors: [
|
|
22598
|
-
"person"
|
|
22599
|
-
],
|
|
22600
|
-
anchorDefault: "person",
|
|
22601
|
-
shareUnit: "addresses",
|
|
22602
|
-
safetyDefault: "ask"
|
|
23115
|
+
definition: "Role: the related person is the victim/target of trafficking/exploitation by the anchor person."
|
|
22603
23116
|
},
|
|
22604
23117
|
{
|
|
22605
|
-
code: "
|
|
22606
|
-
key: "
|
|
22607
|
-
title: "
|
|
22608
|
-
selectable:
|
|
23118
|
+
code: "126-008-000-000-000-000-000",
|
|
23119
|
+
key: "other_unspecified",
|
|
23120
|
+
title: "Other / Unspecified",
|
|
23121
|
+
selectable: false,
|
|
22609
23122
|
parentCode: null,
|
|
22610
|
-
childCodes: [
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
"
|
|
23123
|
+
childCodes: [
|
|
23124
|
+
"126-008-001-000-000-000-000",
|
|
23125
|
+
"126-008-002-000-000-000-000",
|
|
23126
|
+
"126-008-003-000-000-000-000",
|
|
23127
|
+
"126-008-004-000-000-000-000"
|
|
22615
23128
|
],
|
|
22616
|
-
|
|
22617
|
-
shareUnit: "addresses",
|
|
22618
|
-
safetyDefault: "ask"
|
|
23129
|
+
definition: "High-level topic for edge cases, unknown/low-information ties, and constrained exceptions that don't fit the primary relationship domains."
|
|
22619
23130
|
},
|
|
22620
23131
|
{
|
|
22621
|
-
code: "
|
|
22622
|
-
key: "
|
|
22623
|
-
title: "
|
|
23132
|
+
code: "126-008-001-000-000-000-000",
|
|
23133
|
+
key: "other_person_relationship",
|
|
23134
|
+
title: "Other person relationship",
|
|
22624
23135
|
selectable: true,
|
|
22625
|
-
parentCode:
|
|
23136
|
+
parentCode: "126-008-000-000-000-000-000",
|
|
22626
23137
|
childCodes: [],
|
|
22627
|
-
definition: "
|
|
22628
|
-
tier: "derived",
|
|
22629
|
-
anchors: [
|
|
22630
|
-
"person"
|
|
22631
|
-
],
|
|
22632
|
-
anchorDefault: "person",
|
|
22633
|
-
shareUnit: "commercial_activity",
|
|
22634
|
-
safetyDefault: null
|
|
23138
|
+
definition: "Person-to-person relationship exists, but none of the available structural relationship types fit. Should require detail text."
|
|
22635
23139
|
},
|
|
22636
23140
|
{
|
|
22637
|
-
code: "
|
|
22638
|
-
key: "
|
|
22639
|
-
title: "
|
|
23141
|
+
code: "126-008-002-000-000-000-000",
|
|
23142
|
+
key: "person_pet",
|
|
23143
|
+
title: "Pet / Animal (person\u2194pet)",
|
|
22640
23144
|
selectable: true,
|
|
22641
|
-
parentCode:
|
|
22642
|
-
childCodes: [
|
|
22643
|
-
|
|
22644
|
-
|
|
22645
|
-
|
|
22646
|
-
"person",
|
|
22647
|
-
"event"
|
|
23145
|
+
parentCode: "126-008-000-000-000-000-000",
|
|
23146
|
+
childCodes: [
|
|
23147
|
+
"126-008-002-001-000-000-000",
|
|
23148
|
+
"126-008-002-002-000-000-000",
|
|
23149
|
+
"126-008-002-003-000-000-000"
|
|
22648
23150
|
],
|
|
22649
|
-
|
|
22650
|
-
shareUnit: "addresses",
|
|
22651
|
-
safetyDefault: "ask"
|
|
23151
|
+
definition: "Structural relationship between a person and a pet/animal entity, where the person has ownership, guardianship, caretaking, or similar responsibility. This is a constrained non-person branch inside core_person_relationship for UI continuity; it is not a person\u2194person tie."
|
|
22652
23152
|
},
|
|
22653
23153
|
{
|
|
22654
|
-
code: "
|
|
22655
|
-
key: "
|
|
22656
|
-
title: "
|
|
23154
|
+
code: "126-008-002-001-000-000-000",
|
|
23155
|
+
key: "pet_caregiver_of",
|
|
23156
|
+
title: "Caregiver of (pet)",
|
|
22657
23157
|
selectable: true,
|
|
22658
|
-
parentCode:
|
|
23158
|
+
parentCode: "126-008-002-000-000-000-000",
|
|
22659
23159
|
childCodes: [],
|
|
22660
|
-
definition: "
|
|
22661
|
-
tier: "encounter",
|
|
22662
|
-
anchors: [
|
|
22663
|
-
"person"
|
|
22664
|
-
],
|
|
22665
|
-
anchorDefault: "person",
|
|
22666
|
-
shareUnit: "addresses",
|
|
22667
|
-
safetyDefault: "ask"
|
|
23160
|
+
definition: "Person provides primary day-to-day care for the pet/animal, regardless of legal ownership."
|
|
22668
23161
|
},
|
|
22669
23162
|
{
|
|
22670
|
-
code: "
|
|
22671
|
-
key: "
|
|
22672
|
-
title: "
|
|
23163
|
+
code: "126-008-002-002-000-000-000",
|
|
23164
|
+
key: "pet_of",
|
|
23165
|
+
title: "Pet of",
|
|
22673
23166
|
selectable: true,
|
|
22674
|
-
parentCode:
|
|
23167
|
+
parentCode: "126-008-002-000-000-000-000",
|
|
22675
23168
|
childCodes: [],
|
|
22676
|
-
definition: "
|
|
22677
|
-
tier: "derived",
|
|
22678
|
-
anchors: [
|
|
22679
|
-
"person"
|
|
22680
|
-
],
|
|
22681
|
-
anchorDefault: "person",
|
|
22682
|
-
shareUnit: "commercial_activity",
|
|
22683
|
-
safetyDefault: null
|
|
23169
|
+
definition: "Pet/animal is the pet of the person."
|
|
22684
23170
|
},
|
|
22685
23171
|
{
|
|
22686
|
-
code: "
|
|
22687
|
-
key: "
|
|
22688
|
-
title: "
|
|
23172
|
+
code: "126-008-002-003-000-000-000",
|
|
23173
|
+
key: "pet_owner_of",
|
|
23174
|
+
title: "Owner of (pet)",
|
|
22689
23175
|
selectable: true,
|
|
22690
|
-
parentCode:
|
|
23176
|
+
parentCode: "126-008-002-000-000-000-000",
|
|
22691
23177
|
childCodes: [],
|
|
22692
|
-
definition: "
|
|
22693
|
-
tier: "service",
|
|
22694
|
-
anchors: [
|
|
22695
|
-
"agency_program"
|
|
22696
|
-
],
|
|
22697
|
-
anchorDefault: "agency_program",
|
|
22698
|
-
shareUnit: null,
|
|
22699
|
-
safetyDefault: "safe"
|
|
23178
|
+
definition: "Person has legal or practical ownership responsibility for the pet/animal."
|
|
22700
23179
|
},
|
|
22701
23180
|
{
|
|
22702
|
-
code: "
|
|
22703
|
-
key: "
|
|
22704
|
-
title: "
|
|
23181
|
+
code: "126-008-003-000-000-000-000",
|
|
23182
|
+
key: "relationship_unknown",
|
|
23183
|
+
title: "Relationship unknown",
|
|
22705
23184
|
selectable: true,
|
|
22706
|
-
parentCode:
|
|
23185
|
+
parentCode: "126-008-000-000-000-000-000",
|
|
22707
23186
|
childCodes: [],
|
|
22708
|
-
definition: "A
|
|
22709
|
-
tier: "encounter",
|
|
22710
|
-
anchors: [
|
|
22711
|
-
"person",
|
|
22712
|
-
"session",
|
|
22713
|
-
"event"
|
|
22714
|
-
],
|
|
22715
|
-
anchorDefault: "person",
|
|
22716
|
-
shareUnit: "addresses",
|
|
22717
|
-
safetyDefault: "ask"
|
|
23187
|
+
definition: "A relationship/link is asserted between two people, but the relationship type is unknown or not yet determined."
|
|
22718
23188
|
},
|
|
22719
23189
|
{
|
|
22720
|
-
code: "
|
|
22721
|
-
key: "
|
|
22722
|
-
title: "
|
|
23190
|
+
code: "126-008-004-000-000-000-000",
|
|
23191
|
+
key: "stranger",
|
|
23192
|
+
title: "Stranger",
|
|
22723
23193
|
selectable: true,
|
|
22724
|
-
parentCode:
|
|
23194
|
+
parentCode: "126-008-000-000-000-000-000",
|
|
22725
23195
|
childCodes: [],
|
|
22726
|
-
definition: "
|
|
22727
|
-
tier: "encounter",
|
|
22728
|
-
anchors: [
|
|
22729
|
-
"session",
|
|
22730
|
-
"event"
|
|
22731
|
-
],
|
|
22732
|
-
anchorDefault: "event",
|
|
22733
|
-
shareUnit: "encounter_location",
|
|
22734
|
-
safetyDefault: "ask"
|
|
23196
|
+
definition: "No known prior relationship exists between the two people (i.e., they are strangers)."
|
|
22735
23197
|
}
|
|
22736
23198
|
]
|
|
22737
23199
|
};
|
|
22738
23200
|
|
|
22739
|
-
// src/cvcs/
|
|
22740
|
-
var
|
|
22741
|
-
domain: "
|
|
22742
|
-
name: "Core
|
|
22743
|
-
version: "1.
|
|
22744
|
-
_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.",
|
|
22745
|
-
_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)",
|
|
22746
|
-
_supersedes: {
|
|
22747
|
-
version: "1.0.0",
|
|
22748
|
-
keyMap: {
|
|
22749
|
-
missingness_root: "missingness_root",
|
|
22750
|
-
unknown: "unknown",
|
|
22751
|
-
anonymous: "anonymous",
|
|
22752
|
-
data_not_collected: "data_not_collected",
|
|
22753
|
-
self_referred: "self_referred",
|
|
22754
|
-
family_guardian_friend: "family_guardian_friend",
|
|
22755
|
-
peer: "peer",
|
|
22756
|
-
other_individual: "other_individual",
|
|
22757
|
-
housing_shelter_continuum: "housing_shelter_continuum",
|
|
22758
|
-
outreach_project: "outreach_project",
|
|
22759
|
-
temporary_shelter: "temporary_shelter",
|
|
22760
|
-
residential_project: "residential_project",
|
|
22761
|
-
hotlines: "hotlines",
|
|
22762
|
-
national_hotline: "national_hotline",
|
|
22763
|
-
local_other_hotline: "local_other_hotline",
|
|
22764
|
-
justice_protective_systems: "justice_protective_systems",
|
|
22765
|
-
child_welfare_cps: "child_welfare_cps",
|
|
22766
|
-
juvenile_justice: "juvenile_justice",
|
|
22767
|
-
law_enforcement: "law_enforcement",
|
|
22768
|
-
local_law_enforcement: "local_law_enforcement",
|
|
22769
|
-
state_law_enforcement: "state_law_enforcement",
|
|
22770
|
-
federal_law_enforcement: "federal_law_enforcement",
|
|
22771
|
-
tribal_law_enforcement: "tribal_law_enforcement",
|
|
22772
|
-
other_law_enforcement: "other_law_enforcement",
|
|
22773
|
-
courts_prosecution: "courts_prosecution",
|
|
22774
|
-
correction_probation: "correction_probation",
|
|
22775
|
-
health_behavioral_health: "health_behavioral_health",
|
|
22776
|
-
inpatient_psychiatric_facility: "inpatient_psychiatric_facility",
|
|
22777
|
-
healthcare_provider: "healthcare_provider",
|
|
22778
|
-
education: "education",
|
|
22779
|
-
victim_community_service_providers: "victim_community_service_providers",
|
|
22780
|
-
child_advocacy_center: "child_advocacy_center",
|
|
22781
|
-
victim_service_provider: "victim_service_provider",
|
|
22782
|
-
community_based_service_provider: "community_based_service_provider",
|
|
22783
|
-
coordination_governance: "coordination_governance",
|
|
22784
|
-
mdt: "mdt",
|
|
22785
|
-
coalition: "coalition",
|
|
22786
|
-
internal: "internal",
|
|
22787
|
-
own_agency_internal: "own_agency_internal",
|
|
22788
|
-
other_entity: "other_entity",
|
|
22789
|
-
employer: "employer",
|
|
22790
|
-
benefits_public_assistance_office: "benefits_public_assistance_office",
|
|
22791
|
-
other_organization: "other_organization"
|
|
22792
|
-
},
|
|
22793
|
-
retiredCodes: [],
|
|
22794
|
-
notes: {
|
|
22795
|
-
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.",
|
|
22796
|
-
law_enforcement: "v1.0.0 `law_enforcement` was a non-selectable heading. Canon makes Law enforcement / Police a selectable leaf with five optional children."
|
|
22797
|
-
}
|
|
22798
|
-
},
|
|
22799
|
-
_notCarried: [
|
|
22800
|
-
{
|
|
22801
|
-
canonicalCode: "02-02-01-00",
|
|
22802
|
-
name: "Hotline",
|
|
22803
|
-
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"
|
|
22804
|
-
}
|
|
22805
|
-
],
|
|
23201
|
+
// src/cvcs/employmentStatus.v1.0.0.json
|
|
23202
|
+
var employmentStatus_v1_0_0_default = {
|
|
23203
|
+
domain: "employment_status",
|
|
23204
|
+
name: "Core Employment Status",
|
|
23205
|
+
version: "1.0.0",
|
|
22806
23206
|
levels: {
|
|
22807
23207
|
"0": "Unknown or Missing",
|
|
22808
|
-
"1": "
|
|
22809
|
-
"2": "
|
|
22810
|
-
"3": "Variant"
|
|
23208
|
+
"1": "Primary",
|
|
23209
|
+
"2": "Detail"
|
|
22811
23210
|
},
|
|
22812
23211
|
entries: [
|
|
22813
23212
|
{
|
|
22814
|
-
code: "
|
|
23213
|
+
code: "179-000-000-000-000-000-000",
|
|
22815
23214
|
key: "missingness_root",
|
|
22816
23215
|
title: "Unknown, Redacted, or Missing",
|
|
22817
23216
|
selectable: false,
|
|
22818
23217
|
parentCode: null,
|
|
22819
23218
|
childCodes: [
|
|
22820
|
-
"
|
|
22821
|
-
"
|
|
22822
|
-
"
|
|
23219
|
+
"179-000-000-000-000-000-001",
|
|
23220
|
+
"179-000-000-000-000-000-002",
|
|
23221
|
+
"179-000-000-000-000-000-003",
|
|
23222
|
+
"179-000-000-000-000-000-004",
|
|
23223
|
+
"179-000-000-000-000-000-005"
|
|
22823
23224
|
],
|
|
22824
|
-
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
23225
|
+
definition: "Root group for values indicating absent, withheld, or uncollected employment-status data. Expands to the full HMIS 5-state missingness set (unknown, anonymous, data_not_collected, client_doesnt_know, client_refused) per HMIS R6 Employment Status response semantics."
|
|
22825
23226
|
},
|
|
22826
23227
|
{
|
|
22827
|
-
code: "
|
|
23228
|
+
code: "179-000-000-000-000-000-001",
|
|
22828
23229
|
key: "unknown",
|
|
22829
23230
|
title: "Unknown",
|
|
22830
23231
|
selectable: true,
|
|
22831
|
-
parentCode: "
|
|
23232
|
+
parentCode: "179-000-000-000-000-000-000",
|
|
22832
23233
|
childCodes: [],
|
|
22833
|
-
definition: "
|
|
22834
|
-
canonicalCode: "00-00-01-00"
|
|
23234
|
+
definition: "Value is unknown at time of entry or cannot be determined from available information."
|
|
22835
23235
|
},
|
|
22836
23236
|
{
|
|
22837
|
-
code: "
|
|
23237
|
+
code: "179-000-000-000-000-000-002",
|
|
22838
23238
|
key: "anonymous",
|
|
22839
23239
|
title: "Anonymous",
|
|
22840
23240
|
selectable: true,
|
|
22841
|
-
parentCode: "
|
|
23241
|
+
parentCode: "179-000-000-000-000-000-000",
|
|
22842
23242
|
childCodes: [],
|
|
22843
|
-
definition: "
|
|
22844
|
-
canonicalCode: "00-00-02-00"
|
|
23243
|
+
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
22845
23244
|
},
|
|
22846
23245
|
{
|
|
22847
|
-
code: "
|
|
23246
|
+
code: "179-000-000-000-000-000-003",
|
|
22848
23247
|
key: "data_not_collected",
|
|
22849
23248
|
title: "Data not collected",
|
|
22850
23249
|
selectable: true,
|
|
22851
|
-
parentCode: "
|
|
23250
|
+
parentCode: "179-000-000-000-000-000-000",
|
|
22852
23251
|
childCodes: [],
|
|
22853
|
-
definition: "
|
|
22854
|
-
canonicalCode: "00-00-03-00"
|
|
23252
|
+
definition: "No attempt was made to collect the information."
|
|
22855
23253
|
},
|
|
22856
23254
|
{
|
|
22857
|
-
code: "
|
|
22858
|
-
key: "
|
|
22859
|
-
title: "
|
|
23255
|
+
code: "179-000-000-000-000-000-004",
|
|
23256
|
+
key: "client_doesnt_know",
|
|
23257
|
+
title: "Client doesn't know",
|
|
22860
23258
|
selectable: true,
|
|
22861
|
-
parentCode:
|
|
23259
|
+
parentCode: "179-000-000-000-000-000-000",
|
|
22862
23260
|
childCodes: [],
|
|
22863
|
-
definition: "Client
|
|
22864
|
-
canonicalCode: "01-00-01-00"
|
|
23261
|
+
definition: "Client is unable to provide an answer (explicit 'doesn't know'). HMIS R6 nonresponse value."
|
|
22865
23262
|
},
|
|
22866
23263
|
{
|
|
22867
|
-
code: "
|
|
22868
|
-
key: "
|
|
22869
|
-
title: "
|
|
23264
|
+
code: "179-000-000-000-000-000-005",
|
|
23265
|
+
key: "client_refused",
|
|
23266
|
+
title: "Client refused",
|
|
22870
23267
|
selectable: true,
|
|
22871
|
-
parentCode:
|
|
23268
|
+
parentCode: "179-000-000-000-000-000-000",
|
|
22872
23269
|
childCodes: [],
|
|
22873
|
-
definition: "
|
|
22874
|
-
canonicalCode: "01-00-02-00"
|
|
23270
|
+
definition: "The person was asked but chose not to provide an answer (client prefers not to answer). HMIS R6 nonresponse value."
|
|
22875
23271
|
},
|
|
22876
23272
|
{
|
|
22877
|
-
code: "
|
|
22878
|
-
key: "
|
|
22879
|
-
title: "
|
|
23273
|
+
code: "179-001-000-000-000-000-000",
|
|
23274
|
+
key: "employed",
|
|
23275
|
+
title: "Employed",
|
|
22880
23276
|
selectable: true,
|
|
22881
23277
|
parentCode: null,
|
|
23278
|
+
childCodes: [
|
|
23279
|
+
"179-001-001-000-000-000-000",
|
|
23280
|
+
"179-001-002-000-000-000-000",
|
|
23281
|
+
"179-001-003-000-000-000-000",
|
|
23282
|
+
"179-001-004-000-000-000-000",
|
|
23283
|
+
"179-001-005-000-000-000-000",
|
|
23284
|
+
"179-001-006-000-000-000-000",
|
|
23285
|
+
"179-001-007-000-000-000-000"
|
|
23286
|
+
],
|
|
23287
|
+
definition: "Has worked for pay or profit during the reference period (includes formal and informal work)."
|
|
23288
|
+
},
|
|
23289
|
+
{
|
|
23290
|
+
code: "179-001-001-000-000-000-000",
|
|
23291
|
+
key: "full_time",
|
|
23292
|
+
title: "Full-time",
|
|
23293
|
+
selectable: true,
|
|
23294
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
22882
23295
|
childCodes: [],
|
|
22883
|
-
definition: "
|
|
22884
|
-
canonicalCode: "01-00-03-00"
|
|
23296
|
+
definition: "Working 35+ hours per week (or local program definition of full-time) during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22885
23297
|
},
|
|
22886
23298
|
{
|
|
22887
|
-
code: "
|
|
22888
|
-
key: "
|
|
22889
|
-
title: "
|
|
23299
|
+
code: "179-001-002-000-000-000-000",
|
|
23300
|
+
key: "part_time",
|
|
23301
|
+
title: "Part-time",
|
|
22890
23302
|
selectable: true,
|
|
22891
|
-
parentCode:
|
|
23303
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
22892
23304
|
childCodes: [],
|
|
22893
|
-
definition: "
|
|
22894
|
-
canonicalCode: "01-00-04-00"
|
|
23305
|
+
definition: "Working fewer than full-time hours during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22895
23306
|
},
|
|
22896
23307
|
{
|
|
22897
|
-
code: "
|
|
22898
|
-
key: "
|
|
22899
|
-
title: "
|
|
22900
|
-
selectable:
|
|
22901
|
-
parentCode:
|
|
22902
|
-
childCodes: [
|
|
22903
|
-
|
|
22904
|
-
"048-005-002-000-000-000-000",
|
|
22905
|
-
"048-005-003-000-000-000-000"
|
|
22906
|
-
],
|
|
22907
|
-
definition: "Primary function is outreach engagement, emergency shelter, or residential shelter/housing programs.",
|
|
22908
|
-
canonicalCode: "02-01-00-00"
|
|
23308
|
+
code: "179-001-003-000-000-000-000",
|
|
23309
|
+
key: "seasonal_sporadic",
|
|
23310
|
+
title: "Seasonal / sporadic (including day labor)",
|
|
23311
|
+
selectable: true,
|
|
23312
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
23313
|
+
childCodes: [],
|
|
23314
|
+
definition: "Work is seasonal, sporadic, day labor, or otherwise inconsistent/irregular during the reference period. HMIS-authoritative type of employment when Employed=Yes."
|
|
22909
23315
|
},
|
|
22910
23316
|
{
|
|
22911
|
-
code: "
|
|
22912
|
-
key: "
|
|
22913
|
-
title: "
|
|
23317
|
+
code: "179-001-004-000-000-000-000",
|
|
23318
|
+
key: "self_employed",
|
|
23319
|
+
title: "Self-employed",
|
|
22914
23320
|
selectable: true,
|
|
22915
|
-
parentCode: "
|
|
23321
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
22916
23322
|
childCodes: [],
|
|
22917
|
-
definition: "
|
|
22918
|
-
canonicalCode: "02-01-01-00"
|
|
23323
|
+
definition: "Works for themself as a contractor, sole proprietor, or business owner. HTI extended detail (non-HMIS)."
|
|
22919
23324
|
},
|
|
22920
23325
|
{
|
|
22921
|
-
code: "
|
|
22922
|
-
key: "
|
|
22923
|
-
title: "
|
|
23326
|
+
code: "179-001-005-000-000-000-000",
|
|
23327
|
+
key: "informal_cash_gig",
|
|
23328
|
+
title: "Informal / cash-based / gig",
|
|
22924
23329
|
selectable: true,
|
|
22925
|
-
parentCode: "
|
|
23330
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
22926
23331
|
childCodes: [],
|
|
22927
|
-
definition: "
|
|
22928
|
-
canonicalCode: "02-01-02-00"
|
|
23332
|
+
definition: "Earns income through informal, cash-based, gig, or off-the-books work. HTI extended detail (non-HMIS)."
|
|
22929
23333
|
},
|
|
22930
23334
|
{
|
|
22931
|
-
code: "
|
|
22932
|
-
key: "
|
|
22933
|
-
title: "
|
|
23335
|
+
code: "179-001-006-000-000-000-000",
|
|
23336
|
+
key: "multiple_jobs",
|
|
23337
|
+
title: "Multiple jobs",
|
|
22934
23338
|
selectable: true,
|
|
22935
|
-
parentCode: "
|
|
23339
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
22936
23340
|
childCodes: [],
|
|
22937
|
-
definition: "
|
|
22938
|
-
canonicalCode: "02-01-03-00"
|
|
23341
|
+
definition: "Holds more than one job or income-generating role. HTI extended detail (non-HMIS)."
|
|
22939
23342
|
},
|
|
22940
23343
|
{
|
|
22941
|
-
code: "
|
|
22942
|
-
key: "
|
|
22943
|
-
title: "
|
|
22944
|
-
selectable:
|
|
23344
|
+
code: "179-001-007-000-000-000-000",
|
|
23345
|
+
key: "unpaid_family_worker",
|
|
23346
|
+
title: "Unpaid family worker",
|
|
23347
|
+
selectable: true,
|
|
23348
|
+
parentCode: "179-001-000-000-000-000-000",
|
|
23349
|
+
childCodes: [],
|
|
23350
|
+
definition: "Works in a family business or farm without formal pay. HTI extended detail (non-HMIS)."
|
|
23351
|
+
},
|
|
23352
|
+
{
|
|
23353
|
+
code: "179-002-000-000-000-000-000",
|
|
23354
|
+
key: "unemployed",
|
|
23355
|
+
title: "Unemployed",
|
|
23356
|
+
selectable: true,
|
|
22945
23357
|
parentCode: null,
|
|
22946
23358
|
childCodes: [
|
|
22947
|
-
"
|
|
22948
|
-
"
|
|
23359
|
+
"179-002-001-000-000-000-000",
|
|
23360
|
+
"179-002-002-000-000-000-000",
|
|
23361
|
+
"179-002-003-000-000-000-000",
|
|
23362
|
+
"179-002-004-000-000-000-000",
|
|
23363
|
+
"179-002-005-000-000-000-000"
|
|
22949
23364
|
],
|
|
22950
|
-
definition: "
|
|
22951
|
-
canonicalCode: "02-02-00-00"
|
|
23365
|
+
definition: "Not working, available, and actively seeking work (or on temporary layoff). Federal BLS/Census Unemployed definition."
|
|
22952
23366
|
},
|
|
22953
23367
|
{
|
|
22954
|
-
code: "
|
|
22955
|
-
key: "
|
|
22956
|
-
title: "
|
|
23368
|
+
code: "179-002-001-000-000-000-000",
|
|
23369
|
+
key: "looking_for_work",
|
|
23370
|
+
title: "Looking for work (HMIS)",
|
|
22957
23371
|
selectable: true,
|
|
22958
|
-
parentCode: "
|
|
23372
|
+
parentCode: "179-002-000-000-000-000-000",
|
|
22959
23373
|
childCodes: [],
|
|
22960
|
-
definition: "
|
|
22961
|
-
canonicalCode: "02-02-01-01"
|
|
23374
|
+
definition: "Employed=No and looking for work. HMIS-authoritative reason captured when Employed=No."
|
|
22962
23375
|
},
|
|
22963
23376
|
{
|
|
22964
|
-
code: "
|
|
22965
|
-
key: "
|
|
22966
|
-
title: "
|
|
23377
|
+
code: "179-002-002-000-000-000-000",
|
|
23378
|
+
key: "actively_seeking",
|
|
23379
|
+
title: "Actively seeking",
|
|
22967
23380
|
selectable: true,
|
|
22968
|
-
parentCode: "
|
|
23381
|
+
parentCode: "179-002-000-000-000-000-000",
|
|
22969
23382
|
childCodes: [],
|
|
22970
|
-
definition: "
|
|
22971
|
-
canonicalCode: "02-02-01-02"
|
|
23383
|
+
definition: "Not working, available, and actively taking steps to find work. HTI extended detail (non-HMIS)."
|
|
22972
23384
|
},
|
|
22973
23385
|
{
|
|
22974
|
-
code: "
|
|
22975
|
-
key: "
|
|
22976
|
-
title: "
|
|
22977
|
-
selectable:
|
|
22978
|
-
parentCode:
|
|
22979
|
-
childCodes: [
|
|
22980
|
-
|
|
22981
|
-
"048-007-002-000-000-000-000",
|
|
22982
|
-
"048-007-003-000-000-000-000",
|
|
22983
|
-
"048-007-004-000-000-000-000",
|
|
22984
|
-
"048-007-005-000-000-000-000",
|
|
22985
|
-
"048-007-006-000-000-000-000"
|
|
22986
|
-
],
|
|
22987
|
-
definition: null,
|
|
22988
|
-
canonicalCode: "02-03-00-00"
|
|
23386
|
+
code: "179-002-003-000-000-000-000",
|
|
23387
|
+
key: "first_time_job_seeker",
|
|
23388
|
+
title: "First-time job seeker",
|
|
23389
|
+
selectable: true,
|
|
23390
|
+
parentCode: "179-002-000-000-000-000-000",
|
|
23391
|
+
childCodes: [],
|
|
23392
|
+
definition: "Unemployed and seeking a first job (no prior work history or new entrant). HTI extended detail (non-HMIS)."
|
|
22989
23393
|
},
|
|
22990
23394
|
{
|
|
22991
|
-
code: "
|
|
22992
|
-
key: "
|
|
22993
|
-
title: "
|
|
23395
|
+
code: "179-002-004-000-000-000-000",
|
|
23396
|
+
key: "recently_laid_off",
|
|
23397
|
+
title: "Recently laid off",
|
|
22994
23398
|
selectable: true,
|
|
22995
|
-
parentCode: "
|
|
23399
|
+
parentCode: "179-002-000-000-000-000-000",
|
|
22996
23400
|
childCodes: [],
|
|
22997
|
-
definition: "
|
|
22998
|
-
canonicalCode: "02-03-01-00"
|
|
23401
|
+
definition: "Unemployed due to a recent layoff or job loss. HTI extended detail (non-HMIS)."
|
|
22999
23402
|
},
|
|
23000
23403
|
{
|
|
23001
|
-
code: "
|
|
23002
|
-
key: "
|
|
23003
|
-
title: "
|
|
23404
|
+
code: "179-002-005-000-000-000-000",
|
|
23405
|
+
key: "long_term_unemployed",
|
|
23406
|
+
title: "Long-term unemployed",
|
|
23004
23407
|
selectable: true,
|
|
23005
|
-
parentCode: "
|
|
23408
|
+
parentCode: "179-002-000-000-000-000-000",
|
|
23006
23409
|
childCodes: [],
|
|
23007
|
-
definition: "
|
|
23008
|
-
canonicalCode: "02-03-02-00"
|
|
23410
|
+
definition: "Unemployed and actively seeking work for an extended period (program-defined threshold, often 27+ weeks). HTI extended detail (non-HMIS)."
|
|
23009
23411
|
},
|
|
23010
23412
|
{
|
|
23011
|
-
code: "
|
|
23012
|
-
key: "
|
|
23013
|
-
title: "
|
|
23413
|
+
code: "179-003-000-000-000-000-000",
|
|
23414
|
+
key: "not_in_labor_force",
|
|
23415
|
+
title: "Not in the labor force (NILF)",
|
|
23014
23416
|
selectable: true,
|
|
23015
|
-
parentCode:
|
|
23417
|
+
parentCode: null,
|
|
23016
23418
|
childCodes: [
|
|
23017
|
-
"
|
|
23018
|
-
"
|
|
23019
|
-
"
|
|
23020
|
-
"
|
|
23021
|
-
"
|
|
23419
|
+
"179-003-001-000-000-000-000",
|
|
23420
|
+
"179-003-002-000-000-000-000",
|
|
23421
|
+
"179-003-003-000-000-000-000",
|
|
23422
|
+
"179-003-004-000-000-000-000",
|
|
23423
|
+
"179-003-005-000-000-000-000",
|
|
23424
|
+
"179-003-006-000-000-000-000",
|
|
23425
|
+
"179-003-007-000-000-000-000",
|
|
23426
|
+
"179-003-008-000-000-000-000"
|
|
23022
23427
|
],
|
|
23023
|
-
definition: "
|
|
23024
|
-
canonicalCode: "02-03-03-00"
|
|
23428
|
+
definition: "Not working and not actively seeking work during the reference period (e.g., student, caregiver, retired). Federal BLS/Census NILF definition."
|
|
23025
23429
|
},
|
|
23026
23430
|
{
|
|
23027
|
-
code: "
|
|
23028
|
-
key: "
|
|
23029
|
-
title: "
|
|
23431
|
+
code: "179-003-001-000-000-000-000",
|
|
23432
|
+
key: "not_looking_for_work",
|
|
23433
|
+
title: "Not looking for work (HMIS)",
|
|
23030
23434
|
selectable: true,
|
|
23031
|
-
parentCode: "
|
|
23435
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23032
23436
|
childCodes: [],
|
|
23033
|
-
definition: "
|
|
23034
|
-
canonicalCode: "02-03-03-01"
|
|
23437
|
+
definition: "Employed=No and not looking for work. HMIS-authoritative reason captured when Employed=No."
|
|
23035
23438
|
},
|
|
23036
23439
|
{
|
|
23037
|
-
code: "
|
|
23038
|
-
key: "
|
|
23039
|
-
title: "
|
|
23440
|
+
code: "179-003-002-000-000-000-000",
|
|
23441
|
+
key: "unable_to_work",
|
|
23442
|
+
title: "Unable to work (HMIS)",
|
|
23040
23443
|
selectable: true,
|
|
23041
|
-
parentCode: "
|
|
23444
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23042
23445
|
childCodes: [],
|
|
23043
|
-
definition: "
|
|
23044
|
-
canonicalCode: "02-03-03-02"
|
|
23446
|
+
definition: "Employed=No due to being unable to work. HMIS-authoritative reason captured when Employed=No."
|
|
23045
23447
|
},
|
|
23046
23448
|
{
|
|
23047
|
-
code: "
|
|
23048
|
-
key: "
|
|
23049
|
-
title: "
|
|
23449
|
+
code: "179-003-003-000-000-000-000",
|
|
23450
|
+
key: "student",
|
|
23451
|
+
title: "Student",
|
|
23050
23452
|
selectable: true,
|
|
23051
|
-
parentCode: "
|
|
23453
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23052
23454
|
childCodes: [],
|
|
23053
|
-
definition: "
|
|
23054
|
-
canonicalCode: "02-03-03-03"
|
|
23455
|
+
definition: "Not working because enrolled in school or training and not actively seeking work. HTI extended detail (non-HMIS)."
|
|
23055
23456
|
},
|
|
23056
23457
|
{
|
|
23057
|
-
code: "
|
|
23058
|
-
key: "
|
|
23059
|
-
title: "
|
|
23458
|
+
code: "179-003-004-000-000-000-000",
|
|
23459
|
+
key: "caregiver",
|
|
23460
|
+
title: "Caregiver (child, family, dependent)",
|
|
23060
23461
|
selectable: true,
|
|
23061
|
-
parentCode: "
|
|
23462
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23062
23463
|
childCodes: [],
|
|
23063
|
-
definition: "
|
|
23064
|
-
canonicalCode: "02-03-03-04"
|
|
23464
|
+
definition: "Not working due to caregiving responsibilities for a child, family member, or other dependent. HTI extended detail (non-HMIS)."
|
|
23065
23465
|
},
|
|
23066
23466
|
{
|
|
23067
|
-
code: "
|
|
23068
|
-
key: "
|
|
23069
|
-
title: "
|
|
23467
|
+
code: "179-003-005-000-000-000-000",
|
|
23468
|
+
key: "disabled",
|
|
23469
|
+
title: "Disabled / unable to work",
|
|
23070
23470
|
selectable: true,
|
|
23071
|
-
parentCode: "
|
|
23471
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23072
23472
|
childCodes: [],
|
|
23073
|
-
definition: "
|
|
23074
|
-
canonicalCode: "02-03-03-05"
|
|
23473
|
+
definition: "Not working due to disability, illness, or inability to work. HTI extended detail (non-HMIS); captures disability-specific context beyond the HMIS Unable-to-work code."
|
|
23075
23474
|
},
|
|
23076
23475
|
{
|
|
23077
|
-
code: "
|
|
23078
|
-
key: "
|
|
23079
|
-
title: "
|
|
23476
|
+
code: "179-003-006-000-000-000-000",
|
|
23477
|
+
key: "retired",
|
|
23478
|
+
title: "Retired",
|
|
23080
23479
|
selectable: true,
|
|
23081
|
-
parentCode: "
|
|
23480
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23082
23481
|
childCodes: [],
|
|
23083
|
-
definition: "
|
|
23084
|
-
canonicalCode: "02-03-04-00"
|
|
23482
|
+
definition: "Not working because retired and not actively seeking work. HTI extended detail (non-HMIS)."
|
|
23085
23483
|
},
|
|
23086
23484
|
{
|
|
23087
|
-
code: "
|
|
23088
|
-
key: "
|
|
23089
|
-
title: "
|
|
23485
|
+
code: "179-003-007-000-000-000-000",
|
|
23486
|
+
key: "discouraged_worker",
|
|
23487
|
+
title: "Discouraged worker",
|
|
23090
23488
|
selectable: true,
|
|
23091
|
-
parentCode: "
|
|
23489
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23092
23490
|
childCodes: [],
|
|
23093
|
-
definition: "
|
|
23094
|
-
canonicalCode: "02-03-05-00"
|
|
23491
|
+
definition: "Not working and wants a job but is not currently seeking due to discouragement about job prospects. HTI extended detail (non-HMIS)."
|
|
23095
23492
|
},
|
|
23096
23493
|
{
|
|
23097
|
-
code: "
|
|
23098
|
-
key: "
|
|
23099
|
-
title: "
|
|
23494
|
+
code: "179-003-008-000-000-000-000",
|
|
23495
|
+
key: "other_reason",
|
|
23496
|
+
title: "Other reason",
|
|
23100
23497
|
selectable: true,
|
|
23101
|
-
parentCode: "
|
|
23498
|
+
parentCode: "179-003-000-000-000-000-000",
|
|
23102
23499
|
childCodes: [],
|
|
23103
|
-
definition: "
|
|
23104
|
-
|
|
23105
|
-
|
|
23500
|
+
definition: "Not working for another specified reason not captured above. HTI extended detail (non-HMIS)."
|
|
23501
|
+
}
|
|
23502
|
+
]
|
|
23503
|
+
};
|
|
23504
|
+
|
|
23505
|
+
// src/cvcs/locationType.v1.0.0.json
|
|
23506
|
+
var locationType_v1_0_0_default = {
|
|
23507
|
+
domain: "location_type",
|
|
23508
|
+
name: "Core Location Type",
|
|
23509
|
+
version: "1.0.0",
|
|
23510
|
+
_source: "Rows: hand-authored 2026-04-22 from the April Notion codebook export (co-8ff.5.12); codes, keys, titles and definitions are unchanged since. LOGIC columns (tier \xB7 anchors \xB7 anchorDefault \xB7 shareUnit \xB7 safetyDefault): htilabstech/prototype/data/cvcs/core_location_type.yaml @ 55088d44 (CVC-191 v1.1, logic amended 2026-10-01; read from origin/main; cross-checked against htilabstech/prototype/Final CVCs/Location (IC-4)/core - location_type \u2014 codebook 1.csv + 2.csv @ 55088d44), overlaid by scripts/gen-location-type.py. NOT absorbed: 8 canon rows the package does not publish (TRAFFICKING_OCCURRENCE, VICTIM_IDENTIFICATION, COMMERCIAL_SEX_AD_POSTING, TRAFFICKING_RECRUITMENT, BIRTHPLACE, COURT_LOCATION, LE_INTERVIEW_LOCATION, LE_AGENCY_LOCATION) and the 4 labels canon reworded on 2026-08-28.",
|
|
23511
|
+
levels: {
|
|
23512
|
+
"0": "Unknown or Missing",
|
|
23513
|
+
"1": "Category"
|
|
23514
|
+
},
|
|
23515
|
+
entries: [
|
|
23106
23516
|
{
|
|
23107
|
-
code: "
|
|
23108
|
-
key: "
|
|
23109
|
-
title: "
|
|
23517
|
+
code: "191-000-000-000-000-000-000",
|
|
23518
|
+
key: "missingness_root",
|
|
23519
|
+
title: "Unknown, Redacted, or Missing",
|
|
23110
23520
|
selectable: false,
|
|
23111
23521
|
parentCode: null,
|
|
23112
23522
|
childCodes: [
|
|
23113
|
-
"
|
|
23114
|
-
"
|
|
23523
|
+
"191-000-000-000-000-000-001",
|
|
23524
|
+
"191-000-000-000-000-000-002",
|
|
23525
|
+
"191-000-000-000-000-000-003"
|
|
23115
23526
|
],
|
|
23116
|
-
definition: "
|
|
23117
|
-
canonicalCode: "02-04-00-00"
|
|
23527
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
23118
23528
|
},
|
|
23119
23529
|
{
|
|
23120
|
-
code: "
|
|
23121
|
-
key: "
|
|
23122
|
-
title: "
|
|
23530
|
+
code: "191-000-000-000-000-000-001",
|
|
23531
|
+
key: "unknown",
|
|
23532
|
+
title: "Unknown",
|
|
23123
23533
|
selectable: true,
|
|
23124
|
-
parentCode: "
|
|
23534
|
+
parentCode: "191-000-000-000-000-000-000",
|
|
23125
23535
|
childCodes: [],
|
|
23126
|
-
definition: "
|
|
23127
|
-
|
|
23536
|
+
definition: "Unknown or cannot be determined from the available information.",
|
|
23537
|
+
tier: "sentinel",
|
|
23538
|
+
anchors: [],
|
|
23539
|
+
anchorDefault: null,
|
|
23540
|
+
shareUnit: null,
|
|
23541
|
+
safetyDefault: null
|
|
23128
23542
|
},
|
|
23129
23543
|
{
|
|
23130
|
-
code: "
|
|
23131
|
-
key: "
|
|
23132
|
-
title: "
|
|
23544
|
+
code: "191-000-000-000-000-000-002",
|
|
23545
|
+
key: "anonymous",
|
|
23546
|
+
title: "Anonymous",
|
|
23133
23547
|
selectable: true,
|
|
23134
|
-
parentCode: "
|
|
23548
|
+
parentCode: "191-000-000-000-000-000-000",
|
|
23135
23549
|
childCodes: [],
|
|
23136
|
-
definition: "
|
|
23137
|
-
|
|
23138
|
-
|
|
23139
|
-
|
|
23140
|
-
|
|
23141
|
-
|
|
23142
|
-
title: "Education",
|
|
23143
|
-
selectable: false,
|
|
23144
|
-
parentCode: null,
|
|
23145
|
-
childCodes: [
|
|
23146
|
-
"048-009-001-000-000-000-000"
|
|
23147
|
-
],
|
|
23148
|
-
definition: "Parent category for education-related institutions.",
|
|
23149
|
-
canonicalCode: "02-05-00-00"
|
|
23550
|
+
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
23551
|
+
tier: "sentinel",
|
|
23552
|
+
anchors: [],
|
|
23553
|
+
anchorDefault: null,
|
|
23554
|
+
shareUnit: null,
|
|
23555
|
+
safetyDefault: null
|
|
23150
23556
|
},
|
|
23151
23557
|
{
|
|
23152
|
-
code: "
|
|
23153
|
-
key: "
|
|
23154
|
-
title: "
|
|
23558
|
+
code: "191-000-000-000-000-000-003",
|
|
23559
|
+
key: "data_not_collected",
|
|
23560
|
+
title: "Data not collected",
|
|
23155
23561
|
selectable: true,
|
|
23156
|
-
parentCode: "
|
|
23562
|
+
parentCode: "191-000-000-000-000-000-000",
|
|
23157
23563
|
childCodes: [],
|
|
23158
|
-
definition: "
|
|
23159
|
-
|
|
23564
|
+
definition: "No attempt was made to collect the information.",
|
|
23565
|
+
tier: "sentinel",
|
|
23566
|
+
anchors: [],
|
|
23567
|
+
anchorDefault: null,
|
|
23568
|
+
shareUnit: null,
|
|
23569
|
+
safetyDefault: null
|
|
23160
23570
|
},
|
|
23161
23571
|
{
|
|
23162
|
-
code: "
|
|
23163
|
-
key: "
|
|
23164
|
-
title: "
|
|
23165
|
-
selectable:
|
|
23572
|
+
code: "191-001-000-000-000-000-000",
|
|
23573
|
+
key: "current_residence",
|
|
23574
|
+
title: "Current residence",
|
|
23575
|
+
selectable: true,
|
|
23166
23576
|
parentCode: null,
|
|
23167
|
-
childCodes: [
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
"
|
|
23577
|
+
childCodes: [],
|
|
23578
|
+
definition: "Where the client/person currently resides (residential location).",
|
|
23579
|
+
tier: "residence",
|
|
23580
|
+
anchors: [
|
|
23581
|
+
"person"
|
|
23172
23582
|
],
|
|
23173
|
-
|
|
23174
|
-
|
|
23583
|
+
anchorDefault: "person",
|
|
23584
|
+
shareUnit: "addresses",
|
|
23585
|
+
safetyDefault: "ask"
|
|
23175
23586
|
},
|
|
23176
23587
|
{
|
|
23177
|
-
code: "
|
|
23178
|
-
key: "
|
|
23179
|
-
title: "
|
|
23588
|
+
code: "191-002-000-000-000-000-000",
|
|
23589
|
+
key: "service_delivery_location",
|
|
23590
|
+
title: "Service delivery location",
|
|
23180
23591
|
selectable: true,
|
|
23181
|
-
parentCode:
|
|
23592
|
+
parentCode: null,
|
|
23182
23593
|
childCodes: [],
|
|
23183
|
-
definition: "
|
|
23184
|
-
|
|
23594
|
+
definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene).",
|
|
23595
|
+
tier: "service",
|
|
23596
|
+
anchors: [
|
|
23597
|
+
"service_instance",
|
|
23598
|
+
"agency_program",
|
|
23599
|
+
"person"
|
|
23600
|
+
],
|
|
23601
|
+
anchorDefault: "service_instance",
|
|
23602
|
+
shareUnit: "service_history",
|
|
23603
|
+
safetyDefault: "ask"
|
|
23185
23604
|
},
|
|
23186
23605
|
{
|
|
23187
|
-
code: "
|
|
23188
|
-
key: "
|
|
23189
|
-
title: "
|
|
23606
|
+
code: "191-003-000-000-000-000-000",
|
|
23607
|
+
key: "current_client_location",
|
|
23608
|
+
title: "Current client/victim location",
|
|
23190
23609
|
selectable: true,
|
|
23191
|
-
parentCode:
|
|
23610
|
+
parentCode: null,
|
|
23192
23611
|
childCodes: [],
|
|
23193
|
-
definition: "
|
|
23194
|
-
|
|
23612
|
+
definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location).",
|
|
23613
|
+
tier: "encounter",
|
|
23614
|
+
anchors: [
|
|
23615
|
+
"person"
|
|
23616
|
+
],
|
|
23617
|
+
anchorDefault: "person",
|
|
23618
|
+
shareUnit: "addresses",
|
|
23619
|
+
safetyDefault: "ask"
|
|
23195
23620
|
},
|
|
23196
23621
|
{
|
|
23197
|
-
code: "
|
|
23198
|
-
key: "
|
|
23199
|
-
title: "
|
|
23622
|
+
code: "191-004-000-000-000-000-000",
|
|
23623
|
+
key: "meet_contact_location",
|
|
23624
|
+
title: "Meet / contact location",
|
|
23200
23625
|
selectable: true,
|
|
23201
|
-
parentCode:
|
|
23626
|
+
parentCode: null,
|
|
23202
23627
|
childCodes: [],
|
|
23203
|
-
definition: "
|
|
23204
|
-
|
|
23628
|
+
definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site).",
|
|
23629
|
+
tier: "encounter",
|
|
23630
|
+
anchors: [
|
|
23631
|
+
"session",
|
|
23632
|
+
"event",
|
|
23633
|
+
"person"
|
|
23634
|
+
],
|
|
23635
|
+
anchorDefault: "session",
|
|
23636
|
+
shareUnit: "encounter_location",
|
|
23637
|
+
safetyDefault: "ask"
|
|
23205
23638
|
},
|
|
23206
23639
|
{
|
|
23207
|
-
code: "
|
|
23208
|
-
key: "
|
|
23209
|
-
title: "
|
|
23640
|
+
code: "191-005-000-000-000-000-000",
|
|
23641
|
+
key: "prior_residence",
|
|
23642
|
+
title: "Prior residence",
|
|
23210
23643
|
selectable: true,
|
|
23211
|
-
parentCode: "048-010-000-000-000-000-000",
|
|
23212
|
-
childCodes: [],
|
|
23213
|
-
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.",
|
|
23214
|
-
canonicalCode: "02-06-04-00"
|
|
23215
|
-
},
|
|
23216
|
-
{
|
|
23217
|
-
code: "048-011-000-000-000-000-000",
|
|
23218
|
-
key: "coordination_governance",
|
|
23219
|
-
title: "Coordination & Governance",
|
|
23220
|
-
selectable: false,
|
|
23221
23644
|
parentCode: null,
|
|
23222
|
-
childCodes: [
|
|
23223
|
-
|
|
23224
|
-
|
|
23645
|
+
childCodes: [],
|
|
23646
|
+
definition: "Where the client/person previously resided (historical residential location).",
|
|
23647
|
+
tier: "residence",
|
|
23648
|
+
anchors: [
|
|
23649
|
+
"person"
|
|
23225
23650
|
],
|
|
23226
|
-
|
|
23227
|
-
|
|
23651
|
+
anchorDefault: "person",
|
|
23652
|
+
shareUnit: "addresses",
|
|
23653
|
+
safetyDefault: "ask"
|
|
23228
23654
|
},
|
|
23229
23655
|
{
|
|
23230
|
-
code: "
|
|
23231
|
-
key: "
|
|
23232
|
-
title: "
|
|
23656
|
+
code: "191-006-000-000-000-000-000",
|
|
23657
|
+
key: "jurisdiction_routing_location",
|
|
23658
|
+
title: "Jurisdiction / routing location",
|
|
23233
23659
|
selectable: true,
|
|
23234
|
-
parentCode:
|
|
23660
|
+
parentCode: null,
|
|
23235
23661
|
childCodes: [],
|
|
23236
|
-
definition: "A
|
|
23237
|
-
|
|
23662
|
+
definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area).",
|
|
23663
|
+
tier: "encounter",
|
|
23664
|
+
anchors: [
|
|
23665
|
+
"person"
|
|
23666
|
+
],
|
|
23667
|
+
anchorDefault: "person",
|
|
23668
|
+
shareUnit: "addresses",
|
|
23669
|
+
safetyDefault: "ask"
|
|
23238
23670
|
},
|
|
23239
23671
|
{
|
|
23240
|
-
code: "
|
|
23241
|
-
key: "
|
|
23242
|
-
title: "
|
|
23672
|
+
code: "191-007-000-000-000-000-000",
|
|
23673
|
+
key: "ad_location_derived",
|
|
23674
|
+
title: "Ad location (derived)",
|
|
23243
23675
|
selectable: true,
|
|
23244
|
-
parentCode:
|
|
23676
|
+
parentCode: null,
|
|
23245
23677
|
childCodes: [],
|
|
23246
|
-
definition: "A
|
|
23247
|
-
|
|
23678
|
+
definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps.",
|
|
23679
|
+
tier: "derived",
|
|
23680
|
+
anchors: [
|
|
23681
|
+
"person"
|
|
23682
|
+
],
|
|
23683
|
+
anchorDefault: "person",
|
|
23684
|
+
shareUnit: "commercial_activity",
|
|
23685
|
+
safetyDefault: null
|
|
23248
23686
|
},
|
|
23249
23687
|
{
|
|
23250
|
-
code: "
|
|
23251
|
-
key: "
|
|
23252
|
-
title: "
|
|
23253
|
-
selectable:
|
|
23688
|
+
code: "191-008-000-000-000-000-000",
|
|
23689
|
+
key: "travel_stop_visit",
|
|
23690
|
+
title: "Travel stop / visit",
|
|
23691
|
+
selectable: true,
|
|
23254
23692
|
parentCode: null,
|
|
23255
|
-
childCodes: [
|
|
23256
|
-
|
|
23693
|
+
childCodes: [],
|
|
23694
|
+
definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds.",
|
|
23695
|
+
tier: "encounter",
|
|
23696
|
+
anchors: [
|
|
23697
|
+
"person",
|
|
23698
|
+
"event"
|
|
23257
23699
|
],
|
|
23258
|
-
|
|
23259
|
-
|
|
23700
|
+
anchorDefault: "person",
|
|
23701
|
+
shareUnit: "addresses",
|
|
23702
|
+
safetyDefault: "ask"
|
|
23260
23703
|
},
|
|
23261
23704
|
{
|
|
23262
|
-
code: "
|
|
23263
|
-
key: "
|
|
23264
|
-
title: "
|
|
23705
|
+
code: "191-009-000-000-000-000-000",
|
|
23706
|
+
key: "work_school_business",
|
|
23707
|
+
title: "Work / school / business",
|
|
23265
23708
|
selectable: true,
|
|
23266
|
-
parentCode:
|
|
23709
|
+
parentCode: null,
|
|
23267
23710
|
childCodes: [],
|
|
23268
|
-
definition: "
|
|
23269
|
-
|
|
23711
|
+
definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity.",
|
|
23712
|
+
tier: "encounter",
|
|
23713
|
+
anchors: [
|
|
23714
|
+
"person"
|
|
23715
|
+
],
|
|
23716
|
+
anchorDefault: "person",
|
|
23717
|
+
shareUnit: "addresses",
|
|
23718
|
+
safetyDefault: "ask"
|
|
23270
23719
|
},
|
|
23271
23720
|
{
|
|
23272
|
-
code: "
|
|
23273
|
-
key: "
|
|
23274
|
-
title: "
|
|
23275
|
-
selectable:
|
|
23721
|
+
code: "191-010-000-000-000-000-000",
|
|
23722
|
+
key: "ip_derived_location",
|
|
23723
|
+
title: "IP-derived location (derived)",
|
|
23724
|
+
selectable: true,
|
|
23276
23725
|
parentCode: null,
|
|
23277
|
-
childCodes: [
|
|
23278
|
-
|
|
23279
|
-
|
|
23280
|
-
|
|
23726
|
+
childCodes: [],
|
|
23727
|
+
definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location.",
|
|
23728
|
+
tier: "derived",
|
|
23729
|
+
anchors: [
|
|
23730
|
+
"person"
|
|
23281
23731
|
],
|
|
23282
|
-
|
|
23283
|
-
|
|
23732
|
+
anchorDefault: "person",
|
|
23733
|
+
shareUnit: "commercial_activity",
|
|
23734
|
+
safetyDefault: null
|
|
23284
23735
|
},
|
|
23285
23736
|
{
|
|
23286
|
-
code: "
|
|
23287
|
-
key: "
|
|
23288
|
-
title: "
|
|
23737
|
+
code: "191-011-000-000-000-000-000",
|
|
23738
|
+
key: "program_project_location",
|
|
23739
|
+
title: "Program / project location (reporting)",
|
|
23289
23740
|
selectable: true,
|
|
23290
|
-
parentCode:
|
|
23741
|
+
parentCode: null,
|
|
23291
23742
|
childCodes: [],
|
|
23292
|
-
definition: "
|
|
23293
|
-
|
|
23743
|
+
definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor).",
|
|
23744
|
+
tier: "service",
|
|
23745
|
+
anchors: [
|
|
23746
|
+
"agency_program"
|
|
23747
|
+
],
|
|
23748
|
+
anchorDefault: "agency_program",
|
|
23749
|
+
shareUnit: null,
|
|
23750
|
+
safetyDefault: "safe"
|
|
23294
23751
|
},
|
|
23295
23752
|
{
|
|
23296
|
-
code: "
|
|
23297
|
-
key: "
|
|
23298
|
-
title: "
|
|
23753
|
+
code: "191-012-000-000-000-000-000",
|
|
23754
|
+
key: "other",
|
|
23755
|
+
title: "Other",
|
|
23299
23756
|
selectable: true,
|
|
23300
|
-
parentCode:
|
|
23757
|
+
parentCode: null,
|
|
23301
23758
|
childCodes: [],
|
|
23302
|
-
definition: "
|
|
23303
|
-
|
|
23759
|
+
definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear.",
|
|
23760
|
+
tier: "encounter",
|
|
23761
|
+
anchors: [
|
|
23762
|
+
"person",
|
|
23763
|
+
"session",
|
|
23764
|
+
"event"
|
|
23765
|
+
],
|
|
23766
|
+
anchorDefault: "person",
|
|
23767
|
+
shareUnit: "addresses",
|
|
23768
|
+
safetyDefault: "ask"
|
|
23304
23769
|
},
|
|
23305
23770
|
{
|
|
23306
|
-
code: "
|
|
23307
|
-
key: "
|
|
23308
|
-
title: "
|
|
23771
|
+
code: "191-013-000-000-000-000-000",
|
|
23772
|
+
key: "incident",
|
|
23773
|
+
title: "Incident",
|
|
23309
23774
|
selectable: true,
|
|
23310
|
-
parentCode:
|
|
23775
|
+
parentCode: null,
|
|
23311
23776
|
childCodes: [],
|
|
23312
|
-
definition: "
|
|
23313
|
-
|
|
23777
|
+
definition: "Location associated with an incident (e.g., where an event occurred, was reported, or was investigated), distinct from current residence, jurisdiction/routing, or service delivery context.",
|
|
23778
|
+
tier: "encounter",
|
|
23779
|
+
anchors: [
|
|
23780
|
+
"session",
|
|
23781
|
+
"event"
|
|
23782
|
+
],
|
|
23783
|
+
anchorDefault: "event",
|
|
23784
|
+
shareUnit: "encounter_location",
|
|
23785
|
+
safetyDefault: "ask"
|
|
23314
23786
|
}
|
|
23315
23787
|
]
|
|
23316
23788
|
};
|
|
@@ -38105,12 +38577,12 @@ var riskCategory_v1_0_0_default = {
|
|
|
38105
38577
|
]
|
|
38106
38578
|
};
|
|
38107
38579
|
|
|
38108
|
-
// src/cvcs/coreFunctions.v1.
|
|
38109
|
-
var
|
|
38580
|
+
// src/cvcs/coreFunctions.v1.1.0.json
|
|
38581
|
+
var coreFunctions_v1_1_0_default = {
|
|
38110
38582
|
domain: "core_functions",
|
|
38111
38583
|
name: "Core Functions",
|
|
38112
|
-
version: "1.
|
|
38113
|
-
_status: "DRAFTED \u2014 NEEDS REVIEW: canonical Notion CVC-133 (core - functions), verified v1.0, ported verbatim from the Notion codebook. Canonical numbering (133), NOT provisional. Per-entry lifecycle Status (v1 / future / not-started) is carried in each definition.",
|
|
38584
|
+
version: "1.1.0",
|
|
38585
|
+
_status: "DRAFTED \u2014 NEEDS REVIEW: canonical Notion CVC-133 (core - functions), verified v1.0, ported verbatim from the Notion codebook. Canonical numbering (133), NOT provisional. Per-entry lifecycle Status (v1 / future / not-started) is carried in each definition. VERSION 1.1.0 (additive; ADR-CVC-0.8.13 Addendum 2026-10-05): APPENDS `note_open_departed_author` at 133-078 (added 2026-10-05 while building the Narrative notes Spec v2, rule 10; canon's own logic_notes mark the row as awaiting steward review (Crysta); canon `data/cvcs/core_functions.yaml` L68-93 @ prototype 9ef79748, unchanged at fed744f3, and the codebook_all.csv export). Default Off for Account Admin (MEM-ADM) only; bounds are not carried by this entry schema. Every 1.0.0 code and key is unchanged. Canon carries 112 functions; this SOT carries 78 \u2014 the other 34 canon rows are a separate absorb, not taken here.",
|
|
38114
38586
|
_source: "Notion CVC-133 core - functions (collection://3211ef14-abcd-8024-867d-000be4b35a79)",
|
|
38115
38587
|
levels: {
|
|
38116
38588
|
"0": "Unknown or Missing",
|
|
@@ -38849,6 +39321,15 @@ var coreFunctions_v1_0_0_default = {
|
|
|
38849
39321
|
parentCode: null,
|
|
38850
39322
|
childCodes: [],
|
|
38851
39323
|
definition: "Create, invite, deactivate, and manage user accounts within a member account or platform context. [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only).]"
|
|
39324
|
+
},
|
|
39325
|
+
{
|
|
39326
|
+
code: "133-078-000-000-000-000-000",
|
|
39327
|
+
key: "note_open_departed_author",
|
|
39328
|
+
title: "Open a deactivated author's private notes",
|
|
39329
|
+
selectable: true,
|
|
39330
|
+
parentCode: null,
|
|
39331
|
+
childCodes: [],
|
|
39332
|
+
definition: `Move a deactivated author's "Private to me" notes to "Our account only", so the account can read notes whose author no longer has an account. The admin cannot read a note before opening it and cannot move it any further. [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: no. Admin-relevant: yes. Category: Account administration (member admin).]`
|
|
38852
39333
|
}
|
|
38853
39334
|
]
|
|
38854
39335
|
};
|
|
@@ -40281,13 +40762,55 @@ var coreInformationScope_v1_1_0_default = {
|
|
|
40281
40762
|
]
|
|
40282
40763
|
};
|
|
40283
40764
|
|
|
40284
|
-
// src/cvcs/roiScope.v1.
|
|
40285
|
-
var
|
|
40765
|
+
// src/cvcs/roiScope.v1.2.0.json
|
|
40766
|
+
var roiScope_v1_2_0_default = {
|
|
40286
40767
|
domain: "roi_scope",
|
|
40287
40768
|
name: "ROI Scope",
|
|
40288
|
-
version: "1.
|
|
40289
|
-
_status:
|
|
40290
|
-
_source: "htilabstech/prototype@a596eb9 HTI-LEADS-PAVE-Thread-prototype.html HTI_SHARE_SCOPE_GROUPS",
|
|
40769
|
+
version: "1.2.0",
|
|
40770
|
+
_status: 'DRAFT \u2014 TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering. 0.8.13: COMPLETED against the canonical 27-item source. 0.8.12 shipped 15 of the canonical 27; the missing 12 are added here. Nothing PAVE shipped was invented \u2014 this was purely a gap. Canonical source: `HTI_SHARE_SCOPE_GROUPS` in HTI-LEADS-PAVE-Thread-prototype.html @ HEAD a596eb9 (7 groups x items = 27): identifying (5) + risk (4) + contact (3) + notes (3) + health_accommodation (6) + immigration_legal_status (5) + system (1). The GROUP axis (identifying / risk / contact / notes / health_accommodation / immigration_legal_status / system) is a separate presentation concern and is deliberately NOT modelled as hierarchy rows here \u2014 this CVC is the flat item vocabulary that an ROI authorizes. PENDING canonical Notion authoring + steward ratification. VERSION 1.2.0 supersedes 1.1.0 (co-bwc): `screen_notes` (983-012) and `background` (983-014) are RETIRED TOMBSTONES, matching CVC-236 `core_information_scope` v1.1.0 (retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI that names one resolves to "retired", not "unknown". Not additive, hence the version (ADR-CVC-0.8.13 Addendum 2026-10-05; see `_supersedes`). This flat vocabulary is LEGACY: new units (e.g. `session_summary`, 236-005-004) are minted in CVC-236 only and are not mirrored here.',
|
|
40771
|
+
_source: "htilabstech/prototype@a596eb9 HTI-LEADS-PAVE-Thread-prototype.html HTI_SHARE_SCOPE_GROUPS; v1.2.0 retirements: htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 retired_units (L467)",
|
|
40772
|
+
_supersedes: {
|
|
40773
|
+
version: "1.1.0",
|
|
40774
|
+
keyMap: {
|
|
40775
|
+
missingness_root: "missingness_root",
|
|
40776
|
+
unknown: "unknown",
|
|
40777
|
+
anonymous: "anonymous",
|
|
40778
|
+
data_not_collected: "data_not_collected",
|
|
40779
|
+
names: "names",
|
|
40780
|
+
dob: "dob",
|
|
40781
|
+
addresses: "addresses",
|
|
40782
|
+
additional_ids: "additional_ids",
|
|
40783
|
+
demographics: "demographics",
|
|
40784
|
+
screen_indicators: "screen_indicators",
|
|
40785
|
+
victimization: "victimization",
|
|
40786
|
+
ida_full: "ida_full",
|
|
40787
|
+
ida_consid: "ida_consid",
|
|
40788
|
+
contact_info: "contact_info",
|
|
40789
|
+
service_history: "service_history",
|
|
40790
|
+
screen_notes: "screen_notes",
|
|
40791
|
+
case_notes: "case_notes",
|
|
40792
|
+
background: "background",
|
|
40793
|
+
system_info: "system_info",
|
|
40794
|
+
contact_history: "contact_history",
|
|
40795
|
+
accommodation_needs: "accommodation_needs",
|
|
40796
|
+
disability_subtypes: "disability_subtypes",
|
|
40797
|
+
mental_health_status: "mental_health_status",
|
|
40798
|
+
substance_use_status: "substance_use_status",
|
|
40799
|
+
chronic_health_status: "chronic_health_status",
|
|
40800
|
+
hiv_status: "hiv_status",
|
|
40801
|
+
immigration_status: "immigration_status",
|
|
40802
|
+
uscis_alien_number: "uscis_alien_number",
|
|
40803
|
+
federal_protection_applications: "federal_protection_applications",
|
|
40804
|
+
tvap_enrollment: "tvap_enrollment",
|
|
40805
|
+
le_report_status: "le_report_status"
|
|
40806
|
+
},
|
|
40807
|
+
retiredCodes: [],
|
|
40808
|
+
notes: {
|
|
40809
|
+
summary: 'Every v1.1.0 key is still an entry in v1.2.0, at its v1.1.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 2 published items are now RETIRED tombstones (notes below), matching CVC-236 `core_information_scope` v1.1.0, which retired the same two keys; nothing was added. Before this version the package gave two answers to "is screen_notes offerable" (co-bwc). The file was named `roiScope.v1.0.0.json` while declaring version 1.1.0 (the 0.8.13 completion); the published version superseded here is the declared 1.1.0.',
|
|
40810
|
+
screen_notes: "v1.1.0 `screen_notes` was a selectable item. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. It stays at 983-012 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI that names it narrows, never widens. CVC-236 v1.1.0 retired the same key (canon `data/cvcs/core_information_scope.yaml` `retired_units` L467 @ prototype 9ef79748); canon records that only demo data named it (Crysta 2026-10-04).",
|
|
40811
|
+
background: "v1.1.0 `background` was a selectable item. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): Nothing ever captured it. It stays at 983-014 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI that names it narrows, never widens. CVC-236 v1.1.0 retired the same key (canon `data/cvcs/core_information_scope.yaml` `retired_units` L467 @ prototype 9ef79748); canon records that only demo data named it (Crysta 2026-10-04)."
|
|
40812
|
+
}
|
|
40813
|
+
},
|
|
40291
40814
|
levels: {
|
|
40292
40815
|
"0": "Unknown or Missing",
|
|
40293
40816
|
"1": "ROI scope item"
|
|
@@ -40436,10 +40959,11 @@ var roiScope_v1_0_0_default = {
|
|
|
40436
40959
|
code: "983-012-000-000-000-000-000",
|
|
40437
40960
|
key: "screen_notes",
|
|
40438
40961
|
title: "Screen notes",
|
|
40439
|
-
selectable:
|
|
40962
|
+
selectable: false,
|
|
40440
40963
|
parentCode: null,
|
|
40441
40964
|
childCodes: [],
|
|
40442
|
-
definition: "Narrative notes
|
|
40965
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
40966
|
+
retired: true
|
|
40443
40967
|
},
|
|
40444
40968
|
{
|
|
40445
40969
|
code: "983-013-000-000-000-000-000",
|
|
@@ -40454,10 +40978,11 @@ var roiScope_v1_0_0_default = {
|
|
|
40454
40978
|
code: "983-014-000-000-000-000-000",
|
|
40455
40979
|
key: "background",
|
|
40456
40980
|
title: "Background information",
|
|
40457
|
-
selectable:
|
|
40981
|
+
selectable: false,
|
|
40458
40982
|
parentCode: null,
|
|
40459
40983
|
childCodes: [],
|
|
40460
|
-
definition: "
|
|
40984
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5), matching its CVC-236 `core_information_scope` v1.1.0 twin. Nothing ever captured it. No longer offered in an ROI; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
40985
|
+
retired: true
|
|
40461
40986
|
},
|
|
40462
40987
|
{
|
|
40463
40988
|
code: "983-015-000-000-000-000-000",
|
|
@@ -56499,6 +57024,8 @@ export {
|
|
|
56499
57024
|
ACCOMMODATION_OPTIONS,
|
|
56500
57025
|
ACTIVE_CVC_136_CORE_INDICATOR_VALUES,
|
|
56501
57026
|
ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES,
|
|
57027
|
+
AGENCY_ORG_TYPE_VALIDATED_UPDATE_OPS,
|
|
57028
|
+
AGENCY_TYPE_KEYS,
|
|
56502
57029
|
AGE_BIN_REPORTING,
|
|
56503
57030
|
AGE_BIN_REPORTING_IS_MINOR,
|
|
56504
57031
|
AGE_BIN_REPORTING_LABELS,
|
|
@@ -56512,6 +57039,8 @@ export {
|
|
|
56512
57039
|
AdminRoleKeys,
|
|
56513
57040
|
AdministeringJurisdictionKeys,
|
|
56514
57041
|
AgeBinReportingKeys,
|
|
57042
|
+
AgencyOrgTypeFieldsSchema,
|
|
57043
|
+
AgencyTypeKeySchema,
|
|
56515
57044
|
AnnouncementAudienceScopeKeys,
|
|
56516
57045
|
AnnouncementResponseTypeKeys,
|
|
56517
57046
|
AssertionDomainKeys,
|
|
@@ -56732,6 +57261,7 @@ export {
|
|
|
56732
57261
|
GoalPriorityKeys,
|
|
56733
57262
|
GoalStatusKeys,
|
|
56734
57263
|
GoalWithdrawalReasonKeys,
|
|
57264
|
+
HEALTHCARE_ORG_TYPE_KEYS,
|
|
56735
57265
|
HairColorKeys,
|
|
56736
57266
|
HasTattoosKeys,
|
|
56737
57267
|
HighestEducationLevelCompletedKeys,
|
|
@@ -56813,6 +57343,9 @@ export {
|
|
|
56813
57343
|
InvestigativeRequestTypeKeys,
|
|
56814
57344
|
JuvenileJusticeEpisodeTypeKeys,
|
|
56815
57345
|
JuvenileJusticeInvolvementStatusKeys,
|
|
57346
|
+
LAW_ENFORCEMENT_ORG_TYPE_KEYS,
|
|
57347
|
+
LEGACY_NUMERIC_TO_REFERRAL_ENTITY_KEY,
|
|
57348
|
+
LEGAL_ORG_TYPE_KEYS,
|
|
56816
57349
|
LanguagesKeys,
|
|
56817
57350
|
LeReportStatusKeys,
|
|
56818
57351
|
LegalActionTypeKeys,
|
|
@@ -56828,11 +57361,20 @@ export {
|
|
|
56828
57361
|
MilitaryBranchKeys,
|
|
56829
57362
|
MilitaryStatusKeys,
|
|
56830
57363
|
MinorAdultStatusKeys,
|
|
57364
|
+
NO_SECTOR_ORG_TYPE_KEYS,
|
|
56831
57365
|
NameTypeKeys,
|
|
56832
57366
|
NeedsAssessmentChangeTypeKeys,
|
|
56833
57367
|
NeedsResidentialAgainKeys,
|
|
57368
|
+
ORG_TYPE_FIELD_NAMES,
|
|
57369
|
+
ORG_TYPE_HEADING_KEYS,
|
|
57370
|
+
ORG_TYPE_KEYS,
|
|
57371
|
+
ORG_TYPE_NONPICKABLE_LEAF_KEYS,
|
|
57372
|
+
ORG_TYPE_PARENT_KEY,
|
|
57373
|
+
ORG_TYPE_SELECTABLE_KEYS,
|
|
56834
57374
|
OffenderStatusFamilyKeys,
|
|
56835
57375
|
OffenderStatusKeys,
|
|
57376
|
+
OrgTypeFieldsSchema,
|
|
57377
|
+
OrgTypeSelectableKeySchema,
|
|
56836
57378
|
OrientationIdentityKeys,
|
|
56837
57379
|
PARTICIPATION_ROLE_CATEGORIES,
|
|
56838
57380
|
PERMISSION_STATE,
|
|
@@ -56874,6 +57416,7 @@ export {
|
|
|
56874
57416
|
RELATIONSHIP_DYNAMICS,
|
|
56875
57417
|
RELATIONSHIP_DYNAMICS_LABELS,
|
|
56876
57418
|
RELATIONSHIP_DYNAMICS_VALUES,
|
|
57419
|
+
REPORT_AUTHORITY_ORG_TYPE_KEYS,
|
|
56877
57420
|
ROLE_LEVEL,
|
|
56878
57421
|
ROLE_LEVEL_LABELS,
|
|
56879
57422
|
ROLE_LEVEL_VALUES,
|
|
@@ -56916,6 +57459,7 @@ export {
|
|
|
56916
57459
|
SessionNoteVisibilityKeys,
|
|
56917
57460
|
SessionStateKeys,
|
|
56918
57461
|
SessionTemplateKeys,
|
|
57462
|
+
SetOrgTypeInputSchema,
|
|
56919
57463
|
SeverityFollowUpKeys,
|
|
56920
57464
|
SexProviderSubroleKeys,
|
|
56921
57465
|
SharePurposeKeys,
|
|
@@ -56950,6 +57494,8 @@ export {
|
|
|
56950
57494
|
UserRoleKeys,
|
|
56951
57495
|
VALID_INTERACTION_TYPES,
|
|
56952
57496
|
VALID_RECORD_STATES,
|
|
57497
|
+
VICTIM_SERVING_ORG_TYPE_KEYS,
|
|
57498
|
+
VSP_TWO_STEP_ISSUE,
|
|
56953
57499
|
VerificationMethodKeys,
|
|
56954
57500
|
VerificationStatusKeys,
|
|
56955
57501
|
VictimAbuseTypesKeys,
|
|
@@ -56960,14 +57506,18 @@ export {
|
|
|
56960
57506
|
actionStepCompletionStatus_v1_0_0_default as actionStepCompletionStatusSot,
|
|
56961
57507
|
actionStepType_v1_0_0_default as actionStepTypeSot,
|
|
56962
57508
|
activityType_v1_0_0_default as activityTypeSot,
|
|
57509
|
+
addAgencyOrgTypeFields,
|
|
57510
|
+
addOrgTypeFields,
|
|
56963
57511
|
addTeamDirectoryFields,
|
|
56964
57512
|
addressSchema,
|
|
56965
57513
|
adminRoles_v1_0_0_default as adminRolesSot,
|
|
56966
57514
|
administeringJurisdiction_v1_0_0_default as administeringJurisdictionSot,
|
|
56967
57515
|
ageBinReporting_v1_0_0_default as ageBinReportingSot,
|
|
57516
|
+
agencyOrgTypeSchemaDefinition,
|
|
56968
57517
|
announcementAudienceScope_v1_0_0_default as announcementAudienceScopeSot,
|
|
56969
57518
|
announcementResponseType_v1_0_0_default as announcementResponseTypeSot,
|
|
56970
57519
|
applyEntryOverrides,
|
|
57520
|
+
applyRunValidatorsIfUnset,
|
|
56971
57521
|
assertionDomain_v1_1_0_default as assertionDomainSot,
|
|
56972
57522
|
assertionStatus_v1_0_0_default as assertionStatusSot,
|
|
56973
57523
|
basisQuickPicks_v1_0_0_default as basisQuickPicksSot,
|
|
@@ -56999,7 +57549,7 @@ export {
|
|
|
56999
57549
|
contactLinkType_v1_0_0_default as contactLinkTypeSot,
|
|
57000
57550
|
contactSafetyStatus_v1_0_0_default as contactSafetyStatusSot,
|
|
57001
57551
|
coreDhState_v1_0_0_default as coreDhStateSot,
|
|
57002
|
-
|
|
57552
|
+
coreFunctions_v1_1_0_default as coreFunctionsSot,
|
|
57003
57553
|
coreIndicators_v1_1_0_default as coreIndicatorsSot,
|
|
57004
57554
|
coreInformationScope_v1_1_0_default as coreInformationScopeSot,
|
|
57005
57555
|
coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
|
|
@@ -57084,14 +57634,21 @@ export {
|
|
|
57084
57634
|
incomeBenefitsSources_v1_1_0_default as incomeBenefitsSourcesSot,
|
|
57085
57635
|
inferenceType_v1_0_0_default as inferenceTypeSot,
|
|
57086
57636
|
investigativeRequestType_v1_0_0_default as investigativeRequestTypeSot,
|
|
57637
|
+
isAgencyTypeKey,
|
|
57087
57638
|
isDeprecatedCoreIndicator,
|
|
57088
57639
|
isDeprecatedIncidentParticipationRole,
|
|
57640
|
+
isHealthcareOrgType,
|
|
57089
57641
|
isIC56Missingness,
|
|
57090
57642
|
isIC56ValidChannel,
|
|
57643
|
+
isLawEnforcementOrgType,
|
|
57644
|
+
isLegalOrgType,
|
|
57091
57645
|
isLgbtqOrientation,
|
|
57646
|
+
isOrgTypeKey,
|
|
57092
57647
|
isProtectedRelationship,
|
|
57648
|
+
isReportAuthorityOrgType,
|
|
57093
57649
|
isStructuredNameType,
|
|
57094
57650
|
isTransgenderGenderIdentity,
|
|
57651
|
+
isVictimServingOrgType,
|
|
57095
57652
|
juvenileJusticeEpisodeType_v1_0_0_default as juvenileJusticeEpisodeTypeSot,
|
|
57096
57653
|
juvenileJusticeInvolvementStatus_v1_0_0_default as juvenileJusticeInvolvementStatusSot,
|
|
57097
57654
|
languages_v1_0_0_default as languagesSot,
|
|
@@ -57108,11 +57665,23 @@ export {
|
|
|
57108
57665
|
militaryBranch_v1_0_0_default as militaryBranchSot,
|
|
57109
57666
|
militaryStatus_v1_0_0_default as militaryStatusSot,
|
|
57110
57667
|
minorAdultStatus_v1_0_0_default as minorAdultStatusSot,
|
|
57668
|
+
mirrorOrgTypeFields,
|
|
57111
57669
|
nameType_v1_0_0_default as nameTypeSot,
|
|
57112
57670
|
needsAssessmentChangeType_v1_0_0_default as needsAssessmentChangeTypeSot,
|
|
57113
57671
|
needsResidentialAgain_v1_0_0_default as needsResidentialAgainSot,
|
|
57114
57672
|
offenderStatusFamily_v1_0_0_default as offenderStatusFamilySot,
|
|
57115
57673
|
offenderStatus_v1_0_0_default as offenderStatusSot,
|
|
57674
|
+
orgTypeAncestry,
|
|
57675
|
+
orgTypeCanonicalCode,
|
|
57676
|
+
orgTypeDefaultSessionRole,
|
|
57677
|
+
orgTypeDefaultSessionRoleOrNull,
|
|
57678
|
+
orgTypeDefaultVsp,
|
|
57679
|
+
orgTypeEnumConstant,
|
|
57680
|
+
orgTypeFieldsDiffer,
|
|
57681
|
+
orgTypeFieldsShape,
|
|
57682
|
+
orgTypeLabel,
|
|
57683
|
+
orgTypeSchemaDefinition,
|
|
57684
|
+
orgTypeSector,
|
|
57116
57685
|
orientationIdentity_v1_0_0_default as orientationIdentitySot,
|
|
57117
57686
|
personNameSchema,
|
|
57118
57687
|
personRelationships_v1_0_0_default as personRelationshipsSot,
|
|
@@ -57143,19 +57712,25 @@ export {
|
|
|
57143
57712
|
radiusBucket_v1_0_0_default as radiusBucketSot,
|
|
57144
57713
|
recencyBand_v1_0_0_default as recencyBandSot,
|
|
57145
57714
|
referenceLinkType_v1_0_0_default as referenceLinkTypeSot,
|
|
57146
|
-
|
|
57715
|
+
referralEntityCategory_v1_2_0_default as referralEntityCategorySot,
|
|
57147
57716
|
referralOrigin_v1_0_0_default as referralOriginSot,
|
|
57148
57717
|
relationshipConcern_v1_0_0_default as relationshipConcernSot,
|
|
57149
57718
|
relationshipDynamics_v1_0_0_default as relationshipDynamicsSot,
|
|
57150
57719
|
relationshipStatusCurrent_v1_0_0_default as relationshipStatusCurrentSot,
|
|
57151
57720
|
relationshipTies_v1_0_0_default as relationshipTiesSot,
|
|
57721
|
+
resolveAgencyTypeKey,
|
|
57722
|
+
resolveEffectiveOrgType,
|
|
57723
|
+
resolveEffectiveOrgTypeFields,
|
|
57724
|
+
resolveOrgTypeKey,
|
|
57725
|
+
resolveOrgTypeKeyFromLegacyNumeric,
|
|
57726
|
+
resolveReferralEntityKeyFromLegacyNumeric,
|
|
57152
57727
|
resolveRegistryWithInheritance,
|
|
57153
57728
|
returnedToAbuserStatus_v1_0_0_default as returnedToAbuserStatusSot,
|
|
57154
57729
|
riskCategory_v1_0_0_default as riskCategorySot,
|
|
57155
57730
|
riskIdentificationMilestone_v1_0_0_default as riskIdentificationMilestoneSot,
|
|
57156
57731
|
riskSeverityBand_v1_0_0_default as riskSeverityBandSot,
|
|
57157
57732
|
roiMethod_v1_0_0_default as roiMethodSot,
|
|
57158
|
-
|
|
57733
|
+
roiScope_v1_2_0_default as roiScopeSot,
|
|
57159
57734
|
roiStatus_v1_0_0_default as roiStatusSot,
|
|
57160
57735
|
roleContext_v1_0_0_default as roleContextSot,
|
|
57161
57736
|
romanticRelationshipChangeType_v1_0_0_default as romanticRelationshipChangeTypeSot,
|
|
@@ -57215,6 +57790,9 @@ export {
|
|
|
57215
57790
|
victimStatusFamily_v1_0_0_default as victimStatusFamilySot,
|
|
57216
57791
|
visaType_v1_0_0_default as visaTypeSot,
|
|
57217
57792
|
visibilityRuleSchema,
|
|
57218
|
-
|
|
57793
|
+
vspTwoStepHolds,
|
|
57794
|
+
vspTwoStepHoldsOnUpdate,
|
|
57795
|
+
whyNots_v1_0_0_default as whyNotsSot,
|
|
57796
|
+
withOrgTypeFields
|
|
57219
57797
|
};
|
|
57220
57798
|
//# sourceMappingURL=index.js.map
|