@htilabs/platform-common-models 0.8.13 → 0.8.15

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 (75) hide show
  1. package/README.md +44 -0
  2. package/dist/config/index.cjs +4 -0
  3. package/dist/config/index.cjs.map +1 -1
  4. package/dist/config/index.d.cts +16 -1
  5. package/dist/config/index.d.ts +16 -1
  6. package/dist/config/index.js +2 -0
  7. package/dist/config/index.js.map +1 -1
  8. package/dist/constants/index.cjs +10 -0
  9. package/dist/constants/index.cjs.map +1 -1
  10. package/dist/constants/index.d.cts +1 -1
  11. package/dist/constants/index.d.ts +1 -1
  12. package/dist/constants/index.js +10 -0
  13. package/dist/constants/index.js.map +1 -1
  14. package/dist/cvcs/index.cjs +601 -2
  15. package/dist/cvcs/index.cjs.map +1 -1
  16. package/dist/cvcs/index.d.cts +2754 -2084
  17. package/dist/cvcs/index.d.ts +2754 -2084
  18. package/dist/cvcs/index.js +594 -2
  19. package/dist/cvcs/index.js.map +1 -1
  20. package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
  21. package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  22. package/dist/index.cjs +709 -4
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +154 -7
  25. package/dist/index.d.ts +154 -7
  26. package/dist/index.js +693 -4
  27. package/dist/index.js.map +1 -1
  28. package/dist/models/index.d.cts +2 -2
  29. package/dist/models/index.d.ts +2 -2
  30. package/dist/mongo/index.cjs +383 -0
  31. package/dist/mongo/index.cjs.map +1 -0
  32. package/dist/mongo/index.d.cts +221 -0
  33. package/dist/mongo/index.d.ts +221 -0
  34. package/dist/mongo/index.js +351 -0
  35. package/dist/mongo/index.js.map +1 -0
  36. package/dist/{platform-auth-BfCMuAlC.d.cts → platform-auth-AsfnIXfK.d.cts} +2 -2
  37. package/dist/{platform-auth-BfCMuAlC.d.ts → platform-auth-AsfnIXfK.d.ts} +2 -2
  38. package/dist/schemas/index.cjs +5 -1
  39. package/dist/schemas/index.cjs.map +1 -1
  40. package/dist/schemas/index.d.cts +29 -25
  41. package/dist/schemas/index.d.ts +29 -25
  42. package/dist/schemas/index.js +5 -1
  43. package/dist/schemas/index.js.map +1 -1
  44. package/dist/types/index.d.cts +2 -2
  45. package/dist/types/index.d.ts +2 -2
  46. package/package.json +10 -1
  47. package/src/__sot__/coreIndicators.pin.json +6 -1
  48. package/src/__tests__/__snapshots__/cvc-sot.snap +18 -2
  49. package/src/__tests__/cvc-136-scoring-invariant.test.ts +6 -3
  50. package/src/__tests__/cvc-drift-gate.test.ts +14 -3
  51. package/src/__tests__/cvc-sot-snapshot.test.ts +13 -1
  52. package/src/__tests__/cvc-structural.test.ts +6 -0
  53. package/src/__tests__/mongo-verifier.test.ts +502 -0
  54. package/src/config/index.ts +8 -2
  55. package/src/constants/ic.ts +31 -2
  56. package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
  57. package/src/cvcs/caseShareState.v1.0.0.json +62 -0
  58. package/src/cvcs/coreIndicators.v1.0.0.json +67 -2
  59. package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
  60. package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
  61. package/src/cvcs/hmisSex.v1.0.0.json +89 -0
  62. package/src/cvcs/index.ts +22 -0
  63. package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
  64. package/src/cvcs/referralOrigin.v1.0.0.json +26 -0
  65. package/src/cvcs/subjectType.v1.0.0.json +80 -0
  66. package/src/generated/cvc-enums.ts +125 -2
  67. package/src/index.ts +20 -0
  68. package/src/mongo/catalog.ts +65 -0
  69. package/src/mongo/contract.ts +157 -0
  70. package/src/mongo/index.ts +343 -0
  71. package/src/mongo/similarity.ts +133 -0
  72. package/src/mongo/uri.ts +53 -0
  73. package/src/schemas/common.ts +4 -0
  74. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
  75. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
package/dist/index.js CHANGED
@@ -3915,6 +3915,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
3915
3915
  "cannot_stop_working_or_freely_leave",
3916
3916
  "child_not_abusers_in_household",
3917
3917
  "child_welfare_system_involvement",
3918
+ "clients_unaware_of_third_party_coordination",
3918
3919
  "coerced_to_misrepresent_identity_or_activity",
3919
3920
  "coercive_debt_pressure",
3920
3921
  "coercive_debt_pressure_youth",
@@ -3937,6 +3938,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
3937
3938
  "debt_terms_deceptive_youth",
3938
3939
  "denied_basic_needs",
3939
3940
  "depends_on_employer_for_immigration_status",
3941
+ "depends_on_spouse_or_family_for_immigration_status",
3940
3942
  "does_not_control_finances_or_earnings",
3941
3943
  "does_not_control_identity_documents",
3942
3944
  "elevated_lethality_risk_signal",
