@htilabs/platform-common-models 0.7.0-beta.1 → 0.8.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 +0 -44
- package/dist/constants/index.cjs +76 -52
- 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 +75 -48
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
- package/dist/cvcs/index.cjs +11136 -136
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +12856 -603
- package/dist/cvcs/index.d.ts +12856 -603
- package/dist/cvcs/index.js +11060 -132
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +12593 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1686 -98
- package/dist/index.d.ts +1686 -98
- package/dist/index.js +12442 -234
- 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-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
- package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
- package/dist/schemas/index.cjs +68 -49
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -15
- package/dist/schemas/index.d.ts +11 -15
- package/dist/schemas/index.js +68 -49
- 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 +19 -25
- package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
- package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
- package/src/__tests__/cvc-structural.test.ts +76 -3
- package/src/constants/ic.ts +163 -51
- package/src/cvcs/accommodationType.v1.0.0.json +107 -0
- package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
- package/src/cvcs/actionStepType.v1.0.0.json +71 -0
- package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
- package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
- package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
- package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
- package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
- package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
- package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
- package/src/cvcs/collectionContext.v1.0.0.json +88 -0
- package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
- package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
- package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
- package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
- package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
- package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
- package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
- package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
- package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
- package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
- package/src/cvcs/exitReasons.v1.0.0.json +224 -0
- package/src/cvcs/facialHair.v1.0.0.json +71 -0
- package/src/cvcs/funder.v1.0.0.json +125 -0
- package/src/cvcs/goalCategory.v1.0.0.json +161 -0
- package/src/cvcs/goalPriority.v1.0.0.json +80 -0
- package/src/cvcs/goalStatus.v1.0.0.json +98 -0
- package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
- package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
- package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
- package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
- package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/index.ts +150 -6
- package/src/cvcs/inferenceType.v1.0.0.json +78 -0
- package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
- package/src/cvcs/languages.v1.0.0.json +1924 -0
- package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
- package/src/cvcs/legalActionType.v1.0.0.json +116 -0
- package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
- package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
- package/src/cvcs/milestoneType.v1.0.0.json +170 -0
- package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +6 -6
- package/src/cvcs/petExitReason.v1.0.0.json +107 -0
- package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
- package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
- package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
- package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
- package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
- package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
- package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
- package/src/cvcs/roleContext.v1.0.0.json +78 -0
- package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
- package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
- package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
- package/src/cvcs/serviceSource.v1.0.0.json +71 -0
- package/src/cvcs/serviceStates.v1.0.0.json +12 -2
- package/src/cvcs/sessionState.v1.0.0.json +96 -0
- package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
- package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
- package/src/cvcs/signatureType.v1.0.0.json +89 -0
- package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
- package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
- package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
- package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
- package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
- package/src/cvcs/supportStrength.v1.0.0.json +114 -0
- package/src/cvcs/supportTopic.v1.0.0.json +116 -0
- package/src/cvcs/threadStatus.v1.0.0.json +80 -0
- package/src/cvcs/threadType.v1.0.0.json +98 -0
- package/src/cvcs/timeScope.v1.0.0.json +69 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
- package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/visaType.v1.0.0.json +378 -0
- package/src/generated/cvc-enums.ts +1816 -46
- package/src/index.ts +0 -20
- package/src/schemas/common.ts +0 -4
- package/dist/config/index.cjs +0 -191
- package/dist/config/index.cjs.map +0 -1
- package/dist/config/index.d.cts +0 -101
- package/dist/config/index.d.ts +0 -101
- package/dist/config/index.js +0 -165
- package/dist/config/index.js.map +0 -1
- package/src/__tests__/runtime-contract-validator.test.ts +0 -556
- package/src/config/fixtures/valid.yaml +0 -90
- package/src/config/index.ts +0 -352
- package/src/cvcs/hmisSex.v1.0.0.json +0 -89
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
- package/src/cvcs/recencyBand.v1.0.0.json +0 -124
package/dist/models/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-
|
|
1
|
+
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-DaDrEuTa.cjs';
|
|
2
2
|
import 'mongoose';
|
|
3
|
-
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, 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-
|
|
3
|
+
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, 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-EPjPjR0z.cjs';
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-
|
|
1
|
+
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-DaDrEuTa.js';
|
|
2
2
|
import 'mongoose';
|
|
3
|
-
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, 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-
|
|
3
|
+
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, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from '../index-C0J3f169.js';
|
|
@@ -25,6 +25,8 @@ 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";
|
|
28
30
|
/** Nickname - single unstructured name field */
|
|
29
31
|
readonly NICKNAME: "nickname";
|
|
30
32
|
/** Online handle or username - single unstructured name field */
|
|
@@ -33,7 +35,7 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
33
35
|
readonly UNKNOWN: "unknown";
|
|
34
36
|
};
|
|
35
37
|
type CVC1Value = (typeof CVC_1_NAME_TYPE)[keyof typeof CVC_1_NAME_TYPE];
|
|
36
|
-
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "nickname", "handle", "unknown"];
|
|
38
|
+
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "mononym", "nickname", "handle", "unknown"];
|
|
37
39
|
declare const CVC_1_LABELS: Record<CVC1Value, string>;
|
|
38
40
|
/**
|
|
39
41
|
* Name types that require structured fields (firstName, middleName, lastName, suffix).
|
|
@@ -264,6 +266,8 @@ declare const IC_57_SERVICE_AUDIENCE: {
|
|
|
264
266
|
readonly THIRD_PARTY: 2;
|
|
265
267
|
readonly DEPENDENT_SECONDARY: 3;
|
|
266
268
|
readonly CLIENT_GROUPS: 4;
|
|
269
|
+
readonly OFFENDER: 5;
|
|
270
|
+
readonly PERSONNEL: 6;
|
|
267
271
|
};
|
|
268
272
|
type IC57Value = (typeof IC_57_SERVICE_AUDIENCE)[keyof typeof IC_57_SERVICE_AUDIENCE];
|
|
269
273
|
declare const IC_57_LABELS: Record<IC57Value, string>;
|
|
@@ -362,6 +366,7 @@ declare const SESSION_STATES: {
|
|
|
362
366
|
readonly PENDING_SAVE: 3;
|
|
363
367
|
readonly CLOSED: 4;
|
|
364
368
|
readonly DISCARDED: 5;
|
|
369
|
+
readonly SUBMITTED: 6;
|
|
365
370
|
};
|
|
366
371
|
type SessionStateValue = (typeof SESSION_STATES)[keyof typeof SESSION_STATES];
|
|
367
372
|
declare const SESSION_STATE_LABELS: Record<SessionStateValue, string>;
|
|
@@ -379,6 +384,9 @@ declare const INTERACTION_TYPES: {
|
|
|
379
384
|
readonly LAP_INCIDENT: 2;
|
|
380
385
|
readonly FIELD_RESPONSE: 3;
|
|
381
386
|
readonly EMAIL_CRISIS: 4;
|
|
387
|
+
readonly IN_PERSON: 5;
|
|
388
|
+
readonly TEXT_EMAIL: 6;
|
|
389
|
+
readonly VIRTUAL: 7;
|
|
382
390
|
readonly OTHER: 99;
|
|
383
391
|
};
|
|
384
392
|
type InteractionTypeValue = (typeof INTERACTION_TYPES)[keyof typeof INTERACTION_TYPES];
|
|
@@ -433,7 +441,9 @@ declare const IC_4_LABELS: Record<IC4Value, string>;
|
|
|
433
441
|
declare const IC_22_CORE_SEX: {
|
|
434
442
|
readonly FEMALE: 1;
|
|
435
443
|
readonly MALE: 2;
|
|
436
|
-
readonly
|
|
444
|
+
readonly NOT_REPORTED: 3;
|
|
445
|
+
readonly NOT_TRACKED: 4;
|
|
446
|
+
readonly INTERSEX: 5;
|
|
437
447
|
readonly UNKNOWN: 99;
|
|
438
448
|
};
|
|
439
449
|
type IC22Value = (typeof IC_22_CORE_SEX)[keyof typeof IC_22_CORE_SEX];
|
|
@@ -444,6 +454,8 @@ declare const IC_23_CORE_GENDER_IDENTITY: {
|
|
|
444
454
|
readonly NON_BINARY: 3;
|
|
445
455
|
readonly TRANSGENDER_FEMALE: 4;
|
|
446
456
|
readonly TRANSGENDER_MALE: 5;
|
|
457
|
+
readonly TRANSGENDER: 6;
|
|
458
|
+
readonly OTHER: 7;
|
|
447
459
|
readonly UNKNOWN: 99;
|
|
448
460
|
};
|
|
449
461
|
type IC23Value = (typeof IC_23_CORE_GENDER_IDENTITY)[keyof typeof IC_23_CORE_GENDER_IDENTITY];
|
|
@@ -480,14 +492,15 @@ declare const CVC_17_CORE_GENDER_IDENTITY: {
|
|
|
480
492
|
readonly NON_BINARY: "NON_BINARY";
|
|
481
493
|
readonly OTHER: "OTHER";
|
|
482
494
|
readonly UNKNOWN: "UNK";
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
495
|
+
readonly PREFER_NOT_TO_ANSWER: "PREFER_NOT_TO_ANSWER";
|
|
496
|
+
readonly DATA_NOT_COLLECTED: "DATA_NOT_COLLECTED";
|
|
485
497
|
readonly TRANSGENDER_FTM: "TRANSGENDER_FTM";
|
|
486
498
|
readonly TRANSGENDER_MTF: "TRANSGENDER_MTF";
|
|
487
499
|
};
|
|
488
500
|
type CVC17Value = (typeof CVC_17_CORE_GENDER_IDENTITY)[keyof typeof CVC_17_CORE_GENDER_IDENTITY];
|
|
489
501
|
declare const CVC_17_LABELS: Record<CVC17Value, string>;
|
|
490
502
|
declare const CVC_17_LEVEL_1_OPTIONS: CVC17Value[];
|
|
503
|
+
declare const CVC_17_LEVEL_0_MISSINGNESS_OPTIONS: CVC17Value[];
|
|
491
504
|
declare const CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: CVC17Value[];
|
|
492
505
|
declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
493
506
|
/**
|
|
@@ -495,9 +508,6 @@ declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
|
495
508
|
* Used for LGBTQ auto-population logic.
|
|
496
509
|
*/
|
|
497
510
|
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[];
|
|
501
511
|
declare const IC_24_RACE: {
|
|
502
512
|
readonly AMERICAN_INDIAN_ALASKA_NATIVE: 1;
|
|
503
513
|
readonly ASIAN: 2;
|
|
@@ -563,6 +573,9 @@ declare const QUICK_START_TEMPLATES: {
|
|
|
563
573
|
readonly HT_REFERRAL: "ht_referral";
|
|
564
574
|
readonly FIELD_RESPONSE: "field_response";
|
|
565
575
|
readonly EMAIL_CRISIS: "email_crisis";
|
|
576
|
+
readonly TEXT_EMAIL: "text_email";
|
|
577
|
+
readonly MISC_CALL: "misc_call";
|
|
578
|
+
readonly IN_PERSON: "in_person";
|
|
566
579
|
readonly OTHER: "other";
|
|
567
580
|
};
|
|
568
581
|
type QuickStartTemplateId = (typeof QUICK_START_TEMPLATES)[keyof typeof QUICK_START_TEMPLATES];
|
|
@@ -1731,7 +1744,6 @@ type CVC67Value = (typeof CVC_67_HMIS_SEX)[keyof typeof CVC_67_HMIS_SEX];
|
|
|
1731
1744
|
declare const CVC_67_LABELS: Record<CVC67Value, string>;
|
|
1732
1745
|
declare const CVC_67_SELECTABLE_VALUES: CVC67Value[];
|
|
1733
1746
|
declare const CVC_67_MISSINGNESS_VALUES: CVC67Value[];
|
|
1734
|
-
declare const CVC_67_VALUES: CVC67Value[];
|
|
1735
1747
|
|
|
1736
1748
|
/**
|
|
1737
1749
|
* @htilabs/platform-common-models — Platform Authorization Constants
|
|
@@ -1810,4 +1822,4 @@ type FunctionStatusValue = (typeof FUNCTION_STATUS)[keyof typeof FUNCTION_STATUS
|
|
|
1810
1822
|
declare const FUNCTION_STATUS_VALUES: readonly ["Not started", "Defined; new function", "Defined; existing PAVE function", "Functional on all apps", "Future function (not v1)"];
|
|
1811
1823
|
declare const FUNCTION_STATUS_LABELS: Record<FunctionStatusValue, string>;
|
|
1812
1824
|
|
|
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 };
|
|
1825
|
+
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_CHILD_WELFARE_EPISODE_TYPE 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_0_MISSINGNESS_OPTIONS as bR, CVC_17_LEVEL_1_OPTIONS as bS, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as bT, CVC_17_TRANSGENDER_VALUES as bU, CVC_180_EDUCATION_LEVEL as bV, CVC_180_LABELS as bW, CVC_180_ORDINAL as bX, CVC_180_VALUES as bY, CVC_181_COUNTRIES as bZ, CVC_181_LABELS 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 IC56Value as c$, CVC_196_LABELS as c0, CVC_196_VALUES as c1, CVC_1_LABELS as c2, CVC_1_NAME_TYPE as c3, CVC_1_STRUCTURED_NAME_TYPES as c4, CVC_1_UNSTRUCTURED_NAME_TYPES as c5, CVC_1_VALUES as c6, CVC_67_HMIS_SEX as c7, CVC_67_LABELS as c8, CVC_67_MISSINGNESS_VALUES as c9, DATA_QUALITY_DESCRIPTIONS as cA, DATA_QUALITY_LABELS as cB, DATA_QUALITY_VALUES as cC, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as cD, type DataQualityValue as cE, FORM_STATUS as cF, FORM_STATUS_LABELS as cG, FORM_TYPE as cH, FORM_TYPE_LABELS as cI, FUNCTION_STATUS as cJ, FUNCTION_STATUS_LABELS as cK, FUNCTION_STATUS_VALUES as cL, type FormStatusValue as cM, type FormTypeValue as cN, type FunctionStatusValue as cO, type IC13Category as cP, type IC13PriorityGroup as cQ, type IC13Value as cR, type IC22Value as cS, type IC23Value as cT, type IC24Value as cU, type IC25Value as cV, type IC49ReferralOutcomeValue as cW, type IC49ReferralVerificationValue as cX, type IC49Value as cY, type IC4Value as cZ, type IC56ChannelValue as c_, CVC_67_SELECTABLE_VALUES as ca, CVC_72_HT_TYPE as cb, CVC_72_LABELS as cc, CVC_72_VALUES as cd, CVC_76_LABELS as ce, CVC_76_RACE_ETHNICITY as cf, CVC_76_VALUES as cg, CVC_93_CHILD_WELFARE_INVOLVEMENT as ch, CVC_93_LABELS as ci, CVC_93_VALUES as cj, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as ck, CVC_95_LABELS as cl, CVC_95_VALUES as cm, CVC_96_HOMELESS_STATUS as cn, CVC_96_LABELS as co, CVC_96_VALUES as cp, CVC_97_IMMIGRANT_REFUGEE as cq, CVC_97_LABELS as cr, CVC_97_VALUES as cs, CVC_98_LABELS as ct, CVC_98_US_VETERAN as cu, CVC_98_VALUES as cv, CVC_99_ENGLISH_PROFICIENCY as cw, CVC_99_LABELS as cx, CVC_99_VALUES as cy, DATA_QUALITY as cz, AGE_BIN_REPORTING_LABELS as d, PARTICIPATION_ROLE_CATEGORIES as d$, type IC57Value as d0, type IC58ExternalCategory as d1, type IC58Value as d2, type IC59Value as d3, type IC5Value as d4, IC_13_CATEGORIES as d5, IC_13_CATEGORY_ORDER as d6, IC_13_LABELS as d7, IC_13_PRIORITY_GROUPS as d8, IC_13_RELATIONSHIP_ABBREV as d9, IC_57_SERVICE_AUDIENCE as dA, IC_58_EXTERNAL_TIERED as dB, IC_58_LABELS as dC, IC_58_ORG_TYPE_GROUPS as dD, IC_58_PRIMARY_BRANCHES as dE, IC_58_REFERRAL_ENTITY as dF, IC_59_LABELS as dG, IC_59_SERVICE_STATE as dH, IC_5_FULL_LABELS as dI, IC_5_LABELS as dJ, IC_5_VICTIMIZATION as dK, INCIDENT_INVOLVEMENT_ROLE as dL, INCIDENT_INVOLVEMENT_ROLE_LABELS as dM, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as dN, INCIDENT_PARTICIPATION_ROLE as dO, INCIDENT_PARTICIPATION_ROLE_LABELS as dP, INCIDENT_PARTICIPATION_ROLE_VALUES as dQ, INTERACTION_TYPES as dR, INTERACTION_TYPE_LABELS as dS, INVOLVEMENT_ROLE_TO_PERSON_TYPE as dT, type IncidentInvolvementRoleValue as dU, type IncidentParticipationRoleValue as dV, type InteractionTypeValue as dW, MINOR_ADULT_STATUS as dX, MINOR_ADULT_STATUS_LABELS as dY, type MinorAdultStatusValue as dZ, type OrgTypeGroup as d_, IC_13_RELATIONSHIP_TYPE as da, IC_13_REVERSE_CONTEXT_LABELS as db, IC_22_CORE_SEX as dc, IC_22_LABELS as dd, IC_23_CORE_GENDER_IDENTITY as de, IC_23_LABELS as df, IC_24_LABELS as dg, IC_24_RACE as dh, IC_25_ETHNICITY as di, IC_25_LABELS as dj, IC_48_SERVICE_CATEGORIES as dk, IC_49_DESCRIPTIONS as dl, IC_49_LABELS as dm, IC_49_REFERRAL_OUTCOME as dn, IC_49_REFERRAL_OUTCOME_LABELS as dp, IC_49_REFERRAL_VERIFICATION as dq, IC_49_REFERRAL_VERIFICATION_LABELS as dr, IC_49_SERVICE_MECHANISM as ds, IC_4_AGE_TYPE as dt, IC_4_LABELS as du, IC_56_DESCRIPTIONS as dv, IC_56_LABELS as dw, IC_56_OPTIONS as dx, IC_56_SERVICE_DELIVERY_CHANNEL as dy, IC_57_LABELS as dz, APPARENT_AGE as e, isIC56ValidChannel as e$, PERMISSION_STATE as e0, PERMISSION_STATE_DISPLAY as e1, PERMISSION_STATE_LABELS as e2, PERMISSION_STATE_VALUES as e3, PERSON_DISPLAY_CATEGORY as e4, PERSON_DISPLAY_CATEGORY_LABELS as e5, PERSON_ROLES as e6, PERSON_TYPE as e7, PERSON_TYPE_VALUES as e8, PLATFORM_TOOL as e9, type ReferralBranch as eA, type RelationshipConcernValue as eB, type RelationshipDynamicValue as eC, type RoleLevelValue as eD, SESSION_STATES as eE, SESSION_STATE_LABELS as eF, SHARE_VIEW as eG, SHARE_VIEW_LABELS as eH, SHARE_VIEW_VALUES as eI, SUBMISSION_STATES as eJ, SUBMISSION_STATE_LABELS as eK, type ServiceCategory as eL, type ServiceCategoryChild as eM, type SessionStateValue as eN, type ShareViewValue as eO, type SubmissionStateValue as eP, THREAD_INVOLVEMENT_ROLES as eQ, USER_STATUS as eR, USER_STATUS_LABELS as eS, type UserStatusValue as eT, VALID_INTERACTION_TYPES as eU, VALID_RECORD_STATES as eV, deriveAgeBinFromAge as eW, getDisplayCategoryForRole as eX, getPersonTypeForRole as eY, getRelationshipCategory as eZ, isIC56Missingness as e_, PLATFORM_TOOL_LABELS as ea, PLATFORM_TOOL_VALUES as eb, type PermissionStateValue as ec, type PersonDisplayCategoryValue as ed, type PersonRoleValue as ee, type PersonTypeValue as ef, type PlatformToolValue as eg, QUESTION_FORMAT as eh, QUESTION_FORMAT_LABELS as ei, QUICK_START_CONFIG as ej, QUICK_START_LABELS as ek, QUICK_START_TEMPLATES as el, type QuestionFormatValue as em, type QuickStartTemplateId as en, RECORD_STATES as eo, RECORD_STATE_LABELS as ep, RELATIONSHIP_CONCERNS as eq, RELATIONSHIP_CONCERNS_LABELS as er, RELATIONSHIP_CONCERNS_VALUES as es, RELATIONSHIP_DYNAMICS as et, RELATIONSHIP_DYNAMICS_LABELS as eu, RELATIONSHIP_DYNAMICS_VALUES as ev, ROLE_LEVEL as ew, ROLE_LEVEL_LABELS as ex, ROLE_LEVEL_VALUES as ey, type RecordStateValue as ez, APPARENT_AGE_LABELS as f, isLgbtqOrientation as f0, isProtectedRelationship as f1, isStructuredNameType as f2, isTransgenderGenderIdentity as f3, sortRelationshipsByPriority as f4, 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 };
|
|
@@ -25,6 +25,8 @@ 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";
|
|
28
30
|
/** Nickname - single unstructured name field */
|
|
29
31
|
readonly NICKNAME: "nickname";
|
|
30
32
|
/** Online handle or username - single unstructured name field */
|
|
@@ -33,7 +35,7 @@ declare const CVC_1_NAME_TYPE: {
|
|
|
33
35
|
readonly UNKNOWN: "unknown";
|
|
34
36
|
};
|
|
35
37
|
type CVC1Value = (typeof CVC_1_NAME_TYPE)[keyof typeof CVC_1_NAME_TYPE];
|
|
36
|
-
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "nickname", "handle", "unknown"];
|
|
38
|
+
declare const CVC_1_VALUES: readonly ["legal", "alias", "trade_name", "mononym", "nickname", "handle", "unknown"];
|
|
37
39
|
declare const CVC_1_LABELS: Record<CVC1Value, string>;
|
|
38
40
|
/**
|
|
39
41
|
* Name types that require structured fields (firstName, middleName, lastName, suffix).
|
|
@@ -264,6 +266,8 @@ declare const IC_57_SERVICE_AUDIENCE: {
|
|
|
264
266
|
readonly THIRD_PARTY: 2;
|
|
265
267
|
readonly DEPENDENT_SECONDARY: 3;
|
|
266
268
|
readonly CLIENT_GROUPS: 4;
|
|
269
|
+
readonly OFFENDER: 5;
|
|
270
|
+
readonly PERSONNEL: 6;
|
|
267
271
|
};
|
|
268
272
|
type IC57Value = (typeof IC_57_SERVICE_AUDIENCE)[keyof typeof IC_57_SERVICE_AUDIENCE];
|
|
269
273
|
declare const IC_57_LABELS: Record<IC57Value, string>;
|
|
@@ -362,6 +366,7 @@ declare const SESSION_STATES: {
|
|
|
362
366
|
readonly PENDING_SAVE: 3;
|
|
363
367
|
readonly CLOSED: 4;
|
|
364
368
|
readonly DISCARDED: 5;
|
|
369
|
+
readonly SUBMITTED: 6;
|
|
365
370
|
};
|
|
366
371
|
type SessionStateValue = (typeof SESSION_STATES)[keyof typeof SESSION_STATES];
|
|
367
372
|
declare const SESSION_STATE_LABELS: Record<SessionStateValue, string>;
|
|
@@ -379,6 +384,9 @@ declare const INTERACTION_TYPES: {
|
|
|
379
384
|
readonly LAP_INCIDENT: 2;
|
|
380
385
|
readonly FIELD_RESPONSE: 3;
|
|
381
386
|
readonly EMAIL_CRISIS: 4;
|
|
387
|
+
readonly IN_PERSON: 5;
|
|
388
|
+
readonly TEXT_EMAIL: 6;
|
|
389
|
+
readonly VIRTUAL: 7;
|
|
382
390
|
readonly OTHER: 99;
|
|
383
391
|
};
|
|
384
392
|
type InteractionTypeValue = (typeof INTERACTION_TYPES)[keyof typeof INTERACTION_TYPES];
|
|
@@ -433,7 +441,9 @@ declare const IC_4_LABELS: Record<IC4Value, string>;
|
|
|
433
441
|
declare const IC_22_CORE_SEX: {
|
|
434
442
|
readonly FEMALE: 1;
|
|
435
443
|
readonly MALE: 2;
|
|
436
|
-
readonly
|
|
444
|
+
readonly NOT_REPORTED: 3;
|
|
445
|
+
readonly NOT_TRACKED: 4;
|
|
446
|
+
readonly INTERSEX: 5;
|
|
437
447
|
readonly UNKNOWN: 99;
|
|
438
448
|
};
|
|
439
449
|
type IC22Value = (typeof IC_22_CORE_SEX)[keyof typeof IC_22_CORE_SEX];
|
|
@@ -444,6 +454,8 @@ declare const IC_23_CORE_GENDER_IDENTITY: {
|
|
|
444
454
|
readonly NON_BINARY: 3;
|
|
445
455
|
readonly TRANSGENDER_FEMALE: 4;
|
|
446
456
|
readonly TRANSGENDER_MALE: 5;
|
|
457
|
+
readonly TRANSGENDER: 6;
|
|
458
|
+
readonly OTHER: 7;
|
|
447
459
|
readonly UNKNOWN: 99;
|
|
448
460
|
};
|
|
449
461
|
type IC23Value = (typeof IC_23_CORE_GENDER_IDENTITY)[keyof typeof IC_23_CORE_GENDER_IDENTITY];
|
|
@@ -480,14 +492,15 @@ declare const CVC_17_CORE_GENDER_IDENTITY: {
|
|
|
480
492
|
readonly NON_BINARY: "NON_BINARY";
|
|
481
493
|
readonly OTHER: "OTHER";
|
|
482
494
|
readonly UNKNOWN: "UNK";
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
495
|
+
readonly PREFER_NOT_TO_ANSWER: "PREFER_NOT_TO_ANSWER";
|
|
496
|
+
readonly DATA_NOT_COLLECTED: "DATA_NOT_COLLECTED";
|
|
485
497
|
readonly TRANSGENDER_FTM: "TRANSGENDER_FTM";
|
|
486
498
|
readonly TRANSGENDER_MTF: "TRANSGENDER_MTF";
|
|
487
499
|
};
|
|
488
500
|
type CVC17Value = (typeof CVC_17_CORE_GENDER_IDENTITY)[keyof typeof CVC_17_CORE_GENDER_IDENTITY];
|
|
489
501
|
declare const CVC_17_LABELS: Record<CVC17Value, string>;
|
|
490
502
|
declare const CVC_17_LEVEL_1_OPTIONS: CVC17Value[];
|
|
503
|
+
declare const CVC_17_LEVEL_0_MISSINGNESS_OPTIONS: CVC17Value[];
|
|
491
504
|
declare const CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: CVC17Value[];
|
|
492
505
|
declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
493
506
|
/**
|
|
@@ -495,9 +508,6 @@ declare const CVC_17_TRANSGENDER_VALUES: CVC17Value[];
|
|
|
495
508
|
* Used for LGBTQ auto-population logic.
|
|
496
509
|
*/
|
|
497
510
|
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[];
|
|
501
511
|
declare const IC_24_RACE: {
|
|
502
512
|
readonly AMERICAN_INDIAN_ALASKA_NATIVE: 1;
|
|
503
513
|
readonly ASIAN: 2;
|
|
@@ -563,6 +573,9 @@ declare const QUICK_START_TEMPLATES: {
|
|
|
563
573
|
readonly HT_REFERRAL: "ht_referral";
|
|
564
574
|
readonly FIELD_RESPONSE: "field_response";
|
|
565
575
|
readonly EMAIL_CRISIS: "email_crisis";
|
|
576
|
+
readonly TEXT_EMAIL: "text_email";
|
|
577
|
+
readonly MISC_CALL: "misc_call";
|
|
578
|
+
readonly IN_PERSON: "in_person";
|
|
566
579
|
readonly OTHER: "other";
|
|
567
580
|
};
|
|
568
581
|
type QuickStartTemplateId = (typeof QUICK_START_TEMPLATES)[keyof typeof QUICK_START_TEMPLATES];
|
|
@@ -1731,7 +1744,6 @@ type CVC67Value = (typeof CVC_67_HMIS_SEX)[keyof typeof CVC_67_HMIS_SEX];
|
|
|
1731
1744
|
declare const CVC_67_LABELS: Record<CVC67Value, string>;
|
|
1732
1745
|
declare const CVC_67_SELECTABLE_VALUES: CVC67Value[];
|
|
1733
1746
|
declare const CVC_67_MISSINGNESS_VALUES: CVC67Value[];
|
|
1734
|
-
declare const CVC_67_VALUES: CVC67Value[];
|
|
1735
1747
|
|
|
1736
1748
|
/**
|
|
1737
1749
|
* @htilabs/platform-common-models — Platform Authorization Constants
|
|
@@ -1810,4 +1822,4 @@ type FunctionStatusValue = (typeof FUNCTION_STATUS)[keyof typeof FUNCTION_STATUS
|
|
|
1810
1822
|
declare const FUNCTION_STATUS_VALUES: readonly ["Not started", "Defined; new function", "Defined; existing PAVE function", "Functional on all apps", "Future function (not v1)"];
|
|
1811
1823
|
declare const FUNCTION_STATUS_LABELS: Record<FunctionStatusValue, string>;
|
|
1812
1824
|
|
|
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 };
|
|
1825
|
+
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_CHILD_WELFARE_EPISODE_TYPE 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_0_MISSINGNESS_OPTIONS as bR, CVC_17_LEVEL_1_OPTIONS as bS, CVC_17_LEVEL_2_TRANSGENDER_OPTIONS as bT, CVC_17_TRANSGENDER_VALUES as bU, CVC_180_EDUCATION_LEVEL as bV, CVC_180_LABELS as bW, CVC_180_ORDINAL as bX, CVC_180_VALUES as bY, CVC_181_COUNTRIES as bZ, CVC_181_LABELS 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 IC56Value as c$, CVC_196_LABELS as c0, CVC_196_VALUES as c1, CVC_1_LABELS as c2, CVC_1_NAME_TYPE as c3, CVC_1_STRUCTURED_NAME_TYPES as c4, CVC_1_UNSTRUCTURED_NAME_TYPES as c5, CVC_1_VALUES as c6, CVC_67_HMIS_SEX as c7, CVC_67_LABELS as c8, CVC_67_MISSINGNESS_VALUES as c9, DATA_QUALITY_DESCRIPTIONS as cA, DATA_QUALITY_LABELS as cB, DATA_QUALITY_VALUES as cC, DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY as cD, type DataQualityValue as cE, FORM_STATUS as cF, FORM_STATUS_LABELS as cG, FORM_TYPE as cH, FORM_TYPE_LABELS as cI, FUNCTION_STATUS as cJ, FUNCTION_STATUS_LABELS as cK, FUNCTION_STATUS_VALUES as cL, type FormStatusValue as cM, type FormTypeValue as cN, type FunctionStatusValue as cO, type IC13Category as cP, type IC13PriorityGroup as cQ, type IC13Value as cR, type IC22Value as cS, type IC23Value as cT, type IC24Value as cU, type IC25Value as cV, type IC49ReferralOutcomeValue as cW, type IC49ReferralVerificationValue as cX, type IC49Value as cY, type IC4Value as cZ, type IC56ChannelValue as c_, CVC_67_SELECTABLE_VALUES as ca, CVC_72_HT_TYPE as cb, CVC_72_LABELS as cc, CVC_72_VALUES as cd, CVC_76_LABELS as ce, CVC_76_RACE_ETHNICITY as cf, CVC_76_VALUES as cg, CVC_93_CHILD_WELFARE_INVOLVEMENT as ch, CVC_93_LABELS as ci, CVC_93_VALUES as cj, CVC_95_JUVENILE_JUSTICE_INVOLVEMENT as ck, CVC_95_LABELS as cl, CVC_95_VALUES as cm, CVC_96_HOMELESS_STATUS as cn, CVC_96_LABELS as co, CVC_96_VALUES as cp, CVC_97_IMMIGRANT_REFUGEE as cq, CVC_97_LABELS as cr, CVC_97_VALUES as cs, CVC_98_LABELS as ct, CVC_98_US_VETERAN as cu, CVC_98_VALUES as cv, CVC_99_ENGLISH_PROFICIENCY as cw, CVC_99_LABELS as cx, CVC_99_VALUES as cy, DATA_QUALITY as cz, AGE_BIN_REPORTING_LABELS as d, PARTICIPATION_ROLE_CATEGORIES as d$, type IC57Value as d0, type IC58ExternalCategory as d1, type IC58Value as d2, type IC59Value as d3, type IC5Value as d4, IC_13_CATEGORIES as d5, IC_13_CATEGORY_ORDER as d6, IC_13_LABELS as d7, IC_13_PRIORITY_GROUPS as d8, IC_13_RELATIONSHIP_ABBREV as d9, IC_57_SERVICE_AUDIENCE as dA, IC_58_EXTERNAL_TIERED as dB, IC_58_LABELS as dC, IC_58_ORG_TYPE_GROUPS as dD, IC_58_PRIMARY_BRANCHES as dE, IC_58_REFERRAL_ENTITY as dF, IC_59_LABELS as dG, IC_59_SERVICE_STATE as dH, IC_5_FULL_LABELS as dI, IC_5_LABELS as dJ, IC_5_VICTIMIZATION as dK, INCIDENT_INVOLVEMENT_ROLE as dL, INCIDENT_INVOLVEMENT_ROLE_LABELS as dM, INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE as dN, INCIDENT_PARTICIPATION_ROLE as dO, INCIDENT_PARTICIPATION_ROLE_LABELS as dP, INCIDENT_PARTICIPATION_ROLE_VALUES as dQ, INTERACTION_TYPES as dR, INTERACTION_TYPE_LABELS as dS, INVOLVEMENT_ROLE_TO_PERSON_TYPE as dT, type IncidentInvolvementRoleValue as dU, type IncidentParticipationRoleValue as dV, type InteractionTypeValue as dW, MINOR_ADULT_STATUS as dX, MINOR_ADULT_STATUS_LABELS as dY, type MinorAdultStatusValue as dZ, type OrgTypeGroup as d_, IC_13_RELATIONSHIP_TYPE as da, IC_13_REVERSE_CONTEXT_LABELS as db, IC_22_CORE_SEX as dc, IC_22_LABELS as dd, IC_23_CORE_GENDER_IDENTITY as de, IC_23_LABELS as df, IC_24_LABELS as dg, IC_24_RACE as dh, IC_25_ETHNICITY as di, IC_25_LABELS as dj, IC_48_SERVICE_CATEGORIES as dk, IC_49_DESCRIPTIONS as dl, IC_49_LABELS as dm, IC_49_REFERRAL_OUTCOME as dn, IC_49_REFERRAL_OUTCOME_LABELS as dp, IC_49_REFERRAL_VERIFICATION as dq, IC_49_REFERRAL_VERIFICATION_LABELS as dr, IC_49_SERVICE_MECHANISM as ds, IC_4_AGE_TYPE as dt, IC_4_LABELS as du, IC_56_DESCRIPTIONS as dv, IC_56_LABELS as dw, IC_56_OPTIONS as dx, IC_56_SERVICE_DELIVERY_CHANNEL as dy, IC_57_LABELS as dz, APPARENT_AGE as e, isIC56ValidChannel as e$, PERMISSION_STATE as e0, PERMISSION_STATE_DISPLAY as e1, PERMISSION_STATE_LABELS as e2, PERMISSION_STATE_VALUES as e3, PERSON_DISPLAY_CATEGORY as e4, PERSON_DISPLAY_CATEGORY_LABELS as e5, PERSON_ROLES as e6, PERSON_TYPE as e7, PERSON_TYPE_VALUES as e8, PLATFORM_TOOL as e9, type ReferralBranch as eA, type RelationshipConcernValue as eB, type RelationshipDynamicValue as eC, type RoleLevelValue as eD, SESSION_STATES as eE, SESSION_STATE_LABELS as eF, SHARE_VIEW as eG, SHARE_VIEW_LABELS as eH, SHARE_VIEW_VALUES as eI, SUBMISSION_STATES as eJ, SUBMISSION_STATE_LABELS as eK, type ServiceCategory as eL, type ServiceCategoryChild as eM, type SessionStateValue as eN, type ShareViewValue as eO, type SubmissionStateValue as eP, THREAD_INVOLVEMENT_ROLES as eQ, USER_STATUS as eR, USER_STATUS_LABELS as eS, type UserStatusValue as eT, VALID_INTERACTION_TYPES as eU, VALID_RECORD_STATES as eV, deriveAgeBinFromAge as eW, getDisplayCategoryForRole as eX, getPersonTypeForRole as eY, getRelationshipCategory as eZ, isIC56Missingness as e_, PLATFORM_TOOL_LABELS as ea, PLATFORM_TOOL_VALUES as eb, type PermissionStateValue as ec, type PersonDisplayCategoryValue as ed, type PersonRoleValue as ee, type PersonTypeValue as ef, type PlatformToolValue as eg, QUESTION_FORMAT as eh, QUESTION_FORMAT_LABELS as ei, QUICK_START_CONFIG as ej, QUICK_START_LABELS as ek, QUICK_START_TEMPLATES as el, type QuestionFormatValue as em, type QuickStartTemplateId as en, RECORD_STATES as eo, RECORD_STATE_LABELS as ep, RELATIONSHIP_CONCERNS as eq, RELATIONSHIP_CONCERNS_LABELS as er, RELATIONSHIP_CONCERNS_VALUES as es, RELATIONSHIP_DYNAMICS as et, RELATIONSHIP_DYNAMICS_LABELS as eu, RELATIONSHIP_DYNAMICS_VALUES as ev, ROLE_LEVEL as ew, ROLE_LEVEL_LABELS as ex, ROLE_LEVEL_VALUES as ey, type RecordStateValue as ez, APPARENT_AGE_LABELS as f, isLgbtqOrientation as f0, isProtectedRelationship as f1, isStructuredNameType as f2, isTransgenderGenderIdentity as f3, sortRelationshipsByPriority as f4, 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 };
|
package/dist/schemas/index.cjs
CHANGED
|
@@ -95,6 +95,8 @@ 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",
|
|
98
100
|
/** Nickname - single unstructured name field */
|
|
99
101
|
NICKNAME: "nickname",
|
|
100
102
|
/** Online handle or username - single unstructured name field */
|
|
@@ -106,6 +108,7 @@ var CVC_1_VALUES = [
|
|
|
106
108
|
CVC_1_NAME_TYPE.LEGAL,
|
|
107
109
|
CVC_1_NAME_TYPE.ALIAS,
|
|
108
110
|
CVC_1_NAME_TYPE.TRADE_NAME,
|
|
111
|
+
CVC_1_NAME_TYPE.MONONYM,
|
|
109
112
|
CVC_1_NAME_TYPE.NICKNAME,
|
|
110
113
|
CVC_1_NAME_TYPE.HANDLE,
|
|
111
114
|
CVC_1_NAME_TYPE.UNKNOWN
|
|
@@ -114,6 +117,7 @@ var CVC_1_LABELS = {
|
|
|
114
117
|
[CVC_1_NAME_TYPE.LEGAL]: "Legal Name",
|
|
115
118
|
[CVC_1_NAME_TYPE.ALIAS]: "Alias / AKA",
|
|
116
119
|
[CVC_1_NAME_TYPE.TRADE_NAME]: "Trade Name",
|
|
120
|
+
[CVC_1_NAME_TYPE.MONONYM]: "Mononym",
|
|
117
121
|
[CVC_1_NAME_TYPE.NICKNAME]: "Nickname",
|
|
118
122
|
[CVC_1_NAME_TYPE.HANDLE]: "Handle / Username",
|
|
119
123
|
[CVC_1_NAME_TYPE.UNKNOWN]: "Unknown"
|
|
@@ -124,6 +128,7 @@ var CVC_1_STRUCTURED_NAME_TYPES = [
|
|
|
124
128
|
var CVC_1_UNSTRUCTURED_NAME_TYPES = [
|
|
125
129
|
CVC_1_NAME_TYPE.ALIAS,
|
|
126
130
|
CVC_1_NAME_TYPE.TRADE_NAME,
|
|
131
|
+
CVC_1_NAME_TYPE.MONONYM,
|
|
127
132
|
CVC_1_NAME_TYPE.NICKNAME,
|
|
128
133
|
CVC_1_NAME_TYPE.HANDLE,
|
|
129
134
|
CVC_1_NAME_TYPE.UNKNOWN
|
|
@@ -424,13 +429,20 @@ var IC_57_SERVICE_AUDIENCE = {
|
|
|
424
429
|
CLIENT_VICTIM: 1,
|
|
425
430
|
THIRD_PARTY: 2,
|
|
426
431
|
DEPENDENT_SECONDARY: 3,
|
|
427
|
-
CLIENT_GROUPS: 4
|
|
432
|
+
CLIENT_GROUPS: 4,
|
|
433
|
+
// ADDITIVE per Thread Phase-0 SOT Block C. Labels for codes 1-3 intentionally
|
|
434
|
+
// left as-is (they diverge from the prototype semantically, but renaming them
|
|
435
|
+
// is a [TOUCHES EXISTING] change deferred out of this additive pass).
|
|
436
|
+
OFFENDER: 5,
|
|
437
|
+
PERSONNEL: 6
|
|
428
438
|
};
|
|
429
439
|
var IC_57_LABELS = {
|
|
430
440
|
[IC_57_SERVICE_AUDIENCE.CLIENT_VICTIM]: "Client / Victim",
|
|
431
441
|
[IC_57_SERVICE_AUDIENCE.THIRD_PARTY]: "Third-Party",
|
|
432
442
|
[IC_57_SERVICE_AUDIENCE.DEPENDENT_SECONDARY]: "Dependent / Secondary Victim",
|
|
433
|
-
[IC_57_SERVICE_AUDIENCE.CLIENT_GROUPS]: "Client Groups"
|
|
443
|
+
[IC_57_SERVICE_AUDIENCE.CLIENT_GROUPS]: "Client Groups",
|
|
444
|
+
[IC_57_SERVICE_AUDIENCE.OFFENDER]: "Offender",
|
|
445
|
+
[IC_57_SERVICE_AUDIENCE.PERSONNEL]: "Personnel"
|
|
434
446
|
};
|
|
435
447
|
var IC_59_SERVICE_STATE = {
|
|
436
448
|
IDENTIFIED: 1,
|
|
@@ -469,14 +481,20 @@ var SESSION_STATES = {
|
|
|
469
481
|
ACTION_NEEDED: 2,
|
|
470
482
|
PENDING_SAVE: 3,
|
|
471
483
|
CLOSED: 4,
|
|
472
|
-
DISCARDED: 5
|
|
484
|
+
DISCARDED: 5,
|
|
485
|
+
// ADDITIVE per Thread Phase-0 SOT Block G. FLAG — SESSION_STATES has no
|
|
486
|
+
// prototype source (the prototype has a single record `status`, no
|
|
487
|
+
// session-wizard state machine); SUBMITTED=6 rides Thread-local th-tsnf.13
|
|
488
|
+
// authority, not the prototype.
|
|
489
|
+
SUBMITTED: 6
|
|
473
490
|
};
|
|
474
491
|
var SESSION_STATE_LABELS = {
|
|
475
492
|
[SESSION_STATES.INITIALIZED]: "Initialized",
|
|
476
493
|
[SESSION_STATES.ACTION_NEEDED]: "Action Needed",
|
|
477
494
|
[SESSION_STATES.PENDING_SAVE]: "Pending Save",
|
|
478
495
|
[SESSION_STATES.CLOSED]: "Closed",
|
|
479
|
-
[SESSION_STATES.DISCARDED]: "Discarded"
|
|
496
|
+
[SESSION_STATES.DISCARDED]: "Discarded",
|
|
497
|
+
[SESSION_STATES.SUBMITTED]: "Submitted"
|
|
480
498
|
};
|
|
481
499
|
var RECORD_STATES = {
|
|
482
500
|
OPEN: 1,
|
|
@@ -497,6 +515,13 @@ var INTERACTION_TYPES = {
|
|
|
497
515
|
LAP_INCIDENT: 2,
|
|
498
516
|
FIELD_RESPONSE: 3,
|
|
499
517
|
EMAIL_CRISIS: 4,
|
|
518
|
+
// ADDITIVE per Thread Phase-0 SOT Block F. FLAG — numeric INTERACTION_TYPES
|
|
519
|
+
// (incl. these 3 and the pre-existing EMAIL_CRISIS=4) have no prototype
|
|
520
|
+
// source; the prototype models interactions as string template ids + the
|
|
521
|
+
// CVC-47/IC-56 delivery channel. Non-canonical wire/back-compat mirror.
|
|
522
|
+
IN_PERSON: 5,
|
|
523
|
+
TEXT_EMAIL: 6,
|
|
524
|
+
VIRTUAL: 7,
|
|
500
525
|
OTHER: 99
|
|
501
526
|
};
|
|
502
527
|
var VALID_INTERACTION_TYPES = Object.values(
|
|
@@ -510,6 +535,9 @@ var INTERACTION_TYPE_LABELS = {
|
|
|
510
535
|
[INTERACTION_TYPES.LAP_INCIDENT]: "LAP Incident",
|
|
511
536
|
[INTERACTION_TYPES.FIELD_RESPONSE]: "Field Response",
|
|
512
537
|
[INTERACTION_TYPES.EMAIL_CRISIS]: "Email Crisis",
|
|
538
|
+
[INTERACTION_TYPES.IN_PERSON]: "In Person",
|
|
539
|
+
[INTERACTION_TYPES.TEXT_EMAIL]: "Text / Email",
|
|
540
|
+
[INTERACTION_TYPES.VIRTUAL]: "Virtual",
|
|
513
541
|
[INTERACTION_TYPES.OTHER]: "Other"
|
|
514
542
|
};
|
|
515
543
|
var INCIDENT_INVOLVEMENT_ROLE = {
|
|
@@ -577,12 +605,18 @@ var IC_4_LABELS = {
|
|
|
577
605
|
var IC_22_CORE_SEX = {
|
|
578
606
|
FEMALE: 1,
|
|
579
607
|
MALE: 2,
|
|
580
|
-
|
|
608
|
+
NOT_REPORTED: 3,
|
|
609
|
+
NOT_TRACKED: 4,
|
|
610
|
+
// FLAG: no prototype source; relocated from 3 (not deleted) to preserve any
|
|
611
|
+
// out-of-repo persisted data. See migration note above.
|
|
612
|
+
INTERSEX: 5,
|
|
581
613
|
UNKNOWN: 99
|
|
582
614
|
};
|
|
583
615
|
var IC_22_LABELS = {
|
|
584
616
|
[IC_22_CORE_SEX.FEMALE]: "Female",
|
|
585
617
|
[IC_22_CORE_SEX.MALE]: "Male",
|
|
618
|
+
[IC_22_CORE_SEX.NOT_REPORTED]: "Not Reported",
|
|
619
|
+
[IC_22_CORE_SEX.NOT_TRACKED]: "Not Tracked",
|
|
586
620
|
[IC_22_CORE_SEX.INTERSEX]: "Intersex",
|
|
587
621
|
[IC_22_CORE_SEX.UNKNOWN]: "Unknown"
|
|
588
622
|
};
|
|
@@ -592,14 +626,18 @@ var IC_23_CORE_GENDER_IDENTITY = {
|
|
|
592
626
|
NON_BINARY: 3,
|
|
593
627
|
TRANSGENDER_FEMALE: 4,
|
|
594
628
|
TRANSGENDER_MALE: 5,
|
|
629
|
+
TRANSGENDER: 6,
|
|
630
|
+
OTHER: 7,
|
|
595
631
|
UNKNOWN: 99
|
|
596
632
|
};
|
|
597
633
|
var IC_23_LABELS = {
|
|
598
634
|
[IC_23_CORE_GENDER_IDENTITY.FEMALE]: "Female",
|
|
599
635
|
[IC_23_CORE_GENDER_IDENTITY.MALE]: "Male",
|
|
600
636
|
[IC_23_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
|
|
601
|
-
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_FEMALE]: "Transgender Female",
|
|
602
|
-
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_MALE]: "Transgender Male",
|
|
637
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_FEMALE]: "Transgender Female (MTF / trans woman)",
|
|
638
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER_MALE]: "Transgender Male (FTM / trans man)",
|
|
639
|
+
[IC_23_CORE_GENDER_IDENTITY.TRANSGENDER]: "Transgender",
|
|
640
|
+
[IC_23_CORE_GENDER_IDENTITY.OTHER]: "Other",
|
|
603
641
|
[IC_23_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown"
|
|
604
642
|
};
|
|
605
643
|
var CVC_15_CORE_SEX = {
|
|
@@ -646,10 +684,11 @@ var CVC_17_CORE_GENDER_IDENTITY = {
|
|
|
646
684
|
TRANSGENDER: "TRANSGENDER",
|
|
647
685
|
NON_BINARY: "NON_BINARY",
|
|
648
686
|
OTHER: "OTHER",
|
|
649
|
-
// Level 0 - Missingness codes (codebook canonical set)
|
|
650
687
|
UNKNOWN: "UNK",
|
|
651
|
-
|
|
652
|
-
|
|
688
|
+
// Level 0 - Missingness (canonical genderIdentity.v1.0.0.json L0 set).
|
|
689
|
+
// ADDITIVE per Thread Phase-0 SOT Block B step 5.
|
|
690
|
+
PREFER_NOT_TO_ANSWER: "PREFER_NOT_TO_ANSWER",
|
|
691
|
+
DATA_NOT_COLLECTED: "DATA_NOT_COLLECTED",
|
|
653
692
|
// Level 2 - Transgender subcategories
|
|
654
693
|
TRANSGENDER_FTM: "TRANSGENDER_FTM",
|
|
655
694
|
TRANSGENDER_MTF: "TRANSGENDER_MTF"
|
|
@@ -661,8 +700,8 @@ var CVC_17_LABELS = {
|
|
|
661
700
|
[CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
|
|
662
701
|
[CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
|
|
663
702
|
[CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
|
|
664
|
-
[CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
|
|
665
703
|
[CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]: "Client prefers not to answer",
|
|
704
|
+
[CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
|
|
666
705
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
|
|
667
706
|
[CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF"
|
|
668
707
|
};
|
|
@@ -674,6 +713,11 @@ var CVC_17_LEVEL_1_OPTIONS = [
|
|
|
674
713
|
CVC_17_CORE_GENDER_IDENTITY.OTHER,
|
|
675
714
|
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN
|
|
676
715
|
];
|
|
716
|
+
var CVC_17_LEVEL_0_MISSINGNESS_OPTIONS = [
|
|
717
|
+
CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
|
|
718
|
+
CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
|
|
719
|
+
CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED
|
|
720
|
+
];
|
|
677
721
|
var CVC_17_LEVEL_2_TRANSGENDER_OPTIONS = [
|
|
678
722
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
679
723
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
|
|
@@ -683,32 +727,6 @@ var CVC_17_TRANSGENDER_VALUES = [
|
|
|
683
727
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
|
|
684
728
|
CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
|
|
685
729
|
];
|
|
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
|
-
];
|
|
712
730
|
var IC_24_RACE = {
|
|
713
731
|
AMERICAN_INDIAN_ALASKA_NATIVE: 1,
|
|
714
732
|
ASIAN: 2,
|
|
@@ -828,6 +846,18 @@ var QUICK_START_CONFIG = {
|
|
|
828
846
|
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
829
847
|
interactionType: INTERACTION_TYPES.EMAIL_CRISIS
|
|
830
848
|
},
|
|
849
|
+
text_email: {
|
|
850
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.EMAIL_TEXT_CHAT,
|
|
851
|
+
interactionType: INTERACTION_TYPES.TEXT_EMAIL
|
|
852
|
+
},
|
|
853
|
+
misc_call: {
|
|
854
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
855
|
+
interactionType: INTERACTION_TYPES.OTHER
|
|
856
|
+
},
|
|
857
|
+
in_person: {
|
|
858
|
+
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.IN_PERSON,
|
|
859
|
+
interactionType: INTERACTION_TYPES.IN_PERSON
|
|
860
|
+
},
|
|
831
861
|
other: {
|
|
832
862
|
contactMethod: IC_56_SERVICE_DELIVERY_CHANNEL.PHONE,
|
|
833
863
|
interactionType: INTERACTION_TYPES.OTHER
|
|
@@ -3562,13 +3592,6 @@ var CVC_67_SELECTABLE_VALUES = [
|
|
|
3562
3592
|
var CVC_67_MISSINGNESS_VALUES = [
|
|
3563
3593
|
CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
|
|
3564
3594
|
];
|
|
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
|
-
];
|
|
3572
3595
|
|
|
3573
3596
|
// src/schemas/common.ts
|
|
3574
3597
|
var addressSchema = new import_mongoose.Schema(
|
|
@@ -3596,11 +3619,7 @@ var personNameSchema = new import_mongoose.Schema(
|
|
|
3596
3619
|
isPrimary: Boolean,
|
|
3597
3620
|
alias: Boolean,
|
|
3598
3621
|
isUnknown: 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
|
|
3622
|
+
isAnonymous: Boolean
|
|
3604
3623
|
},
|
|
3605
3624
|
{ _id: false }
|
|
3606
3625
|
);
|