@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
@@ -11364,317 +11364,1260 @@ var frequencyCadence_v1_0_0_default = {
11364
11364
  ]
11365
11365
  };
11366
11366
 
11367
- // src/cvcs/recencyBand.v1.0.0.json
11368
- var recencyBand_v1_0_0_default = {
11369
- domain: "recency_band",
11370
- name: "Core Recency Band",
11367
+ // src/cvcs/inferenceType.v1.0.0.json
11368
+ var inferenceType_v1_0_0_default = {
11369
+ domain: "inference_type",
11370
+ name: "Core Inference Type",
11371
11371
  version: "1.0.0",
11372
11372
  levels: {
11373
11373
  "0": "Unknown or Missing",
11374
- "1": "Recency Band"
11374
+ "1": "Inference type"
11375
11375
  },
11376
11376
  entries: [
11377
11377
  {
11378
- code: "137-000-000-000-000-000-000",
11378
+ code: "142-000-000-000-000-000-000",
11379
11379
  key: "missingness_root",
11380
11380
  title: "Unknown, Redacted, or Missing",
11381
11381
  selectable: false,
11382
11382
  parentCode: null,
11383
11383
  childCodes: [
11384
- "137-000-000-000-000-000-001",
11385
- "137-000-000-000-000-000-002",
11386
- "137-000-000-000-000-000-003",
11387
- "137-000-000-000-000-000-004"
11384
+ "142-000-000-000-000-000-001",
11385
+ "142-000-000-000-000-000-002",
11386
+ "142-000-000-000-000-000-003"
11388
11387
  ],
11389
11388
  definition: "Root group for values indicating absent, withheld, or uncollected data."
11390
11389
  },
11391
11390
  {
11392
- code: "137-000-000-000-000-000-001",
11391
+ code: "142-000-000-000-000-000-001",
11393
11392
  key: "unknown",
11394
11393
  title: "Unknown",
11395
11394
  selectable: true,
11396
- parentCode: "137-000-000-000-000-000-000",
11395
+ parentCode: "142-000-000-000-000-000-000",
11397
11396
  childCodes: [],
11398
11397
  definition: "Value is unknown at time of entry."
11399
11398
  },
11400
11399
  {
11401
- code: "137-000-000-000-000-000-002",
11400
+ code: "142-000-000-000-000-000-002",
11402
11401
  key: "anonymous",
11403
11402
  title: "Anonymous",
11404
11403
  selectable: true,
11405
- parentCode: "137-000-000-000-000-000-000",
11404
+ parentCode: "142-000-000-000-000-000-000",
11406
11405
  childCodes: [],
11407
11406
  definition: "Value is intentionally withheld or redacted."
11408
11407
  },
11409
11408
  {
11410
- code: "137-000-000-000-000-000-003",
11409
+ code: "142-000-000-000-000-000-003",
11411
11410
  key: "data_not_collected",
11412
11411
  title: "Data not collected",
11413
11412
  selectable: true,
11414
- parentCode: "137-000-000-000-000-000-000",
11413
+ parentCode: "142-000-000-000-000-000-000",
11415
11414
  childCodes: [],
11416
11415
  definition: "No attempt was made to collect the value."
11417
11416
  },
11418
11417
  {
11419
- code: "137-000-000-000-000-000-004",
11420
- key: "prefer_not_to_answer",
11421
- title: "Client prefers not to answer",
11418
+ code: "142-001-000-000-000-000-000",
11419
+ key: "manual",
11420
+ title: "Manual",
11421
+ selectable: true,
11422
+ parentCode: null,
11423
+ childCodes: [],
11424
+ 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."
11425
+ },
11426
+ {
11427
+ code: "142-002-000-000-000-000-000",
11428
+ key: "rules",
11429
+ title: "Rules-derived",
11430
+ selectable: true,
11431
+ parentCode: null,
11432
+ childCodes: [],
11433
+ 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."
11434
+ },
11435
+ {
11436
+ code: "142-003-000-000-000-000-000",
11437
+ key: "model",
11438
+ title: "Model-derived",
11439
+ selectable: true,
11440
+ parentCode: null,
11441
+ childCodes: [],
11442
+ 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."
11443
+ }
11444
+ ]
11445
+ };
11446
+
11447
+ // src/cvcs/sourceCategory.v1.1.0.json
11448
+ var sourceCategory_v1_1_0_default = {
11449
+ domain: "source_category",
11450
+ name: "Core Source Category",
11451
+ version: "1.1.0",
11452
+ levels: {
11453
+ "0": "Unknown or Missing",
11454
+ "1": "Source category"
11455
+ },
11456
+ entries: [
11457
+ {
11458
+ code: "140-000-000-000-000-000-000",
11459
+ key: "missingness_root",
11460
+ title: "Unknown, Redacted, or Missing",
11461
+ selectable: false,
11462
+ parentCode: null,
11463
+ childCodes: [
11464
+ "140-000-000-000-000-000-001",
11465
+ "140-000-000-000-000-000-002",
11466
+ "140-000-000-000-000-000-003"
11467
+ ],
11468
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
11469
+ },
11470
+ {
11471
+ code: "140-000-000-000-000-000-001",
11472
+ key: "unknown",
11473
+ title: "Unknown",
11474
+ selectable: true,
11475
+ parentCode: "140-000-000-000-000-000-000",
11476
+ childCodes: [],
11477
+ definition: "Value is unknown at time of entry."
11478
+ },
11479
+ {
11480
+ code: "140-000-000-000-000-000-002",
11481
+ key: "anonymous",
11482
+ title: "Anonymous",
11483
+ selectable: true,
11484
+ parentCode: "140-000-000-000-000-000-000",
11485
+ childCodes: [],
11486
+ definition: "Value is intentionally withheld or redacted."
11487
+ },
11488
+ {
11489
+ code: "140-000-000-000-000-000-003",
11490
+ key: "data_not_collected",
11491
+ title: "Data not collected",
11492
+ selectable: true,
11493
+ parentCode: "140-000-000-000-000-000-000",
11494
+ childCodes: [],
11495
+ definition: "No attempt was made to collect the value."
11496
+ },
11497
+ {
11498
+ code: "140-001-000-000-000-000-000",
11499
+ key: "human",
11500
+ title: "Human",
11501
+ selectable: true,
11502
+ parentCode: null,
11503
+ childCodes: [],
11504
+ 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."
11505
+ },
11506
+ {
11507
+ code: "140-002-000-000-000-000-000",
11508
+ key: "institutional_record",
11509
+ title: "Institutional record",
11510
+ selectable: true,
11511
+ parentCode: null,
11512
+ childCodes: [],
11513
+ 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."
11514
+ },
11515
+ {
11516
+ code: "140-003-000-000-000-000-000",
11517
+ key: "legal_evidentiary",
11518
+ title: "Legal evidentiary",
11519
+ selectable: true,
11520
+ parentCode: null,
11521
+ childCodes: [],
11522
+ 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."
11523
+ },
11524
+ {
11525
+ code: "140-004-000-000-000-000-000",
11526
+ key: "machine",
11527
+ title: "Machine",
11528
+ selectable: true,
11529
+ parentCode: null,
11530
+ childCodes: [],
11531
+ 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."
11532
+ },
11533
+ {
11534
+ code: "140-005-000-000-000-000-000",
11535
+ key: "open_source",
11536
+ title: "Open source",
11537
+ selectable: true,
11538
+ parentCode: null,
11539
+ childCodes: [],
11540
+ 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."
11541
+ }
11542
+ ]
11543
+ };
11544
+
11545
+ // src/cvcs/sourceSubtype.v1.1.0.json
11546
+ var sourceSubtype_v1_1_0_default = {
11547
+ domain: "source_subtype",
11548
+ name: "Core Source Subtype",
11549
+ version: "1.1.0",
11550
+ levels: {
11551
+ "0": "Unknown or Missing",
11552
+ "1": "Source subtype"
11553
+ },
11554
+ entries: [
11555
+ {
11556
+ code: "141-000-000-000-000-000-000",
11557
+ key: "missingness_root",
11558
+ title: "Unknown, Redacted, or Missing",
11559
+ selectable: false,
11560
+ parentCode: null,
11561
+ childCodes: [
11562
+ "141-000-000-000-000-000-001",
11563
+ "141-000-000-000-000-000-002",
11564
+ "141-000-000-000-000-000-003"
11565
+ ],
11566
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
11567
+ },
11568
+ {
11569
+ code: "141-000-000-000-000-000-001",
11570
+ key: "unknown",
11571
+ title: "Unknown",
11572
+ selectable: true,
11573
+ parentCode: "141-000-000-000-000-000-000",
11574
+ childCodes: [],
11575
+ definition: "Value is unknown at time of entry."
11576
+ },
11577
+ {
11578
+ code: "141-000-000-000-000-000-002",
11579
+ key: "anonymous",
11580
+ title: "Anonymous",
11581
+ selectable: true,
11582
+ parentCode: "141-000-000-000-000-000-000",
11583
+ childCodes: [],
11584
+ definition: "Value is intentionally withheld or redacted."
11585
+ },
11586
+ {
11587
+ code: "141-000-000-000-000-000-003",
11588
+ key: "data_not_collected",
11589
+ title: "Data not collected",
11590
+ selectable: true,
11591
+ parentCode: "141-000-000-000-000-000-000",
11592
+ childCodes: [],
11593
+ definition: "No attempt was made to collect the value."
11594
+ },
11595
+ {
11596
+ code: "141-001-000-000-000-000-000",
11597
+ key: "ads_profile_website",
11598
+ title: "Ads / profile website",
11599
+ selectable: true,
11600
+ parentCode: null,
11601
+ childCodes: [],
11602
+ 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."
11603
+ },
11604
+ {
11605
+ code: "141-002-000-000-000-000-000",
11606
+ key: "aggregation_output",
11607
+ title: "Aggregation output",
11608
+ selectable: true,
11609
+ parentCode: null,
11610
+ childCodes: [],
11611
+ 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."
11612
+ },
11613
+ {
11614
+ code: "141-003-000-000-000-000-000",
11615
+ key: "benefits_record",
11616
+ title: "Benefits record",
11617
+ selectable: true,
11618
+ parentCode: null,
11619
+ childCodes: [],
11620
+ 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."
11621
+ },
11622
+ {
11623
+ code: "141-004-000-000-000-000-000",
11624
+ key: "charge_document",
11625
+ title: "Charge document",
11626
+ selectable: true,
11627
+ parentCode: null,
11628
+ childCodes: [],
11629
+ definition: "Charging document, complaint, indictment, or citation. Source category: legal_evidentiary."
11630
+ },
11631
+ {
11632
+ code: "141-005-000-000-000-000-000",
11633
+ key: "child_welfare_record",
11634
+ title: "Child welfare record",
11635
+ selectable: true,
11636
+ parentCode: null,
11637
+ childCodes: [],
11638
+ 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."
11639
+ },
11640
+ {
11641
+ code: "141-006-000-000-000-000-000",
11642
+ key: "conviction_record",
11643
+ title: "Conviction record",
11644
+ selectable: true,
11645
+ parentCode: null,
11646
+ childCodes: [],
11647
+ definition: "Conviction disposition, judgment, or sentencing record. Source category: legal_evidentiary."
11648
+ },
11649
+ {
11650
+ code: "141-007-000-000-000-000-000",
11651
+ key: "corrections_record",
11652
+ title: "Corrections record",
11653
+ selectable: true,
11654
+ parentCode: null,
11655
+ childCodes: [],
11656
+ 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."
11657
+ },
11658
+ {
11659
+ code: "141-008-000-000-000-000-000",
11660
+ key: "court_record",
11661
+ title: "Court record",
11662
+ selectable: true,
11663
+ parentCode: null,
11664
+ childCodes: [],
11665
+ definition: "Court filing, docket entry, order, transcript, or other court-originating record. Source category: legal_evidentiary."
11666
+ },
11667
+ {
11668
+ code: "141-009-000-000-000-000-000",
11669
+ key: "employment_hr_record",
11670
+ title: "Employment / HR record",
11671
+ selectable: true,
11672
+ parentCode: null,
11673
+ childCodes: [],
11674
+ 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."
11675
+ },
11676
+ {
11677
+ code: "141-010-000-000-000-000-000",
11678
+ key: "forensic_medical_exam",
11679
+ title: "Forensic medical exam",
11680
+ selectable: true,
11681
+ parentCode: null,
11682
+ childCodes: [],
11683
+ definition: "Information grounded in forensic medical exam documentation (e.g., SANE exam) maintained as an institutional / clinical record. Source category: institutional_record."
11684
+ },
11685
+ {
11686
+ code: "141-011-000-000-000-000-000",
11687
+ key: "immigration_record",
11688
+ title: "Immigration record",
11689
+ selectable: true,
11690
+ parentCode: null,
11691
+ childCodes: [],
11692
+ definition: "Information grounded in official immigration documentation or records maintained by an institution / agency. Source category: institutional_record."
11693
+ },
11694
+ {
11695
+ code: "141-012-000-000-000-000-000",
11696
+ key: "law_enforcement_assessment",
11697
+ title: "Law enforcement assessment",
11698
+ selectable: true,
11699
+ parentCode: null,
11700
+ childCodes: [],
11701
+ 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."
11702
+ },
11703
+ {
11704
+ code: "141-013-000-000-000-000-000",
11705
+ key: "medical_record",
11706
+ title: "Medical record",
11707
+ selectable: true,
11708
+ parentCode: null,
11709
+ childCodes: [],
11710
+ 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."
11711
+ },
11712
+ {
11713
+ code: "141-014-000-000-000-000-000",
11714
+ key: "model_output",
11715
+ title: "Model output / score",
11716
+ selectable: true,
11717
+ parentCode: null,
11718
+ childCodes: [],
11719
+ 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."
11720
+ },
11721
+ {
11722
+ code: "141-015-000-000-000-000-000",
11723
+ key: "news_media",
11724
+ title: "News / media reporting",
11725
+ selectable: true,
11726
+ parentCode: null,
11727
+ childCodes: [],
11728
+ 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."
11729
+ },
11730
+ {
11731
+ code: "141-016-000-000-000-000-000",
11732
+ key: "official_id_document",
11733
+ title: "Official ID document",
11734
+ selectable: true,
11735
+ parentCode: null,
11736
+ childCodes: [],
11737
+ definition: "Government-issued identity document when used as the evidentiary basis for a fact. Source category: legal_evidentiary."
11738
+ },
11739
+ {
11740
+ code: "141-017-000-000-000-000-000",
11741
+ key: "parser_extraction",
11742
+ title: "Parser extraction (OCR / NLP)",
11743
+ selectable: true,
11744
+ parentCode: null,
11745
+ childCodes: [],
11746
+ 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."
11747
+ },
11748
+ {
11749
+ code: "141-018-000-000-000-000-000",
11750
+ key: "partner_agency_case_note",
11751
+ title: "Partner agency case note",
11752
+ selectable: true,
11753
+ parentCode: null,
11754
+ childCodes: [],
11755
+ 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."
11756
+ },
11757
+ {
11758
+ code: "141-019-000-000-000-000-000",
11759
+ key: "public_registry",
11760
+ title: "Public registry / public database lookup",
11761
+ selectable: true,
11762
+ parentCode: null,
11763
+ childCodes: [],
11764
+ 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."
11765
+ },
11766
+ {
11767
+ code: "141-020-000-000-000-000-000",
11768
+ key: "reviews_forums_comments",
11769
+ title: "Reviews / forums / comments",
11770
+ selectable: true,
11771
+ parentCode: null,
11772
+ childCodes: [],
11773
+ 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."
11774
+ },
11775
+ {
11776
+ code: "141-021-000-000-000-000-000",
11777
+ key: "rules_engine",
11778
+ title: "Rules engine derived",
11779
+ selectable: true,
11780
+ parentCode: null,
11781
+ childCodes: [],
11782
+ definition: "Derived by deterministic rules or business logic. Source category: machine. Store rule set / version via mapping version fields when possible."
11783
+ },
11784
+ {
11785
+ code: "141-022-000-000-000-000-000",
11786
+ key: "school_record",
11787
+ title: "School record",
11788
+ selectable: true,
11789
+ parentCode: null,
11790
+ childCodes: [],
11791
+ definition: "Information grounded in official school documentation (enrollment / attendance / disciplinary / counseling records) maintained by an educational institution. Source category: institutional_record."
11792
+ },
11793
+ {
11794
+ code: "141-023-000-000-000-000-000",
11795
+ key: "search_warrant_return",
11796
+ title: "Search warrant return",
11797
+ selectable: true,
11798
+ parentCode: null,
11799
+ childCodes: [],
11800
+ definition: "Search warrant materials, returns, or inventories. Source category: legal_evidentiary."
11801
+ },
11802
+ {
11803
+ code: "141-024-000-000-000-000-000",
11804
+ key: "service_provider_assessment",
11805
+ title: "Service provider assessment",
11806
+ selectable: true,
11807
+ parentCode: null,
11808
+ childCodes: [],
11809
+ definition: "Assessment or professional judgment by a service provider. Source category: human. Capture instrument / version where applicable."
11810
+ },
11811
+ {
11812
+ code: "141-025-000-000-000-000-000",
11813
+ key: "service_provider_case_note",
11814
+ title: "Service provider case note",
11815
+ selectable: true,
11816
+ parentCode: null,
11817
+ childCodes: [],
11818
+ 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."
11819
+ },
11820
+ {
11821
+ code: "141-026-000-000-000-000-000",
11822
+ key: "shelter_program_record",
11823
+ title: "Shelter / program record",
11824
+ selectable: true,
11825
+ parentCode: null,
11826
+ childCodes: [],
11827
+ 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."
11828
+ },
11829
+ {
11830
+ code: "141-027-000-000-000-000-000",
11831
+ key: "social_media",
11832
+ title: "Social media (public)",
11833
+ selectable: true,
11834
+ parentCode: null,
11835
+ childCodes: [],
11836
+ definition: "Public social media content used as the origin of the information. Source category: open_source. Store artifact references where possible."
11837
+ },
11838
+ {
11839
+ code: "141-028-000-000-000-000-000",
11840
+ key: "staff_observation",
11841
+ title: "Staff observation",
11842
+ selectable: true,
11843
+ parentCode: null,
11844
+ childCodes: [],
11845
+ 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."
11846
+ },
11847
+ {
11848
+ code: "141-029-000-000-000-000-000",
11849
+ key: "system_import",
11850
+ title: "System import / migration",
11851
+ selectable: true,
11852
+ parentCode: null,
11853
+ childCodes: [],
11854
+ definition: "Imported from an upstream system, bulk migration, or automated sync. Source category: machine. Pair with source_system and mapping version where applicable."
11855
+ },
11856
+ {
11857
+ code: "141-030-000-000-000-000-000",
11858
+ key: "third_party_report",
11859
+ title: "Third-party report",
11860
+ selectable: true,
11861
+ parentCode: null,
11862
+ childCodes: [],
11863
+ 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."
11864
+ },
11865
+ {
11866
+ code: "141-031-000-000-000-000-000",
11867
+ key: "victim_disclosure",
11868
+ title: "Victim disclosure",
11869
+ selectable: true,
11870
+ parentCode: null,
11871
+ childCodes: [],
11872
+ definition: "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
11873
+ }
11874
+ ]
11875
+ };
11876
+
11877
+ // src/cvcs/supportStrength.v1.0.0.json
11878
+ var supportStrength_v1_0_0_default = {
11879
+ domain: "support_strength",
11880
+ name: "Core Support Strength",
11881
+ version: "1.0.0",
11882
+ levels: {
11883
+ "0": "Unknown or Missing",
11884
+ "1": "Support strength"
11885
+ },
11886
+ entries: [
11887
+ {
11888
+ code: "139-000-000-000-000-000-000",
11889
+ key: "missingness_root",
11890
+ title: "Unknown, Redacted, or Missing",
11891
+ selectable: false,
11892
+ parentCode: null,
11893
+ childCodes: [
11894
+ "139-000-000-000-000-000-001",
11895
+ "139-000-000-000-000-000-002",
11896
+ "139-000-000-000-000-000-003"
11897
+ ],
11898
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
11899
+ },
11900
+ {
11901
+ code: "139-000-000-000-000-000-001",
11902
+ key: "unknown",
11903
+ title: "Unknown",
11904
+ selectable: true,
11905
+ parentCode: "139-000-000-000-000-000-000",
11906
+ childCodes: [],
11907
+ definition: "Value is unknown at time of entry."
11908
+ },
11909
+ {
11910
+ code: "139-000-000-000-000-000-002",
11911
+ key: "anonymous",
11912
+ title: "Anonymous",
11913
+ selectable: true,
11914
+ parentCode: "139-000-000-000-000-000-000",
11915
+ childCodes: [],
11916
+ definition: "Value is intentionally withheld or redacted."
11917
+ },
11918
+ {
11919
+ code: "139-000-000-000-000-000-003",
11920
+ key: "data_not_collected",
11921
+ title: "Data not collected",
11922
+ selectable: true,
11923
+ parentCode: "139-000-000-000-000-000-000",
11924
+ childCodes: [],
11925
+ definition: "No attempt was made to collect the value."
11926
+ },
11927
+ {
11928
+ code: "139-001-000-000-000-000-000",
11929
+ key: "adjudicated",
11930
+ title: "Adjudicated / disposition-supported",
11931
+ selectable: true,
11932
+ parentCode: null,
11933
+ childCodes: [],
11934
+ 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."
11935
+ },
11936
+ {
11937
+ code: "139-002-000-000-000-000-000",
11938
+ key: "allegation",
11939
+ title: "Allegation (uncorroborated)",
11940
+ selectable: true,
11941
+ parentCode: null,
11942
+ childCodes: [],
11943
+ 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."
11944
+ },
11945
+ {
11946
+ code: "139-003-000-000-000-000-000",
11947
+ key: "corroborated",
11948
+ title: "Corroborated (single source)",
11949
+ selectable: true,
11950
+ parentCode: null,
11951
+ childCodes: [],
11952
+ 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."
11953
+ },
11954
+ {
11955
+ code: "139-004-000-000-000-000-000",
11956
+ key: "minimally_supported",
11957
+ title: "Minimally / weakly supported",
11958
+ selectable: true,
11959
+ parentCode: null,
11960
+ childCodes: [],
11961
+ 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."
11962
+ },
11963
+ {
11964
+ code: "139-005-000-000-000-000-000",
11965
+ key: "multi_source_corroborated",
11966
+ title: "Multi-source corroborated",
11967
+ selectable: true,
11968
+ parentCode: null,
11969
+ childCodes: [],
11970
+ 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."
11971
+ },
11972
+ {
11973
+ code: "139-006-000-000-000-000-000",
11974
+ key: "official_record_supported",
11975
+ title: "Official-record supported",
11976
+ selectable: true,
11977
+ parentCode: null,
11978
+ childCodes: [],
11979
+ 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."
11980
+ },
11981
+ {
11982
+ code: "139-007-000-000-000-000-000",
11983
+ key: "strongly_supported",
11984
+ title: "Strongly supported (per policy)",
11985
+ selectable: true,
11986
+ parentCode: null,
11987
+ childCodes: [],
11988
+ 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."
11989
+ }
11990
+ ]
11991
+ };
11992
+
11993
+ // src/cvcs/determinationLevel.v1.0.0.json
11994
+ var determinationLevel_v1_0_0_default = {
11995
+ domain: "determination_level",
11996
+ name: "Core Determination Level",
11997
+ version: "1.0.0",
11998
+ levels: {
11999
+ "0": "Unknown or Missing",
12000
+ "1": "Determination level"
12001
+ },
12002
+ entries: [
12003
+ {
12004
+ code: "138-000-000-000-000-000-000",
12005
+ key: "missingness_root",
12006
+ title: "Unknown, Redacted, or Missing",
12007
+ selectable: false,
12008
+ parentCode: null,
12009
+ childCodes: [
12010
+ "138-000-000-000-000-000-001",
12011
+ "138-000-000-000-000-000-002",
12012
+ "138-000-000-000-000-000-003"
12013
+ ],
12014
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
12015
+ },
12016
+ {
12017
+ code: "138-000-000-000-000-000-001",
12018
+ key: "unknown",
12019
+ title: "Unknown",
11422
12020
  selectable: true,
11423
- parentCode: "137-000-000-000-000-000-000",
12021
+ parentCode: "138-000-000-000-000-000-000",
11424
12022
  childCodes: [],
11425
- definition: "Client was offered the opportunity to self-identify and explicitly declined to provide the value."
12023
+ definition: "Value is unknown at time of entry."
12024
+ },
12025
+ {
12026
+ code: "138-000-000-000-000-000-002",
12027
+ key: "anonymous",
12028
+ title: "Anonymous",
12029
+ selectable: true,
12030
+ parentCode: "138-000-000-000-000-000-000",
12031
+ childCodes: [],
12032
+ definition: "Value is intentionally withheld or redacted."
12033
+ },
12034
+ {
12035
+ code: "138-000-000-000-000-000-003",
12036
+ key: "data_not_collected",
12037
+ title: "Data not collected",
12038
+ selectable: true,
12039
+ parentCode: "138-000-000-000-000-000-000",
12040
+ childCodes: [],
12041
+ definition: "No attempt was made to collect the value."
12042
+ },
12043
+ {
12044
+ code: "138-001-000-000-000-000-000",
12045
+ key: "disclosed",
12046
+ title: "Disclosed (subject)",
12047
+ selectable: true,
12048
+ parentCode: null,
12049
+ childCodes: [],
12050
+ 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."
12051
+ },
12052
+ {
12053
+ code: "138-002-000-000-000-000-000",
12054
+ key: "estimated",
12055
+ title: "Estimated (system-derived)",
12056
+ selectable: true,
12057
+ parentCode: null,
12058
+ childCodes: [],
12059
+ 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."
12060
+ },
12061
+ {
12062
+ code: "138-003-000-000-000-000-000",
12063
+ key: "reported",
12064
+ title: "Reported (third-party)",
12065
+ selectable: true,
12066
+ parentCode: null,
12067
+ childCodes: [],
12068
+ 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."
11426
12069
  },
11427
12070
  {
11428
- code: "137-001-000-000-000-000-000",
11429
- key: "less_than_3_years",
11430
- title: "Less than 3 years ago",
12071
+ code: "138-004-000-000-000-000-000",
12072
+ key: "suspected",
12073
+ title: "Suspected (working theory)",
11431
12074
  selectable: true,
11432
12075
  parentCode: null,
11433
12076
  childCodes: [],
11434
- definition: "The asserted event occurred less than 3 years ago."
12077
+ 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."
11435
12078
  },
11436
12079
  {
11437
- code: "137-002-000-000-000-000-000",
11438
- key: "months_3_to_6",
11439
- title: "3-6 months ago",
12080
+ code: "138-005-000-000-000-000-000",
12081
+ key: "verified",
12082
+ title: "Verified (operational)",
11440
12083
  selectable: true,
11441
12084
  parentCode: null,
11442
12085
  childCodes: [],
11443
- definition: "The asserted event occurred between 3 and 6 months ago."
12086
+ 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."
12087
+ }
12088
+ ]
12089
+ };
12090
+
12091
+ // src/cvcs/roleContext.v1.0.0.json
12092
+ var roleContext_v1_0_0_default = {
12093
+ domain: "role_context",
12094
+ name: "Core Role Context",
12095
+ version: "1.0.0",
12096
+ levels: {
12097
+ "0": "Unknown or Missing",
12098
+ "1": "Role context"
12099
+ },
12100
+ entries: [
12101
+ {
12102
+ code: "160-000-000-000-000-000-000",
12103
+ key: "missingness_root",
12104
+ title: "Unknown, Redacted, or Missing",
12105
+ selectable: false,
12106
+ parentCode: null,
12107
+ childCodes: [
12108
+ "160-000-000-000-000-000-001",
12109
+ "160-000-000-000-000-000-002",
12110
+ "160-000-000-000-000-000-003"
12111
+ ],
12112
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
12113
+ },
12114
+ {
12115
+ code: "160-000-000-000-000-000-001",
12116
+ key: "unknown",
12117
+ title: "Unknown",
12118
+ selectable: true,
12119
+ parentCode: "160-000-000-000-000-000-000",
12120
+ childCodes: [],
12121
+ 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."
12122
+ },
12123
+ {
12124
+ code: "160-000-000-000-000-000-002",
12125
+ key: "anonymous",
12126
+ title: "Anonymous",
12127
+ selectable: true,
12128
+ parentCode: "160-000-000-000-000-000-000",
12129
+ childCodes: [],
12130
+ definition: "Information is intentionally withheld or redacted. Use only when role context is intentionally withheld (not as a default)."
12131
+ },
12132
+ {
12133
+ code: "160-000-000-000-000-000-003",
12134
+ key: "data_not_collected",
12135
+ title: "Data not collected",
12136
+ selectable: true,
12137
+ parentCode: "160-000-000-000-000-000-000",
12138
+ childCodes: [],
12139
+ definition: "No attempt was made to collect the value. Use when role context was not asked or not captured by the source workflow."
11444
12140
  },
11445
12141
  {
11446
- code: "137-003-000-000-000-000-000",
11447
- key: "months_6_to_12",
11448
- title: "6-12 months ago",
12142
+ code: "160-001-000-000-000-000-000",
12143
+ key: "both",
12144
+ title: "Both",
11449
12145
  selectable: true,
11450
12146
  parentCode: null,
11451
12147
  childCodes: [],
11452
- definition: "The asserted event occurred between 6 and 12 months ago."
12148
+ 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."
11453
12149
  },
11454
12150
  {
11455
- code: "137-004-000-000-000-000-000",
11456
- key: "one_year_or_more",
11457
- title: "One year or more",
12151
+ code: "160-002-000-000-000-000-000",
12152
+ key: "offender",
12153
+ title: "Offender",
11458
12154
  selectable: true,
11459
12155
  parentCode: null,
11460
12156
  childCodes: [],
11461
- definition: "The asserted event occurred one year or more ago (without further granularity)."
12157
+ 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."
11462
12158
  },
11463
12159
  {
11464
- code: "137-005-000-000-000-000-000",
11465
- key: "ten_plus_years",
11466
- title: "10+ years ago",
12160
+ code: "160-003-000-000-000-000-000",
12161
+ key: "victim",
12162
+ title: "Victim",
11467
12163
  selectable: true,
11468
12164
  parentCode: null,
11469
12165
  childCodes: [],
11470
- definition: "The asserted event occurred 10 or more years ago."
12166
+ 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)."
12167
+ }
12168
+ ]
12169
+ };
12170
+
12171
+ // src/cvcs/timeScope.v1.0.0.json
12172
+ var timeScope_v1_0_0_default = {
12173
+ domain: "time_scope",
12174
+ name: "Core Time Scope",
12175
+ version: "1.0.0",
12176
+ levels: {
12177
+ "0": "Unknown or Missing",
12178
+ "1": "Time scope"
12179
+ },
12180
+ entries: [
12181
+ {
12182
+ code: "174-000-000-000-000-000-000",
12183
+ key: "missingness_root",
12184
+ title: "Unknown, Redacted, or Missing",
12185
+ selectable: false,
12186
+ parentCode: null,
12187
+ childCodes: [
12188
+ "174-000-000-000-000-000-001",
12189
+ "174-000-000-000-000-000-002",
12190
+ "174-000-000-000-000-000-003"
12191
+ ],
12192
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
12193
+ },
12194
+ {
12195
+ code: "174-000-000-000-000-000-001",
12196
+ key: "unknown",
12197
+ title: "Unknown",
12198
+ selectable: true,
12199
+ parentCode: "174-000-000-000-000-000-000",
12200
+ childCodes: [],
12201
+ 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)."
12202
+ },
12203
+ {
12204
+ code: "174-000-000-000-000-000-002",
12205
+ key: "anonymous",
12206
+ title: "Anonymous",
12207
+ selectable: true,
12208
+ parentCode: "174-000-000-000-000-000-000",
12209
+ childCodes: [],
12210
+ definition: "Value is intentionally withheld or redacted."
12211
+ },
12212
+ {
12213
+ code: "174-000-000-000-000-000-003",
12214
+ key: "data_not_collected",
12215
+ title: "Data not collected",
12216
+ selectable: true,
12217
+ parentCode: "174-000-000-000-000-000-000",
12218
+ childCodes: [],
12219
+ definition: "No attempt was made to collect the value."
11471
12220
  },
11472
12221
  {
11473
- code: "137-006-000-000-000-000-000",
11474
- key: "within_3_months",
11475
- title: "Within past 3 months",
12222
+ code: "174-001-000-000-000-000-000",
12223
+ key: "current",
12224
+ title: "Current",
11476
12225
  selectable: true,
11477
12226
  parentCode: null,
11478
12227
  childCodes: [],
11479
- definition: "The asserted event occurred within the past 3 months."
12228
+ 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."
11480
12229
  },
11481
12230
  {
11482
- code: "137-007-000-000-000-000-000",
11483
- key: "years_3_to_10",
11484
- title: "3-10 years ago",
12231
+ code: "174-002-000-000-000-000-000",
12232
+ key: "prior",
12233
+ title: "Prior",
11485
12234
  selectable: true,
11486
12235
  parentCode: null,
11487
12236
  childCodes: [],
11488
- definition: "The asserted event occurred between 3 and 10 years ago."
12237
+ 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."
11489
12238
  }
11490
12239
  ]
