@htilabs/platform-common-models 0.8.8 → 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.
- package/README.md +44 -0
- package/dist/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/constants/index.cjs +5 -432
- 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 +5 -429
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
- package/dist/cvcs/index.cjs +5863 -7181
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +3127 -4581
- package/dist/cvcs/index.d.ts +3127 -4581
- package/dist/cvcs/index.js +5863 -7173
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +1780 -3613
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -544
- package/dist/index.d.ts +191 -544
- package/dist/index.js +5967 -7775
- 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-BSKYSDKe.d.cts → platform-auth-XVB9aHqR.d.cts} +3 -19
- package/dist/{platform-auth-BSKYSDKe.d.ts → platform-auth-XVB9aHqR.d.ts} +3 -19
- package/dist/schemas/index.cjs +9 -26
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +39 -35
- package/dist/schemas/index.d.ts +39 -35
- package/dist/schemas/index.js +9 -26
- 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 +25 -19
- package/src/__tests__/__snapshots__/cvc-sot.snap +13 -77
- package/src/__tests__/cvc-sot-snapshot.test.ts +11 -62
- package/src/__tests__/cvc-structural.test.ts +2 -11
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
- package/src/constants/ic.ts +3 -445
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +0 -9
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +0 -18
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +2 -31
- package/src/cvcs/index.ts +1 -17
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/recencyBand.v1.0.0.json +57 -38
- package/src/cvcs/{serviceCategories.v1.1.0.json → serviceCategories.v1.0.0.json} +1091 -1091
- package/src/cvcs/serviceStates.v1.0.0.json +1 -23
- package/src/cvcs/sourceSubtype.v1.1.0.json +0 -36
- package/src/cvcs/verificationMethod.v1.0.0.json +0 -18
- package/src/generated/cvc-enums.ts +149 -572
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
- package/src/cvcs/activityType.v1.0.0.json +0 -143
- package/src/cvcs/assertionDomain.v1.0.0.json +0 -629
- package/src/cvcs/contactLinkType.v1.0.0.json +0 -89
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +0 -104
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +0 -159
- package/src/cvcs/htType.v1.0.0.json +0 -87
- package/src/cvcs/livingSituation.v1.0.0.json +0 -213
- package/src/cvcs/provenanceSourceId.v1.0.0.json +0 -134
- package/src/cvcs/radiusBucket.v1.0.0.json +0 -98
- package/src/cvcs/relationshipConcern.v1.0.0.json +0 -114
- package/src/cvcs/roiMethod.v1.0.0.json +0 -107
- package/src/cvcs/serviceAudience.v1.0.0.json +0 -96
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +0 -80
- package/src/cvcs/suggestionSource.v1.0.0.json +0 -71
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export {
|
|
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-
|
|
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-
|
|
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,
|
|
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
|
|
|
@@ -22,166 +22,166 @@ import 'zod';
|
|
|
22
22
|
/**
|
|
23
23
|
* Key → positional code map for the `service_categories` CVC domain.
|
|
24
24
|
*
|
|
25
|
-
* Domain: `service_categories` · Version: 1.
|
|
25
|
+
* Domain: `service_categories` · Version: 1.0.0 · Entries: 151
|
|
26
26
|
*/
|
|
27
27
|
declare const ServiceCategoryKeys: {
|
|
28
28
|
readonly missingness_root: "022-000-000-000-000-000-000";
|
|
29
29
|
readonly unknown: "022-000-000-000-000-000-001";
|
|
30
30
|
readonly anonymous: "022-000-000-000-000-000-002";
|
|
31
31
|
readonly data_not_collected: "022-000-000-000-000-000-003";
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
70
|
-
readonly
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly other_therapy: "022-006-002-004-000-000-000";
|
|
119
|
-
readonly family_counseling: "022-006-002-005-000-000-000";
|
|
120
|
-
readonly counseling_treatment_planning: "022-006-002-006-000-000-000";
|
|
121
|
-
readonly counseling_treatment_plan_review: "022-006-002-007-000-000-000";
|
|
122
|
-
readonly financial_and_employment: "022-007-000-000-000-000-000";
|
|
123
|
-
readonly financial_support: "022-007-001-000-000-000-000";
|
|
124
|
-
readonly emergency_financial_assistance: "022-007-001-001-000-000-000";
|
|
125
|
-
readonly employment_support: "022-007-002-000-000-000-000";
|
|
126
|
-
readonly employment_assistance_job_search: "022-007-002-001-000-000-000";
|
|
127
|
-
readonly job_vocation_training: "022-007-002-002-000-000-000";
|
|
128
|
-
readonly supported_employment: "022-007-002-003-000-000-000";
|
|
32
|
+
readonly social_support_community_engagement: "022-002-000-000-000-000-000";
|
|
33
|
+
readonly cultural_needs_support: "022-002-001-000-000-000-000";
|
|
34
|
+
readonly gift_holiday_resources: "022-002-002-000-000-000-000";
|
|
35
|
+
readonly peer_facilitated_supportive_group: "022-002-003-000-000-000-000";
|
|
36
|
+
readonly community_service_learning: "022-002-004-000-000-000-000";
|
|
37
|
+
readonly survivor_support_psychoeducation: "022-002-005-000-000-000-000";
|
|
38
|
+
readonly financial_and_employment: "022-003-000-000-000-000-000";
|
|
39
|
+
readonly financial_support: "022-003-001-000-000-000-000";
|
|
40
|
+
readonly emergency_financial_assistance: "022-003-001-001-000-000-000";
|
|
41
|
+
readonly employment_support: "022-003-002-000-000-000-000";
|
|
42
|
+
readonly supported_employment: "022-003-002-001-000-000-000";
|
|
43
|
+
readonly employment_assistance_job_search: "022-003-002-002-000-000-000";
|
|
44
|
+
readonly job_vocation_training: "022-003-002-003-000-000-000";
|
|
45
|
+
readonly healthcare: "022-004-000-000-000-000-000";
|
|
46
|
+
readonly medical: "022-004-001-000-000-000-000";
|
|
47
|
+
readonly emergency_medical_care: "022-004-001-001-000-000-000";
|
|
48
|
+
readonly forensic_exam_interview: "022-004-001-002-000-000-000";
|
|
49
|
+
readonly dv_exam: "022-004-001-002-001-000-000";
|
|
50
|
+
readonly sane_exam: "022-004-001-002-002-000-000";
|
|
51
|
+
readonly std_testing: "022-004-001-002-003-000-000";
|
|
52
|
+
readonly specialized_assessments: "022-004-001-002-004-000-000";
|
|
53
|
+
readonly counseling_evaluation_assessment: "022-004-001-002-004-001-000";
|
|
54
|
+
readonly stalking_assessment: "022-004-001-002-004-002-000";
|
|
55
|
+
readonly danger_assessment: "022-004-001-002-004-003-000";
|
|
56
|
+
readonly indepth_assessment: "022-004-001-002-004-004-000";
|
|
57
|
+
readonly outpatient_medical: "022-004-001-003-000-000-000";
|
|
58
|
+
readonly dental: "022-004-001-003-001-000-000";
|
|
59
|
+
readonly vision: "022-004-001-003-002-000-000";
|
|
60
|
+
readonly tattoo_removal: "022-004-001-003-003-000-000";
|
|
61
|
+
readonly pet_medical: "022-004-001-003-004-000-000";
|
|
62
|
+
readonly pregnancy_care: "022-004-001-004-000-000-000";
|
|
63
|
+
readonly prenatal_care: "022-004-001-004-001-000-000";
|
|
64
|
+
readonly postnatal_care_client: "022-004-001-004-002-000-000";
|
|
65
|
+
readonly postnatal_care_newborn: "022-004-001-004-003-000-000";
|
|
66
|
+
readonly emotional_support_mental_health: "022-004-002-000-000-000-000";
|
|
67
|
+
readonly individual_counseling: "022-004-002-001-000-000-000";
|
|
68
|
+
readonly group_counseling: "022-004-002-002-000-000-000";
|
|
69
|
+
readonly family_counseling: "022-004-002-003-000-000-000";
|
|
70
|
+
readonly counseling_treatment_planning: "022-004-002-004-000-000-000";
|
|
71
|
+
readonly counseling_treatment_plan_review: "022-004-002-005-000-000-000";
|
|
72
|
+
readonly behavioral_occupational_support: "022-004-002-006-000-000-000";
|
|
73
|
+
readonly substance_abuse_treatment: "022-004-002-006-001-000-000";
|
|
74
|
+
readonly coping_strategy_support: "022-004-002-006-002-000-000";
|
|
75
|
+
readonly other_therapy: "022-004-002-007-000-000-000";
|
|
76
|
+
readonly housing_services: "022-005-000-000-000-000-000";
|
|
77
|
+
readonly emergency_shelter: "022-005-001-000-000-000-000";
|
|
78
|
+
readonly day_shelter_dropin: "022-005-001-001-000-000-000";
|
|
79
|
+
readonly host_homes_safe_homes: "022-005-001-002-000-000-000";
|
|
80
|
+
readonly congregate_shelter_bednight: "022-005-001-003-000-000-000";
|
|
81
|
+
readonly emergency_hotel_motel: "022-005-001-004-000-000-000";
|
|
82
|
+
readonly night_by_night_shelter: "022-005-001-005-000-000-000";
|
|
83
|
+
readonly transitional_housing: "022-005-002-000-000-000-000";
|
|
84
|
+
readonly housing_renovation_modification: "022-005-003-000-000-000-000";
|
|
85
|
+
readonly household_setup_goods: "022-005-003-001-000-000-000";
|
|
86
|
+
readonly housing_navigation_placement: "022-005-004-000-000-000-000";
|
|
87
|
+
readonly housing_financial_assistance: "022-005-004-001-000-000-000";
|
|
88
|
+
readonly rental_payment_assistance: "022-005-004-001-001-000-000";
|
|
89
|
+
readonly security_deposit_allowance: "022-005-004-001-001-001-000";
|
|
90
|
+
readonly utility_assistance: "022-005-004-001-001-002-000";
|
|
91
|
+
readonly relocation_moving_assistance: "022-005-004-002-000-000-000";
|
|
92
|
+
readonly housing_stabilization_eviction_prevention: "022-005-005-000-000-000-000";
|
|
93
|
+
readonly tenant_based_scattered_site: "022-005-006-000-000-000-000";
|
|
94
|
+
readonly legal_services: "022-006-000-000-000-000-000";
|
|
95
|
+
readonly immigration_relief: "022-006-001-000-000-000-000";
|
|
96
|
+
readonly repatriation: "022-006-001-001-000-000-000";
|
|
97
|
+
readonly family_law: "022-006-002-000-000-000-000";
|
|
98
|
+
readonly criminal_support: "022-006-003-000-000-000-000";
|
|
99
|
+
readonly victim_impact_statement: "022-006-003-001-000-000-000";
|
|
100
|
+
readonly perpetrator_accountability: "022-006-003-002-000-000-000";
|
|
101
|
+
readonly victim_compensation: "022-006-003-003-000-000-000";
|
|
102
|
+
readonly victims_rights_representation: "022-006-003-004-000-000-000";
|
|
103
|
+
readonly criminal_record_relief: "022-006-003-005-000-000-000";
|
|
104
|
+
readonly civil_support: "022-006-004-000-000-000-000";
|
|
105
|
+
readonly protection_restraining_orders: "022-006-004-001-000-000-000";
|
|
106
|
+
readonly public_benefits_law: "022-006-004-002-000-000-000";
|
|
107
|
+
readonly emergency_safety_assistance: "022-006-005-000-000-000-000";
|
|
108
|
+
readonly basic_needs: "022-007-000-000-000-000-000";
|
|
109
|
+
readonly clothing_shoes_accessories: "022-007-001-000-000-000-000";
|
|
110
|
+
readonly elder_assistance: "022-007-001-001-000-000-000";
|
|
111
|
+
readonly food: "022-007-002-000-000-000-000";
|
|
112
|
+
readonly over_the_counter_medications: "022-007-003-000-000-000-000";
|
|
113
|
+
readonly immediate_safety_planning: "022-007-004-000-000-000-000";
|
|
114
|
+
readonly emergency_crisis_safety_support: "022-007-004-001-000-000-000";
|
|
115
|
+
readonly hygiene_items_personal_care: "022-007-005-000-000-000-000";
|
|
116
|
+
readonly communications_connectivity: "022-007-006-000-000-000-000";
|
|
117
|
+
readonly interpreter_services: "022-007-007-000-000-000-000";
|
|
129
118
|
readonly informal_education_life_skills: "022-008-000-000-000-000-000";
|
|
130
119
|
readonly basic_life_skills_self_care: "022-008-001-000-000-000-000";
|
|
131
120
|
readonly accessibility_disability_support: "022-008-002-000-000-000-000";
|
|
132
121
|
readonly parenting_education: "022-008-003-000-000-000-000";
|
|
133
122
|
readonly learning_language_classes: "022-008-004-000-000-000-000";
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
123
|
+
readonly transportation: "022-009-000-000-000-000-000";
|
|
124
|
+
readonly transportation_assistance_direct: "022-009-001-000-000-000-000";
|
|
125
|
+
readonly transportation_direct_emergency: "022-009-001-001-000-000-000";
|
|
126
|
+
readonly taxi_rideshare_voucher: "022-009-002-000-000-000-000";
|
|
127
|
+
readonly taxi_rideshare_emergency: "022-009-002-001-000-000-000";
|
|
128
|
+
readonly bus_fare_pass: "022-009-003-000-000-000-000";
|
|
129
|
+
readonly bus_fare_pass_emergency: "022-009-003-001-000-000-000";
|
|
130
|
+
readonly gift_card_gas_card: "022-009-004-000-000-000-000";
|
|
131
|
+
readonly gift_card_gas_card_emergency: "022-009-004-001-000-000-000";
|
|
132
|
+
readonly airline_tickets: "022-009-005-000-000-000-000";
|
|
133
|
+
readonly airline_tickets_emergency: "022-009-005-001-000-000-000";
|
|
134
|
+
readonly dependents: "022-010-000-000-000-000-000";
|
|
135
|
+
readonly pet_care: "022-010-001-000-000-000-000";
|
|
136
|
+
readonly child_care: "022-010-002-000-000-000-000";
|
|
137
|
+
readonly childrens_activities: "022-010-002-001-000-000-000";
|
|
138
|
+
readonly children_youth_baby_supplies: "022-010-002-001-001-000-000";
|
|
139
|
+
readonly case_coordination: "022-011-000-000-000-000-000";
|
|
140
|
+
readonly advocacy: "022-011-001-000-000-000-000";
|
|
141
|
+
readonly medical_advocacy: "022-011-001-001-000-000-000";
|
|
142
|
+
readonly advocacy_emergency_medical: "022-011-001-001-001-000-000";
|
|
143
|
+
readonly advocacy_forensic_exam: "022-011-001-001-002-000-000";
|
|
144
|
+
readonly court_advocacy: "022-011-001-002-000-000-000";
|
|
145
|
+
readonly crime_scene_clean_up: "022-011-001-002-001-000-000";
|
|
146
|
+
readonly family_reunification: "022-011-001-002-002-000-000";
|
|
147
|
+
readonly law_enforcement_interview_support: "022-011-001-002-003-000-000";
|
|
148
|
+
readonly prosecution_interview_advocacy: "022-011-001-002-004-000-000";
|
|
149
|
+
readonly immigration_advocacy_support: "022-011-001-002-005-000-000";
|
|
150
|
+
readonly documentation_records_retrieval: "022-011-001-003-000-000-000";
|
|
151
|
+
readonly obtaining_insurance: "022-011-001-003-001-000-000";
|
|
152
|
+
readonly drivers_car_insurance: "022-011-001-003-001-001-000";
|
|
153
|
+
readonly medical_insurance: "022-011-001-003-001-002-000";
|
|
154
|
+
readonly obtaining_drivers_license: "022-011-001-003-002-000-000";
|
|
155
|
+
readonly faith_resource: "022-011-001-004-000-000-000";
|
|
156
|
+
readonly banking_notary: "022-011-001-005-000-000-000";
|
|
157
|
+
readonly income_benefits_navigation: "022-011-001-006-000-000-000";
|
|
158
|
+
readonly government_services_special_programs: "022-011-001-006-001-000-000";
|
|
159
|
+
readonly intervention_employer_creditor_academic: "022-011-001-007-000-000-000";
|
|
160
|
+
readonly formal_education_academic_support: "022-011-001-007-001-000-000";
|
|
161
|
+
readonly adult_school_ged: "022-011-001-007-001-001-000";
|
|
162
|
+
readonly child_school_enrollment: "022-011-001-007-001-002-000";
|
|
163
|
+
readonly intake: "022-011-002-000-000-000-000";
|
|
164
|
+
readonly screening: "022-011-002-001-000-000-000";
|
|
165
|
+
readonly housing_eligibility_determination: "022-011-002-001-001-000-000";
|
|
166
|
+
readonly coordinated_entry: "022-011-002-001-001-001-000";
|
|
167
|
+
readonly behavioral_issues_screen: "022-011-002-001-002-000-000";
|
|
168
|
+
readonly initial_screen: "022-011-002-001-003-000-000";
|
|
169
|
+
readonly needs_assessment: "022-011-002-001-004-000-000";
|
|
170
|
+
readonly tvap: "022-011-002-001-005-000-000";
|
|
171
|
+
readonly case_management_supportive_services: "022-011-003-000-000-000-000";
|
|
172
|
+
readonly intra_agency_provider_coordination: "022-011-003-001-000-000-000";
|
|
173
|
+
readonly inter_agency_consultation: "022-011-003-002-000-000-000";
|
|
174
|
+
readonly service_plan: "022-011-003-003-000-000-000";
|
|
175
|
+
readonly hope_scale_and_plan: "022-011-003-003-001-000-000";
|
|
176
|
+
readonly post_exit_plan: "022-011-003-004-000-000-000";
|
|
177
|
+
readonly advanced_directives: "022-011-003-005-000-000-000";
|
|
178
|
+
readonly other_services: "022-012-000-000-000-000-000";
|
|
179
179
|
};
|
|
180
180
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
*
|
|
3095
|
-
*
|
|
3096
|
-
*
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
*
|
|
3125
|
-
*
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
declare const
|
|
3129
|
-
|
|
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
|
|
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 };
|