@htilabs/platform-common-models 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-DaDrEuTa.d.cts} +44 -44
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-DaDrEuTa.d.ts} +44 -44
- package/dist/cvcs/index.cjs +116 -25
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +124 -30
- package/dist/cvcs/index.d.ts +124 -30
- package/dist/cvcs/index.js +116 -25
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +3 -2
- package/dist/enums/index.d.ts +3 -2
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +117 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +117 -25
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/package.json +27 -26
- package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
- package/src/__tests__/core-information-scope-invariant.test.ts +204 -15
- package/src/__tests__/cvc-sot-snapshot.test.ts +11 -7
- package/src/__tests__/cvc-structural.test.ts +1 -1
- package/src/__tests__/location-type-routing-invariant.test.ts +1 -1
- package/src/cvcs/{coreInformationScope.v1.0.0.json → coreInformationScope.v1.1.0.json} +113 -22
- package/src/cvcs/index.ts +1 -1
- package/src/generated/cvc-enums.ts +3 -2
package/dist/cvcs/index.d.ts
CHANGED
|
@@ -2486,7 +2486,7 @@ var name$2N = "Core Incident Participation Roles";
|
|
|
2486
2486
|
var version$2N = "1.1.0";
|
|
2487
2487
|
var _status$1T = "CANONICAL — Notion CVC-69 `core-incident_participation_roles` (IC-64) v1.0, status Active (last audit 2026-09-10, CVC69-AUDIT; re-keyed in canon 2026-08-13, CVC69-CODEBOOK-SYNC). Re-mirrored from prototype canon @ a498581d. SUPERSEDES incidentParticipationRoles v1.0.0 (platform-common <= 0.13.0), which predated both. ADDITIVE, NOT BREAKING: no v1.0.0 key is removed and no v1.0.0 code changes. All 21 canon codes ship as entries carrying `canonicalCode` / `canonicalLevel` / `personnel` (codebook Type = Personnel); `title` is the codebook `Acceptable name` and `definition` the codebook Definition, both verbatim. The five keys canon renamed on 2026-08-13 (service_provider_staff -> vsp_staff, medical_provider_staff -> healthcare_provider_staff, data_entry -> data_entry_staff, other_incident_responder -> other_response_personnel, responding_officer -> law_enforcement_personnel) REMAIN as entries at their v1.0.0 code, title and definition, marked `deprecated: true` + `supersededBy` and `selectable: false`: stored values and `getEntryByKey` keep resolving, pickers (`getSelectableEntries`) drop them, and nothing stored is rewritten. The mapping is canon's rename ruling, not a semantic-equivalence proof — v1.0.0 `other_incident_responder` was titled 'VSP or Other Incident Responder' while canon `other_response_personnel` EXCLUDES VSP staff (`vsp_staff`), and v1.0.0 `responding_officer` maps to the broad `law_enforcement_personnel` bucket, not the Level-2 `le_officer`; see `_supersedes.notes`. MISSINGNESS: canon re-keyed Level 0 to UNK / ANON / DNC (2026-09-10); the package keys stay `unknown` / `anonymous` / `data_not_collected` (package-wide convention; keys must be lowercase slugs) with the canon code on `canonicalCode`. Canon: UNK is user-pickable, ANON is set through a decline affordance, DNC is system-stamped only — `neverPickable: true` marks the two that must never be offered as a picker option (yaml `never_pickable`); all three stay `selectable: true` as assignable values, unchanged from v1.0.0. HIERARCHY: the four non-selectable `*_group` rows are package-synthetic, one per value of the codebook `Select` column; canon Level 1 is package level 2, and canon Level 2 (the LEADS investigative sub-items) is package level 3 under its canon parent. A sub-item implies its parent; `task_force` is deliberately parentless in canon (Crysta 2026-08-13) and sits directly under its Select group. Positional ordinals are FROZEN per concept: the 20 v1.0.0 codes are unchanged, 11 were MINTED for v1.1.0 (069-004-007..012 in canon row order; sub-items 069-004-009-001..004 and 069-004-006-001), and the generator REFUSES a canon key with no frozen ordinal. NOT carried: the codebook's Logic Notes / Guidance, the CVC-45 service-audience crosswalk relation, and the yaml `legacy_codes` read-aliases (prototype runtime ids such as `service_staff` / `vsp_other`, never shipped by this package). Generated by scripts/gen-incident-participation-roles.py — do not hand-edit.";
|
|
2488
2488
|
var _source$1W = "htilabstech/prototype/data/cvcs/core_incident_participation_roles.yaml @ a498581d + htilabstech/prototype/Final CVCs/core - incident_participation_role — codebook 2.csv @ a498581d (cross-checked against codebook 1.csv @ a498581d) (Notion CVC-69 v1.0; read from origin/main)";
|
|
2489
|
-
var _supersedes$
|
|
2489
|
+
var _supersedes$3 = {
|
|
2490
2490
|
version: "1.0.0",
|
|
2491
2491
|
keyMap: {
|
|
2492
2492
|
missingness_root: "missingness_root",
|
|
@@ -2943,7 +2943,7 @@ var incidentParticipationRoles_v1_1_0 = {
|
|
|
2943
2943
|
version: version$2N,
|
|
2944
2944
|
_status: _status$1T,
|
|
2945
2945
|
_source: _source$1W,
|
|
2946
|
-
_supersedes: _supersedes$
|
|
2946
|
+
_supersedes: _supersedes$3,
|
|
2947
2947
|
levels: levels$2N,
|
|
2948
2948
|
entries: entries$2N
|
|
2949
2949
|
};
|
|
@@ -12026,7 +12026,7 @@ var name$2a = "Core Referral Entity Category";
|
|
|
12026
12026
|
var version$2a = "1.1.0";
|
|
12027
12027
|
var _status$1O = "CANONICAL — Notion CVC-48 `core-referral_entity_category` (IC-58), status Active (full audit 2026-08-20, CVC48_IC58_REFERRAL_ENTITY_CATEGORY_AUDIT; `Date of last audit` 2026-09-01). Re-mirrored from prototype canon yaml v1.3 @ 9a10f480 and the live Notion codebook (46 rows, compared row by row 2026-10-05). SUPERSEDES referralEntityCategory v1.0.0 (platform-common <= 0.13.0), which predated the audit. ADDITIVE: no v1.0.0 key is removed and no v1.0.0 positional code changes. ADDED (3): `adult_protective_services` (02-03-06-00), `school_academic_institution` (02-05-01-00), `legal_services_provider` (02-06-04-00). SELECTABLE follows canon on two rows: `education` is now a non-selectable heading (its leaf is `school_academic_institution`, which carries the HMIS R1 School rollup — ruled 2026-08-20) and `law_enforcement` is now selectable (canon Level 2 Required; its five children are optional depth). A stored `education` is still a valid key. `title` and `definition` are canon's, verbatim (yaml `name` / `definition`; the live Notion wording where the two differ: the Adult Protective Services label, the quotation marks in the Victim service provider definition, and the wording of the residual Community-based provider definition); the Level-0 rows keep the package's house missingness titles. `justice_protective_systems` no longer carries the package-authored definition v1.0.0 gave it: canon's heading (02-03-00-00) has none. Every canon-backed row carries canon's 4-segment code as `canonicalCode`; the package's own positional codes are unchanged and are NOT canon's. NOT CARRIED, pending a decision: `02-02-01-00` Hotline — canon's Level-2 parent of National hotline / Local/other hotline; carrying it needs a decision between renumbering 048-006-001/-002 (breaks the frozen-ordinal rule) and appending it at 048-006-003 as a sibling of its own canon children. Until it is carried, `national_hotline` and `local_other_hotline` sit directly under the `hotlines` heading (as in v1.0.0) and this package has no key for a generic Hotline. Also NOT carried: canon `hmis_r1_code` / `hmis_r1_mapping`, `required`, `enum_constant`, `voca_ovc_pmt_bucket`, `pave_2025_mapping`, `logic_notes`, `mappings_notes` (v1.0.0 carried none of them). Generated by scripts/gen-referral-entity-category.py — do not hand-edit.";
|
|
12028
12028
|
var _source$1R = "htilabstech/prototype/data/cvcs/core_referral_entity_category.yaml @ 9a10f480 (Notion CVC-48, yaml v1.3; read from origin/main) + Notion codebook collection://3181ef14-abcd-8081-95b5-000bc30a73bd (wording of 3 cells, compared 2026-10-05)";
|
|
12029
|
-
var _supersedes$
|
|
12029
|
+
var _supersedes$2 = {
|
|
12030
12030
|
version: "1.0.0",
|
|
12031
12031
|
keyMap: {
|
|
12032
12032
|
missingness_root: "missingness_root",
|
|
@@ -12638,7 +12638,7 @@ var referralEntityCategory_v1_1_0 = {
|
|
|
12638
12638
|
version: version$2a,
|
|
12639
12639
|
_status: _status$1O,
|
|
12640
12640
|
_source: _source$1R,
|
|
12641
|
-
_supersedes: _supersedes$
|
|
12641
|
+
_supersedes: _supersedes$2,
|
|
12642
12642
|
_notCarried: _notCarried,
|
|
12643
12643
|
levels: levels$2a,
|
|
12644
12644
|
entries: entries$2a
|
|
@@ -26672,7 +26672,7 @@ var name$T = "Core Victim Abuse Types";
|
|
|
26672
26672
|
var version$T = "1.1.0";
|
|
26673
26673
|
var _status$R = "CANONICAL — Notion CVC-73 `core-victim_abuse_types` (IC-61) v1.1, status Active (last audit 2026-09-01, CVC73-AUDIT (Crysta rulings R1/R2/R3); amended 2026-09-29, cyber_crimes minted). Re-mirrored from prototype canon @ 63913935. SUPERSEDES victimAbuseTypes v1.0.0 (platform-common <= 0.12.4), which predated the audit: 25 substantive rows in the CVC-52 funder dialect plus an UNK/ANON/DNC block. BREAKING key renames — `_supersedes` carries the full v1.0.0 -> v1.1.0 key map. CODE SET + ORDER, picker label (`title` = yaml `display_name`), `uiGroup`, `uiCategory`, `victimizationFamily`, `shorthand` and the reporting-gate flags are verbatim from the yaml mirror (the repo SSOT); `definition` and `guidance` are verbatim from the Notion codebook export, codebook 4 (the yaml carries none). Cross-checked, refusing on disagreement: the code set (yaml = codebook 4 = codebook 3), every Definition (codebook 3 = codebook 4), the age/recency flags (yaml = both codebooks), and `uiCategory` + `victimizationFamily` (yaml = codebook 4); codebook Name and Guidance are NOT cross-checked. Codebook labels differ from the yaml picker label for 2 row(s) — `female_genital_mutilation_cutting` codebook 'Female genital mutilation / cutting' vs yaml 'Female genital mutilation / cutting (FGM/C)'; `other_voca_ovc` codebook 'Other (VOCA/OVC)' vs yaml 'Other victimization (describe)'; the yaml label is the one the product renders. MISSINGNESS: deliberately NONE (canon: a multi-select list of things that HAPPENED; a harm not recorded is absent; canon gate G3 fails on UNK/ANON/DNC). AGE + RECENCY are REPORTING GATES on the assertion (`age_band_at_event`, `recency_band`), never encoded in a code (Crysta R2): `ageRequired` / `recencyRequired` mark where they are needed; an assertion missing one still exists and is never guessed. `traffickingContext` rows describe the trafficking itself and are CENSUSED, NEVER COUNTED in co-occurring-victimization rollups (R1). `other_voca_ovc` is the codeset's only catch-all; `describeRequired` — the detail rides assertion_value_detail (R3). Positional ordinals are FROZEN per concept: 21 v1.0.0 ordinals kept (14 byte-identical keys + 7 spelling-only renames), 8 RETIRED and never reused (the four age-split rows 073-001/002/006/008 and the 073-000 missingness block), 9 minted at 073-026..034 in canon row order; the generator REFUSES a canon key with no frozen ordinal (the next is 073-035, minted only by a deliberate edit). Entry order is canon row order (the picker order), not ordinal order. NOT carried: canon `risk_model_crosswalk` (hti-scoring's surface), `logic_notes`, group `block_comment` prose, and the `domestic_violence` persona-seed dialect in canon `seed_translation_map` (never shipped by this package). Generated by scripts/gen-victim-abuse-types.py — do not hand-edit.";
|
|
26674
26674
|
var _source$Q = "htilabstech/prototype/data/cvcs/core_victim_abuse_types.yaml @ 63913935 + htilabstech/prototype/Final CVCs/Victims + Perps Roles + Statuses (IC-5)/core victim abuse types cvc — codebook 4.csv @ 63913935 (cross-checked against codebook 3.csv @ 63913935) (Notion CVC-73 v1.1; read from origin/main)";
|
|
26675
|
-
var _supersedes = {
|
|
26675
|
+
var _supersedes$1 = {
|
|
26676
26676
|
version: "1.0.0",
|
|
26677
26677
|
keyMap: {
|
|
26678
26678
|
missingness_root: null,
|
|
@@ -27445,7 +27445,7 @@ var victimAbuseTypes_v1_1_0 = {
|
|
|
27445
27445
|
version: version$T,
|
|
27446
27446
|
_status: _status$R,
|
|
27447
27447
|
_source: _source$Q,
|
|
27448
|
-
_supersedes: _supersedes,
|
|
27448
|
+
_supersedes: _supersedes$1,
|
|
27449
27449
|
uiGroups: uiGroups,
|
|
27450
27450
|
levels: levels$T,
|
|
27451
27451
|
entries: entries$T
|
|
@@ -30288,13 +30288,98 @@ var needsAssessmentChangeType_v1_0_0 = {
|
|
|
30288
30288
|
|
|
30289
30289
|
var domain$E = "core_information_scope";
|
|
30290
30290
|
var name$E = "Core Information Scope";
|
|
30291
|
-
var version$E = "1.
|
|
30292
|
-
var _status$D = "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories /
|
|
30293
|
-
var _source$D = "htilabstech/prototype/data/cvcs/core_information_scope.yaml @
|
|
30291
|
+
var version$E = "1.1.0";
|
|
30292
|
+
var _status$D = "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 55 live units + 2 retired tombstones. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits — `roi_scope` is the flat item vocabulary, and every one of its 27 substantive keys resolves here, spelled identically, with no renames and no collisions. That is what makes adopting this domain a migration rather than a re-consent: a stored ROI never WIDENS. RETIRED TOMBSTONES: `screen_notes` (236-005-001, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5); `background` (236-005-003, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI or share that names one resolves to \"retired\", not \"unknown\". Unit codes follow the generator's frozen ledger, not canon's display order: a new unit APPENDS inside its category. VERSION 1.1.0 supersedes 1.0.0 because the change is not additive (see `_supersedes`); neither version was seeded in platform-prod or platform-dev when it was minted (checked 2026-10-06), so the bump is the convention (ADR-CVC-0.8.13 Addendum 2026-10-05), not a guard-driven fix. `safe_locations` is CANON since CVC236-AUDIT R1 (Crysta, 2026-09-08): id and label ratified and minted in the Notion codebook; the former PROVISIONAL marker is retired. The Notion codebook is AHEAD of the yaml mirror on `instruments` (31 rows, acknowledged via --allow-codebook-ahead and not exported here), pending its own absorb lane. PENDING canonical Notion authoring + steward ratification.";
|
|
30293
|
+
var _source$D = "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from origin/main; structural columns cross-checked against htilabstech/prototype/Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core-information_scope — codebook.csv @ 9ef79748; 2 retired codebook rows matched to the yaml's retired_units; 31 codebook-ahead rows under instruments acknowledged, not exported)";
|
|
30294
|
+
var _supersedes = {
|
|
30295
|
+
version: "1.0.0",
|
|
30296
|
+
keyMap: {
|
|
30297
|
+
missingness_root: "missingness_root",
|
|
30298
|
+
unknown: "unknown",
|
|
30299
|
+
anonymous: "anonymous",
|
|
30300
|
+
data_not_collected: "data_not_collected",
|
|
30301
|
+
identifying: "identifying",
|
|
30302
|
+
names: "names",
|
|
30303
|
+
dob: "dob",
|
|
30304
|
+
addresses: "addresses",
|
|
30305
|
+
additional_ids: "additional_ids",
|
|
30306
|
+
demographics: "demographics",
|
|
30307
|
+
risk: "risk",
|
|
30308
|
+
screen_indicators: "screen_indicators",
|
|
30309
|
+
victimization: "victimization",
|
|
30310
|
+
ida_full: "ida_full",
|
|
30311
|
+
ida_consid: "ida_consid",
|
|
30312
|
+
initial_screen: "initial_screen",
|
|
30313
|
+
tra: "tra",
|
|
30314
|
+
lap: "lap",
|
|
30315
|
+
danger_assessment: "danger_assessment",
|
|
30316
|
+
injury_and_strangulation: "injury_and_strangulation",
|
|
30317
|
+
stalking_assessment: "stalking_assessment",
|
|
30318
|
+
ae_intake: "ae_intake",
|
|
30319
|
+
hope_scale: "hope_scale",
|
|
30320
|
+
assessment_records: "assessment_records",
|
|
30321
|
+
determinations: "determinations",
|
|
30322
|
+
offender_facilitator: "offender_facilitator",
|
|
30323
|
+
system_involvement: "system_involvement",
|
|
30324
|
+
derived_risk_signals: "derived_risk_signals",
|
|
30325
|
+
contact: "contact",
|
|
30326
|
+
contact_info: "contact_info",
|
|
30327
|
+
safe_locations: "safe_locations",
|
|
30328
|
+
priorities_safety: "priorities_safety",
|
|
30329
|
+
encounter_location: "encounter_location",
|
|
30330
|
+
services: "services",
|
|
30331
|
+
contact_history: "contact_history",
|
|
30332
|
+
service_history: "service_history",
|
|
30333
|
+
plans_goals: "plans_goals",
|
|
30334
|
+
notes: "notes",
|
|
30335
|
+
screen_notes: "screen_notes",
|
|
30336
|
+
case_notes: "case_notes",
|
|
30337
|
+
background: "background",
|
|
30338
|
+
health_accommodation: "health_accommodation",
|
|
30339
|
+
accommodation_needs: "accommodation_needs",
|
|
30340
|
+
disability_subtypes: "disability_subtypes",
|
|
30341
|
+
mental_health_status: "mental_health_status",
|
|
30342
|
+
substance_use_status: "substance_use_status",
|
|
30343
|
+
chronic_health_status: "chronic_health_status",
|
|
30344
|
+
hiv_status: "hiv_status",
|
|
30345
|
+
mental_health_screen: "mental_health_screen",
|
|
30346
|
+
trauma_and_coping_screen: "trauma_and_coping_screen",
|
|
30347
|
+
behavioral_health_intake: "behavioral_health_intake",
|
|
30348
|
+
immigration_legal_status: "immigration_legal_status",
|
|
30349
|
+
immigration_status: "immigration_status",
|
|
30350
|
+
uscis_alien_number: "uscis_alien_number",
|
|
30351
|
+
federal_protection_applications: "federal_protection_applications",
|
|
30352
|
+
tvap_enrollment: "tvap_enrollment",
|
|
30353
|
+
le_report_status: "le_report_status",
|
|
30354
|
+
system: "system",
|
|
30355
|
+
system_info: "system_info",
|
|
30356
|
+
network_associations: "network_associations",
|
|
30357
|
+
network_membership: "network_membership",
|
|
30358
|
+
persona_links: "persona_links",
|
|
30359
|
+
commercial_activity: "commercial_activity",
|
|
30360
|
+
ad_content: "ad_content",
|
|
30361
|
+
commercial_patterns: "commercial_patterns",
|
|
30362
|
+
investigative_work_product: "investigative_work_product",
|
|
30363
|
+
case_determinations: "case_determinations",
|
|
30364
|
+
case_lifecycle: "case_lifecycle",
|
|
30365
|
+
case_attachments: "case_attachments",
|
|
30366
|
+
object_identifiers: "object_identifiers",
|
|
30367
|
+
phone_identifiers: "phone_identifiers",
|
|
30368
|
+
object_identity_attributes: "object_identity_attributes"
|
|
30369
|
+
},
|
|
30370
|
+
retiredCodes: [
|
|
30371
|
+
],
|
|
30372
|
+
notes: {
|
|
30373
|
+
summary: "Every v1.0.0 key is still an entry in v1.1.0, at its v1.0.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 2 published unit(s) are now RETIRED tombstones and 1 unit(s) read narrower (notes below). Added: `session_summary` (236-005-004).",
|
|
30374
|
+
screen_notes: "v1.0.0 `screen_notes` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. It stays at 236-005-001 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing — a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
30375
|
+
background: "v1.0.0 `background` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): Nothing ever captured it. It stays at 236-005-003 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing — a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
30376
|
+
case_notes: "v1.0.0 `case_notes` ('Detailed case notes') keeps 236-005-002 but reads NARROWER under its new label 'Session & case notes' (renamed + narrowed 2026-10-02, Crysta; signed 2026-10-05, Narrative notes Spec v2 rule 5): every note whose home is a session of the case or the case itself, OTHER THAN the session summary, with its files. The session summary (the typed summary and each note marked 'Include in session summary') now rides the new `session_summary` unit (236-005-004), and a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record. A stored ROI or share that authorized `case_notes` therefore no longer includes the session summary; whether it should also gain `session_summary` is a consent question for the consumer, not a mapping."
|
|
30377
|
+
}
|
|
30378
|
+
};
|
|
30294
30379
|
var levels$E = {
|
|
30295
30380
|
"0": "Unknown or Missing",
|
|
30296
30381
|
"1": "Category (policy grain, not selectable)",
|
|
30297
|
-
"2": "Information unit (authorization grain
|
|
30382
|
+
"2": "Information unit (authorization grain; selectable unless retired)"
|
|
30298
30383
|
};
|
|
30299
30384
|
var entries$E = [
|
|
30300
30385
|
{
|
|
@@ -30733,10 +30818,11 @@ var entries$E = [
|
|
|
30733
30818
|
parentCode: "236-002-000-000-000-000-000",
|
|
30734
30819
|
childCodes: [
|
|
30735
30820
|
],
|
|
30736
|
-
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins — third-party identity never rides a subject-instrument disclosure silently.",
|
|
30821
|
+
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins — third-party identity never rides a subject-instrument disclosure silently. | THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1 — Nate Luginbill's Question set 2 item 4): app_relevance follows where the unit's content is captured, and Thread captures perpetrator records (identity · description · vehicle · violence history in PAVE 2.0's Thread; in the prototype a relevant person with the offender role-in-case + the Priorities Q1 source of the danger). The 2026-08-14 rule was never Thread-exempt — Thread had no box, so perpetrator identity rode under the victim's `names`; with the box it rides HERE and comes out of names (R2). The offender PROFILE never rides under system_involvement because a protection order names them (R3).",
|
|
30737
30822
|
levelFloor: 3,
|
|
30738
30823
|
appRelevance: [
|
|
30739
30824
|
"PAVE",
|
|
30825
|
+
"Thread",
|
|
30740
30826
|
"LEADS"
|
|
30741
30827
|
],
|
|
30742
30828
|
shareableDefault: true,
|
|
@@ -30750,10 +30836,11 @@ var entries$E = [
|
|
|
30750
30836
|
parentCode: "236-002-000-000-000-000-000",
|
|
30751
30837
|
childCodes: [
|
|
30752
30838
|
],
|
|
30753
|
-
definition: "System involvement. Category `risk`.",
|
|
30839
|
+
definition: "System involvement. Category `risk`. THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1): Thread captures protection orders and system-involvement answers in PAVE 2.0; the [PAVE] flag was the record as of 2026-08-14. R3 (protection orders — canon holds, no split): a protection order is ONE record under this unit, whole — the survivor's legal protection (petitioner · court · status · expiry · violations) with the respondent's name as it appears on the order, a court document; an offender profile may REFERENCE the order (the ADR's 'offender-bundle extension' is a presentation), but the order is delivered only when this unit is granted — a reference carries no content, the referenced record rides its own unit (the 2026-10-01 safety-plan reference rule).",
|
|
30754
30840
|
levelFloor: 3,
|
|
30755
30841
|
appRelevance: [
|
|
30756
|
-
"PAVE"
|
|
30842
|
+
"PAVE",
|
|
30843
|
+
"Thread"
|
|
30757
30844
|
],
|
|
30758
30845
|
shareableDefault: true,
|
|
30759
30846
|
specialDataType: "survivor_confidential"
|
|
@@ -30892,7 +30979,7 @@ var entries$E = [
|
|
|
30892
30979
|
parentCode: "236-004-000-000-000-000-000",
|
|
30893
30980
|
childCodes: [
|
|
30894
30981
|
],
|
|
30895
|
-
definition: "Contact history with this agency. Category `services`.
|
|
30982
|
+
definition: "Contact history with this agency. Category `services`. DELIVERS since 2026-10-01 (CONTACT-HISTORY-REGISTER, Crysta R1–R3 — Nate Luginbill's Question set 2 item 3; honest-empty from 2026-08-14 to that date): the register of this agency's own contacts with the person — one row per session, date · channel (CVC-47) · kind of sitting (CVC-217) · the agency/program as recorded, plus a count line — computed from the SENDING agency's session records at send time by the one as-delivered builder, never stored (UDD person.contact_history, derived · accumulating_log · IC-76; source fields capture.session_started_at · capture.service_delivery_channel [its session-record store `contact_method`] · capture.session_template). The fact of contact, not content: no notes, answers, outcomes or services — service_history carries the service instances (the Thread session-as-service row is the same session's other view). Which sessions: closed plus the sending one; drafts from other days, discarded sessions, inbound-share reviews (origin claimed_share), other agencies' sessions (knowing is not telling) and LEADS sessions never ride. No domain_map row — sessions are no-CAR facts; the coverage gate reads the crosswalk derived_units entry (field + store + builder marker). Presets: Thread risk_only_handoff (carried it throughout) · ROI full_collab gains it 2026-10-01 (derivation for veto). Smoke FLOW-381.",
|
|
30896
30983
|
levelFloor: 3,
|
|
30897
30984
|
appRelevance: [
|
|
30898
30985
|
"PAVE",
|
|
@@ -30944,9 +31031,10 @@ var entries$E = [
|
|
|
30944
31031
|
childCodes: [
|
|
30945
31032
|
"236-005-001-000-000-000-000",
|
|
30946
31033
|
"236-005-002-000-000-000-000",
|
|
30947
|
-
"236-005-003-000-000-000-000"
|
|
31034
|
+
"236-005-003-000-000-000-000",
|
|
31035
|
+
"236-005-004-000-000-000-000"
|
|
30948
31036
|
],
|
|
30949
|
-
definition: "Narrative notes — policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread — was an empty shell for LEADS-only agencies).",
|
|
31037
|
+
definition: "Narrative notes — policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread — was an empty shell for LEADS-only agencies). | NARRATIVE-NOTES 2026-10-05 (signed Spec v2, rule 5 — Crysta: 'Narrative notes - I've signed off on this spec.'): two sub-categories, Session summary and Session & case notes. It holds only the notes whose home is a session of the case or the case itself; a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record.",
|
|
30950
31038
|
levelFloor: 3,
|
|
30951
31039
|
appRelevance: [
|
|
30952
31040
|
"PAVE",
|
|
@@ -30959,28 +31047,22 @@ var entries$E = [
|
|
|
30959
31047
|
code: "236-005-001-000-000-000-000",
|
|
30960
31048
|
key: "screen_notes",
|
|
30961
31049
|
title: "Screen notes",
|
|
30962
|
-
selectable:
|
|
31050
|
+
selectable: false,
|
|
30963
31051
|
parentCode: "236-005-000-000-000-000-000",
|
|
30964
31052
|
childCodes: [
|
|
30965
31053
|
],
|
|
30966
|
-
definition: "Screen notes.
|
|
30967
|
-
|
|
30968
|
-
appRelevance: [
|
|
30969
|
-
"PAVE",
|
|
30970
|
-
"Thread"
|
|
30971
|
-
],
|
|
30972
|
-
shareableDefault: true,
|
|
30973
|
-
specialDataType: "survivor_confidential"
|
|
31054
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
31055
|
+
retired: true
|
|
30974
31056
|
},
|
|
30975
31057
|
{
|
|
30976
31058
|
code: "236-005-002-000-000-000-000",
|
|
30977
31059
|
key: "case_notes",
|
|
30978
|
-
title: "
|
|
31060
|
+
title: "Session & case notes",
|
|
30979
31061
|
selectable: true,
|
|
30980
31062
|
parentCode: "236-005-000-000-000-000-000",
|
|
30981
31063
|
childCodes: [
|
|
30982
31064
|
],
|
|
30983
|
-
definition: "
|
|
31065
|
+
definition: "Session & case notes. Category `notes`. RENAMED + NARROWED 2026-10-02 (Crysta; was 'Detailed case notes'; the code is unchanged). Every note whose home is a session of the case or the case itself, other than the session summary, with its files. Read from the notes store, one row per note, through the note's own visibility; the session_note / log_entry claims keep their viewing rows in domain_map and are never share content.",
|
|
30984
31066
|
levelFloor: 3,
|
|
30985
31067
|
appRelevance: [
|
|
30986
31068
|
"PAVE",
|
|
@@ -30993,11 +31075,22 @@ var entries$E = [
|
|
|
30993
31075
|
code: "236-005-003-000-000-000-000",
|
|
30994
31076
|
key: "background",
|
|
30995
31077
|
title: "Background information",
|
|
31078
|
+
selectable: false,
|
|
31079
|
+
parentCode: "236-005-000-000-000-000-000",
|
|
31080
|
+
childCodes: [
|
|
31081
|
+
],
|
|
31082
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). Nothing ever captured it. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
31083
|
+
retired: true
|
|
31084
|
+
},
|
|
31085
|
+
{
|
|
31086
|
+
code: "236-005-004-000-000-000-000",
|
|
31087
|
+
key: "session_summary",
|
|
31088
|
+
title: "Session summary",
|
|
30996
31089
|
selectable: true,
|
|
30997
31090
|
parentCode: "236-005-000-000-000-000-000",
|
|
30998
31091
|
childCodes: [
|
|
30999
31092
|
],
|
|
31000
|
-
definition: "
|
|
31093
|
+
definition: "Session summary. Category `notes`. MINTED 2026-10-02 (Crysta: two sub-categories — 'Agree'); in the apps since 2026-10-05 (NARRATIVE-NOTES). Includes the typed session summary (one note marked as the summary — it has no visibility of its own and freezes when the session is submitted) and each note whose home is that session and that the advocate marked 'Include in session summary'. A marked note from another home shows in the on-screen summary and is included in a share only with its own home, never here.",
|
|
31001
31094
|
levelFloor: 3,
|
|
31002
31095
|
appRelevance: [
|
|
31003
31096
|
"PAVE",
|
|
@@ -31542,12 +31635,13 @@ var entries$E = [
|
|
|
31542
31635
|
specialDataType: "criminal_intelligence"
|
|
31543
31636
|
}
|
|
31544
31637
|
];
|
|
31545
|
-
var
|
|
31638
|
+
var coreInformationScope_v1_1_0 = {
|
|
31546
31639
|
domain: domain$E,
|
|
31547
31640
|
name: name$E,
|
|
31548
31641
|
version: version$E,
|
|
31549
31642
|
_status: _status$D,
|
|
31550
31643
|
_source: _source$D,
|
|
31644
|
+
_supersedes: _supersedes,
|
|
31551
31645
|
levels: levels$E,
|
|
31552
31646
|
entries: entries$E
|
|
31553
31647
|
};
|
|
@@ -49274,4 +49368,4 @@ var criminalOrgCategory_v1_0_0 = {
|
|
|
49274
49368
|
entries: entries
|
|
49275
49369
|
};
|
|
49276
49370
|
|
|
49277
|
-
export { accommodationType_v1_0_0 as accommodationTypeSot, actionStepCompletionStatus_v1_0_0 as actionStepCompletionStatusSot, actionStepType_v1_0_0 as actionStepTypeSot, activityType_v1_0_0 as activityTypeSot, adminRoles_v1_0_0 as adminRolesSot, administeringJurisdiction_v1_0_0 as administeringJurisdictionSot, ageBinReporting_v1_0_0 as ageBinReportingSot, announcementAudienceScope_v1_0_0 as announcementAudienceScopeSot, announcementResponseType_v1_0_0 as announcementResponseTypeSot, assertionDomain_v1_1_0 as assertionDomainSot, assertionStatus_v1_0_0 as assertionStatusSot, basisQuickPicks_v1_0_0 as basisQuickPicksSot, carCorrectionReason_v1_0_0 as carCorrectionReasonSot, caseShareState_v1_0_0 as caseShareStateSot, checkInActivity_v1_0_0 as checkInActivitySot, checkInPhase_v1_1_0 as checkInPhaseSot, childBehavioralConcerns_v1_0_0 as childBehavioralConcernsSot, childChangeType_v1_0_0 as childChangeTypeSot, childCustodyArrangement_v1_0_0 as childCustodyArrangementSot, citizenship_v1_0_0 as citizenshipSot, collectionContext_v1_0_0 as collectionContextSot, contactInfoTypes_v1_0_0 as contactInfoTypesSot, contactInfoUseType_v1_0_0 as contactInfoUseTypeSot, contactLinkType_v1_0_0 as contactLinkTypeSot, contactSafetyStatus_v1_0_0 as contactSafetyStatusSot, coreDhState_v1_0_0 as coreDhStateSot, coreFunctions_v1_0_0 as coreFunctionsSot, coreIndicators_v1_1_0 as coreIndicatorsSot,
|
|
49371
|
+
export { accommodationType_v1_0_0 as accommodationTypeSot, actionStepCompletionStatus_v1_0_0 as actionStepCompletionStatusSot, actionStepType_v1_0_0 as actionStepTypeSot, activityType_v1_0_0 as activityTypeSot, adminRoles_v1_0_0 as adminRolesSot, administeringJurisdiction_v1_0_0 as administeringJurisdictionSot, ageBinReporting_v1_0_0 as ageBinReportingSot, announcementAudienceScope_v1_0_0 as announcementAudienceScopeSot, announcementResponseType_v1_0_0 as announcementResponseTypeSot, assertionDomain_v1_1_0 as assertionDomainSot, assertionStatus_v1_0_0 as assertionStatusSot, basisQuickPicks_v1_0_0 as basisQuickPicksSot, carCorrectionReason_v1_0_0 as carCorrectionReasonSot, caseShareState_v1_0_0 as caseShareStateSot, checkInActivity_v1_0_0 as checkInActivitySot, checkInPhase_v1_1_0 as checkInPhaseSot, childBehavioralConcerns_v1_0_0 as childBehavioralConcernsSot, childChangeType_v1_0_0 as childChangeTypeSot, childCustodyArrangement_v1_0_0 as childCustodyArrangementSot, citizenship_v1_0_0 as citizenshipSot, collectionContext_v1_0_0 as collectionContextSot, contactInfoTypes_v1_0_0 as contactInfoTypesSot, contactInfoUseType_v1_0_0 as contactInfoUseTypeSot, contactLinkType_v1_0_0 as contactLinkTypeSot, contactSafetyStatus_v1_0_0 as contactSafetyStatusSot, coreDhState_v1_0_0 as coreDhStateSot, coreFunctions_v1_0_0 as coreFunctionsSot, coreIndicators_v1_1_0 as coreIndicatorsSot, coreInformationScope_v1_1_0 as coreInformationScopeSot, coreReferralOutcome_v1_0_0 as coreReferralOutcomeSot, countries_v1_0_0 as countriesSot, createdBySystem_v1_0_0 as createdBySystemSot, criminalOrgCategory_v1_0_0 as criminalOrgCategorySot, daIncidentArchiveReason_v1_0_0 as daIncidentArchiveReasonSot, daIncidentConfidence_v1_0_0 as daIncidentConfidenceSot, daIncidentDayApprox_v1_0_0 as daIncidentDayApproxSot, daIncidentSeverity_v1_0_0 as daIncidentSeveritySot, determinationHelperCategories_v1_0_0 as determinationHelperCategoriesSot, determinationLevel_v1_0_0 as determinationLevelSot, disabilitySubtype_v1_0_0 as disabilitySubtypeSot, discretionLevel_v1_0_0 as discretionLevelSot, emergencyContactCallReason_v1_0_0 as emergencyContactCallReasonSot, emergencyContactPermissions_v1_0_0 as emergencyContactPermissionsSot, emergencyExitCascade_v1_0_0 as emergencyExitCascadeSot, employmentStatus_v1_0_0 as employmentStatusSot, enrollmentApplicationStatus_v1_0_0 as enrollmentApplicationStatusSot, exitProcessChecklistItem_v1_0_0 as exitProcessChecklistItemSot, exitReasons_v1_0_0 as exitReasonsSot, exploitationType_v1_0_0 as exploitationTypeSot, eyeColor_v1_0_0 as eyeColorSot, facialHair_v1_0_0 as facialHairSot, facilitatorEntityType_v1_0_0 as facilitatorEntityTypeSot, facilitatorLabelUsedInSource_v1_0_0 as facilitatorLabelUsedInSourceSot, facilitatorSubrole_v1_0_0 as facilitatorSubroleSot, frequencyCadence_v1_0_0 as frequencyCadenceSot, funder_v1_0_0 as funderSot, genderIdentity_v1_0_0 as genderIdentitySot, goalCategory_v1_0_0 as goalCategorySot, goalPriority_v1_0_0 as goalPrioritySot, goalStatus_v1_0_0 as goalStatusSot, goalWithdrawalReason_v1_0_0 as goalWithdrawalReasonSot, hairColor_v1_0_0 as hairColorSot, hasTattoos_v1_0_0 as hasTattoosSot, highestEducationLevelCompleted_v1_1_0 as highestEducationLevelCompletedSot, hivStatus_v1_0_0 as hivStatusSot, hmisCurrentLivingSituation_v1_0_0 as hmisCurrentLivingSituationSot, hmisProjectType_v1_0_0 as hmisProjectTypeSot, hmisRelationshipToHoh_v1_0_0 as hmisRelationshipToHohSot, hmisSex_v1_0_0 as hmisSexSot, homelessStatus_v1_0_0 as homelessStatusSot, hopeScaleCaptureContext_v1_0_0 as hopeScaleCaptureContextSot, hopeScaleResponseOptions_v1_0_0 as hopeScaleResponseOptionsSot, hopeScaleTier_v1_0_0 as hopeScaleTierSot, housingSubsidyTypes_v1_0_0 as housingSubsidyTypesSot, htType_v1_0_0 as htTypeSot, identificationStatus_v1_0_0 as identificationStatusSot, immigrationLegalStatusChangeType_v1_0_0 as immigrationLegalStatusChangeTypeSot, incarcerationEpisodeType_v1_0_0 as incarcerationEpisodeTypeSot, incidentInvolvementRoles_v1_0_0 as incidentInvolvementRolesSot, incidentParticipationRoles_v1_1_0 as incidentParticipationRolesSot, incomeBenefitsSources_v1_1_0 as incomeBenefitsSourcesSot, inferenceType_v1_0_0 as inferenceTypeSot, investigativeRequestType_v1_0_0 as investigativeRequestTypeSot, juvenileJusticeEpisodeType_v1_0_0 as juvenileJusticeEpisodeTypeSot, juvenileJusticeInvolvementStatus_v1_0_0 as juvenileJusticeInvolvementStatusSot, languages_v1_0_0 as languagesSot, leReportStatus_v1_0_0 as leReportStatusSot, legalActionType_v1_0_0 as legalActionTypeSot, livingSituation_v1_0_0 as livingSituationSot, locationType_v1_0_0 as locationTypeSot, maritalStatusLegal_v1_0_0 as maritalStatusLegalSot, mentalHealthStatus_v1_0_0 as mentalHealthStatusSot, messageReportReason_v1_0_0 as messageReportReasonSot, midStayEventType_v1_0_0 as midStayEventTypeSot, milestoneType_v1_0_0 as milestoneTypeSot, militaryBranch_v1_0_0 as militaryBranchSot, militaryStatus_v1_0_0 as militaryStatusSot, minorAdultStatus_v1_0_0 as minorAdultStatusSot, nameType_v1_0_0 as nameTypeSot, needsAssessmentChangeType_v1_0_0 as needsAssessmentChangeTypeSot, needsResidentialAgain_v1_0_0 as needsResidentialAgainSot, offenderStatusFamily_v1_0_0 as offenderStatusFamilySot, offenderStatus_v1_0_0 as offenderStatusSot, orientationIdentity_v1_0_0 as orientationIdentitySot, personRelationships_v1_0_0 as personRelationshipsSot, petExitReason_v1_0_0 as petExitReasonSot, petRelationshipBasis_v1_0_0 as petRelationshipBasisSot, poPetitionBasis_v1_0_0 as poPetitionBasisSot, poStatus_v1_0_0 as poStatusSot, poViolationStatus_v1_0_0 as poViolationStatusSot, preferredContactMethod_v1_0_0 as preferredContactMethodSot, primaryLanguage_v1_0_0 as primaryLanguageSot, programEnrollmentChangeType_v1_0_0 as programEnrollmentChangeTypeSot, programSpecificCode_v1_0_0 as programSpecificCodeSot, pronouns_v1_0_0 as pronounsSot, proofOfIdType_v1_0_0 as proofOfIdTypeSot, provenanceSourceId_v1_0_0 as provenanceSourceIdSot, qualityFlags_v1_0_0 as qualityFlagsSot, raceEthnicity_v1_0_0 as raceEthnicitySot, radiusBucket_v1_0_0 as radiusBucketSot, recencyBand_v1_0_0 as recencyBandSot, referenceLinkType_v1_0_0 as referenceLinkTypeSot, referralEntityCategory_v1_1_0 as referralEntityCategorySot, referralOrigin_v1_0_0 as referralOriginSot, relationshipConcern_v1_0_0 as relationshipConcernSot, relationshipDynamics_v1_0_0 as relationshipDynamicsSot, relationshipStatusCurrent_v1_0_0 as relationshipStatusCurrentSot, relationshipTies_v1_0_0 as relationshipTiesSot, returnedToAbuserStatus_v1_0_0 as returnedToAbuserStatusSot, riskCategory_v1_0_0 as riskCategorySot, riskIdentificationMilestone_v1_0_0 as riskIdentificationMilestoneSot, riskSeverityBand_v1_0_0 as riskSeverityBandSot, roiMethod_v1_0_0 as roiMethodSot, roiScope_v1_0_0 as roiScopeSot, roiStatus_v1_0_0 as roiStatusSot, roleContext_v1_0_0 as roleContextSot, romanticRelationshipChangeType_v1_0_0 as romanticRelationshipChangeTypeSot, rsvpResponse_v1_0_0 as rsvpResponseSot, serviceAudience_v1_0_0 as serviceAudienceSot, serviceCategories_v1_0_0 as serviceCategoriesSot, serviceDeliveryChannel_v1_0_0 as serviceDeliveryChannelSot, serviceMechanisms_v1_0_0 as serviceMechanismsSot, servicePlanClosureReason_v1_0_0 as servicePlanClosureReasonSot, servicePlanReviewSnoozeReason_v1_0_0 as servicePlanReviewSnoozeReasonSot, serviceSource_v1_0_0 as serviceSourceSot, serviceStates_v1_1_0 as serviceStatesSot, sessionNoteVisibility_v1_0_0 as sessionNoteVisibilitySot, sessionState_v1_0_0 as sessionStateSot, sessionTemplate_v1_0_0 as sessionTemplateSot, severityFollowUp_v1_0_0 as severityFollowUpSot, sexProviderSubrole_v1_0_0 as sexProviderSubroleSot, sharePurpose_v1_0_0 as sharePurposeSot, shareResponseReason_v1_0_0 as shareResponseReasonSot, signatureMethod_v1_0_0 as signatureMethodSot, signatureType_v1_0_0 as signatureTypeSot, smtBodyLocation_v1_0_0 as smtBodyLocationSot, smtNameRelation_v1_0_0 as smtNameRelationSot, smtSignificanceFlags_v1_0_0 as smtSignificanceFlagsSot, smtType_v1_0_0 as smtTypeSot, sourceCategory_v1_1_0 as sourceCategorySot, sourceInstrument_v1_0_0 as sourceInstrumentSot, sourceSubtype_v1_2_0 as sourceSubtypeSot, sourceSystem_v1_0_0 as sourceSystemSot, specialNeedsDisabilities_v1_0_0 as specialNeedsDisabilitiesSot, subjectType_v1_0_0 as subjectTypeSot, substanceUseStatus_v1_0_0 as substanceUseStatusSot, suggestionSource_v1_0_0 as suggestionSourceSot, supportStrength_v1_0_0 as supportStrengthSot, supportTopic_v1_0_0 as supportTopicSot, threadStatus_v1_0_0 as threadStatusSot, threadType_v1_0_0 as threadTypeSot, timeScope_v1_0_0 as timeScopeSot, traffickingRelevantRole_v1_0_0 as traffickingRelevantRoleSot, tribes_v1_0_0 as tribesSot, userRoles_v1_0_0 as userRolesSot, verificationMethod_v1_1_0 as verificationMethodSot, verificationStatus_v1_0_0 as verificationStatusSot, victimAbuseTypes_v1_1_0 as victimAbuseTypesSot, victimStatusFamily_v1_0_0 as victimStatusFamilySot, visaType_v1_0_0 as visaTypeSot, whyNots_v1_0_0 as whyNotsSot };
|
package/dist/cvcs/index.js
CHANGED
|
@@ -27275,17 +27275,101 @@ var needsAssessmentChangeType_v1_0_0_default = {
|
|
|
27275
27275
|
]
|
|
27276
27276
|
};
|
|
27277
27277
|
|
|
27278
|
-
// src/cvcs/coreInformationScope.v1.
|
|
27279
|
-
var
|
|
27278
|
+
// src/cvcs/coreInformationScope.v1.1.0.json
|
|
27279
|
+
var coreInformationScope_v1_1_0_default = {
|
|
27280
27280
|
domain: "core_information_scope",
|
|
27281
27281
|
name: "Core Information Scope",
|
|
27282
|
-
version: "1.
|
|
27283
|
-
_status:
|
|
27284
|
-
_source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @
|
|
27282
|
+
version: "1.1.0",
|
|
27283
|
+
_status: 'DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 55 live units + 2 retired tombstones. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits \u2014 `roi_scope` is the flat item vocabulary, and every one of its 27 substantive keys resolves here, spelled identically, with no renames and no collisions. That is what makes adopting this domain a migration rather than a re-consent: a stored ROI never WIDENS. RETIRED TOMBSTONES: `screen_notes` (236-005-001, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5); `background` (236-005-003, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI or share that names one resolves to "retired", not "unknown". Unit codes follow the generator\'s frozen ledger, not canon\'s display order: a new unit APPENDS inside its category. VERSION 1.1.0 supersedes 1.0.0 because the change is not additive (see `_supersedes`); neither version was seeded in platform-prod or platform-dev when it was minted (checked 2026-10-06), so the bump is the convention (ADR-CVC-0.8.13 Addendum 2026-10-05), not a guard-driven fix. `safe_locations` is CANON since CVC236-AUDIT R1 (Crysta, 2026-09-08): id and label ratified and minted in the Notion codebook; the former PROVISIONAL marker is retired. The Notion codebook is AHEAD of the yaml mirror on `instruments` (31 rows, acknowledged via --allow-codebook-ahead and not exported here), pending its own absorb lane. PENDING canonical Notion authoring + steward ratification.',
|
|
27284
|
+
_source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from origin/main; structural columns cross-checked against htilabstech/prototype/Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core-information_scope \u2014 codebook.csv @ 9ef79748; 2 retired codebook rows matched to the yaml's retired_units; 31 codebook-ahead rows under instruments acknowledged, not exported)",
|
|
27285
|
+
_supersedes: {
|
|
27286
|
+
version: "1.0.0",
|
|
27287
|
+
keyMap: {
|
|
27288
|
+
missingness_root: "missingness_root",
|
|
27289
|
+
unknown: "unknown",
|
|
27290
|
+
anonymous: "anonymous",
|
|
27291
|
+
data_not_collected: "data_not_collected",
|
|
27292
|
+
identifying: "identifying",
|
|
27293
|
+
names: "names",
|
|
27294
|
+
dob: "dob",
|
|
27295
|
+
addresses: "addresses",
|
|
27296
|
+
additional_ids: "additional_ids",
|
|
27297
|
+
demographics: "demographics",
|
|
27298
|
+
risk: "risk",
|
|
27299
|
+
screen_indicators: "screen_indicators",
|
|
27300
|
+
victimization: "victimization",
|
|
27301
|
+
ida_full: "ida_full",
|
|
27302
|
+
ida_consid: "ida_consid",
|
|
27303
|
+
initial_screen: "initial_screen",
|
|
27304
|
+
tra: "tra",
|
|
27305
|
+
lap: "lap",
|
|
27306
|
+
danger_assessment: "danger_assessment",
|
|
27307
|
+
injury_and_strangulation: "injury_and_strangulation",
|
|
27308
|
+
stalking_assessment: "stalking_assessment",
|
|
27309
|
+
ae_intake: "ae_intake",
|
|
27310
|
+
hope_scale: "hope_scale",
|
|
27311
|
+
assessment_records: "assessment_records",
|
|
27312
|
+
determinations: "determinations",
|
|
27313
|
+
offender_facilitator: "offender_facilitator",
|
|
27314
|
+
system_involvement: "system_involvement",
|
|
27315
|
+
derived_risk_signals: "derived_risk_signals",
|
|
27316
|
+
contact: "contact",
|
|
27317
|
+
contact_info: "contact_info",
|
|
27318
|
+
safe_locations: "safe_locations",
|
|
27319
|
+
priorities_safety: "priorities_safety",
|
|
27320
|
+
encounter_location: "encounter_location",
|
|
27321
|
+
services: "services",
|
|
27322
|
+
contact_history: "contact_history",
|
|
27323
|
+
service_history: "service_history",
|
|
27324
|
+
plans_goals: "plans_goals",
|
|
27325
|
+
notes: "notes",
|
|
27326
|
+
screen_notes: "screen_notes",
|
|
27327
|
+
case_notes: "case_notes",
|
|
27328
|
+
background: "background",
|
|
27329
|
+
health_accommodation: "health_accommodation",
|
|
27330
|
+
accommodation_needs: "accommodation_needs",
|
|
27331
|
+
disability_subtypes: "disability_subtypes",
|
|
27332
|
+
mental_health_status: "mental_health_status",
|
|
27333
|
+
substance_use_status: "substance_use_status",
|
|
27334
|
+
chronic_health_status: "chronic_health_status",
|
|
27335
|
+
hiv_status: "hiv_status",
|
|
27336
|
+
mental_health_screen: "mental_health_screen",
|
|
27337
|
+
trauma_and_coping_screen: "trauma_and_coping_screen",
|
|
27338
|
+
behavioral_health_intake: "behavioral_health_intake",
|
|
27339
|
+
immigration_legal_status: "immigration_legal_status",
|
|
27340
|
+
immigration_status: "immigration_status",
|
|
27341
|
+
uscis_alien_number: "uscis_alien_number",
|
|
27342
|
+
federal_protection_applications: "federal_protection_applications",
|
|
27343
|
+
tvap_enrollment: "tvap_enrollment",
|
|
27344
|
+
le_report_status: "le_report_status",
|
|
27345
|
+
system: "system",
|
|
27346
|
+
system_info: "system_info",
|
|
27347
|
+
network_associations: "network_associations",
|
|
27348
|
+
network_membership: "network_membership",
|
|
27349
|
+
persona_links: "persona_links",
|
|
27350
|
+
commercial_activity: "commercial_activity",
|
|
27351
|
+
ad_content: "ad_content",
|
|
27352
|
+
commercial_patterns: "commercial_patterns",
|
|
27353
|
+
investigative_work_product: "investigative_work_product",
|
|
27354
|
+
case_determinations: "case_determinations",
|
|
27355
|
+
case_lifecycle: "case_lifecycle",
|
|
27356
|
+
case_attachments: "case_attachments",
|
|
27357
|
+
object_identifiers: "object_identifiers",
|
|
27358
|
+
phone_identifiers: "phone_identifiers",
|
|
27359
|
+
object_identity_attributes: "object_identity_attributes"
|
|
27360
|
+
},
|
|
27361
|
+
retiredCodes: [],
|
|
27362
|
+
notes: {
|
|
27363
|
+
summary: "Every v1.0.0 key is still an entry in v1.1.0, at its v1.0.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 2 published unit(s) are now RETIRED tombstones and 1 unit(s) read narrower (notes below). Added: `session_summary` (236-005-004).",
|
|
27364
|
+
screen_notes: "v1.0.0 `screen_notes` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. It stays at 236-005-001 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
27365
|
+
background: "v1.0.0 `background` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): Nothing ever captured it. It stays at 236-005-003 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
27366
|
+
case_notes: "v1.0.0 `case_notes` ('Detailed case notes') keeps 236-005-002 but reads NARROWER under its new label 'Session & case notes' (renamed + narrowed 2026-10-02, Crysta; signed 2026-10-05, Narrative notes Spec v2 rule 5): every note whose home is a session of the case or the case itself, OTHER THAN the session summary, with its files. The session summary (the typed summary and each note marked 'Include in session summary') now rides the new `session_summary` unit (236-005-004), and a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record. A stored ROI or share that authorized `case_notes` therefore no longer includes the session summary; whether it should also gain `session_summary` is a consent question for the consumer, not a mapping."
|
|
27367
|
+
}
|
|
27368
|
+
},
|
|
27285
27369
|
levels: {
|
|
27286
27370
|
"0": "Unknown or Missing",
|
|
27287
27371
|
"1": "Category (policy grain, not selectable)",
|
|
27288
|
-
"2": "Information unit (authorization grain
|
|
27372
|
+
"2": "Information unit (authorization grain; selectable unless retired)"
|
|
27289
27373
|
},
|
|
27290
27374
|
entries: [
|
|
27291
27375
|
{
|
|
@@ -27701,10 +27785,11 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27701
27785
|
selectable: true,
|
|
27702
27786
|
parentCode: "236-002-000-000-000-000-000",
|
|
27703
27787
|
childCodes: [],
|
|
27704
|
-
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins \u2014 third-party identity never rides a subject-instrument disclosure silently.",
|
|
27788
|
+
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins \u2014 third-party identity never rides a subject-instrument disclosure silently. | THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1 \u2014 Nate Luginbill's Question set 2 item 4): app_relevance follows where the unit's content is captured, and Thread captures perpetrator records (identity \xB7 description \xB7 vehicle \xB7 violence history in PAVE 2.0's Thread; in the prototype a relevant person with the offender role-in-case + the Priorities Q1 source of the danger). The 2026-08-14 rule was never Thread-exempt \u2014 Thread had no box, so perpetrator identity rode under the victim's `names`; with the box it rides HERE and comes out of names (R2). The offender PROFILE never rides under system_involvement because a protection order names them (R3).",
|
|
27705
27789
|
levelFloor: 3,
|
|
27706
27790
|
appRelevance: [
|
|
27707
27791
|
"PAVE",
|
|
27792
|
+
"Thread",
|
|
27708
27793
|
"LEADS"
|
|
27709
27794
|
],
|
|
27710
27795
|
shareableDefault: true,
|
|
@@ -27717,10 +27802,11 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27717
27802
|
selectable: true,
|
|
27718
27803
|
parentCode: "236-002-000-000-000-000-000",
|
|
27719
27804
|
childCodes: [],
|
|
27720
|
-
definition: "System involvement. Category `risk`.",
|
|
27805
|
+
definition: "System involvement. Category `risk`. THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1): Thread captures protection orders and system-involvement answers in PAVE 2.0; the [PAVE] flag was the record as of 2026-08-14. R3 (protection orders \u2014 canon holds, no split): a protection order is ONE record under this unit, whole \u2014 the survivor's legal protection (petitioner \xB7 court \xB7 status \xB7 expiry \xB7 violations) with the respondent's name as it appears on the order, a court document; an offender profile may REFERENCE the order (the ADR's 'offender-bundle extension' is a presentation), but the order is delivered only when this unit is granted \u2014 a reference carries no content, the referenced record rides its own unit (the 2026-10-01 safety-plan reference rule).",
|
|
27721
27806
|
levelFloor: 3,
|
|
27722
27807
|
appRelevance: [
|
|
27723
|
-
"PAVE"
|
|
27808
|
+
"PAVE",
|
|
27809
|
+
"Thread"
|
|
27724
27810
|
],
|
|
27725
27811
|
shareableDefault: true,
|
|
27726
27812
|
specialDataType: "survivor_confidential"
|
|
@@ -27853,7 +27939,7 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27853
27939
|
selectable: true,
|
|
27854
27940
|
parentCode: "236-004-000-000-000-000-000",
|
|
27855
27941
|
childCodes: [],
|
|
27856
|
-
definition: "Contact history with this agency. Category `services`.
|
|
27942
|
+
definition: "Contact history with this agency. Category `services`. DELIVERS since 2026-10-01 (CONTACT-HISTORY-REGISTER, Crysta R1\u2013R3 \u2014 Nate Luginbill's Question set 2 item 3; honest-empty from 2026-08-14 to that date): the register of this agency's own contacts with the person \u2014 one row per session, date \xB7 channel (CVC-47) \xB7 kind of sitting (CVC-217) \xB7 the agency/program as recorded, plus a count line \u2014 computed from the SENDING agency's session records at send time by the one as-delivered builder, never stored (UDD person.contact_history, derived \xB7 accumulating_log \xB7 IC-76; source fields capture.session_started_at \xB7 capture.service_delivery_channel [its session-record store `contact_method`] \xB7 capture.session_template). The fact of contact, not content: no notes, answers, outcomes or services \u2014 service_history carries the service instances (the Thread session-as-service row is the same session's other view). Which sessions: closed plus the sending one; drafts from other days, discarded sessions, inbound-share reviews (origin claimed_share), other agencies' sessions (knowing is not telling) and LEADS sessions never ride. No domain_map row \u2014 sessions are no-CAR facts; the coverage gate reads the crosswalk derived_units entry (field + store + builder marker). Presets: Thread risk_only_handoff (carried it throughout) \xB7 ROI full_collab gains it 2026-10-01 (derivation for veto). Smoke FLOW-381.",
|
|
27857
27943
|
levelFloor: 3,
|
|
27858
27944
|
appRelevance: [
|
|
27859
27945
|
"PAVE",
|
|
@@ -27903,9 +27989,10 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27903
27989
|
childCodes: [
|
|
27904
27990
|
"236-005-001-000-000-000-000",
|
|
27905
27991
|
"236-005-002-000-000-000-000",
|
|
27906
|
-
"236-005-003-000-000-000-000"
|
|
27992
|
+
"236-005-003-000-000-000-000",
|
|
27993
|
+
"236-005-004-000-000-000-000"
|
|
27907
27994
|
],
|
|
27908
|
-
definition: "Narrative notes \u2014 policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread \u2014 was an empty shell for LEADS-only agencies).",
|
|
27995
|
+
definition: "Narrative notes \u2014 policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread \u2014 was an empty shell for LEADS-only agencies). | NARRATIVE-NOTES 2026-10-05 (signed Spec v2, rule 5 \u2014 Crysta: 'Narrative notes - I've signed off on this spec.'): two sub-categories, Session summary and Session & case notes. It holds only the notes whose home is a session of the case or the case itself; a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record.",
|
|
27909
27996
|
levelFloor: 3,
|
|
27910
27997
|
appRelevance: [
|
|
27911
27998
|
"PAVE",
|
|
@@ -27918,26 +28005,20 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27918
28005
|
code: "236-005-001-000-000-000-000",
|
|
27919
28006
|
key: "screen_notes",
|
|
27920
28007
|
title: "Screen notes",
|
|
27921
|
-
selectable:
|
|
28008
|
+
selectable: false,
|
|
27922
28009
|
parentCode: "236-005-000-000-000-000-000",
|
|
27923
28010
|
childCodes: [],
|
|
27924
|
-
definition: "Screen notes.
|
|
27925
|
-
|
|
27926
|
-
appRelevance: [
|
|
27927
|
-
"PAVE",
|
|
27928
|
-
"Thread"
|
|
27929
|
-
],
|
|
27930
|
-
shareableDefault: true,
|
|
27931
|
-
specialDataType: "survivor_confidential"
|
|
28011
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
28012
|
+
retired: true
|
|
27932
28013
|
},
|
|
27933
28014
|
{
|
|
27934
28015
|
code: "236-005-002-000-000-000-000",
|
|
27935
28016
|
key: "case_notes",
|
|
27936
|
-
title: "
|
|
28017
|
+
title: "Session & case notes",
|
|
27937
28018
|
selectable: true,
|
|
27938
28019
|
parentCode: "236-005-000-000-000-000-000",
|
|
27939
28020
|
childCodes: [],
|
|
27940
|
-
definition: "
|
|
28021
|
+
definition: "Session & case notes. Category `notes`. RENAMED + NARROWED 2026-10-02 (Crysta; was 'Detailed case notes'; the code is unchanged). Every note whose home is a session of the case or the case itself, other than the session summary, with its files. Read from the notes store, one row per note, through the note's own visibility; the session_note / log_entry claims keep their viewing rows in domain_map and are never share content.",
|
|
27941
28022
|
levelFloor: 3,
|
|
27942
28023
|
appRelevance: [
|
|
27943
28024
|
"PAVE",
|
|
@@ -27950,10 +28031,20 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27950
28031
|
code: "236-005-003-000-000-000-000",
|
|
27951
28032
|
key: "background",
|
|
27952
28033
|
title: "Background information",
|
|
28034
|
+
selectable: false,
|
|
28035
|
+
parentCode: "236-005-000-000-000-000-000",
|
|
28036
|
+
childCodes: [],
|
|
28037
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). Nothing ever captured it. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
28038
|
+
retired: true
|
|
28039
|
+
},
|
|
28040
|
+
{
|
|
28041
|
+
code: "236-005-004-000-000-000-000",
|
|
28042
|
+
key: "session_summary",
|
|
28043
|
+
title: "Session summary",
|
|
27953
28044
|
selectable: true,
|
|
27954
28045
|
parentCode: "236-005-000-000-000-000-000",
|
|
27955
28046
|
childCodes: [],
|
|
27956
|
-
definition: "
|
|
28047
|
+
definition: "Session summary. Category `notes`. MINTED 2026-10-02 (Crysta: two sub-categories \u2014 'Agree'); in the apps since 2026-10-05 (NARRATIVE-NOTES). Includes the typed session summary (one note marked as the summary \u2014 it has no visibility of its own and freezes when the session is submitted) and each note whose home is that session and that the advocate marked 'Include in session summary'. A marked note from another home shows in the on-screen summary and is included in a share only with its own home, never here.",
|
|
27957
28048
|
levelFloor: 3,
|
|
27958
28049
|
appRelevance: [
|
|
27959
28050
|
"PAVE",
|
|
@@ -44711,7 +44802,7 @@ export {
|
|
|
44711
44802
|
coreDhState_v1_0_0_default as coreDhStateSot,
|
|
44712
44803
|
coreFunctions_v1_0_0_default as coreFunctionsSot,
|
|
44713
44804
|
coreIndicators_v1_1_0_default as coreIndicatorsSot,
|
|
44714
|
-
|
|
44805
|
+
coreInformationScope_v1_1_0_default as coreInformationScopeSot,
|
|
44715
44806
|
coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
|
|
44716
44807
|
countries_v1_0_0_default as countriesSot,
|
|
44717
44808
|
createdBySystem_v1_0_0_default as createdBySystemSot,
|