11491
12240
  };
11492
12241
 
11493
- // src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json
11494
- var juvenileJusticeEpisodeType_v1_0_0_default = {
11495
- domain: "juvenile_justice_episode_type",
11496
- name: "Core Juvenile Justice Episode Type",
12242
+ // src/cvcs/verificationMethod.v1.0.0.json
12243
+ var verificationMethod_v1_0_0_default = {
12244
+ domain: "verification_method",
12245
+ name: "Core Verification Method",
11497
12246
  version: "1.0.0",
11498
12247
  levels: {
11499
12248
  "0": "Unknown or Missing",
11500
- "1": "Episode Type"
12249
+ "1": "Verification method"
11501
12250
  },
11502
12251
  entries: [
11503
12252
  {
11504
- code: "197-000-000-000-000-000-000",
12253
+ code: "143-000-000-000-000-000-000",
11505
12254
  key: "missingness_root",
11506
12255
  title: "Unknown, Redacted, or Missing",
11507
12256
  selectable: false,
11508
12257
  parentCode: null,
11509
12258
  childCodes: [
11510
- "197-000-000-000-000-000-001",
11511
- "197-000-000-000-000-000-002",
11512
- "197-000-000-000-000-000-003"
12259
+ "143-000-000-000-000-000-001",
12260
+ "143-000-000-000-000-000-002",
12261
+ "143-000-000-000-000-000-003"
11513
12262
  ],
11514
12263
  definition: "Root group for values indicating absent, withheld, or uncollected data."
11515
12264
  },
11516
12265
  {
11517
- code: "197-000-000-000-000-000-001",
12266
+ code: "143-000-000-000-000-000-001",
11518
12267
  key: "unknown",
11519
12268
  title: "Unknown",
11520
12269
  selectable: true,
11521
- parentCode: "197-000-000-000-000-000-000",
12270
+ parentCode: "143-000-000-000-000-000-000",
11522
12271
  childCodes: [],
11523
12272
  definition: "Value is unknown at time of entry."
11524
12273
  },
11525
12274
  {
11526
- code: "197-000-000-000-000-000-002",
12275
+ code: "143-000-000-000-000-000-002",
11527
12276
  key: "anonymous",
11528
12277
  title: "Anonymous",
11529
12278
  selectable: true,
11530
- parentCode: "197-000-000-000-000-000-000",
12279
+ parentCode: "143-000-000-000-000-000-000",
11531
12280
  childCodes: [],
11532
12281
  definition: "Value is intentionally withheld or redacted."
11533
12282
  },
11534
12283
  {
11535
- code: "197-000-000-000-000-000-003",
12284
+ code: "143-000-000-000-000-000-003",
11536
12285
  key: "data_not_collected",
11537
12286
  title: "Data not collected",
11538
12287
  selectable: true,
11539
- parentCode: "197-000-000-000-000-000-000",
12288
+ parentCode: "143-000-000-000-000-000-000",
11540
12289
  childCodes: [],
11541
12290
  definition: "No attempt was made to collect the value."
11542
12291
  },
11543
12292
  {
11544
- code: "197-001-000-000-000-000-000",
11545
- key: "detention_stay",
11546
- title: "Detention stay",
12293
+ code: "143-001-000-000-000-000-000",
12294
+ key: "court_record_confirmed",
12295
+ title: "Court record confirmed",
11547
12296
  selectable: true,
11548
12297
  parentCode: null,
11549
12298
  childCodes: [],
11550
- definition: "A period of confinement in a juvenile detention facility."
12299
+ 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."
11551
12300
  },
11552
12301
  {
11553
- code: "197-002-000-000-000-000-000",
11554
- key: "diversion_program",
11555
- title: "Diversion program",
12302
+ code: "143-002-000-000-000-000-000",
12303
+ key: "evidence_threshold_met",
12304
+ title: "Evidence threshold met",
11556
12305
  selectable: true,
11557
12306
  parentCode: null,
11558
12307
  childCodes: [],
11559
- definition: "Participation in a program that diverts a youth away from formal juvenile court processing."
12308
+ 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."
11560
12309
  },
11561
12310
  {
11562
- code: "197-003-000-000-000-000-000",
11563
- key: "pending_adjudication",
11564
- title: "Pending charges / adjudication process",
12311
+ code: "143-003-000-000-000-000-000",
12312
+ key: "multi_source_corroboration",
12313
+ title: "Multi-source corroboration",
11565
12314
  selectable: true,
11566
12315
  parentCode: null,
11567
12316
  childCodes: [],
11568
- definition: "An open juvenile case awaiting adjudication."
12317
+ 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."
11569
12318
  },
11570
12319
  {
11571
- code: "197-004-000-000-000-000-000",
11572
- key: "probation_supervision",
11573
- title: "Probation / community supervision (juvenile)",
12320
+ code: "143-004-000-000-000-000-000",
12321
+ key: "qa_audit_passed",
12322
+ title: "QA audit passed",
11574
12323
  selectable: true,
11575
12324
  parentCode: null,
11576
12325
  childCodes: [],
11577
- definition: "Court-ordered supervision of a youth in the community rather than in confinement."
12326
+ 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."
11578
12327
  },
11579
12328
  {
11580
- code: "197-005-000-000-000-000-000",
11581
- key: "residential_jj_placement",
11582
- title: "Residential JJ placement",
12329
+ code: "143-005-000-000-000-000-000",
12330
+ key: "supervisor_review",
12331
+ title: "Supervisor review",
11583
12332
  selectable: true,
11584
12333
  parentCode: null,
11585
12334
  childCodes: [],
11586
- definition: "Placement in a residential juvenile justice facility (e.g. training school, residential treatment)."
12335
+ 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."
11587
12336
  }
11588
12337
  ]
11589
12338
  };
11590
12339
 
11591
- // src/cvcs/hmisSex.v1.0.0.json
11592
- var hmisSex_v1_0_0_default = {
11593
- domain: "hmis_sex",
11594
- name: "Core HMIS Sex",
12340
+ // src/cvcs/qualityFlags.v1.0.0.json
12341
+ var qualityFlags_v1_0_0_default = {
12342
+ domain: "quality_flags",
12343
+ name: "Core Quality Flags",
11595
12344
  version: "1.0.0",
11596
12345
  levels: {
11597
12346
  "0": "Unknown or Missing",
11598
- "1": "Sex"
12347
+ "1": "Quality flag"
11599
12348
  },
11600
12349
  entries: [
11601
12350
  {
11602
- code: "067-000-000-000-000-000-000",
12351
+ code: "144-000-000-000-000-000-000",
11603
12352
  key: "missingness_root",
11604
12353
  title: "Unknown, Redacted, or Missing",
11605
12354
  selectable: false,
11606
12355
  parentCode: null,
11607
12356
  childCodes: [
11608
- "067-000-000-000-000-000-001",
11609
- "067-000-000-000-000-000-002",
11610
- "067-000-000-000-000-000-003",
11611
- "067-000-000-000-000-000-004",
11612
- "067-000-000-000-000-000-005"
12357
+ "144-000-000-000-000-000-001",
12358
+ "144-000-000-000-000-000-002",
12359
+ "144-000-000-000-000-000-003"
11613
12360
  ],
11614
12361
  definition: "Root group for values indicating absent, withheld, or uncollected data."
11615
12362
  },
11616
12363
  {
11617
- code: "067-000-000-000-000-000-001",
12364
+ code: "144-000-000-000-000-000-001",
11618
12365
  key: "unknown",
11619
12366
  title: "Unknown",
11620
12367
  selectable: true,
11621
- parentCode: "067-000-000-000-000-000-000",
12368
+ parentCode: "144-000-000-000-000-000-000",
11622
12369
  childCodes: [],
11623
12370
  definition: "Value is unknown at time of entry."
11624
12371
  },
11625
12372
  {
11626
- code: "067-000-000-000-000-000-002",
12373
+ code: "144-000-000-000-000-000-002",
11627
12374
  key: "anonymous",
11628
12375
  title: "Anonymous",
11629
12376
  selectable: true,
11630
- parentCode: "067-000-000-000-000-000-000",
12377
+ parentCode: "144-000-000-000-000-000-000",
11631
12378
  childCodes: [],
11632
12379
  definition: "Value is intentionally withheld or redacted."
11633
12380
  },
11634
12381
  {
11635
- code: "067-000-000-000-000-000-003",
12382
+ code: "144-000-000-000-000-000-003",
11636
12383
  key: "data_not_collected",
11637
12384
  title: "Data not collected",
11638
12385
  selectable: true,
11639
- parentCode: "067-000-000-000-000-000-000",
12386
+ parentCode: "144-000-000-000-000-000-000",
11640
12387
  childCodes: [],
11641
- definition: "Use this response if the staff does not ask the person to provide their sex."
12388
+ definition: "No attempt was made to collect the value."
11642
12389
  },
11643
12390
  {
11644
- code: "067-000-000-000-000-000-004",
11645
- key: "client_doesn_t_know",
11646
- title: "Client doesn't know",
12391
+ code: "144-001-000-000-000-000-000",
12392
+ key: "circular_model_label_risk",
12393
+ title: "Circular model label risk",
11647
12394
  selectable: true,
11648
- parentCode: "067-000-000-000-000-000-000",
12395
+ parentCode: null,
11649
12396
  childCodes: [],
11650
- definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
12397
+ 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."
11651
12398
  },
11652
12399
  {
11653
- code: "067-000-000-000-000-000-005",
11654
- key: "client_prefers_not_to_answer",
11655
- title: "Client prefers not to answer",
12400
+ code: "144-002-000-000-000-000-000",
12401
+ key: "data_redacted",
12402
+ title: "Data redacted",
12403
+ selectable: true,
12404
+ parentCode: null,
12405
+ childCodes: [],
12406
+ 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."
12407
+ },
12408
+ {
12409
+ code: "144-003-000-000-000-000-000",
12410
+ key: "inconsistent",
12411
+ title: "Inconsistent",
11656
12412
  selectable: true,
11657
- parentCode: "067-000-000-000-000-000-000",
12413
+ parentCode: null,
11658
12414
  childCodes: [],
11659
- definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
12415
+ 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."
11660
12416
  },
11661
12417
  {
11662
- code: "067-001-000-000-000-000-000",
11663
- key: "female",
11664
- title: "Female",
12418
+ code: "144-004-000-000-000-000-000",
12419
+ key: "self_report_only",
12420
+ title: "Self-report only",
11665
12421
  selectable: true,
11666
12422
  parentCode: null,
11667
12423
  childCodes: [],
11668
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
12424
+ 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."
11669
12425
  },
11670
12426
  {
11671
- code: "067-002-000-000-000-000-000",
11672
- key: "male",
11673
- title: "Male",
12427
+ code: "144-005-000-000-000-000-000",
12428
+ key: "single_source",
12429
+ title: "Single source",
12430
+ selectable: true,
12431
+ parentCode: null,
12432
+ childCodes: [],
12433
+ 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."
12434
+ }
12435
+ ]
12436
+ };
12437
+
12438
+ // src/cvcs/contactInfoUseType.v1.0.0.json
12439
+ var contactInfoUseType_v1_0_0_default = {
12440
+ domain: "contact_info_use_type",
12441
+ name: "Core Contact Info Use Type",
12442
+ version: "1.0.0",
12443
+ levels: {
12444
+ "0": "Unknown or Missing",
12445
+ "1": "Use type"
12446
+ },
12447
+ entries: [
12448
+ {
12449
+ code: "154-000-000-000-000-000-000",
12450
+ key: "missingness_root",
12451
+ title: "Unknown, Redacted, or Missing",
12452
+ selectable: false,
12453
+ parentCode: null,
12454
+ childCodes: [
12455
+ "154-000-000-000-000-000-001",
12456
+ "154-000-000-000-000-000-002",
12457
+ "154-000-000-000-000-000-003"
12458
+ ],
12459
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
12460
+ },
12461
+ {
12462
+ code: "154-000-000-000-000-000-001",
12463
+ key: "unknown",
12464
+ title: "Unknown",
12465
+ selectable: true,
12466
+ parentCode: "154-000-000-000-000-000-000",
12467
+ childCodes: [],
12468
+ definition: "Usage context is not known."
12469
+ },
12470
+ {
12471
+ code: "154-000-000-000-000-000-002",
12472
+ key: "anonymous",
12473
+ title: "Anonymous",
12474
+ selectable: true,
12475
+ parentCode: "154-000-000-000-000-000-000",
12476
+ childCodes: [],
12477
+ definition: "Value is intentionally withheld or redacted."
12478
+ },
12479
+ {
12480
+ code: "154-000-000-000-000-000-003",
12481
+ key: "data_not_collected",
12482
+ title: "Data not collected",
12483
+ selectable: true,
12484
+ parentCode: "154-000-000-000-000-000-000",
12485
+ childCodes: [],
12486
+ definition: "Worker did not attempt to collect / record usage context."
12487
+ },
12488
+ {
12489
+ code: "154-001-000-000-000-000-000",
12490
+ key: "business_commercial_sex",
12491
+ title: "Business (commercial sex)",
12492
+ selectable: true,
12493
+ parentCode: null,
12494
+ childCodes: [],
12495
+ 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."
12496
+ },
12497
+ {
12498
+ code: "154-002-000-000-000-000-000",
12499
+ key: "business_non_cs",
12500
+ title: "Business (non-CS)",
12501
+ selectable: true,
12502
+ parentCode: null,
12503
+ childCodes: [],
12504
+ definition: "Used primarily for work / business communication not specific to commercial sex activity (employer, general business, services, etc.)."
12505
+ },
12506
+ {
12507
+ code: "154-003-000-000-000-000-000",
12508
+ key: "mixed_use",
12509
+ title: "Mixed use",
12510
+ selectable: true,
12511
+ parentCode: null,
12512
+ childCodes: [],
12513
+ definition: "Used for both personal and business purposes (including where business includes commercial sex activity)."
12514
+ },
12515
+ {
12516
+ code: "154-004-000-000-000-000-000",
12517
+ key: "personal",
12518
+ title: "Personal",
12519
+ selectable: true,
12520
+ parentCode: null,
12521
+ childCodes: [],
12522
+ definition: "Used primarily for personal / family communication."
12523
+ }
12524
+ ]
12525
+ };
12526
+
12527
+ // src/cvcs/sessionState.v1.0.0.json
12528
+ var sessionState_v1_0_0_default = {
12529
+ domain: "session_state",
12530
+ name: "Core Session State",
12531
+ version: "1.0.0",
12532
+ levels: {
12533
+ "0": "Unknown or Missing",
12534
+ "1": "Session state"
12535
+ },
12536
+ entries: [
12537
+ {
12538
+ code: "216-000-000-000-000-000-000",
12539
+ key: "missingness_root",
12540
+ title: "Unknown, Redacted, or Missing",
12541
+ selectable: false,
12542
+ parentCode: null,
12543
+ childCodes: [
12544
+ "216-000-000-000-000-000-001",
12545
+ "216-000-000-000-000-000-002",
12546
+ "216-000-000-000-000-000-003"
12547
+ ],
12548
+ definition: "Root group for values indicating absent, withheld, or uncollected data."
12549
+ },
12550
+ {
12551
+ code: "216-000-000-000-000-000-001",
12552
+ key: "unknown",
12553
+ title: "Unknown",
12554
+ selectable: true,
12555
+ parentCode: "216-000-000-000-000-000-000",
12556
+ childCodes: [],
12557
+ definition: "Value is unknown at time of entry."
12558
+ },
12559
+ {
12560
+ code: "216-000-000-000-000-000-002",
12561
+ key: "anonymous",
12562
+ title: "Anonymous",
12563
+ selectable: true,
12564
+ parentCode: "216-000-000-000-000-000-000",
12565
+ childCodes: [],
12566
+ definition: "Value is intentionally withheld or redacted."
12567
+ },
12568
+ {
12569
+ code: "216-000-000-000-000-000-003",
12570
+ key: "data_not_collected",
12571
+ title: "Data not collected",
12572
+ selectable: true,
12573
+ parentCode: "216-000-000-000-000-000-000",
12574
+ childCodes: [],
12575
+ definition: "No attempt was made to collect the value."
12576
+ },
12577
+ {
12578
+ code: "216-001-000-000-000-000-000",
12579
+ key: "session_action_needed",
12580
+ title: "Action needed",
12581
+ selectable: true,
12582
+ parentCode: null,
12583
+ childCodes: [],
12584
+ 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."
12585
+ },
12586
+ {
12587
+ code: "216-002-000-000-000-000-000",
12588
+ key: "session_closed",
12589
+ title: "Closed",
12590
+ selectable: true,
12591
+ parentCode: null,
12592
+ childCodes: [],
12593
+ definition: "Session has been completed successfully."
12594
+ },
12595
+ {
12596
+ code: "216-003-000-000-000-000-000",
12597
+ key: "session_discarded",
12598
+ title: "Discarded",
12599
+ selectable: true,
12600
+ parentCode: null,
12601
+ childCodes: [],
12602
+ definition: "Session had actions but was later discarded without committing changes to the CaseRecord."
12603
+ },
12604
+ {
12605
+ code: "216-004-000-000-000-000-000",
12606
+ key: "session_in_progress",
12607
+ title: "In progress",
12608
+ selectable: true,
12609
+ parentCode: null,
12610
+ childCodes: [],
12611
+ definition: "Session has actions that are completed and is eligible to be saved / committed. No 'Required to Submit' blockers."
12612
+ },
12613
+ {
12614
+ code: "216-005-000-000-000-000-000",
12615
+ key: "session_initialized",
12616
+ title: "Initialized",
11674
12617
  selectable: true,
11675
12618
  parentCode: null,
11676
12619
  childCodes: [],
11677
- definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
12620
+ definition: "Session has been created but no edits have been collected. Blocks transition to session_closed."
11678
12621
  }
11679
12622
  ]
11680
12623
  };
@@ -11682,7 +12625,9 @@ export {
11682
12625
  administeringJurisdiction_v1_0_0_default as administeringJurisdictionSot,
11683
12626
  ageBinReporting_v1_0_0_default as ageBinReportingSot,
11684
12627
  contactInfoTypes_v1_0_0_default as contactInfoTypesSot,
12628
+ contactInfoUseType_v1_0_0_default as contactInfoUseTypeSot,
11685
12629
  contactSafetyStatus_v1_0_0_default as contactSafetyStatusSot,
12630
+ determinationLevel_v1_0_0_default as determinationLevelSot,
11686
12631
  employmentStatus_v1_0_0_default as employmentStatusSot,
11687
12632
  enrollmentApplicationStatus_v1_0_0_default as enrollmentApplicationStatusSot,
11688
12633
  eyeColor_v1_0_0_default as eyeColorSot,
@@ -11694,12 +12639,11 @@ export {
11694
12639
  hairColor_v1_0_0_default as hairColorSot,
11695
12640
  hasTattoos_v1_0_0_default as hasTattoosSot,
11696
12641
  highestEducationLevelCompleted_v1_0_0_default as highestEducationLevelCompletedSot,
11697
- hmisSex_v1_0_0_default as hmisSexSot,
11698
12642
  homelessStatus_v1_0_0_default as homelessStatusSot,
11699
12643
  incidentInvolvementRoles_v1_0_0_default as incidentInvolvementRolesSot,
11700
12644
  incidentParticipationRoles_v1_0_0_default as incidentParticipationRolesSot,
11701
12645
  incomeBenefitsSources_v1_0_0_default as incomeBenefitsSourcesSot,
11702
- juvenileJusticeEpisodeType_v1_0_0_default as juvenileJusticeEpisodeTypeSot,
12646
+ inferenceType_v1_0_0_default as inferenceTypeSot,
11703
12647
  juvenileJusticeInvolvementStatus_v1_0_0_default as juvenileJusticeInvolvementStatusSot,
11704
12648
  locationType_v1_0_0_default as locationTypeSot,
11705
12649
  maritalStatusLegal_v1_0_0_default as maritalStatusLegalSot,
@@ -11713,18 +12657,25 @@ export {
11713
12657
  preferredContactMethod_v1_0_0_default as preferredContactMethodSot,
11714
12658
  primaryLanguage_v1_0_0_default as primaryLanguageSot,
11715
12659
  pronouns_v1_0_0_default as pronounsSot,
12660
+ qualityFlags_v1_0_0_default as qualityFlagsSot,
11716
12661
  raceEthnicity_v1_0_0_default as raceEthnicitySot,
11717
- recencyBand_v1_0_0_default as recencyBandSot,
11718
12662
  referralEntityCategory_v1_0_0_default as referralEntityCategorySot,
11719
12663
  relationshipStatusCurrent_v1_0_0_default as relationshipStatusCurrentSot,
11720
12664
  relationshipTies_v1_0_0_default as relationshipTiesSot,
12665
+ roleContext_v1_0_0_default as roleContextSot,
11721
12666
  serviceCategories_v1_0_0_default as serviceCategoriesSot,
11722
12667
  serviceMechanisms_v1_0_0_default as serviceMechanismsSot,
11723
12668
  serviceStates_v1_0_0_default as serviceStatesSot,
12669
+ sessionState_v1_0_0_default as sessionStateSot,
11724
12670
  sexProviderSubrole_v1_0_0_default as sexProviderSubroleSot,
11725
12671
  sharePurpose_v1_0_0_default as sharePurposeSot,
11726
12672
  smtType_v1_0_0_default as smtTypeSot,
12673
+ sourceCategory_v1_1_0_default as sourceCategorySot,
12674
+ sourceSubtype_v1_1_0_default as sourceSubtypeSot,
12675
+ supportStrength_v1_0_0_default as supportStrengthSot,
12676
+ timeScope_v1_0_0_default as timeScopeSot,
11727
12677
  tribes_v1_0_0_default as tribesSot,
12678
+ verificationMethod_v1_0_0_default as verificationMethodSot,
11728
12679
  victimStatusFamily_v1_0_0_default as victimStatusFamilySot
11729
12680
  };
11730
12681
  //# sourceMappingURL=index.js.map