@htilabs/platform-common-models 0.8.7 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +44 -0
  2. package/dist/config/index.cjs +191 -0
  3. package/dist/config/index.cjs.map +1 -0
  4. package/dist/config/index.d.cts +101 -0
  5. package/dist/config/index.d.ts +101 -0
  6. package/dist/config/index.js +165 -0
  7. package/dist/config/index.js.map +1 -0
  8. package/dist/constants/index.cjs +5 -28
  9. package/dist/constants/index.cjs.map +1 -1
  10. package/dist/constants/index.d.cts +1 -1
  11. package/dist/constants/index.d.ts +1 -1
  12. package/dist/constants/index.js +5 -27
  13. package/dist/constants/index.js.map +1 -1
  14. package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
  15. package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
  16. package/dist/cvcs/index.cjs +3 -1321
  17. package/dist/cvcs/index.cjs.map +1 -1
  18. package/dist/cvcs/index.d.cts +1195 -2649
  19. package/dist/cvcs/index.d.ts +1195 -2649
  20. package/dist/cvcs/index.js +3 -1313
  21. package/dist/cvcs/index.js.map +1 -1
  22. package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
  23. package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  24. package/dist/index.cjs +121 -1550
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +48 -401
  27. package/dist/index.d.ts +48 -401
  28. package/dist/index.js +120 -1526
  29. package/dist/index.js.map +1 -1
  30. package/dist/models/index.d.cts +2 -2
  31. package/dist/models/index.d.ts +2 -2
  32. package/dist/{platform-auth-BdnJUisw.d.cts → platform-auth-XVB9aHqR.d.cts} +3 -16
  33. package/dist/{platform-auth-BdnJUisw.d.ts → platform-auth-XVB9aHqR.d.ts} +3 -16
  34. package/dist/schemas/index.cjs +9 -26
  35. package/dist/schemas/index.cjs.map +1 -1
  36. package/dist/schemas/index.d.cts +39 -35
  37. package/dist/schemas/index.d.ts +39 -35
  38. package/dist/schemas/index.js +9 -26
  39. package/dist/schemas/index.js.map +1 -1
  40. package/dist/types/index.d.cts +2 -2
  41. package/dist/types/index.d.ts +2 -2
  42. package/package.json +25 -19
  43. package/src/__tests__/__snapshots__/cvc-sot.snap +12 -76
  44. package/src/__tests__/cvc-sot-snapshot.test.ts +10 -61
  45. package/src/__tests__/cvc-structural.test.ts +0 -9
  46. package/src/__tests__/runtime-contract-validator.test.ts +556 -0
  47. package/src/config/fixtures/valid.yaml +90 -0
  48. package/src/config/index.ts +352 -0
  49. package/src/constants/ic.ts +3 -31
  50. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +0 -9
  51. package/src/cvcs/hmisSex.v1.0.0.json +89 -0
  52. package/src/cvcs/identificationStatus.v1.0.0.json +0 -18
  53. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +2 -31
  54. package/src/cvcs/index.ts +0 -16
  55. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
  56. package/src/cvcs/recencyBand.v1.0.0.json +57 -38
  57. package/src/cvcs/serviceStates.v1.0.0.json +1 -23
  58. package/src/cvcs/sourceSubtype.v1.1.0.json +0 -36
  59. package/src/cvcs/verificationMethod.v1.0.0.json +0 -18
  60. package/src/generated/cvc-enums.ts +6 -429
  61. package/src/index.ts +20 -0
  62. package/src/schemas/common.ts +4 -0
  63. package/src/cvcs/activityType.v1.0.0.json +0 -143
  64. package/src/cvcs/assertionDomain.v1.0.0.json +0 -629
  65. package/src/cvcs/contactLinkType.v1.0.0.json +0 -89
  66. package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +0 -104
  67. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +0 -159
  68. package/src/cvcs/htType.v1.0.0.json +0 -87
  69. package/src/cvcs/livingSituation.v1.0.0.json +0 -213
  70. package/src/cvcs/provenanceSourceId.v1.0.0.json +0 -134
  71. package/src/cvcs/radiusBucket.v1.0.0.json +0 -98
  72. package/src/cvcs/relationshipConcern.v1.0.0.json +0 -114
  73. package/src/cvcs/roiMethod.v1.0.0.json +0 -107
  74. package/src/cvcs/serviceAudience.v1.0.0.json +0 -96
  75. package/src/cvcs/sessionNoteVisibility.v1.0.0.json +0 -80
  76. package/src/cvcs/suggestionSource.v1.0.0.json +0 -71
  77. package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136Option, y as CVC136Value, z as CVC145Category, D as CVC145Option, E as CVC145Value, F as CVC147Value, G as CVC148Value, H as CVC150Value, I as CVC151Value, J as CVC152Value, K as CVC153Value, L as CVC156Value, M as CVC157Value, N as CVC158Value, O as CVC159Category, P as CVC159Option, Q as CVC159Value, R as CVC15Value, S as CVC16Value, T as CVC171Category, U as CVC171Option, V as CVC171Value, W as CVC179HierarchicalCategory, X as CVC179HierarchicalValue, Y as CVC179Value, Z as CVC17Value, _ as CVC180Value, $ as CVC181Value, a0 as CVC196Value, a1 as CVC1Value, a2 as CVC67Value, a3 as CVC72Value, a4 as CVC76Value, a5 as CVC93Value, a6 as CVC95Value, a7 as CVC96Value, a8 as CVC97Value, a9 as CVC98Value, aa as CVC99Value, ab as CVC_100_LABELS, ac as CVC_100_LIVES_RURAL, ad as CVC_100_VALUES, ae as CVC_115_LABELS, af as CVC_115_SERVICE_PLANNING, ag as CVC_115_VALUES, ah as CVC_120_LABELS, ai as CVC_120_MILITARY_BRANCH, aj as CVC_120_VALUES, ak as CVC_121_LABELS, al as CVC_121_MILITARY_STATUS, am as CVC_121_VALUES, an as CVC_122_LABELS, ao as CVC_122_PRIMARY_LANGUAGE, ap as CVC_122_VALUES, aq as CVC_126_CATEGORY, ar as CVC_126_CATEGORY_LABELS, as as CVC_126_LABELS, at as CVC_126_OPTIONS, au as CVC_126_PERSON_RELATIONSHIP, av as CVC_126_PROTECTED_CATEGORIES, aw as CVC_126_TYPE_TO_CATEGORY, ax as CVC_126_VALUES, ay as CVC_136_ALERT_INDICATOR, az as CVC_136_CATEGORY_LABELS, aA as CVC_136_INDICATOR_CATEGORY, aB as CVC_136_LABELS, aC as CVC_136_OPTIONS, aD as CVC_136_TYPE_TO_CATEGORY, aE as CVC_136_VALUES, aF as CVC_145_CATEGORY, aG as CVC_145_CATEGORY_LABELS, aH as CVC_145_CATEGORY_ORDER, aI as CVC_145_LABELS, aJ as CVC_145_OPTIONS, aK as CVC_145_RELATIONSHIP_DYNAMICS, aL as CVC_145_SELECTABLE_OPTIONS, aM as CVC_145_TYPE_TO_CATEGORY, aN as CVC_145_VALUES, aO as CVC_147_LABELS, aP as CVC_147_PRONOUNS, aQ as CVC_147_VALUES, aR as CVC_148_LABELS, aS as CVC_148_TRIBES, aT as CVC_148_VALUES, aU as CVC_150_EYE_COLOR, aV as CVC_150_LABELS, aW as CVC_150_VALUES, aX as CVC_151_HAIR_COLOR, aY as CVC_151_LABELS, aZ as CVC_151_VALUES, a_ as CVC_152_HAS_TATTOOS, a$ as CVC_152_LABELS, b0 as CVC_152_VALUES, b1 as CVC_153_LABELS, b2 as CVC_153_SMT_TYPE, b3 as CVC_153_VALUES, b4 as CVC_156_LABELS, b5 as CVC_156_MARITAL_STATUS, b6 as CVC_156_VALUES, b7 as CVC_157_LABELS, b8 as CVC_157_RELATIONSHIP_STATUS, b9 as CVC_157_VALUES, ba as CVC_158_CUSTODY_STATUS, bb as CVC_158_LABELS, bc as CVC_158_VALUES, bd as CVC_159_CATEGORY, be as CVC_159_CATEGORY_LABELS, bf as CVC_159_CATEGORY_ORDER, bg as CVC_159_LABELS, bh as CVC_159_OPTIONS, bi as CVC_159_RELATIONSHIP_TIES, bj as CVC_159_SELECTABLE_OPTIONS, bk as CVC_159_TYPE_TO_CATEGORY, bl as CVC_159_VALUES, bm as CVC_15_CORE_SEX, bn as CVC_15_LABELS, bo as CVC_15_SELECTABLE_VALUES, bp as CVC_16_CORE_ORIENTATION, bq as CVC_16_LABELS, br as CVC_16_LGBTQ_VALUES, bs as CVC_171_CATEGORY, bt as CVC_171_CATEGORY_LABELS, bu as CVC_171_CHILD_TO_PARENT, bv as CVC_171_INCOME_BENEFITS, bw as CVC_171_INCOME_SOURCES, bx as CVC_171_LABELS, by as CVC_171_PARENT_CHILDREN, bz as CVC_171_SELECTABLE_OPTIONS, bA as CVC_171_VALUES, bB as CVC_171_VALUE_TO_CATEGORY, bC as CVC_179_CHILD_TO_PARENT, bD as CVC_179_EMPLOYMENT_STATUS, bE as CVC_179_HIERARCHICAL_CATEGORY, bF as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bG as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bH as CVC_179_HIERARCHICAL_LABELS, bI as CVC_179_HIERARCHICAL_VALUES, bJ as CVC_179_LABELS, bK as CVC_179_PARENT_CHILDREN, bL as CVC_179_PRIMARY_CATEGORY, bM as CVC_179_SELECTABLE_OPTIONS, bN as CVC_179_VALUES, bO as CVC_179_VALUE_TO_CATEGORY, bP as CVC_17_CORE_GENDER_IDENTITY, bQ as CVC_17_LABELS, bR as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bS as CVC_17_LEVEL_1_OPTIONS, bT as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bU as CVC_17_TRANSGENDER_VALUES, bV as CVC_180_EDUCATION_LEVEL, bW as CVC_180_LABELS, bX as CVC_180_ORDINAL, bY as CVC_180_VALUES, bZ as CVC_181_COUNTRIES, b_ as CVC_181_LABELS, b$ as CVC_196_CHILD_WELFARE_EPISODE_TYPE, c0 as CVC_196_LABELS, c1 as CVC_196_VALUES, c2 as CVC_1_LABELS, c3 as CVC_1_NAME_TYPE, c4 as CVC_1_STRUCTURED_NAME_TYPES, c5 as CVC_1_UNSTRUCTURED_NAME_TYPES, c6 as CVC_1_VALUES, c7 as CVC_67_HMIS_SEX, c8 as CVC_67_LABELS, c9 as CVC_67_MISSINGNESS_VALUES, ca as CVC_67_SELECTABLE_VALUES, cb as CVC_72_HT_TYPE, cc as CVC_72_LABELS, cd as CVC_72_VALUES, ce as CVC_76_LABELS, cf as CVC_76_RACE_ETHNICITY, cg as CVC_76_VALUES, ch as CVC_93_CHILD_WELFARE_INVOLVEMENT, ci as CVC_93_LABELS, cj as CVC_93_VALUES, ck as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, cl as CVC_95_LABELS, cm as CVC_95_VALUES, cn as CVC_96_HOMELESS_STATUS, co as CVC_96_LABELS, cp as CVC_96_VALUES, cq as CVC_97_IMMIGRANT_REFUGEE, cr as CVC_97_LABELS, cs as CVC_97_VALUES, ct as CVC_98_LABELS, cu as CVC_98_US_VETERAN, cv as CVC_98_VALUES, cw as CVC_99_ENGLISH_PROFICIENCY, cx as CVC_99_LABELS, cy as CVC_99_VALUES, cz as DATA_QUALITY, cA as DATA_QUALITY_DESCRIPTIONS, cB as DATA_QUALITY_LABELS, cC as DATA_QUALITY_VALUES, cD as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cE as DataQualityValue, cF as FORM_STATUS, cG as FORM_STATUS_LABELS, cH as FORM_TYPE, cI as FORM_TYPE_LABELS, cJ as FUNCTION_STATUS, cK as FUNCTION_STATUS_LABELS, cL as FUNCTION_STATUS_VALUES, cM as FormStatusValue, cN as FormTypeValue, cO as FunctionStatusValue, cP as IC13Category, cQ as IC13PriorityGroup, cR as IC13Value, cS as IC22Value, cT as IC23Value, cU as IC24Value, cV as IC25Value, cW as IC49ReferralOutcomeValue, cX as IC49ReferralVerificationValue, cY as IC49Value, cZ as IC4Value, c_ as IC56ChannelValue, c$ as IC56Value, d0 as IC57Value, d1 as IC58ExternalCategory, d2 as IC58Value, d3 as IC59Value, d4 as IC5Value, d5 as IC_13_CATEGORIES, d6 as IC_13_CATEGORY_ORDER, d7 as IC_13_LABELS, d8 as IC_13_PRIORITY_GROUPS, d9 as IC_13_RELATIONSHIP_ABBREV, da as IC_13_RELATIONSHIP_TYPE, db as IC_13_REVERSE_CONTEXT_LABELS, dc as IC_22_CORE_SEX, dd as IC_22_LABELS, de as IC_23_CORE_GENDER_IDENTITY, df as IC_23_LABELS, dg as IC_24_LABELS, dh as IC_24_RACE, di as IC_25_ETHNICITY, dj as IC_25_LABELS, dk as IC_48_SERVICE_CATEGORIES, dl as IC_49_DESCRIPTIONS, dm as IC_49_LABELS, dn as IC_49_REFERRAL_OUTCOME, dp as IC_49_REFERRAL_OUTCOME_LABELS, dq as IC_49_REFERRAL_VERIFICATION, dr as IC_49_REFERRAL_VERIFICATION_LABELS, ds as IC_49_SERVICE_MECHANISM, dt as IC_4_AGE_TYPE, du as IC_4_LABELS, dv as IC_56_DESCRIPTIONS, dw as IC_56_LABELS, dx as IC_56_OPTIONS, dy as IC_56_PROVISIONAL_CHANNELS, dz as IC_56_SERVICE_DELIVERY_CHANNEL, dA as IC_57_LABELS, dB as IC_57_SERVICE_AUDIENCE, dC as IC_58_EXTERNAL_TIERED, dD as IC_58_LABELS, dE as IC_58_ORG_TYPE_GROUPS, dF as IC_58_PRIMARY_BRANCHES, dG as IC_58_REFERRAL_ENTITY, dH as IC_59_LABELS, dI as IC_59_SERVICE_STATE, dJ as IC_5_FULL_LABELS, dK as IC_5_LABELS, dL as IC_5_VICTIMIZATION, dM as INCIDENT_INVOLVEMENT_ROLE, dN as INCIDENT_INVOLVEMENT_ROLE_LABELS, dO as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dP as INCIDENT_PARTICIPATION_ROLE, dQ as INCIDENT_PARTICIPATION_ROLE_LABELS, dR as INCIDENT_PARTICIPATION_ROLE_VALUES, dS as INTERACTION_TYPES, dT as INTERACTION_TYPE_LABELS, dU as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dV as IncidentInvolvementRoleValue, dW as IncidentParticipationRoleValue, dX as InteractionTypeValue, dY as MINOR_ADULT_STATUS, dZ as MINOR_ADULT_STATUS_LABELS, d_ as MinorAdultStatusValue, d$ as OrgTypeGroup, e0 as PARTICIPATION_ROLE_CATEGORIES, e1 as PERMISSION_STATE, e2 as PERMISSION_STATE_DISPLAY, e3 as PERMISSION_STATE_LABELS, e4 as PERMISSION_STATE_VALUES, e5 as PERSON_DISPLAY_CATEGORY, e6 as PERSON_DISPLAY_CATEGORY_LABELS, e7 as PERSON_ROLES, e8 as PERSON_TYPE, e9 as PERSON_TYPE_VALUES, ea as PLATFORM_TOOL, eb as PLATFORM_TOOL_LABELS, ec as PLATFORM_TOOL_VALUES, ed as PermissionStateValue, ee as PersonDisplayCategoryValue, ef as PersonRoleValue, eg as PersonTypeValue, eh as PlatformToolValue, ei as QUESTION_FORMAT, ej as QUESTION_FORMAT_LABELS, ek as QUICK_START_CONFIG, el as QUICK_START_LABELS, em as QUICK_START_TEMPLATES, en as QuestionFormatValue, eo as QuickStartTemplateId, ep as RECORD_STATES, eq as RECORD_STATE_LABELS, er as RELATIONSHIP_CONCERNS, es as RELATIONSHIP_CONCERNS_LABELS, et as RELATIONSHIP_CONCERNS_VALUES, eu as RELATIONSHIP_DYNAMICS, ev as RELATIONSHIP_DYNAMICS_LABELS, ew as RELATIONSHIP_DYNAMICS_VALUES, ex as ROLE_LEVEL, ey as ROLE_LEVEL_LABELS, ez as ROLE_LEVEL_VALUES, eA as RecordStateValue, eB as ReferralBranch, eC as RelationshipConcernValue, eD as RelationshipDynamicValue, eE as RoleLevelValue, eF as SESSION_STATES, eG as SESSION_STATE_LABELS, eH as SHARE_VIEW, eI as SHARE_VIEW_LABELS, eJ as SHARE_VIEW_VALUES, eK as SUBMISSION_STATES, eL as SUBMISSION_STATE_LABELS, eM as ServiceCategory, eN as ServiceCategoryChild, eO as SessionStateValue, eP as ShareViewValue, eQ as SubmissionStateValue, eR as THREAD_INVOLVEMENT_ROLES, eS as USER_STATUS, eT as USER_STATUS_LABELS, eU as UserStatusValue, eV as VALID_INTERACTION_TYPES, eW as VALID_RECORD_STATES, eX as deriveAgeBinFromAge, eY as getDisplayCategoryForRole, eZ as getPersonTypeForRole, e_ as getRelationshipCategory, e$ as isIC56Missingness, f0 as isIC56ValidChannel, f1 as isLgbtqOrientation, f2 as isProtectedRelationship, f3 as isStructuredNameType, f4 as isTransgenderGenderIdentity, f5 as sortRelationshipsByPriority } from './platform-auth-BdnJUisw.js';