@@ -4030,6 +4032,8 @@ var CVC_136_CORE_INDICATOR_VALUES = [
4030
4032
  "several_cell_phones_or_frequent_number_changes",
4031
4033
  "sex_acts_in_own_residence",
4032
4034
  "sexual_exploitation",
4035
+ "sexualized_content_in_person_performance_activity",
4036
+ "sexualized_content_online_performance_activity",
4033
4037
  "sexualized_content_performance_activity",
4034
4038
  "shared_contact_network",
4035
4039
  "signs_of_physical_abuse_confinement_or_neglect",
@@ -4075,6 +4079,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
4075
4079
  "trafficking_experience_past_10plusy",
4076
4080
  "trafficking_experience_past_3to10y",
4077
4081
  "trafficking_experience_past_lt3y",
4082
+ "trauma_perpetrator_is_current_manager",
4078
4083
  "travel_organized_by_third_party",
4079
4084
  "tricked_or_pressured_into_unwanted_acts",
4080
4085
  "under_18_advertised_age",
@@ -4127,6 +4132,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
4127
4132
  "cannot_stop_working_or_freely_leave": "Cannot stop working or freely leave home/work",
4128
4133
  "child_not_abusers_in_household": "Child in household who is not the abuser's biological child",
4129
4134
  "child_welfare_system_involvement": "Child welfare system involvement (history)",
4135
+ "clients_unaware_of_third_party_coordination": "Clients unaware they are coordinating with a third party (concealed dispatch)",
4130
4136
  "coerced_to_misrepresent_identity_or_activity": "Coerced to misrepresent age, identity, or work activity to outsiders",
4131
4137
  "coercive_debt_pressure": "Pressured to do things to pay off debt (coercive debt repayment)",
4132
4138
  "coercive_debt_pressure_youth": "Pressured to do things to pay off debt (youth missing-from-care)",
@@ -4149,6 +4155,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
4149
4155
  "debt_terms_deceptive_youth": "Debt repayment terms differed from what was expected (youth missing-from-care)",
4150
4156
  "denied_basic_needs": "Denied basic needs (food, water, sleep, medical care)",
4151
4157
  "depends_on_employer_for_immigration_status": "Depends on employer for immigration status (tied visa / living with employer)",
4158
+ "depends_on_spouse_or_family_for_immigration_status": "Depends on spouse / family member for immigration status (tied family visa)",
4152
4159
  "does_not_control_finances_or_earnings": "Limited independence: does not control finances or earnings",
4153
4160
  "does_not_control_identity_documents": "Limited independence: does not control identity documents",
4154
4161
  "elevated_lethality_risk_signal": "Elevated lethality risk",
@@ -4242,6 +4249,8 @@ var CVC_136_CORE_INDICATOR_LABELS = {
4242
4249
  "several_cell_phones_or_frequent_number_changes": "Several cell phones or frequently changing phone number",
4243
4250
  "sex_acts_in_own_residence": "Sex acts take place in person's own residence",
4244
4251
  "sexual_exploitation": "Sexual exploitation (general)",
4252
+ "sexualized_content_in_person_performance_activity": "In-person sexualized performance / appearance-based activity",
4253
+ "sexualized_content_online_performance_activity": "Online sexual performance / interactive sexual content activity",
4245
4254
  "sexualized_content_performance_activity": "Sexualized content, performance, or communications activity",
4246
4255
  "shared_contact_network": "Shares a contact network (phones/handles)",
4247
4256
  "signs_of_physical_abuse_confinement_or_neglect": "Signs of physical abuse, confinement, or neglect (observed)",
@@ -4287,6 +4296,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
4287
4296
  "trafficking_experience_past_10plusy": "Trafficking experience recency: 10+ years since last experience",
4288
4297
  "trafficking_experience_past_3to10y": "Trafficking experience recency: 3\u201310 years since last experience",
4289
4298
  "trafficking_experience_past_lt3y": "Trafficking experience recency: less than 3 years since last experience",
4299
+ "trauma_perpetrator_is_current_manager": "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
4290
4300
  "travel_organized_by_third_party": "Travel organized by a third party (sex provider does not control own movement)",
4291
4301
  "tricked_or_pressured_into_unwanted_acts": "Tricked or pressured into unwanted acts or activities (generic coercion)",
4292
4302
  "under_18_advertised_age": "Under 18 (ad-derived / advertised age)",
@@ -5941,7 +5951,11 @@ var personNameSchema = new Schema(
5941
5951
  isPrimary: Boolean,
5942
5952
  alias: Boolean,
5943
5953
  isUnknown: Boolean,
5944
- isAnonymous: Boolean
5954
+ isAnonymous: Boolean,
5955
+ // Shape flag: this person has only one name (e.g., Madonna). A mononym
5956
+ // can itself be legal, a nickname, a trade name, etc. — it's orthogonal
5957
+ // to nameType, not a value of it.
5958
+ isMononym: Boolean
5945
5959
  },
5946
5960
  { _id: false }
5947
5961
  );
@@ -7652,6 +7666,18 @@ var SharePurposeKeys = {
7652
7666
  discretionary_share: "084-007-000-000-000-000-000",
7653
7667
  records_request: "084-008-000-000-000-000-000"
7654
7668
  };
7669
+ var ReferralOriginKeys = {
7670
+ internal: "909-001-000-000-000-000-000",
7671
+ external: "909-002-000-000-000-000-000"
7672
+ };
7673
+ var CaseShareStateKeys = {
7674
+ pending: "925-001-000-000-000-000-000",
7675
+ claimed: "925-002-000-000-000-000-000",
7676
+ accepted_awaiting_review: "925-003-000-000-000-000-000",
7677
+ accepted: "925-004-000-000-000-000-000",
7678
+ declined: "925-005-000-000-000-000-000",
7679
+ rejected: "925-006-000-000-000-000-000"
7680
+ };
7655
7681
  var FacilitatorEntityTypeKeys = {
7656
7682
  missingness_root: "165-000-000-000-000-000-000",
7657
7683
  unknown: "165-000-000-000-000-000-001",
@@ -10102,7 +10128,12 @@ var CoreIndicatorKeys = {
10102
10128
  workplace_emotional_climate_of_fear: "136-207-000-000-000-000-000",
10103
10129
  works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
10104
10130
  works_for_little_or_no_pay: "136-209-000-000-000-000-000",
10105
- youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000"
10131
+ youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000",
10132
+ clients_unaware_of_third_party_coordination: "136-211-000-000-000-000-000",
10133
+ depends_on_spouse_or_family_for_immigration_status: "136-212-000-000-000-000-000",
10134
+ sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
10135
+ sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
10136
+ trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000"
10106
10137
  };
10107
10138
  var RiskSeverityBandKeys = {
10108
10139
  missingness_root: "238-000-000-000-000-000-000",
@@ -10653,6 +10684,56 @@ var WhyNotKeys = {
10653
10684
  other: "219-007-007-000-000-000-000",
10654
10685
  unknc: "219-007-008-000-000-000-000"
10655
10686
  };
10687
+ var AssertionStatusKeys = {
10688
+ missingness_root: "985-000-000-000-000-000-000",
10689
+ unknown: "985-000-000-000-000-000-001",
10690
+ anonymous: "985-000-000-000-000-000-002",
10691
+ data_not_collected: "985-000-000-000-000-000-003",
10692
+ active: "985-001-000-000-000-000-000",
10693
+ superseded: "985-002-000-000-000-000-000",
10694
+ retracted: "985-003-000-000-000-000-000"
10695
+ };
10696
+ var CreatedBySystemKeys = {
10697
+ missingness_root: "986-000-000-000-000-000-000",
10698
+ unknown: "986-000-000-000-000-000-001",
10699
+ anonymous: "986-000-000-000-000-000-002",
10700
+ data_not_collected: "986-000-000-000-000-000-003",
10701
+ human: "986-001-000-000-000-000-000",
10702
+ integration: "986-002-000-000-000-000-000",
10703
+ rules_engine: "986-003-000-000-000-000-000",
10704
+ model: "986-004-000-000-000-000-000"
10705
+ };
10706
+ var SubjectTypeKeys = {
10707
+ missingness_root: "987-000-000-000-000-000-000",
10708
+ unknown: "987-000-000-000-000-000-001",
10709
+ anonymous: "987-000-000-000-000-000-002",
10710
+ data_not_collected: "987-000-000-000-000-000-003",
10711
+ person: "987-001-000-000-000-000-000",
10712
+ relationship: "987-002-000-000-000-000-000",
10713
+ case: "987-003-000-000-000-000-000"
10714
+ };
10715
+ var MinorAdultStatusKeys = {
10716
+ missingness_root: "988-000-000-000-000-000-000",
10717
+ unknown: "988-000-000-000-000-000-001",
10718
+ anonymous: "988-000-000-000-000-000-002",
10719
+ data_not_collected: "988-000-000-000-000-000-003",
10720
+ minor: "988-001-000-000-000-000-000",
10721
+ adult: "988-002-000-000-000-000-000",
10722
+ indeterminate: "988-003-000-000-000-000-000"
10723
+ };
10724
+ var CriminalOrgCategoryKeys = {
10725
+ missingness_root: "990-000-000-000-000-000-000",
10726
+ unknown: "990-000-000-000-000-000-001",
10727
+ anonymous: "990-000-000-000-000-000-002",
10728
+ data_not_collected: "990-000-000-000-000-000-003",
10729
+ street_gang: "990-001-000-000-000-000-000",
10730
+ prison_gang: "990-002-000-000-000-000-000",
10731
+ outlaw_motorcycle_gang: "990-003-000-000-000-000-000",
10732
+ tco_cartel: "990-004-000-000-000-000-000",
10733
+ white_supremacist_extremist: "990-005-000-000-000-000-000",
10734
+ organized_crime_family: "990-006-000-000-000-000-000",
10735
+ familial_or_independent_trafficking_network: "990-007-000-000-000-000-000"
10736
+ };
10656
10737
 
10657
10738
  // src/services/cvcRegistryService.ts
10658
10739
  function cvcVersionsToRecord(versions) {
@@ -18255,6 +18336,98 @@ var sharePurpose_v1_0_0_default = {
18255
18336
  ]
18256
18337
  };
18257
18338
 
18339
+ // src/cvcs/referralOrigin.v1.0.0.json
18340
+ var referralOrigin_v1_0_0_default = {
18341
+ domain: "referral_origin",
18342
+ name: "Core Referral Origin",
18343
+ version: "1.0.0",
18344
+ levels: { "1": "Origin" },
18345
+ entries: [
18346
+ {
18347
+ code: "909-001-000-000-000-000-000",
18348
+ key: "internal",
18349
+ title: "Internal",
18350
+ selectable: true,
18351
+ parentCode: null,
18352
+ childCodes: [],
18353
+ definition: "A referral whose sending and receiving parties sit within the same agency or account boundary, so completing it involves no disclosure of client information across an organizational boundary."
18354
+ },
18355
+ {
18356
+ code: "909-002-000-000-000-000-000",
18357
+ key: "external",
18358
+ title: "External",
18359
+ selectable: true,
18360
+ parentCode: null,
18361
+ childCodes: [],
18362
+ definition: "A referral whose receiving party is a different agency, making acceptance a cross-agency disclosure of client information. Where an implementation cannot positively determine the origin, it must treat the referral as external, so that the stronger disclosure controls apply by default rather than the weaker ones."
18363
+ }
18364
+ ]
18365
+ };
18366
+
18367
+ // src/cvcs/caseShareState.v1.0.0.json
18368
+ var caseShareState_v1_0_0_default = {
18369
+ domain: "case_share_state",
18370
+ name: "Core Case Share State",
18371
+ version: "1.0.0",
18372
+ levels: { "1": "State" },
18373
+ entries: [
18374
+ {
18375
+ code: "925-001-000-000-000-000-000",
18376
+ key: "pending",
18377
+ title: "Pending",
18378
+ selectable: true,
18379
+ parentCode: null,
18380
+ childCodes: [],
18381
+ definition: "The share has been delivered to the receiving party and is awaiting a claim. No one on the receiving side has taken responsibility for it yet, and no client content has been disclosed."
18382
+ },
18383
+ {
18384
+ code: "925-002-000-000-000-000-000",
18385
+ key: "claimed",
18386
+ title: "Claimed",
18387
+ selectable: true,
18388
+ parentCode: null,
18389
+ childCodes: [],
18390
+ definition: "A team on the receiving side has taken custody of the share but has not yet accepted it. Claiming assigns responsibility only; it discloses no client content, so a claimed share is still outstanding work rather than a completed exchange."
18391
+ },
18392
+ {
18393
+ code: "925-003-000-000-000-000-000",
18394
+ key: "accepted_awaiting_review",
18395
+ title: "Accepted \u2014 awaiting review",
18396
+ selectable: true,
18397
+ parentCode: null,
18398
+ childCodes: [],
18399
+ definition: "The share has been accepted and its content disclosed, but one or more delivered persons matched an existing record ambiguously and are held for a human decision before the receiving record is linked."
18400
+ },
18401
+ {
18402
+ code: "925-004-000-000-000-000-000",
18403
+ key: "accepted",
18404
+ title: "Accepted",
18405
+ selectable: true,
18406
+ parentCode: null,
18407
+ childCodes: [],
18408
+ definition: "The share has been accepted, its content disclosed, and the link to the receiving party's record written. Terminal."
18409
+ },
18410
+ {
18411
+ code: "925-005-000-000-000-000-000",
18412
+ key: "declined",
18413
+ title: "Declined",
18414
+ selectable: true,
18415
+ parentCode: null,
18416
+ childCodes: [],
18417
+ definition: "The receiving party refused the share at the claim decision point, BEFORE its content was disclosed. Distinct from rejected: no client information was released, so the refusal carries no disclosure to account for. Terminal."
18418
+ },
18419
+ {
18420
+ code: "925-006-000-000-000-000-000",
18421
+ key: "rejected",
18422
+ title: "Rejected",
18423
+ selectable: true,
18424
+ parentCode: null,
18425
+ childCodes: [],
18426
+ definition: "The receiving party refused the share AFTER accepting it and reviewing its content. Distinct from declined: the disclosure already occurred and remains subject to the receiving party's retention and audit obligations. Terminal."
18427
+ }
18428
+ ]
18429
+ };
18430
+
18258
18431
  // src/cvcs/facilitatorEntityType.v1.0.0.json
18259
18432
  var facilitatorEntityType_v1_0_0_default = {
18260
18433
  domain: "facilitator_entity_type",
@@ -37387,8 +37560,8 @@ var coreIndicators_v1_0_0_default = {
37387
37560
  domain: "core_indicators",
37388
37561
  name: "Core Indicators (CVC-136)",
37389
37562
  version: "1.0.0",
37390
- _status: "CANONICAL \u2014 re-sourced 0.8.13 from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD a596eb9 (208 codes), plus 2 codes that @hti/scoring (`weights/risk.weights.json` @ 9b5d654, `emits_by_code`) emits but the codebook has not yet adopted (`coercive_debt_pressure_youth`, `debt_terms_deceptive_youth`) = 210 substantive codes. 0.8.12 shipped 199 hand-coded codes in `src/constants/ic.ts` (`CVC_136_CORE_INDICATOR_VALUES`); 54 of those were invented rollup prefixes (`vc_*`, `csi_*`, `csctx_*`, `dv_*`, `net_*`, `auto_*`) with zero occurrences upstream and zero consumers in @hti/scoring, and 1 (`unusual_work_circumstances_general`) was coined from a label's parenthetical; all 55 are WITHDRAWN. 66 canonical codes that were missing are ADDED. Math: 199 - 1 - 54 + 66 = 210. HARD INVARIANT (enforced by `src/__tests__/cvc-136-scoring-invariant.test.ts`): every one of the 169 codes in @hti/scoring's `emits_by_code` is present in this domain. Entry attributes `family` / `polarity` / `severity` / `isAlert` / `alertWhen` are carried verbatim from the canonical catalog. `isAlert` is the ALERT AXIS: the alert list is a DERIVED VIEW over this domain (isAlert in {thread_pave, platform, pave}), not a separate taxonomy.",
37391
- _source: "htilabstech/prototype@a596eb9 data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
37563
+ _status: "CANONICAL \u2014 re-sourced 0.11.1 from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD 84a1b677 (213 codes; +5 vs the 0.8.13 pin a596eb9, 0 withdrawn), plus 2 codes that @hti/scoring (`weights/risk.weights.json` @ 9b5d654, `emits_by_code`) emits but the codebook has not yet adopted (`coercive_debt_pressure_youth`, `debt_terms_deceptive_youth`), each flagged `pendingUpstreamAdoption: true`. 215 substantive + the missingness quadruplet = 219 entries. New codes are APPENDED at 211-215 so every previously issued positional code stays stable.",
37564
+ _source: "htilabstech/prototype@84a1b677 data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
37392
37565
  levels: {
37393
37566
  "0": "Unknown or Missing",
37394
37567
  "1": "Indicator"
@@ -40224,6 +40397,71 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
40224
40397
  polarity: "increases_risk",
40225
40398
  severity: "elevated",
40226
40399
  isAlert: "none"
40400
+ },
40401
+ {
40402
+ code: "136-211-000-000-000-000-000",
40403
+ key: "clients_unaware_of_third_party_coordination",
40404
+ title: "Clients unaware they are coordinating with a third party (concealed dispatch)",
40405
+ selectable: true,
40406
+ parentCode: null,
40407
+ childCodes: [],
40408
+ definition: `LEADS TRA-7-aware captured that sex buyers reaching out to "the person" are in fact coordinating with a third party (dispatcher / manager / call service) WITHOUT knowing it \u2014 a concealed-intermediary booking pattern. Concealment of the coordinating third party from buyers is a control + facilitation marker over and above third-party coordination itself (which TRA-7 sometimes/never + TRA-7-who already capture): the operation is actively passing as the provider. Authored 2026-07-17 (TRA-VETTING, Crysta: "let's author one") for the restored production follow-up question.`,
40409
+ family: "mechanism_control",
40410
+ polarity: "increases_risk",
40411
+ severity: "elevated",
40412
+ isAlert: "none"
40413
+ },
40414
+ {
40415
+ code: "136-212-000-000-000-000-000",
40416
+ key: "depends_on_spouse_or_family_for_immigration_status",
40417
+ title: "Depends on spouse / family member for immigration status (tied family visa)",
40418
+ selectable: true,
40419
+ parentCode: null,
40420
+ childCodes: [],
40421
+ definition: `Indication the person's legal ability to remain in the U.S. depends on a spouse, fianc\xE9(e), or family member (family/fianc\xE9-based immigrant visa or derivative status) while their current status is a valid or overstayed visa. The family twin of depends_on_employer_for_immigration_status: a visa tied to a potentially abusive relationship is a major dependence vulnerability and a coercion lever ("stay / comply or lose your status"). Authored 2026-07-17 (TRA-VETTING open-items round, Crysta: dependence "whether it is via your husband or your employer is a MAJOR vulnerability").`,
40422
+ family: "mechanism_control",
40423
+ polarity: "depends",
40424
+ severity: "elevated",
40425
+ isAlert: "none"
40426
+ },
40427
+ {
40428
+ code: "136-213-000-000-000-000-000",
40429
+ key: "sexualized_content_in_person_performance_activity",
40430
+ title: "In-person sexualized performance / appearance-based activity",
40431
+ selectable: true,
40432
+ parentCode: null,
40433
+ childCodes: [],
40434
+ definition: "Canonical activity evidence (DH \xA7 II Activity 2.2.3) that the person engages in in-person sexualized, erotic, appearance-based, or entertainment activity with sexualized expectations \u2014 stripping, dancing, posing, hostess or venue work, escort/companionship without an established sex act \u2014 sex-market-adjacent, recorded descriptively; not necessarily a sex act for value.",
40435
+ family: "cs_industry_context",
40436
+ polarity: "increases_risk",
40437
+ severity: "elevated",
40438
+ isAlert: "none"
40439
+ },
40440
+ {
40441
+ code: "136-214-000-000-000-000-000",
40442
+ key: "sexualized_content_online_performance_activity",
40443
+ title: "Online sexual performance / interactive sexual content activity",
40444
+ selectable: true,
40445
+ parentCode: null,
40446
+ childCodes: [],
40447
+ definition: "Canonical activity evidence (DH \xA7 II Activity 2.2.2) that the person engages in sexualized or sexually explicit activity performed, streamed, recorded, messaged, or displayed through online or digital platforms \u2014 webcamming, livestreams, paid chats, content-platform work \u2014 recorded descriptively whether or not a commercial sex act is established.",
40448
+ family: "cs_industry_context",
40449
+ polarity: "increases_risk",
40450
+ severity: "elevated",
40451
+ isAlert: "none"
40452
+ },
40453
+ {
40454
+ code: "136-215-000-000-000-000-000",
40455
+ key: "trauma_perpetrator_is_current_manager",
40456
+ title: "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
40457
+ selectable: true,
40458
+ parentCode: null,
40459
+ childCodes: [],
40460
+ definition: 'ENGINE-DERIVED conjunction: the same person the subject named as a trauma perpetrator (TRA-35 sexual violence / physical abuse / emotional-verbal-stalking capture) ALSO holds an operational-control edge over the subject (a TRA facilitation who-answer \u2014 posts ads / arranges dates / controls or keeps earnings / receives payments / organizes travel / holds documentation / above in the operation \u2014 or a relationship pair with a facilitator/offender role signal of their own). Two independently-captured facts joined on person identity \u2014 never an assumption (Crysta 2026-07-17: "these are two different questions"). The conjunction is the classic trauma-bonded, difficult-to-leave control situation.',
40461
+ family: "mechanism_control",
40462
+ polarity: "increases_risk",
40463
+ severity: "severe",
40464
+ isAlert: "none"
40227
40465
  }
40228
40466
  ]
40229
40467
  };
@@ -47913,6 +48151,441 @@ var suggestionSource_v1_0_0_default = {
47913
48151
  }
47914
48152
  ]
47915
48153
  };
48154
+
48155
+ // src/cvcs/assertionStatus.v1.0.0.json
48156
+ var assertionStatus_v1_0_0_default = {
48157
+ domain: "assertion_status",
48158
+ name: "Assertion Status",
48159
+ version: "1.0.0",
48160
+ _status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - status`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `ASSERTION_STATUSES` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive lifecycle states, so the missingness quadruplet is added per SOT convention.",
48161
+ _source: "pave-2.0/packages/domain/src/enums.ts ASSERTION_STATUSES",
48162
+ levels: {
48163
+ "0": "Unknown or Missing",
48164
+ "1": "Assertion lifecycle status"
48165
+ },
48166
+ entries: [
48167
+ {
48168
+ code: "985-000-000-000-000-000-000",
48169
+ key: "missingness_root",
48170
+ title: "Unknown, Redacted, or Missing",
48171
+ selectable: false,
48172
+ parentCode: null,
48173
+ childCodes: [
48174
+ "985-000-000-000-000-000-001",
48175
+ "985-000-000-000-000-000-002",
48176
+ "985-000-000-000-000-000-003"
48177
+ ],
48178
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
48179
+ },
48180
+ {
48181
+ code: "985-000-000-000-000-000-001",
48182
+ key: "unknown",
48183
+ title: "Unknown",
48184
+ selectable: true,
48185
+ parentCode: "985-000-000-000-000-000-000",
48186
+ childCodes: [],
48187
+ definition: "The assertion status is unknown at time of entry (missingness sentinel)."
48188
+ },
48189
+ {
48190
+ code: "985-000-000-000-000-000-002",
48191
+ key: "anonymous",
48192
+ title: "Anonymous / declined to answer",
48193
+ selectable: true,
48194
+ parentCode: "985-000-000-000-000-000-000",
48195
+ childCodes: [],
48196
+ definition: "Value is intentionally withheld, declined, or redacted."
48197
+ },
48198
+ {
48199
+ code: "985-000-000-000-000-000-003",
48200
+ key: "data_not_collected",
48201
+ title: "Data not collected",
48202
+ selectable: true,
48203
+ parentCode: "985-000-000-000-000-000-000",
48204
+ childCodes: [],
48205
+ definition: "No attempt was made to collect the value."
48206
+ },
48207
+ {
48208
+ code: "985-001-000-000-000-000-000",
48209
+ key: "active",
48210
+ title: "Active",
48211
+ selectable: true,
48212
+ parentCode: null,
48213
+ childCodes: [],
48214
+ definition: 'In force \u2014 the current, non-superseded row for its spine partition. Emitting systems typically default new assertions to this status (e.g. PAVE\'s assertion factory defaults `status: "active"`).'
48215
+ },
48216
+ {
48217
+ code: "985-002-000-000-000-000-000",
48218
+ key: "superseded",
48219
+ title: "Superseded",
48220
+ selectable: true,
48221
+ parentCode: null,
48222
+ childCodes: [],
48223
+ definition: 'Replaced by a later assertion row in the same spine partition. When status === "superseded", `supersedes_assertion_id` is required per GLOBAL_DESIGN_RULES \xA75.5.'
48224
+ },
48225
+ {
48226
+ code: "985-003-000-000-000-000-000",
48227
+ key: "retracted",
48228
+ title: "Retracted",
48229
+ selectable: true,
48230
+ parentCode: null,
48231
+ childCodes: [],
48232
+ definition: "Withdrawn or invalidated without a replacement row \u2014 the claim is no longer asserted. Distinct from superseded (which points at a successor)."
48233
+ }
48234
+ ]
48235
+ };
48236
+
48237
+ // src/cvcs/createdBySystem.v1.0.0.json
48238
+ var createdBySystem_v1_0_0_default = {
48239
+ domain: "created_by_system",
48240
+ name: "Created By System",
48241
+ version: "1.0.0",
48242
+ _status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - created_by_system`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `CREATED_BY_SYSTEMS` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive actor classes, so the missingness quadruplet is added per SOT convention.",
48243
+ _source: "pave-2.0/packages/domain/src/enums.ts CREATED_BY_SYSTEMS",
48244
+ levels: {
48245
+ "0": "Unknown or Missing",
48246
+ "1": "Creating actor class"
48247
+ },
48248
+ entries: [
48249
+ {
48250
+ code: "986-000-000-000-000-000-000",
48251
+ key: "missingness_root",
48252
+ title: "Unknown, Redacted, or Missing",
48253
+ selectable: false,
48254
+ parentCode: null,
48255
+ childCodes: [
48256
+ "986-000-000-000-000-000-001",
48257
+ "986-000-000-000-000-000-002",
48258
+ "986-000-000-000-000-000-003"
48259
+ ],
48260
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
48261
+ },
48262
+ {
48263
+ code: "986-000-000-000-000-000-001",
48264
+ key: "unknown",
48265
+ title: "Unknown",
48266
+ selectable: true,
48267
+ parentCode: "986-000-000-000-000-000-000",
48268
+ childCodes: [],
48269
+ definition: "The creating actor class is unknown at time of entry (missingness sentinel)."
48270
+ },
48271
+ {
48272
+ code: "986-000-000-000-000-000-002",
48273
+ key: "anonymous",
48274
+ title: "Anonymous / declined to answer",
48275
+ selectable: true,
48276
+ parentCode: "986-000-000-000-000-000-000",
48277
+ childCodes: [],
48278
+ definition: "Value is intentionally withheld, declined, or redacted."
48279
+ },
48280
+ {
48281
+ code: "986-000-000-000-000-000-003",
48282
+ key: "data_not_collected",
48283
+ title: "Data not collected",
48284
+ selectable: true,
48285
+ parentCode: "986-000-000-000-000-000-000",
48286
+ childCodes: [],
48287
+ definition: "No attempt was made to collect the value."
48288
+ },
48289
+ {
48290
+ code: "986-001-000-000-000-000-000",
48291
+ key: "human",
48292
+ title: "Human",
48293
+ selectable: true,
48294
+ parentCode: null,
48295
+ childCodes: [],
48296
+ definition: 'A person created the assertion row directly. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `createdBySystem: "human"`).'
48297
+ },
48298
+ {
48299
+ code: "986-002-000-000-000-000-000",
48300
+ key: "integration",
48301
+ title: "Integration",
48302
+ selectable: true,
48303
+ parentCode: null,
48304
+ childCodes: [],
48305
+ definition: "An external-system integration created the row (cross-app ingest, imports, connected systems). Pair with source/provenance fields for the originating system."
48306
+ },
48307
+ {
48308
+ code: "986-003-000-000-000-000-000",
48309
+ key: "rules_engine",
48310
+ title: "Rules engine",
48311
+ selectable: true,
48312
+ parentCode: null,
48313
+ childCodes: [],
48314
+ definition: "Deterministic business logic or a rules engine created the row. `inference_type` is required when created_by_system \u2208 {rules_engine, model} per GLOBAL_DESIGN_RULES \xA75.5."
48315
+ },
48316
+ {
48317
+ code: "986-004-000-000-000-000-000",
48318
+ key: "model",
48319
+ title: "Model",
48320
+ selectable: true,
48321
+ parentCode: null,
48322
+ childCodes: [],
48323
+ definition: "An ML model or statistical scoring process created the row. `inference_type` is required when created_by_system \u2208 {rules_engine, model} per GLOBAL_DESIGN_RULES \xA75.5."
48324
+ }
48325
+ ]
48326
+ };
48327
+
48328
+ // src/cvcs/subjectType.v1.0.0.json
48329
+ var subjectType_v1_0_0_default = {
48330
+ domain: "subject_type",
48331
+ name: "Subject Type",
48332
+ version: "1.0.0",
48333
+ _status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - subject_type`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `SUBJECT_TYPES` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive entity kinds, so the missingness quadruplet is added per SOT convention.",
48334
+ _source: "pave-2.0/packages/domain/src/enums.ts SUBJECT_TYPES",
48335
+ levels: {
48336
+ "0": "Unknown or Missing",
48337
+ "1": "Assertion subject type"
48338
+ },
48339
+ entries: [
48340
+ {
48341
+ code: "987-000-000-000-000-000-000",
48342
+ key: "missingness_root",
48343
+ title: "Unknown, Redacted, or Missing",
48344
+ selectable: false,
48345
+ parentCode: null,
48346
+ childCodes: [
48347
+ "987-000-000-000-000-000-001",
48348
+ "987-000-000-000-000-000-002",
48349
+ "987-000-000-000-000-000-003"
48350
+ ],
48351
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
48352
+ },
48353
+ {
48354
+ code: "987-000-000-000-000-000-001",
48355
+ key: "unknown",
48356
+ title: "Unknown",
48357
+ selectable: true,
48358
+ parentCode: "987-000-000-000-000-000-000",
48359
+ childCodes: [],
48360
+ definition: "The subject type is unknown at time of entry (missingness sentinel)."
48361
+ },
48362
+ {
48363
+ code: "987-000-000-000-000-000-002",
48364
+ key: "anonymous",
48365
+ title: "Anonymous / declined to answer",
48366
+ selectable: true,
48367
+ parentCode: "987-000-000-000-000-000-000",
48368
+ childCodes: [],
48369
+ definition: "Value is intentionally withheld, declined, or redacted."
48370
+ },
48371
+ {
48372
+ code: "987-000-000-000-000-000-003",
48373
+ key: "data_not_collected",
48374
+ title: "Data not collected",
48375
+ selectable: true,
48376
+ parentCode: "987-000-000-000-000-000-000",
48377
+ childCodes: [],
48378
+ definition: "No attempt was made to collect the value."
48379
+ },
48380
+ {
48381
+ code: "987-001-000-000-000-000-000",
48382
+ key: "person",
48383
+ title: "Person",
48384
+ selectable: true,
48385
+ parentCode: null,
48386
+ childCodes: [],
48387
+ definition: 'The assertion is about a person; `subject_id` resolves to a person record. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `subjectType: "person"`).'
48388
+ },
48389
+ {
48390
+ code: "987-002-000-000-000-000-000",
48391
+ key: "relationship",
48392
+ title: "Relationship",
48393
+ selectable: true,
48394
+ parentCode: null,
48395
+ childCodes: [],
48396
+ definition: "The assertion is about a relationship between people; `subject_id` resolves to a relationship record."
48397
+ },
48398
+ {
48399
+ code: "987-003-000-000-000-000-000",
48400
+ key: "case",
48401
+ title: "Case",
48402
+ selectable: true,
48403
+ parentCode: null,
48404
+ childCodes: [],
48405
+ definition: "The assertion is about a case; `subject_id` resolves to a case record."
48406
+ }
48407
+ ]
48408
+ };
48409
+
48410
+ // src/cvcs/minorAdultStatus.v1.0.0.json
48411
+ var minorAdultStatus_v1_0_0_default = {
48412
+ domain: "minor_adult_status",
48413
+ name: "Minor / Adult Status (age band at event)",
48414
+ version: "1.0.0",
48415
+ _status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - minor_adult_status`, and the canonical index DOES number this concept (Final CVCs/CVC_INDEX.md @ a596eb9: CVC-61 `minor_adult_status`) \u2014 but the CVC-61 Notion codebook has 0 entries anywhere, and ADR-CVC-0.8.13-canonical-alignment \xA7Deliberately-NOT-authored (NARRATIVE_ONLY) deliberately declined to author at 61 to avoid manufacturing canonical drift. This vocabulary therefore parks in the provisional 900-block; RENUMBER 988 \u2192 61 when the CVC-61 Notion codebook gains substantive entries (and reconcile membership at that point). Substantive values sourced verbatim from the PAVE @pave/domain `AGE_BANDS_AT_EVENT` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish): PAVE's `minor` / `adult` / `indeterminate` stay substantive; PAVE's fourth member `unknown` maps to the canonical missingness `unknown` sentinel (same realignment shape as the ROLE_CONTEXTS 0.7.0 bind), so every PAVE member remains expressible. Distinct from the numeric IC constant MINOR_ADULT_STATUS in constants/ic.ts (IC layer, 1/2/99) \u2014 that is a different encoding layer, not a parallel CVC.",
48416
+ _source: "pave-2.0/packages/domain/src/enums.ts AGE_BANDS_AT_EVENT",
48417
+ levels: {
48418
+ "0": "Unknown or Missing",
48419
+ "1": "Minor / adult status at event"
48420
+ },
48421
+ entries: [
48422
+ {
48423
+ code: "988-000-000-000-000-000-000",
48424
+ key: "missingness_root",
48425
+ title: "Unknown, Redacted, or Missing",
48426
+ selectable: false,
48427
+ parentCode: null,
48428
+ childCodes: [
48429
+ "988-000-000-000-000-000-001",
48430
+ "988-000-000-000-000-000-002",
48431
+ "988-000-000-000-000-000-003"
48432
+ ],
48433
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
48434
+ },
48435
+ {
48436
+ code: "988-000-000-000-000-000-001",
48437
+ key: "unknown",
48438
+ title: "Unknown",
48439
+ selectable: true,
48440
+ parentCode: "988-000-000-000-000-000-000",
48441
+ childCodes: [],
48442
+ definition: "The age band is unknown \u2014 not assessed or not recorded (missingness sentinel). Carries PAVE's `unknown` member of AGE_BANDS_AT_EVENT."
48443
+ },
48444
+ {
48445
+ code: "988-000-000-000-000-000-002",
48446
+ key: "anonymous",
48447
+ title: "Anonymous / declined to answer",
48448
+ selectable: true,
48449
+ parentCode: "988-000-000-000-000-000-000",
48450
+ childCodes: [],
48451
+ definition: "Value is intentionally withheld, declined, or redacted."
48452
+ },
48453
+ {
48454
+ code: "988-000-000-000-000-000-003",
48455
+ key: "data_not_collected",
48456
+ title: "Data not collected",
48457
+ selectable: true,
48458
+ parentCode: "988-000-000-000-000-000-000",
48459
+ childCodes: [],
48460
+ definition: "No attempt was made to collect the value."
48461
+ },
48462
+ {
48463
+ code: "988-001-000-000-000-000-000",
48464
+ key: "minor",
48465
+ title: "Minor (under 18)",
48466
+ selectable: true,
48467
+ parentCode: null,
48468
+ childCodes: [],
48469
+ definition: "The subject was under 18 when the asserted event occurred."
48470
+ },
48471
+ {
48472
+ code: "988-002-000-000-000-000-000",
48473
+ key: "adult",
48474
+ title: "Adult (18+)",
48475
+ selectable: true,
48476
+ parentCode: null,
48477
+ childCodes: [],
48478
+ definition: "The subject was 18 or older when the asserted event occurred."
48479
+ },
48480
+ {
48481
+ code: "988-003-000-000-000-000-000",
48482
+ key: "indeterminate",
48483
+ title: "Indeterminate",
48484
+ selectable: true,
48485
+ parentCode: null,
48486
+ childCodes: [],
48487
+ definition: "The age band cannot be determined from the available evidence \u2014 a positive determination of indeterminacy (e.g. conflicting or insufficient evidence), distinct from the `unknown` missingness sentinel (not assessed / not recorded)."
48488
+ }
48489
+ ]
48490
+ };
48491
+
48492
+ // src/cvcs/hmisSex.v1.0.0.json
48493
+ var hmisSex_v1_0_0_default = {
48494
+ domain: "hmis_sex",
48495
+ name: "Core HMIS Sex",
48496
+ version: "1.0.0",
48497
+ levels: {
48498
+ "0": "Unknown or Missing",
48499
+ "1": "Sex"
48500
+ },
48501
+ entries: [
48502
+ {
48503
+ code: "067-000-000-000-000-000-000",
48504
+ key: "missingness_root",
48505
+ title: "Unknown, Redacted, or Missing",
48506
+ selectable: false,
48507
+ parentCode: null,
48508
+ childCodes: [
48509
+ "067-000-000-000-000-000-001",
48510
+ "067-000-000-000-000-000-002",
48511
+ "067-000-000-000-000-000-003",
48512
+ "067-000-000-000-000-000-004",
48513
+ "067-000-000-000-000-000-005"
48514
+ ],
48515
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
48516
+ },
48517
+ {
48518
+ code: "067-000-000-000-000-000-001",
48519
+ key: "unknown",
48520
+ title: "Unknown",
48521
+ selectable: true,
48522
+ parentCode: "067-000-000-000-000-000-000",
48523
+ childCodes: [],
48524
+ definition: "Value is unknown at time of entry."
48525
+ },
48526
+ {
48527
+ code: "067-000-000-000-000-000-002",
48528
+ key: "anonymous",
48529
+ title: "Anonymous",
48530
+ selectable: true,
48531
+ parentCode: "067-000-000-000-000-000-000",
48532
+ childCodes: [],
48533
+ definition: "Value is intentionally withheld or redacted."
48534
+ },
48535
+ {
48536
+ code: "067-000-000-000-000-000-003",
48537
+ key: "data_not_collected",
48538
+ title: "Data not collected",
48539
+ selectable: true,
48540
+ parentCode: "067-000-000-000-000-000-000",
48541
+ childCodes: [],
48542
+ definition: "Use this response if the staff does not ask the person to provide their sex."
48543
+ },
48544
+ {
48545
+ code: "067-000-000-000-000-000-004",
48546
+ key: "client_doesn_t_know",
48547
+ title: "Client doesn't know",
48548
+ selectable: true,
48549
+ parentCode: "067-000-000-000-000-000-000",
48550
+ childCodes: [],
48551
+ definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
48552
+ },
48553
+ {
48554
+ code: "067-000-000-000-000-000-005",
48555
+ key: "client_prefers_not_to_answer",
48556
+ title: "Client prefers not to answer",
48557
+ selectable: true,
48558
+ parentCode: "067-000-000-000-000-000-000",
48559
+ childCodes: [],
48560
+ definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
48561
+ },
48562
+ {
48563
+ code: "067-001-000-000-000-000-000",
48564
+ key: "female",
48565
+ title: "Female",
48566
+ selectable: true,
48567
+ parentCode: null,
48568
+ childCodes: [],
48569
+ definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
48570
+ },
48571
+ {
48572
+ code: "067-002-000-000-000-000-000",
48573
+ key: "male",
48574
+ title: "Male",
48575
+ selectable: true,
48576
+ parentCode: null,
48577
+ childCodes: [],
48578
+ definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
48579
+ }
48580
+ ]
48581
+ };
48582
+
48583
+ // src/index.ts
48584
+ var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
48585
+ var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
48586
+ var CVC_197_VALUES = selectableCodes(
48587
+ juvenileJusticeEpisodeType_v1_0_0_default
48588
+ );
47916
48589
  export {
47917
48590
  ACCOMMODATION_LABELS,
47918
48591
  ACCOMMODATION_OPTIONS,
@@ -47932,6 +48605,7 @@ export {
47932
48605
  AnnouncementAudienceScopeKeys,
47933
48606
  AnnouncementResponseTypeKeys,
47934
48607
  AssertionDomainKeys,
48608
+ AssertionStatusKeys,
47935
48609
  BIRTH_LOCATION,
47936
48610
  BIRTH_LOCATION_LABELS,
47937
48611
  BIRTH_LOCATION_VALUES,
@@ -47969,6 +48643,7 @@ export {
47969
48643
  CVC_136_OPTIONS,
47970
48644
  CVC_136_TYPE_TO_CATEGORY,
47971
48645
  CVC_136_VALUES,
48646
+ CVC_137_VALUES,
47972
48647
  CVC_145_CATEGORY,
47973
48648
  CVC_145_CATEGORY_LABELS,
47974
48649
  CVC_145_CATEGORY_ORDER,
@@ -48046,6 +48721,7 @@ export {
48046
48721
  CVC_196_CHILD_WELFARE_EPISODE_TYPE,
48047
48722
  CVC_196_LABELS,
48048
48723
  CVC_196_VALUES,
48724
+ CVC_197_VALUES,
48049
48725
  CVC_1_LABELS,
48050
48726
  CVC_1_NAME_TYPE,
48051
48727
  CVC_1_STRUCTURED_NAME_TYPES,
@@ -48079,6 +48755,7 @@ export {
48079
48755
  CVC_99_ENGLISH_PROFICIENCY,
48080
48756
  CVC_99_LABELS,
48081
48757
  CVC_99_VALUES,
48758
+ CaseShareStateKeys,
48082
48759
  CheckInActivityKeys,
48083
48760
  CheckInPhaseKeys,
48084
48761
  ChildBehavioralConcernsKeys,
@@ -48093,6 +48770,8 @@ export {
48093
48770
  CoreFunctionsKeys,
48094
48771
  CoreIndicatorKeys,
48095
48772
  CoreReferralOutcomeKeys,
48773
+ CreatedBySystemKeys,
48774
+ CriminalOrgCategoryKeys,
48096
48775
  CvcCodeSchema,
48097
48776
  CvcEntrySchema,
48098
48777
  CvcEnvelopeSchema,
@@ -48232,6 +48911,7 @@ export {
48232
48911
  MilestoneTypeKeys,
48233
48912
  MilitaryBranchKeys,
48234
48913
  MilitaryStatusKeys,
48914
+ MinorAdultStatusKeys,
48235
48915
  NameTypeKeys,
48236
48916
  NeedsAssessmentChangeTypeKeys,
48237
48917
  NeedsResidentialAgainKeys,
@@ -48286,6 +48966,7 @@ export {
48286
48966
  RecencyBandKeys,
48287
48967
  ReferenceLinkTypeKeys,
48288
48968
  ReferralEntityCategoryKeys,
48969
+ ReferralOriginKeys,
48289
48970
  RelationshipConcernKeys,
48290
48971
  RelationshipDynamicsKeys,
48291
48972
  RelationshipStatusCurrentKeys,
@@ -48332,6 +49013,7 @@ export {
48332
49013
  SourceSubtypeKeys,
48333
49014
  SourceSystemKeys,
48334
49015
  SpecialNeedsDisabilitiesKeys,
49016
+ SubjectTypeKeys,
48335
49017
  SubstanceUseStatusKeys,
48336
49018
  SuggestionSourceKeys,
48337
49019
  SupportStrengthKeys,
@@ -48365,6 +49047,7 @@ export {
48365
49047
  announcementResponseType_v1_0_0_default as announcementResponseTypeSot,
48366
49048
  applyEntryOverrides,
48367
49049
  assertionDomain_v1_1_0_default as assertionDomainSot,
49050
+ assertionStatus_v1_0_0_default as assertionStatusSot,
48368
49051
  basisQuickPicks_v1_0_0_default as basisQuickPicksSot,
48369
49052
  buildCvcEntrySchema,
48370
49053
  buildCvcRegistrySchema,
@@ -48375,6 +49058,7 @@ export {
48375
49058
  buildScoringRuleSchema,
48376
49059
  buildSectionSchema,
48377
49060
  cascadeExclusions,
49061
+ caseShareState_v1_0_0_default as caseShareStateSot,
48378
49062
  checkInActivity_v1_0_0_default as checkInActivitySot,
48379
49063
  checkInPhase_v1_1_0_default as checkInPhaseSot,
48380
49064
  childBehavioralConcerns_v1_0_0_default as childBehavioralConcernsSot,
@@ -48394,6 +49078,7 @@ export {
48394
49078
  coreIndicators_v1_0_0_default as coreIndicatorsSot,
48395
49079
  coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
48396
49080
  createPlatformModels,
49081
+ createdBySystem_v1_0_0_default as createdBySystemSot,
48397
49082
  cvcEntryModel_exports as cvcEntryModel,
48398
49083
  cvcEntrySchemaDefinition,
48399
49084
  cvcEntrySchemaOptions,
@@ -48455,6 +49140,7 @@ export {
48455
49140
  hmisCurrentLivingSituation_v1_0_0_default as hmisCurrentLivingSituationSot,
48456
49141
  hmisProjectType_v1_0_0_default as hmisProjectTypeSot,
48457
49142
  hmisRelationshipToHoh_v1_0_0_default as hmisRelationshipToHohSot,
49143
+ hmisSex_v1_0_0_default as hmisSexSot,
48458
49144
  homelessStatus_v1_0_0_default as homelessStatusSot,
48459
49145
  hopeScaleCaptureContext_v1_0_0_default as hopeScaleCaptureContextSot,
48460
49146
  hopeScaleResponseOptions_v1_0_0_default as hopeScaleResponseOptionsSot,
@@ -48490,6 +49176,7 @@ export {
48490
49176
  milestoneType_v1_0_0_default as milestoneTypeSot,
48491
49177
  militaryBranch_v1_0_0_default as militaryBranchSot,
48492
49178
  militaryStatus_v1_0_0_default as militaryStatusSot,
49179
+ minorAdultStatus_v1_0_0_default as minorAdultStatusSot,
48493
49180
  nameType_v1_0_0_default as nameTypeSot,
48494
49181
  needsAssessmentChangeType_v1_0_0_default as needsAssessmentChangeTypeSot,
48495
49182
  needsResidentialAgain_v1_0_0_default as needsResidentialAgainSot,
@@ -48526,6 +49213,7 @@ export {
48526
49213
  recencyBand_v1_0_0_default as recencyBandSot,
48527
49214
  referenceLinkType_v1_0_0_default as referenceLinkTypeSot,
48528
49215
  referralEntityCategory_v1_0_0_default as referralEntityCategorySot,
49216
+ referralOrigin_v1_0_0_default as referralOriginSot,
48529
49217
  relationshipConcern_v1_0_0_default as relationshipConcernSot,
48530
49218
  relationshipDynamics_v1_0_0_default as relationshipDynamicsSot,
48531
49219
  relationshipStatusCurrent_v1_0_0_default as relationshipStatusCurrentSot,
@@ -48576,6 +49264,7 @@ export {
48576
49264
  sourceSubtype_v1_1_0_default as sourceSubtypeSot,
48577
49265
  sourceSystem_v1_0_0_default as sourceSystemSot,
48578
49266
  specialNeedsDisabilities_v1_0_0_default as specialNeedsDisabilitiesSot,
49267
+ subjectType_v1_0_0_default as subjectTypeSot,
48579
49268
  substanceUseStatus_v1_0_0_default as substanceUseStatusSot,
48580
49269
  suggestionSource_v1_0_0_default as suggestionSourceSot,
48581
49270
  supportStrength_v1_0_0_default as supportStrengthSot,