@htilabs/platform-common-models 0.6.0 → 0.7.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +46 -5
- 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 +42 -5
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +321 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +789 -436
- package/dist/cvcs/index.d.ts +789 -436
- package/dist/cvcs/index.js +318 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +424 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +94 -3
- package/dist/index.d.ts +94 -3
- package/dist/index.js +412 -6
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-CjC57132.d.cts → platform-auth-C97LpsRd.d.cts} +8 -4
- package/dist/{platform-auth-CjC57132.d.ts → platform-auth-C97LpsRd.d.ts} +8 -4
- package/dist/schemas/index.cjs +43 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +4 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.js +43 -6
- 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 +9 -2
- package/src/__tests__/__snapshots__/cvc-sot.snap +12 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +24 -0
- package/src/__tests__/cvc-structural.test.ts +3 -0
- 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 +49 -6
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/index.ts +6 -0
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/recencyBand.v1.0.0.json +124 -0
- package/src/generated/cvc-enums.ts +59 -0
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
|
@@ -25,8 +25,6 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
25
25
|
readonly ALIAS: "alias";
|
|
26
26
|
/** Trade name / business name - single unstructured name field */
|
|
27
27
|
readonly TRADE_NAME: "trade_name";
|
|
28
|
-
/** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
|
|
29
|
-
readonly MONONYM: "mononym";
|
|
30
28
|
/** Nickname - single unstructured name field */
|
|
31
29
|
readonly NICKNAME: "nickname";
|
|
32
30
|
/** Online handle or username - single unstructured name field */
|
|
@@ -35,7 +33,7 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
35
33
|
readonly UNKNOWN: "unknown";
|
|
36
34
|
};
|
|
37
35
|
type CVC1Value = (typeof CVC_1_NAME_TYPE)[keyof typeof CVC_1_NAME_TYPE];
|
|
38
|
-
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "
|
|
36
|
+
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "nickname", "handle", "unknown"];
|
|
39
37
|
declare const CVC_1_LABELS: Record<CVC1Value, string>;
|
|
40
38
|
/**
|
|
41
39
|
* Name types that require structured fields (firstName, middleName, lastName, suffix).
|
|
@@ -482,6 +480,8 @@ declare const CVC_17_CORE_GENDER_IDENTITY: {
|
|
|
482
480
|
readonly NON_BINARY: "NON_BINARY";
|
|
483
481
|
readonly OTHER: "OTHER";
|
|
484
482
|
readonly UNKNOWN: "UNK";
|
|
483
|
+
readonly DATA_NOT_COLLECTED: "DNC";
|
|
484
|
+
readonly PREFER_NOT_TO_ANSWER: "PNA";
|
|
485
485
|
readonly TRANSGENDER_FTM: "TRANSGENDER_FTM";
|
|
486
486
|
readonly TRANSGENDER_MTF: "TRANSGENDER_MTF";
|
|
487
487
|
};
|
|
@@ -495,6 +495,9 @@ declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
|
495
495
|
* Used for LGBTQ auto-population logic.
|
|
496
496
|
*/
|
|
497
497
|
declare function isTransgenderGenderIdentity(value: CVC17Value | null | undefined): boolean;
|
|
498
|
+
declare const CVC_17_SELECTABLE_VALUES: CVC17Value[];
|
|
499
|
+
declare const CVC_17_MISSINGNESS_VALUES: CVC17Value[];
|
|
500
|
+
declare const CVC_17_VALUES: CVC17Value[];
|
|
498
501
|
declare const IC_24_RACE: {
|
|
499
502
|
readonly AMERICAN_INDIAN_ALASKA_NATIVE: 1;
|
|
500
503
|
readonly ASIAN: 2;
|
|
@@ -1728,6 +1731,7 @@ type CVC67Value = (typeof CVC_67_HMIS_SEX)[keyof typeof CVC_67_HMIS_SEX];
|
|
|
1728
1731
|
declare const CVC_67_LABELS: Record<CVC67Value, string>;
|
|
1729
1732
|
declare const CVC_67_SELECTABLE_VALUES: CVC67Value[];
|
|
1730
1733
|
declare const CVC_67_MISSINGNESS_VALUES: CVC67Value[];
|
|
1734
|
+
declare const CVC_67_VALUES: CVC67Value[];
|
|
1731
1735
|
|
|
1732
1736
|
/**
|
|
1733
1737
|
* @htilabs/platform-common-models — Platform Authorization Constants
|
|
@@ -1806,4 +1810,4 @@ type FunctionStatusValue = (typeof FUNCTION_STATUS)[keyof typeof FUNCTION_STATUS
|
|
|
1806
1810
|
declare const FUNCTION_STATUS_VALUES: readonly ["Not started", "Defined; new function", "Defined; existing PAVE function", "Functional on all apps", "Future function (not v1)"];
|
|
1807
1811
|
declare const FUNCTION_STATUS_LABELS: Record<FunctionStatusValue, string>;
|
|
1808
1812
|
|
|
1809
|
-
export { type CVC181Value as $, ACCOMMODATION_LABELS as A, BIRTH_LOCATION as B, CALLER_IS_VICTIM_ROLES as C, type CVC145Option as D, type CVC145Value as E, type CVC147Value as F, type CVC148Value as G, type CVC150Value as H, type CVC151Value as I, type CVC152Value as J, type CVC153Value as K, type CVC156Value as L, type CVC157Value as M, type CVC158Value as N, type CVC159Category as O, type CVC159Option as P, type CVC159Value as Q, type CVC15Value as R, type CVC16Value as S, type CVC171Category as T, type CVC171Option as U, type CVC171Value as V, type CVC179HierarchicalCategory as W, type CVC179HierarchicalValue as X, type CVC179Value as Y, type CVC17Value as Z, type CVC180Value as _, ACCOMMODATION_OPTIONS as a, CVC_152_LABELS as a$, type CVC196Value as a0, type CVC1Value as a1, type CVC67Value as a2, type CVC72Value as a3, type CVC76Value as a4, type CVC93Value as a5, type CVC95Value as a6, type CVC96Value as a7, type CVC97Value as a8, type CVC98Value as a9, CVC_136_INDICATOR_CATEGORY as aA, CVC_136_LABELS as aB, CVC_136_OPTIONS as aC, CVC_136_TYPE_TO_CATEGORY as aD, CVC_136_VALUES as aE, CVC_145_CATEGORY as aF, CVC_145_CATEGORY_LABELS as aG, CVC_145_CATEGORY_ORDER as aH, CVC_145_LABELS as aI, CVC_145_OPTIONS as aJ, CVC_145_RELATIONSHIP_DYNAMICS as aK, CVC_145_SELECTABLE_OPTIONS as aL, CVC_145_TYPE_TO_CATEGORY as aM, CVC_145_VALUES as aN, CVC_147_LABELS as aO, CVC_147_PRONOUNS as aP, CVC_147_VALUES as aQ, CVC_148_LABELS as aR, CVC_148_TRIBES as aS, CVC_148_VALUES as aT, CVC_150_EYE_COLOR as aU, CVC_150_LABELS as aV, CVC_150_VALUES as aW, CVC_151_HAIR_COLOR as aX, CVC_151_LABELS as aY, CVC_151_VALUES as aZ, CVC_152_HAS_TATTOOS as a_, type CVC99Value as aa, CVC_100_LABELS as ab, CVC_100_LIVES_RURAL as ac, CVC_100_VALUES as ad, CVC_115_LABELS as ae, CVC_115_SERVICE_PLANNING as af, CVC_115_VALUES as ag, CVC_120_LABELS as ah, CVC_120_MILITARY_BRANCH as ai, CVC_120_VALUES as aj, CVC_121_LABELS as ak, CVC_121_MILITARY_STATUS as al, CVC_121_VALUES as am, CVC_122_LABELS as an, CVC_122_PRIMARY_LANGUAGE as ao, CVC_122_VALUES as ap, CVC_126_CATEGORY as aq, CVC_126_CATEGORY_LABELS as ar, CVC_126_LABELS as as, CVC_126_OPTIONS as at, CVC_126_PERSON_RELATIONSHIP as au, CVC_126_PROTECTED_CATEGORIES as av, CVC_126_TYPE_TO_CATEGORY as aw, CVC_126_VALUES as ax, CVC_136_ALERT_INDICATOR as ay, CVC_136_CATEGORY_LABELS as az, AGE_BIN_REPORTING as b, CVC_196_LABELS as b$, CVC_152_VALUES as b0, CVC_153_LABELS as b1, CVC_153_SMT_TYPE as b2, CVC_153_VALUES as b3, CVC_156_LABELS as b4, CVC_156_MARITAL_STATUS as b5, CVC_156_VALUES as b6, CVC_157_LABELS as b7, CVC_157_RELATIONSHIP_STATUS as b8, CVC_157_VALUES as b9, CVC_171_VALUES as bA, CVC_171_VALUE_TO_CATEGORY as bB, CVC_179_CHILD_TO_PARENT as bC, CVC_179_EMPLOYMENT_STATUS as bD, CVC_179_HIERARCHICAL_CATEGORY as bE, CVC_179_HIERARCHICAL_CATEGORY_LABELS as bF, CVC_179_HIERARCHICAL_CATEGORY_ORDER as bG, CVC_179_HIERARCHICAL_LABELS as bH, CVC_179_HIERARCHICAL_VALUES as bI, CVC_179_LABELS as bJ, CVC_179_PARENT_CHILDREN as bK, CVC_179_PRIMARY_CATEGORY as bL, CVC_179_SELECTABLE_OPTIONS as bM, CVC_179_VALUES as bN, CVC_179_VALUE_TO_CATEGORY as bO, CVC_17_CORE_GENDER_IDENTITY as bP, CVC_17_LABELS as bQ, CVC_17_LEVEL_1_OPTIONS as bR, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as bS, CVC_17_TRANSGENDER_VALUES as bT, CVC_180_EDUCATION_LEVEL as bU, CVC_180_LABELS as bV, CVC_180_ORDINAL as bW, CVC_180_VALUES as bX, CVC_181_COUNTRIES as bY, CVC_181_LABELS as bZ, CVC_196_CHILD_WELFARE_EPISODE_TYPE as b_, CVC_158_CUSTODY_STATUS as ba, CVC_158_LABELS as bb, CVC_158_VALUES as bc, CVC_159_CATEGORY as bd, CVC_159_CATEGORY_LABELS as be, CVC_159_CATEGORY_ORDER as bf, CVC_159_LABELS as bg, CVC_159_OPTIONS as bh, CVC_159_RELATIONSHIP_TIES as bi, CVC_159_SELECTABLE_OPTIONS as bj, CVC_159_TYPE_TO_CATEGORY as bk, CVC_159_VALUES as bl, CVC_15_CORE_SEX as bm, CVC_15_LABELS as bn, CVC_15_SELECTABLE_VALUES as bo, CVC_16_CORE_ORIENTATION as bp, CVC_16_LABELS as bq, CVC_16_LGBTQ_VALUES as br, CVC_171_CATEGORY as bs, CVC_171_CATEGORY_LABELS as bt, CVC_171_CHILD_TO_PARENT as bu, CVC_171_INCOME_BENEFITS as bv, CVC_171_INCOME_SOURCES as bw, CVC_171_LABELS as bx, CVC_171_PARENT_CHILDREN as by, CVC_171_SELECTABLE_OPTIONS as bz, AGE_BIN_REPORTING_IS_MINOR as c, type IC57Value as c$, CVC_196_VALUES as c0, CVC_1_LABELS as c1, CVC_1_NAME_TYPE as c2, CVC_1_STRUCTURED_NAME_TYPES as c3, CVC_1_UNSTRUCTURED_NAME_TYPES as c4, CVC_1_VALUES as c5, CVC_67_HMIS_SEX as c6, CVC_67_LABELS as c7, CVC_67_MISSINGNESS_VALUES as c8, CVC_67_SELECTABLE_VALUES as c9, DATA_QUALITY_LABELS as cA, DATA_QUALITY_VALUES as cB, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as cC, type DataQualityValue as cD, FORM_STATUS as cE, FORM_STATUS_LABELS as cF, FORM_TYPE as cG, FORM_TYPE_LABELS as cH, FUNCTION_STATUS as cI, FUNCTION_STATUS_LABELS as cJ, FUNCTION_STATUS_VALUES as cK, type FormStatusValue as cL, type FormTypeValue as cM, type FunctionStatusValue as cN, type IC13Category as cO, type IC13PriorityGroup as cP, type IC13Value as cQ, type IC22Value as cR, type IC23Value as cS, type IC24Value as cT, type IC25Value as cU, type IC49ReferralOutcomeValue as cV, type IC49ReferralVerificationValue as cW, type IC49Value as cX, type IC4Value as cY, type IC56ChannelValue as cZ, type IC56Value as c_, CVC_72_HT_TYPE as ca, CVC_72_LABELS as cb, CVC_72_VALUES as cc, CVC_76_LABELS as cd, CVC_76_RACE_ETHNICITY as ce, CVC_76_VALUES as cf, CVC_93_CHILD_WELFARE_INVOLVEMENT as cg, CVC_93_LABELS as ch, CVC_93_VALUES as ci, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as cj, CVC_95_LABELS as ck, CVC_95_VALUES as cl, CVC_96_HOMELESS_STATUS as cm, CVC_96_LABELS as cn, CVC_96_VALUES as co, CVC_97_IMMIGRANT_REFUGEE as cp, CVC_97_LABELS as cq, CVC_97_VALUES as cr, CVC_98_LABELS as cs, CVC_98_US_VETERAN as ct, CVC_98_VALUES as cu, CVC_99_ENGLISH_PROFICIENCY as cv, CVC_99_LABELS as cw, CVC_99_VALUES as cx, DATA_QUALITY as cy, DATA_QUALITY_DESCRIPTIONS as cz, AGE_BIN_REPORTING_LABELS as d, PERMISSION_STATE as d$, type IC58ExternalCategory as d0, type IC58Value as d1, type IC59Value as d2, type IC5Value as d3, IC_13_CATEGORIES as d4, IC_13_CATEGORY_ORDER as d5, IC_13_LABELS as d6, IC_13_PRIORITY_GROUPS as d7, IC_13_RELATIONSHIP_ABBREV as d8, IC_13_RELATIONSHIP_TYPE as d9, IC_58_EXTERNAL_TIERED as dA, IC_58_LABELS as dB, IC_58_ORG_TYPE_GROUPS as dC, IC_58_PRIMARY_BRANCHES as dD, IC_58_REFERRAL_ENTITY as dE, IC_59_LABELS as dF, IC_59_SERVICE_STATE as dG, IC_5_FULL_LABELS as dH, IC_5_LABELS as dI, IC_5_VICTIMIZATION as dJ, INCIDENT_INVOLVEMENT_ROLE as dK, INCIDENT_INVOLVEMENT_ROLE_LABELS as dL, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as dM, INCIDENT_PARTICIPATION_ROLE as dN, INCIDENT_PARTICIPATION_ROLE_LABELS as dO, INCIDENT_PARTICIPATION_ROLE_VALUES as dP, INTERACTION_TYPES as dQ, INTERACTION_TYPE_LABELS as dR, INVOLVEMENT_ROLE_TO_PERSON_TYPE as dS, type IncidentInvolvementRoleValue as dT, type IncidentParticipationRoleValue as dU, type InteractionTypeValue as dV, MINOR_ADULT_STATUS as dW, MINOR_ADULT_STATUS_LABELS as dX, type MinorAdultStatusValue as dY, type OrgTypeGroup as dZ, PARTICIPATION_ROLE_CATEGORIES as d_, IC_13_REVERSE_CONTEXT_LABELS as da, IC_22_CORE_SEX as db, IC_22_LABELS as dc, IC_23_CORE_GENDER_IDENTITY as dd, IC_23_LABELS as de, IC_24_LABELS as df, IC_24_RACE as dg, IC_25_ETHNICITY as dh, IC_25_LABELS as di, IC_48_SERVICE_CATEGORIES as dj, IC_49_DESCRIPTIONS as dk, IC_49_LABELS as dl, IC_49_REFERRAL_OUTCOME as dm, IC_49_REFERRAL_OUTCOME_LABELS as dn, IC_49_REFERRAL_VERIFICATION as dp, IC_49_REFERRAL_VERIFICATION_LABELS as dq, IC_49_SERVICE_MECHANISM as dr, IC_4_AGE_TYPE as ds, IC_4_LABELS as dt, IC_56_DESCRIPTIONS as du, IC_56_LABELS as dv, IC_56_OPTIONS as dw, IC_56_SERVICE_DELIVERY_CHANNEL as dx, IC_57_LABELS as dy, IC_57_SERVICE_AUDIENCE as dz, APPARENT_AGE as e, isLgbtqOrientation as e$, PERMISSION_STATE_DISPLAY as e0, PERMISSION_STATE_LABELS as e1, PERMISSION_STATE_VALUES as e2, PERSON_DISPLAY_CATEGORY as e3, PERSON_DISPLAY_CATEGORY_LABELS as e4, PERSON_ROLES as e5, PERSON_TYPE as e6, PERSON_TYPE_VALUES as e7, PLATFORM_TOOL as e8, PLATFORM_TOOL_LABELS as e9, type RelationshipConcernValue as eA, type RelationshipDynamicValue as eB, type RoleLevelValue as eC, SESSION_STATES as eD, SESSION_STATE_LABELS as eE, SHARE_VIEW as eF, SHARE_VIEW_LABELS as eG, SHARE_VIEW_VALUES as eH, SUBMISSION_STATES as eI, SUBMISSION_STATE_LABELS as eJ, type ServiceCategory as eK, type ServiceCategoryChild as eL, type SessionStateValue as eM, type ShareViewValue as eN, type SubmissionStateValue as eO, THREAD_INVOLVEMENT_ROLES as eP, USER_STATUS as eQ, USER_STATUS_LABELS as eR, type UserStatusValue as eS, VALID_INTERACTION_TYPES as eT, VALID_RECORD_STATES as eU, deriveAgeBinFromAge as eV, getDisplayCategoryForRole as eW, getPersonTypeForRole as eX, getRelationshipCategory as eY, isIC56Missingness as eZ, isIC56ValidChannel as e_, PLATFORM_TOOL_VALUES as ea, type PermissionStateValue as eb, type PersonDisplayCategoryValue as ec, type PersonRoleValue as ed, type PersonTypeValue as ee, type PlatformToolValue as ef, QUESTION_FORMAT as eg, QUESTION_FORMAT_LABELS as eh, QUICK_START_CONFIG as ei, QUICK_START_LABELS as ej, QUICK_START_TEMPLATES as ek, type QuestionFormatValue as el, type QuickStartTemplateId as em, RECORD_STATES as en, RECORD_STATE_LABELS as eo, RELATIONSHIP_CONCERNS as ep, RELATIONSHIP_CONCERNS_LABELS as eq, RELATIONSHIP_CONCERNS_VALUES as er, RELATIONSHIP_DYNAMICS as es, RELATIONSHIP_DYNAMICS_LABELS as et, RELATIONSHIP_DYNAMICS_VALUES as eu, ROLE_LEVEL as ev, ROLE_LEVEL_LABELS as ew, ROLE_LEVEL_VALUES as ex, type RecordStateValue as ey, type ReferralBranch as ez, APPARENT_AGE_LABELS as f, isProtectedRelationship as f0, isStructuredNameType as f1, isTransgenderGenderIdentity as f2, sortRelationshipsByPriority as f3, APP_SCOPE as g, type AccommodationValue as h, type AgeBinReportingValue as i, type AppScopeValue as j, type ApparentAgeValue as k, BIRTH_LOCATION_LABELS as l, BIRTH_LOCATION_VALUES as m, type BirthLocationValue as n, type CVC100Value as o, type CVC115Value as p, type CVC120Value as q, type CVC121Value as r, type CVC122Value as s, type CVC126Category as t, type CVC126Option as u, type CVC126Value as v, type CVC136Category as w, type CVC136Option as x, type CVC136Value as y, type CVC145Category as z };
|
|
1813
|
+
export { type BirthLocationValue as $, type AccommodationValue as A, type QuickStartTemplateId as B, type RecordStateValue as C, type DataQualityValue as D, type RelationshipConcernValue as E, type FunctionStatusValue as F, type RelationshipDynamicValue as G, type SessionStateValue as H, type IC13Category as I, type SubmissionStateValue as J, ACCOMMODATION_LABELS as K, ACCOMMODATION_OPTIONS as L, type MinorAdultStatusValue as M, AGE_BIN_REPORTING as N, AGE_BIN_REPORTING_IS_MINOR as O, type PlatformToolValue as P, type QuestionFormatValue as Q, type RoleLevelValue as R, type ShareViewValue as S, AGE_BIN_REPORTING_LABELS as T, type UserStatusValue as U, APPARENT_AGE as V, APPARENT_AGE_LABELS as W, APP_SCOPE as X, BIRTH_LOCATION as Y, BIRTH_LOCATION_LABELS as Z, BIRTH_LOCATION_VALUES as _, type PermissionStateValue as a, CVC_122_VALUES as a$, CALLER_IS_VICTIM_ROLES as a0, type CVC100Value as a1, type CVC115Value as a2, type CVC120Value as a3, type CVC121Value as a4, type CVC122Value as a5, type CVC126Category as a6, type CVC126Option as a7, type CVC126Value as a8, type CVC136Category as a9, type CVC180Value as aA, type CVC181Value as aB, type CVC196Value as aC, type CVC1Value as aD, type CVC67Value as aE, type CVC72Value as aF, type CVC76Value as aG, type CVC93Value as aH, type CVC95Value as aI, type CVC96Value as aJ, type CVC97Value as aK, type CVC98Value as aL, type CVC99Value as aM, CVC_100_LABELS as aN, CVC_100_LIVES_RURAL as aO, CVC_100_VALUES as aP, CVC_115_LABELS as aQ, CVC_115_SERVICE_PLANNING as aR, CVC_115_VALUES as aS, CVC_120_LABELS as aT, CVC_120_MILITARY_BRANCH as aU, CVC_120_VALUES as aV, CVC_121_LABELS as aW, CVC_121_MILITARY_STATUS as aX, CVC_121_VALUES as aY, CVC_122_LABELS as aZ, CVC_122_PRIMARY_LANGUAGE as a_, type CVC136Option as aa, type CVC136Value as ab, type CVC145Category as ac, type CVC145Option as ad, type CVC145Value as ae, type CVC147Value as af, type CVC148Value as ag, type CVC150Value as ah, type CVC151Value as ai, type CVC152Value as aj, type CVC153Value as ak, type CVC156Value as al, type CVC157Value as am, type CVC158Value as an, type CVC159Category as ao, type CVC159Option as ap, type CVC159Value as aq, type CVC15Value as ar, type CVC16Value as as, type CVC171Category as at, type CVC171Option as au, type CVC171Value as av, type CVC179HierarchicalCategory as aw, type CVC179HierarchicalValue as ax, type CVC179Value as ay, type CVC17Value as az, type AgeBinReportingValue as b, CVC_16_CORE_ORIENTATION as b$, CVC_126_CATEGORY as b0, CVC_126_CATEGORY_LABELS as b1, CVC_126_LABELS as b2, CVC_126_OPTIONS as b3, CVC_126_PERSON_RELATIONSHIP as b4, CVC_126_PROTECTED_CATEGORIES as b5, CVC_126_TYPE_TO_CATEGORY as b6, CVC_126_VALUES as b7, CVC_136_ALERT_INDICATOR as b8, CVC_136_CATEGORY_LABELS as b9, CVC_152_HAS_TATTOOS as bA, CVC_152_LABELS as bB, CVC_152_VALUES as bC, CVC_153_LABELS as bD, CVC_153_SMT_TYPE as bE, CVC_153_VALUES as bF, CVC_156_LABELS as bG, CVC_156_MARITAL_STATUS as bH, CVC_156_VALUES as bI, CVC_157_LABELS as bJ, CVC_157_RELATIONSHIP_STATUS as bK, CVC_157_VALUES as bL, CVC_158_CUSTODY_STATUS as bM, CVC_158_LABELS as bN, CVC_158_VALUES as bO, CVC_159_CATEGORY as bP, CVC_159_CATEGORY_LABELS as bQ, CVC_159_CATEGORY_ORDER as bR, CVC_159_LABELS as bS, CVC_159_OPTIONS as bT, CVC_159_RELATIONSHIP_TIES as bU, CVC_159_SELECTABLE_OPTIONS as bV, CVC_159_TYPE_TO_CATEGORY as bW, CVC_159_VALUES as bX, CVC_15_CORE_SEX as bY, CVC_15_LABELS as bZ, CVC_15_SELECTABLE_VALUES as b_, CVC_136_INDICATOR_CATEGORY as ba, CVC_136_LABELS as bb, CVC_136_OPTIONS as bc, CVC_136_TYPE_TO_CATEGORY as bd, CVC_136_VALUES as be, CVC_145_CATEGORY as bf, CVC_145_CATEGORY_LABELS as bg, CVC_145_CATEGORY_ORDER as bh, CVC_145_LABELS as bi, CVC_145_OPTIONS as bj, CVC_145_RELATIONSHIP_DYNAMICS as bk, CVC_145_SELECTABLE_OPTIONS as bl, CVC_145_TYPE_TO_CATEGORY as bm, CVC_145_VALUES as bn, CVC_147_LABELS as bo, CVC_147_PRONOUNS as bp, CVC_147_VALUES as bq, CVC_148_LABELS as br, CVC_148_TRIBES as bs, CVC_148_VALUES as bt, CVC_150_EYE_COLOR as bu, CVC_150_LABELS as bv, CVC_150_VALUES as bw, CVC_151_HAIR_COLOR as bx, CVC_151_LABELS as by, CVC_151_VALUES as bz, type AppScopeValue as c, CVC_95_VALUES as c$, CVC_16_LABELS as c0, CVC_16_LGBTQ_VALUES as c1, CVC_171_CATEGORY as c2, CVC_171_CATEGORY_LABELS as c3, CVC_171_CHILD_TO_PARENT as c4, CVC_171_INCOME_BENEFITS as c5, CVC_171_INCOME_SOURCES as c6, CVC_171_LABELS as c7, CVC_171_PARENT_CHILDREN as c8, CVC_171_SELECTABLE_OPTIONS as c9, CVC_180_VALUES as cA, CVC_181_COUNTRIES as cB, CVC_181_LABELS as cC, CVC_196_CHILD_WELFARE_EPISODE_TYPE as cD, CVC_196_LABELS as cE, CVC_196_VALUES as cF, CVC_1_LABELS as cG, CVC_1_NAME_TYPE as cH, CVC_1_STRUCTURED_NAME_TYPES as cI, CVC_1_UNSTRUCTURED_NAME_TYPES as cJ, CVC_1_VALUES as cK, CVC_67_HMIS_SEX as cL, CVC_67_LABELS as cM, CVC_67_MISSINGNESS_VALUES as cN, CVC_67_SELECTABLE_VALUES as cO, CVC_67_VALUES as cP, CVC_72_HT_TYPE as cQ, CVC_72_LABELS as cR, CVC_72_VALUES as cS, CVC_76_LABELS as cT, CVC_76_RACE_ETHNICITY as cU, CVC_76_VALUES as cV, CVC_93_CHILD_WELFARE_INVOLVEMENT as cW, CVC_93_LABELS as cX, CVC_93_VALUES as cY, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as cZ, CVC_95_LABELS as c_, CVC_171_VALUES as ca, CVC_171_VALUE_TO_CATEGORY as cb, CVC_179_CHILD_TO_PARENT as cc, CVC_179_EMPLOYMENT_STATUS as cd, CVC_179_HIERARCHICAL_CATEGORY as ce, CVC_179_HIERARCHICAL_CATEGORY_LABELS as cf, CVC_179_HIERARCHICAL_CATEGORY_ORDER as cg, CVC_179_HIERARCHICAL_LABELS as ch, CVC_179_HIERARCHICAL_VALUES as ci, CVC_179_LABELS as cj, CVC_179_PARENT_CHILDREN as ck, CVC_179_PRIMARY_CATEGORY as cl, CVC_179_SELECTABLE_OPTIONS as cm, CVC_179_VALUES as cn, CVC_179_VALUE_TO_CATEGORY as co, CVC_17_CORE_GENDER_IDENTITY as cp, CVC_17_LABELS as cq, CVC_17_LEVEL_1_OPTIONS as cr, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as cs, CVC_17_MISSINGNESS_VALUES as ct, CVC_17_SELECTABLE_VALUES as cu, CVC_17_TRANSGENDER_VALUES as cv, CVC_17_VALUES as cw, CVC_180_EDUCATION_LEVEL as cx, CVC_180_LABELS as cy, CVC_180_ORDINAL as cz, type ApparentAgeValue as d, IC_58_REFERRAL_ENTITY as d$, CVC_96_HOMELESS_STATUS as d0, CVC_96_LABELS as d1, CVC_96_VALUES as d2, CVC_97_IMMIGRANT_REFUGEE as d3, CVC_97_LABELS as d4, CVC_97_VALUES as d5, CVC_98_LABELS as d6, CVC_98_US_VETERAN as d7, CVC_98_VALUES as d8, CVC_99_ENGLISH_PROFICIENCY as d9, IC_22_LABELS as dA, IC_23_CORE_GENDER_IDENTITY as dB, IC_23_LABELS as dC, IC_24_LABELS as dD, IC_24_RACE as dE, IC_25_ETHNICITY as dF, IC_25_LABELS as dG, IC_48_SERVICE_CATEGORIES as dH, IC_49_DESCRIPTIONS as dI, IC_49_LABELS as dJ, IC_49_REFERRAL_OUTCOME as dK, IC_49_REFERRAL_OUTCOME_LABELS as dL, IC_49_REFERRAL_VERIFICATION as dM, IC_49_REFERRAL_VERIFICATION_LABELS as dN, IC_49_SERVICE_MECHANISM as dO, IC_4_AGE_TYPE as dP, IC_4_LABELS as dQ, IC_56_DESCRIPTIONS as dR, IC_56_LABELS as dS, IC_56_OPTIONS as dT, IC_56_SERVICE_DELIVERY_CHANNEL as dU, IC_57_LABELS as dV, IC_57_SERVICE_AUDIENCE as dW, IC_58_EXTERNAL_TIERED as dX, IC_58_LABELS as dY, IC_58_ORG_TYPE_GROUPS as dZ, IC_58_PRIMARY_BRANCHES as d_, CVC_99_LABELS as da, CVC_99_VALUES as db, DATA_QUALITY as dc, DATA_QUALITY_DESCRIPTIONS as dd, DATA_QUALITY_LABELS as de, DATA_QUALITY_VALUES as df, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as dg, FORM_STATUS as dh, FORM_STATUS_LABELS as di, FORM_TYPE as dj, FORM_TYPE_LABELS as dk, FUNCTION_STATUS as dl, FUNCTION_STATUS_LABELS as dm, FUNCTION_STATUS_VALUES as dn, type IC13PriorityGroup as dp, type IC56ChannelValue as dq, type IC58ExternalCategory as dr, IC_13_CATEGORIES as ds, IC_13_CATEGORY_ORDER as dt, IC_13_LABELS as du, IC_13_PRIORITY_GROUPS as dv, IC_13_RELATIONSHIP_ABBREV as dw, IC_13_RELATIONSHIP_TYPE as dx, IC_13_REVERSE_CONTEXT_LABELS as dy, IC_22_CORE_SEX as dz, type FormStatusValue as e, getPersonTypeForRole as e$, IC_59_LABELS as e0, IC_59_SERVICE_STATE as e1, IC_5_FULL_LABELS as e2, IC_5_LABELS as e3, IC_5_VICTIMIZATION as e4, INCIDENT_INVOLVEMENT_ROLE as e5, INCIDENT_INVOLVEMENT_ROLE_LABELS as e6, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as e7, INCIDENT_PARTICIPATION_ROLE as e8, INCIDENT_PARTICIPATION_ROLE_LABELS as e9, RECORD_STATE_LABELS as eA, RELATIONSHIP_CONCERNS as eB, RELATIONSHIP_CONCERNS_LABELS as eC, RELATIONSHIP_CONCERNS_VALUES as eD, RELATIONSHIP_DYNAMICS as eE, RELATIONSHIP_DYNAMICS_LABELS as eF, RELATIONSHIP_DYNAMICS_VALUES as eG, ROLE_LEVEL as eH, ROLE_LEVEL_LABELS as eI, ROLE_LEVEL_VALUES as eJ, type ReferralBranch as eK, SESSION_STATES as eL, SESSION_STATE_LABELS as eM, SHARE_VIEW as eN, SHARE_VIEW_LABELS as eO, SHARE_VIEW_VALUES as eP, SUBMISSION_STATES as eQ, SUBMISSION_STATE_LABELS as eR, type ServiceCategory as eS, type ServiceCategoryChild as eT, THREAD_INVOLVEMENT_ROLES as eU, USER_STATUS as eV, USER_STATUS_LABELS as eW, VALID_INTERACTION_TYPES as eX, VALID_RECORD_STATES as eY, deriveAgeBinFromAge as eZ, getDisplayCategoryForRole as e_, INCIDENT_PARTICIPATION_ROLE_VALUES as ea, INTERACTION_TYPES as eb, INTERACTION_TYPE_LABELS as ec, INVOLVEMENT_ROLE_TO_PERSON_TYPE as ed, MINOR_ADULT_STATUS as ee, MINOR_ADULT_STATUS_LABELS as ef, type OrgTypeGroup as eg, PARTICIPATION_ROLE_CATEGORIES as eh, PERMISSION_STATE as ei, PERMISSION_STATE_DISPLAY as ej, PERMISSION_STATE_LABELS as ek, PERMISSION_STATE_VALUES as el, PERSON_DISPLAY_CATEGORY as em, PERSON_DISPLAY_CATEGORY_LABELS as en, PERSON_ROLES as eo, PERSON_TYPE as ep, PERSON_TYPE_VALUES as eq, PLATFORM_TOOL as er, PLATFORM_TOOL_LABELS as es, PLATFORM_TOOL_VALUES as et, QUESTION_FORMAT as eu, QUESTION_FORMAT_LABELS as ev, QUICK_START_CONFIG as ew, QUICK_START_LABELS as ex, QUICK_START_TEMPLATES as ey, RECORD_STATES as ez, type FormTypeValue as f, getRelationshipCategory as f0, isIC56Missingness as f1, isIC56ValidChannel as f2, isLgbtqOrientation as f3, isProtectedRelationship as f4, isStructuredNameType as f5, isTransgenderGenderIdentity as f6, sortRelationshipsByPriority as f7, type IC13Value as g, type IC22Value as h, type IC23Value as i, type IC24Value as j, type IC25Value as k, type IC49ReferralOutcomeValue as l, type IC49ReferralVerificationValue as m, type IC49Value as n, type IC4Value as o, type IC56Value as p, type IC57Value as q, type IC58Value as r, type IC59Value as s, type IC5Value as t, type IncidentInvolvementRoleValue as u, type IncidentParticipationRoleValue as v, type InteractionTypeValue as w, type PersonDisplayCategoryValue as x, type PersonRoleValue as y, type PersonTypeValue as z };
|
|
@@ -25,8 +25,6 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
25
25
|
readonly ALIAS: "alias";
|
|
26
26
|
/** Trade name / business name - single unstructured name field */
|
|
27
27
|
readonly TRADE_NAME: "trade_name";
|
|
28
|
-
/** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
|
|
29
|
-
readonly MONONYM: "mononym";
|
|
30
28
|
/** Nickname - single unstructured name field */
|
|
31
29
|
readonly NICKNAME: "nickname";
|
|
32
30
|
/** Online handle or username - single unstructured name field */
|
|
@@ -35,7 +33,7 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
35
33
|
readonly UNKNOWN: "unknown";
|
|
36
34
|
};
|
|
37
35
|
type CVC1Value = (typeof CVC_1_NAME_TYPE)[keyof typeof CVC_1_NAME_TYPE];
|
|
38
|
-
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "
|
|
36
|
+
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "nickname", "handle", "unknown"];
|
|
39
37
|
declare const CVC_1_LABELS: Record<CVC1Value, string>;
|
|
40
38
|
/**
|
|
41
39
|
* Name types that require structured fields (firstName, middleName, lastName, suffix).
|
|
@@ -482,6 +480,8 @@ declare const CVC_17_CORE_GENDER_IDENTITY: {
|
|
|
482
480
|
readonly NON_BINARY: "NON_BINARY";
|
|
483
481
|
readonly OTHER: "OTHER";
|
|
484
482
|
readonly UNKNOWN: "UNK";
|
|
483
|
+
readonly DATA_NOT_COLLECTED: "DNC";
|
|
484
|
+
readonly PREFER_NOT_TO_ANSWER: "PNA";
|
|
485
485
|
readonly TRANSGENDER_FTM: "TRANSGENDER_FTM";
|
|
486
486
|
readonly TRANSGENDER_MTF: "TRANSGENDER_MTF";
|
|
487
487
|
};
|
|
@@ -495,6 +495,9 @@ declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
|
495
495
|
* Used for LGBTQ auto-population logic.
|
|
496
496
|
*/
|
|
497
497
|
declare function isTransgenderGenderIdentity(value: CVC17Value | null | undefined): boolean;
|
|
498
|
+
declare const CVC_17_SELECTABLE_VALUES: CVC17Value[];
|
|
499
|
+
declare const CVC_17_MISSINGNESS_VALUES: CVC17Value[];
|
|
500
|
+
declare const CVC_17_VALUES: CVC17Value[];
|
|
498
501
|
declare const IC_24_RACE: {
|
|
499
502
|
readonly AMERICAN_INDIAN_ALASKA_NATIVE: 1;
|
|
500
503
|
readonly ASIAN: 2;
|
|
@@ -1728,6 +1731,7 @@ type CVC67Value = (typeof CVC_67_HMIS_SEX)[keyof typeof CVC_67_HMIS_SEX];
|
|
|
1728
1731
|
declare const CVC_67_LABELS: Record<CVC67Value, string>;
|
|
1729
1732
|
declare const CVC_67_SELECTABLE_VALUES: CVC67Value[];
|
|
1730
1733
|
declare const CVC_67_MISSINGNESS_VALUES: CVC67Value[];
|
|
1734
|
+
declare const CVC_67_VALUES: CVC67Value[];
|
|
1731
1735
|
|
|
1732
1736
|
/**
|
|
1733
1737
|
* @htilabs/platform-common-models — Platform Authorization Constants
|
|
@@ -1806,4 +1810,4 @@ type FunctionStatusValue = (typeof FUNCTION_STATUS)[keyof typeof FUNCTION_STATUS
|
|
|
1806
1810
|
declare const FUNCTION_STATUS_VALUES: readonly ["Not started", "Defined; new function", "Defined; existing PAVE function", "Functional on all apps", "Future function (not v1)"];
|
|
1807
1811
|
declare const FUNCTION_STATUS_LABELS: Record<FunctionStatusValue, string>;
|
|
1808
1812
|
|
|
1809
|
-
export { type CVC181Value as $, ACCOMMODATION_LABELS as A, BIRTH_LOCATION as B, CALLER_IS_VICTIM_ROLES as C, type CVC145Option as D, type CVC145Value as E, type CVC147Value as F, type CVC148Value as G, type CVC150Value as H, type CVC151Value as I, type CVC152Value as J, type CVC153Value as K, type CVC156Value as L, type CVC157Value as M, type CVC158Value as N, type CVC159Category as O, type CVC159Option as P, type CVC159Value as Q, type CVC15Value as R, type CVC16Value as S, type CVC171Category as T, type CVC171Option as U, type CVC171Value as V, type CVC179HierarchicalCategory as W, type CVC179HierarchicalValue as X, type CVC179Value as Y, type CVC17Value as Z, type CVC180Value as _, ACCOMMODATION_OPTIONS as a, CVC_152_LABELS as a$, type CVC196Value as a0, type CVC1Value as a1, type CVC67Value as a2, type CVC72Value as a3, type CVC76Value as a4, type CVC93Value as a5, type CVC95Value as a6, type CVC96Value as a7, type CVC97Value as a8, type CVC98Value as a9, CVC_136_INDICATOR_CATEGORY as aA, CVC_136_LABELS as aB, CVC_136_OPTIONS as aC, CVC_136_TYPE_TO_CATEGORY as aD, CVC_136_VALUES as aE, CVC_145_CATEGORY as aF, CVC_145_CATEGORY_LABELS as aG, CVC_145_CATEGORY_ORDER as aH, CVC_145_LABELS as aI, CVC_145_OPTIONS as aJ, CVC_145_RELATIONSHIP_DYNAMICS as aK, CVC_145_SELECTABLE_OPTIONS as aL, CVC_145_TYPE_TO_CATEGORY as aM, CVC_145_VALUES as aN, CVC_147_LABELS as aO, CVC_147_PRONOUNS as aP, CVC_147_VALUES as aQ, CVC_148_LABELS as aR, CVC_148_TRIBES as aS, CVC_148_VALUES as aT, CVC_150_EYE_COLOR as aU, CVC_150_LABELS as aV, CVC_150_VALUES as aW, CVC_151_HAIR_COLOR as aX, CVC_151_LABELS as aY, CVC_151_VALUES as aZ, CVC_152_HAS_TATTOOS as a_, type CVC99Value as aa, CVC_100_LABELS as ab, CVC_100_LIVES_RURAL as ac, CVC_100_VALUES as ad, CVC_115_LABELS as ae, CVC_115_SERVICE_PLANNING as af, CVC_115_VALUES as ag, CVC_120_LABELS as ah, CVC_120_MILITARY_BRANCH as ai, CVC_120_VALUES as aj, CVC_121_LABELS as ak, CVC_121_MILITARY_STATUS as al, CVC_121_VALUES as am, CVC_122_LABELS as an, CVC_122_PRIMARY_LANGUAGE as ao, CVC_122_VALUES as ap, CVC_126_CATEGORY as aq, CVC_126_CATEGORY_LABELS as ar, CVC_126_LABELS as as, CVC_126_OPTIONS as at, CVC_126_PERSON_RELATIONSHIP as au, CVC_126_PROTECTED_CATEGORIES as av, CVC_126_TYPE_TO_CATEGORY as aw, CVC_126_VALUES as ax, CVC_136_ALERT_INDICATOR as ay, CVC_136_CATEGORY_LABELS as az, AGE_BIN_REPORTING as b, CVC_196_LABELS as b$, CVC_152_VALUES as b0, CVC_153_LABELS as b1, CVC_153_SMT_TYPE as b2, CVC_153_VALUES as b3, CVC_156_LABELS as b4, CVC_156_MARITAL_STATUS as b5, CVC_156_VALUES as b6, CVC_157_LABELS as b7, CVC_157_RELATIONSHIP_STATUS as b8, CVC_157_VALUES as b9, CVC_171_VALUES as bA, CVC_171_VALUE_TO_CATEGORY as bB, CVC_179_CHILD_TO_PARENT as bC, CVC_179_EMPLOYMENT_STATUS as bD, CVC_179_HIERARCHICAL_CATEGORY as bE, CVC_179_HIERARCHICAL_CATEGORY_LABELS as bF, CVC_179_HIERARCHICAL_CATEGORY_ORDER as bG, CVC_179_HIERARCHICAL_LABELS as bH, CVC_179_HIERARCHICAL_VALUES as bI, CVC_179_LABELS as bJ, CVC_179_PARENT_CHILDREN as bK, CVC_179_PRIMARY_CATEGORY as bL, CVC_179_SELECTABLE_OPTIONS as bM, CVC_179_VALUES as bN, CVC_179_VALUE_TO_CATEGORY as bO, CVC_17_CORE_GENDER_IDENTITY as bP, CVC_17_LABELS as bQ, CVC_17_LEVEL_1_OPTIONS as bR, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as bS, CVC_17_TRANSGENDER_VALUES as bT, CVC_180_EDUCATION_LEVEL as bU, CVC_180_LABELS as bV, CVC_180_ORDINAL as bW, CVC_180_VALUES as bX, CVC_181_COUNTRIES as bY, CVC_181_LABELS as bZ, CVC_196_CHILD_WELFARE_EPISODE_TYPE as b_, CVC_158_CUSTODY_STATUS as ba, CVC_158_LABELS as bb, CVC_158_VALUES as bc, CVC_159_CATEGORY as bd, CVC_159_CATEGORY_LABELS as be, CVC_159_CATEGORY_ORDER as bf, CVC_159_LABELS as bg, CVC_159_OPTIONS as bh, CVC_159_RELATIONSHIP_TIES as bi, CVC_159_SELECTABLE_OPTIONS as bj, CVC_159_TYPE_TO_CATEGORY as bk, CVC_159_VALUES as bl, CVC_15_CORE_SEX as bm, CVC_15_LABELS as bn, CVC_15_SELECTABLE_VALUES as bo, CVC_16_CORE_ORIENTATION as bp, CVC_16_LABELS as bq, CVC_16_LGBTQ_VALUES as br, CVC_171_CATEGORY as bs, CVC_171_CATEGORY_LABELS as bt, CVC_171_CHILD_TO_PARENT as bu, CVC_171_INCOME_BENEFITS as bv, CVC_171_INCOME_SOURCES as bw, CVC_171_LABELS as bx, CVC_171_PARENT_CHILDREN as by, CVC_171_SELECTABLE_OPTIONS as bz, AGE_BIN_REPORTING_IS_MINOR as c, type IC57Value as c$, CVC_196_VALUES as c0, CVC_1_LABELS as c1, CVC_1_NAME_TYPE as c2, CVC_1_STRUCTURED_NAME_TYPES as c3, CVC_1_UNSTRUCTURED_NAME_TYPES as c4, CVC_1_VALUES as c5, CVC_67_HMIS_SEX as c6, CVC_67_LABELS as c7, CVC_67_MISSINGNESS_VALUES as c8, CVC_67_SELECTABLE_VALUES as c9, DATA_QUALITY_LABELS as cA, DATA_QUALITY_VALUES as cB, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as cC, type DataQualityValue as cD, FORM_STATUS as cE, FORM_STATUS_LABELS as cF, FORM_TYPE as cG, FORM_TYPE_LABELS as cH, FUNCTION_STATUS as cI, FUNCTION_STATUS_LABELS as cJ, FUNCTION_STATUS_VALUES as cK, type FormStatusValue as cL, type FormTypeValue as cM, type FunctionStatusValue as cN, type IC13Category as cO, type IC13PriorityGroup as cP, type IC13Value as cQ, type IC22Value as cR, type IC23Value as cS, type IC24Value as cT, type IC25Value as cU, type IC49ReferralOutcomeValue as cV, type IC49ReferralVerificationValue as cW, type IC49Value as cX, type IC4Value as cY, type IC56ChannelValue as cZ, type IC56Value as c_, CVC_72_HT_TYPE as ca, CVC_72_LABELS as cb, CVC_72_VALUES as cc, CVC_76_LABELS as cd, CVC_76_RACE_ETHNICITY as ce, CVC_76_VALUES as cf, CVC_93_CHILD_WELFARE_INVOLVEMENT as cg, CVC_93_LABELS as ch, CVC_93_VALUES as ci, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as cj, CVC_95_LABELS as ck, CVC_95_VALUES as cl, CVC_96_HOMELESS_STATUS as cm, CVC_96_LABELS as cn, CVC_96_VALUES as co, CVC_97_IMMIGRANT_REFUGEE as cp, CVC_97_LABELS as cq, CVC_97_VALUES as cr, CVC_98_LABELS as cs, CVC_98_US_VETERAN as ct, CVC_98_VALUES as cu, CVC_99_ENGLISH_PROFICIENCY as cv, CVC_99_LABELS as cw, CVC_99_VALUES as cx, DATA_QUALITY as cy, DATA_QUALITY_DESCRIPTIONS as cz, AGE_BIN_REPORTING_LABELS as d, PERMISSION_STATE as d$, type IC58ExternalCategory as d0, type IC58Value as d1, type IC59Value as d2, type IC5Value as d3, IC_13_CATEGORIES as d4, IC_13_CATEGORY_ORDER as d5, IC_13_LABELS as d6, IC_13_PRIORITY_GROUPS as d7, IC_13_RELATIONSHIP_ABBREV as d8, IC_13_RELATIONSHIP_TYPE as d9, IC_58_EXTERNAL_TIERED as dA, IC_58_LABELS as dB, IC_58_ORG_TYPE_GROUPS as dC, IC_58_PRIMARY_BRANCHES as dD, IC_58_REFERRAL_ENTITY as dE, IC_59_LABELS as dF, IC_59_SERVICE_STATE as dG, IC_5_FULL_LABELS as dH, IC_5_LABELS as dI, IC_5_VICTIMIZATION as dJ, INCIDENT_INVOLVEMENT_ROLE as dK, INCIDENT_INVOLVEMENT_ROLE_LABELS as dL, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as dM, INCIDENT_PARTICIPATION_ROLE as dN, INCIDENT_PARTICIPATION_ROLE_LABELS as dO, INCIDENT_PARTICIPATION_ROLE_VALUES as dP, INTERACTION_TYPES as dQ, INTERACTION_TYPE_LABELS as dR, INVOLVEMENT_ROLE_TO_PERSON_TYPE as dS, type IncidentInvolvementRoleValue as dT, type IncidentParticipationRoleValue as dU, type InteractionTypeValue as dV, MINOR_ADULT_STATUS as dW, MINOR_ADULT_STATUS_LABELS as dX, type MinorAdultStatusValue as dY, type OrgTypeGroup as dZ, PARTICIPATION_ROLE_CATEGORIES as d_, IC_13_REVERSE_CONTEXT_LABELS as da, IC_22_CORE_SEX as db, IC_22_LABELS as dc, IC_23_CORE_GENDER_IDENTITY as dd, IC_23_LABELS as de, IC_24_LABELS as df, IC_24_RACE as dg, IC_25_ETHNICITY as dh, IC_25_LABELS as di, IC_48_SERVICE_CATEGORIES as dj, IC_49_DESCRIPTIONS as dk, IC_49_LABELS as dl, IC_49_REFERRAL_OUTCOME as dm, IC_49_REFERRAL_OUTCOME_LABELS as dn, IC_49_REFERRAL_VERIFICATION as dp, IC_49_REFERRAL_VERIFICATION_LABELS as dq, IC_49_SERVICE_MECHANISM as dr, IC_4_AGE_TYPE as ds, IC_4_LABELS as dt, IC_56_DESCRIPTIONS as du, IC_56_LABELS as dv, IC_56_OPTIONS as dw, IC_56_SERVICE_DELIVERY_CHANNEL as dx, IC_57_LABELS as dy, IC_57_SERVICE_AUDIENCE as dz, APPARENT_AGE as e, isLgbtqOrientation as e$, PERMISSION_STATE_DISPLAY as e0, PERMISSION_STATE_LABELS as e1, PERMISSION_STATE_VALUES as e2, PERSON_DISPLAY_CATEGORY as e3, PERSON_DISPLAY_CATEGORY_LABELS as e4, PERSON_ROLES as e5, PERSON_TYPE as e6, PERSON_TYPE_VALUES as e7, PLATFORM_TOOL as e8, PLATFORM_TOOL_LABELS as e9, type RelationshipConcernValue as eA, type RelationshipDynamicValue as eB, type RoleLevelValue as eC, SESSION_STATES as eD, SESSION_STATE_LABELS as eE, SHARE_VIEW as eF, SHARE_VIEW_LABELS as eG, SHARE_VIEW_VALUES as eH, SUBMISSION_STATES as eI, SUBMISSION_STATE_LABELS as eJ, type ServiceCategory as eK, type ServiceCategoryChild as eL, type SessionStateValue as eM, type ShareViewValue as eN, type SubmissionStateValue as eO, THREAD_INVOLVEMENT_ROLES as eP, USER_STATUS as eQ, USER_STATUS_LABELS as eR, type UserStatusValue as eS, VALID_INTERACTION_TYPES as eT, VALID_RECORD_STATES as eU, deriveAgeBinFromAge as eV, getDisplayCategoryForRole as eW, getPersonTypeForRole as eX, getRelationshipCategory as eY, isIC56Missingness as eZ, isIC56ValidChannel as e_, PLATFORM_TOOL_VALUES as ea, type PermissionStateValue as eb, type PersonDisplayCategoryValue as ec, type PersonRoleValue as ed, type PersonTypeValue as ee, type PlatformToolValue as ef, QUESTION_FORMAT as eg, QUESTION_FORMAT_LABELS as eh, QUICK_START_CONFIG as ei, QUICK_START_LABELS as ej, QUICK_START_TEMPLATES as ek, type QuestionFormatValue as el, type QuickStartTemplateId as em, RECORD_STATES as en, RECORD_STATE_LABELS as eo, RELATIONSHIP_CONCERNS as ep, RELATIONSHIP_CONCERNS_LABELS as eq, RELATIONSHIP_CONCERNS_VALUES as er, RELATIONSHIP_DYNAMICS as es, RELATIONSHIP_DYNAMICS_LABELS as et, RELATIONSHIP_DYNAMICS_VALUES as eu, ROLE_LEVEL as ev, ROLE_LEVEL_LABELS as ew, ROLE_LEVEL_VALUES as ex, type RecordStateValue as ey, type ReferralBranch as ez, APPARENT_AGE_LABELS as f, isProtectedRelationship as f0, isStructuredNameType as f1, isTransgenderGenderIdentity as f2, sortRelationshipsByPriority as f3, APP_SCOPE as g, type AccommodationValue as h, type AgeBinReportingValue as i, type AppScopeValue as j, type ApparentAgeValue as k, BIRTH_LOCATION_LABELS as l, BIRTH_LOCATION_VALUES as m, type BirthLocationValue as n, type CVC100Value as o, type CVC115Value as p, type CVC120Value as q, type CVC121Value as r, type CVC122Value as s, type CVC126Category as t, type CVC126Option as u, type CVC126Value as v, type CVC136Category as w, type CVC136Option as x, type CVC136Value as y, type CVC145Category as z };
|
|
1813
|
+
export { type BirthLocationValue as $, type AccommodationValue as A, type QuickStartTemplateId as B, type RecordStateValue as C, type DataQualityValue as D, type RelationshipConcernValue as E, type FunctionStatusValue as F, type RelationshipDynamicValue as G, type SessionStateValue as H, type IC13Category as I, type SubmissionStateValue as J, ACCOMMODATION_LABELS as K, ACCOMMODATION_OPTIONS as L, type MinorAdultStatusValue as M, AGE_BIN_REPORTING as N, AGE_BIN_REPORTING_IS_MINOR as O, type PlatformToolValue as P, type QuestionFormatValue as Q, type RoleLevelValue as R, type ShareViewValue as S, AGE_BIN_REPORTING_LABELS as T, type UserStatusValue as U, APPARENT_AGE as V, APPARENT_AGE_LABELS as W, APP_SCOPE as X, BIRTH_LOCATION as Y, BIRTH_LOCATION_LABELS as Z, BIRTH_LOCATION_VALUES as _, type PermissionStateValue as a, CVC_122_VALUES as a$, CALLER_IS_VICTIM_ROLES as a0, type CVC100Value as a1, type CVC115Value as a2, type CVC120Value as a3, type CVC121Value as a4, type CVC122Value as a5, type CVC126Category as a6, type CVC126Option as a7, type CVC126Value as a8, type CVC136Category as a9, type CVC180Value as aA, type CVC181Value as aB, type CVC196Value as aC, type CVC1Value as aD, type CVC67Value as aE, type CVC72Value as aF, type CVC76Value as aG, type CVC93Value as aH, type CVC95Value as aI, type CVC96Value as aJ, type CVC97Value as aK, type CVC98Value as aL, type CVC99Value as aM, CVC_100_LABELS as aN, CVC_100_LIVES_RURAL as aO, CVC_100_VALUES as aP, CVC_115_LABELS as aQ, CVC_115_SERVICE_PLANNING as aR, CVC_115_VALUES as aS, CVC_120_LABELS as aT, CVC_120_MILITARY_BRANCH as aU, CVC_120_VALUES as aV, CVC_121_LABELS as aW, CVC_121_MILITARY_STATUS as aX, CVC_121_VALUES as aY, CVC_122_LABELS as aZ, CVC_122_PRIMARY_LANGUAGE as a_, type CVC136Option as aa, type CVC136Value as ab, type CVC145Category as ac, type CVC145Option as ad, type CVC145Value as ae, type CVC147Value as af, type CVC148Value as ag, type CVC150Value as ah, type CVC151Value as ai, type CVC152Value as aj, type CVC153Value as ak, type CVC156Value as al, type CVC157Value as am, type CVC158Value as an, type CVC159Category as ao, type CVC159Option as ap, type CVC159Value as aq, type CVC15Value as ar, type CVC16Value as as, type CVC171Category as at, type CVC171Option as au, type CVC171Value as av, type CVC179HierarchicalCategory as aw, type CVC179HierarchicalValue as ax, type CVC179Value as ay, type CVC17Value as az, type AgeBinReportingValue as b, CVC_16_CORE_ORIENTATION as b$, CVC_126_CATEGORY as b0, CVC_126_CATEGORY_LABELS as b1, CVC_126_LABELS as b2, CVC_126_OPTIONS as b3, CVC_126_PERSON_RELATIONSHIP as b4, CVC_126_PROTECTED_CATEGORIES as b5, CVC_126_TYPE_TO_CATEGORY as b6, CVC_126_VALUES as b7, CVC_136_ALERT_INDICATOR as b8, CVC_136_CATEGORY_LABELS as b9, CVC_152_HAS_TATTOOS as bA, CVC_152_LABELS as bB, CVC_152_VALUES as bC, CVC_153_LABELS as bD, CVC_153_SMT_TYPE as bE, CVC_153_VALUES as bF, CVC_156_LABELS as bG, CVC_156_MARITAL_STATUS as bH, CVC_156_VALUES as bI, CVC_157_LABELS as bJ, CVC_157_RELATIONSHIP_STATUS as bK, CVC_157_VALUES as bL, CVC_158_CUSTODY_STATUS as bM, CVC_158_LABELS as bN, CVC_158_VALUES as bO, CVC_159_CATEGORY as bP, CVC_159_CATEGORY_LABELS as bQ, CVC_159_CATEGORY_ORDER as bR, CVC_159_LABELS as bS, CVC_159_OPTIONS as bT, CVC_159_RELATIONSHIP_TIES as bU, CVC_159_SELECTABLE_OPTIONS as bV, CVC_159_TYPE_TO_CATEGORY as bW, CVC_159_VALUES as bX, CVC_15_CORE_SEX as bY, CVC_15_LABELS as bZ, CVC_15_SELECTABLE_VALUES as b_, CVC_136_INDICATOR_CATEGORY as ba, CVC_136_LABELS as bb, CVC_136_OPTIONS as bc, CVC_136_TYPE_TO_CATEGORY as bd, CVC_136_VALUES as be, CVC_145_CATEGORY as bf, CVC_145_CATEGORY_LABELS as bg, CVC_145_CATEGORY_ORDER as bh, CVC_145_LABELS as bi, CVC_145_OPTIONS as bj, CVC_145_RELATIONSHIP_DYNAMICS as bk, CVC_145_SELECTABLE_OPTIONS as bl, CVC_145_TYPE_TO_CATEGORY as bm, CVC_145_VALUES as bn, CVC_147_LABELS as bo, CVC_147_PRONOUNS as bp, CVC_147_VALUES as bq, CVC_148_LABELS as br, CVC_148_TRIBES as bs, CVC_148_VALUES as bt, CVC_150_EYE_COLOR as bu, CVC_150_LABELS as bv, CVC_150_VALUES as bw, CVC_151_HAIR_COLOR as bx, CVC_151_LABELS as by, CVC_151_VALUES as bz, type AppScopeValue as c, CVC_95_VALUES as c$, CVC_16_LABELS as c0, CVC_16_LGBTQ_VALUES as c1, CVC_171_CATEGORY as c2, CVC_171_CATEGORY_LABELS as c3, CVC_171_CHILD_TO_PARENT as c4, CVC_171_INCOME_BENEFITS as c5, CVC_171_INCOME_SOURCES as c6, CVC_171_LABELS as c7, CVC_171_PARENT_CHILDREN as c8, CVC_171_SELECTABLE_OPTIONS as c9, CVC_180_VALUES as cA, CVC_181_COUNTRIES as cB, CVC_181_LABELS as cC, CVC_196_CHILD_WELFARE_EPISODE_TYPE as cD, CVC_196_LABELS as cE, CVC_196_VALUES as cF, CVC_1_LABELS as cG, CVC_1_NAME_TYPE as cH, CVC_1_STRUCTURED_NAME_TYPES as cI, CVC_1_UNSTRUCTURED_NAME_TYPES as cJ, CVC_1_VALUES as cK, CVC_67_HMIS_SEX as cL, CVC_67_LABELS as cM, CVC_67_MISSINGNESS_VALUES as cN, CVC_67_SELECTABLE_VALUES as cO, CVC_67_VALUES as cP, CVC_72_HT_TYPE as cQ, CVC_72_LABELS as cR, CVC_72_VALUES as cS, CVC_76_LABELS as cT, CVC_76_RACE_ETHNICITY as cU, CVC_76_VALUES as cV, CVC_93_CHILD_WELFARE_INVOLVEMENT as cW, CVC_93_LABELS as cX, CVC_93_VALUES as cY, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as cZ, CVC_95_LABELS as c_, CVC_171_VALUES as ca, CVC_171_VALUE_TO_CATEGORY as cb, CVC_179_CHILD_TO_PARENT as cc, CVC_179_EMPLOYMENT_STATUS as cd, CVC_179_HIERARCHICAL_CATEGORY as ce, CVC_179_HIERARCHICAL_CATEGORY_LABELS as cf, CVC_179_HIERARCHICAL_CATEGORY_ORDER as cg, CVC_179_HIERARCHICAL_LABELS as ch, CVC_179_HIERARCHICAL_VALUES as ci, CVC_179_LABELS as cj, CVC_179_PARENT_CHILDREN as ck, CVC_179_PRIMARY_CATEGORY as cl, CVC_179_SELECTABLE_OPTIONS as cm, CVC_179_VALUES as cn, CVC_179_VALUE_TO_CATEGORY as co, CVC_17_CORE_GENDER_IDENTITY as cp, CVC_17_LABELS as cq, CVC_17_LEVEL_1_OPTIONS as cr, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as cs, CVC_17_MISSINGNESS_VALUES as ct, CVC_17_SELECTABLE_VALUES as cu, CVC_17_TRANSGENDER_VALUES as cv, CVC_17_VALUES as cw, CVC_180_EDUCATION_LEVEL as cx, CVC_180_LABELS as cy, CVC_180_ORDINAL as cz, type ApparentAgeValue as d, IC_58_REFERRAL_ENTITY as d$, CVC_96_HOMELESS_STATUS as d0, CVC_96_LABELS as d1, CVC_96_VALUES as d2, CVC_97_IMMIGRANT_REFUGEE as d3, CVC_97_LABELS as d4, CVC_97_VALUES as d5, CVC_98_LABELS as d6, CVC_98_US_VETERAN as d7, CVC_98_VALUES as d8, CVC_99_ENGLISH_PROFICIENCY as d9, IC_22_LABELS as dA, IC_23_CORE_GENDER_IDENTITY as dB, IC_23_LABELS as dC, IC_24_LABELS as dD, IC_24_RACE as dE, IC_25_ETHNICITY as dF, IC_25_LABELS as dG, IC_48_SERVICE_CATEGORIES as dH, IC_49_DESCRIPTIONS as dI, IC_49_LABELS as dJ, IC_49_REFERRAL_OUTCOME as dK, IC_49_REFERRAL_OUTCOME_LABELS as dL, IC_49_REFERRAL_VERIFICATION as dM, IC_49_REFERRAL_VERIFICATION_LABELS as dN, IC_49_SERVICE_MECHANISM as dO, IC_4_AGE_TYPE as dP, IC_4_LABELS as dQ, IC_56_DESCRIPTIONS as dR, IC_56_LABELS as dS, IC_56_OPTIONS as dT, IC_56_SERVICE_DELIVERY_CHANNEL as dU, IC_57_LABELS as dV, IC_57_SERVICE_AUDIENCE as dW, IC_58_EXTERNAL_TIERED as dX, IC_58_LABELS as dY, IC_58_ORG_TYPE_GROUPS as dZ, IC_58_PRIMARY_BRANCHES as d_, CVC_99_LABELS as da, CVC_99_VALUES as db, DATA_QUALITY as dc, DATA_QUALITY_DESCRIPTIONS as dd, DATA_QUALITY_LABELS as de, DATA_QUALITY_VALUES as df, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as dg, FORM_STATUS as dh, FORM_STATUS_LABELS as di, FORM_TYPE as dj, FORM_TYPE_LABELS as dk, FUNCTION_STATUS as dl, FUNCTION_STATUS_LABELS as dm, FUNCTION_STATUS_VALUES as dn, type IC13PriorityGroup as dp, type IC56ChannelValue as dq, type IC58ExternalCategory as dr, IC_13_CATEGORIES as ds, IC_13_CATEGORY_ORDER as dt, IC_13_LABELS as du, IC_13_PRIORITY_GROUPS as dv, IC_13_RELATIONSHIP_ABBREV as dw, IC_13_RELATIONSHIP_TYPE as dx, IC_13_REVERSE_CONTEXT_LABELS as dy, IC_22_CORE_SEX as dz, type FormStatusValue as e, getPersonTypeForRole as e$, IC_59_LABELS as e0, IC_59_SERVICE_STATE as e1, IC_5_FULL_LABELS as e2, IC_5_LABELS as e3, IC_5_VICTIMIZATION as e4, INCIDENT_INVOLVEMENT_ROLE as e5, INCIDENT_INVOLVEMENT_ROLE_LABELS as e6, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as e7, INCIDENT_PARTICIPATION_ROLE as e8, INCIDENT_PARTICIPATION_ROLE_LABELS as e9, RECORD_STATE_LABELS as eA, RELATIONSHIP_CONCERNS as eB, RELATIONSHIP_CONCERNS_LABELS as eC, RELATIONSHIP_CONCERNS_VALUES as eD, RELATIONSHIP_DYNAMICS as eE, RELATIONSHIP_DYNAMICS_LABELS as eF, RELATIONSHIP_DYNAMICS_VALUES as eG, ROLE_LEVEL as eH, ROLE_LEVEL_LABELS as eI, ROLE_LEVEL_VALUES as eJ, type ReferralBranch as eK, SESSION_STATES as eL, SESSION_STATE_LABELS as eM, SHARE_VIEW as eN, SHARE_VIEW_LABELS as eO, SHARE_VIEW_VALUES as eP, SUBMISSION_STATES as eQ, SUBMISSION_STATE_LABELS as eR, type ServiceCategory as eS, type ServiceCategoryChild as eT, THREAD_INVOLVEMENT_ROLES as eU, USER_STATUS as eV, USER_STATUS_LABELS as eW, VALID_INTERACTION_TYPES as eX, VALID_RECORD_STATES as eY, deriveAgeBinFromAge as eZ, getDisplayCategoryForRole as e_, INCIDENT_PARTICIPATION_ROLE_VALUES as ea, INTERACTION_TYPES as eb, INTERACTION_TYPE_LABELS as ec, INVOLVEMENT_ROLE_TO_PERSON_TYPE as ed, MINOR_ADULT_STATUS as ee, MINOR_ADULT_STATUS_LABELS as ef, type OrgTypeGroup as eg, PARTICIPATION_ROLE_CATEGORIES as eh, PERMISSION_STATE as ei, PERMISSION_STATE_DISPLAY as ej, PERMISSION_STATE_LABELS as ek, PERMISSION_STATE_VALUES as el, PERSON_DISPLAY_CATEGORY as em, PERSON_DISPLAY_CATEGORY_LABELS as en, PERSON_ROLES as eo, PERSON_TYPE as ep, PERSON_TYPE_VALUES as eq, PLATFORM_TOOL as er, PLATFORM_TOOL_LABELS as es, PLATFORM_TOOL_VALUES as et, QUESTION_FORMAT as eu, QUESTION_FORMAT_LABELS as ev, QUICK_START_CONFIG as ew, QUICK_START_LABELS as ex, QUICK_START_TEMPLATES as ey, RECORD_STATES as ez, type FormTypeValue as f, getRelationshipCategory as f0, isIC56Missingness as f1, isIC56ValidChannel as f2, isLgbtqOrientation as f3, isProtectedRelationship as f4, isStructuredNameType as f5, isTransgenderGenderIdentity as f6, sortRelationshipsByPriority as f7, type IC13Value as g, type IC22Value as h, type IC23Value as i, type IC24Value as j, type IC25Value as k, type IC49ReferralOutcomeValue as l, type IC49ReferralVerificationValue as m, type IC49Value as n, type IC4Value as o, type IC56Value as p, type IC57Value as q, type IC58Value as r, type IC59Value as s, type IC5Value as t, type IncidentInvolvementRoleValue as u, type IncidentParticipationRoleValue as v, type InteractionTypeValue as w, type PersonDisplayCategoryValue as x, type PersonRoleValue as y, type PersonTypeValue as z };
|
package/dist/schemas/index.cjs
CHANGED
|
@@ -95,8 +95,6 @@ var CVC_1_NAME_TYPE = {
|
|
|
95
95
|
ALIAS: "alias",
|
|
96
96
|
/** Trade name / business name - single unstructured name field */
|
|
97
97
|
TRADE_NAME: "trade_name",
|
|
98
|
-
/** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
|
|
99
|
-
MONONYM: "mononym",
|
|
100
98
|
/** Nickname - single unstructured name field */
|
|
101
99
|
NICKNAME: "nickname",
|
|
102
100
|
/** Online handle or username - single unstructured name field */
|
|
@@ -108,7 +106,6 @@ var CVC_1_VALUES = [
|
|
|
108
106
|
CVC_1_NAME_TYPE.LEGAL,
|
|
109
107
|
CVC_1_NAME_TYPE.ALIAS,
|
|
110
108
|
CVC_1_NAME_TYPE.TRADE_NAME,
|
|
111
|
-
CVC_1_NAME_TYPE.MONONYM,
|
|
112
109
|
CVC_1_NAME_TYPE.NICKNAME,
|
|
113
110
|
CVC_1_NAME_TYPE.HANDLE,
|
|
114
111
|
CVC_1_NAME_TYPE.UNKNOWN
|
|
@@ -117,7 +114,6 @@ var CVC_1_LABELS = {
|
|
|
117
114
|
[CVC_1_NAME_TYPE.LEGAL]: "Legal Name",
|
|
118
115
|
[CVC_1_NAME_TYPE.ALIAS]: "Alias / AKA",
|
|
119
116
|
[CVC_1_NAME_TYPE.TRADE_NAME]: "Trade Name",
|
|
120
|
-
[CVC_1_NAME_TYPE.MONONYM]: "Mononym",
|
|
121
117
|
[CVC_1_NAME_TYPE.NICKNAME]: "Nickname",
|
|
122
118
|
[CVC_1_NAME_TYPE.HANDLE]: "Handle / Username",
|
|
123
119
|
[CVC_1_NAME_TYPE.UNKNOWN]: "Unknown"
|
|
@@ -128,7 +124,6 @@ var CVC_1_STRUCTURED_NAME_TYPES = [
|
|
|
128
124
|
var CVC_1_UNSTRUCTURED_NAME_TYPES = [
|
|
129
125
|
CVC_1_NAME_TYPE.ALIAS,
|
|
130
126
|
CVC_1_NAME_TYPE.TRADE_NAME,
|
|
131
|
-
CVC_1_NAME_TYPE.MONONYM,
|
|
132
127
|
CVC_1_NAME_TYPE.NICKNAME,
|
|
133
128
|
CVC_1_NAME_TYPE.HANDLE,
|
|
134
129
|
CVC_1_NAME_TYPE.UNKNOWN
|
|
@@ -651,7 +646,10 @@ var CVC_17_CORE_GENDER_IDENTITY = {
|
|
|
651
646
|
TRANSGENDER: "TRANSGENDER",
|
|
652
647
|
NON_BINARY: "NON_BINARY",
|
|
653
648
|
OTHER: "OTHER",
|
|
649
|
+
// Level 0 - Missingness codes (codebook canonical set)
|
|
654
650
|
UNKNOWN: "UNK",
|
|
651
|
+
DATA_NOT_COLLECTED: "DNC",
|
|
652
|
+
PREFER_NOT_TO_ANSWER: "PNA",
|
|
655
653
|
// Level 2 - Transgender subcategories
|
|
656
654
|
TRANSGENDER_FTM: "TRANSGENDER_FTM",
|
|
657
655
|
TRANSGENDER_MTF: "TRANSGENDER_MTF"
|
|
@@ -663,6 +661,8 @@ var CVC_17_LABELS = {
|
|
|
663
661
|
[CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
|
|
664
662
|
[CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
|
|
665
663
|
[CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
|
|
664
|
+
[CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
|
|
665
|
+
[CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]: "Client prefers not to answer",
|
|
666
666
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
|
|
667
667
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF"
|
|
668
668
|
};
|
|
@@ -683,6 +683,32 @@ var CVC_17_TRANSGENDER_VALUES = [
|
|
|
683
683
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
684
684
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
|
|
685
685
|
];
|
|
686
|
+
var CVC_17_SELECTABLE_VALUES = [
|
|
687
|
+
CVC_17_CORE_GENDER_IDENTITY.MALE,
|
|
688
|
+
CVC_17_CORE_GENDER_IDENTITY.FEMALE,
|
|
689
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
|
|
690
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
691
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF,
|
|
692
|
+
CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
|
|
693
|
+
CVC_17_CORE_GENDER_IDENTITY.OTHER
|
|
694
|
+
];
|
|
695
|
+
var CVC_17_MISSINGNESS_VALUES = [
|
|
696
|
+
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
697
|
+
CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
|
|
698
|
+
CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER
|
|
699
|
+
];
|
|
700
|
+
var CVC_17_VALUES = [
|
|
701
|
+
CVC_17_CORE_GENDER_IDENTITY.MALE,
|
|
702
|
+
CVC_17_CORE_GENDER_IDENTITY.FEMALE,
|
|
703
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
|
|
704
|
+
CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
|
|
705
|
+
CVC_17_CORE_GENDER_IDENTITY.OTHER,
|
|
706
|
+
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
707
|
+
CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
|
|
708
|
+
CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
|
|
709
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
710
|
+
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
|
|
711
|
+
];
|
|
686
712
|
var IC_24_RACE = {
|
|
687
713
|
AMERICAN_INDIAN_ALASKA_NATIVE: 1,
|
|
688
714
|
ASIAN: 2,
|
|
@@ -3536,6 +3562,13 @@ var CVC_67_SELECTABLE_VALUES = [
|
|
|
3536
3562
|
var CVC_67_MISSINGNESS_VALUES = [
|
|
3537
3563
|
CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
|
|
3538
3564
|
];
|
|
3565
|
+
var CVC_67_VALUES = [
|
|
3566
|
+
CVC_67_HMIS_SEX.MALE,
|
|
3567
|
+
CVC_67_HMIS_SEX.FEMALE,
|
|
3568
|
+
CVC_67_HMIS_SEX.CLIENT_PREFERS_NOT_TO_ANSWER,
|
|
3569
|
+
CVC_67_HMIS_SEX.CLIENT_DOESNT_KNOW,
|
|
3570
|
+
CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
|
|
3571
|
+
];
|
|
3539
3572
|
|
|
3540
3573
|
// src/schemas/common.ts
|
|
3541
3574
|
var addressSchema = new import_mongoose.Schema(
|
|
@@ -3563,7 +3596,11 @@ var personNameSchema = new import_mongoose.Schema(
|
|
|
3563
3596
|
isPrimary: Boolean,
|
|
3564
3597
|
alias: Boolean,
|
|
3565
3598
|
isUnknown: Boolean,
|
|
3566
|
-
isAnonymous: Boolean
|
|
3599
|
+
isAnonymous: Boolean,
|
|
3600
|
+
// Shape flag: this person has only one name (e.g., Madonna). A mononym
|
|
3601
|
+
// can itself be legal, a nickname, a trade name, etc. — it's orthogonal
|
|
3602
|
+
// to nameType, not a value of it.
|
|
3603
|
+
isMononym: Boolean
|
|
3567
3604
|
},
|
|
3568
3605
|
{ _id: false }
|
|
3569
3606
|
);
|