1
+ export { K as ACCOMMODATION_LABELS, L as ACCOMMODATION_OPTIONS, N as AGE_BIN_REPORTING, O as AGE_BIN_REPORTING_IS_MINOR, T as AGE_BIN_REPORTING_LABELS, V as APPARENT_AGE, W as APPARENT_AGE_LABELS, X as APP_SCOPE, A as AccommodationValue, b as AgeBinReportingValue, c as AppScopeValue, d as ApparentAgeValue, Y as BIRTH_LOCATION, Z as BIRTH_LOCATION_LABELS, _ as BIRTH_LOCATION_VALUES, $ as BirthLocationValue, a0 as CALLER_IS_VICTIM_ROLES, a1 as CVC100Value, a2 as CVC115Value, a3 as CVC120Value, a4 as CVC121Value, a5 as CVC122Value, a6 as CVC126Category, a7 as CVC126Option, a8 as CVC126Value, a9 as CVC136Category, aa as CVC136Option, ab as CVC136Value, ac as CVC145Category, ad as CVC145Option, ae as CVC145Value, af as CVC147Value, ag as CVC148Value, ah as CVC150Value, ai as CVC151Value, aj as CVC152Value, ak as CVC153Value, al as CVC156Value, am as CVC157Value, an as CVC158Value, ao as CVC159Category, ap as CVC159Option, aq as CVC159Value, ar as CVC15Value, as as CVC16Value, at as CVC171Category, au as CVC171Option, av as CVC171Value, aw as CVC179HierarchicalCategory, ax as CVC179HierarchicalValue, ay as CVC179Value, az as CVC17Value, aA as CVC180Value, aB as CVC181Value, aC as CVC196Value, aD as CVC1Value, aE as CVC67Value, aF as CVC72Value, aG as CVC76Value, aH as CVC93Value, aI as CVC95Value, aJ as CVC96Value, aK as CVC97Value, aL as CVC98Value, aM as CVC99Value, aN as CVC_100_LABELS, aO as CVC_100_LIVES_RURAL, aP as CVC_100_VALUES, aQ as CVC_115_LABELS, aR as CVC_115_SERVICE_PLANNING, aS as CVC_115_VALUES, aT as CVC_120_LABELS, aU as CVC_120_MILITARY_BRANCH, aV as CVC_120_VALUES, aW as CVC_121_LABELS, aX as CVC_121_MILITARY_STATUS, aY as CVC_121_VALUES, aZ as CVC_122_LABELS, a_ as CVC_122_PRIMARY_LANGUAGE, a$ as CVC_122_VALUES, b0 as CVC_126_CATEGORY, b1 as CVC_126_CATEGORY_LABELS, b2 as CVC_126_LABELS, b3 as CVC_126_OPTIONS, b4 as CVC_126_PERSON_RELATIONSHIP, b5 as CVC_126_PROTECTED_CATEGORIES, b6 as CVC_126_TYPE_TO_CATEGORY, b7 as CVC_126_VALUES, b8 as CVC_136_ALERT_INDICATOR, b9 as CVC_136_CATEGORY_LABELS, ba as CVC_136_INDICATOR_CATEGORY, bb as CVC_136_LABELS, bc as CVC_136_OPTIONS, bd as CVC_136_TYPE_TO_CATEGORY, be as CVC_136_VALUES, bf as CVC_145_CATEGORY, bg as CVC_145_CATEGORY_LABELS, bh as CVC_145_CATEGORY_ORDER, bi as CVC_145_LABELS, bj as CVC_145_OPTIONS, bk as CVC_145_RELATIONSHIP_DYNAMICS, bl as CVC_145_SELECTABLE_OPTIONS, bm as CVC_145_TYPE_TO_CATEGORY, bn as CVC_145_VALUES, bo as CVC_147_LABELS, bp as CVC_147_PRONOUNS, bq as CVC_147_VALUES, br as CVC_148_LABELS, bs as CVC_148_TRIBES, bt as CVC_148_VALUES, bu as CVC_150_EYE_COLOR, bv as CVC_150_LABELS, bw as CVC_150_VALUES, bx as CVC_151_HAIR_COLOR, by as CVC_151_LABELS, bz as CVC_151_VALUES, bA as CVC_152_HAS_TATTOOS, bB as CVC_152_LABELS, bC as CVC_152_VALUES, bD as CVC_153_LABELS, bE as CVC_153_SMT_TYPE, bF as CVC_153_VALUES, bG as CVC_156_LABELS, bH as CVC_156_MARITAL_STATUS, bI as CVC_156_VALUES, bJ as CVC_157_LABELS, bK as CVC_157_RELATIONSHIP_STATUS, bL as CVC_157_VALUES, bM as CVC_158_CUSTODY_STATUS, bN as CVC_158_LABELS, bO as CVC_158_VALUES, bP as CVC_159_CATEGORY, bQ as CVC_159_CATEGORY_LABELS, bR as CVC_159_CATEGORY_ORDER, bS as CVC_159_LABELS, bT as CVC_159_OPTIONS, bU as CVC_159_RELATIONSHIP_TIES, bV as CVC_159_SELECTABLE_OPTIONS, bW as CVC_159_TYPE_TO_CATEGORY, bX as CVC_159_VALUES, bY as CVC_15_CORE_SEX, bZ as CVC_15_LABELS, b_ as CVC_15_SELECTABLE_VALUES, b$ as CVC_16_CORE_ORIENTATION, c0 as CVC_16_LABELS, c1 as CVC_16_LGBTQ_VALUES, c2 as CVC_171_CATEGORY, c3 as CVC_171_CATEGORY_LABELS, c4 as CVC_171_CHILD_TO_PARENT, c5 as CVC_171_INCOME_BENEFITS, c6 as CVC_171_INCOME_SOURCES, c7 as CVC_171_LABELS, c8 as CVC_171_PARENT_CHILDREN, c9 as CVC_171_SELECTABLE_OPTIONS, ca as CVC_171_VALUES, cb as CVC_171_VALUE_TO_CATEGORY, cc as CVC_179_CHILD_TO_PARENT, cd as CVC_179_EMPLOYMENT_STATUS, ce as CVC_179_HIERARCHICAL_CATEGORY, cf as CVC_179_HIERARCHICAL_CATEGORY_LABELS, cg as CVC_179_HIERARCHICAL_CATEGORY_ORDER, ch as CVC_179_HIERARCHICAL_LABELS, ci as CVC_179_HIERARCHICAL_VALUES, cj as CVC_179_LABELS, ck as CVC_179_PARENT_CHILDREN, cl as CVC_179_PRIMARY_CATEGORY, cm as CVC_179_SELECTABLE_OPTIONS, cn as CVC_179_VALUES, co as CVC_179_VALUE_TO_CATEGORY, cp as CVC_17_CORE_GENDER_IDENTITY, cq as CVC_17_LABELS, cr as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, cs as CVC_17_LEVEL_1_OPTIONS, ct as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, cu as CVC_17_TRANSGENDER_VALUES, cv as CVC_180_EDUCATION_LEVEL, cw as CVC_180_LABELS, cx as CVC_180_ORDINAL, cy as CVC_180_VALUES, cz as CVC_181_COUNTRIES, cA as CVC_181_LABELS, cB as CVC_196_CHILD_WELFARE_EPISODE_TYPE, cC as CVC_196_LABELS, cD as CVC_196_VALUES, cE as CVC_1_LABELS, cF as CVC_1_NAME_TYPE, cG as CVC_1_STRUCTURED_NAME_TYPES, cH as CVC_1_UNSTRUCTURED_NAME_TYPES, cI as CVC_1_VALUES, cJ as CVC_67_HMIS_SEX, cK as CVC_67_LABELS, cL as CVC_67_MISSINGNESS_VALUES, cM as CVC_67_SELECTABLE_VALUES, cN as CVC_72_HT_TYPE, cO as CVC_72_LABELS, cP as CVC_72_VALUES, cQ as CVC_76_LABELS, cR as CVC_76_RACE_ETHNICITY, cS as CVC_76_VALUES, cT as CVC_93_CHILD_WELFARE_INVOLVEMENT, cU as CVC_93_LABELS, cV as CVC_93_VALUES, cW as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, cX as CVC_95_LABELS, cY as CVC_95_VALUES, cZ as CVC_96_HOMELESS_STATUS, c_ as CVC_96_LABELS, c$ as CVC_96_VALUES, d0 as CVC_97_IMMIGRANT_REFUGEE, d1 as CVC_97_LABELS, d2 as CVC_97_VALUES, d3 as CVC_98_LABELS, d4 as CVC_98_US_VETERAN, d5 as CVC_98_VALUES, d6 as CVC_99_ENGLISH_PROFICIENCY, d7 as CVC_99_LABELS, d8 as CVC_99_VALUES, d9 as DATA_QUALITY, da as DATA_QUALITY_DESCRIPTIONS, db as DATA_QUALITY_LABELS, dc as DATA_QUALITY_VALUES, dd as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, D as DataQualityValue, de as FORM_STATUS, df as FORM_STATUS_LABELS, dg as FORM_TYPE, dh as FORM_TYPE_LABELS, di as FUNCTION_STATUS, dj as FUNCTION_STATUS_LABELS, dk as FUNCTION_STATUS_VALUES, e as FormStatusValue, f as FormTypeValue, F as FunctionStatusValue, I as IC13Category, dl as IC13PriorityGroup, g as IC13Value, h as IC22Value, i as IC23Value, j as IC24Value, k as IC25Value, l as IC49ReferralOutcomeValue, m as IC49ReferralVerificationValue, n as IC49Value, o as IC4Value, dm as IC56ChannelValue, p as IC56Value, q as IC57Value, dn as IC58ExternalCategory, r as IC58Value, s as IC59Value, t as IC5Value, dp as IC_13_CATEGORIES, dq as IC_13_CATEGORY_ORDER, dr as IC_13_LABELS, ds as IC_13_PRIORITY_GROUPS, dt as IC_13_RELATIONSHIP_ABBREV, du as IC_13_RELATIONSHIP_TYPE, dv as IC_13_REVERSE_CONTEXT_LABELS, dw as IC_22_CORE_SEX, dx as IC_22_LABELS, dy as IC_23_CORE_GENDER_IDENTITY, dz as IC_23_LABELS, dA as IC_24_LABELS, dB as IC_24_RACE, dC as IC_25_ETHNICITY, dD as IC_25_LABELS, dE as IC_48_SERVICE_CATEGORIES, dF as IC_49_DESCRIPTIONS, dG as IC_49_LABELS, dH as IC_49_REFERRAL_OUTCOME, dI as IC_49_REFERRAL_OUTCOME_LABELS, dJ as IC_49_REFERRAL_VERIFICATION, dK as IC_49_REFERRAL_VERIFICATION_LABELS, dL as IC_49_SERVICE_MECHANISM, dM as IC_4_AGE_TYPE, dN as IC_4_LABELS, dO as IC_56_DESCRIPTIONS, dP as IC_56_LABELS, dQ as IC_56_OPTIONS, dR as IC_56_SERVICE_DELIVERY_CHANNEL, dS as IC_57_LABELS, dT as IC_57_SERVICE_AUDIENCE, dU as IC_58_EXTERNAL_TIERED, dV as IC_58_LABELS, dW as IC_58_ORG_TYPE_GROUPS, dX as IC_58_PRIMARY_BRANCHES, dY as IC_58_REFERRAL_ENTITY, dZ as IC_59_LABELS, d_ as IC_59_SERVICE_STATE, d$ as IC_5_FULL_LABELS, e0 as IC_5_LABELS, e1 as IC_5_VICTIMIZATION, e2 as INCIDENT_INVOLVEMENT_ROLE, e3 as INCIDENT_INVOLVEMENT_ROLE_LABELS, e4 as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, e5 as INCIDENT_PARTICIPATION_ROLE, e6 as INCIDENT_PARTICIPATION_ROLE_LABELS, e7 as INCIDENT_PARTICIPATION_ROLE_VALUES, e8 as INTERACTION_TYPES, e9 as INTERACTION_TYPE_LABELS, ea as INVOLVEMENT_ROLE_TO_PERSON_TYPE, u as IncidentInvolvementRoleValue, v as IncidentParticipationRoleValue, w as InteractionTypeValue, eb as MINOR_ADULT_STATUS, ec as MINOR_ADULT_STATUS_LABELS, M as MinorAdultStatusValue, ed as OrgTypeGroup, ee as PARTICIPATION_ROLE_CATEGORIES, ef as PERMISSION_STATE, eg as PERMISSION_STATE_DISPLAY, eh as PERMISSION_STATE_LABELS, ei as PERMISSION_STATE_VALUES, ej as PERSON_DISPLAY_CATEGORY, ek as PERSON_DISPLAY_CATEGORY_LABELS, el as PERSON_ROLES, em as PERSON_TYPE, en as PERSON_TYPE_VALUES, eo as PLATFORM_TOOL, ep as PLATFORM_TOOL_LABELS, eq as PLATFORM_TOOL_VALUES, a as PermissionStateValue, x as PersonDisplayCategoryValue, y as PersonRoleValue, z as PersonTypeValue, P as PlatformToolValue, er as QUESTION_FORMAT, es as QUESTION_FORMAT_LABELS, et as QUICK_START_CONFIG, eu as QUICK_START_LABELS, ev as QUICK_START_TEMPLATES, Q as QuestionFormatValue, B as QuickStartTemplateId, ew as RECORD_STATES, ex as RECORD_STATE_LABELS, ey as RELATIONSHIP_CONCERNS, ez as RELATIONSHIP_CONCERNS_LABELS, eA as RELATIONSHIP_CONCERNS_VALUES, eB as RELATIONSHIP_DYNAMICS, eC as RELATIONSHIP_DYNAMICS_LABELS, eD as RELATIONSHIP_DYNAMICS_VALUES, eE as ROLE_LEVEL, eF as ROLE_LEVEL_LABELS, eG as ROLE_LEVEL_VALUES, C as RecordStateValue, eH as ReferralBranch, E as RelationshipConcernValue, G as RelationshipDynamicValue, R as RoleLevelValue, eI as SESSION_STATES, eJ as SESSION_STATE_LABELS, eK as SHARE_VIEW, eL as SHARE_VIEW_LABELS, eM as SHARE_VIEW_VALUES, eN as SUBMISSION_STATES, eO as SUBMISSION_STATE_LABELS, eP as ServiceCategory, eQ as ServiceCategoryChild, H as SessionStateValue, S as ShareViewValue, J as SubmissionStateValue, eR as THREAD_INVOLVEMENT_ROLES, eS as USER_STATUS, eT as USER_STATUS_LABELS, U as UserStatusValue, eU as VALID_INTERACTION_TYPES, eV as VALID_RECORD_STATES, eW as deriveAgeBinFromAge, eX as getDisplayCategoryForRole, eY as getPersonTypeForRole, eZ as getRelationshipCategory, e_ as isIC56Missingness, e$ as isIC56ValidChannel, f0 as isLgbtqOrientation, f1 as isProtectedRelationship, f2 as isStructuredNameType, f3 as isTransgenderGenderIdentity, f4 as sortRelationshipsByPriority } from './platform-auth-XVB9aHqR.js';
2
2
  export { IC48Catalog, IC48CatalogMeta, IC48Category, IC48CategoryCrosswalk, IC48CrisisServiceId, IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory } from './constants/index.js';
