@htilabs/platform-common-models 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/index.cjs +73 -0
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +69 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
- package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
- package/dist/cvcs/index.cjs +466 -107
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +489 -110
- package/dist/cvcs/index.d.ts +489 -110
- package/dist/cvcs/index.js +466 -107
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +15 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +21 -7
- package/dist/enums/index.d.ts +21 -7
- package/dist/enums/index.js +15 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +554 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +550 -108
- 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/{platform-auth-Dv5fu0Fh.d.cts → platform-auth-64U8jjuw.d.cts} +71 -2
- package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-64U8jjuw.d.ts} +71 -2
- package/dist/schemas/index.cjs +62 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -11
- package/dist/schemas/index.d.ts +11 -11
- package/dist/schemas/index.js +62 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +26 -27
- package/src/__tests__/__snapshots__/cvc-sot.snap +9 -9
- package/src/__tests__/cvc-drift-gate.test.ts +16 -5
- package/src/__tests__/cvc-sot-snapshot.test.ts +18 -11
- package/src/__tests__/cvc-structural.test.ts +7 -7
- package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
- package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
- package/src/constants/ic.ts +158 -0
- package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
- package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
- package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
- package/src/cvcs/index.ts +7 -7
- package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
- package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
- package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
- package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
- package/src/generated/cvc-enums.ts +21 -7
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as
|
|
1
|
+
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES, c as AGE_BIN_REPORTING, d as AGE_BIN_REPORTING_IS_MINOR, e as AGE_BIN_REPORTING_LABELS, f as APPARENT_AGE, g as APPARENT_AGE_LABELS, h as APP_SCOPE, i as AccommodationValue, j as ActiveIncidentParticipationRoleValue, k as AgeBinReportingValue, l as AppScopeValue, m as ApparentAgeValue, B as BIRTH_LOCATION, n as BIRTH_LOCATION_LABELS, o as BIRTH_LOCATION_VALUES, p as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, q as CVC100Value, r as CVC115Value, s as CVC120Value, t as CVC121Value, u as CVC122Value, v as CVC126Category, w as CVC126Option, x as CVC126Value, y as CVC136Category, z as CVC136CoreIndicator, D as CVC136Option, E as CVC136Value, F as CVC145Category, G as CVC145Option, H as CVC145Value, I as CVC147Value, J as CVC148Value, K as CVC150Value, L as CVC151Value, M as CVC152Value, N as CVC153Value, O as CVC156Value, P as CVC157Value, Q as CVC15Value, R as CVC16Value, S as CVC171Category, T as CVC171Option, U as CVC171Value, V as CVC179HierarchicalCategory, W as CVC179HierarchicalValue, X as CVC179Value, Y as CVC17Value, Z as CVC180Value, _ as CVC181Value, $ as CVC196Value, a0 as CVC1Value, a1 as CVC67Value, a2 as CVC72Value, a3 as CVC76Value, a4 as CVC93Value, a5 as CVC95Value, a6 as CVC96Value, a7 as CVC97Value, a8 as CVC98Value, a9 as CVC99Value, aa as CVC_100_LABELS, ab as CVC_100_LIVES_RURAL, ac as CVC_100_VALUES, ad as CVC_115_LABELS, ae as CVC_115_SERVICE_PLANNING, af as CVC_115_VALUES, ag as CVC_120_LABELS, ah as CVC_120_MILITARY_BRANCH, ai as CVC_120_VALUES, aj as CVC_121_LABELS, ak as CVC_121_MILITARY_STATUS, al as CVC_121_VALUES, am as CVC_122_LABELS, an as CVC_122_PRIMARY_LANGUAGE, ao as CVC_122_VALUES, ap as CVC_126_CATEGORY, aq as CVC_126_CATEGORY_LABELS, ar as CVC_126_LABELS, as as CVC_126_OPTIONS, at as CVC_126_PERSON_RELATIONSHIP, au as CVC_126_PROTECTED_CATEGORIES, av as CVC_126_TYPE_TO_CATEGORY, aw as CVC_126_VALUES, ax as CVC_136_ALERT_INDICATOR, ay as CVC_136_CATEGORY_LABELS, az as CVC_136_CORE_INDICATOR_LABELS, aA as CVC_136_CORE_INDICATOR_VALUES, aB as CVC_136_INDICATOR_CATEGORY, aC as CVC_136_LABELS, aD as CVC_136_OPTIONS, aE as CVC_136_TYPE_TO_CATEGORY, aF as CVC_136_VALUES, aG as CVC_145_CATEGORY, aH as CVC_145_CATEGORY_LABELS, aI as CVC_145_CATEGORY_ORDER, aJ as CVC_145_LABELS, aK as CVC_145_OPTIONS, aL as CVC_145_RELATIONSHIP_DYNAMICS, aM as CVC_145_SELECTABLE_OPTIONS, aN as CVC_145_TYPE_TO_CATEGORY, aO as CVC_145_VALUES, aP as CVC_147_LABELS, aQ as CVC_147_PRONOUNS, aR as CVC_147_VALUES, aS as CVC_148_LABELS, aT as CVC_148_TRIBES, aU as CVC_148_VALUES, aV as CVC_150_EYE_COLOR, aW as CVC_150_LABELS, aX as CVC_150_VALUES, aY as CVC_151_HAIR_COLOR, aZ as CVC_151_LABELS, a_ as CVC_151_VALUES, a$ as CVC_152_HAS_TATTOOS, b0 as CVC_152_LABELS, b1 as CVC_152_VALUES, b2 as CVC_153_LABELS, b3 as CVC_153_SMT_TYPE, b4 as CVC_153_VALUES, b5 as CVC_156_LABELS, b6 as CVC_156_MARITAL_STATUS, b7 as CVC_156_VALUES, b8 as CVC_157_LABELS, b9 as CVC_157_RELATIONSHIP_STATUS, ba as CVC_157_VALUES, bb as CVC_15_CORE_SEX, bc as CVC_15_LABELS, bd as CVC_15_SELECTABLE_VALUES, be as CVC_16_CORE_ORIENTATION, bf as CVC_16_LABELS, bg as CVC_16_LGBTQ_VALUES, bh as CVC_171_CATEGORY, bi as CVC_171_CATEGORY_LABELS, bj as CVC_171_CHILD_TO_PARENT, bk as CVC_171_INCOME_BENEFITS, bl as CVC_171_INCOME_SOURCES, bm as CVC_171_LABELS, bn as CVC_171_PARENT_CHILDREN, bo as CVC_171_SELECTABLE_OPTIONS, bp as CVC_171_VALUES, bq as CVC_171_VALUE_TO_CATEGORY, br as CVC_179_CHILD_TO_PARENT, bs as CVC_179_EMPLOYMENT_STATUS, bt as CVC_179_HIERARCHICAL_CATEGORY, bu as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bv as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bw as CVC_179_HIERARCHICAL_LABELS, bx as CVC_179_HIERARCHICAL_VALUES, by as CVC_179_LABELS, bz as CVC_179_PARENT_CHILDREN, bA as CVC_179_PRIMARY_CATEGORY, bB as CVC_179_SELECTABLE_OPTIONS, bC as CVC_179_VALUES, bD as CVC_179_VALUE_TO_CATEGORY, bE as CVC_17_CORE_GENDER_IDENTITY, bF as CVC_17_LABELS, bG as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bH as CVC_17_LEVEL_1_OPTIONS, bI as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bJ as CVC_17_TRANSGENDER_VALUES, bK as CVC_180_EDUCATION_LEVEL, bL as CVC_180_LABELS, bM as CVC_180_ORDINAL, bN as CVC_180_VALUES, bO as CVC_181_COUNTRIES, bP as CVC_181_LABELS, bQ as CVC_196_CHILD_WELFARE_EPISODE_TYPE, bR as CVC_196_LABELS, bS as CVC_196_VALUES, bT as CVC_1_LABELS, bU as CVC_1_NAME_TYPE, bV as CVC_1_STRUCTURED_NAME_TYPES, bW as CVC_1_UNSTRUCTURED_NAME_TYPES, bX as CVC_1_VALUES, bY as CVC_67_HMIS_SEX, bZ as CVC_67_LABELS, b_ as CVC_67_MISSINGNESS_VALUES, b$ as CVC_67_SELECTABLE_VALUES, c0 as CVC_72_HT_TYPE, c1 as CVC_72_LABELS, c2 as CVC_72_VALUES, c3 as CVC_76_LABELS, c4 as CVC_76_RACE_ETHNICITY, c5 as CVC_76_VALUES, c6 as CVC_93_CHILD_WELFARE_INVOLVEMENT, c7 as CVC_93_LABELS, c8 as CVC_93_VALUES, c9 as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, ca as CVC_95_LABELS, cb as CVC_95_VALUES, cc as CVC_96_HOMELESS_STATUS, cd as CVC_96_LABELS, ce as CVC_96_VALUES, cf as CVC_97_IMMIGRANT_REFUGEE, cg as CVC_97_LABELS, ch as CVC_97_VALUES, ci as CVC_98_LABELS, cj as CVC_98_US_VETERAN, ck as CVC_98_VALUES, cl as CVC_99_ENGLISH_PROFICIENCY, cm as CVC_99_LABELS, cn as CVC_99_VALUES, co as DATA_QUALITY, cp as DATA_QUALITY_DESCRIPTIONS, cq as DATA_QUALITY_LABELS, cr as DATA_QUALITY_VALUES, cs as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, ct as DataQualityValue, cu as DeprecatedIncidentParticipationRoleValue, cv as FORM_STATUS, cw as FORM_STATUS_LABELS, cx as FORM_TYPE, cy as FORM_TYPE_LABELS, cz as FUNCTION_STATUS, cA as FUNCTION_STATUS_LABELS, cB as FUNCTION_STATUS_VALUES, cC as FormStatusValue, cD as FormTypeValue, cE as FunctionStatusValue, cF as IC13Category, cG as IC13PriorityGroup, cH as IC13Value, cI as IC22Value, cJ as IC23Value, cK as IC24Value, cL as IC25Value, cM as IC49ReferralOutcomeValue, cN as IC49ReferralVerificationValue, cO as IC49Value, cP as IC4Value, cQ as IC56ChannelValue, cR as IC56Value, cS as IC57Value, cT as IC58ExternalCategory, cU as IC58Value, cV as IC59Value, cW as IC5Value, cX as IC_13_CATEGORIES, cY as IC_13_CATEGORY_ORDER, cZ as IC_13_LABELS, c_ as IC_13_PRIORITY_GROUPS, c$ as IC_13_RELATIONSHIP_ABBREV, d0 as IC_13_RELATIONSHIP_TYPE, d1 as IC_13_REVERSE_CONTEXT_LABELS, d2 as IC_22_CORE_SEX, d3 as IC_22_LABELS, d4 as IC_23_CORE_GENDER_IDENTITY, d5 as IC_23_LABELS, d6 as IC_24_LABELS, d7 as IC_24_RACE, d8 as IC_25_ETHNICITY, d9 as IC_25_LABELS, da as IC_48_SERVICE_CATEGORIES, db as IC_49_DESCRIPTIONS, dc as IC_49_LABELS, dd as IC_49_REFERRAL_OUTCOME, de as IC_49_REFERRAL_OUTCOME_LABELS, df as IC_49_REFERRAL_VERIFICATION, dg as IC_49_REFERRAL_VERIFICATION_LABELS, dh as IC_49_SERVICE_MECHANISM, di as IC_4_AGE_TYPE, dj as IC_4_LABELS, dk as IC_56_DESCRIPTIONS, dl as IC_56_LABELS, dm as IC_56_OPTIONS, dn as IC_56_PROVISIONAL_CHANNELS, dp as IC_56_SERVICE_DELIVERY_CHANNEL, dq as IC_57_LABELS, dr as IC_57_SERVICE_AUDIENCE, ds as IC_58_EXTERNAL_TIERED, dt as IC_58_LABELS, du as IC_58_ORG_TYPE_GROUPS, dv as IC_58_PRIMARY_BRANCHES, dw as IC_58_REFERRAL_ENTITY, dx as IC_59_LABELS, dy as IC_59_SERVICE_STATE, dz as IC_5_FULL_LABELS, dA as IC_5_LABELS, dB as IC_5_VICTIMIZATION, dC as INCIDENT_INVOLVEMENT_ROLE, dD as INCIDENT_INVOLVEMENT_ROLE_LABELS, dE as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dF as INCIDENT_PARTICIPATION_ROLE, dG as INCIDENT_PARTICIPATION_ROLE_LABELS, dH as INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY, dI as INCIDENT_PARTICIPATION_ROLE_VALUES, dJ as INTERACTION_TYPES, dK as INTERACTION_TYPE_LABELS, dL as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dM as IncidentInvolvementRoleValue, dN as IncidentParticipationRoleValue, dO as InteractionTypeValue, dP as MINOR_ADULT_STATUS, dQ as MINOR_ADULT_STATUS_LABELS, dR as MinorAdultStatusValue, dS as OrgTypeGroup, dT as PARTICIPATION_ROLE_CATEGORIES, dU as PERMISSION_STATE, dV as PERMISSION_STATE_DISPLAY, dW as PERMISSION_STATE_LABELS, dX as PERMISSION_STATE_VALUES, dY as PERSON_DISPLAY_CATEGORY, dZ as PERSON_DISPLAY_CATEGORY_LABELS, d_ as PERSON_ROLES, d$ as PERSON_TYPE, e0 as PERSON_TYPE_VALUES, e1 as PLATFORM_TOOL, e2 as PLATFORM_TOOL_LABELS, e3 as PLATFORM_TOOL_VALUES, e4 as PermissionStateValue, e5 as PersonDisplayCategoryValue, e6 as PersonRoleValue, e7 as PersonTypeValue, e8 as PlatformToolValue, e9 as QUESTION_FORMAT, ea as QUESTION_FORMAT_LABELS, eb as QUICK_START_CONFIG, ec as QUICK_START_LABELS, ed as QUICK_START_TEMPLATES, ee as QuestionFormatValue, ef as QuickStartTemplateId, eg as RECORD_STATES, eh as RECORD_STATE_LABELS, ei as RELATIONSHIP_CONCERNS, ej as RELATIONSHIP_CONCERNS_LABELS, ek as RELATIONSHIP_CONCERNS_VALUES, el as RELATIONSHIP_DYNAMICS, em as RELATIONSHIP_DYNAMICS_LABELS, en as RELATIONSHIP_DYNAMICS_VALUES, eo as ROLE_LEVEL, ep as ROLE_LEVEL_LABELS, eq as ROLE_LEVEL_VALUES, er as RecordStateValue, es as ReferralBranch, et as RelationshipConcernValue, eu as RelationshipDynamicValue, ev as RoleLevelValue, ew as SESSION_STATES, ex as SESSION_STATE_LABELS, ey as SHARE_VIEW, ez as SHARE_VIEW_LABELS, eA as SHARE_VIEW_VALUES, eB as SUBMISSION_STATES, eC as SUBMISSION_STATE_LABELS, eD as ServiceCategory, eE as ServiceCategoryChild, eF as SessionStateValue, eG as ShareViewValue, eH as SubmissionStateValue, eI as THREAD_INVOLVEMENT_ROLES, eJ as USER_STATUS, eK as USER_STATUS_LABELS, eL as UserStatusValue, eM as VALID_INTERACTION_TYPES, eN as VALID_RECORD_STATES, eO as canonicalIncidentParticipationRole, eP as deriveAgeBinFromAge, eQ as getDisplayCategoryForRole, eR as getPersonTypeForRole, eS as getRelationshipCategory, eT as isDeprecatedIncidentParticipationRole, eU as isIC56Missingness, eV as isIC56ValidChannel, eW as isLgbtqOrientation, eX as isProtectedRelationship, eY as isStructuredNameType, eZ as isTransgenderGenderIdentity, e_ as sortRelationshipsByPriority } from '../platform-auth-64U8jjuw.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @htilabs/platform-common-models — IC-48 Universal Service Catalog
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as
|
|
1
|
+
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES, c as AGE_BIN_REPORTING, d as AGE_BIN_REPORTING_IS_MINOR, e as AGE_BIN_REPORTING_LABELS, f as APPARENT_AGE, g as APPARENT_AGE_LABELS, h as APP_SCOPE, i as AccommodationValue, j as ActiveIncidentParticipationRoleValue, k as AgeBinReportingValue, l as AppScopeValue, m as ApparentAgeValue, B as BIRTH_LOCATION, n as BIRTH_LOCATION_LABELS, o as BIRTH_LOCATION_VALUES, p as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, q as CVC100Value, r as CVC115Value, s as CVC120Value, t as CVC121Value, u as CVC122Value, v as CVC126Category, w as CVC126Option, x as CVC126Value, y as CVC136Category, z as CVC136CoreIndicator, D as CVC136Option, E as CVC136Value, F as CVC145Category, G as CVC145Option, H as CVC145Value, I as CVC147Value, J as CVC148Value, K as CVC150Value, L as CVC151Value, M as CVC152Value, N as CVC153Value, O as CVC156Value, P as CVC157Value, Q as CVC15Value, R as CVC16Value, S as CVC171Category, T as CVC171Option, U as CVC171Value, V as CVC179HierarchicalCategory, W as CVC179HierarchicalValue, X as CVC179Value, Y as CVC17Value, Z as CVC180Value, _ as CVC181Value, $ as CVC196Value, a0 as CVC1Value, a1 as CVC67Value, a2 as CVC72Value, a3 as CVC76Value, a4 as CVC93Value, a5 as CVC95Value, a6 as CVC96Value, a7 as CVC97Value, a8 as CVC98Value, a9 as CVC99Value, aa as CVC_100_LABELS, ab as CVC_100_LIVES_RURAL, ac as CVC_100_VALUES, ad as CVC_115_LABELS, ae as CVC_115_SERVICE_PLANNING, af as CVC_115_VALUES, ag as CVC_120_LABELS, ah as CVC_120_MILITARY_BRANCH, ai as CVC_120_VALUES, aj as CVC_121_LABELS, ak as CVC_121_MILITARY_STATUS, al as CVC_121_VALUES, am as CVC_122_LABELS, an as CVC_122_PRIMARY_LANGUAGE, ao as CVC_122_VALUES, ap as CVC_126_CATEGORY, aq as CVC_126_CATEGORY_LABELS, ar as CVC_126_LABELS, as as CVC_126_OPTIONS, at as CVC_126_PERSON_RELATIONSHIP, au as CVC_126_PROTECTED_CATEGORIES, av as CVC_126_TYPE_TO_CATEGORY, aw as CVC_126_VALUES, ax as CVC_136_ALERT_INDICATOR, ay as CVC_136_CATEGORY_LABELS, az as CVC_136_CORE_INDICATOR_LABELS, aA as CVC_136_CORE_INDICATOR_VALUES, aB as CVC_136_INDICATOR_CATEGORY, aC as CVC_136_LABELS, aD as CVC_136_OPTIONS, aE as CVC_136_TYPE_TO_CATEGORY, aF as CVC_136_VALUES, aG as CVC_145_CATEGORY, aH as CVC_145_CATEGORY_LABELS, aI as CVC_145_CATEGORY_ORDER, aJ as CVC_145_LABELS, aK as CVC_145_OPTIONS, aL as CVC_145_RELATIONSHIP_DYNAMICS, aM as CVC_145_SELECTABLE_OPTIONS, aN as CVC_145_TYPE_TO_CATEGORY, aO as CVC_145_VALUES, aP as CVC_147_LABELS, aQ as CVC_147_PRONOUNS, aR as CVC_147_VALUES, aS as CVC_148_LABELS, aT as CVC_148_TRIBES, aU as CVC_148_VALUES, aV as CVC_150_EYE_COLOR, aW as CVC_150_LABELS, aX as CVC_150_VALUES, aY as CVC_151_HAIR_COLOR, aZ as CVC_151_LABELS, a_ as CVC_151_VALUES, a$ as CVC_152_HAS_TATTOOS, b0 as CVC_152_LABELS, b1 as CVC_152_VALUES, b2 as CVC_153_LABELS, b3 as CVC_153_SMT_TYPE, b4 as CVC_153_VALUES, b5 as CVC_156_LABELS, b6 as CVC_156_MARITAL_STATUS, b7 as CVC_156_VALUES, b8 as CVC_157_LABELS, b9 as CVC_157_RELATIONSHIP_STATUS, ba as CVC_157_VALUES, bb as CVC_15_CORE_SEX, bc as CVC_15_LABELS, bd as CVC_15_SELECTABLE_VALUES, be as CVC_16_CORE_ORIENTATION, bf as CVC_16_LABELS, bg as CVC_16_LGBTQ_VALUES, bh as CVC_171_CATEGORY, bi as CVC_171_CATEGORY_LABELS, bj as CVC_171_CHILD_TO_PARENT, bk as CVC_171_INCOME_BENEFITS, bl as CVC_171_INCOME_SOURCES, bm as CVC_171_LABELS, bn as CVC_171_PARENT_CHILDREN, bo as CVC_171_SELECTABLE_OPTIONS, bp as CVC_171_VALUES, bq as CVC_171_VALUE_TO_CATEGORY, br as CVC_179_CHILD_TO_PARENT, bs as CVC_179_EMPLOYMENT_STATUS, bt as CVC_179_HIERARCHICAL_CATEGORY, bu as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bv as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bw as CVC_179_HIERARCHICAL_LABELS, bx as CVC_179_HIERARCHICAL_VALUES, by as CVC_179_LABELS, bz as CVC_179_PARENT_CHILDREN, bA as CVC_179_PRIMARY_CATEGORY, bB as CVC_179_SELECTABLE_OPTIONS, bC as CVC_179_VALUES, bD as CVC_179_VALUE_TO_CATEGORY, bE as CVC_17_CORE_GENDER_IDENTITY, bF as CVC_17_LABELS, bG as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bH as CVC_17_LEVEL_1_OPTIONS, bI as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bJ as CVC_17_TRANSGENDER_VALUES, bK as CVC_180_EDUCATION_LEVEL, bL as CVC_180_LABELS, bM as CVC_180_ORDINAL, bN as CVC_180_VALUES, bO as CVC_181_COUNTRIES, bP as CVC_181_LABELS, bQ as CVC_196_CHILD_WELFARE_EPISODE_TYPE, bR as CVC_196_LABELS, bS as CVC_196_VALUES, bT as CVC_1_LABELS, bU as CVC_1_NAME_TYPE, bV as CVC_1_STRUCTURED_NAME_TYPES, bW as CVC_1_UNSTRUCTURED_NAME_TYPES, bX as CVC_1_VALUES, bY as CVC_67_HMIS_SEX, bZ as CVC_67_LABELS, b_ as CVC_67_MISSINGNESS_VALUES, b$ as CVC_67_SELECTABLE_VALUES, c0 as CVC_72_HT_TYPE, c1 as CVC_72_LABELS, c2 as CVC_72_VALUES, c3 as CVC_76_LABELS, c4 as CVC_76_RACE_ETHNICITY, c5 as CVC_76_VALUES, c6 as CVC_93_CHILD_WELFARE_INVOLVEMENT, c7 as CVC_93_LABELS, c8 as CVC_93_VALUES, c9 as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, ca as CVC_95_LABELS, cb as CVC_95_VALUES, cc as CVC_96_HOMELESS_STATUS, cd as CVC_96_LABELS, ce as CVC_96_VALUES, cf as CVC_97_IMMIGRANT_REFUGEE, cg as CVC_97_LABELS, ch as CVC_97_VALUES, ci as CVC_98_LABELS, cj as CVC_98_US_VETERAN, ck as CVC_98_VALUES, cl as CVC_99_ENGLISH_PROFICIENCY, cm as CVC_99_LABELS, cn as CVC_99_VALUES, co as DATA_QUALITY, cp as DATA_QUALITY_DESCRIPTIONS, cq as DATA_QUALITY_LABELS, cr as DATA_QUALITY_VALUES, cs as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, ct as DataQualityValue, cu as DeprecatedIncidentParticipationRoleValue, cv as FORM_STATUS, cw as FORM_STATUS_LABELS, cx as FORM_TYPE, cy as FORM_TYPE_LABELS, cz as FUNCTION_STATUS, cA as FUNCTION_STATUS_LABELS, cB as FUNCTION_STATUS_VALUES, cC as FormStatusValue, cD as FormTypeValue, cE as FunctionStatusValue, cF as IC13Category, cG as IC13PriorityGroup, cH as IC13Value, cI as IC22Value, cJ as IC23Value, cK as IC24Value, cL as IC25Value, cM as IC49ReferralOutcomeValue, cN as IC49ReferralVerificationValue, cO as IC49Value, cP as IC4Value, cQ as IC56ChannelValue, cR as IC56Value, cS as IC57Value, cT as IC58ExternalCategory, cU as IC58Value, cV as IC59Value, cW as IC5Value, cX as IC_13_CATEGORIES, cY as IC_13_CATEGORY_ORDER, cZ as IC_13_LABELS, c_ as IC_13_PRIORITY_GROUPS, c$ as IC_13_RELATIONSHIP_ABBREV, d0 as IC_13_RELATIONSHIP_TYPE, d1 as IC_13_REVERSE_CONTEXT_LABELS, d2 as IC_22_CORE_SEX, d3 as IC_22_LABELS, d4 as IC_23_CORE_GENDER_IDENTITY, d5 as IC_23_LABELS, d6 as IC_24_LABELS, d7 as IC_24_RACE, d8 as IC_25_ETHNICITY, d9 as IC_25_LABELS, da as IC_48_SERVICE_CATEGORIES, db as IC_49_DESCRIPTIONS, dc as IC_49_LABELS, dd as IC_49_REFERRAL_OUTCOME, de as IC_49_REFERRAL_OUTCOME_LABELS, df as IC_49_REFERRAL_VERIFICATION, dg as IC_49_REFERRAL_VERIFICATION_LABELS, dh as IC_49_SERVICE_MECHANISM, di as IC_4_AGE_TYPE, dj as IC_4_LABELS, dk as IC_56_DESCRIPTIONS, dl as IC_56_LABELS, dm as IC_56_OPTIONS, dn as IC_56_PROVISIONAL_CHANNELS, dp as IC_56_SERVICE_DELIVERY_CHANNEL, dq as IC_57_LABELS, dr as IC_57_SERVICE_AUDIENCE, ds as IC_58_EXTERNAL_TIERED, dt as IC_58_LABELS, du as IC_58_ORG_TYPE_GROUPS, dv as IC_58_PRIMARY_BRANCHES, dw as IC_58_REFERRAL_ENTITY, dx as IC_59_LABELS, dy as IC_59_SERVICE_STATE, dz as IC_5_FULL_LABELS, dA as IC_5_LABELS, dB as IC_5_VICTIMIZATION, dC as INCIDENT_INVOLVEMENT_ROLE, dD as INCIDENT_INVOLVEMENT_ROLE_LABELS, dE as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dF as INCIDENT_PARTICIPATION_ROLE, dG as INCIDENT_PARTICIPATION_ROLE_LABELS, dH as INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY, dI as INCIDENT_PARTICIPATION_ROLE_VALUES, dJ as INTERACTION_TYPES, dK as INTERACTION_TYPE_LABELS, dL as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dM as IncidentInvolvementRoleValue, dN as IncidentParticipationRoleValue, dO as InteractionTypeValue, dP as MINOR_ADULT_STATUS, dQ as MINOR_ADULT_STATUS_LABELS, dR as MinorAdultStatusValue, dS as OrgTypeGroup, dT as PARTICIPATION_ROLE_CATEGORIES, dU as PERMISSION_STATE, dV as PERMISSION_STATE_DISPLAY, dW as PERMISSION_STATE_LABELS, dX as PERMISSION_STATE_VALUES, dY as PERSON_DISPLAY_CATEGORY, dZ as PERSON_DISPLAY_CATEGORY_LABELS, d_ as PERSON_ROLES, d$ as PERSON_TYPE, e0 as PERSON_TYPE_VALUES, e1 as PLATFORM_TOOL, e2 as PLATFORM_TOOL_LABELS, e3 as PLATFORM_TOOL_VALUES, e4 as PermissionStateValue, e5 as PersonDisplayCategoryValue, e6 as PersonRoleValue, e7 as PersonTypeValue, e8 as PlatformToolValue, e9 as QUESTION_FORMAT, ea as QUESTION_FORMAT_LABELS, eb as QUICK_START_CONFIG, ec as QUICK_START_LABELS, ed as QUICK_START_TEMPLATES, ee as QuestionFormatValue, ef as QuickStartTemplateId, eg as RECORD_STATES, eh as RECORD_STATE_LABELS, ei as RELATIONSHIP_CONCERNS, ej as RELATIONSHIP_CONCERNS_LABELS, ek as RELATIONSHIP_CONCERNS_VALUES, el as RELATIONSHIP_DYNAMICS, em as RELATIONSHIP_DYNAMICS_LABELS, en as RELATIONSHIP_DYNAMICS_VALUES, eo as ROLE_LEVEL, ep as ROLE_LEVEL_LABELS, eq as ROLE_LEVEL_VALUES, er as RecordStateValue, es as ReferralBranch, et as RelationshipConcernValue, eu as RelationshipDynamicValue, ev as RoleLevelValue, ew as SESSION_STATES, ex as SESSION_STATE_LABELS, ey as SHARE_VIEW, ez as SHARE_VIEW_LABELS, eA as SHARE_VIEW_VALUES, eB as SUBMISSION_STATES, eC as SUBMISSION_STATE_LABELS, eD as ServiceCategory, eE as ServiceCategoryChild, eF as SessionStateValue, eG as ShareViewValue, eH as SubmissionStateValue, eI as THREAD_INVOLVEMENT_ROLES, eJ as USER_STATUS, eK as USER_STATUS_LABELS, eL as UserStatusValue, eM as VALID_INTERACTION_TYPES, eN as VALID_RECORD_STATES, eO as canonicalIncidentParticipationRole, eP as deriveAgeBinFromAge, eQ as getDisplayCategoryForRole, eR as getPersonTypeForRole, eS as getRelationshipCategory, eT as isDeprecatedIncidentParticipationRole, eU as isIC56Missingness, eV as isIC56ValidChannel, eW as isLgbtqOrientation, eX as isProtectedRelationship, eY as isStructuredNameType, eZ as isTransgenderGenderIdentity, e_ as sortRelationshipsByPriority } from '../platform-auth-64U8jjuw.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @htilabs/platform-common-models — IC-48 Universal Service Catalog
|
package/dist/constants/index.js
CHANGED
|
@@ -1359,12 +1359,32 @@ var INCIDENT_PARTICIPATION_ROLE = {
|
|
|
1359
1359
|
REPORTER: "reporter",
|
|
1360
1360
|
FAMILY_MEMBER_OR_GUARDIAN: "family_member_or_guardian",
|
|
1361
1361
|
FRIEND_OR_PEER: "friend_or_peer",
|
|
1362
|
+
/** @deprecated Superseded by `VSP_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
1362
1363
|
SERVICE_PROVIDER_STAFF: "service_provider_staff",
|
|
1364
|
+
/** @deprecated Superseded by `HEALTHCARE_PROVIDER_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
1363
1365
|
MEDICAL_PROVIDER_STAFF: "medical_provider_staff",
|
|
1366
|
+
/** @deprecated Superseded by `DATA_ENTRY_STAFF` (canon CVC-69, 2026-08-13). Read-only. */
|
|
1364
1367
|
DATA_ENTRY: "data_entry",
|
|
1368
|
+
/** @deprecated Superseded by `OTHER_RESPONSE_PERSONNEL` (canon CVC-69, 2026-08-13). Read-only. */
|
|
1365
1369
|
OTHER_INCIDENT_RESPONDER: "other_incident_responder",
|
|
1370
|
+
/** @deprecated Superseded by `LAW_ENFORCEMENT_PERSONNEL` (canon CVC-69, 2026-08-13). Read-only. */
|
|
1366
1371
|
RESPONDING_OFFICER: "responding_officer",
|
|
1367
1372
|
LEGAL_PROFESSIONAL: "legal_professional",
|
|
1373
|
+
// Canon CVC-69 v1.0 — the five renamed codes + task_force.
|
|
1374
|
+
VSP_STAFF: "vsp_staff",
|
|
1375
|
+
HEALTHCARE_PROVIDER_STAFF: "healthcare_provider_staff",
|
|
1376
|
+
LAW_ENFORCEMENT_PERSONNEL: "law_enforcement_personnel",
|
|
1377
|
+
OTHER_RESPONSE_PERSONNEL: "other_response_personnel",
|
|
1378
|
+
DATA_ENTRY_STAFF: "data_entry_staff",
|
|
1379
|
+
TASK_FORCE: "task_force",
|
|
1380
|
+
// Canon Level-2 sub-items (LEADS investigative wing). A sub-item implies its
|
|
1381
|
+
// parent: the first four sit under LAW_ENFORCEMENT_PERSONNEL, PROSECUTOR
|
|
1382
|
+
// under LEGAL_PROFESSIONAL.
|
|
1383
|
+
LEAD_INVESTIGATOR: "lead_investigator",
|
|
1384
|
+
INVESTIGATOR: "investigator",
|
|
1385
|
+
ANALYST: "analyst",
|
|
1386
|
+
LE_OFFICER: "le_officer",
|
|
1387
|
+
PROSECUTOR: "prosecutor",
|
|
1368
1388
|
UNKNOWN: "unknown",
|
|
1369
1389
|
ANONYMOUS: "anonymous",
|
|
1370
1390
|
DATA_NOT_COLLECTED: "data_not_collected"
|
|
@@ -1382,6 +1402,17 @@ var INCIDENT_PARTICIPATION_ROLE_VALUES = [
|
|
|
1382
1402
|
INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
|
|
1383
1403
|
INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
|
|
1384
1404
|
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
1405
|
+
INCIDENT_PARTICIPATION_ROLE.VSP_STAFF,
|
|
1406
|
+
INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF,
|
|
1407
|
+
INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL,
|
|
1408
|
+
INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL,
|
|
1409
|
+
INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF,
|
|
1410
|
+
INCIDENT_PARTICIPATION_ROLE.TASK_FORCE,
|
|
1411
|
+
INCIDENT_PARTICIPATION_ROLE.LEAD_INVESTIGATOR,
|
|
1412
|
+
INCIDENT_PARTICIPATION_ROLE.INVESTIGATOR,
|
|
1413
|
+
INCIDENT_PARTICIPATION_ROLE.ANALYST,
|
|
1414
|
+
INCIDENT_PARTICIPATION_ROLE.LE_OFFICER,
|
|
1415
|
+
INCIDENT_PARTICIPATION_ROLE.PROSECUTOR,
|
|
1385
1416
|
INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
|
|
1386
1417
|
INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
|
|
1387
1418
|
INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED
|
|
@@ -1399,6 +1430,19 @@ var INCIDENT_PARTICIPATION_ROLE_LABELS = {
|
|
|
1399
1430
|
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: "VSP or Other Incident Responder",
|
|
1400
1431
|
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
|
|
1401
1432
|
[INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
|
|
1433
|
+
// Added in v1.1.0: the canon codebook `Acceptable name`, verbatim.
|
|
1434
|
+
[INCIDENT_PARTICIPATION_ROLE.VSP_STAFF]: "Victim Service provider staff",
|
|
1435
|
+
[INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF]: "Healthcare provider staff",
|
|
1436
|
+
[INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL]: "Law enforcement personnel",
|
|
1437
|
+
[INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL]: "Other Response Personnel",
|
|
1438
|
+
[INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF]: "Data Entry / Editor",
|
|
1439
|
+
[INCIDENT_PARTICIPATION_ROLE.TASK_FORCE]: "Task Force Partner",
|
|
1440
|
+
[INCIDENT_PARTICIPATION_ROLE.LEAD_INVESTIGATOR]: "Lead Investigator",
|
|
1441
|
+
[INCIDENT_PARTICIPATION_ROLE.INVESTIGATOR]: "Investigator / Detective",
|
|
1442
|
+
[INCIDENT_PARTICIPATION_ROLE.ANALYST]: "Analyst",
|
|
1443
|
+
[INCIDENT_PARTICIPATION_ROLE.LE_OFFICER]: "LE Officer",
|
|
1444
|
+
[INCIDENT_PARTICIPATION_ROLE.PROSECUTOR]: "Prosecutor",
|
|
1445
|
+
// Level 0, as 0.13.0 shipped them (canon: Unknown / Anonymous / Data not collected).
|
|
1402
1446
|
[INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
|
|
1403
1447
|
[INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
|
|
1404
1448
|
[INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected"
|
|
@@ -1425,6 +1469,27 @@ var CALLER_IS_VICTIM_ROLES = [
|
|
|
1425
1469
|
INCIDENT_PARTICIPATION_ROLE.CALLER_SELF,
|
|
1426
1470
|
INCIDENT_PARTICIPATION_ROLE.REPORTER
|
|
1427
1471
|
];
|
|
1472
|
+
var INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY = {
|
|
1473
|
+
[INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF]: INCIDENT_PARTICIPATION_ROLE.VSP_STAFF,
|
|
1474
|
+
[INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF]: INCIDENT_PARTICIPATION_ROLE.HEALTHCARE_PROVIDER_STAFF,
|
|
1475
|
+
[INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY]: INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY_STAFF,
|
|
1476
|
+
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: INCIDENT_PARTICIPATION_ROLE.OTHER_RESPONSE_PERSONNEL,
|
|
1477
|
+
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: INCIDENT_PARTICIPATION_ROLE.LAW_ENFORCEMENT_PERSONNEL
|
|
1478
|
+
};
|
|
1479
|
+
function isDeprecatedIncidentParticipationRole(role) {
|
|
1480
|
+
return typeof role === "string" && Object.prototype.hasOwnProperty.call(
|
|
1481
|
+
INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY,
|
|
1482
|
+
role
|
|
1483
|
+
);
|
|
1484
|
+
}
|
|
1485
|
+
function canonicalIncidentParticipationRole(role) {
|
|
1486
|
+
return isDeprecatedIncidentParticipationRole(role) ? INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY[role] : role;
|
|
1487
|
+
}
|
|
1488
|
+
var ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES = Object.freeze(
|
|
1489
|
+
INCIDENT_PARTICIPATION_ROLE_VALUES.filter(
|
|
1490
|
+
(role) => !isDeprecatedIncidentParticipationRole(role)
|
|
1491
|
+
)
|
|
1492
|
+
);
|
|
1428
1493
|
var PERSON_DISPLAY_CATEGORY = {
|
|
1429
1494
|
PRIMARY_VICTIM: "primary_victim",
|
|
1430
1495
|
ELIGIBLE_FAMILY: "eligible_family",
|
|
@@ -5926,6 +5991,7 @@ var FUNCTION_STATUS_LABELS = {
|
|
|
5926
5991
|
export {
|
|
5927
5992
|
ACCOMMODATION_LABELS,
|
|
5928
5993
|
ACCOMMODATION_OPTIONS,
|
|
5994
|
+
ACTIVE_INCIDENT_PARTICIPATION_ROLE_VALUES,
|
|
5929
5995
|
AGE_BIN_REPORTING,
|
|
5930
5996
|
AGE_BIN_REPORTING_IS_MINOR,
|
|
5931
5997
|
AGE_BIN_REPORTING_LABELS,
|
|
@@ -6143,6 +6209,7 @@ export {
|
|
|
6143
6209
|
INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE,
|
|
6144
6210
|
INCIDENT_PARTICIPATION_ROLE,
|
|
6145
6211
|
INCIDENT_PARTICIPATION_ROLE_LABELS,
|
|
6212
|
+
INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY,
|
|
6146
6213
|
INCIDENT_PARTICIPATION_ROLE_VALUES,
|
|
6147
6214
|
INTERACTION_TYPES,
|
|
6148
6215
|
INTERACTION_TYPE_LABELS,
|
|
@@ -6190,6 +6257,7 @@ export {
|
|
|
6190
6257
|
USER_STATUS_LABELS,
|
|
6191
6258
|
VALID_INTERACTION_TYPES,
|
|
6192
6259
|
VALID_RECORD_STATES,
|
|
6260
|
+
canonicalIncidentParticipationRole,
|
|
6193
6261
|
deriveAgeBinFromAge,
|
|
6194
6262
|
getDisplayCategoryForRole,
|
|
6195
6263
|
getIC48AncestorCategories,
|
|
@@ -6203,6 +6271,7 @@ export {
|
|
|
6203
6271
|
getIC48TopicForCategory,
|
|
6204
6272
|
getPersonTypeForRole,
|
|
6205
6273
|
getRelationshipCategory,
|
|
6274
|
+
isDeprecatedIncidentParticipationRole,
|
|
6206
6275
|
isIC56Missingness,
|
|
6207
6276
|
isIC56ValidChannel,
|
|
6208
6277
|
isLgbtqOrientation,
|