@htilabs/platform-common-models 0.7.0-beta.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +5 -46
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +5 -42
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +1085 -126
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +1652 -595
  13. package/dist/cvcs/index.d.ts +1652 -595
  14. package/dist/cvcs/index.js +1074 -123
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +1253 -228
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +193 -77
  21. package/dist/index.d.ts +193 -77
  22. package/dist/index.js +1231 -216
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-CjC57132.d.cts} +4 -8
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-CjC57132.d.ts} +4 -8
  28. package/dist/schemas/index.cjs +6 -43
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +6 -43
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +18 -24
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +39 -7
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +80 -16
  39. package/src/__tests__/cvc-structural.test.ts +11 -3
  40. package/src/constants/ic.ts +6 -49
  41. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  42. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  43. package/src/cvcs/index.ts +22 -6
  44. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  45. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  46. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  47. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  48. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  49. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  50. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  51. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  52. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  53. package/src/generated/cvc-enums.ts +211 -41
  54. package/src/index.ts +0 -20
  55. package/src/schemas/common.ts +0 -4
  56. package/dist/config/index.cjs +0 -191
  57. package/dist/config/index.cjs.map +0 -1
  58. package/dist/config/index.d.cts +0 -101
  59. package/dist/config/index.d.ts +0 -101
  60. package/dist/config/index.js +0 -165
  61. package/dist/config/index.js.map +0 -1
  62. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  63. package/src/config/fixtures/valid.yaml +0 -90
  64. package/src/config/index.ts +0 -352
  65. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  66. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  67. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