3
3
  export { Address, Demographics, Email, PersonName, Phone, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema } from './schemas/index.js';
4
- export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-DaDrEuTa.js';
5
- export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-C0J3f169.js';
4
+ export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-0BIB9sen.js';
5
+ export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-CDoqrfc1.js';
6
6
  export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.js';
7
7
  export { CvcCode, CvcCodeSchema, CvcDomain, CvcEntrySchema, CvcEnvelope, CvcEnvelopeSchema, CvcKey, CvcKeySchema, ServiceCategoryEntry, ServiceCategoryEntrySchema } from './validation/index.js';
8
- export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, basisQuickPicksSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childCustodyArrangementSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactSafetyStatusSot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hmisProjectTypeSot, hmisRelationshipToHohSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, nameTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, preferredContactMethodSot, primaryLanguageSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, qualityFlagsSot, raceEthnicitySot, recencyBandSot, referenceLinkTypeSot, referralEntityCategorySot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, roleContextSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionStateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceSubtypeSot, substanceUseStatusSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, tribesSot, verificationMethodSot, verificationStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot } from './cvcs/index.js';
8
+ export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, basisQuickPicksSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childCustodyArrangementSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactSafetyStatusSot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hmisProjectTypeSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, identificationStatusSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, locationTypeSot, maritalStatusLegalSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, nameTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, preferredContactMethodSot, primaryLanguageSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, qualityFlagsSot, raceEthnicitySot, referenceLinkTypeSot, referralEntityCategorySot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, roleContextSot, rsvpResponseSot, serviceCategoriesSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionStateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceSubtypeSot, substanceUseStatusSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, tribesSot, verificationMethodSot, verificationStatusSot, victimStatusFamilySot, visaTypeSot } from './cvcs/index.js';
9
9
  import 'mongoose';
