@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.js CHANGED
@@ -35,6 +35,8 @@ var CVC_1_NAME_TYPE = {
35
35
  ALIAS: "alias",
36
36
  /** Trade name / business name - single unstructured name field */
37
37
  TRADE_NAME: "trade_name",
38
+ /** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
39
+ MONONYM: "mononym",
38
40
  /** Nickname - single unstructured name field */
39
41
  NICKNAME: "nickname",
40
42
  /** Online handle or username - single unstructured name field */
@@ -46,6 +48,7 @@ var CVC_1_VALUES = [
46
48
  CVC_1_NAME_TYPE.LEGAL,
47
49
  CVC_1_NAME_TYPE.ALIAS,
48
50
  CVC_1_NAME_TYPE.TRADE_NAME,
51
+ CVC_1_NAME_TYPE.MONONYM,
49
52
  CVC_1_NAME_TYPE.NICKNAME,
50
53
  CVC_1_NAME_TYPE.HANDLE,
51
54
  CVC_1_NAME_TYPE.UNKNOWN
@@ -54,6 +57,7 @@ var CVC_1_LABELS = {
54
57
  [CVC_1_NAME_TYPE.LEGAL]: "Legal Name",
55
58
  [CVC_1_NAME_TYPE.ALIAS]: "Alias / AKA",
56
59
  [CVC_1_NAME_TYPE.TRADE_NAME]: "Trade Name",
60
+ [CVC_1_NAME_TYPE.MONONYM]: "Mononym",
57
61
  [CVC_1_NAME_TYPE.NICKNAME]: "Nickname",
58
62
  [CVC_1_NAME_TYPE.HANDLE]: "Handle / Username",
59
63
  [CVC_1_NAME_TYPE.UNKNOWN]: "Unknown"
@@ -64,6 +68,7 @@ var CVC_1_STRUCTURED_NAME_TYPES = [
64
68
  var CVC_1_UNSTRUCTURED_NAME_TYPES = [
65
69
  CVC_1_NAME_TYPE.ALIAS,
66
70
  CVC_1_NAME_TYPE.TRADE_NAME,
71
+ CVC_1_NAME_TYPE.MONONYM,
67
72
  CVC_1_NAME_TYPE.NICKNAME,
68
73
  CVC_1_NAME_TYPE.HANDLE,
69
74
  CVC_1_NAME_TYPE.UNKNOWN
@@ -1009,10 +1014,7 @@ var CVC_17_CORE_GENDER_IDENTITY = {
1009
1014
  TRANSGENDER: "TRANSGENDER",
1010
1015
  NON_BINARY: "NON_BINARY",
1011
1016
  OTHER: "OTHER",
1012
- // Level 0 - Missingness codes (codebook canonical set)
1013
1017
  UNKNOWN: "UNK",
1014
- DATA_NOT_COLLECTED: "DNC",
1015
- PREFER_NOT_TO_ANSWER: "PNA",
1016
1018
  // Level 2 - Transgender subcategories
1017
1019
  TRANSGENDER_FTM: "TRANSGENDER_FTM",
1018
1020
  TRANSGENDER_MTF: "TRANSGENDER_MTF"
@@ -1024,8 +1026,6 @@ var CVC_17_LABELS = {
1024
1026
  [CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
1025
1027
  [CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
1026
1028
  [CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
1027
- [CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
1028
- [CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]: "Client prefers not to answer",
1029
1029
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
1030
1030
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF"
1031
1031
  };
@@ -1050,32 +1050,6 @@ function isTransgenderGenderIdentity(value) {
1050
1050
  if (!value) return false;
1051
1051
  return CVC_17_TRANSGENDER_VALUES.includes(value);
1052
1052
  }
1053
- var CVC_17_SELECTABLE_VALUES = [
1054
- CVC_17_CORE_GENDER_IDENTITY.MALE,
1055
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
1056
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
1057
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
1058
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF,
1059
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
1060
- CVC_17_CORE_GENDER_IDENTITY.OTHER
1061
- ];
1062
- var CVC_17_MISSINGNESS_VALUES = [
1063
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
1064
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
1065
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER
1066
- ];
1067
- var CVC_17_VALUES = [
1068
- CVC_17_CORE_GENDER_IDENTITY.MALE,
1069
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
1070
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
1071
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
1072
- CVC_17_CORE_GENDER_IDENTITY.OTHER,
1073
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
1074
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
1075
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
1076
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
1077
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
1078
- ];
1079
1053
  var IC_24_RACE = {
1080
1054
  AMERICAN_INDIAN_ALASKA_NATIVE: 1,
1081
1055
  ASIAN: 2,
@@ -4001,13 +3975,6 @@ var CVC_67_SELECTABLE_VALUES = [
4001
3975
  var CVC_67_MISSINGNESS_VALUES = [
4002
3976
  CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
4003
3977
  ];
4004
- var CVC_67_VALUES = [
4005
- CVC_67_HMIS_SEX.MALE,
4006
- CVC_67_HMIS_SEX.FEMALE,
4007
- CVC_67_HMIS_SEX.CLIENT_PREFERS_NOT_TO_ANSWER,
4008
- CVC_67_HMIS_SEX.CLIENT_DOESNT_KNOW,
4009
- CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
4010
- ];
4011
3978
 
4012
3979
  // src/constants/service-catalog.json
4013
3980
  var service_catalog_default = {
@@ -5618,11 +5585,7 @@ var personNameSchema = new Schema(
5618
5585
  isPrimary: Boolean,
5619
5586
  alias: Boolean,
5620
5587
  isUnknown: Boolean,
5621
- isAnonymous: Boolean,
5622
- // Shape flag: this person has only one name (e.g., Madonna). A mononym
5623
- // can itself be legal, a nickname, a trade name, etc. — it's orthogonal
5624
- // to nameType, not a value of it.
5625
- isMononym: Boolean
5588
+ isAnonymous: Boolean
5626
5589
  },
5627
5590
  { _id: false }
5628
5591
  );
@@ -7767,40 +7730,146 @@ var FrequencyCadenceKeys = {
7767
7730
  annual: "176-006-000-000-000-000-000",
7768
7731
  one_time: "176-007-000-000-000-000-000"
7769
7732
  };
7770
- var RecencyBandKeys = {
7771
- missingness_root: "137-000-000-000-000-000-000",
7772
- unknown: "137-000-000-000-000-000-001",
7773
- anonymous: "137-000-000-000-000-000-002",
7774
- data_not_collected: "137-000-000-000-000-000-003",
7775
- prefer_not_to_answer: "137-000-000-000-000-000-004",
7776
- less_than_3_years: "137-001-000-000-000-000-000",
7777
- months_3_to_6: "137-002-000-000-000-000-000",
7778
- months_6_to_12: "137-003-000-000-000-000-000",
7779
- one_year_or_more: "137-004-000-000-000-000-000",
7780
- ten_plus_years: "137-005-000-000-000-000-000",
7781
- within_3_months: "137-006-000-000-000-000-000",
7782
- years_3_to_10: "137-007-000-000-000-000-000"
7783
- };
7784
- var JuvenileJusticeEpisodeTypeKeys = {
7785
- missingness_root: "197-000-000-000-000-000-000",
7786
- unknown: "197-000-000-000-000-000-001",
7787
- anonymous: "197-000-000-000-000-000-002",
7788
- data_not_collected: "197-000-000-000-000-000-003",
7789
- detention_stay: "197-001-000-000-000-000-000",
7790
- diversion_program: "197-002-000-000-000-000-000",
7791
- pending_adjudication: "197-003-000-000-000-000-000",
7792
- probation_supervision: "197-004-000-000-000-000-000",
7793
- residential_jj_placement: "197-005-000-000-000-000-000"
7794
- };
7795
- var HmisSexKeys = {
7796
- missingness_root: "067-000-000-000-000-000-000",
7797
- unknown: "067-000-000-000-000-000-001",
7798
- anonymous: "067-000-000-000-000-000-002",
7799
- data_not_collected: "067-000-000-000-000-000-003",
7800
- client_doesn_t_know: "067-000-000-000-000-000-004",
7801
- client_prefers_not_to_answer: "067-000-000-000-000-000-005",
7802
- female: "067-001-000-000-000-000-000",
7803
- male: "067-002-000-000-000-000-000"
7733
+ var InferenceTypeKeys = {
7734
+ missingness_root: "142-000-000-000-000-000-000",
7735
+ unknown: "142-000-000-000-000-000-001",
7736
+ anonymous: "142-000-000-000-000-000-002",
7737
+ data_not_collected: "142-000-000-000-000-000-003",
7738
+ manual: "142-001-000-000-000-000-000",
7739
+ rules: "142-002-000-000-000-000-000",
7740
+ model: "142-003-000-000-000-000-000"
7741
+ };
7742
+ var SourceCategoryKeys = {
7743
+ missingness_root: "140-000-000-000-000-000-000",
7744
+ unknown: "140-000-000-000-000-000-001",
7745
+ anonymous: "140-000-000-000-000-000-002",
7746
+ data_not_collected: "140-000-000-000-000-000-003",
7747
+ human: "140-001-000-000-000-000-000",
7748
+ institutional_record: "140-002-000-000-000-000-000",
7749
+ legal_evidentiary: "140-003-000-000-000-000-000",
7750
+ machine: "140-004-000-000-000-000-000",
7751
+ open_source: "140-005-000-000-000-000-000"
7752
+ };
7753
+ var SourceSubtypeKeys = {
7754
+ missingness_root: "141-000-000-000-000-000-000",
7755
+ unknown: "141-000-000-000-000-000-001",
7756
+ anonymous: "141-000-000-000-000-000-002",
7757
+ data_not_collected: "141-000-000-000-000-000-003",
7758
+ ads_profile_website: "141-001-000-000-000-000-000",
7759
+ aggregation_output: "141-002-000-000-000-000-000",
7760
+ benefits_record: "141-003-000-000-000-000-000",
7761
+ charge_document: "141-004-000-000-000-000-000",
7762
+ child_welfare_record: "141-005-000-000-000-000-000",
7763
+ conviction_record: "141-006-000-000-000-000-000",
7764
+ corrections_record: "141-007-000-000-000-000-000",
7765
+ court_record: "141-008-000-000-000-000-000",
7766
+ employment_hr_record: "141-009-000-000-000-000-000",
7767
+ forensic_medical_exam: "141-010-000-000-000-000-000",
7768
+ immigration_record: "141-011-000-000-000-000-000",
7769
+ law_enforcement_assessment: "141-012-000-000-000-000-000",
7770
+ medical_record: "141-013-000-000-000-000-000",
7771
+ model_output: "141-014-000-000-000-000-000",
7772
+ news_media: "141-015-000-000-000-000-000",
7773
+ official_id_document: "141-016-000-000-000-000-000",
7774
+ parser_extraction: "141-017-000-000-000-000-000",
7775
+ partner_agency_case_note: "141-018-000-000-000-000-000",
7776
+ public_registry: "141-019-000-000-000-000-000",
7777
+ reviews_forums_comments: "141-020-000-000-000-000-000",
7778
+ rules_engine: "141-021-000-000-000-000-000",
7779
+ school_record: "141-022-000-000-000-000-000",
7780
+ search_warrant_return: "141-023-000-000-000-000-000",
7781
+ service_provider_assessment: "141-024-000-000-000-000-000",
7782
+ service_provider_case_note: "141-025-000-000-000-000-000",
7783
+ shelter_program_record: "141-026-000-000-000-000-000",
7784
+ social_media: "141-027-000-000-000-000-000",
7785
+ staff_observation: "141-028-000-000-000-000-000",
7786
+ system_import: "141-029-000-000-000-000-000",
7787
+ third_party_report: "141-030-000-000-000-000-000",
7788
+ victim_disclosure: "141-031-000-000-000-000-000"
7789
+ };
7790
+ var SupportStrengthKeys = {
7791
+ missingness_root: "139-000-000-000-000-000-000",
7792
+ unknown: "139-000-000-000-000-000-001",
7793
+ anonymous: "139-000-000-000-000-000-002",
7794
+ data_not_collected: "139-000-000-000-000-000-003",
7795
+ adjudicated: "139-001-000-000-000-000-000",
7796
+ allegation: "139-002-000-000-000-000-000",
7797
+ corroborated: "139-003-000-000-000-000-000",
7798
+ minimally_supported: "139-004-000-000-000-000-000",
7799
+ multi_source_corroborated: "139-005-000-000-000-000-000",
7800
+ official_record_supported: "139-006-000-000-000-000-000",
7801
+ strongly_supported: "139-007-000-000-000-000-000"
7802
+ };
7803
+ var DeterminationLevelKeys = {
7804
+ missingness_root: "138-000-000-000-000-000-000",
7805
+ unknown: "138-000-000-000-000-000-001",
7806
+ anonymous: "138-000-000-000-000-000-002",
7807
+ data_not_collected: "138-000-000-000-000-000-003",
7808
+ disclosed: "138-001-000-000-000-000-000",
7809
+ estimated: "138-002-000-000-000-000-000",
7810
+ reported: "138-003-000-000-000-000-000",
7811
+ suspected: "138-004-000-000-000-000-000",
7812
+ verified: "138-005-000-000-000-000-000"
7813
+ };
7814
+ var RoleContextKeys = {
7815
+ missingness_root: "160-000-000-000-000-000-000",
7816
+ unknown: "160-000-000-000-000-000-001",
7817
+ anonymous: "160-000-000-000-000-000-002",
7818
+ data_not_collected: "160-000-000-000-000-000-003",
7819
+ both: "160-001-000-000-000-000-000",
7820
+ offender: "160-002-000-000-000-000-000",
7821
+ victim: "160-003-000-000-000-000-000"
7822
+ };
7823
+ var TimeScopeKeys = {
7824
+ missingness_root: "174-000-000-000-000-000-000",
7825
+ unknown: "174-000-000-000-000-000-001",
7826
+ anonymous: "174-000-000-000-000-000-002",
7827
+ data_not_collected: "174-000-000-000-000-000-003",
7828
+ current: "174-001-000-000-000-000-000",
7829
+ prior: "174-002-000-000-000-000-000"
7830
+ };
7831
+ var VerificationMethodKeys = {
7832
+ missingness_root: "143-000-000-000-000-000-000",
7833
+ unknown: "143-000-000-000-000-000-001",
7834
+ anonymous: "143-000-000-000-000-000-002",
7835
+ data_not_collected: "143-000-000-000-000-000-003",
7836
+ court_record_confirmed: "143-001-000-000-000-000-000",
7837
+ evidence_threshold_met: "143-002-000-000-000-000-000",
7838
+ multi_source_corroboration: "143-003-000-000-000-000-000",
7839
+ qa_audit_passed: "143-004-000-000-000-000-000",
7840
+ supervisor_review: "143-005-000-000-000-000-000"
7841
+ };
7842
+ var QualityFlagsKeys = {
7843
+ missingness_root: "144-000-000-000-000-000-000",
7844
+ unknown: "144-000-000-000-000-000-001",
7845
+ anonymous: "144-000-000-000-000-000-002",
7846
+ data_not_collected: "144-000-000-000-000-000-003",
7847
+ circular_model_label_risk: "144-001-000-000-000-000-000",
7848
+ data_redacted: "144-002-000-000-000-000-000",
7849
+ inconsistent: "144-003-000-000-000-000-000",
7850
+ self_report_only: "144-004-000-000-000-000-000",
7851
+ single_source: "144-005-000-000-000-000-000"
7852
+ };
7853
+ var ContactInfoUseTypeKeys = {
7854
+ missingness_root: "154-000-000-000-000-000-000",
7855
+ unknown: "154-000-000-000-000-000-001",
7856
+ anonymous: "154-000-000-000-000-000-002",
7857
+ data_not_collected: "154-000-000-000-000-000-003",
7858
+ business_commercial_sex: "154-001-000-000-000-000-000",
7859
+ business_non_cs: "154-002-000-000-000-000-000",
7860
+ mixed_use: "154-003-000-000-000-000-000",
7861
+ personal: "154-004-000-000-000-000-000"
7862
+ };
7863
+ var SessionStateKeys = {
7864
+ missingness_root: "216-000-000-000-000-000-000",
7865
+ unknown: "216-000-000-000-000-000-001",
7866
+ anonymous: "216-000-000-000-000-000-002",
7867
+ data_not_collected: "216-000-000-000-000-000-003",
7868
+ session_action_needed: "216-001-000-000-000-000-000",
7869
+ session_closed: "216-002-000-000-000-000-000",
7870
+ session_discarded: "216-003-000-000-000-000-000",
7871
+ session_in_progress: "216-004-000-000-000-000-000",
7872
+ session_initialized: "216-005-000-000-000-000-000"
7804
7873
  };
7805
7874
 
7806
7875
  // src/services/cvcRegistryService.ts
@@ -19552,327 +19621,1263 @@ var frequencyCadence_v1_0_0_default = {
19552
19621
  ]
19553
19622
  };
19554
19623
 
19555
- // src/cvcs/recencyBand.v1.0.0.json
19556
- var recencyBand_v1_0_0_default = {
19557
- domain: "recency_band",
19558
- name: "Core Recency Band",
19624
+ // src/cvcs/inferenceType.v1.0.0.json
19625
+ var inferenceType_v1_0_0_default = {
19626
+ domain: "inference_type",
19627
+ name: "Core Inference Type",
19559
19628
  version: "1.0.0",
19560
19629
  levels: {
19561
19630
  "0": "Unknown or Missing",
19562
- "1": "Recency Band"
19631
+ "1": "Inference type"
19563
19632
  },
19564
19633
  entries: [
19565
19634
  {
19566
- code: "137-000-000-000-000-000-000",
19635
+ code: "142-000-000-000-000-000-000",
19567
19636
  key: "missingness_root",
19568
19637
  title: "Unknown, Redacted, or Missing",
19569
19638
  selectable: false,
19570
19639
  parentCode: null,
19571
19640
  childCodes: [
19572
- "137-000-000-000-000-000-001",
19573
- "137-000-000-000-000-000-002",
19574
- "137-000-000-000-000-000-003",
19575
- "137-000-000-000-000-000-004"
19641
+ "142-000-000-000-000-000-001",
19642
+ "142-000-000-000-000-000-002",
19643
+ "142-000-000-000-000-000-003"
19576
19644
  ],
19577
19645
  definition: "Root group for values indicating absent, withheld, or uncollected data."
19578
19646
  },
19579
19647
  {
19580
- code: "137-000-000-000-000-000-001",
19648
+ code: "142-000-000-000-000-000-001",
19581
19649
  key: "unknown",
19582
19650
  title: "Unknown",
19583
19651
  selectable: true,
19584
- parentCode: "137-000-000-000-000-000-000",
19652
+ parentCode: "142-000-000-000-000-000-000",
19585
19653
  childCodes: [],
19586
19654
  definition: "Value is unknown at time of entry."
19587
19655
  },
19588
19656
  {
19589
- code: "137-000-000-000-000-000-002",
19657
+ code: "142-000-000-000-000-000-002",
19590
19658
  key: "anonymous",
19591
19659
  title: "Anonymous",
19592
19660
  selectable: true,
19593
- parentCode: "137-000-000-000-000-000-000",
19661
+ parentCode: "142-000-000-000-000-000-000",
19594
19662
  childCodes: [],
19595
19663
  definition: "Value is intentionally withheld or redacted."
19596
19664
  },
19597
19665
  {
19598
- code: "137-000-000-000-000-000-003",
19666
+ code: "142-000-000-000-000-000-003",
19599
19667
  key: "data_not_collected",
19600
19668
  title: "Data not collected",
19601
19669
  selectable: true,
19602
- parentCode: "137-000-000-000-000-000-000",
19670
+ parentCode: "142-000-000-000-000-000-000",
19603
19671
  childCodes: [],
19604
19672
  definition: "No attempt was made to collect the value."
19605
19673
  },
19606
19674
  {
19607
- code: "137-000-000-000-000-000-004",
19608
- key: "prefer_not_to_answer",
19609
- title: "Client prefers not to answer",
19675
+ code: "142-001-000-000-000-000-000",
19676
+ key: "manual",
19677
+ title: "Manual",
19610
19678
  selectable: true,
19611
- parentCode: "137-000-000-000-000-000-000",
19679
+ parentCode: null,
19612
19680
  childCodes: [],
19613
- definition: "Client was offered the opportunity to self-identify and explicitly declined to provide the value."
19681
+ 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."
19614
19682
  },
19615
19683
  {
19616
- code: "137-001-000-000-000-000-000",
19617
- key: "less_than_3_years",
19618
- title: "Less than 3 years ago",
19684
+ code: "142-002-000-000-000-000-000",
19685
+ key: "rules",
19686
+ title: "Rules-derived",
19619
19687
  selectable: true,
19620
19688
  parentCode: null,
19621
19689
  childCodes: [],
19622
- definition: "The asserted event occurred less than 3 years ago."
19690
+ 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."
19623
19691
  },
19624
19692
  {
19625
- code: "137-002-000-000-000-000-000",
19626
- key: "months_3_to_6",
19627
- title: "3-6 months ago",
19693
+ code: "142-003-000-000-000-000-000",
19694
+ key: "model",
19695
+ title: "Model-derived",
19628
19696
  selectable: true,
19629
19697
  parentCode: null,
19630
19698
  childCodes: [],
19631
- definition: "The asserted event occurred between 3 and 6 months ago."
19699
+ 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."
19700
+ }
19701
+ ]
19702
+ };
19703
+
19704
+ // src/cvcs/sourceCategory.v1.1.0.json
19705
+ var sourceCategory_v1_1_0_default = {
19706
+ domain: "source_category",
19707
+ name: "Core Source Category",
19708
+ version: "1.1.0",
19709
+ levels: {
19710
+ "0": "Unknown or Missing",
19711
+ "1": "Source category"
19712
+ },
19713
+ entries: [
19714
+ {
19715
+ code: "140-000-000-000-000-000-000",
19716
+ key: "missingness_root",
19717
+ title: "Unknown, Redacted, or Missing",
19718
+ selectable: false,
19719
+ parentCode: null,
19720
+ childCodes: [
19721
+ "140-000-000-000-000-000-001",
19722
+ "140-000-000-000-000-000-002",
19723
+ "140-000-000-000-000-000-003"
19724
+ ],
19725
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
19726
+ },
19727
+ {
19728
+ code: "140-000-000-000-000-000-001",
19729
+ key: "unknown",
19730
+ title: "Unknown",
19731
+ selectable: true,
19732
+ parentCode: "140-000-000-000-000-000-000",
19733
+ childCodes: [],
19734
+ definition: "Value is unknown at time of entry."
19735
+ },
19736
+ {
19737
+ code: "140-000-000-000-000-000-002",
19738
+ key: "anonymous",
19739
+ title: "Anonymous",
19740
+ selectable: true,
19741
+ parentCode: "140-000-000-000-000-000-000",
19742
+ childCodes: [],
19743
+ definition: "Value is intentionally withheld or redacted."
19744
+ },
19745
+ {
19746
+ code: "140-000-000-000-000-000-003",
19747
+ key: "data_not_collected",
19748
+ title: "Data not collected",
19749
+ selectable: true,
19750
+ parentCode: "140-000-000-000-000-000-000",
19751
+ childCodes: [],
19752
+ definition: "No attempt was made to collect the value."
19632
19753
  },
19633
19754
  {
19634
- code: "137-003-000-000-000-000-000",
19635
- key: "months_6_to_12",
19636
- title: "6-12 months ago",
19755
+ code: "140-001-000-000-000-000-000",
19756
+ key: "human",
19757
+ title: "Human",
19637
19758
  selectable: true,
19638
19759
  parentCode: null,
19639
19760
  childCodes: [],
19640
- definition: "The asserted event occurred between 6 and 12 months ago."
19761
+ 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."
19641
19762
  },
19642
19763
  {
19643
- code: "137-004-000-000-000-000-000",
19644
- key: "one_year_or_more",
19645
- title: "One year or more",
19764
+ code: "140-002-000-000-000-000-000",
19765
+ key: "institutional_record",
19766
+ title: "Institutional record",
19646
19767
  selectable: true,
19647
19768
  parentCode: null,
19648
19769
  childCodes: [],
19649
- definition: "The asserted event occurred one year or more ago (without further granularity)."
19770
+ 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."
19650
19771
  },
19651
19772
  {
19652
- code: "137-005-000-000-000-000-000",
19653
- key: "ten_plus_years",
19654
- title: "10+ years ago",
19773
+ code: "140-003-000-000-000-000-000",
19774
+ key: "legal_evidentiary",
19775
+ title: "Legal evidentiary",
19655
19776
  selectable: true,
19656
19777
  parentCode: null,
19657
19778
  childCodes: [],
19658
- definition: "The asserted event occurred 10 or more years ago."
19779
+ 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."
19659
19780
  },
19660
19781
  {
19661
- code: "137-006-000-000-000-000-000",
19662
- key: "within_3_months",
19663
- title: "Within past 3 months",
19782
+ code: "140-004-000-000-000-000-000",
19783
+ key: "machine",
19784
+ title: "Machine",
19664
19785
  selectable: true,
19665
19786
  parentCode: null,
19666
19787
  childCodes: [],
19667
- definition: "The asserted event occurred within the past 3 months."
19788
+ 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."
19668
19789
  },
19669
19790
  {
19670
- code: "137-007-000-000-000-000-000",
19671
- key: "years_3_to_10",
19672
- title: "3-10 years ago",
19791
+ code: "140-005-000-000-000-000-000",
19792
+ key: "open_source",
19793
+ title: "Open source",
19673
19794
  selectable: true,
19674
19795
  parentCode: null,
19675
19796
  childCodes: [],
19676
- definition: "The asserted event occurred between 3 and 10 years ago."
19797
+ 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."
19677
19798
  }
19678
19799
  ]
19679
19800
  };
19680
19801
 
19681
- // src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json
19682
- var juvenileJusticeEpisodeType_v1_0_0_default = {
19683
- domain: "juvenile_justice_episode_type",
19684
- name: "Core Juvenile Justice Episode Type",
19685
- version: "1.0.0",
19802
+ // src/cvcs/sourceSubtype.v1.1.0.json
19803
+ var sourceSubtype_v1_1_0_default = {
19804
+ domain: "source_subtype",
19805
+ name: "Core Source Subtype",
19806
+ version: "1.1.0",
19686
19807
  levels: {
19687
19808
  "0": "Unknown or Missing",
19688
- "1": "Episode Type"
19809
+ "1": "Source subtype"
19689
19810
  },
19690
19811
  entries: [
19691
19812
  {
19692
- code: "197-000-000-000-000-000-000",
19813
+ code: "141-000-000-000-000-000-000",
19693
19814
  key: "missingness_root",
19694
19815
  title: "Unknown, Redacted, or Missing",
19695
19816
  selectable: false,
19696
19817
  parentCode: null,
19697
19818
  childCodes: [
19698
- "197-000-000-000-000-000-001",
19699
- "197-000-000-000-000-000-002",
19700
- "197-000-000-000-000-000-003"
19819
+ "141-000-000-000-000-000-001",
19820
+ "141-000-000-000-000-000-002",
19821
+ "141-000-000-000-000-000-003"
19701
19822
  ],
19702
19823
  definition: "Root group for values indicating absent, withheld, or uncollected data."
19703
19824
  },
19704
19825
  {
19705
- code: "197-000-000-000-000-000-001",
19826
+ code: "141-000-000-000-000-000-001",
19706
19827
  key: "unknown",
19707
19828
  title: "Unknown",
19708
19829
  selectable: true,
19709
- parentCode: "197-000-000-000-000-000-000",
19830
+ parentCode: "141-000-000-000-000-000-000",
19710
19831
  childCodes: [],
19711
19832
  definition: "Value is unknown at time of entry."
19712
19833
  },
19713
19834
  {
19714
- code: "197-000-000-000-000-000-002",
19835
+ code: "141-000-000-000-000-000-002",
19715
19836
  key: "anonymous",
19716
19837
  title: "Anonymous",
19717
19838
  selectable: true,
19718
- parentCode: "197-000-000-000-000-000-000",
19839
+ parentCode: "141-000-000-000-000-000-000",
19719
19840
  childCodes: [],
19720
19841
  definition: "Value is intentionally withheld or redacted."
19721
19842
  },
19722
19843
  {
19723
- code: "197-000-000-000-000-000-003",
19844
+ code: "141-000-000-000-000-000-003",
19724
19845
  key: "data_not_collected",
19725
19846
  title: "Data not collected",
19726
19847
  selectable: true,
19727
- parentCode: "197-000-000-000-000-000-000",
19848
+ parentCode: "141-000-000-000-000-000-000",
19728
19849
  childCodes: [],
19729
19850
  definition: "No attempt was made to collect the value."
19730
19851
  },
19731
19852
  {
19732
- code: "197-001-000-000-000-000-000",
19733
- key: "detention_stay",
19734
- title: "Detention stay",
19853
+ code: "141-001-000-000-000-000-000",
19854
+ key: "ads_profile_website",
19855
+ title: "Ads / profile website",
19856
+ selectable: true,
19857
+ parentCode: null,
19858
+ childCodes: [],
19859
+ 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."
19860
+ },
19861
+ {
19862
+ code: "141-002-000-000-000-000-000",
19863
+ key: "aggregation_output",
19864
+ title: "Aggregation output",
19865
+ selectable: true,
19866
+ parentCode: null,
19867
+ childCodes: [],
19868
+ 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."
19869
+ },
19870
+ {
19871
+ code: "141-003-000-000-000-000-000",
19872
+ key: "benefits_record",
19873
+ title: "Benefits record",
19874
+ selectable: true,
19875
+ parentCode: null,
19876
+ childCodes: [],
19877
+ 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."
19878
+ },
19879
+ {
19880
+ code: "141-004-000-000-000-000-000",
19881
+ key: "charge_document",
19882
+ title: "Charge document",
19883
+ selectable: true,
19884
+ parentCode: null,
19885
+ childCodes: [],
19886
+ definition: "Charging document, complaint, indictment, or citation. Source category: legal_evidentiary."
19887
+ },
19888
+ {
19889
+ code: "141-005-000-000-000-000-000",
19890
+ key: "child_welfare_record",
19891
+ title: "Child welfare record",
19892
+ selectable: true,
19893
+ parentCode: null,
19894
+ childCodes: [],
19895
+ 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."
19896
+ },
19897
+ {
19898
+ code: "141-006-000-000-000-000-000",
19899
+ key: "conviction_record",
19900
+ title: "Conviction record",
19901
+ selectable: true,
19902
+ parentCode: null,
19903
+ childCodes: [],
19904
+ definition: "Conviction disposition, judgment, or sentencing record. Source category: legal_evidentiary."
19905
+ },
19906
+ {
19907
+ code: "141-007-000-000-000-000-000",
19908
+ key: "corrections_record",
19909
+ title: "Corrections record",
19910
+ selectable: true,
19911
+ parentCode: null,
19912
+ childCodes: [],
19913
+ 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."
19914
+ },
19915
+ {
19916
+ code: "141-008-000-000-000-000-000",
19917
+ key: "court_record",
19918
+ title: "Court record",
19919
+ selectable: true,
19920
+ parentCode: null,
19921
+ childCodes: [],
19922
+ definition: "Court filing, docket entry, order, transcript, or other court-originating record. Source category: legal_evidentiary."
19923
+ },
19924
+ {
19925
+ code: "141-009-000-000-000-000-000",
19926
+ key: "employment_hr_record",
19927
+ title: "Employment / HR record",
19928
+ selectable: true,
19929
+ parentCode: null,
19930
+ childCodes: [],
19931
+ 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."
19932
+ },
19933
+ {
19934
+ code: "141-010-000-000-000-000-000",
19935
+ key: "forensic_medical_exam",
19936
+ title: "Forensic medical exam",
19937
+ selectable: true,
19938
+ parentCode: null,
19939
+ childCodes: [],
19940
+ definition: "Information grounded in forensic medical exam documentation (e.g., SANE exam) maintained as an institutional / clinical record. Source category: institutional_record."
19941
+ },
19942
+ {
19943
+ code: "141-011-000-000-000-000-000",
19944
+ key: "immigration_record",
19945
+ title: "Immigration record",
19946
+ selectable: true,
19947
+ parentCode: null,
19948
+ childCodes: [],
19949
+ definition: "Information grounded in official immigration documentation or records maintained by an institution / agency. Source category: institutional_record."
19950
+ },
19951
+ {
19952
+ code: "141-012-000-000-000-000-000",
19953
+ key: "law_enforcement_assessment",
19954
+ title: "Law enforcement assessment",
19955
+ selectable: true,
19956
+ parentCode: null,
19957
+ childCodes: [],
19958
+ 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."
19959
+ },
19960
+ {
19961
+ code: "141-013-000-000-000-000-000",
19962
+ key: "medical_record",
19963
+ title: "Medical record",
19964
+ selectable: true,
19965
+ parentCode: null,
19966
+ childCodes: [],
19967
+ 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."
19968
+ },
19969
+ {
19970
+ code: "141-014-000-000-000-000-000",
19971
+ key: "model_output",
19972
+ title: "Model output / score",
19735
19973
  selectable: true,
19736
19974
  parentCode: null,
19737
19975
  childCodes: [],
19738
- definition: "A period of confinement in a juvenile detention facility."
19976
+ 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."
19739
19977
  },
19740
19978
  {
19741
- code: "197-002-000-000-000-000-000",
19742
- key: "diversion_program",
19743
- title: "Diversion program",
19979
+ code: "141-015-000-000-000-000-000",
19980
+ key: "news_media",
19981
+ title: "News / media reporting",
19744
19982
  selectable: true,
19745
19983
  parentCode: null,
19746
19984
  childCodes: [],
19747
- definition: "Participation in a program that diverts a youth away from formal juvenile court processing."
19985
+ 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."
19748
19986
  },
19749
19987
  {
19750
- code: "197-003-000-000-000-000-000",
19751
- key: "pending_adjudication",
19752
- title: "Pending charges / adjudication process",
19988
+ code: "141-016-000-000-000-000-000",
19989
+ key: "official_id_document",
19990
+ title: "Official ID document",
19753
19991
  selectable: true,
19754
19992
  parentCode: null,
19755
19993
  childCodes: [],
19756
- definition: "An open juvenile case awaiting adjudication."
19994
+ definition: "Government-issued identity document when used as the evidentiary basis for a fact. Source category: legal_evidentiary."
19757
19995
  },
19758
19996
  {
19759
- code: "197-004-000-000-000-000-000",
19760
- key: "probation_supervision",
19761
- title: "Probation / community supervision (juvenile)",
19997
+ code: "141-017-000-000-000-000-000",
19998
+ key: "parser_extraction",
19999
+ title: "Parser extraction (OCR / NLP)",
19762
20000
  selectable: true,
19763
20001
  parentCode: null,
19764
20002
  childCodes: [],
19765
- definition: "Court-ordered supervision of a youth in the community rather than in confinement."
20003
+ 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."
19766
20004
  },
19767
20005
  {
19768
- code: "197-005-000-000-000-000-000",
19769
- key: "residential_jj_placement",
19770
- title: "Residential JJ placement",
20006
+ code: "141-018-000-000-000-000-000",
20007
+ key: "partner_agency_case_note",
20008
+ title: "Partner agency case note",
19771
20009
  selectable: true,
19772
20010
  parentCode: null,
19773
20011
  childCodes: [],
19774
- definition: "Placement in a residential juvenile justice facility (e.g. training school, residential treatment)."
20012
+ 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."
20013
+ },
20014
+ {
20015
+ code: "141-019-000-000-000-000-000",
20016
+ key: "public_registry",
20017
+ title: "Public registry / public database lookup",
20018
+ selectable: true,
20019
+ parentCode: null,
20020
+ childCodes: [],
20021
+ 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."
20022
+ },
20023
+ {
20024
+ code: "141-020-000-000-000-000-000",
20025
+ key: "reviews_forums_comments",
20026
+ title: "Reviews / forums / comments",
20027
+ selectable: true,
20028
+ parentCode: null,
20029
+ childCodes: [],
20030
+ 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."
20031
+ },
20032
+ {
20033
+ code: "141-021-000-000-000-000-000",
20034
+ key: "rules_engine",
20035
+ title: "Rules engine derived",
20036
+ selectable: true,
20037
+ parentCode: null,
20038
+ childCodes: [],
20039
+ definition: "Derived by deterministic rules or business logic. Source category: machine. Store rule set / version via mapping version fields when possible."
20040
+ },
20041
+ {
20042
+ code: "141-022-000-000-000-000-000",
20043
+ key: "school_record",
20044
+ title: "School record",
20045
+ selectable: true,
20046
+ parentCode: null,
20047
+ childCodes: [],
20048
+ definition: "Information grounded in official school documentation (enrollment / attendance / disciplinary / counseling records) maintained by an educational institution. Source category: institutional_record."
20049
+ },
20050
+ {
20051
+ code: "141-023-000-000-000-000-000",
20052
+ key: "search_warrant_return",
20053
+ title: "Search warrant return",
20054
+ selectable: true,
20055
+ parentCode: null,
20056
+ childCodes: [],
20057
+ definition: "Search warrant materials, returns, or inventories. Source category: legal_evidentiary."
20058
+ },
20059
+ {
20060
+ code: "141-024-000-000-000-000-000",
20061
+ key: "service_provider_assessment",
20062
+ title: "Service provider assessment",
20063
+ selectable: true,
20064
+ parentCode: null,
20065
+ childCodes: [],
20066
+ definition: "Assessment or professional judgment by a service provider. Source category: human. Capture instrument / version where applicable."
20067
+ },
20068
+ {
20069
+ code: "141-025-000-000-000-000-000",
20070
+ key: "service_provider_case_note",
20071
+ title: "Service provider case note",
20072
+ selectable: true,
20073
+ parentCode: null,
20074
+ childCodes: [],
20075
+ 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."
20076
+ },
20077
+ {
20078
+ code: "141-026-000-000-000-000-000",
20079
+ key: "shelter_program_record",
20080
+ title: "Shelter / program record",
20081
+ selectable: true,
20082
+ parentCode: null,
20083
+ childCodes: [],
20084
+ 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."
20085
+ },
20086
+ {
20087
+ code: "141-027-000-000-000-000-000",
20088
+ key: "social_media",
20089
+ title: "Social media (public)",
20090
+ selectable: true,
20091
+ parentCode: null,
20092
+ childCodes: [],
20093
+ definition: "Public social media content used as the origin of the information. Source category: open_source. Store artifact references where possible."
20094
+ },
20095
+ {
20096
+ code: "141-028-000-000-000-000-000",
20097
+ key: "staff_observation",
20098
+ title: "Staff observation",
20099
+ selectable: true,
20100
+ parentCode: null,
20101
+ childCodes: [],
20102
+ 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."
20103
+ },
20104
+ {
20105
+ code: "141-029-000-000-000-000-000",
20106
+ key: "system_import",
20107
+ title: "System import / migration",
20108
+ selectable: true,
20109
+ parentCode: null,
20110
+ childCodes: [],
20111
+ definition: "Imported from an upstream system, bulk migration, or automated sync. Source category: machine. Pair with source_system and mapping version where applicable."
20112
+ },
20113
+ {
20114
+ code: "141-030-000-000-000-000-000",
20115
+ key: "third_party_report",
20116
+ title: "Third-party report",
20117
+ selectable: true,
20118
+ parentCode: null,
20119
+ childCodes: [],
20120
+ 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."
20121
+ },
20122
+ {
20123
+ code: "141-031-000-000-000-000-000",
20124
+ key: "victim_disclosure",
20125
+ title: "Victim disclosure",
20126
+ selectable: true,
20127
+ parentCode: null,
20128
+ childCodes: [],
20129
+ definition: "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
19775
20130
  }
19776
20131
  ]
19777
20132
  };
19778
20133
 
19779
- // src/cvcs/hmisSex.v1.0.0.json
19780
- var hmisSex_v1_0_0_default = {
19781
- domain: "hmis_sex",
19782
- name: "Core HMIS Sex",
20134
+ // src/cvcs/supportStrength.v1.0.0.json
20135
+ var supportStrength_v1_0_0_default = {
20136
+ domain: "support_strength",
20137
+ name: "Core Support Strength",
19783
20138
  version: "1.0.0",
19784
20139
  levels: {
19785
20140
  "0": "Unknown or Missing",
19786
- "1": "Sex"
20141
+ "1": "Support strength"
19787
20142
  },
19788
20143
  entries: [
19789
20144
  {
19790
- code: "067-000-000-000-000-000-000",
20145
+ code: "139-000-000-000-000-000-000",
19791
20146
  key: "missingness_root",
19792
20147
  title: "Unknown, Redacted, or Missing",
19793
20148
  selectable: false,
19794
20149
  parentCode: null,
19795
20150
  childCodes: [
19796
- "067-000-000-000-000-000-001",
19797
- "067-000-000-000-000-000-002",
19798
- "067-000-000-000-000-000-003",
19799
- "067-000-000-000-000-000-004",
19800
- "067-000-000-000-000-000-005"
20151
+ "139-000-000-000-000-000-001",
20152
+ "139-000-000-000-000-000-002",
20153
+ "139-000-000-000-000-000-003"
19801
20154
  ],
19802
20155
  definition: "Root group for values indicating absent, withheld, or uncollected data."
19803
20156
  },
19804
20157
  {
19805
- code: "067-000-000-000-000-000-001",
20158
+ code: "139-000-000-000-000-000-001",
19806
20159
  key: "unknown",
19807
20160
  title: "Unknown",
19808
20161
  selectable: true,
19809
- parentCode: "067-000-000-000-000-000-000",
20162
+ parentCode: "139-000-000-000-000-000-000",
19810
20163
  childCodes: [],
19811
20164
  definition: "Value is unknown at time of entry."
19812
20165
  },
19813
20166
  {
19814
- code: "067-000-000-000-000-000-002",
20167
+ code: "139-000-000-000-000-000-002",
19815
20168
  key: "anonymous",
19816
20169
  title: "Anonymous",
19817
20170
  selectable: true,
19818
- parentCode: "067-000-000-000-000-000-000",
20171
+ parentCode: "139-000-000-000-000-000-000",
19819
20172
  childCodes: [],
19820
20173
  definition: "Value is intentionally withheld or redacted."
19821
20174
  },
19822
20175
  {
19823
- code: "067-000-000-000-000-000-003",
20176
+ code: "139-000-000-000-000-000-003",
19824
20177
  key: "data_not_collected",
19825
20178
  title: "Data not collected",
19826
20179
  selectable: true,
19827
- parentCode: "067-000-000-000-000-000-000",
20180
+ parentCode: "139-000-000-000-000-000-000",
19828
20181
  childCodes: [],
19829
- definition: "Use this response if the staff does not ask the person to provide their sex."
20182
+ definition: "No attempt was made to collect the value."
19830
20183
  },
19831
20184
  {
19832
- code: "067-000-000-000-000-000-004",
19833
- key: "client_doesn_t_know",
19834
- title: "Client doesn't know",
20185
+ code: "139-001-000-000-000-000-000",
20186
+ key: "adjudicated",
20187
+ title: "Adjudicated / disposition-supported",
19835
20188
  selectable: true,
19836
- parentCode: "067-000-000-000-000-000-000",
20189
+ parentCode: null,
19837
20190
  childCodes: [],
19838
- definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
20191
+ 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."
19839
20192
  },
19840
20193
  {
19841
- code: "067-000-000-000-000-000-005",
19842
- key: "client_prefers_not_to_answer",
19843
- title: "Client prefers not to answer",
20194
+ code: "139-002-000-000-000-000-000",
20195
+ key: "allegation",
20196
+ title: "Allegation (uncorroborated)",
19844
20197
  selectable: true,
19845
- parentCode: "067-000-000-000-000-000-000",
20198
+ parentCode: null,
19846
20199
  childCodes: [],
19847
- definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
20200
+ 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."
19848
20201
  },
19849
20202
  {
19850
- code: "067-001-000-000-000-000-000",
19851
- key: "female",
19852
- title: "Female",
20203
+ code: "139-003-000-000-000-000-000",
20204
+ key: "corroborated",
20205
+ title: "Corroborated (single source)",
19853
20206
  selectable: true,
19854
20207
  parentCode: null,
19855
20208
  childCodes: [],
19856
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
20209
+ 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."
19857
20210
  },
19858
20211
  {
19859
- code: "067-002-000-000-000-000-000",
19860
- key: "male",
19861
- title: "Male",
20212
+ code: "139-004-000-000-000-000-000",
20213
+ key: "minimally_supported",
20214
+ title: "Minimally / weakly supported",
20215
+ selectable: true,
20216
+ parentCode: null,
20217
+ childCodes: [],
20218
+ 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."
20219
+ },
20220
+ {
20221
+ code: "139-005-000-000-000-000-000",
20222
+ key: "multi_source_corroborated",
20223
+ title: "Multi-source corroborated",
19862
20224
  selectable: true,
19863
20225
  parentCode: null,
19864
20226
  childCodes: [],
19865
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
20227
+ 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."
20228
+ },
20229
+ {
20230
+ code: "139-006-000-000-000-000-000",
20231
+ key: "official_record_supported",
20232
+ title: "Official-record supported",
20233
+ selectable: true,
20234
+ parentCode: null,
20235
+ childCodes: [],
20236
+ 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."
20237
+ },
20238
+ {
20239
+ code: "139-007-000-000-000-000-000",
20240
+ key: "strongly_supported",
20241
+ title: "Strongly supported (per policy)",
20242
+ selectable: true,
20243
+ parentCode: null,
20244
+ childCodes: [],
20245
+ 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."
19866
20246
  }
19867
20247
  ]
19868
20248
  };
19869
20249
 
19870
- // src/index.ts
19871
- var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
19872
- var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
19873
- var CVC_197_VALUES = selectableCodes(
19874
- juvenileJusticeEpisodeType_v1_0_0_default
19875
- );
20250
+ // src/cvcs/determinationLevel.v1.0.0.json
20251
+ var determinationLevel_v1_0_0_default = {
20252
+ domain: "determination_level",
20253
+ name: "Core Determination Level",
20254
+ version: "1.0.0",
20255
+ levels: {
20256
+ "0": "Unknown or Missing",
20257
+ "1": "Determination level"
20258
+ },
20259
+ entries: [
20260
+ {
20261
+ code: "138-000-000-000-000-000-000",
20262
+ key: "missingness_root",
20263
+ title: "Unknown, Redacted, or Missing",
20264
+ selectable: false,
20265
+ parentCode: null,
20266
+ childCodes: [
20267
+ "138-000-000-000-000-000-001",
20268
+ "138-000-000-000-000-000-002",
20269
+ "138-000-000-000-000-000-003"
20270
+ ],
20271
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20272
+ },
20273
+ {
20274
+ code: "138-000-000-000-000-000-001",
20275
+ key: "unknown",
20276
+ title: "Unknown",
20277
+ selectable: true,
20278
+ parentCode: "138-000-000-000-000-000-000",
20279
+ childCodes: [],
20280
+ definition: "Value is unknown at time of entry."
20281
+ },
20282
+ {
20283
+ code: "138-000-000-000-000-000-002",
20284
+ key: "anonymous",
20285
+ title: "Anonymous",
20286
+ selectable: true,
20287
+ parentCode: "138-000-000-000-000-000-000",
20288
+ childCodes: [],
20289
+ definition: "Value is intentionally withheld or redacted."
20290
+ },
20291
+ {
20292
+ code: "138-000-000-000-000-000-003",
20293
+ key: "data_not_collected",
20294
+ title: "Data not collected",
20295
+ selectable: true,
20296
+ parentCode: "138-000-000-000-000-000-000",
20297
+ childCodes: [],
20298
+ definition: "No attempt was made to collect the value."
20299
+ },
20300
+ {
20301
+ code: "138-001-000-000-000-000-000",
20302
+ key: "disclosed",
20303
+ title: "Disclosed (subject)",
20304
+ selectable: true,
20305
+ parentCode: null,
20306
+ childCodes: [],
20307
+ 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."
20308
+ },
20309
+ {
20310
+ code: "138-002-000-000-000-000-000",
20311
+ key: "estimated",
20312
+ title: "Estimated (system-derived)",
20313
+ selectable: true,
20314
+ parentCode: null,
20315
+ childCodes: [],
20316
+ 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."
20317
+ },
20318
+ {
20319
+ code: "138-003-000-000-000-000-000",
20320
+ key: "reported",
20321
+ title: "Reported (third-party)",
20322
+ selectable: true,
20323
+ parentCode: null,
20324
+ childCodes: [],
20325
+ 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."
20326
+ },
20327
+ {
20328
+ code: "138-004-000-000-000-000-000",
20329
+ key: "suspected",
20330
+ title: "Suspected (working theory)",
20331
+ selectable: true,
20332
+ parentCode: null,
20333
+ childCodes: [],
20334
+ 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."
20335
+ },
20336
+ {
20337
+ code: "138-005-000-000-000-000-000",
20338
+ key: "verified",
20339
+ title: "Verified (operational)",
20340
+ selectable: true,
20341
+ parentCode: null,
20342
+ childCodes: [],
20343
+ 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."
20344
+ }
20345
+ ]
20346
+ };
20347
+
20348
+ // src/cvcs/roleContext.v1.0.0.json
20349
+ var roleContext_v1_0_0_default = {
20350
+ domain: "role_context",
20351
+ name: "Core Role Context",
20352
+ version: "1.0.0",
20353
+ levels: {
20354
+ "0": "Unknown or Missing",
20355
+ "1": "Role context"
20356
+ },
20357
+ entries: [
20358
+ {
20359
+ code: "160-000-000-000-000-000-000",
20360
+ key: "missingness_root",
20361
+ title: "Unknown, Redacted, or Missing",
20362
+ selectable: false,
20363
+ parentCode: null,
20364
+ childCodes: [
20365
+ "160-000-000-000-000-000-001",
20366
+ "160-000-000-000-000-000-002",
20367
+ "160-000-000-000-000-000-003"
20368
+ ],
20369
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20370
+ },
20371
+ {
20372
+ code: "160-000-000-000-000-000-001",
20373
+ key: "unknown",
20374
+ title: "Unknown",
20375
+ selectable: true,
20376
+ parentCode: "160-000-000-000-000-000-000",
20377
+ childCodes: [],
20378
+ 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."
20379
+ },
20380
+ {
20381
+ code: "160-000-000-000-000-000-002",
20382
+ key: "anonymous",
20383
+ title: "Anonymous",
20384
+ selectable: true,
20385
+ parentCode: "160-000-000-000-000-000-000",
20386
+ childCodes: [],
20387
+ definition: "Information is intentionally withheld or redacted. Use only when role context is intentionally withheld (not as a default)."
20388
+ },
20389
+ {
20390
+ code: "160-000-000-000-000-000-003",
20391
+ key: "data_not_collected",
20392
+ title: "Data not collected",
20393
+ selectable: true,
20394
+ parentCode: "160-000-000-000-000-000-000",
20395
+ childCodes: [],
20396
+ definition: "No attempt was made to collect the value. Use when role context was not asked or not captured by the source workflow."
20397
+ },
20398
+ {
20399
+ code: "160-001-000-000-000-000-000",
20400
+ key: "both",
20401
+ title: "Both",
20402
+ selectable: true,
20403
+ parentCode: null,
20404
+ childCodes: [],
20405
+ 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."
20406
+ },
20407
+ {
20408
+ code: "160-002-000-000-000-000-000",
20409
+ key: "offender",
20410
+ title: "Offender",
20411
+ selectable: true,
20412
+ parentCode: null,
20413
+ childCodes: [],
20414
+ 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."
20415
+ },
20416
+ {
20417
+ code: "160-003-000-000-000-000-000",
20418
+ key: "victim",
20419
+ title: "Victim",
20420
+ selectable: true,
20421
+ parentCode: null,
20422
+ childCodes: [],
20423
+ 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)."
20424
+ }
20425
+ ]
20426
+ };
20427
+
20428
+ // src/cvcs/timeScope.v1.0.0.json
20429
+ var timeScope_v1_0_0_default = {
20430
+ domain: "time_scope",
20431
+ name: "Core Time Scope",
20432
+ version: "1.0.0",
20433
+ levels: {
20434
+ "0": "Unknown or Missing",
20435
+ "1": "Time scope"
20436
+ },
20437
+ entries: [
20438
+ {
20439
+ code: "174-000-000-000-000-000-000",
20440
+ key: "missingness_root",
20441
+ title: "Unknown, Redacted, or Missing",
20442
+ selectable: false,
20443
+ parentCode: null,
20444
+ childCodes: [
20445
+ "174-000-000-000-000-000-001",
20446
+ "174-000-000-000-000-000-002",
20447
+ "174-000-000-000-000-000-003"
20448
+ ],
20449
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20450
+ },
20451
+ {
20452
+ code: "174-000-000-000-000-000-001",
20453
+ key: "unknown",
20454
+ title: "Unknown",
20455
+ selectable: true,
20456
+ parentCode: "174-000-000-000-000-000-000",
20457
+ childCodes: [],
20458
+ 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)."
20459
+ },
20460
+ {
20461
+ code: "174-000-000-000-000-000-002",
20462
+ key: "anonymous",
20463
+ title: "Anonymous",
20464
+ selectable: true,
20465
+ parentCode: "174-000-000-000-000-000-000",
20466
+ childCodes: [],
20467
+ definition: "Value is intentionally withheld or redacted."
20468
+ },
20469
+ {
20470
+ code: "174-000-000-000-000-000-003",
20471
+ key: "data_not_collected",
20472
+ title: "Data not collected",
20473
+ selectable: true,
20474
+ parentCode: "174-000-000-000-000-000-000",
20475
+ childCodes: [],
20476
+ definition: "No attempt was made to collect the value."
20477
+ },
20478
+ {
20479
+ code: "174-001-000-000-000-000-000",
20480
+ key: "current",
20481
+ title: "Current",
20482
+ selectable: true,
20483
+ parentCode: null,
20484
+ childCodes: [],
20485
+ 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."
20486
+ },
20487
+ {
20488
+ code: "174-002-000-000-000-000-000",
20489
+ key: "prior",
20490
+ title: "Prior",
20491
+ selectable: true,
20492
+ parentCode: null,
20493
+ childCodes: [],
20494
+ 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."
20495
+ }
20496
+ ]
20497
+ };
20498
+
20499
+ // src/cvcs/verificationMethod.v1.0.0.json
20500
+ var verificationMethod_v1_0_0_default = {
20501
+ domain: "verification_method",
20502
+ name: "Core Verification Method",
20503
+ version: "1.0.0",
20504
+ levels: {
20505
+ "0": "Unknown or Missing",
20506
+ "1": "Verification method"
20507
+ },
20508
+ entries: [
20509
+ {
20510
+ code: "143-000-000-000-000-000-000",
20511
+ key: "missingness_root",
20512
+ title: "Unknown, Redacted, or Missing",
20513
+ selectable: false,
20514
+ parentCode: null,
20515
+ childCodes: [
20516
+ "143-000-000-000-000-000-001",
20517
+ "143-000-000-000-000-000-002",
20518
+ "143-000-000-000-000-000-003"
20519
+ ],
20520
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20521
+ },
20522
+ {
20523
+ code: "143-000-000-000-000-000-001",
20524
+ key: "unknown",
20525
+ title: "Unknown",
20526
+ selectable: true,
20527
+ parentCode: "143-000-000-000-000-000-000",
20528
+ childCodes: [],
20529
+ definition: "Value is unknown at time of entry."
20530
+ },
20531
+ {
20532
+ code: "143-000-000-000-000-000-002",
20533
+ key: "anonymous",
20534
+ title: "Anonymous",
20535
+ selectable: true,
20536
+ parentCode: "143-000-000-000-000-000-000",
20537
+ childCodes: [],
20538
+ definition: "Value is intentionally withheld or redacted."
20539
+ },
20540
+ {
20541
+ code: "143-000-000-000-000-000-003",
20542
+ key: "data_not_collected",
20543
+ title: "Data not collected",
20544
+ selectable: true,
20545
+ parentCode: "143-000-000-000-000-000-000",
20546
+ childCodes: [],
20547
+ definition: "No attempt was made to collect the value."
20548
+ },
20549
+ {
20550
+ code: "143-001-000-000-000-000-000",
20551
+ key: "court_record_confirmed",
20552
+ title: "Court record confirmed",
20553
+ selectable: true,
20554
+ parentCode: null,
20555
+ childCodes: [],
20556
+ 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."
20557
+ },
20558
+ {
20559
+ code: "143-002-000-000-000-000-000",
20560
+ key: "evidence_threshold_met",
20561
+ title: "Evidence threshold met",
20562
+ selectable: true,
20563
+ parentCode: null,
20564
+ childCodes: [],
20565
+ 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."
20566
+ },
20567
+ {
20568
+ code: "143-003-000-000-000-000-000",
20569
+ key: "multi_source_corroboration",
20570
+ title: "Multi-source corroboration",
20571
+ selectable: true,
20572
+ parentCode: null,
20573
+ childCodes: [],
20574
+ 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."
20575
+ },
20576
+ {
20577
+ code: "143-004-000-000-000-000-000",
20578
+ key: "qa_audit_passed",
20579
+ title: "QA audit passed",
20580
+ selectable: true,
20581
+ parentCode: null,
20582
+ childCodes: [],
20583
+ 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."
20584
+ },
20585
+ {
20586
+ code: "143-005-000-000-000-000-000",
20587
+ key: "supervisor_review",
20588
+ title: "Supervisor review",
20589
+ selectable: true,
20590
+ parentCode: null,
20591
+ childCodes: [],
20592
+ 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."
20593
+ }
20594
+ ]
20595
+ };
20596
+
20597
+ // src/cvcs/qualityFlags.v1.0.0.json
20598
+ var qualityFlags_v1_0_0_default = {
20599
+ domain: "quality_flags",
20600
+ name: "Core Quality Flags",
20601
+ version: "1.0.0",
20602
+ levels: {
20603
+ "0": "Unknown or Missing",
20604
+ "1": "Quality flag"
20605
+ },
20606
+ entries: [
20607
+ {
20608
+ code: "144-000-000-000-000-000-000",
20609
+ key: "missingness_root",
20610
+ title: "Unknown, Redacted, or Missing",
20611
+ selectable: false,
20612
+ parentCode: null,
20613
+ childCodes: [
20614
+ "144-000-000-000-000-000-001",
20615
+ "144-000-000-000-000-000-002",
20616
+ "144-000-000-000-000-000-003"
20617
+ ],
20618
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20619
+ },
20620
+ {
20621
+ code: "144-000-000-000-000-000-001",
20622
+ key: "unknown",
20623
+ title: "Unknown",
20624
+ selectable: true,
20625
+ parentCode: "144-000-000-000-000-000-000",
20626
+ childCodes: [],
20627
+ definition: "Value is unknown at time of entry."
20628
+ },
20629
+ {
20630
+ code: "144-000-000-000-000-000-002",
20631
+ key: "anonymous",
20632
+ title: "Anonymous",
20633
+ selectable: true,
20634
+ parentCode: "144-000-000-000-000-000-000",
20635
+ childCodes: [],
20636
+ definition: "Value is intentionally withheld or redacted."
20637
+ },
20638
+ {
20639
+ code: "144-000-000-000-000-000-003",
20640
+ key: "data_not_collected",
20641
+ title: "Data not collected",
20642
+ selectable: true,
20643
+ parentCode: "144-000-000-000-000-000-000",
20644
+ childCodes: [],
20645
+ definition: "No attempt was made to collect the value."
20646
+ },
20647
+ {
20648
+ code: "144-001-000-000-000-000-000",
20649
+ key: "circular_model_label_risk",
20650
+ title: "Circular model label risk",
20651
+ selectable: true,
20652
+ parentCode: null,
20653
+ childCodes: [],
20654
+ 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."
20655
+ },
20656
+ {
20657
+ code: "144-002-000-000-000-000-000",
20658
+ key: "data_redacted",
20659
+ title: "Data redacted",
20660
+ selectable: true,
20661
+ parentCode: null,
20662
+ childCodes: [],
20663
+ 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."
20664
+ },
20665
+ {
20666
+ code: "144-003-000-000-000-000-000",
20667
+ key: "inconsistent",
20668
+ title: "Inconsistent",
20669
+ selectable: true,
20670
+ parentCode: null,
20671
+ childCodes: [],
20672
+ 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."
20673
+ },
20674
+ {
20675
+ code: "144-004-000-000-000-000-000",
20676
+ key: "self_report_only",
20677
+ title: "Self-report only",
20678
+ selectable: true,
20679
+ parentCode: null,
20680
+ childCodes: [],
20681
+ 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."
20682
+ },
20683
+ {
20684
+ code: "144-005-000-000-000-000-000",
20685
+ key: "single_source",
20686
+ title: "Single source",
20687
+ selectable: true,
20688
+ parentCode: null,
20689
+ childCodes: [],
20690
+ 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."
20691
+ }
20692
+ ]
20693
+ };
20694
+
20695
+ // src/cvcs/contactInfoUseType.v1.0.0.json
20696
+ var contactInfoUseType_v1_0_0_default = {
20697
+ domain: "contact_info_use_type",
20698
+ name: "Core Contact Info Use Type",
20699
+ version: "1.0.0",
20700
+ levels: {
20701
+ "0": "Unknown or Missing",
20702
+ "1": "Use type"
20703
+ },
20704
+ entries: [
20705
+ {
20706
+ code: "154-000-000-000-000-000-000",
20707
+ key: "missingness_root",
20708
+ title: "Unknown, Redacted, or Missing",
20709
+ selectable: false,
20710
+ parentCode: null,
20711
+ childCodes: [
20712
+ "154-000-000-000-000-000-001",
20713
+ "154-000-000-000-000-000-002",
20714
+ "154-000-000-000-000-000-003"
20715
+ ],
20716
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20717
+ },
20718
+ {
20719
+ code: "154-000-000-000-000-000-001",
20720
+ key: "unknown",
20721
+ title: "Unknown",
20722
+ selectable: true,
20723
+ parentCode: "154-000-000-000-000-000-000",
20724
+ childCodes: [],
20725
+ definition: "Usage context is not known."
20726
+ },
20727
+ {
20728
+ code: "154-000-000-000-000-000-002",
20729
+ key: "anonymous",
20730
+ title: "Anonymous",
20731
+ selectable: true,
20732
+ parentCode: "154-000-000-000-000-000-000",
20733
+ childCodes: [],
20734
+ definition: "Value is intentionally withheld or redacted."
20735
+ },
20736
+ {
20737
+ code: "154-000-000-000-000-000-003",
20738
+ key: "data_not_collected",
20739
+ title: "Data not collected",
20740
+ selectable: true,
20741
+ parentCode: "154-000-000-000-000-000-000",
20742
+ childCodes: [],
20743
+ definition: "Worker did not attempt to collect / record usage context."
20744
+ },
20745
+ {
20746
+ code: "154-001-000-000-000-000-000",
20747
+ key: "business_commercial_sex",
20748
+ title: "Business (commercial sex)",
20749
+ selectable: true,
20750
+ parentCode: null,
20751
+ childCodes: [],
20752
+ 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."
20753
+ },
20754
+ {
20755
+ code: "154-002-000-000-000-000-000",
20756
+ key: "business_non_cs",
20757
+ title: "Business (non-CS)",
20758
+ selectable: true,
20759
+ parentCode: null,
20760
+ childCodes: [],
20761
+ definition: "Used primarily for work / business communication not specific to commercial sex activity (employer, general business, services, etc.)."
20762
+ },
20763
+ {
20764
+ code: "154-003-000-000-000-000-000",
20765
+ key: "mixed_use",
20766
+ title: "Mixed use",
20767
+ selectable: true,
20768
+ parentCode: null,
20769
+ childCodes: [],
20770
+ definition: "Used for both personal and business purposes (including where business includes commercial sex activity)."
20771
+ },
20772
+ {
20773
+ code: "154-004-000-000-000-000-000",
20774
+ key: "personal",
20775
+ title: "Personal",
20776
+ selectable: true,
20777
+ parentCode: null,
20778
+ childCodes: [],
20779
+ definition: "Used primarily for personal / family communication."
20780
+ }
20781
+ ]
20782
+ };
20783
+
20784
+ // src/cvcs/sessionState.v1.0.0.json
20785
+ var sessionState_v1_0_0_default = {
20786
+ domain: "session_state",
20787
+ name: "Core Session State",
20788
+ version: "1.0.0",
20789
+ levels: {
20790
+ "0": "Unknown or Missing",
20791
+ "1": "Session state"
20792
+ },
20793
+ entries: [
20794
+ {
20795
+ code: "216-000-000-000-000-000-000",
20796
+ key: "missingness_root",
20797
+ title: "Unknown, Redacted, or Missing",
20798
+ selectable: false,
20799
+ parentCode: null,
20800
+ childCodes: [
20801
+ "216-000-000-000-000-000-001",
20802
+ "216-000-000-000-000-000-002",
20803
+ "216-000-000-000-000-000-003"
20804
+ ],
20805
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
20806
+ },
20807
+ {
20808
+ code: "216-000-000-000-000-000-001",
20809
+ key: "unknown",
20810
+ title: "Unknown",
20811
+ selectable: true,
20812
+ parentCode: "216-000-000-000-000-000-000",
20813
+ childCodes: [],
20814
+ definition: "Value is unknown at time of entry."
20815
+ },
20816
+ {
20817
+ code: "216-000-000-000-000-000-002",
20818
+ key: "anonymous",
20819
+ title: "Anonymous",
20820
+ selectable: true,
20821
+ parentCode: "216-000-000-000-000-000-000",
20822
+ childCodes: [],
20823
+ definition: "Value is intentionally withheld or redacted."
20824
+ },
20825
+ {
20826
+ code: "216-000-000-000-000-000-003",
20827
+ key: "data_not_collected",
20828
+ title: "Data not collected",
20829
+ selectable: true,
20830
+ parentCode: "216-000-000-000-000-000-000",
20831
+ childCodes: [],
20832
+ definition: "No attempt was made to collect the value."
20833
+ },
20834
+ {
20835
+ code: "216-001-000-000-000-000-000",
20836
+ key: "session_action_needed",
20837
+ title: "Action needed",
20838
+ selectable: true,
20839
+ parentCode: null,
20840
+ childCodes: [],
20841
+ 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."
20842
+ },
20843
+ {
20844
+ code: "216-002-000-000-000-000-000",
20845
+ key: "session_closed",
20846
+ title: "Closed",
20847
+ selectable: true,
20848
+ parentCode: null,
20849
+ childCodes: [],
20850
+ definition: "Session has been completed successfully."
20851
+ },
20852
+ {
20853
+ code: "216-003-000-000-000-000-000",
20854
+ key: "session_discarded",
20855
+ title: "Discarded",
20856
+ selectable: true,
20857
+ parentCode: null,
20858
+ childCodes: [],
20859
+ definition: "Session had actions but was later discarded without committing changes to the CaseRecord."
20860
+ },
20861
+ {
20862
+ code: "216-004-000-000-000-000-000",
20863
+ key: "session_in_progress",
20864
+ title: "In progress",
20865
+ selectable: true,
20866
+ parentCode: null,
20867
+ childCodes: [],
20868
+ definition: "Session has actions that are completed and is eligible to be saved / committed. No 'Required to Submit' blockers."
20869
+ },
20870
+ {
20871
+ code: "216-005-000-000-000-000-000",
20872
+ key: "session_initialized",
20873
+ title: "Initialized",
20874
+ selectable: true,
20875
+ parentCode: null,
20876
+ childCodes: [],
20877
+ definition: "Session has been created but no edits have been collected. Blocks transition to session_closed."
20878
+ }
20879
+ ]
20880
+ };
19876
20881
  export {
19877
20882
  ACCOMMODATION_LABELS,
19878
20883
  ACCOMMODATION_OPTIONS,
@@ -19918,7 +20923,6 @@ export {
19918
20923
  CVC_136_OPTIONS,
19919
20924
  CVC_136_TYPE_TO_CATEGORY,
19920
20925
  CVC_136_VALUES,
19921
- CVC_137_VALUES,
19922
20926
  CVC_145_CATEGORY,
19923
20927
  CVC_145_CATEGORY_LABELS,
19924
20928
  CVC_145_CATEGORY_ORDER,
@@ -19997,10 +21001,7 @@ export {
19997
21001
  CVC_17_LABELS,
19998
21002
  CVC_17_LEVEL_1_OPTIONS,
19999
21003
  CVC_17_LEVEL_2_TRANSGENDER_OPTIONS,
20000
- CVC_17_MISSINGNESS_VALUES,
20001
- CVC_17_SELECTABLE_VALUES,
20002
21004
  CVC_17_TRANSGENDER_VALUES,
20003
- CVC_17_VALUES,
20004
21005
  CVC_180_EDUCATION_LEVEL,
20005
21006
  CVC_180_LABELS,
20006
21007
  CVC_180_ORDINAL,
@@ -20010,7 +21011,6 @@ export {
20010
21011
  CVC_196_CHILD_WELFARE_EPISODE_TYPE,
20011
21012
  CVC_196_LABELS,
20012
21013
  CVC_196_VALUES,
20013
- CVC_197_VALUES,
20014
21014
  CVC_1_LABELS,
20015
21015
  CVC_1_NAME_TYPE,
20016
21016
  CVC_1_STRUCTURED_NAME_TYPES,
@@ -20020,7 +21020,6 @@ export {
20020
21020
  CVC_67_LABELS,
20021
21021
  CVC_67_MISSINGNESS_VALUES,
20022
21022
  CVC_67_SELECTABLE_VALUES,
20023
- CVC_67_VALUES,
20024
21023
  CVC_72_HT_TYPE,
20025
21024
  CVC_72_LABELS,
20026
21025
  CVC_72_VALUES,
@@ -20046,6 +21045,7 @@ export {
20046
21045
  CVC_99_LABELS,
20047
21046
  CVC_99_VALUES,
20048
21047
  ContactInfoTypeKeys,
21048
+ ContactInfoUseTypeKeys,
20049
21049
  ContactSafetyStatusKeys,
20050
21050
  CvcCodeSchema,
20051
21051
  CvcEntrySchema,
@@ -20057,6 +21057,7 @@ export {
20057
21057
  DATA_QUALITY_LABELS,
20058
21058
  DATA_QUALITY_VALUES,
20059
21059
  DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY,
21060
+ DeterminationLevelKeys,
20060
21061
  EmploymentStatusKeys,
20061
21062
  EnrollmentApplicationStatusKeys,
20062
21063
  EyeColorKeys,
@@ -20075,7 +21076,6 @@ export {
20075
21076
  HairColorKeys,
20076
21077
  HasTattoosKeys,
20077
21078
  HighestEducationLevelCompletedKeys,
20078
- HmisSexKeys,
20079
21079
  HomelessStatusKeys,
20080
21080
  IC_13_CATEGORIES,
20081
21081
  IC_13_CATEGORY_ORDER,
@@ -20136,7 +21136,7 @@ export {
20136
21136
  IncidentInvolvementRoleKeys,
20137
21137
  IncidentParticipationRoleKeys,
20138
21138
  IncomeBenefitsSourcesKeys,
20139
- JuvenileJusticeEpisodeTypeKeys,
21139
+ InferenceTypeKeys,
20140
21140
  JuvenileJusticeInvolvementStatusKeys,
20141
21141
  LocationTypeKeys,
20142
21142
  MINOR_ADULT_STATUS,
@@ -20170,6 +21170,7 @@ export {
20170
21170
  QUICK_START_CONFIG,
20171
21171
  QUICK_START_LABELS,
20172
21172
  QUICK_START_TEMPLATES,
21173
+ QualityFlagsKeys,
20173
21174
  RECORD_STATES,
20174
21175
  RECORD_STATE_LABELS,
20175
21176
  RELATIONSHIP_CONCERNS,
@@ -20182,10 +21183,10 @@ export {
20182
21183
  ROLE_LEVEL_LABELS,
20183
21184
  ROLE_LEVEL_VALUES,
20184
21185
  RaceEthnicityKeys,
20185
- RecencyBandKeys,
20186
21186
  ReferralEntityCategoryKeys,
20187
21187
  RelationshipStatusCurrentKeys,
20188
21188
  RelationshipTiesKeys,
21189
+ RoleContextKeys,
20189
21190
  SESSION_STATES,
20190
21191
  SESSION_STATE_LABELS,
20191
21192
  SHARE_VIEW,
@@ -20197,15 +21198,21 @@ export {
20197
21198
  ServiceCategoryKeys,
20198
21199
  ServiceMechanismKeys,
20199
21200
  ServiceStateKeys,
21201
+ SessionStateKeys,
20200
21202
  SexProviderSubroleKeys,
20201
21203
  SharePurposeKeys,
20202
21204
  SmtTypeKeys,
21205
+ SourceCategoryKeys,
21206
+ SourceSubtypeKeys,
21207
+ SupportStrengthKeys,
20203
21208
  THREAD_INVOLVEMENT_ROLES,
21209
+ TimeScopeKeys,
20204
21210
  TribesKeys,
20205
21211
  USER_STATUS,
20206
21212
  USER_STATUS_LABELS,
20207
21213
  VALID_INTERACTION_TYPES,
20208
21214
  VALID_RECORD_STATES,
21215
+ VerificationMethodKeys,
20209
21216
  VictimStatusFamilyKeys,
20210
21217
  addressSchema,
20211
21218
  administeringJurisdiction_v1_0_0_default as administeringJurisdictionSot,
@@ -20224,6 +21231,7 @@ export {
20224
21231
  compileModel8 as compileCvcEntryModel,
20225
21232
  compileModel7 as compileCvcRegistryModel,
20226
21233
  contactInfoTypes_v1_0_0_default as contactInfoTypesSot,
21234
+ contactInfoUseType_v1_0_0_default as contactInfoUseTypeSot,
20227
21235
  contactSafetyStatus_v1_0_0_default as contactSafetyStatusSot,
20228
21236
  createPlatformModels,
20229
21237
  cvcEntryModel_exports as cvcEntryModel,
@@ -20235,6 +21243,7 @@ export {
20235
21243
  cvcVersionsToRecord,
20236
21244
  demographicsSchema,
20237
21245
  deriveAgeBinFromAge,
21246
+ determinationLevel_v1_0_0_default as determinationLevelSot,
20238
21247
  emailSchema,
20239
21248
  employmentStatus_v1_0_0_default as employmentStatusSot,
20240
21249
  enrollmentApplicationStatus_v1_0_0_default as enrollmentApplicationStatusSot,
@@ -20264,18 +21273,17 @@ export {
20264
21273
  hairColor_v1_0_0_default as hairColorSot,
20265
21274
  hasTattoos_v1_0_0_default as hasTattoosSot,
20266
21275
  highestEducationLevelCompleted_v1_0_0_default as highestEducationLevelCompletedSot,
20267
- hmisSex_v1_0_0_default as hmisSexSot,
20268
21276
  homelessStatus_v1_0_0_default as homelessStatusSot,
20269
21277
  incidentInvolvementRoles_v1_0_0_default as incidentInvolvementRolesSot,
20270
21278
  incidentParticipationRoles_v1_0_0_default as incidentParticipationRolesSot,
20271
21279
  incomeBenefitsSources_v1_0_0_default as incomeBenefitsSourcesSot,
21280
+ inferenceType_v1_0_0_default as inferenceTypeSot,
20272
21281
  isIC56Missingness,
20273
21282
  isIC56ValidChannel,
20274
21283
  isLgbtqOrientation,
20275
21284
  isProtectedRelationship,
20276
21285
  isStructuredNameType,
20277
21286
  isTransgenderGenderIdentity,
20278
- juvenileJusticeEpisodeType_v1_0_0_default as juvenileJusticeEpisodeTypeSot,
20279
21287
  juvenileJusticeInvolvementStatus_v1_0_0_default as juvenileJusticeInvolvementStatusSot,
20280
21288
  layoutSchema,
20281
21289
  locationType_v1_0_0_default as locationTypeSot,
@@ -20298,15 +21306,16 @@ export {
20298
21306
  preferredContactMethod_v1_0_0_default as preferredContactMethodSot,
20299
21307
  primaryLanguage_v1_0_0_default as primaryLanguageSot,
20300
21308
  pronouns_v1_0_0_default as pronounsSot,
21309
+ qualityFlags_v1_0_0_default as qualityFlagsSot,
20301
21310
  questionModel_exports as questionModel,
20302
21311
  questionSchemaDefinition,
20303
21312
  questionSchemaOptions,
20304
21313
  raceEthnicity_v1_0_0_default as raceEthnicitySot,
20305
- recencyBand_v1_0_0_default as recencyBandSot,
20306
21314
  referralEntityCategory_v1_0_0_default as referralEntityCategorySot,
20307
21315
  relationshipStatusCurrent_v1_0_0_default as relationshipStatusCurrentSot,
20308
21316
  relationshipTies_v1_0_0_default as relationshipTiesSot,
20309
21317
  resolveRegistryWithInheritance,
21318
+ roleContext_v1_0_0_default as roleContextSot,
20310
21319
  scoringConditionSchema,
20311
21320
  scoringRecommendationSchema,
20312
21321
  scoringRuleModel_exports as scoringRuleModel,
@@ -20320,11 +21329,17 @@ export {
20320
21329
  serviceCategories_v1_0_0_default as serviceCategoriesSot,
20321
21330
  serviceMechanisms_v1_0_0_default as serviceMechanismsSot,
20322
21331
  serviceStates_v1_0_0_default as serviceStatesSot,
21332
+ sessionState_v1_0_0_default as sessionStateSot,
20323
21333
  sexProviderSubrole_v1_0_0_default as sexProviderSubroleSot,
20324
21334
  sharePurpose_v1_0_0_default as sharePurposeSot,
20325
21335
  smtType_v1_0_0_default as smtTypeSot,
20326
21336
  sortRelationshipsByPriority,
21337
+ sourceCategory_v1_1_0_default as sourceCategorySot,
21338
+ sourceSubtype_v1_1_0_default as sourceSubtypeSot,
21339
+ supportStrength_v1_0_0_default as supportStrengthSot,
21340
+ timeScope_v1_0_0_default as timeScopeSot,
20327
21341
  tribes_v1_0_0_default as tribesSot,
21342
+ verificationMethod_v1_0_0_default as verificationMethodSot,
20328
21343
  victimStatusFamily_v1_0_0_default as victimStatusFamilySot,
20329
21344
  visibilityRuleSchema
20330
21345
  };