package/dist/index.cjs CHANGED
@@ -64,7 +64,6 @@ __export(src_exports, {
64
64
  CVC_136_OPTIONS: () => CVC_136_OPTIONS,
65
65
  CVC_136_TYPE_TO_CATEGORY: () => CVC_136_TYPE_TO_CATEGORY,
66
66
  CVC_136_VALUES: () => CVC_136_VALUES,
67
- CVC_137_VALUES: () => CVC_137_VALUES,
68
67
  CVC_145_CATEGORY: () => CVC_145_CATEGORY,
69
68
  CVC_145_CATEGORY_LABELS: () => CVC_145_CATEGORY_LABELS,
70
69
  CVC_145_CATEGORY_ORDER: () => CVC_145_CATEGORY_ORDER,
@@ -143,10 +142,7 @@ __export(src_exports, {
143
142
  CVC_17_LABELS: () => CVC_17_LABELS,
144
143
  CVC_17_LEVEL_1_OPTIONS: () => CVC_17_LEVEL_1_OPTIONS,
145
144
  CVC_17_LEVEL_2_TRANSGENDER_OPTIONS: () => CVC_17_LEVEL_2_TRANSGENDER_OPTIONS,
146
- CVC_17_MISSINGNESS_VALUES: () => CVC_17_MISSINGNESS_VALUES,
147
- CVC_17_SELECTABLE_VALUES: () => CVC_17_SELECTABLE_VALUES,
148
145
  CVC_17_TRANSGENDER_VALUES: () => CVC_17_TRANSGENDER_VALUES,
149
- CVC_17_VALUES: () => CVC_17_VALUES,
150
146
  CVC_180_EDUCATION_LEVEL: () => CVC_180_EDUCATION_LEVEL,
151
147
  CVC_180_LABELS: () => CVC_180_LABELS,
152
148
  CVC_180_ORDINAL: () => CVC_180_ORDINAL,
@@ -156,7 +152,6 @@ __export(src_exports, {
156
152
  CVC_196_CHILD_WELFARE_EPISODE_TYPE: () => CVC_196_CHILD_WELFARE_EPISODE_TYPE,
157
153
  CVC_196_LABELS: () => CVC_196_LABELS,
158
154
  CVC_196_VALUES: () => CVC_196_VALUES,
159
- CVC_197_VALUES: () => CVC_197_VALUES,
160
155
  CVC_1_LABELS: () => CVC_1_LABELS,
161
156
  CVC_1_NAME_TYPE: () => CVC_1_NAME_TYPE,
162
157
  CVC_1_STRUCTURED_NAME_TYPES: () => CVC_1_STRUCTURED_NAME_TYPES,
@@ -166,7 +161,6 @@ __export(src_exports, {
166
161
  CVC_67_LABELS: () => CVC_67_LABELS,
167
162
  CVC_67_MISSINGNESS_VALUES: () => CVC_67_MISSINGNESS_VALUES,
168
163
  CVC_67_SELECTABLE_VALUES: () => CVC_67_SELECTABLE_VALUES,
169
- CVC_67_VALUES: () => CVC_67_VALUES,
170
164
  CVC_72_HT_TYPE: () => CVC_72_HT_TYPE,
171
165
  CVC_72_LABELS: () => CVC_72_LABELS,
172
166
  CVC_72_VALUES: () => CVC_72_VALUES,
@@ -192,6 +186,7 @@ __export(src_exports, {
192
186
  CVC_99_LABELS: () => CVC_99_LABELS,
193
187
  CVC_99_VALUES: () => CVC_99_VALUES,
194
188
  ContactInfoTypeKeys: () => ContactInfoTypeKeys,
189
+ ContactInfoUseTypeKeys: () => ContactInfoUseTypeKeys,
195
190
  ContactSafetyStatusKeys: () => ContactSafetyStatusKeys,
196
191
  CvcCodeSchema: () => CvcCodeSchema,
197
192
  CvcEntrySchema: () => CvcEntrySchema,
@@ -203,6 +198,7 @@ __export(src_exports, {
203
198
  DATA_QUALITY_LABELS: () => DATA_QUALITY_LABELS,
204
199
  DATA_QUALITY_VALUES: () => DATA_QUALITY_VALUES,
205
200
  DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY: () => DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY,
201
+ DeterminationLevelKeys: () => DeterminationLevelKeys,
206
202
  EmploymentStatusKeys: () => EmploymentStatusKeys,
207
203
  EnrollmentApplicationStatusKeys: () => EnrollmentApplicationStatusKeys,
208
204
  EyeColorKeys: () => EyeColorKeys,
@@ -221,7 +217,6 @@ __export(src_exports, {
221
217
  HairColorKeys: () => HairColorKeys,
222
218
  HasTattoosKeys: () => HasTattoosKeys,
223
219
  HighestEducationLevelCompletedKeys: () => HighestEducationLevelCompletedKeys,
224
- HmisSexKeys: () => HmisSexKeys,
225
220
  HomelessStatusKeys: () => HomelessStatusKeys,
226
221
  IC_13_CATEGORIES: () => IC_13_CATEGORIES,
227
222
  IC_13_CATEGORY_ORDER: () => IC_13_CATEGORY_ORDER,
@@ -282,7 +277,7 @@ __export(src_exports, {
282
277
  IncidentInvolvementRoleKeys: () => IncidentInvolvementRoleKeys,
283
278
  IncidentParticipationRoleKeys: () => IncidentParticipationRoleKeys,
284
279
  IncomeBenefitsSourcesKeys: () => IncomeBenefitsSourcesKeys,
285
- JuvenileJusticeEpisodeTypeKeys: () => JuvenileJusticeEpisodeTypeKeys,
280
+ InferenceTypeKeys: () => InferenceTypeKeys,
286
281
  JuvenileJusticeInvolvementStatusKeys: () => JuvenileJusticeInvolvementStatusKeys,
287
282
  LocationTypeKeys: () => LocationTypeKeys,
288
283
  MINOR_ADULT_STATUS: () => MINOR_ADULT_STATUS,
@@ -316,6 +311,7 @@ __export(src_exports, {
316
311
  QUICK_START_CONFIG: () => QUICK_START_CONFIG,
317
312
  QUICK_START_LABELS: () => QUICK_START_LABELS,
318
313
  QUICK_START_TEMPLATES: () => QUICK_START_TEMPLATES,
314
+ QualityFlagsKeys: () => QualityFlagsKeys,
319
315
  RECORD_STATES: () => RECORD_STATES,
320
316
  RECORD_STATE_LABELS: () => RECORD_STATE_LABELS,
321
317
  RELATIONSHIP_CONCERNS: () => RELATIONSHIP_CONCERNS,
@@ -328,10 +324,10 @@ __export(src_exports, {
328
324
  ROLE_LEVEL_LABELS: () => ROLE_LEVEL_LABELS,
329
325
  ROLE_LEVEL_VALUES: () => ROLE_LEVEL_VALUES,
330
326
  RaceEthnicityKeys: () => RaceEthnicityKeys,
331
- RecencyBandKeys: () => RecencyBandKeys,
332
327
  ReferralEntityCategoryKeys: () => ReferralEntityCategoryKeys,
333
328
  RelationshipStatusCurrentKeys: () => RelationshipStatusCurrentKeys,
334
329
  RelationshipTiesKeys: () => RelationshipTiesKeys,
330
+ RoleContextKeys: () => RoleContextKeys,
335
331
  SESSION_STATES: () => SESSION_STATES,
336
332
  SESSION_STATE_LABELS: () => SESSION_STATE_LABELS,
337
333
  SHARE_VIEW: () => SHARE_VIEW,
@@ -343,15 +339,21 @@ __export(src_exports, {
343
339
  ServiceCategoryKeys: () => ServiceCategoryKeys,
344
340
  ServiceMechanismKeys: () => ServiceMechanismKeys,
345
341
  ServiceStateKeys: () => ServiceStateKeys,
342
+ SessionStateKeys: () => SessionStateKeys,
346
343
  SexProviderSubroleKeys: () => SexProviderSubroleKeys,
347
344
  SharePurposeKeys: () => SharePurposeKeys,
348
345
  SmtTypeKeys: () => SmtTypeKeys,
346
+ SourceCategoryKeys: () => SourceCategoryKeys,
347
+ SourceSubtypeKeys: () => SourceSubtypeKeys,
348
+ SupportStrengthKeys: () => SupportStrengthKeys,
349
349
  THREAD_INVOLVEMENT_ROLES: () => THREAD_INVOLVEMENT_ROLES,
350
+ TimeScopeKeys: () => TimeScopeKeys,
350
351
  TribesKeys: () => TribesKeys,
351
352
  USER_STATUS: () => USER_STATUS,
352
353
  USER_STATUS_LABELS: () => USER_STATUS_LABELS,
353
354
  VALID_INTERACTION_TYPES: () => VALID_INTERACTION_TYPES,
354
355
  VALID_RECORD_STATES: () => VALID_RECORD_STATES,
356
+ VerificationMethodKeys: () => VerificationMethodKeys,
355
357
  VictimStatusFamilyKeys: () => VictimStatusFamilyKeys,
356
358
  addressSchema: () => addressSchema,
357
359
  administeringJurisdictionSot: () => administeringJurisdiction_v1_0_0_default,
@@ -370,6 +372,7 @@ __export(src_exports, {
370
372
  compileCvcEntryModel: () => compileModel8,
371
373
  compileCvcRegistryModel: () => compileModel7,
372
374
  contactInfoTypesSot: () => contactInfoTypes_v1_0_0_default,
375
+ contactInfoUseTypeSot: () => contactInfoUseType_v1_0_0_default,
373
376
  contactSafetyStatusSot: () => contactSafetyStatus_v1_0_0_default,
374
377
  createPlatformModels: () => createPlatformModels,
375
378
  cvcEntryModel: () => cvcEntryModel_exports,
@@ -381,6 +384,7 @@ __export(src_exports, {
381
384
  cvcVersionsToRecord: () => cvcVersionsToRecord,
382
385
  demographicsSchema: () => demographicsSchema,
383
386
  deriveAgeBinFromAge: () => deriveAgeBinFromAge,
387
+ determinationLevelSot: () => determinationLevel_v1_0_0_default,
384
388
  emailSchema: () => emailSchema,
385
389
  employmentStatusSot: () => employmentStatus_v1_0_0_default,
386
390
  enrollmentApplicationStatusSot: () => enrollmentApplicationStatus_v1_0_0_default,
@@ -410,18 +414,17 @@ __export(src_exports, {
410
414
  hairColorSot: () => hairColor_v1_0_0_default,
411
415
  hasTattoosSot: () => hasTattoos_v1_0_0_default,
412
416
  highestEducationLevelCompletedSot: () => highestEducationLevelCompleted_v1_0_0_default,
413
- hmisSexSot: () => hmisSex_v1_0_0_default,
414
417
  homelessStatusSot: () => homelessStatus_v1_0_0_default,
415
418
  incidentInvolvementRolesSot: () => incidentInvolvementRoles_v1_0_0_default,
416
419
  incidentParticipationRolesSot: () => incidentParticipationRoles_v1_0_0_default,
417
420
  incomeBenefitsSourcesSot: () => incomeBenefitsSources_v1_0_0_default,
421
+ inferenceTypeSot: () => inferenceType_v1_0_0_default,
418
422
  isIC56Missingness: () => isIC56Missingness,
419
423
  isIC56ValidChannel: () => isIC56ValidChannel,
420
424
  isLgbtqOrientation: () => isLgbtqOrientation,
421
425
  isProtectedRelationship: () => isProtectedRelationship,
422
426
  isStructuredNameType: () => isStructuredNameType,
423
427
  isTransgenderGenderIdentity: () => isTransgenderGenderIdentity,
424
- juvenileJusticeEpisodeTypeSot: () => juvenileJusticeEpisodeType_v1_0_0_default,
425
428
  juvenileJusticeInvolvementStatusSot: () => juvenileJusticeInvolvementStatus_v1_0_0_default,
426
429
  layoutSchema: () => layoutSchema,
427
430
  locationTypeSot: () => locationType_v1_0_0_default,
@@ -444,15 +447,16 @@ __export(src_exports, {
444
447
  preferredContactMethodSot: () => preferredContactMethod_v1_0_0_default,
445
448
  primaryLanguageSot: () => primaryLanguage_v1_0_0_default,
446
449
  pronounsSot: () => pronouns_v1_0_0_default,
450
+ qualityFlagsSot: () => qualityFlags_v1_0_0_default,
447
451
  questionModel: () => questionModel_exports,
448
452
  questionSchemaDefinition: () => questionSchemaDefinition,
449
453
  questionSchemaOptions: () => questionSchemaOptions,
450
454
  raceEthnicitySot: () => raceEthnicity_v1_0_0_default,
451
- recencyBandSot: () => recencyBand_v1_0_0_default,
452
455
  referralEntityCategorySot: () => referralEntityCategory_v1_0_0_default,
453
456
  relationshipStatusCurrentSot: () => relationshipStatusCurrent_v1_0_0_default,
454
457
  relationshipTiesSot: () => relationshipTies_v1_0_0_default,
455
458
  resolveRegistryWithInheritance: () => resolveRegistryWithInheritance,
459
+ roleContextSot: () => roleContext_v1_0_0_default,
456
460
  scoringConditionSchema: () => scoringConditionSchema,
457
461
  scoringRecommendationSchema: () => scoringRecommendationSchema,
458
462
  scoringRuleModel: () => scoringRuleModel_exports,
@@ -466,11 +470,17 @@ __export(src_exports, {
466
470
  serviceCategoriesSot: () => serviceCategories_v1_0_0_default,
467
471
  serviceMechanismsSot: () => serviceMechanisms_v1_0_0_default,
468
472
  serviceStatesSot: () => serviceStates_v1_0_0_default,
473
+ sessionStateSot: () => sessionState_v1_0_0_default,
469
474
  sexProviderSubroleSot: () => sexProviderSubrole_v1_0_0_default,
470
475
  sharePurposeSot: () => sharePurpose_v1_0_0_default,
471
476
  smtTypeSot: () => smtType_v1_0_0_default,
472
477
  sortRelationshipsByPriority: () => sortRelationshipsByPriority,
478
+ sourceCategorySot: () => sourceCategory_v1_1_0_default,
479
+ sourceSubtypeSot: () => sourceSubtype_v1_1_0_default,
480
+ supportStrengthSot: () => supportStrength_v1_0_0_default,
481
+ timeScopeSot: () => timeScope_v1_0_0_default,
473
482
  tribesSot: () => tribes_v1_0_0_default,
483
+ verificationMethodSot: () => verificationMethod_v1_0_0_default,
474
484
  victimStatusFamilySot: () => victimStatusFamily_v1_0_0_default,
475
485
  visibilityRuleSchema: () => visibilityRuleSchema
476
486
  });
@@ -507,6 +517,8 @@ var CVC_1_NAME_TYPE = {
507
517
  ALIAS: "alias",
508
518
  /** Trade name / business name - single unstructured name field */
509
519
  TRADE_NAME: "trade_name",
520
+ /** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
521
+ MONONYM: "mononym",
510
522
  /** Nickname - single unstructured name field */
511
523
  NICKNAME: "nickname",
512
524
  /** Online handle or username - single unstructured name field */
@@ -518,6 +530,7 @@ var CVC_1_VALUES = [
518
530
  CVC_1_NAME_TYPE.LEGAL,
519
531
  CVC_1_NAME_TYPE.ALIAS,
520
532
  CVC_1_NAME_TYPE.TRADE_NAME,
533
+ CVC_1_NAME_TYPE.MONONYM,
521
534
  CVC_1_NAME_TYPE.NICKNAME,
522
535
  CVC_1_NAME_TYPE.HANDLE,
523
536
  CVC_1_NAME_TYPE.UNKNOWN
@@ -526,6 +539,7 @@ var CVC_1_LABELS = {
526
539
  [CVC_1_NAME_TYPE.LEGAL]: "Legal Name",
527
540
  [CVC_1_NAME_TYPE.ALIAS]: "Alias / AKA",
528
541
  [CVC_1_NAME_TYPE.TRADE_NAME]: "Trade Name",
542
+ [CVC_1_NAME_TYPE.MONONYM]: "Mononym",
529
543
  [CVC_1_NAME_TYPE.NICKNAME]: "Nickname",
530
544
  [CVC_1_NAME_TYPE.HANDLE]: "Handle / Username",
531
545
  [CVC_1_NAME_TYPE.UNKNOWN]: "Unknown"
@@ -536,6 +550,7 @@ var CVC_1_STRUCTURED_NAME_TYPES = [
536
550
  var CVC_1_UNSTRUCTURED_NAME_TYPES = [
537
551
  CVC_1_NAME_TYPE.ALIAS,
538
552
  CVC_1_NAME_TYPE.TRADE_NAME,
553
+ CVC_1_NAME_TYPE.MONONYM,
539
554
  CVC_1_NAME_TYPE.NICKNAME,
540
555
  CVC_1_NAME_TYPE.HANDLE,
541
556
  CVC_1_NAME_TYPE.UNKNOWN
@@ -1481,10 +1496,7 @@ var CVC_17_CORE_GENDER_IDENTITY = {
1481
1496
  TRANSGENDER: "TRANSGENDER",
1482
1497
  NON_BINARY: "NON_BINARY",
1483
1498
  OTHER: "OTHER",
1484
- // Level 0 - Missingness codes (codebook canonical set)
1485
1499
  UNKNOWN: "UNK",
1486
- DATA_NOT_COLLECTED: "DNC",
1487
- PREFER_NOT_TO_ANSWER: "PNA",
1488
1500
  // Level 2 - Transgender subcategories
1489
1501
  TRANSGENDER_FTM: "TRANSGENDER_FTM",
1490
1502
  TRANSGENDER_MTF: "TRANSGENDER_MTF"
@@ -1496,8 +1508,6 @@ var CVC_17_LABELS = {
1496
1508
  [CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
1497
1509
  [CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
1498
1510
  [CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
1499
- [CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
1500
- [CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]: "Client prefers not to answer",
1501
1511
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
1502
1512
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF"
1503
1513
  };
@@ -1522,32 +1532,6 @@ function isTransgenderGenderIdentity(value) {
1522
1532
  if (!value) return false;
1523
1533
  return CVC_17_TRANSGENDER_VALUES.includes(value);
1524
1534
  }
1525
- var CVC_17_SELECTABLE_VALUES = [
1526
- CVC_17_CORE_GENDER_IDENTITY.MALE,
1527
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
1528
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
1529
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
1530
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF,
1531
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
1532
- CVC_17_CORE_GENDER_IDENTITY.OTHER
1533
- ];
1534
- var CVC_17_MISSINGNESS_VALUES = [
1535
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
1536
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
1537
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER
1538
- ];
1539
- var CVC_17_VALUES = [
1540
- CVC_17_CORE_GENDER_IDENTITY.MALE,
1541
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
1542
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
1543
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
1544
- CVC_17_CORE_GENDER_IDENTITY.OTHER,
1545
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
1546
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
1547
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
1548
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
1549
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
1550
- ];
1551
1535
  var IC_24_RACE = {
1552
1536
  AMERICAN_INDIAN_ALASKA_NATIVE: 1,
1553
1537
  ASIAN: 2,
@@ -4473,13 +4457,6 @@ var CVC_67_SELECTABLE_VALUES = [
4473
4457
  var CVC_67_MISSINGNESS_VALUES = [
4474
4458
  CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
4475
4459
  ];
4476
- var CVC_67_VALUES = [
4477
- CVC_67_HMIS_SEX.MALE,
4478
- CVC_67_HMIS_SEX.FEMALE,
4479
- CVC_67_HMIS_SEX.CLIENT_PREFERS_NOT_TO_ANSWER,
4480
- CVC_67_HMIS_SEX.CLIENT_DOESNT_KNOW,
4481
- CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
4482
- ];
4483
4460
 
4484
4461
  // src/constants/service-catalog.json
4485
4462
  var service_catalog_default = {
@@ -6090,11 +6067,7 @@ var personNameSchema = new import_mongoose.Schema(
6090
6067
  isPrimary: Boolean,
6091
6068
  alias: Boolean,
6092
6069
  isUnknown: Boolean,
6093
- isAnonymous: Boolean,
6094
- // Shape flag: this person has only one name (e.g., Madonna). A mononym
6095
- // can itself be legal, a nickname, a trade name, etc. — it's orthogonal
6096
- // to nameType, not a value of it.
6097
- isMononym: Boolean
6070
+ isAnonymous: Boolean
6098
6071
  },
6099
6072
  { _id: false }
6100
6073
  );
@@ -8239,40 +8212,146 @@ var FrequencyCadenceKeys = {
8239
8212
  annual: "176-006-000-000-000-000-000",
8240
8213
  one_time: "176-007-000-000-000-000-000"
8241
8214
  };
8242
- var RecencyBandKeys = {
8243
- missingness_root: "137-000-000-000-000-000-000",
8244
- unknown: "137-000-000-000-000-000-001",
8245
- anonymous: "137-000-000-000-000-000-002",
8246
- data_not_collected: "137-000-000-000-000-000-003",
8247
- prefer_not_to_answer: "137-000-000-000-000-000-004",
8248
- less_than_3_years: "137-001-000-000-000-000-000",
8249
- months_3_to_6: "137-002-000-000-000-000-000",
8250
- months_6_to_12: "137-003-000-000-000-000-000",
8251
- one_year_or_more: "137-004-000-000-000-000-000",
8252
- ten_plus_years: "137-005-000-000-000-000-000",
8253
- within_3_months: "137-006-000-000-000-000-000",
8254
- years_3_to_10: "137-007-000-000-000-000-000"
8255
- };
8256
- var JuvenileJusticeEpisodeTypeKeys = {
8257
- missingness_root: "197-000-000-000-000-000-000",
8258
- unknown: "197-000-000-000-000-000-001",
8259
- anonymous: "197-000-000-000-000-000-002",
8260
- data_not_collected: "197-000-000-000-000-000-003",
8261
- detention_stay: "197-001-000-000-000-000-000",
8262
- diversion_program: "197-002-000-000-000-000-000",
8263
- pending_adjudication: "197-003-000-000-000-000-000",
8264
- probation_supervision: "197-004-000-000-000-000-000",
8265
- residential_jj_placement: "197-005-000-000-000-000-000"
8266
- };
8267
- var HmisSexKeys = {
8268
- missingness_root: "067-000-000-000-000-000-000",
8269
- unknown: "067-000-000-000-000-000-001",
8270
- anonymous: "067-000-000-000-000-000-002",
8271
- data_not_collected: "067-000-000-000-000-000-003",
8272
- client_doesn_t_know: "067-000-000-000-000-000-004",
8273
- client_prefers_not_to_answer: "067-000-000-000-000-000-005",
8274
- female: "067-001-000-000-000-000-000",
8275
- male: "067-002-000-000-000-000-000"
8215
+ var InferenceTypeKeys = {
8216
+ missingness_root: "142-000-000-000-000-000-000",
8217
+ unknown: "142-000-000-000-000-000-001",
8218
+ anonymous: "142-000-000-000-000-000-002",
8219
+ data_not_collected: "142-000-000-000-000-000-003",
8220
+ manual: "142-001-000-000-000-000-000",
8221
+ rules: "142-002-000-000-000-000-000",
8222
+ model: "142-003-000-000-000-000-000"
8223
+ };
8224
+ var SourceCategoryKeys = {
8225
+ missingness_root: "140-000-000-000-000-000-000",
8226
+ unknown: "140-000-000-000-000-000-001",
8227
+ anonymous: "140-000-000-000-000-000-002",
8228
+ data_not_collected: "140-000-000-000-000-000-003",
8229
+ human: "140-001-000-000-000-000-000",
8230
+ institutional_record: "140-002-000-000-000-000-000",
8231
+ legal_evidentiary: "140-003-000-000-000-000-000",
8232
+ machine: "140-004-000-000-000-000-000",
8233
+ open_source: "140-005-000-000-000-000-000"
8234
+ };
8235
+ var SourceSubtypeKeys = {
8236
+ missingness_root: "141-000-000-000-000-000-000",
8237
+ unknown: "141-000-000-000-000-000-001",
8238
+ anonymous: "141-000-000-000-000-000-002",
8239
+ data_not_collected: "141-000-000-000-000-000-003",
8240
+ ads_profile_website: "141-001-000-000-000-000-000",
8241
+ aggregation_output: "141-002-000-000-000-000-000",
8242
+ benefits_record: "141-003-000-000-000-000-000",
8243
+ charge_document: "141-004-000-000-000-000-000",
8244
+ child_welfare_record: "141-005-000-000-000-000-000",
8245
+ conviction_record: "141-006-000-000-000-000-000",
8246
+ corrections_record: "141-007-000-000-000-000-000",
8247
+ court_record: "141-008-000-000-000-000-000",
8248
+ employment_hr_record: "141-009-000-000-000-000-000",
8249
+ forensic_medical_exam: "141-010-000-000-000-000-000",
8250
+ immigration_record: "141-011-000-000-000-000-000",
8251
+ law_enforcement_assessment: "141-012-000-000-000-000-000",
8252
+ medical_record: "141-013-000-000-000-000-000",
8253
+ model_output: "141-014-000-000-000-000-000",
8254
+ news_media: "141-015-000-000-000-000-000",
8255
+ official_id_document: "141-016-000-000-000-000-000",
8256
+ parser_extraction: "141-017-000-000-000-000-000",
8257
+ partner_agency_case_note: "141-018-000-000-000-000-000",
8258
+ public_registry: "141-019-000-000-000-000-000",
8259
+ reviews_forums_comments: "141-020-000-000-000-000-000",
8260
+ rules_engine: "141-021-000-000-000-000-000",
8261
+ school_record: "141-022-000-000-000-000-000",
8262
+ search_warrant_return: "141-023-000-000-000-000-000",
8263
+ service_provider_assessment: "141-024-000-000-000-000-000",
8264
+ service_provider_case_note: "141-025-000-000-000-000-000",
8265
+ shelter_program_record: "141-026-000-000-000-000-000",
8266
+ social_media: "141-027-000-000-000-000-000",
8267
+ staff_observation: "141-028-000-000-000-000-000",
8268
+ system_import: "141-029-000-000-000-000-000",
8269
+ third_party_report: "141-030-000-000-000-000-000",
8270
+ victim_disclosure: "141-031-000-000-000-000-000"
8271
+ };
8272
+ var SupportStrengthKeys = {
8273
+ missingness_root: "139-000-000-000-000-000-000",
8274
+ unknown: "139-000-000-000-000-000-001",
8275
+ anonymous: "139-000-000-000-000-000-002",
8276
+ data_not_collected: "139-000-000-000-000-000-003",
8277
+ adjudicated: "139-001-000-000-000-000-000",
8278
+ allegation: "139-002-000-000-000-000-000",
8279
+ corroborated: "139-003-000-000-000-000-000",
8280
+ minimally_supported: "139-004-000-000-000-000-000",
8281
+ multi_source_corroborated: "139-005-000-000-000-000-000",
8282
+ official_record_supported: "139-006-000-000-000-000-000",
8283
+ strongly_supported: "139-007-000-000-000-000-000"
8284
+ };
8285
+ var DeterminationLevelKeys = {
8286
+ missingness_root: "138-000-000-000-000-000-000",
8287
+ unknown: "138-000-000-000-000-000-001",
8288
+ anonymous: "138-000-000-000-000-000-002",
8289
+ data_not_collected: "138-000-000-000-000-000-003",
8290
+ disclosed: "138-001-000-000-000-000-000",
8291
+ estimated: "138-002-000-000-000-000-000",
8292
+ reported: "138-003-000-000-000-000-000",
8293
+ suspected: "138-004-000-000-000-000-000",
8294
+ verified: "138-005-000-000-000-000-000"
8295
+ };
8296
+ var RoleContextKeys = {
8297
+ missingness_root: "160-000-000-000-000-000-000",
8298
+ unknown: "160-000-000-000-000-000-001",
8299
+ anonymous: "160-000-000-000-000-000-002",
8300
+ data_not_collected: "160-000-000-000-000-000-003",
8301
+ both: "160-001-000-000-000-000-000",
8302
+ offender: "160-002-000-000-000-000-000",
8303
+ victim: "160-003-000-000-000-000-000"
8304
+ };
8305
+ var TimeScopeKeys = {
8306
+ missingness_root: "174-000-000-000-000-000-000",
8307
+ unknown: "174-000-000-000-000-000-001",
8308
+ anonymous: "174-000-000-000-000-000-002",
8309
+ data_not_collected: "174-000-000-000-000-000-003",
8310
+ current: "174-001-000-000-000-000-000",
8311
+ prior: "174-002-000-000-000-000-000"
8312
+ };
8313
+ var VerificationMethodKeys = {
8314
+ missingness_root: "143-000-000-000-000-000-000",
8315
+ unknown: "143-000-000-000-000-000-001",
8316
+ anonymous: "143-000-000-000-000-000-002",
8317
+ data_not_collected: "143-000-000-000-000-000-003",
8318
+ court_record_confirmed: "143-001-000-000-000-000-000",
8319
+ evidence_threshold_met: "143-002-000-000-000-000-000",
8320
+ multi_source_corroboration: "143-003-000-000-000-000-000",
8321
+ qa_audit_passed: "143-004-000-000-000-000-000",
8322
+ supervisor_review: "143-005-000-000-000-000-000"
8323
+ };
8324
+ var QualityFlagsKeys = {
8325
+ missingness_root: "144-000-000-000-000-000-000",
8326
+ unknown: "144-000-000-000-000-000-001",
8327
+ anonymous: "144-000-000-000-000-000-002",
8328
+ data_not_collected: "144-000-000-000-000-000-003",
8329
+ circular_model_label_risk: "144-001-000-000-000-000-000",
8330
+ data_redacted: "144-002-000-000-000-000-000",
8331
+ inconsistent: "144-003-000-000-000-000-000",
8332
+ self_report_only: "144-004-000-000-000-000-000",
8333
+ single_source: "144-005-000-000-000-000-000"
8334
+ };
8335
+ var ContactInfoUseTypeKeys = {
8336
+ missingness_root: "154-000-000-000-000-000-000",
8337
+ unknown: "154-000-000-000-000-000-001",
8338
+ anonymous: "154-000-000-000-000-000-002",
8339
+ data_not_collected: "154-000-000-000-000-000-003",
8340
+ business_commercial_sex: "154-001-000-000-000-000-000",
8341
+ business_non_cs: "154-002-000-000-000-000-000",
8342
+ mixed_use: "154-003-000-000-000-000-000",
8343
+ personal: "154-004-000-000-000-000-000"
8344
+ };
8345
+ var SessionStateKeys = {
8346
+ missingness_root: "216-000-000-000-000-000-000",
8347
+ unknown: "216-000-000-000-000-000-001",
8348
+ anonymous: "216-000-000-000-000-000-002",
8349
+ data_not_collected: "216-000-000-000-000-000-003",
8350
+ session_action_needed: "216-001-000-000-000-000-000",
8351
+ session_closed: "216-002-000-000-000-000-000",
8352
+ session_discarded: "216-003-000-000-000-000-000",
8353
+ session_in_progress: "216-004-000-000-000-000-000",
8354
+ session_initialized: "216-005-000-000-000-000-000"
8276
8355
  };
8277
8356
 
8278
8357
  // src/services/cvcRegistryService.ts
@@ -20024,327 +20103,1263 @@ var frequencyCadence_v1_0_0_default = {
20024
20103
  ]
20025
20104
  };
20026
20105
 
20027
- // src/cvcs/recencyBand.v1.0.0.json
20028
- var recencyBand_v1_0_0_default = {
20029
- domain: "recency_band",
20030
- name: "Core Recency Band",
20106
+ // src/cvcs/inferenceType.v1.0.0.json
20107
+ var inferenceType_v1_0_0_default = {
20108
+ domain: "inference_type",
20109
+ name: "Core Inference Type",
20031
20110
  version: "1.0.0",
20032
20111
  levels: {
20033
20112
  "0": "Unknown or Missing",
20034
- "1": "Recency Band"
20113
+ "1": "Inference type"
20035
20114
  },
20036
20115
  entries: [
20037
20116
  {
20038
- code: "137-000-000-000-000-000-000",
20117
+ code: "142-000-000-000-000-000-000",
20039
20118
  key: "missingness_root",
20040
20119
  title: "Unknown, Redacted, or Missing",
20041
20120
  selectable: false,
20042
20121
  parentCode: null,
20043
20122
  childCodes: [
20044
- "137-000-000-000-000-000-001",
20045
- "137-000-000-000-000-000-002",
20046
- "137-000-000-000-000-000-003",
20047
- "137-000-000-000-000-000-004"
20123
+ "142-000-000-000-000-000-001",
20124
+ "142-000-000-000-000-000-002",
20125
+ "142-000-000-000-000-000-003"
20048
20126
  ],
20049
20127
  definition: "Root group for values indicating absent, withheld, or uncollected data."
20050
20128
  },
20051
20129
  {
20052
- code: "137-000-000-000-000-000-001",
20130
+ code: "142-000-000-000-000-000-001",
20053
20131
  key: "unknown",
20054
20132
  title: "Unknown",
20055
20133
  selectable: true,
20056
- parentCode: "137-000-000-000-000-000-000",
20134
+ parentCode: "142-000-000-000-000-000-000",
20057
20135
  childCodes: [],
20058
20136
  definition: "Value is unknown at time of entry."
20059
20137
  },
20060
20138
  {
20061
- code: "137-000-000-000-000-000-002",
20139
+ code: "142-000-000-000-000-000-002",
20062
20140
  key: "anonymous",
20063
20141
  title: "Anonymous",
20064
20142
  selectable: true,
20065
- parentCode: "137-000-000-000-000-000-000",
20143
+ parentCode: "142-000-000-000-000-000-000",
20066
20144
  childCodes: [],
20067
20145
  definition: "Value is intentionally withheld or redacted."
20068
20146
  },
20069
20147
  {
20070
- code: "137-000-000-000-000-000-003",
20148
+ code: "142-000-000-000-000-000-003",
20071
20149
  key: "data_not_collected",
20072
20150
  title: "Data not collected",
20073
20151
  selectable: true,
20074
- parentCode: "137-000-000-000-000-000-000",
20152
+ parentCode: "142-000-000-000-000-000-000",
20075
20153
  childCodes: [],
20076
20154
  definition: "No attempt was made to collect the value."
20077
20155
  },
20078
20156
  {
20079
- code: "137-000-000-000-000-000-004",
20080
- key: "prefer_not_to_answer",
20081
- title: "Client prefers not to answer",
20157
+ code: "142-001-000-000-000-000-000",
20158
+ key: "manual",
20159
+ title: "Manual",
20082
20160
  selectable: true,
20083
- parentCode: "137-000-000-000-000-000-000",
20161
+ parentCode: null,
20084
20162
  childCodes: [],
20085
- definition: "Client was offered the opportunity to self-identify and explicitly declined to provide the value."
20163
+ definition: "A person entered the value as an explicit claim or judgment. Use when a user or staff member asserts the value directly, even if the underlying information came from open source or legal artifacts. Pair with provenance fields for origin. Manual does not imply verified; evidence strength is captured via determination_level / support_strength."
20086
20164
  },
20087
20165
  {
20088
- code: "137-001-000-000-000-000-000",
20089
- key: "less_than_3_years",
20090
- title: "Less than 3 years ago",
20166
+ code: "142-002-000-000-000-000-000",
20167
+ key: "rules",
20168
+ title: "Rules-derived",
20091
20169
  selectable: true,
20092
20170
  parentCode: null,
20093
20171
  childCodes: [],
20094
- definition: "The asserted event occurred less than 3 years ago."
20172
+ definition: "The value was derived by deterministic business logic or rules. Use for resolvers, UI auto-derivations, and deterministic transforms. Store rule set / version in mapping version fields where possible. A rules-derived value can still be verified after review."
20095
20173
  },
20096
20174
  {
20097
- code: "137-002-000-000-000-000-000",
20098
- key: "months_3_to_6",
20099
- title: "3-6 months ago",
20175
+ code: "142-003-000-000-000-000-000",
20176
+ key: "model",
20177
+ title: "Model-derived",
20100
20178
  selectable: true,
20101
20179
  parentCode: null,
20102
20180
  childCodes: [],
20103
- definition: "The asserted event occurred between 3 and 6 months ago."
20181
+ definition: "The value was produced by an ML model or statistical scoring process. Use for model classifications and risk scores. Store model id / version where possible in companion metadata. Model outputs are signals; do not equate model-derived with low evidence \u2014 rely on support_strength and verification policy."
20182
+ }
20183
+ ]
20184
+ };
20185
+
20186
+ // src/cvcs/sourceCategory.v1.1.0.json
20187
+ var sourceCategory_v1_1_0_default = {
20188
+ domain: "source_category",
20189
+ name: "Core Source Category",
20190
+ version: "1.1.0",
20191
+ levels: {
20192
+ "0": "Unknown or Missing",
20193
+ "1": "Source category"
20194
+ },
20195
+ entries: [
20196
+ {
20197
+ code: "140-000-000-000-000-000-000",
20198
+ key: "missingness_root",
20199
+ title: "Unknown, Redacted, or Missing",
20200
+ selectable: false,
20201
+ parentCode: null,
20202
+ childCodes: [
20203
+ "140-000-000-000-000-000-001",
20204
+ "140-000-000-000-000-000-002",
20205
+ "140-000-000-000-000-000-003"
20206
+ ],
20207
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20208
+ },
20209
+ {
20210
+ code: "140-000-000-000-000-000-001",
20211
+ key: "unknown",
20212
+ title: "Unknown",
20213
+ selectable: true,
20214
+ parentCode: "140-000-000-000-000-000-000",
20215
+ childCodes: [],
20216
+ definition: "Value is unknown at time of entry."
20217
+ },
20218
+ {
20219
+ code: "140-000-000-000-000-000-002",
20220
+ key: "anonymous",
20221
+ title: "Anonymous",
20222
+ selectable: true,
20223
+ parentCode: "140-000-000-000-000-000-000",
20224
+ childCodes: [],
20225
+ definition: "Value is intentionally withheld or redacted."
20226
+ },
20227
+ {
20228
+ code: "140-000-000-000-000-000-003",
20229
+ key: "data_not_collected",
20230
+ title: "Data not collected",
20231
+ selectable: true,
20232
+ parentCode: "140-000-000-000-000-000-000",
20233
+ childCodes: [],
20234
+ definition: "No attempt was made to collect the value."
20104
20235
  },
20105
20236
  {
20106
- code: "137-003-000-000-000-000-000",
20107
- key: "months_6_to_12",
20108
- title: "6-12 months ago",
20237
+ code: "140-001-000-000-000-000-000",
20238
+ key: "human",
20239
+ title: "Human",
20109
20240
  selectable: true,
20110
20241
  parentCode: null,
20111
20242
  childCodes: [],
20112
- definition: "The asserted event occurred between 6 and 12 months ago."
20243
+ definition: "Information originating from a person's account, observation, or professional judgment (including the subject, third parties, service providers, and law enforcement narratives when not anchored to a formal evidentiary artifact). Pair with source_subtype for detail (victim_disclosure, third_party_report, etc.) and with traceability fields where available. Do not treat as automatically corroborated; keep evidence strength in determination_level and support_strength."
20113
20244
  },
20114
20245
  {
20115
- code: "137-004-000-000-000-000-000",
20116
- key: "one_year_or_more",
20117
- title: "One year or more",
20246
+ code: "140-002-000-000-000-000-000",
20247
+ key: "institutional_record",
20248
+ title: "Institutional record",
20118
20249
  selectable: true,
20119
20250
  parentCode: null,
20120
20251
  childCodes: [],
20121
- definition: "The asserted event occurred one year or more ago (without further granularity)."
20252
+ definition: "Information grounded in a non-public, non-legal record produced by another institution or agency \u2014 clinical charts, school records, partner-agency case notes, employment records. Pair with source_subtype (medical_record, school_record, partner_agency_case_note, etc.) and capture traceability (source_system, source_artifact_refs, source_instrument_id) when available. If the relevant artifact is a court / charging / conviction / warrant or other evidentiary document, use legal_evidentiary instead. If the information is someone's recollection or narrative about an institution record without the record itself, use human + an appropriate subtype."
20122
20253
  },
20123
20254
  {
20124
- code: "137-005-000-000-000-000-000",
20125
- key: "ten_plus_years",
20126
- title: "10+ years ago",
20255
+ code: "140-003-000-000-000-000-000",
20256
+ key: "legal_evidentiary",
20257
+ title: "Legal evidentiary",
20127
20258
  selectable: true,
20128
20259
  parentCode: null,
20129
20260
  childCodes: [],
20130
- definition: "The asserted event occurred 10 or more years ago."
20261
+ definition: "Information grounded in formal legal / evidentiary artifacts (court records, charging documents, conviction records, warrant materials, official documentary evidence). Use when you can point to an evidentiary artifact as the basis for the assertion. Capture the artifact in source_artifact_refs where possible. Legal provenance is not synonymous with correctness for every derived fact; scope to what the artifact supports."
20131
20262
  },
20132
20263
  {
20133
- code: "137-006-000-000-000-000-000",
20134
- key: "within_3_months",
20135
- title: "Within past 3 months",
20264
+ code: "140-004-000-000-000-000-000",
20265
+ key: "machine",
20266
+ title: "Machine",
20136
20267
  selectable: true,
20137
20268
  parentCode: null,
20138
20269
  childCodes: [],
20139
- definition: "The asserted event occurred within the past 3 months."
20270
+ definition: "Information produced by automated systems, including imports / migrations, parsers / extraction, deterministic rules engines, and ML model outputs. Pair with mapping / model / rule version fields for reproducibility and auditability. Machine-produced values often require review workflows; do not conflate with evidence strength."
20140
20271
  },
20141
20272
  {
20142
- code: "137-007-000-000-000-000-000",
20143
- key: "years_3_to_10",
20144
- title: "3-10 years ago",
20273
+ code: "140-005-000-000-000-000-000",
20274
+ key: "open_source",
20275
+ title: "Open source",
20145
20276
  selectable: true,
20146
20277
  parentCode: null,
20147
20278
  childCodes: [],
20148
- definition: "The asserted event occurred between 3 and 10 years ago."
20279
+ definition: "Information originating from public / open sources (OSINT), such as ads / profile websites, public social media content, registries, or news / media reporting. Use when the origin is an open-source artifact, even if a human transcribed it into the UI. Store artifact refs and any applicable reuse constraints separately. Do not treat as verified evidence by default; provenance is separate from confidence and access controls."
20149
20280
  }
20150
20281
  ]
20151
20282
  };
20152
20283
 
20153
- // src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json
20154
- var juvenileJusticeEpisodeType_v1_0_0_default = {
20155
- domain: "juvenile_justice_episode_type",
20156
- name: "Core Juvenile Justice Episode Type",
20157
- version: "1.0.0",
20284
+ // src/cvcs/sourceSubtype.v1.1.0.json
20285
+ var sourceSubtype_v1_1_0_default = {
20286
+ domain: "source_subtype",
20287
+ name: "Core Source Subtype",
20288
+ version: "1.1.0",
20158
20289
  levels: {
20159
20290
  "0": "Unknown or Missing",
20160
- "1": "Episode Type"
20291
+ "1": "Source subtype"
20161
20292
  },
20162
20293
  entries: [
20163
20294
  {
20164
- code: "197-000-000-000-000-000-000",
20295
+ code: "141-000-000-000-000-000-000",
20165
20296
  key: "missingness_root",
20166
20297
  title: "Unknown, Redacted, or Missing",
20167
20298
  selectable: false,
20168
20299
  parentCode: null,
20169
20300
  childCodes: [
20170
- "197-000-000-000-000-000-001",
20171
- "197-000-000-000-000-000-002",
20172
- "197-000-000-000-000-000-003"
20301
+ "141-000-000-000-000-000-001",
20302
+ "141-000-000-000-000-000-002",
20303
+ "141-000-000-000-000-000-003"
20173
20304
  ],
20174
20305
  definition: "Root group for values indicating absent, withheld, or uncollected data."
20175
20306
  },
20176
20307
  {
20177
- code: "197-000-000-000-000-000-001",
20308
+ code: "141-000-000-000-000-000-001",
20178
20309
  key: "unknown",
20179
20310
  title: "Unknown",
20180
20311
  selectable: true,
20181
- parentCode: "197-000-000-000-000-000-000",
20312
+ parentCode: "141-000-000-000-000-000-000",
20182
20313
  childCodes: [],
20183
20314
  definition: "Value is unknown at time of entry."
20184
20315
  },
20185
20316
  {
20186
- code: "197-000-000-000-000-000-002",
20317
+ code: "141-000-000-000-000-000-002",
20187
20318
  key: "anonymous",
20188
20319
  title: "Anonymous",
20189
20320
  selectable: true,
20190
- parentCode: "197-000-000-000-000-000-000",
20321
+ parentCode: "141-000-000-000-000-000-000",
20191
20322
  childCodes: [],
20192
20323
  definition: "Value is intentionally withheld or redacted."
20193
20324
  },
20194
20325
  {
20195
- code: "197-000-000-000-000-000-003",
20326
+ code: "141-000-000-000-000-000-003",
20196
20327
  key: "data_not_collected",
20197
20328
  title: "Data not collected",
20198
20329
  selectable: true,
20199
- parentCode: "197-000-000-000-000-000-000",
20330
+ parentCode: "141-000-000-000-000-000-000",
20200
20331
  childCodes: [],
20201
20332
  definition: "No attempt was made to collect the value."
20202
20333
  },
20203
20334
  {
20204
- code: "197-001-000-000-000-000-000",
20205
- key: "detention_stay",
20206
- title: "Detention stay",
20335
+ code: "141-001-000-000-000-000-000",
20336
+ key: "ads_profile_website",
20337
+ title: "Ads / profile website",
20338
+ selectable: true,
20339
+ parentCode: null,
20340
+ childCodes: [],
20341
+ definition: "Online advertisement or profile page used as the origin of the information. Source category: open_source. Pair with source_artifact_refs pointing to the ad / profile capture."
20342
+ },
20343
+ {
20344
+ code: "141-002-000-000-000-000-000",
20345
+ key: "aggregation_output",
20346
+ title: "Aggregation output",
20347
+ selectable: true,
20348
+ parentCode: null,
20349
+ childCodes: [],
20350
+ definition: "Derived community-level aggregate artifact / output produced by an internal aggregation pipeline (not a model score and not a rules-engine assertion), typically based on one or more input datasets and reporting context. Source category: machine. Pair with source_system, aggregation pipeline source_instrument_id, and artifact refs to run IDs + input dataset IDs."
20351
+ },
20352
+ {
20353
+ code: "141-003-000-000-000-000-000",
20354
+ key: "benefits_record",
20355
+ title: "Benefits record",
20356
+ selectable: true,
20357
+ parentCode: null,
20358
+ childCodes: [],
20359
+ definition: "Information grounded in an official benefits / eligibility / participation record maintained by a program or institution (public or private), not a court artifact. Source category: institutional_record."
20360
+ },
20361
+ {
20362
+ code: "141-004-000-000-000-000-000",
20363
+ key: "charge_document",
20364
+ title: "Charge document",
20365
+ selectable: true,
20366
+ parentCode: null,
20367
+ childCodes: [],
20368
+ definition: "Charging document, complaint, indictment, or citation. Source category: legal_evidentiary."
20369
+ },
20370
+ {
20371
+ code: "141-005-000-000-000-000-000",
20372
+ key: "child_welfare_record",
20373
+ title: "Child welfare record",
20374
+ selectable: true,
20375
+ parentCode: null,
20376
+ childCodes: [],
20377
+ definition: "Information grounded in official child welfare / CPS documentation (case notes, investigations, placements, safety plans) maintained by a child welfare agency or program. Source category: institutional_record."
20378
+ },
20379
+ {
20380
+ code: "141-006-000-000-000-000-000",
20381
+ key: "conviction_record",
20382
+ title: "Conviction record",
20383
+ selectable: true,
20384
+ parentCode: null,
20385
+ childCodes: [],
20386
+ definition: "Conviction disposition, judgment, or sentencing record. Source category: legal_evidentiary."
20387
+ },
20388
+ {
20389
+ code: "141-007-000-000-000-000-000",
20390
+ key: "corrections_record",
20391
+ title: "Corrections record",
20392
+ selectable: true,
20393
+ parentCode: null,
20394
+ childCodes: [],
20395
+ definition: "Information grounded in official jail / prison / corrections documentation (booking, custody status, housing, incident reports, release records) maintained by a corrections institution. Source category: institutional_record."
20396
+ },
20397
+ {
20398
+ code: "141-008-000-000-000-000-000",
20399
+ key: "court_record",
20400
+ title: "Court record",
20401
+ selectable: true,
20402
+ parentCode: null,
20403
+ childCodes: [],
20404
+ definition: "Court filing, docket entry, order, transcript, or other court-originating record. Source category: legal_evidentiary."
20405
+ },
20406
+ {
20407
+ code: "141-009-000-000-000-000-000",
20408
+ key: "employment_hr_record",
20409
+ title: "Employment / HR record",
20410
+ selectable: true,
20411
+ parentCode: null,
20412
+ childCodes: [],
20413
+ definition: "Information grounded in official employment or HR documentation produced / maintained by an employer or institution (e.g., employment verification, HR notes, pay stubs when used as records). Source category: institutional_record."
20414
+ },
20415
+ {
20416
+ code: "141-010-000-000-000-000-000",
20417
+ key: "forensic_medical_exam",
20418
+ title: "Forensic medical exam",
20419
+ selectable: true,
20420
+ parentCode: null,
20421
+ childCodes: [],
20422
+ definition: "Information grounded in forensic medical exam documentation (e.g., SANE exam) maintained as an institutional / clinical record. Source category: institutional_record."
20423
+ },
20424
+ {
20425
+ code: "141-011-000-000-000-000-000",
20426
+ key: "immigration_record",
20427
+ title: "Immigration record",
20428
+ selectable: true,
20429
+ parentCode: null,
20430
+ childCodes: [],
20431
+ definition: "Information grounded in official immigration documentation or records maintained by an institution / agency. Source category: institutional_record."
20432
+ },
20433
+ {
20434
+ code: "141-012-000-000-000-000-000",
20435
+ key: "law_enforcement_assessment",
20436
+ title: "Law enforcement assessment",
20437
+ selectable: true,
20438
+ parentCode: null,
20439
+ childCodes: [],
20440
+ definition: "Narrative assessment, categorization, or investigative judgment recorded by law enforcement personnel that is not directly tied to a specific formal evidentiary artifact. Use for officer / agent / analyst narrative conclusions (e.g., appears to be controlled by, known associate of, suspected recruitment pattern). Source category: human."
20441
+ },
20442
+ {
20443
+ code: "141-013-000-000-000-000-000",
20444
+ key: "medical_record",
20445
+ title: "Medical record",
20446
+ selectable: true,
20447
+ parentCode: null,
20448
+ childCodes: [],
20449
+ definition: "Information grounded in an official clinical record (EHR / chart, encounter documentation, discharge summary, labs, imaging reports) produced or maintained by a healthcare institution. Source category: institutional_record."
20450
+ },
20451
+ {
20452
+ code: "141-014-000-000-000-000-000",
20453
+ key: "model_output",
20454
+ title: "Model output / score",
20207
20455
  selectable: true,
20208
20456
  parentCode: null,
20209
20457
  childCodes: [],
20210
- definition: "A period of confinement in a juvenile detention facility."
20458
+ definition: "Derived by an ML model or statistical scoring process. Source category: machine. Use for risk signals, classifications, or scores produced by a model. Store model id / version where possible."
20211
20459
  },
20212
20460
  {
20213
- code: "197-002-000-000-000-000-000",
20214
- key: "diversion_program",
20215
- title: "Diversion program",
20461
+ code: "141-015-000-000-000-000-000",
20462
+ key: "news_media",
20463
+ title: "News / media reporting",
20216
20464
  selectable: true,
20217
20465
  parentCode: null,
20218
20466
  childCodes: [],
20219
- definition: "Participation in a program that diverts a youth away from formal juvenile court processing."
20467
+ definition: "Public journalism or media reporting used as the origin of the information. Source category: open_source. Store link / citation in artifact refs when possible."
20220
20468
  },
20221
20469
  {
20222
- code: "197-003-000-000-000-000-000",
20223
- key: "pending_adjudication",
20224
- title: "Pending charges / adjudication process",
20470
+ code: "141-016-000-000-000-000-000",
20471
+ key: "official_id_document",
20472
+ title: "Official ID document",
20225
20473
  selectable: true,
20226
20474
  parentCode: null,
20227
20475
  childCodes: [],
20228
- definition: "An open juvenile case awaiting adjudication."
20476
+ definition: "Government-issued identity document when used as the evidentiary basis for a fact. Source category: legal_evidentiary."
20229
20477
  },
20230
20478
  {
20231
- code: "197-004-000-000-000-000-000",
20232
- key: "probation_supervision",
20233
- title: "Probation / community supervision (juvenile)",
20479
+ code: "141-017-000-000-000-000-000",
20480
+ key: "parser_extraction",
20481
+ title: "Parser extraction (OCR / NLP)",
20234
20482
  selectable: true,
20235
20483
  parentCode: null,
20236
20484
  childCodes: [],
20237
- definition: "Court-ordered supervision of a youth in the community rather than in confinement."
20485
+ definition: "Automatically extracted from unstructured text or media via OCR, parsing, or entity extraction. Source category: machine. Store artifact refs to the source content and parser version if available."
20238
20486
  },
20239
20487
  {
20240
- code: "197-005-000-000-000-000-000",
20241
- key: "residential_jj_placement",
20242
- title: "Residential JJ placement",
20488
+ code: "141-018-000-000-000-000-000",
20489
+ key: "partner_agency_case_note",
20490
+ title: "Partner agency case note",
20243
20491
  selectable: true,
20244
20492
  parentCode: null,
20245
20493
  childCodes: [],
20246
- definition: "Placement in a residential juvenile justice facility (e.g. training school, residential treatment)."
20494
+ definition: "Information grounded in official notes, logs, or case documentation produced by a partner institution / agency (non-court, non-public) used as the basis for an assertion. Source category: institutional_record."
20495
+ },
20496
+ {
20497
+ code: "141-019-000-000-000-000-000",
20498
+ key: "public_registry",
20499
+ title: "Public registry / public database lookup",
20500
+ selectable: true,
20501
+ parentCode: null,
20502
+ childCodes: [],
20503
+ definition: "Public registry or public database lookup used as the origin of the information. Source category: open_source. Use for public registries (business, property, court lookups when accessed publicly) and other public records sources not captured as formal legal evidentiary artifacts."
20504
+ },
20505
+ {
20506
+ code: "141-020-000-000-000-000-000",
20507
+ key: "reviews_forums_comments",
20508
+ title: "Reviews / forums / comments",
20509
+ selectable: true,
20510
+ parentCode: null,
20511
+ childCodes: [],
20512
+ definition: "Public reviews, forum posts, comment threads, or discussion-board content used as the origin of the information. Source category: open_source. If the content is on a social media platform, prefer social_media."
20513
+ },
20514
+ {
20515
+ code: "141-021-000-000-000-000-000",
20516
+ key: "rules_engine",
20517
+ title: "Rules engine derived",
20518
+ selectable: true,
20519
+ parentCode: null,
20520
+ childCodes: [],
20521
+ definition: "Derived by deterministic rules or business logic. Source category: machine. Store rule set / version via mapping version fields when possible."
20522
+ },
20523
+ {
20524
+ code: "141-022-000-000-000-000-000",
20525
+ key: "school_record",
20526
+ title: "School record",
20527
+ selectable: true,
20528
+ parentCode: null,
20529
+ childCodes: [],
20530
+ definition: "Information grounded in official school documentation (enrollment / attendance / disciplinary / counseling records) maintained by an educational institution. Source category: institutional_record."
20531
+ },
20532
+ {
20533
+ code: "141-023-000-000-000-000-000",
20534
+ key: "search_warrant_return",
20535
+ title: "Search warrant return",
20536
+ selectable: true,
20537
+ parentCode: null,
20538
+ childCodes: [],
20539
+ definition: "Search warrant materials, returns, or inventories. Source category: legal_evidentiary."
20540
+ },
20541
+ {
20542
+ code: "141-024-000-000-000-000-000",
20543
+ key: "service_provider_assessment",
20544
+ title: "Service provider assessment",
20545
+ selectable: true,
20546
+ parentCode: null,
20547
+ childCodes: [],
20548
+ definition: "Assessment or professional judgment by a service provider. Source category: human. Capture instrument / version where applicable."
20549
+ },
20550
+ {
20551
+ code: "141-025-000-000-000-000-000",
20552
+ key: "service_provider_case_note",
20553
+ title: "Service provider case note",
20554
+ selectable: true,
20555
+ parentCode: null,
20556
+ childCodes: [],
20557
+ definition: "Information grounded in official case notes / documentation maintained by a service provider (VSP, advocacy org, healthcare social work, case management) used as the provenance basis for an assertion. Source category: institutional_record."
20558
+ },
20559
+ {
20560
+ code: "141-026-000-000-000-000-000",
20561
+ key: "shelter_program_record",
20562
+ title: "Shelter / program record",
20563
+ selectable: true,
20564
+ parentCode: null,
20565
+ childCodes: [],
20566
+ definition: "Information grounded in official shelter / program documentation (intake, stay records, service plans, case notes) maintained by a shelter or service program. Source category: institutional_record."
20567
+ },
20568
+ {
20569
+ code: "141-027-000-000-000-000-000",
20570
+ key: "social_media",
20571
+ title: "Social media (public)",
20572
+ selectable: true,
20573
+ parentCode: null,
20574
+ childCodes: [],
20575
+ definition: "Public social media content used as the origin of the information. Source category: open_source. Store artifact references where possible."
20576
+ },
20577
+ {
20578
+ code: "141-028-000-000-000-000-000",
20579
+ key: "staff_observation",
20580
+ title: "Staff observation",
20581
+ selectable: true,
20582
+ parentCode: null,
20583
+ childCodes: [],
20584
+ definition: "First-hand observation recorded by staff during service delivery or field work (i.e., directly witnessed, not inferred from other information sources). Source category: human. Distinguish from law_enforcement_assessment: observation = directly witnessed fact / condition; assessment = judgment / interpretation."
20585
+ },
20586
+ {
20587
+ code: "141-029-000-000-000-000-000",
20588
+ key: "system_import",
20589
+ title: "System import / migration",
20590
+ selectable: true,
20591
+ parentCode: null,
20592
+ childCodes: [],
20593
+ definition: "Imported from an upstream system, bulk migration, or automated sync. Source category: machine. Pair with source_system and mapping version where applicable."
20594
+ },
20595
+ {
20596
+ code: "141-030-000-000-000-000-000",
20597
+ key: "third_party_report",
20598
+ title: "Third-party report",
20599
+ selectable: true,
20600
+ parentCode: null,
20601
+ childCodes: [],
20602
+ definition: "Another person reports information about the subject. Source category: human. Use for reports from family, friends, community members, anonymous tipsters, or other non-subject reporters."
20603
+ },
20604
+ {
20605
+ code: "141-031-000-000-000-000-000",
20606
+ key: "victim_disclosure",
20607
+ title: "Victim disclosure",
20608
+ selectable: true,
20609
+ parentCode: null,
20610
+ childCodes: [],
20611
+ definition: "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
20247
20612
  }
20248
20613
  ]
20249
20614
  };
20250
20615
 
20251
- // src/cvcs/hmisSex.v1.0.0.json
20252
- var hmisSex_v1_0_0_default = {
20253
- domain: "hmis_sex",
20254
- name: "Core HMIS Sex",
20616
+ // src/cvcs/supportStrength.v1.0.0.json
20617
+ var supportStrength_v1_0_0_default = {
20618
+ domain: "support_strength",
20619
+ name: "Core Support Strength",
20255
20620
  version: "1.0.0",
20256
20621
  levels: {
20257
20622
  "0": "Unknown or Missing",
20258
- "1": "Sex"
20623
+ "1": "Support strength"
20259
20624
  },
20260
20625
  entries: [
20261
20626
  {
20262
- code: "067-000-000-000-000-000-000",
20627
+ code: "139-000-000-000-000-000-000",
20263
20628
  key: "missingness_root",
20264
20629
  title: "Unknown, Redacted, or Missing",
20265
20630
  selectable: false,
20266
20631
  parentCode: null,
20267
20632
  childCodes: [
20268
- "067-000-000-000-000-000-001",
20269
- "067-000-000-000-000-000-002",
20270
- "067-000-000-000-000-000-003",
20271
- "067-000-000-000-000-000-004",
20272
- "067-000-000-000-000-000-005"
20633
+ "139-000-000-000-000-000-001",
20634
+ "139-000-000-000-000-000-002",
20635
+ "139-000-000-000-000-000-003"
20273
20636
  ],
20274
20637
  definition: "Root group for values indicating absent, withheld, or uncollected data."
20275
20638
  },
20276
20639
  {
20277
- code: "067-000-000-000-000-000-001",
20640
+ code: "139-000-000-000-000-000-001",
20278
20641
  key: "unknown",
20279
20642
  title: "Unknown",
20280
20643
  selectable: true,
20281
- parentCode: "067-000-000-000-000-000-000",
20644
+ parentCode: "139-000-000-000-000-000-000",
20282
20645
  childCodes: [],
20283
20646
  definition: "Value is unknown at time of entry."
20284
20647
  },
20285
20648
  {
20286
- code: "067-000-000-000-000-000-002",
20649
+ code: "139-000-000-000-000-000-002",
20287
20650
  key: "anonymous",
20288
20651
  title: "Anonymous",
20289
20652
  selectable: true,
20290
- parentCode: "067-000-000-000-000-000-000",
20653
+ parentCode: "139-000-000-000-000-000-000",
20291
20654
  childCodes: [],
20292
20655
  definition: "Value is intentionally withheld or redacted."
20293
20656
  },
20294
20657
  {
20295
- code: "067-000-000-000-000-000-003",
20658
+ code: "139-000-000-000-000-000-003",
20296
20659
  key: "data_not_collected",
20297
20660
  title: "Data not collected",
20298
20661
  selectable: true,
20299
- parentCode: "067-000-000-000-000-000-000",
20662
+ parentCode: "139-000-000-000-000-000-000",
20300
20663
  childCodes: [],
20301
- definition: "Use this response if the staff does not ask the person to provide their sex."
20664
+ definition: "No attempt was made to collect the value."
20302
20665
  },
20303
20666
  {
20304
- code: "067-000-000-000-000-000-004",
20305
- key: "client_doesn_t_know",
20306
- title: "Client doesn't know",
20667
+ code: "139-001-000-000-000-000-000",
20668
+ key: "adjudicated",
20669
+ title: "Adjudicated / disposition-supported",
20307
20670
  selectable: true,
20308
- parentCode: "067-000-000-000-000-000-000",
20671
+ parentCode: null,
20309
20672
  childCodes: [],
20310
- definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
20673
+ definition: "Supported by an adjudication, disposition, or judgment record indicating a formal case outcome (e.g., conviction, dismissal, deferred adjudication) as captured in artifact refs. Not a blanket truth stamp for all related allegations; scope is limited to what the disposition actually supports. Should be rare outside justice-process domains."
20311
20674
  },
20312
20675
  {
20313
- code: "067-000-000-000-000-000-005",
20314
- key: "client_prefers_not_to_answer",
20315
- title: "Client prefers not to answer",
20676
+ code: "139-002-000-000-000-000-000",
20677
+ key: "allegation",
20678
+ title: "Allegation (uncorroborated)",
20316
20679
  selectable: true,
20317
- parentCode: "067-000-000-000-000-000-000",
20680
+ parentCode: null,
20318
20681
  childCodes: [],
20319
- definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
20682
+ definition: "An articulated claim without independent corroboration. Use when an assertion is stated (by the subject or a third party) but there is not yet corroboration from an independent source or artifact. May pair with determination_level = disclosed or reported. Not eligible for verified badges."
20320
20683
  },
20321
20684
  {
20322
- code: "067-001-000-000-000-000-000",
20323
- key: "female",
20324
- title: "Female",
20685
+ code: "139-003-000-000-000-000-000",
20686
+ key: "corroborated",
20687
+ title: "Corroborated (single source)",
20325
20688
  selectable: true,
20326
20689
  parentCode: null,
20327
20690
  childCodes: [],
20328
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
20691
+ definition: "Supported by at least one independent source or artifact beyond the original source of the claim. Use when there is corroboration beyond the original claim source, such as an independent witness, document, digital artifact, or cross-system record. Still not necessarily confirmed in a legal sense."
20329
20692
  },
20330
20693
  {
20331
- code: "067-002-000-000-000-000-000",
20332
- key: "male",
20333
- title: "Male",
20694
+ code: "139-004-000-000-000-000-000",
20695
+ key: "minimally_supported",
20696
+ title: "Minimally / weakly supported",
20697
+ selectable: true,
20698
+ parentCode: null,
20699
+ childCodes: [],
20700
+ definition: "Weak support based mostly on signals, indicators, or pattern matches rather than articulated claims or independent corroboration. Use for early-stage support when the underlying facts are incomplete or indirect. Should not be eligible for training labels."
20701
+ },
20702
+ {
20703
+ code: "139-005-000-000-000-000-000",
20704
+ key: "multi_source_corroborated",
20705
+ title: "Multi-source corroborated",
20334
20706
  selectable: true,
20335
20707
  parentCode: null,
20336
20708
  childCodes: [],
20337
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
20709
+ definition: "Supported by two or more independent sources or artifacts that materially corroborate the claim. Use when corroboration comes from multiple independent sources (e.g., two separate artifacts, systems, agencies, or witnesses), not just repeated copies of the same underlying record. Stronger than single-source corroborated."
20710
+ },
20711
+ {
20712
+ code: "139-006-000-000-000-000-000",
20713
+ key: "official_record_supported",
20714
+ title: "Official-record supported",
20715
+ selectable: true,
20716
+ parentCode: null,
20717
+ childCodes: [],
20718
+ definition: "Supported by an official record from a government or regulated institutional source (e.g., court portal entry, charging document, booking record, program enrollment record), as captured in artifact refs. About support type and traceability, not a guarantee of accuracy or admissibility. Often pairs with source_category = legal_evidentiary or open_source plus artifact refs."
20719
+ },
20720
+ {
20721
+ code: "139-007-000-000-000-000-000",
20722
+ key: "strongly_supported",
20723
+ title: "Strongly supported (per policy)",
20724
+ selectable: true,
20725
+ parentCode: null,
20726
+ childCodes: [],
20727
+ definition: "Strong support per organizational policy, typically including multi-source corroboration and / or traceable official records, with complete provenance. This is support strength, not a legal conclusion or a court finding. Eligible for training-label candidacy and / or verified UI badges only when other requirements are met. Prefer the more specific tiers (multi_source_corroborated, official_record_supported, adjudicated) when applicable."
20338
20728
  }
20339
20729
  ]
20340
20730
  };
20341
20731
 
20342
- // src/index.ts
20343
- var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
20344
- var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
20345
- var CVC_197_VALUES = selectableCodes(
20346
- juvenileJusticeEpisodeType_v1_0_0_default
20347
- );
20732
+ // src/cvcs/determinationLevel.v1.0.0.json
20733
+ var determinationLevel_v1_0_0_default = {
20734
+ domain: "determination_level",
20735
+ name: "Core Determination Level",
20736
+ version: "1.0.0",
20737
+ levels: {
20738
+ "0": "Unknown or Missing",
20739
+ "1": "Determination level"
20740
+ },
20741
+ entries: [
20742
+ {
20743
+ code: "138-000-000-000-000-000-000",
20744
+ key: "missingness_root",
20745
+ title: "Unknown, Redacted, or Missing",
20746
+ selectable: false,
20747
+ parentCode: null,
20748
+ childCodes: [
20749
+ "138-000-000-000-000-000-001",
20750
+ "138-000-000-000-000-000-002",
20751
+ "138-000-000-000-000-000-003"
20752
+ ],
20753
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20754
+ },
20755
+ {
20756
+ code: "138-000-000-000-000-000-001",
20757
+ key: "unknown",
20758
+ title: "Unknown",
20759
+ selectable: true,
20760
+ parentCode: "138-000-000-000-000-000-000",
20761
+ childCodes: [],
20762
+ definition: "Value is unknown at time of entry."
20763
+ },
20764
+ {
20765
+ code: "138-000-000-000-000-000-002",
20766
+ key: "anonymous",
20767
+ title: "Anonymous",
20768
+ selectable: true,
20769
+ parentCode: "138-000-000-000-000-000-000",
20770
+ childCodes: [],
20771
+ definition: "Value is intentionally withheld or redacted."
20772
+ },
20773
+ {
20774
+ code: "138-000-000-000-000-000-003",
20775
+ key: "data_not_collected",
20776
+ title: "Data not collected",
20777
+ selectable: true,
20778
+ parentCode: "138-000-000-000-000-000-000",
20779
+ childCodes: [],
20780
+ definition: "No attempt was made to collect the value."
20781
+ },
20782
+ {
20783
+ code: "138-001-000-000-000-000-000",
20784
+ key: "disclosed",
20785
+ title: "Disclosed (subject)",
20786
+ selectable: true,
20787
+ parentCode: null,
20788
+ childCodes: [],
20789
+ definition: "The subject discloses or self-reports the condition occurred or applies. Use for trauma-informed capture of disclosures without requiring independent corroboration. Often high priority for service workflows. Pair with support_strength = allegation by default unless corroboration exists."
20790
+ },
20791
+ {
20792
+ code: "138-002-000-000-000-000-000",
20793
+ key: "estimated",
20794
+ title: "Estimated (system-derived)",
20795
+ selectable: true,
20796
+ parentCode: null,
20797
+ childCodes: [],
20798
+ definition: "Statistical or heuristic estimate where underlying facts may be partial or inferred; useful for early triage and modeling, but not a direct claim by a person or authority. Use when the system or staff is inferring a status from incomplete signals (heuristics, early screening patterns, probabilistic scoring). Do not treat as a disclosure. Pair with inference_type = rules / model when applicable."
20799
+ },
20800
+ {
20801
+ code: "138-003-000-000-000-000-000",
20802
+ key: "reported",
20803
+ title: "Reported (third-party)",
20804
+ selectable: true,
20805
+ parentCode: null,
20806
+ childCodes: [],
20807
+ definition: "A third party reports the condition occurred or applies (not the subject's own account). Use when information comes from someone other than the subject: witness, family, another agency, community tip, etc. Not a measure of truth. Pair with support_strength to capture corroboration strength."
20808
+ },
20809
+ {
20810
+ code: "138-004-000-000-000-000-000",
20811
+ key: "suspected",
20812
+ title: "Suspected (working theory)",
20813
+ selectable: true,
20814
+ parentCode: null,
20815
+ childCodes: [],
20816
+ definition: "A working hypothesis or investigative theory that the condition likely applies, but is not yet established as a report / disclosure or verified determination. Use for early investigation, suspicion from indicators, or preliminary hypotheses by staff or partners. May be elevated to verified later via superseding entries. Avoid using as a long-term resting state."
20817
+ },
20818
+ {
20819
+ code: "138-005-000-000-000-000-000",
20820
+ key: "verified",
20821
+ title: "Verified (operational)",
20822
+ selectable: true,
20823
+ parentCode: null,
20824
+ childCodes: [],
20825
+ definition: "The asserting organization has verified the condition to a defined operational threshold (not necessarily a legal finding). Use when an agency's policy defines what counts as verified for program / reporting or an internal badge. Verification criteria vary by org; record the policy / threshold via provenance notes or mapping version. Verified means an organization has performed an explicit verification act under a defined threshold; support / corroboration belongs in support_strength."
20826
+ }
20827
+ ]
20828
+ };
20829
+
20830
+ // src/cvcs/roleContext.v1.0.0.json
20831
+ var roleContext_v1_0_0_default = {
20832
+ domain: "role_context",
20833
+ name: "Core Role Context",
20834
+ version: "1.0.0",
20835
+ levels: {
20836
+ "0": "Unknown or Missing",
20837
+ "1": "Role context"
20838
+ },
20839
+ entries: [
20840
+ {
20841
+ code: "160-000-000-000-000-000-000",
20842
+ key: "missingness_root",
20843
+ title: "Unknown, Redacted, or Missing",
20844
+ selectable: false,
20845
+ parentCode: null,
20846
+ childCodes: [
20847
+ "160-000-000-000-000-000-001",
20848
+ "160-000-000-000-000-000-002",
20849
+ "160-000-000-000-000-000-003"
20850
+ ],
20851
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20852
+ },
20853
+ {
20854
+ code: "160-000-000-000-000-000-001",
20855
+ key: "unknown",
20856
+ title: "Unknown",
20857
+ selectable: true,
20858
+ parentCode: "160-000-000-000-000-000-000",
20859
+ childCodes: [],
20860
+ definition: "Unknown or cannot be determined from the available information. Use when the victim / offender lens cannot be determined. Prefer improving completeness over time; avoid persisting unknown when a more specific context is later known."
20861
+ },
20862
+ {
20863
+ code: "160-000-000-000-000-000-002",
20864
+ key: "anonymous",
20865
+ title: "Anonymous",
20866
+ selectable: true,
20867
+ parentCode: "160-000-000-000-000-000-000",
20868
+ childCodes: [],
20869
+ definition: "Information is intentionally withheld or redacted. Use only when role context is intentionally withheld (not as a default)."
20870
+ },
20871
+ {
20872
+ code: "160-000-000-000-000-000-003",
20873
+ key: "data_not_collected",
20874
+ title: "Data not collected",
20875
+ selectable: true,
20876
+ parentCode: "160-000-000-000-000-000-000",
20877
+ childCodes: [],
20878
+ definition: "No attempt was made to collect the value. Use when role context was not asked or not captured by the source workflow."
20879
+ },
20880
+ {
20881
+ code: "160-001-000-000-000-000-000",
20882
+ key: "both",
20883
+ title: "Both",
20884
+ selectable: true,
20885
+ parentCode: null,
20886
+ childCodes: [],
20887
+ definition: "Assertion is meaningfully about both victimization and offending (dual-role) or a context where both lenses apply. Use when a subject has both victim and offender aspects in the asserted context (e.g., coerced offending, reciprocal exploitation, or when policy explicitly treats the claim as dual-role). Use sparingly and only when the dual-role meaning is intentional."
20888
+ },
20889
+ {
20890
+ code: "160-002-000-000-000-000-000",
20891
+ key: "offender",
20892
+ title: "Offender",
20893
+ selectable: true,
20894
+ parentCode: null,
20895
+ childCodes: [],
20896
+ definition: "Assertion is being made from the offending / perpetration lens (the subject is being described as harming / exploiting another party in the relevant context). Use when the asserted claim is about offending / perpetration (e.g., offender status, trafficking-offender determination). Independent of the asserted value code; combines with assertion_domain + determination_level."
20897
+ },
20898
+ {
20899
+ code: "160-003-000-000-000-000-000",
20900
+ key: "victim",
20901
+ title: "Victim",
20902
+ selectable: true,
20903
+ parentCode: null,
20904
+ childCodes: [],
20905
+ definition: "Assertion is being made from the victimization lens (the subject is being described as harmed / victimized in the relevant context). Use when the asserted claim is about victimization (e.g., victim status, victimization type, relationship dynamics describing harm to the subject). This is a context label for the assertion, not the asserted content itself. Do not use to encode commercial-sex-industry roles (sex provider / facilitator / buyer)."
20906
+ }
20907
+ ]
20908
+ };
20909
+
20910
+ // src/cvcs/timeScope.v1.0.0.json
20911
+ var timeScope_v1_0_0_default = {
20912
+ domain: "time_scope",
20913
+ name: "Core Time Scope",
20914
+ version: "1.0.0",
20915
+ levels: {
20916
+ "0": "Unknown or Missing",
20917
+ "1": "Time scope"
20918
+ },
20919
+ entries: [
20920
+ {
20921
+ code: "174-000-000-000-000-000-000",
20922
+ key: "missingness_root",
20923
+ title: "Unknown, Redacted, or Missing",
20924
+ selectable: false,
20925
+ parentCode: null,
20926
+ childCodes: [
20927
+ "174-000-000-000-000-000-001",
20928
+ "174-000-000-000-000-000-002",
20929
+ "174-000-000-000-000-000-003"
20930
+ ],
20931
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20932
+ },
20933
+ {
20934
+ code: "174-000-000-000-000-000-001",
20935
+ key: "unknown",
20936
+ title: "Unknown",
20937
+ selectable: true,
20938
+ parentCode: "174-000-000-000-000-000-000",
20939
+ childCodes: [],
20940
+ definition: "It cannot be determined whether the assertion is current vs prior as of time_as_of. Use when the source captures the concept but does not specify current vs historical (or conflicting evidence prevents resolution). Avoid using as a default; prefer prompting / collecting the missing temporal framing when feasible. Downstream current-status resolvers should treat this as non-evidence (not as false, and not as current)."
20941
+ },
20942
+ {
20943
+ code: "174-000-000-000-000-000-002",
20944
+ key: "anonymous",
20945
+ title: "Anonymous",
20946
+ selectable: true,
20947
+ parentCode: "174-000-000-000-000-000-000",
20948
+ childCodes: [],
20949
+ definition: "Value is intentionally withheld or redacted."
20950
+ },
20951
+ {
20952
+ code: "174-000-000-000-000-000-003",
20953
+ key: "data_not_collected",
20954
+ title: "Data not collected",
20955
+ selectable: true,
20956
+ parentCode: "174-000-000-000-000-000-000",
20957
+ childCodes: [],
20958
+ definition: "No attempt was made to collect the value."
20959
+ },
20960
+ {
20961
+ code: "174-001-000-000-000-000-000",
20962
+ key: "current",
20963
+ title: "Current",
20964
+ selectable: true,
20965
+ parentCode: null,
20966
+ childCodes: [],
20967
+ definition: "The assertion is intended to represent a state / condition that is true at time_as_of. Use when the source indicates currently, now, at intake, as of assessment / interview, or otherwise implies the condition is ongoing / present at the as-of time. Common pattern: set time_is_active = true when the condition is ongoing and no end is known. Current is evaluated relative to time_as_of, not today in system time."
20968
+ },
20969
+ {
20970
+ code: "174-002-000-000-000-000-000",
20971
+ key: "prior",
20972
+ title: "Prior",
20973
+ selectable: true,
20974
+ parentCode: null,
20975
+ childCodes: [],
20976
+ definition: "The assertion represents a state / condition that occurred before time_as_of and is not true at time_as_of. Use when the source indicates previously, history of, former, past, no longer, or otherwise implies it is not current. If known, populate time_end (or at least don't mark time_is_active true). Prior does not require precise dates; it can be paired with recency_band when the source provides only buckets."
20977
+ }
20978
+ ]
20979
+ };
20980
+
20981
+ // src/cvcs/verificationMethod.v1.0.0.json
20982
+ var verificationMethod_v1_0_0_default = {
20983
+ domain: "verification_method",
20984
+ name: "Core Verification Method",
20985
+ version: "1.0.0",
20986
+ levels: {
20987
+ "0": "Unknown or Missing",
20988
+ "1": "Verification method"
20989
+ },
20990
+ entries: [
20991
+ {
20992
+ code: "143-000-000-000-000-000-000",
20993
+ key: "missingness_root",
20994
+ title: "Unknown, Redacted, or Missing",
20995
+ selectable: false,
20996
+ parentCode: null,
20997
+ childCodes: [
20998
+ "143-000-000-000-000-000-001",
20999
+ "143-000-000-000-000-000-002",
21000
+ "143-000-000-000-000-000-003"
21001
+ ],
21002
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
21003
+ },
21004
+ {
21005
+ code: "143-000-000-000-000-000-001",
21006
+ key: "unknown",
21007
+ title: "Unknown",
21008
+ selectable: true,
21009
+ parentCode: "143-000-000-000-000-000-000",
21010
+ childCodes: [],
21011
+ definition: "Value is unknown at time of entry."
21012
+ },
21013
+ {
21014
+ code: "143-000-000-000-000-000-002",
21015
+ key: "anonymous",
21016
+ title: "Anonymous",
21017
+ selectable: true,
21018
+ parentCode: "143-000-000-000-000-000-000",
21019
+ childCodes: [],
21020
+ definition: "Value is intentionally withheld or redacted."
21021
+ },
21022
+ {
21023
+ code: "143-000-000-000-000-000-003",
21024
+ key: "data_not_collected",
21025
+ title: "Data not collected",
21026
+ selectable: true,
21027
+ parentCode: "143-000-000-000-000-000-000",
21028
+ childCodes: [],
21029
+ definition: "No attempt was made to collect the value."
21030
+ },
21031
+ {
21032
+ code: "143-001-000-000-000-000-000",
21033
+ key: "court_record_confirmed",
21034
+ title: "Court record confirmed",
21035
+ selectable: true,
21036
+ parentCode: null,
21037
+ childCodes: [],
21038
+ definition: "Verification is grounded in a court record or comparable legal evidentiary artifact. Use when an evidentiary artifact confirms the asserted fact. Pair with legal_evidentiary provenance and artifact refs. Scope to what the artifact supports; do not over-infer facts beyond the artifact."
21039
+ },
21040
+ {
21041
+ code: "143-002-000-000-000-000-000",
21042
+ key: "evidence_threshold_met",
21043
+ title: "Evidence threshold met",
21044
+ selectable: true,
21045
+ parentCode: null,
21046
+ childCodes: [],
21047
+ definition: "Verification was applied because a documented evidence threshold was met (policy-driven), regardless of specific method category. Use when the organization has a formal threshold and wants a generic code plus policy version tracking. Prefer more specific methods when possible; use this when method granularity is not captured."
21048
+ },
21049
+ {
21050
+ code: "143-003-000-000-000-000-000",
21051
+ key: "multi_source_corroboration",
21052
+ title: "Multi-source corroboration",
21053
+ selectable: true,
21054
+ parentCode: null,
21055
+ childCodes: [],
21056
+ definition: "Verification is based on corroboration from multiple independent sources or artifacts. Use when your verification policy requires 2+ independent sources. Capture corroboration count / notes where available. Define independent in policy. Often pairs with support_strength = corroborated or stronger."
21057
+ },
21058
+ {
21059
+ code: "143-004-000-000-000-000-000",
21060
+ key: "qa_audit_passed",
21061
+ title: "QA audit passed",
21062
+ selectable: true,
21063
+ parentCode: null,
21064
+ childCodes: [],
21065
+ definition: "The assertion passed a defined QA / audit checklist or review process. Use for systematic data quality verification processes. Store audit reference ids externally via artifact refs where applicable. Useful for governance and reproducibility."
21066
+ },
21067
+ {
21068
+ code: "143-005-000-000-000-000-000",
21069
+ key: "supervisor_review",
21070
+ title: "Supervisor review",
21071
+ selectable: true,
21072
+ parentCode: null,
21073
+ childCodes: [],
21074
+ definition: "A supervisor (or designated reviewer) reviewed the assertion and marked it verified under an operational review process. Use when verification is granted via human review workflow. Pair with verified_by_user_id and verified_at, and capture any required support_strength policy. Not equivalent to legal confirmation; scope is operational."
21075
+ }
21076
+ ]
21077
+ };
21078
+
21079
+ // src/cvcs/qualityFlags.v1.0.0.json
21080
+ var qualityFlags_v1_0_0_default = {
21081
+ domain: "quality_flags",
21082
+ name: "Core Quality Flags",
21083
+ version: "1.0.0",
21084
+ levels: {
21085
+ "0": "Unknown or Missing",
21086
+ "1": "Quality flag"
21087
+ },
21088
+ entries: [
21089
+ {
21090
+ code: "144-000-000-000-000-000-000",
21091
+ key: "missingness_root",
21092
+ title: "Unknown, Redacted, or Missing",
21093
+ selectable: false,
21094
+ parentCode: null,
21095
+ childCodes: [
21096
+ "144-000-000-000-000-000-001",
21097
+ "144-000-000-000-000-000-002",
21098
+ "144-000-000-000-000-000-003"
21099
+ ],
21100
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
21101
+ },
21102
+ {
21103
+ code: "144-000-000-000-000-000-001",
21104
+ key: "unknown",
21105
+ title: "Unknown",
21106
+ selectable: true,
21107
+ parentCode: "144-000-000-000-000-000-000",
21108
+ childCodes: [],
21109
+ definition: "Value is unknown at time of entry."
21110
+ },
21111
+ {
21112
+ code: "144-000-000-000-000-000-002",
21113
+ key: "anonymous",
21114
+ title: "Anonymous",
21115
+ selectable: true,
21116
+ parentCode: "144-000-000-000-000-000-000",
21117
+ childCodes: [],
21118
+ definition: "Value is intentionally withheld or redacted."
21119
+ },
21120
+ {
21121
+ code: "144-000-000-000-000-000-003",
21122
+ key: "data_not_collected",
21123
+ title: "Data not collected",
21124
+ selectable: true,
21125
+ parentCode: "144-000-000-000-000-000-000",
21126
+ childCodes: [],
21127
+ definition: "No attempt was made to collect the value."
21128
+ },
21129
+ {
21130
+ code: "144-001-000-000-000-000-000",
21131
+ key: "circular_model_label_risk",
21132
+ title: "Circular model label risk",
21133
+ selectable: true,
21134
+ parentCode: null,
21135
+ childCodes: [],
21136
+ definition: "The assertion risks circularity because it was derived from model labels, model-generated features, or self-referential training data. Use to prevent leakage into training labels and evaluation datasets. Common policy: exclude from training labels and model evaluation ground truth."
21137
+ },
21138
+ {
21139
+ code: "144-002-000-000-000-000-000",
21140
+ key: "data_redacted",
21141
+ title: "Data redacted",
21142
+ selectable: true,
21143
+ parentCode: null,
21144
+ childCodes: [],
21145
+ definition: "Supporting details are redacted, withheld, or otherwise unavailable, increasing uncertainty or limiting review. Use when access constraints or redaction limit verification or auditing. Pair with governance controls where applicable. May restrict downstream sharing and training-label eligibility."
21146
+ },
21147
+ {
21148
+ code: "144-003-000-000-000-000-000",
21149
+ key: "inconsistent",
21150
+ title: "Inconsistent",
21151
+ selectable: true,
21152
+ parentCode: null,
21153
+ childCodes: [],
21154
+ definition: "The assertion conflicts with other available information and needs resolution. Use when there is a known contradiction (time, identity, relationship, status) that impacts downstream use. Common policy: block verified badge and training-label eligibility until resolved."
21155
+ },
21156
+ {
21157
+ code: "144-004-000-000-000-000-000",
21158
+ key: "self_report_only",
21159
+ title: "Self-report only",
21160
+ selectable: true,
21161
+ parentCode: null,
21162
+ childCodes: [],
21163
+ definition: "The assertion is based only on subject disclosure without independent corroboration. Use to explicitly mark self-report-only support. Pairs well with determination_level = disclosed and support_strength = allegation. Allow for trauma-informed workflows. Often restrict verified badge unless additional evidence exists."
21164
+ },
21165
+ {
21166
+ code: "144-005-000-000-000-000-000",
21167
+ key: "single_source",
21168
+ title: "Single source",
21169
+ selectable: true,
21170
+ parentCode: null,
21171
+ childCodes: [],
21172
+ definition: "The assertion is supported by only one source or artifact. Use when corroboration is absent and the claim rests on a single source. Does not prevent use in care workflows. Often blocks training labels unless policy allows."
21173
+ }
21174
+ ]
21175
+ };
21176
+
21177
+ // src/cvcs/contactInfoUseType.v1.0.0.json
21178
+ var contactInfoUseType_v1_0_0_default = {
21179
+ domain: "contact_info_use_type",
21180
+ name: "Core Contact Info Use Type",
21181
+ version: "1.0.0",
21182
+ levels: {
21183
+ "0": "Unknown or Missing",
21184
+ "1": "Use type"
21185
+ },
21186
+ entries: [
21187
+ {
21188
+ code: "154-000-000-000-000-000-000",
21189
+ key: "missingness_root",
21190
+ title: "Unknown, Redacted, or Missing",
21191
+ selectable: false,
21192
+ parentCode: null,
21193
+ childCodes: [
21194
+ "154-000-000-000-000-000-001",
21195
+ "154-000-000-000-000-000-002",
21196
+ "154-000-000-000-000-000-003"
21197
+ ],
21198
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
21199
+ },
21200
+ {
21201
+ code: "154-000-000-000-000-000-001",
21202
+ key: "unknown",
21203
+ title: "Unknown",
21204
+ selectable: true,
21205
+ parentCode: "154-000-000-000-000-000-000",
21206
+ childCodes: [],
21207
+ definition: "Usage context is not known."
21208
+ },
21209
+ {
21210
+ code: "154-000-000-000-000-000-002",
21211
+ key: "anonymous",
21212
+ title: "Anonymous",
21213
+ selectable: true,
21214
+ parentCode: "154-000-000-000-000-000-000",
21215
+ childCodes: [],
21216
+ definition: "Value is intentionally withheld or redacted."
21217
+ },
21218
+ {
21219
+ code: "154-000-000-000-000-000-003",
21220
+ key: "data_not_collected",
21221
+ title: "Data not collected",
21222
+ selectable: true,
21223
+ parentCode: "154-000-000-000-000-000-000",
21224
+ childCodes: [],
21225
+ definition: "Worker did not attempt to collect / record usage context."
21226
+ },
21227
+ {
21228
+ code: "154-001-000-000-000-000-000",
21229
+ key: "business_commercial_sex",
21230
+ title: "Business (commercial sex)",
21231
+ selectable: true,
21232
+ parentCode: null,
21233
+ childCodes: [],
21234
+ definition: "Used primarily for commercial sex advertising, client communication, or related coordination. If a source instrument directly encodes a CS-only flag, map that into this code."
21235
+ },
21236
+ {
21237
+ code: "154-002-000-000-000-000-000",
21238
+ key: "business_non_cs",
21239
+ title: "Business (non-CS)",
21240
+ selectable: true,
21241
+ parentCode: null,
21242
+ childCodes: [],
21243
+ definition: "Used primarily for work / business communication not specific to commercial sex activity (employer, general business, services, etc.)."
21244
+ },
21245
+ {
21246
+ code: "154-003-000-000-000-000-000",
21247
+ key: "mixed_use",
21248
+ title: "Mixed use",
21249
+ selectable: true,
21250
+ parentCode: null,
21251
+ childCodes: [],
21252
+ definition: "Used for both personal and business purposes (including where business includes commercial sex activity)."
21253
+ },
21254
+ {
21255
+ code: "154-004-000-000-000-000-000",
21256
+ key: "personal",
21257
+ title: "Personal",
21258
+ selectable: true,
21259
+ parentCode: null,
21260
+ childCodes: [],
21261
+ definition: "Used primarily for personal / family communication."
21262
+ }
21263
+ ]
21264
+ };
21265
+
21266
+ // src/cvcs/sessionState.v1.0.0.json
21267
+ var sessionState_v1_0_0_default = {
21268
+ domain: "session_state",
21269
+ name: "Core Session State",
21270
+ version: "1.0.0",
21271
+ levels: {
21272
+ "0": "Unknown or Missing",
21273
+ "1": "Session state"
21274
+ },
21275
+ entries: [
21276
+ {
21277
+ code: "216-000-000-000-000-000-000",
21278
+ key: "missingness_root",
21279
+ title: "Unknown, Redacted, or Missing",
21280
+ selectable: false,
21281
+ parentCode: null,
21282
+ childCodes: [
21283
+ "216-000-000-000-000-000-001",
21284
+ "216-000-000-000-000-000-002",
21285
+ "216-000-000-000-000-000-003"
21286
+ ],
21287
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
21288
+ },
21289
+ {
21290
+ code: "216-000-000-000-000-000-001",
21291
+ key: "unknown",
21292
+ title: "Unknown",
21293
+ selectable: true,
21294
+ parentCode: "216-000-000-000-000-000-000",
21295
+ childCodes: [],
21296
+ definition: "Value is unknown at time of entry."
21297
+ },
21298
+ {
21299
+ code: "216-000-000-000-000-000-002",
21300
+ key: "anonymous",
21301
+ title: "Anonymous",
21302
+ selectable: true,
21303
+ parentCode: "216-000-000-000-000-000-000",
21304
+ childCodes: [],
21305
+ definition: "Value is intentionally withheld or redacted."
21306
+ },
21307
+ {
21308
+ code: "216-000-000-000-000-000-003",
21309
+ key: "data_not_collected",
21310
+ title: "Data not collected",
21311
+ selectable: true,
21312
+ parentCode: "216-000-000-000-000-000-000",
21313
+ childCodes: [],
21314
+ definition: "No attempt was made to collect the value."
21315
+ },
21316
+ {
21317
+ code: "216-001-000-000-000-000-000",
21318
+ key: "session_action_needed",
21319
+ title: "Action needed",
21320
+ selectable: true,
21321
+ parentCode: null,
21322
+ childCodes: [],
21323
+ definition: "Session not eligible for save because there are required responses needed (e.g., missing some elements of Service Instance). Blocks transition to session_closed. Has 'Required to Submit' blockers."
21324
+ },
21325
+ {
21326
+ code: "216-002-000-000-000-000-000",
21327
+ key: "session_closed",
21328
+ title: "Closed",
21329
+ selectable: true,
21330
+ parentCode: null,
21331
+ childCodes: [],
21332
+ definition: "Session has been completed successfully."
21333
+ },
21334
+ {
21335
+ code: "216-003-000-000-000-000-000",
21336
+ key: "session_discarded",
21337
+ title: "Discarded",
21338
+ selectable: true,
21339
+ parentCode: null,
21340
+ childCodes: [],
21341
+ definition: "Session had actions but was later discarded without committing changes to the CaseRecord."
21342
+ },
21343
+ {
21344
+ code: "216-004-000-000-000-000-000",
21345
+ key: "session_in_progress",
21346
+ title: "In progress",
21347
+ selectable: true,
21348
+ parentCode: null,
21349
+ childCodes: [],
21350
+ definition: "Session has actions that are completed and is eligible to be saved / committed. No 'Required to Submit' blockers."
21351
+ },
21352
+ {
21353
+ code: "216-005-000-000-000-000-000",
21354
+ key: "session_initialized",
21355
+ title: "Initialized",
21356
+ selectable: true,
21357
+ parentCode: null,
21358
+ childCodes: [],
21359
+ definition: "Session has been created but no edits have been collected. Blocks transition to session_closed."
21360
+ }
21361
+ ]
21362
+ };
20348
21363
  // Annotate the CommonJS export names for ESM import in node:
20349
21364
  0 && (module.exports = {
20350
21365
  ACCOMMODATION_LABELS,
@@ -20391,7 +21406,6 @@ var CVC_197_VALUES = selectableCodes(
20391
21406
  CVC_136_OPTIONS,
20392
21407
  CVC_136_TYPE_TO_CATEGORY,
20393
21408
  CVC_136_VALUES,
20394
- CVC_137_VALUES,
20395
21409
  CVC_145_CATEGORY,
20396
21410
  CVC_145_CATEGORY_LABELS,
20397
21411
  CVC_145_CATEGORY_ORDER,
@@ -20470,10 +21484,7 @@ var CVC_197_VALUES = selectableCodes(
20470
21484
  CVC_17_LABELS,
20471
21485
  CVC_17_LEVEL_1_OPTIONS,
20472
21486
  CVC_17_LEVEL_2_TRANSGENDER_OPTIONS,
20473
- CVC_17_MISSINGNESS_VALUES,
20474
- CVC_17_SELECTABLE_VALUES,
20475
21487
  CVC_17_TRANSGENDER_VALUES,
20476
- CVC_17_VALUES,
20477
21488
  CVC_180_EDUCATION_LEVEL,
20478
21489
  CVC_180_LABELS,
20479
21490
  CVC_180_ORDINAL,
@@ -20483,7 +21494,6 @@ var CVC_197_VALUES = selectableCodes(
20483
21494
  CVC_196_CHILD_WELFARE_EPISODE_TYPE,
20484
21495
  CVC_196_LABELS,
20485
21496
  CVC_196_VALUES,
20486
- CVC_197_VALUES,
20487
21497
  CVC_1_LABELS,
20488
21498
  CVC_1_NAME_TYPE,
20489
21499
  CVC_1_STRUCTURED_NAME_TYPES,
@@ -20493,7 +21503,6 @@ var CVC_197_VALUES = selectableCodes(
20493
21503
  CVC_67_LABELS,
20494
21504
  CVC_67_MISSINGNESS_VALUES,
20495
21505
  CVC_67_SELECTABLE_VALUES,
20496
- CVC_67_VALUES,
20497
21506
  CVC_72_HT_TYPE,
20498
21507
  CVC_72_LABELS,
20499
21508
  CVC_72_VALUES,
@@ -20519,6 +21528,7 @@ var CVC_197_VALUES = selectableCodes(
20519
21528
  CVC_99_LABELS,
20520
21529
  CVC_99_VALUES,
20521
21530
  ContactInfoTypeKeys,
21531
+ ContactInfoUseTypeKeys,
20522
21532
  ContactSafetyStatusKeys,
20523
21533
  CvcCodeSchema,
20524
21534
  CvcEntrySchema,
@@ -20530,6 +21540,7 @@ var CVC_197_VALUES = selectableCodes(
20530
21540
  DATA_QUALITY_LABELS,
20531
21541
  DATA_QUALITY_VALUES,
20532
21542
  DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY,
21543
+ DeterminationLevelKeys,
20533
21544
  EmploymentStatusKeys,
20534
21545
  EnrollmentApplicationStatusKeys,
20535
21546
  EyeColorKeys,
@@ -20548,7 +21559,6 @@ var CVC_197_VALUES = selectableCodes(
20548
21559
  HairColorKeys,
20549
21560
  HasTattoosKeys,
20550
21561
  HighestEducationLevelCompletedKeys,
20551
- HmisSexKeys,
20552
21562
  HomelessStatusKeys,
20553
21563
  IC_13_CATEGORIES,
20554
21564
  IC_13_CATEGORY_ORDER,
@@ -20609,7 +21619,7 @@ var CVC_197_VALUES = selectableCodes(
20609
21619
  IncidentInvolvementRoleKeys,
20610
21620
  IncidentParticipationRoleKeys,
20611
21621
  IncomeBenefitsSourcesKeys,
20612
- JuvenileJusticeEpisodeTypeKeys,
21622
+ InferenceTypeKeys,
20613
21623
  JuvenileJusticeInvolvementStatusKeys,
20614
21624
  LocationTypeKeys,
20615
21625
  MINOR_ADULT_STATUS,
@@ -20643,6 +21653,7 @@ var CVC_197_VALUES = selectableCodes(
20643
21653
  QUICK_START_CONFIG,
20644
21654
  QUICK_START_LABELS,
20645
21655
  QUICK_START_TEMPLATES,
21656
+ QualityFlagsKeys,
20646
21657
  RECORD_STATES,
20647
21658
  RECORD_STATE_LABELS,
20648
21659
  RELATIONSHIP_CONCERNS,
@@ -20655,10 +21666,10 @@ var CVC_197_VALUES = selectableCodes(
20655
21666
  ROLE_LEVEL_LABELS,
20656
21667
  ROLE_LEVEL_VALUES,
20657
21668
  RaceEthnicityKeys,
20658
- RecencyBandKeys,
20659
21669
  ReferralEntityCategoryKeys,
20660
21670
  RelationshipStatusCurrentKeys,
20661
21671
  RelationshipTiesKeys,
21672
+ RoleContextKeys,
20662
21673
  SESSION_STATES,
20663
21674
  SESSION_STATE_LABELS,
20664
21675
  SHARE_VIEW,
@@ -20670,15 +21681,21 @@ var CVC_197_VALUES = selectableCodes(
20670
21681
  ServiceCategoryKeys,
20671
21682
  ServiceMechanismKeys,
20672
21683
  ServiceStateKeys,
21684
+ SessionStateKeys,
20673
21685
  SexProviderSubroleKeys,
20674
21686
  SharePurposeKeys,
20675
21687
  SmtTypeKeys,
21688
+ SourceCategoryKeys,
21689
+ SourceSubtypeKeys,
21690
+ SupportStrengthKeys,
20676
21691
  THREAD_INVOLVEMENT_ROLES,
21692
+ TimeScopeKeys,
20677
21693
  TribesKeys,
20678
21694
  USER_STATUS,
20679
21695
  USER_STATUS_LABELS,
20680
21696
  VALID_INTERACTION_TYPES,
20681
21697
  VALID_RECORD_STATES,
21698
+ VerificationMethodKeys,
20682
21699
  VictimStatusFamilyKeys,
20683
21700
  addressSchema,
20684
21701
  administeringJurisdictionSot,
@@ -20697,6 +21714,7 @@ var CVC_197_VALUES = selectableCodes(
20697
21714
  compileCvcEntryModel,
20698
21715
  compileCvcRegistryModel,
20699
21716
  contactInfoTypesSot,
21717
+ contactInfoUseTypeSot,
20700
21718
  contactSafetyStatusSot,
20701
21719
  createPlatformModels,
20702
21720
  cvcEntryModel,
@@ -20708,6 +21726,7 @@ var CVC_197_VALUES = selectableCodes(
20708
21726
  cvcVersionsToRecord,
20709
21727
  demographicsSchema,
20710
21728
  deriveAgeBinFromAge,
21729
+ determinationLevelSot,
20711
21730
  emailSchema,
20712
21731
  employmentStatusSot,
20713
21732
  enrollmentApplicationStatusSot,
@@ -20737,18 +21756,17 @@ var CVC_197_VALUES = selectableCodes(
20737
21756
  hairColorSot,
20738
21757
  hasTattoosSot,
20739
21758
  highestEducationLevelCompletedSot,
20740
- hmisSexSot,
20741
21759
  homelessStatusSot,
20742
21760
  incidentInvolvementRolesSot,
20743
21761
  incidentParticipationRolesSot,
20744
21762
  incomeBenefitsSourcesSot,
21763
+ inferenceTypeSot,
20745
21764
  isIC56Missingness,
20746
21765
  isIC56ValidChannel,
20747
21766
  isLgbtqOrientation,
20748
21767
  isProtectedRelationship,
20749
21768
  isStructuredNameType,
20750
21769
  isTransgenderGenderIdentity,
20751
- juvenileJusticeEpisodeTypeSot,
20752
21770
  juvenileJusticeInvolvementStatusSot,
20753
21771
  layoutSchema,
20754
21772
  locationTypeSot,
@@ -20771,15 +21789,16 @@ var CVC_197_VALUES = selectableCodes(
20771
21789
  preferredContactMethodSot,
20772
21790
  primaryLanguageSot,
20773
21791
  pronounsSot,
21792
+ qualityFlagsSot,
20774
21793
  questionModel,
20775
21794
  questionSchemaDefinition,
20776
21795
  questionSchemaOptions,
20777
21796
  raceEthnicitySot,
20778
- recencyBandSot,
20779
21797
  referralEntityCategorySot,
20780
21798
  relationshipStatusCurrentSot,
20781
21799
  relationshipTiesSot,
20782
21800
  resolveRegistryWithInheritance,
21801
+ roleContextSot,
20783
21802
  scoringConditionSchema,
20784
21803
  scoringRecommendationSchema,
20785
21804
  scoringRuleModel,
@@ -20793,11 +21812,17 @@ var CVC_197_VALUES = selectableCodes(
20793
21812
  serviceCategoriesSot,
20794
21813
  serviceMechanismsSot,
20795
21814
  serviceStatesSot,
21815
+ sessionStateSot,
20796
21816
  sexProviderSubroleSot,
20797
21817
  sharePurposeSot,
20798
21818
  smtTypeSot,
20799
21819
  sortRelationshipsByPriority,
21820
+ sourceCategorySot,
21821
+ sourceSubtypeSot,
21822
+ supportStrengthSot,
21823
+ timeScopeSot,
20800
21824
  tribesSot,
21825
+ verificationMethodSot,
20801
21826
  victimStatusFamilySot,
20802
21827
  visibilityRuleSchema
20803
21828
  });