10
10
  import 'zod';
11
11
 
@@ -181,7 +181,7 @@ type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
181
181
  /**
182
182
  * Key → positional code map for the `service_states` CVC domain.
183
183
  *
184
- * Domain: `service_states` · Version: 1.0.0 · Entries: 17
184
+ * Domain: `service_states` · Version: 1.0.0 · Entries: 15
185
185
  */
186
186
  declare const ServiceStateKeys: {
187
187
  readonly missingness_root: "049-000-000-000-000-000-000";
@@ -199,8 +199,6 @@ declare const ServiceStateKeys: {
199
199
  readonly unable_to_provide_capacity: "049-007-002-000-000-000-000";
200
200
  readonly unable_to_provide_resource: "049-007-003-000-000-000-000";
201
201
  readonly unable_other_reason: "049-007-004-000-000-000-000";
202
- readonly unable_to_provide_service_fit: "049-007-005-000-000-000-000";
203
- readonly unable_to_provide_access_barrier: "049-007-006-000-000-000-000";
204
202
  };
205
203
  type ServiceStateKey = keyof typeof ServiceStateKeys;
206
204
  /**
@@ -803,7 +801,7 @@ type ContactSafetyStatusKey = keyof typeof ContactSafetyStatusKeys;
803
801
  /**
804
802
  * Key → positional code map for the `highest_education_level_completed` CVC domain.
805
803
  *
806
- * Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 13
804
+ * Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 12
807
805
  */
808
806
  declare const HighestEducationLevelCompletedKeys: {
809
807
  readonly missingness_root: "180-000-000-000-000-000-000";
@@ -818,7 +816,6 @@ declare const HighestEducationLevelCompletedKeys: {
818
816
  readonly associates: "180-005-000-000-000-000-000";
819
817
  readonly bachelors: "180-006-000-000-000-000-000";
820
818
  readonly graduate_professional: "180-007-000-000-000-000-000";
821
- readonly trade_vocational: "180-008-000-000-000-000-000";
822
819
  };
823
820
  type HighestEducationLevelCompletedKey = keyof typeof HighestEducationLevelCompletedKeys;
824
821
  /**
@@ -1301,7 +1298,7 @@ type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
1301
1298
  /**
1302
1299
  * Key → positional code map for the `income_benefits_sources` CVC domain.
1303
1300
  *
1304
- * Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 41
1301
+ * Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 38
1305
1302
  */
1306
1303
  declare const IncomeBenefitsSourcesKeys: {
1307
1304
  readonly missingness_root: "171-000-000-000-000-000-000";
@@ -1311,7 +1308,6 @@ declare const IncomeBenefitsSourcesKeys: {
1311
1308
  readonly prefer_not_to_answer: "171-000-000-000-000-000-004";
1312
1309
  readonly earned_income: "171-001-000-000-000-000-000";
1313
1310
  readonly employment: "171-001-001-000-000-000-000";
1314
- readonly informal_income: "171-001-002-000-000-000-000";
1315
1311
  readonly cash_benefit: "171-002-000-000-000-000-000";
1316
1312
  readonly unemployment_insurance: "171-002-001-000-000-000-000";
1317
1313
  readonly supplemental_security_income: "171-002-002-000-000-000-000";
@@ -1339,12 +1335,10 @@ declare const IncomeBenefitsSourcesKeys: {
1339
1335
  readonly transfer_support: "171-004-000-000-000-000-000";
1340
1336
  readonly child_support: "171-004-001-000-000-000-000";
1341
1337
  readonly alimony_spousal_support: "171-004-002-000-000-000-000";
1342
- readonly family_friend_support: "171-004-003-000-000-000-000";
1343
1338
  readonly other_unspecified: "171-005-000-000-000-000-000";
1344
1339
  readonly other_income: "171-005-001-000-000-000-000";
1345
1340
  readonly other_benefit: "171-005-002-000-000-000-000";
1346
1341
  readonly education_stipend: "171-005-003-000-000-000-000";
1347
- readonly victim_compensation: "171-006-000-000-000-000-000";
1348
1342
  };
1349
1343
  type IncomeBenefitsSourcesKey = keyof typeof IncomeBenefitsSourcesKeys;
1350
1344
  /**
@@ -1439,7 +1433,7 @@ type SourceCategoryKey = keyof typeof SourceCategoryKeys;
1439
1433
  /**
1440
1434
  * Key → positional code map for the `source_subtype` CVC domain.
1441
1435
  *
1442
- * Domain: `source_subtype` · Version: 1.1.0 · Entries: 39
1436
+ * Domain: `source_subtype` · Version: 1.1.0 · Entries: 35
1443
1437
  */
1444
1438
  declare const SourceSubtypeKeys: {
1445
1439
  readonly missingness_root: "141-000-000-000-000-000-000";
@@ -1477,10 +1471,6 @@ declare const SourceSubtypeKeys: {
1477
1471
  readonly system_import: "141-029-000-000-000-000-000";
1478
1472
  readonly third_party_report: "141-030-000-000-000-000-000";
1479
1473
  readonly victim_disclosure: "141-031-000-000-000-000-000";
1480
- readonly advocate_capture: "141-032-000-000-000-000-000";
1481
- readonly advocate_assessment: "141-033-000-000-000-000-000";
1482
- readonly child_welfare_episode_edit: "141-034-000-000-000-000-000";
1483
- readonly juvenile_justice_episode_edit: "141-035-000-000-000-000-000";
1484
1474
  };
1485
1475
  type SourceSubtypeKey = keyof typeof SourceSubtypeKeys;
1486
1476
  /**
@@ -1551,7 +1541,7 @@ type TimeScopeKey = keyof typeof TimeScopeKeys;
1551
1541
  /**
1552
1542
  * Key → positional code map for the `verification_method` CVC domain.
1553
1543
  *
1554
- * Domain: `verification_method` · Version: 1.0.0 · Entries: 11
1544
+ * Domain: `verification_method` · Version: 1.0.0 · Entries: 9
1555
1545
  */
1556
1546
  declare const VerificationMethodKeys: {
1557
1547
  readonly missingness_root: "143-000-000-000-000-000-000";
@@ -1563,8 +1553,6 @@ declare const VerificationMethodKeys: {
1563
1553
  readonly multi_source_corroboration: "143-003-000-000-000-000-000";
1564
1554
  readonly qa_audit_passed: "143-004-000-000-000-000-000";
1565
1555
  readonly supervisor_review: "143-005-000-000-000-000-000";
1566
- readonly rules: "143-006-000-000-000-000-000";
1567
- readonly still_reaches: "143-007-000-000-000-000-000";
1568
1556
  };
1569
1557
  type VerificationMethodKey = keyof typeof VerificationMethodKeys;
1570
1558
  /**
@@ -2608,7 +2596,7 @@ type HopeScaleTierKey = keyof typeof HopeScaleTierKeys;
2608
2596
  /**
2609
2597
  * Key → positional code map for the `identification_status` CVC domain.
2610
2598
  *
2611
- * Domain: `identification_status` · Version: 1.0.0 · Entries: 9
2599
+ * Domain: `identification_status` · Version: 1.0.0 · Entries: 7
2612
2600
  */
2613
2601
  declare const IdentificationStatusKeys: {
2614
2602
  readonly missingness_root: "929-000-000-000-000-000-000";
@@ -2618,8 +2606,6 @@ declare const IdentificationStatusKeys: {
2618
2606
  readonly identified: "929-001-000-000-000-000-000";
2619
2607
  readonly unidentified: "929-002-000-000-000-000-000";
2620
2608
  readonly anonymous_posture: "929-003-000-000-000-000-000";
2621
- readonly estimated_persona: "929-004-000-000-000-000-000";
2622
- readonly confirmed: "929-005-000-000-000-000-000";
2623
2609
  };
2624
2610
  type IdentificationStatusKey = keyof typeof IdentificationStatusKeys;
2625
2611
  /**
@@ -3090,382 +3076,43 @@ declare const ThreadTypeKeys: {
3090
3076
  readonly investigative_request: "961-005-000-000-000-000-000";
3091
3077
  };
3092
3078
  type ThreadTypeKey = keyof typeof ThreadTypeKeys;
3079
+
3093
3080
  /**
3094
- * Key → positional code map for the `living_situation` CVC domain.
3095
- *
3096
- * Domain: `living_situation` · Version: 1.0.0 · Entries: 22
3097
- */
3098
- declare const LivingSituationKeys: {
3099
- readonly missingness_root: "192-000-000-000-000-000-000";
3100
- readonly unknown: "192-000-000-000-000-000-001";
3101
- readonly anonymous: "192-000-000-000-000-000-002";
3102
- readonly data_not_collected: "192-000-000-000-000-000-003";
3103
- readonly unsheltered: "192-001-000-000-000-000-000";
3104
- readonly emergency_shelter: "192-002-000-000-000-000-000";
3105
- readonly safe_haven: "192-003-000-000-000-000-000";
3106
- readonly dv_shelter_safe_house: "192-004-000-000-000-000-000";
3107
- readonly homeless_unspecified: "192-005-000-000-000-000-000";
3108
- readonly hospital_medical: "192-006-000-000-000-000-000";
3109
- readonly psychiatric_residential_facility: "192-007-000-000-000-000-000";
3110
- readonly substance_use_treatment_residential: "192-008-000-000-000-000-000";
3111
- readonly incarcerated: "192-009-000-000-000-000-000";
3112
- readonly cw_foster_care: "192-010-000-000-000-000-000";
3113
- readonly cw_kinship: "192-011-000-000-000-000-000";
3114
- readonly long_term_care: "192-012-000-000-000-000-000";
3115
- readonly transitional_housing_program: "192-013-000-000-000-000-000";
3116
- readonly temp_housing_program: "192-014-000-000-000-000-000";
3117
- readonly hotel_motel_non_shelter: "192-015-000-000-000-000-000";
3118
- readonly own_rent: "192-016-000-000-000-000-000";
3119
- readonly with_family_friends: "192-017-000-000-000-000-000";
3120
- readonly other: "192-018-000-000-000-000-000";
3121
- };
3122
- type LivingSituationKey = keyof typeof LivingSituationKeys;
3123
- /**
3124
- * Key → positional code map for the `service_audience` CVC domain.
3125
- *
3126
- * Domain: `service_audience` · Version: 1.0.0 · Entries: 9
3127
- */
3128
- declare const ServiceAudienceKeys: {
3129
- readonly missingness_root: "045-000-000-000-000-000-000";
3130
- readonly unknown: "045-000-000-000-000-000-001";
3131
- readonly anonymous: "045-000-000-000-000-000-002";
3132
- readonly data_not_collected: "045-000-000-000-000-000-003";
3133
- readonly primary_victim: "045-001-000-000-000-000-000";
3134
- readonly eligible_family_member: "045-002-000-000-000-000-000";
3135
- readonly third_party: "045-003-000-000-000-000-000";
3136
- readonly offender: "045-004-000-000-000-000-000";
3137
- readonly personnel: "045-005-000-000-000-000-000";
3138
- };
3139
- type ServiceAudienceKey = keyof typeof ServiceAudienceKeys;
3140
- /**
3141
- * Key → positional code map for the `hmis_relationship_to_hoh` CVC domain.
3142
- *
3143
- * Domain: `hmis_relationship_to_hoh` · Version: 1.0.0 · Entries: 9
3144
- */
3145
- declare const HmisRelationshipToHohKeys: {
3146
- readonly missingness_root: "129-000-000-000-000-000-000";
3147
- readonly unknown: "129-000-000-000-000-000-001";
3148
- readonly anonymous: "129-000-000-000-000-000-002";
3149
- readonly data_not_collected: "129-000-000-000-000-000-003";
3150
- readonly self_hoh: "129-001-000-000-000-000-000";
3151
- readonly child_of_hoh: "129-002-000-000-000-000-000";
3152
- readonly spouse_or_partner_of_hoh: "129-003-000-000-000-000-000";
3153
- readonly other_relative_of_hoh: "129-004-000-000-000-000-000";
3154
- readonly non_relation_member: "129-005-000-000-000-000-000";
3155
- };
3156
- type HmisRelationshipToHohKey = keyof typeof HmisRelationshipToHohKeys;
3157
- /**
3158
- * Key → positional code map for the `victim_abuse_types` CVC domain.
3159
- *
3160
- * Domain: `victim_abuse_types` · Version: 1.0.0 · Entries: 29
3161
- */
3162
- declare const VictimAbuseTypesKeys: {
3163
- readonly missingness_root: "073-000-000-000-000-000-000";
3164
- readonly unknown: "073-000-000-000-000-000-001";
3165
- readonly anonymous: "073-000-000-000-000-000-002";
3166
- readonly data_not_collected: "073-000-000-000-000-000-003";
3167
- readonly adult_physical_assault: "073-001-000-000-000-000-000";
3168
- readonly adult_sexual_assault: "073-002-000-000-000-000-000";
3169
- readonly arson: "073-003-000-000-000-000-000";
3170
- readonly bullying: "073-004-000-000-000-000-000";
3171
- readonly burglary: "073-005-000-000-000-000-000";
3172
- readonly child_physical_abuse_or_neglect: "073-006-000-000-000-000-000";
3173
- readonly child_pornography: "073-007-000-000-000-000-000";
3174
- readonly child_sexual_abuse_assault: "073-008-000-000-000-000-000";
3175
- readonly domestic_and_or_family_violence: "073-009-000-000-000-000-000";
3176
- readonly dui_dwi_incidents: "073-010-000-000-000-000-000";
3177
- readonly elder_abuse: "073-011-000-000-000-000-000";
3178
- readonly gang_violence: "073-012-000-000-000-000-000";
3179
- readonly hate_crime: "073-013-000-000-000-000-000";
3180
- readonly homicide: "073-014-000-000-000-000-000";
3181
- readonly identity_theft: "073-015-000-000-000-000-000";
3182
- readonly kidnapping_custodial: "073-016-000-000-000-000-000";
3183
- readonly kidnapping_noncustodial: "073-017-000-000-000-000-000";
3184
- readonly mass_violence: "073-018-000-000-000-000-000";
3185
- readonly other: "073-019-000-000-000-000-000";
3186
- readonly other_vehicular: "073-020-000-000-000-000-000";
3187
- readonly robbery: "073-021-000-000-000-000-000";
3188
- readonly stalking_harassment: "073-022-000-000-000-000-000";
3189
- readonly survivors_of_homicide_victims: "073-023-000-000-000-000-000";
3190
- readonly teen_dating_victimization: "073-024-000-000-000-000-000";
3191
- readonly terrorism: "073-025-000-000-000-000-000";
3192
- };
3193
- type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
3194
- /**
3195
- * Key → positional code map for the `ht_type` CVC domain.
3196
- *
3197
- * Domain: `ht_type` · Version: 1.0.0 · Entries: 8
3198
- */
3199
- declare const HtTypeKeys: {
3200
- readonly missingness_root: "072-000-000-000-000-000-000";
3201
- readonly unknown: "072-000-000-000-000-000-001";
3202
- readonly anonymous: "072-000-000-000-000-000-002";
3203
- readonly data_not_collected: "072-000-000-000-000-000-003";
3204
- readonly sex: "072-001-000-000-000-000-000";
3205
- readonly labor: "072-002-000-000-000-000-000";
3206
- readonly sex_and_labor: "072-003-000-000-000-000-000";
3207
- readonly none: "072-004-000-000-000-000-000";
3208
- };
3209
- type HtTypeKey = keyof typeof HtTypeKeys;
3210
- /**
3211
- * Key → positional code map for the `relationship_concern` CVC domain (PROVISIONAL CVC-231 — pending codebook ratification).
3212
- *
3213
- * Domain: `relationship_concern` · Version: 1.0.0 · Entries: 11
3214
- */
3215
- declare const RelationshipConcernKeys: {
3216
- readonly missingness_root: "231-000-000-000-000-000-000";
3217
- readonly unknown: "231-000-000-000-000-000-001";
3218
- readonly anonymous: "231-000-000-000-000-000-002";
3219
- readonly data_not_collected: "231-000-000-000-000-000-003";
3220
- readonly appears_controlling: "231-001-000-000-000-000-000";
3221
- readonly is_much_older: "231-002-000-000-000-000-000";
3222
- readonly physically_abusive: "231-003-000-000-000-000-000";
3223
- readonly emotionally_abusive: "231-004-000-000-000-000-000";
3224
- readonly has_legal_involvement: "231-005-000-000-000-000-000";
3225
- readonly is_known_trafficker_or_suspect: "231-006-000-000-000-000-000";
3226
- readonly other_concern: "231-007-000-000-000-000-000";
3227
- };
3228
- type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
3229
- /**
3230
- * Key → positional code map for the `recency_band` CVC domain (PROVISIONAL CVC-232 — pending codebook ratification).
3231
- *
3232
- * Domain: `recency_band` · Version: 1.0.0 · Entries: 10
3233
- */
3234
- declare const RecencyBandKeys: {
3235
- readonly missingness_root: "232-000-000-000-000-000-000";
3236
- readonly unknown: "232-000-000-000-000-000-001";
3237
- readonly anonymous: "232-000-000-000-000-000-002";
3238
- readonly data_not_collected: "232-000-000-000-000-000-003";
3239
- readonly within_3_months: "232-001-000-000-000-000-000";
3240
- readonly months_3_to_6: "232-002-000-000-000-000-000";
3241
- readonly months_6_to_12: "232-003-000-000-000-000-000";
3242
- readonly one_year_or_more: "232-004-000-000-000-000-000";
3243
- readonly years_3_to_10: "232-005-000-000-000-000-000";
3244
- readonly ten_plus_years: "232-006-000-000-000-000-000";
3245
- };
3246
- type RecencyBandKey = keyof typeof RecencyBandKeys;
3247
- /**
3248
- * Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
3249
- *
3250
- * Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries: 16
3251
- */
3252
- declare const HousingSubsidyTypesKeys: {
3253
- readonly missingness_root: "233-000-000-000-000-000-000";
3254
- readonly unknown: "233-000-000-000-000-000-001";
3255
- readonly anonymous: "233-000-000-000-000-000-002";
3256
- readonly data_not_collected: "233-000-000-000-000-000-003";
3257
- readonly housing_choice_voucher: "233-001-000-000-000-000-000";
3258
- readonly public_housing: "233-002-000-000-000-000-000";
3259
- readonly project_based_rental_assistance: "233-003-000-000-000-000-000";
3260
- readonly permanent_supportive_housing: "233-004-000-000-000-000-000";
3261
- readonly rapid_rehousing_assistance: "233-005-000-000-000-000-000";
3262
- readonly other_housing_subsidy: "233-006-000-000-000-000-000";
3263
- readonly no_subsidy: "233-007-000-000-000-000-000";
3264
- readonly va_supportive_housing: "233-008-000-000-000-000-000";
3265
- readonly grant_per_diem_transition_in_place: "233-009-000-000-000-000-000";
3266
- readonly housing_stability_voucher: "233-010-000-000-000-000-000";
3267
- readonly family_unification_program: "233-011-000-000-000-000-000";
3268
- readonly foster_youth_to_independence: "233-012-000-000-000-000-000";
3269
- };
3270
- type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
3271
- /**
3272
- * Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
3273
- *
3274
- * Domain: `assertion_domain` · Version: 1.0.0 · Entries: 68
3275
- */
3276
- declare const AssertionDomainKeys: {
3277
- readonly missingness_root: "964-000-000-000-000-000-000";
3278
- readonly unknown: "964-000-000-000-000-000-001";
3279
- readonly anonymous: "964-000-000-000-000-000-002";
3280
- readonly data_not_collected: "964-000-000-000-000-000-003";
3281
- readonly indicator: "964-001-000-000-000-000-000";
3282
- readonly risk_signal: "964-002-000-000-000-000-000";
3283
- readonly victim_status: "964-003-000-000-000-000-000";
3284
- readonly offender_status: "964-004-000-000-000-000-000";
3285
- readonly domain_determination: "964-005-000-000-000-000-000";
3286
- readonly victimization_or_abuse_type: "964-006-000-000-000-000-000";
3287
- readonly assessment_scale: "964-007-000-000-000-000-000";
3288
- readonly recommended_followup: "964-008-000-000-000-000-000";
3289
- readonly relationship: "964-009-000-000-000-000-000";
3290
- readonly household_relationships: "964-010-000-000-000-000-000";
3291
- readonly relationship_tie: "964-011-000-000-000-000-000";
3292
- readonly relationship_dynamics: "964-012-000-000-000-000-000";
3293
- readonly relationship_status_current: "964-013-000-000-000-000-000";
3294
- readonly marital_status_legal: "964-014-000-000-000-000-000";
3295
- readonly core_profile: "964-015-000-000-000-000-000";
3296
- readonly person_tile: "964-016-000-000-000-000-000";
3297
- readonly person_relationship: "964-017-000-000-000-000-000";
3298
- readonly relevant_people: "964-018-000-000-000-000-000";
3299
- readonly name: "964-019-000-000-000-000-000";
3300
- readonly contact_info: "964-020-000-000-000-000-000";
3301
- readonly address: "964-021-000-000-000-000-000";
3302
- readonly vehicle: "964-022-000-000-000-000-000";
3303
- readonly income_history: "964-023-000-000-000-000-000";
3304
- readonly physical_description: "964-024-000-000-000-000-000";
3305
- readonly living_situation: "964-025-000-000-000-000-000";
3306
- readonly pet: "964-026-000-000-000-000-000";
3307
- readonly protection_order: "964-027-000-000-000-000-000";
3308
- readonly log_entry: "964-028-000-000-000-000-000";
3309
- readonly session_note: "964-029-000-000-000-000-000";
3310
- readonly referral_source: "964-030-000-000-000-000-000";
3311
- readonly org_directory: "964-031-000-000-000-000-000";
3312
- readonly person_directory: "964-032-000-000-000-000-000";
3313
- readonly service_delivery: "964-033-000-000-000-000-000";
3314
- readonly needs_assessment: "964-034-000-000-000-000-000";
3315
- readonly priorities_and_safety: "964-035-000-000-000-000-000";
3316
- readonly share: "964-036-000-000-000-000-000";
3317
- readonly roi: "964-037-000-000-000-000-000";
3318
- readonly external_recipient: "964-038-000-000-000-000-000";
3319
- readonly access_accommodations: "964-039-000-000-000-000-000";
3320
- readonly danger_assessment: "964-040-000-000-000-000-000";
3321
- readonly hope_scale: "964-041-000-000-000-000-000";
3322
- readonly injury_and_strangulation: "964-042-000-000-000-000-000";
3323
- readonly lethality_assessment_program: "964-043-000-000-000-000-000";
3324
- readonly occupational_background: "964-044-000-000-000-000-000";
3325
- readonly household_tenure: "964-045-000-000-000-000-000";
3326
- readonly program_enrollment: "964-046-000-000-000-000-000";
3327
- readonly program_enrollment_exit_wizard: "964-047-000-000-000-000-000";
3328
- readonly goal: "964-048-000-000-000-000-000";
3329
- readonly action_step: "964-049-000-000-000-000-000";
3330
- readonly milestone: "964-050-000-000-000-000-000";
3331
- readonly check_in: "964-051-000-000-000-000-000";
3332
- readonly goal_signature: "964-052-000-000-000-000-000";
3333
- readonly subject_functional_role: "964-053-000-000-000-000-000";
3334
- readonly worker_subrole: "964-054-000-000-000-000-000";
3335
- readonly offender_status_family: "964-055-000-000-000-000-000";
3336
- readonly assessment_rating: "964-056-000-000-000-000-000";
3337
- readonly immigration_legal_status: "964-057-000-000-000-000-000";
3338
- readonly persons_network: "964-058-000-000-000-000-000";
3339
- readonly lifecycle_services: "964-059-000-000-000-000-000";
3340
- readonly juvenile_justice_involvement: "964-060-000-000-000-000-000";
3341
- readonly child_welfare_involvement: "964-061-000-000-000-000-000";
3342
- readonly facilitator_role: "964-062-000-000-000-000-000";
3343
- readonly facilitator_subrole: "964-063-000-000-000-000-000";
3344
- readonly facilitator_entity_type: "964-064-000-000-000-000-000";
3345
- };
3346
- type AssertionDomainKey = keyof typeof AssertionDomainKeys;
3347
- /**
3348
- * Key → positional code map for the `activity_type` CVC domain (activity type; PROVISIONAL, pending Notion ratification).
3349
- *
3350
- * Domain: `activity_type` · Version: 1.0.0 · Entries: 14
3351
- */
3352
- declare const ActivityTypeKeys: {
3353
- readonly missingness_root: "965-000-000-000-000-000-000";
3354
- readonly unknown: "965-000-000-000-000-000-001";
3355
- readonly anonymous: "965-000-000-000-000-000-002";
3356
- readonly data_not_collected: "965-000-000-000-000-000-003";
3357
- readonly resided: "965-001-000-000-000-000-000";
3358
- readonly sheltered: "965-002-000-000-000-000-000";
3359
- readonly service_delivered: "965-003-000-000-000-000-000";
3360
- readonly met: "965-004-000-000-000-000-000";
3361
- readonly advertised: "965-005-000-000-000-000-000";
3362
- readonly arrested: "965-006-000-000-000-000-000";
3363
- readonly visited: "965-007-000-000-000-000-000";
3364
- readonly child_welfare_visit: "965-008-000-000-000-000-000";
3365
- readonly incident: "965-009-000-000-000-000-000";
3366
- readonly other: "965-010-000-000-000-000-000";
3367
- };
3368
- type ActivityTypeKey = keyof typeof ActivityTypeKeys;
3369
- /**
3370
- * Key → positional code map for the `provenance_source_id` CVC domain (provenance source id; PROVISIONAL, pending Notion ratification).
3371
- *
3372
- * Domain: `provenance_source_id` · Version: 1.0.0 · Entries: 13
3373
- */
3374
- declare const ProvenanceSourceIdKeys: {
3375
- readonly missingness_root: "966-000-000-000-000-000-000";
3376
- readonly unknown: "966-000-000-000-000-000-001";
3377
- readonly anonymous: "966-000-000-000-000-000-002";
3378
- readonly data_not_collected: "966-000-000-000-000-000-003";
3379
- readonly client_self_report: "966-001-000-000-000-000-000";
3380
- readonly system_derived_ads: "966-002-000-000-000-000-000";
3381
- readonly system_derived_geocoder: "966-003-000-000-000-000-000";
3382
- readonly staff_observation: "966-004-000-000-000-000-000";
3383
- readonly intake_form: "966-005-000-000-000-000-000";
3384
- readonly referral_partner: "966-006-000-000-000-000-000";
3385
- readonly law_enforcement: "966-007-000-000-000-000-000";
3386
- readonly id_document: "966-008-000-000-000-000-000";
3387
- readonly social_profile: "966-009-000-000-000-000-000";
3388
- };
3389
- type ProvenanceSourceIdKey = keyof typeof ProvenanceSourceIdKeys;
3390
- /**
3391
- * Key → positional code map for the `radius_bucket` CVC domain (search radius bucket; PROVISIONAL, pending Notion ratification).
3392
- *
3393
- * Domain: `radius_bucket` · Version: 1.0.0 · Entries: 9
3394
- */
3395
- declare const RadiusBucketKeys: {
3396
- readonly missingness_root: "967-000-000-000-000-000-000";
3397
- readonly unknown: "967-000-000-000-000-000-001";
3398
- readonly anonymous: "967-000-000-000-000-000-002";
3399
- readonly data_not_collected: "967-000-000-000-000-000-003";
3400
- readonly 10: "967-001-000-000-000-000-000";
3401
- readonly 50: "967-002-000-000-000-000-000";
3402
- readonly 100: "967-003-000-000-000-000-000";
3403
- readonly 250: "967-004-000-000-000-000-000";
3404
- readonly 500: "967-005-000-000-000-000-000";
3405
- };
3406
- type RadiusBucketKey = keyof typeof RadiusBucketKeys;
3407
- /**
3408
- * Key → positional code map for the `contact_link_type` CVC domain (contact link type; PROVISIONAL, pending Notion ratification).
3409
- *
3410
- * Domain: `contact_link_type` · Version: 1.0.0 · Entries: 8
3411
- */
3412
- declare const ContactLinkTypeKeys: {
3413
- readonly missingness_root: "968-000-000-000-000-000-000";
3414
- readonly unknown: "968-000-000-000-000-000-001";
3415
- readonly anonymous: "968-000-000-000-000-000-002";
3416
- readonly data_not_collected: "968-000-000-000-000-000-003";
3417
- readonly belongs: "968-001-000-000-000-000-000";
3418
- readonly associated: "968-002-000-000-000-000-000";
3419
- readonly advertises: "968-003-000-000-000-000-000";
3420
- readonly contacted: "968-004-000-000-000-000-000";
3421
- };
3422
- type ContactLinkTypeKey = keyof typeof ContactLinkTypeKeys;
3423
- /**
3424
- * Key → positional code map for the `suggestion_source` CVC domain (goal suggestion source; PROVISIONAL, pending Notion ratification).
3425
- *
3426
- * Domain: `suggestion_source` · Version: 1.0.0 · Entries: 6
3427
- */
3428
- declare const SuggestionSourceKeys: {
3429
- readonly missingness_root: "969-000-000-000-000-000-000";
3430
- readonly unknown: "969-000-000-000-000-000-001";
3431
- readonly anonymous: "969-000-000-000-000-000-002";
3432
- readonly data_not_collected: "969-000-000-000-000-000-003";
3433
- readonly lap: "969-001-000-000-000-000-000";
3434
- readonly ps_step_4: "969-002-000-000-000-000-000";
3435
- };
3436
- type SuggestionSourceKey = keyof typeof SuggestionSourceKeys;
3437
- /**
3438
- * Key → positional code map for the `roi_method` CVC domain (ROI delivery method; PROVISIONAL, pending Notion ratification).
3439
- *
3440
- * Domain: `roi_method` · Version: 1.0.0 · Entries: 10
3441
- */
3442
- declare const RoiMethodKeys: {
3443
- readonly missingness_root: "970-000-000-000-000-000-000";
3444
- readonly unknown: "970-000-000-000-000-000-001";
3445
- readonly anonymous: "970-000-000-000-000-000-002";
3446
- readonly data_not_collected: "970-000-000-000-000-000-003";
3447
- readonly thread_caseshare: "970-001-000-000-000-000-000";
3448
- readonly thread_magic_link: "970-002-000-000-000-000-000";
3449
- readonly email: "970-003-000-000-000-000-000";
3450
- readonly fax: "970-004-000-000-000-000-000";
3451
- readonly secure_portal: "970-005-000-000-000-000-000";
3452
- readonly in_person: "970-006-000-000-000-000-000";
3453
- };
3454
- type RoiMethodKey = keyof typeof RoiMethodKeys;
3455
- /**
3456
- * Key → positional code map for the `session_note_visibility` CVC domain (session-note visibility; PROVISIONAL, pending Notion ratification).
3457
- *
3458
- * Domain: `session_note_visibility` · Version: 1.0.0 · Entries: 7
3459
- */
3460
- declare const SessionNoteVisibilityKeys: {
3461
- readonly missingness_root: "971-000-000-000-000-000-000";
3462
- readonly unknown: "971-000-000-000-000-000-001";
3463
- readonly anonymous: "971-000-000-000-000-000-002";
3464
- readonly data_not_collected: "971-000-000-000-000-000-003";
3465
- readonly default: "971-001-000-000-000-000-000";
3466
- readonly account: "971-002-000-000-000-000-000";
3467
- readonly private: "971-003-000-000-000-000-000";
3468
- };
3469
- type SessionNoteVisibilityKey = keyof typeof SessionNoteVisibilityKeys;
3081
+ * @htilabs/platform-common-models
3082
+ *
3083
+ * Shared constants, types, schemas, and models for HTI Labs applications.
3084
+ * Provides Information Concept (IC) codes, data quality indicators,
3085
+ * Mongoose schemas, and model factories for PAVE, Thread, and other platforms.
3086
+ *
3087
+ * @example Constants only (no mongoose required)
3088
+ * ```typescript
3089
+ * import { IC_5_VICTIMIZATION, DATA_QUALITY } from '@htilabs/platform-common-models';
3090
+ * ```
3091
+ *
3092
+ * @example With models (mongoose required)
3093
+ * ```typescript
3094
+ * import { createPlatformModels } from '@htilabs/platform-common-models/models';
3095
+ * import mongoose from 'mongoose';
3096
+ *
3097
+ * const platformDb = mongoose.createConnection(PLATFORM_DB_URI);
3098
+ * const { FormModel, SectionModel, QuestionModel } = createPlatformModels(platformDb);
3099
+ * ```
3100
+ *
3101
+ * @example CVC data layer (mongoose required)
3102
+ * ```typescript
3103
+ * import {
3104
+ * CvcRegistryService,
3105
+ * buildCvcRegistrySchema,
3106
+ * buildCvcEntrySchema,
3107
+ * compileCvcRegistryModel,
3108
+ * compileCvcEntryModel,
3109
+ * CvcEnvelopeSchema,
3110
+ * serviceCategoriesSot,
3111
+ * } from '@htilabs/platform-common-models';
3112
+ * ```
3113
+ */
3114
+
3115
+ declare const CVC_137_VALUES: string[];
3116
+ declare const CVC_197_VALUES: string[];
3470
3117
 
3471
- export { type AccommodationTypeKey, AccommodationTypeKeys, type ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, type ActionStepTypeKey, ActionStepTypeKeys, type ActivityTypeKey, ActivityTypeKeys, type AdministeringJurisdictionKey, AdministeringJurisdictionKeys, type AgeBinReportingKey, AgeBinReportingKeys, type AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, type AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, type AssertionDomainKey, AssertionDomainKeys, type BasisQuickPicksKey, BasisQuickPicksKeys, type CheckInActivityKey, CheckInActivityKeys, type CheckInPhaseKey, CheckInPhaseKeys, type ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, type ChildCustodyArrangementKey, ChildCustodyArrangementKeys, type CollectionContextKey, CollectionContextKeys, type ContactInfoTypeKey, ContactInfoTypeKeys, type ContactInfoUseTypeKey, ContactInfoUseTypeKeys, type ContactLinkTypeKey, ContactLinkTypeKeys, type ContactSafetyStatusKey, ContactSafetyStatusKeys, type DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, type DaIncidentConfidenceKey, DaIncidentConfidenceKeys, type DaIncidentDayApproxKey, DaIncidentDayApproxKeys, type DaIncidentSeverityKey, DaIncidentSeverityKeys, type DeterminationLevelKey, DeterminationLevelKeys, type DisabilitySubtypeKey, DisabilitySubtypeKeys, type DiscretionLevelKey, DiscretionLevelKeys, type EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, type EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, type EmergencyExitCascadeKey, EmergencyExitCascadeKeys, type EmploymentStatusKey, EmploymentStatusKeys, type EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, type ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, type ExitReasonsKey, ExitReasonsKeys, type EyeColorKey, EyeColorKeys, type FacialHairKey, FacialHairKeys, type FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, type FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, type FacilitatorSubroleKey, FacilitatorSubroleKeys, type FrequencyCadenceKey, FrequencyCadenceKeys, type FunderKey, FunderKeys, type GenderIdentityKey, GenderIdentityKeys, type GoalCategoryKey, GoalCategoryKeys, type GoalPriorityKey, GoalPriorityKeys, type GoalStatusKey, GoalStatusKeys, type GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, type HairColorKey, HairColorKeys, type HasTattoosKey, HasTattoosKeys, type HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, type HmisProjectTypeKey, HmisProjectTypeKeys, type HmisRelationshipToHohKey, HmisRelationshipToHohKeys, type HomelessStatusKey, HomelessStatusKeys, type HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, type HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, type HopeScaleTierKey, HopeScaleTierKeys, type HousingSubsidyTypesKey, HousingSubsidyTypesKeys, type HtTypeKey, HtTypeKeys, type IdentificationStatusKey, IdentificationStatusKeys, type IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, type IncidentParticipationRoleKey, IncidentParticipationRoleKeys, type IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, type InferenceTypeKey, InferenceTypeKeys, type InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, type JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, type LanguagesKey, LanguagesKeys, type LeReportStatusKey, LeReportStatusKeys, type LegalActionTypeKey, LegalActionTypeKeys, type LivingSituationKey, LivingSituationKeys, type LocationTypeKey, LocationTypeKeys, type MaritalStatusLegalKey, MaritalStatusLegalKeys, type MessageReportReasonKey, MessageReportReasonKeys, type MidStayEventTypeKey, MidStayEventTypeKeys, type MilestoneTypeKey, MilestoneTypeKeys, type MilitaryBranchKey, MilitaryBranchKeys, type MilitaryStatusKey, MilitaryStatusKeys, type NameTypeKey, NameTypeKeys, type NeedsResidentialAgainKey, NeedsResidentialAgainKeys, type OffenderStatusFamilyKey, OffenderStatusFamilyKeys, type OffenderStatusKey, OffenderStatusKeys, type OrientationIdentityKey, OrientationIdentityKeys, type PersonRelationshipsKey, PersonRelationshipsKeys, type PetExitReasonKey, PetExitReasonKeys, type PetRelationshipBasisKey, PetRelationshipBasisKeys, type PreferredContactMethodKey, PreferredContactMethodKeys, type PrimaryLanguageKey, PrimaryLanguageKeys, type ProgramSpecificCodeKey, ProgramSpecificCodeKeys, type PronounsKey, PronounsKeys, type ProofOfIdTypeKey, ProofOfIdTypeKeys, type ProvenanceSourceIdKey, ProvenanceSourceIdKeys, type QualityFlagsKey, QualityFlagsKeys, type RaceEthnicityKey, RaceEthnicityKeys, type RadiusBucketKey, RadiusBucketKeys, type RecencyBandKey, RecencyBandKeys, type ReferenceLinkTypeKey, ReferenceLinkTypeKeys, type ReferralEntityCategoryKey, ReferralEntityCategoryKeys, type RelationshipConcernKey, RelationshipConcernKeys, type RelationshipDynamicsKey, RelationshipDynamicsKeys, type RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, type RelationshipTiesKey, RelationshipTiesKeys, type ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, type RoiMethodKey, RoiMethodKeys, type RoleContextKey, RoleContextKeys, type RsvpResponseKey, RsvpResponseKeys, type ServiceAudienceKey, ServiceAudienceKeys, type ServiceCategoryKey, ServiceCategoryKeys, type ServiceMechanismKey, ServiceMechanismKeys, type ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, type ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, type ServiceSourceKey, ServiceSourceKeys, type ServiceStateKey, ServiceStateKeys, type SessionNoteVisibilityKey, SessionNoteVisibilityKeys, type SessionStateKey, SessionStateKeys, type SeverityFollowUpKey, SeverityFollowUpKeys, type SexProviderSubroleKey, SexProviderSubroleKeys, type SharePurposeKey, SharePurposeKeys, type SignatureMethodKey, SignatureMethodKeys, type SignatureTypeKey, SignatureTypeKeys, type SmtBodyLocationKey, SmtBodyLocationKeys, type SmtNameRelationKey, SmtNameRelationKeys, type SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, type SmtTypeKey, SmtTypeKeys, type SourceCategoryKey, SourceCategoryKeys, type SourceSubtypeKey, SourceSubtypeKeys, type SubstanceUseStatusKey, SubstanceUseStatusKeys, type SuggestionSourceKey, SuggestionSourceKeys, type SupportStrengthKey, SupportStrengthKeys, type SupportTopicKey, SupportTopicKeys, type ThreadStatusKey, ThreadStatusKeys, type ThreadTypeKey, ThreadTypeKeys, type TimeScopeKey, TimeScopeKeys, type TribesKey, TribesKeys, type VerificationMethodKey, VerificationMethodKeys, type VerificationStatusKey, VerificationStatusKeys, type VictimAbuseTypesKey, VictimAbuseTypesKeys, type VictimStatusFamilyKey, VictimStatusFamilyKeys, type VisaTypeKey, VisaTypeKeys };
3118
+ export { type AccommodationTypeKey, AccommodationTypeKeys, type ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, type ActionStepTypeKey, ActionStepTypeKeys, type AdministeringJurisdictionKey, AdministeringJurisdictionKeys, type AgeBinReportingKey, AgeBinReportingKeys, type AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, type AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, type BasisQuickPicksKey, BasisQuickPicksKeys, CVC_137_VALUES, CVC_197_VALUES, type CheckInActivityKey, CheckInActivityKeys, type CheckInPhaseKey, CheckInPhaseKeys, type ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, type ChildCustodyArrangementKey, ChildCustodyArrangementKeys, type CollectionContextKey, CollectionContextKeys, type ContactInfoTypeKey, ContactInfoTypeKeys, type ContactInfoUseTypeKey, ContactInfoUseTypeKeys, type ContactSafetyStatusKey, ContactSafetyStatusKeys, type DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, type DaIncidentConfidenceKey, DaIncidentConfidenceKeys, type DaIncidentDayApproxKey, DaIncidentDayApproxKeys, type DaIncidentSeverityKey, DaIncidentSeverityKeys, type DeterminationLevelKey, DeterminationLevelKeys, type DisabilitySubtypeKey, DisabilitySubtypeKeys, type DiscretionLevelKey, DiscretionLevelKeys, type EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, type EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, type EmergencyExitCascadeKey, EmergencyExitCascadeKeys, type EmploymentStatusKey, EmploymentStatusKeys, type EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, type ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, type ExitReasonsKey, ExitReasonsKeys, type EyeColorKey, EyeColorKeys, type FacialHairKey, FacialHairKeys, type FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, type FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, type FacilitatorSubroleKey, FacilitatorSubroleKeys, type FrequencyCadenceKey, FrequencyCadenceKeys, type FunderKey, FunderKeys, type GenderIdentityKey, GenderIdentityKeys, type GoalCategoryKey, GoalCategoryKeys, type GoalPriorityKey, GoalPriorityKeys, type GoalStatusKey, GoalStatusKeys, type GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, type HairColorKey, HairColorKeys, type HasTattoosKey, HasTattoosKeys, type HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, type HmisProjectTypeKey, HmisProjectTypeKeys, type HomelessStatusKey, HomelessStatusKeys, type HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, type HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, type HopeScaleTierKey, HopeScaleTierKeys, type IdentificationStatusKey, IdentificationStatusKeys, type IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, type IncidentParticipationRoleKey, IncidentParticipationRoleKeys, type IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, type InferenceTypeKey, InferenceTypeKeys, type InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, type JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, type LanguagesKey, LanguagesKeys, type LeReportStatusKey, LeReportStatusKeys, type LegalActionTypeKey, LegalActionTypeKeys, type LocationTypeKey, LocationTypeKeys, type MaritalStatusLegalKey, MaritalStatusLegalKeys, type MessageReportReasonKey, MessageReportReasonKeys, type MidStayEventTypeKey, MidStayEventTypeKeys, type MilestoneTypeKey, MilestoneTypeKeys, type MilitaryBranchKey, MilitaryBranchKeys, type MilitaryStatusKey, MilitaryStatusKeys, type NameTypeKey, NameTypeKeys, type NeedsResidentialAgainKey, NeedsResidentialAgainKeys, type OffenderStatusFamilyKey, OffenderStatusFamilyKeys, type OffenderStatusKey, OffenderStatusKeys, type OrientationIdentityKey, OrientationIdentityKeys, type PersonRelationshipsKey, PersonRelationshipsKeys, type PetExitReasonKey, PetExitReasonKeys, type PetRelationshipBasisKey, PetRelationshipBasisKeys, type PreferredContactMethodKey, PreferredContactMethodKeys, type PrimaryLanguageKey, PrimaryLanguageKeys, type ProgramSpecificCodeKey, ProgramSpecificCodeKeys, type PronounsKey, PronounsKeys, type ProofOfIdTypeKey, ProofOfIdTypeKeys, type QualityFlagsKey, QualityFlagsKeys, type RaceEthnicityKey, RaceEthnicityKeys, type ReferenceLinkTypeKey, ReferenceLinkTypeKeys, type ReferralEntityCategoryKey, ReferralEntityCategoryKeys, type RelationshipDynamicsKey, RelationshipDynamicsKeys, type RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, type RelationshipTiesKey, RelationshipTiesKeys, type ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, type RoleContextKey, RoleContextKeys, type RsvpResponseKey, RsvpResponseKeys, type ServiceCategoryKey, ServiceCategoryKeys, type ServiceMechanismKey, ServiceMechanismKeys, type ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, type ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, type ServiceSourceKey, ServiceSourceKeys, type ServiceStateKey, ServiceStateKeys, type SessionStateKey, SessionStateKeys, type SeverityFollowUpKey, SeverityFollowUpKeys, type SexProviderSubroleKey, SexProviderSubroleKeys, type SharePurposeKey, SharePurposeKeys, type SignatureMethodKey, SignatureMethodKeys, type SignatureTypeKey, SignatureTypeKeys, type SmtBodyLocationKey, SmtBodyLocationKeys, type SmtNameRelationKey, SmtNameRelationKeys, type SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, type SmtTypeKey, SmtTypeKeys, type SourceCategoryKey, SourceCategoryKeys, type SourceSubtypeKey, SourceSubtypeKeys, type SubstanceUseStatusKey, SubstanceUseStatusKeys, type SupportStrengthKey, SupportStrengthKeys, type SupportTopicKey, SupportTopicKeys, type ThreadStatusKey, ThreadStatusKeys, type ThreadTypeKey, ThreadTypeKeys, type TimeScopeKey, TimeScopeKeys, type TribesKey, TribesKeys, type VerificationMethodKey, VerificationMethodKeys, type VerificationStatusKey, VerificationStatusKeys, type VictimStatusFamilyKey, VictimStatusFamilyKeys, type VisaTypeKey, VisaTypeKeys };