@htilabs/platform-common-models 0.23.0 → 0.25.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/README.md +104 -0
- package/dist/authz/index.cjs +143 -12
- package/dist/authz/index.cjs.map +1 -1
- package/dist/authz/index.d.cts +121 -12
- package/dist/authz/index.d.ts +121 -12
- package/dist/authz/index.js +136 -12
- package/dist/authz/index.js.map +1 -1
- package/dist/constants/index.cjs +30 -0
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +26 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-Asg7mxjB.d.cts} +12 -9
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-Asg7mxjB.d.ts} +12 -9
- package/dist/{index-CDoqrfc1.d.ts → index-ClTjjJ_S.d.ts} +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-Pt82NxQg.d.cts} +1 -1
- package/dist/index.cjs +604 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +577 -15
- package/dist/index.js.map +1 -1
- package/dist/information-scope/index.d.cts +3 -350
- package/dist/information-scope/index.d.ts +3 -350
- package/dist/informationScopeResolver-BzYu97DE.d.cts +351 -0
- package/dist/informationScopeResolver-BzYu97DE.d.ts +351 -0
- package/dist/models/index.cjs +26 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +26 -1
- package/dist/models/index.js.map +1 -1
- package/dist/{platform-auth-B49Ly57B.d.cts → platform-auth-DJO-r9Pf.d.cts} +48 -1
- package/dist/{platform-auth-B49Ly57B.d.ts → platform-auth-DJO-r9Pf.d.ts} +48 -1
- package/dist/schemas/index.cjs +26 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js +26 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +26 -1
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +2 -1
- package/dist/services/index.d.ts +2 -1
- package/dist/services/index.js +26 -1
- package/dist/services/index.js.map +1 -1
- package/dist/sharing-ceiling/index.cjs +497 -0
- package/dist/sharing-ceiling/index.cjs.map +1 -0
- package/dist/sharing-ceiling/index.d.cts +318 -0
- package/dist/sharing-ceiling/index.d.ts +318 -0
- package/dist/sharing-ceiling/index.js +451 -0
- package/dist/sharing-ceiling/index.js.map +1 -0
- package/dist/types/index.d.cts +11 -3
- package/dist/types/index.d.ts +11 -3
- package/dist/validation/index.cjs +22 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.js +22 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +7 -1
- package/src/__sot__/README.md +2 -1
- package/src/__sot__/coreFunctionFields.ts +88 -4
- package/src/__sot__/coreFunctions.pin.json +1040 -113
- package/src/__sot__/sharingStarter.pin.json +229 -0
- package/src/__tests__/authz-resolve.test.ts +115 -31
- package/src/__tests__/core-function-default-bounds.test.ts +374 -0
- package/src/__tests__/core-functions-case-close.test.ts +82 -0
- package/src/__tests__/sharing-starter-canon.test.ts +178 -0
- package/src/authz/defaultBounds.ts +69 -0
- package/src/authz/index.ts +12 -3
- package/src/authz/resolveEffectiveFunctions.ts +69 -29
- package/src/constants/platform-auth.ts +60 -0
- package/src/generated/coreFunctionDefaultBounds.ts +109 -0
- package/src/generated/sharingPlatformStarter.ts +165 -0
- package/src/index.ts +5 -0
- package/src/schemas/platform-role.ts +4 -1
- package/src/sharingCeiling/__tests__/sharingCeiling.test.ts +678 -0
- package/src/sharingCeiling/chain.ts +269 -0
- package/src/sharingCeiling/coverage.ts +346 -0
- package/src/sharingCeiling/index.ts +14 -0
- package/src/sharingCeiling/starter.ts +89 -0
- package/src/types/platform-auth.ts +9 -2
package/dist/index.js
CHANGED
|
@@ -5930,6 +5930,28 @@ var PERMISSION_STATE_DISPLAY = {
|
|
|
5930
5930
|
icon: "\u{1F512}"
|
|
5931
5931
|
}
|
|
5932
5932
|
};
|
|
5933
|
+
var DEFAULT_BOUND_STATE = {
|
|
5934
|
+
...PERMISSION_STATE,
|
|
5935
|
+
/** Not relevant — canon's `not_applicable_roles` for this function. */
|
|
5936
|
+
NA: "NA"
|
|
5937
|
+
};
|
|
5938
|
+
var DEFAULT_BOUND_STATE_VALUES = [
|
|
5939
|
+
...PERMISSION_STATE_VALUES,
|
|
5940
|
+
DEFAULT_BOUND_STATE.NA
|
|
5941
|
+
];
|
|
5942
|
+
var DEFAULT_BOUND_STATE_LABELS = {
|
|
5943
|
+
...PERMISSION_STATE_LABELS,
|
|
5944
|
+
[DEFAULT_BOUND_STATE.NA]: "Not relevant"
|
|
5945
|
+
};
|
|
5946
|
+
var DEFAULT_BOUND_STATE_DISPLAY = {
|
|
5947
|
+
...PERMISSION_STATE_DISPLAY,
|
|
5948
|
+
[DEFAULT_BOUND_STATE.NA]: {
|
|
5949
|
+
label: "Not relevant",
|
|
5950
|
+
color: "#616161",
|
|
5951
|
+
bgColor: "#f5f5f5",
|
|
5952
|
+
icon: "\u25CC"
|
|
5953
|
+
}
|
|
5954
|
+
};
|
|
5933
5955
|
var SHARE_VIEW = {
|
|
5934
5956
|
/** System metadata only (partial access). */
|
|
5935
5957
|
SYS_INFO: "sys_info",
|
|
@@ -7663,7 +7685,10 @@ var platformRoleSchemaDefinition = {
|
|
|
7663
7685
|
type: Boolean,
|
|
7664
7686
|
default: false
|
|
7665
7687
|
},
|
|
7666
|
-
/**
|
|
7688
|
+
/**
|
|
7689
|
+
* Dynamic map of functionCode → DefaultBoundStateValue (a PERMISSION_STATE
|
|
7690
|
+
* value or the codebook's `NA`); an unlisted function is unbound.
|
|
7691
|
+
*/
|
|
7667
7692
|
functions: {
|
|
7668
7693
|
type: Schema7.Types.Mixed,
|
|
7669
7694
|
default: {}
|
|
@@ -13063,11 +13088,11 @@ function createInformationScopeResolver(input) {
|
|
|
13063
13088
|
});
|
|
13064
13089
|
migrations.set(m.from, perCode);
|
|
13065
13090
|
}
|
|
13066
|
-
const normalize = (codes,
|
|
13091
|
+
const normalize = (codes, withSystemInfo2 = true) => {
|
|
13067
13092
|
const seen = /* @__PURE__ */ new Set();
|
|
13068
13093
|
const known = [];
|
|
13069
13094
|
const unknown = [];
|
|
13070
|
-
const all =
|
|
13095
|
+
const all = withSystemInfo2 ? [INFORMATION_SCOPE_SYSTEM_INFO, ...codes] : [...codes];
|
|
13071
13096
|
for (const c of all) {
|
|
13072
13097
|
if (seen.has(c)) continue;
|
|
13073
13098
|
seen.add(c);
|
|
@@ -13477,11 +13502,9 @@ var STATES = new Set(Object.values(PERMISSION_STATE));
|
|
|
13477
13502
|
function readState(map, code) {
|
|
13478
13503
|
const v = own(map, code);
|
|
13479
13504
|
if (v === void 0 || v === null) return void 0;
|
|
13505
|
+
if (v === DEFAULT_BOUND_STATE.NA) return PERMISSION_STATE.NEVER;
|
|
13480
13506
|
return typeof v === "string" && STATES.has(v) ? v : "malformed";
|
|
13481
13507
|
}
|
|
13482
|
-
function stringList(v) {
|
|
13483
|
-
return Array.isArray(v) ? v.filter((x) => typeof x === "string") : [];
|
|
13484
|
-
}
|
|
13485
13508
|
function teamValueRestricts(map, code) {
|
|
13486
13509
|
const gate = readState(map, code);
|
|
13487
13510
|
return gate !== void 0 && gate !== PERMISSION_STATE.PREF_YES && gate !== PERMISSION_STATE.ALWAYS;
|
|
@@ -13554,31 +13577,30 @@ function resolveEffectiveFunctions(input) {
|
|
|
13554
13577
|
const retired = own(fn, "retired");
|
|
13555
13578
|
if (typeof code !== "string" || !isCanonEvaluableFunction(code)) continue;
|
|
13556
13579
|
if (retired !== void 0 && retired !== false) continue;
|
|
13557
|
-
vocabulary.push(
|
|
13580
|
+
vocabulary.push(code);
|
|
13558
13581
|
}
|
|
13559
13582
|
const agencyAll = readContainer(input.agencyOverrides);
|
|
13560
13583
|
const team = compileTeamGate(input.teamPolicy);
|
|
13561
13584
|
const granted = /* @__PURE__ */ new Set();
|
|
13562
13585
|
for (const roleCode of heldCodes) {
|
|
13563
13586
|
const role = rolesByCode.get(roleCode);
|
|
13564
|
-
const roleTools = new Set(stringList(own(role, "tools")));
|
|
13565
13587
|
const roleFunctions = readContainer(own(role, "functions"));
|
|
13566
13588
|
if (roleFunctions.kind === "malformed") continue;
|
|
13567
13589
|
const agency = agencyAll.kind === "map" ? readContainer(own(agencyAll.map, roleCode)) : agencyAll;
|
|
13568
13590
|
for (const fn of vocabulary) {
|
|
13569
|
-
if (granted.has(fn
|
|
13570
|
-
const listed = roleFunctions.kind === "map" ? readState(roleFunctions.map, fn
|
|
13571
|
-
|
|
13572
|
-
const tier1 = listed === "malformed" ? PERMISSION_STATE.NEVER : listed
|
|
13591
|
+
if (granted.has(fn)) continue;
|
|
13592
|
+
const listed = roleFunctions.kind === "map" ? readState(roleFunctions.map, fn) : void 0;
|
|
13593
|
+
if (listed === void 0) continue;
|
|
13594
|
+
const tier1 = listed === "malformed" ? PERMISSION_STATE.NEVER : listed;
|
|
13573
13595
|
let state = tier1;
|
|
13574
13596
|
if (tier1 !== PERMISSION_STATE.ALWAYS && tier1 !== PERMISSION_STATE.NEVER) {
|
|
13575
|
-
const override = agency.kind === "malformed" ? "malformed" : agency.kind === "map" ? readState(agency.map, fn
|
|
13597
|
+
const override = agency.kind === "malformed" ? "malformed" : agency.kind === "map" ? readState(agency.map, fn) : void 0;
|
|
13576
13598
|
if (override === "malformed") state = PERMISSION_STATE.NEVER;
|
|
13577
13599
|
else if (override !== void 0) state = override;
|
|
13578
13600
|
}
|
|
13579
13601
|
if (state !== PERMISSION_STATE.ALWAYS && state !== PERMISSION_STATE.PREF_YES) continue;
|
|
13580
|
-
if (state !== PERMISSION_STATE.ALWAYS && teamRestricts(team, roleCode, fn
|
|
13581
|
-
granted.add(fn
|
|
13602
|
+
if (state !== PERMISSION_STATE.ALWAYS && teamRestricts(team, roleCode, fn)) continue;
|
|
13603
|
+
granted.add(fn);
|
|
13582
13604
|
}
|
|
13583
13605
|
}
|
|
13584
13606
|
return [...granted].sort();
|
|
@@ -13601,6 +13623,519 @@ function resolveEffectiveViewingLevel(input, teamViewingLevel) {
|
|
|
13601
13623
|
return viewingLevelFromFunctions(resolveEffectiveFunctions(input), teamViewingLevel);
|
|
13602
13624
|
}
|
|
13603
13625
|
|
|
13626
|
+
// src/generated/coreFunctionDefaultBounds.ts
|
|
13627
|
+
var CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION = "1.3.0";
|
|
13628
|
+
var CORE_FUNCTION_DEFAULT_BOUNDS = {
|
|
13629
|
+
"agency_info_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "TEAM-ADM": "PREF_YES" },
|
|
13630
|
+
"announcement_publish": { "MEM-ADM": "PREF_NO", "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "case_nav": "NA" },
|
|
13631
|
+
"api_key_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "SUP": "NEVER", "TEAM-ADM": "NEVER", "case_nav": "NA", "research_analytics": "NA" },
|
|
13632
|
+
"assessments_conduct": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "PREF_YES", "crisis_response": "NEVER", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "NEVER", "research_analytics": "NA", "screener": "NEVER", "volunteer": "NEVER" },
|
|
13633
|
+
"auth_model_manage_platform": { "AUD": "NEVER", "CIRO": "NEVER", "DATA-ADM": "NEVER", "GOV-AUD": "NEVER", "MEM-ADM": "NEVER", "PLT-ADM": "ALWAYS", "PLT-SUP": "NEVER", "SUP": "NEVER", "TEAM-ADM": "NEVER", "research_analytics": "NA" },
|
|
13634
|
+
"case_assign_reassign": { "AUD": "NA", "CIRO": "NA", "DATA-ADM": "NA", "GOV-AUD": "NA", "MEM-ADM": "ALWAYS", "PLT-ADM": "NA", "SUP": "ALWAYS", "TEAM-ADM": "PREF_YES", "behavioral_health_provider": "NA", "case_nav": "ALWAYS", "crisis_response": "NA", "healthcare_provider_medical": "NA", "intel_analyst": "NA", "investigator": "NA", "le_liaison_vsp": "NA", "legal_advocate": "NA", "mandatory_reporter": "NA", "mdt_participant": "NA", "prosecutor_review": "NA", "public_reporter": "NA", "research_analytics": "NA", "screener": "NA", "volunteer": "NA" },
|
|
13635
|
+
"case_claim": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_YES", "intel_analyst": "PREF_YES", "investigator": "PREF_YES", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_YES", "mandatory_reporter": "PREF_YES", "mdt_participant": "PREF_YES", "prosecutor_review": "PREF_YES", "public_reporter": "PREF_YES", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_YES" },
|
|
13636
|
+
"case_close": { "AUD": "NA", "CIRO": "NA", "DATA-ADM": "NA", "GOV-AUD": "NA", "MEM-ADM": "ALWAYS", "PLT-ADM": "NA", "SUP": "ALWAYS", "TEAM-ADM": "PREF_YES", "behavioral_health_provider": "NA", "case_nav": "ALWAYS", "crisis_response": "NA", "healthcare_provider_medical": "NA", "intel_analyst": "NA", "investigator": "NA", "le_liaison_vsp": "NA", "legal_advocate": "NA", "mandatory_reporter": "NA", "mdt_participant": "NA", "prosecutor_review": "NA", "public_reporter": "NA", "research_analytics": "NA", "screener": "NA", "volunteer": "NA" },
|
|
13637
|
+
"case_collaborator_add": { "case_nav": "NA", "investigator": "ALWAYS", "mdt_participant": "ALWAYS", "research_analytics": "NA" },
|
|
13638
|
+
"case_edit": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "PREF_YES", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_NO" },
|
|
13639
|
+
"case_reopen": { "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "investigator": "ALWAYS", "le_liaison_vsp": "NEVER", "research_analytics": "NA", "screener": "NEVER", "volunteer": "PREF_NO" },
|
|
13640
|
+
"case_side_panel_use": { "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_YES", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_YES", "mdt_participant": "PREF_YES", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_NO" },
|
|
13641
|
+
"case_status_manage": { "SUP": "PREF_YES", "case_nav": "NA", "investigator": "ALWAYS", "research_analytics": "NA", "volunteer": "NEVER" },
|
|
13642
|
+
"case_transfer_bulk": { "MEM-ADM": "PREF_YES", "PLT-ADM": "ALWAYS", "SUP": "NEVER", "TEAM-ADM": "PREF_NO", "research_analytics": "NA" },
|
|
13643
|
+
"case_view": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "PREF_YES", "mdt_participant": "PREF_YES", "prosecutor_review": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "NEVER" },
|
|
13644
|
+
"case_visibility_manage": { "MEM-ADM": "ALWAYS", "SUP": "ALWAYS", "case_nav": "NA", "intel_analyst": "PREF_NO", "investigator": "ALWAYS", "research_analytics": "NA", "volunteer": "NEVER" },
|
|
13645
|
+
"ci_periodic_review": { "CIRO": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13646
|
+
"ci_record_purge_or_retire": { "CIRO": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13647
|
+
"ci_record_validate": { "CIRO": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13648
|
+
"ci_to_evidence_export_authorize": { "CIRO": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13649
|
+
"deconfliction_alert_acknowledge": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13650
|
+
"deconfliction_unmask": { "case_nav": "NA", "intel_analyst": "PREF_YES", "investigator": "ALWAYS", "research_analytics": "NA", "volunteer": "NEVER" },
|
|
13651
|
+
"determination_perform": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "PREF_YES", "crisis_response": "NEVER", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "NEVER", "legal_advocate": "PREF_YES", "research_analytics": "NA", "screener": "NEVER", "volunteer": "NEVER" },
|
|
13652
|
+
"disclose_external_request": { "CIRO": "PREF_YES", "PLT-ADM": "ALWAYS", "case_nav": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS" },
|
|
13653
|
+
"enrollment_manage": { "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "healthcare_provider_medical": "PREF_YES", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "PREF_NO", "volunteer": "PREF_NO" },
|
|
13654
|
+
"exit_discharge_conduct": { "case_nav": "ALWAYS", "crisis_response": "PREF_NO", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "NEVER", "volunteer": "NEVER" },
|
|
13655
|
+
"export_deidentified": { "DATA-ADM": "PREF_YES", "PLT-ADM": "ALWAYS", "research_analytics": "PREF_YES" },
|
|
13656
|
+
"goals_plan_manage": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_NO", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "volunteer": "PREF_NO" },
|
|
13657
|
+
"idb_record_create": { "PLT-ADM": "ALWAYS", "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13658
|
+
"indicator_manual_add": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "PREF_YES", "investigator": "PREF_YES", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_NO" },
|
|
13659
|
+
"investigation_create_claim": { "case_nav": "NA", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13660
|
+
"investigation_session_run": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "PREF_YES", "research_analytics": "NA" },
|
|
13661
|
+
"investigative_database_search": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13662
|
+
"investigative_request_send": { "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13663
|
+
"lead_create": { "case_nav": "NA", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13664
|
+
"lead_publish": { "case_nav": "NA", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13665
|
+
"lead_route_assign": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "case_nav": "NA" },
|
|
13666
|
+
"lead_triage_manage": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13667
|
+
"magic_link_share_send": { "PLT-ADM": "NA", "case_nav": "PREF_YES", "crisis_response": "PREF_YES", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_YES", "mdt_participant": "ALWAYS", "research_analytics": "NA", "screener": "PREF_NO", "volunteer": "PREF_NO" },
|
|
13668
|
+
"mandatory_report_send": { "MEM-ADM": "PREF_YES", "PLT-ADM": "NA", "SUP": "PREF_YES", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "healthcare_provider_medical": "PREF_YES", "mandatory_reporter": "ALWAYS", "public_reporter": "PREF_NO", "screener": "PREF_NO", "volunteer": "PREF_NO" },
|
|
13669
|
+
"member_account_report_generate": { "DATA-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "research_analytics": "PREF_YES" },
|
|
13670
|
+
"member_onboarding_support": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "research_analytics": "NA" },
|
|
13671
|
+
"message_moderate": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS" },
|
|
13672
|
+
"message_send": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS", "mandatory_reporter": "ALWAYS", "mdt_participant": "ALWAYS", "prosecutor_review": "ALWAYS", "public_reporter": "PREF_NO", "research_analytics": "ALWAYS", "screener": "ALWAYS", "volunteer": "PREF_YES" },
|
|
13673
|
+
"milestone_log": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA" },
|
|
13674
|
+
"needs_priorities_conduct": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "PREF_YES", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_YES" },
|
|
13675
|
+
"network_corpus_access": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "case_nav": "NA" },
|
|
13676
|
+
"note_open_departed_author": { "MEM-ADM": "PREF_NO" },
|
|
13677
|
+
"onboarding_config_sign_off": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS" },
|
|
13678
|
+
"open_source_search": { "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "ALWAYS" },
|
|
13679
|
+
"person_association_update": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "research_analytics": "NA", "screener": "PREF_YES" },
|
|
13680
|
+
"person_merge_manage": { "PLT-ADM": "ALWAYS", "case_nav": "NA", "intel_analyst": "ALWAYS", "investigator": "PREF_YES", "research_analytics": "NA", "volunteer": "NEVER" },
|
|
13681
|
+
"platform_perm_modify": { "PLT-ADM": "ALWAYS", "research_analytics": "NA" },
|
|
13682
|
+
"profile_domain_edit": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_NO" },
|
|
13683
|
+
"record_activity_view": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_YES", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "PREF_YES", "legal_advocate": "ALWAYS", "mdt_participant": "PREF_YES", "prosecutor_review": "ALWAYS", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_NO" },
|
|
13684
|
+
"record_print": { "CIRO": "PREF_YES", "PLT-ADM": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "investigator": "ALWAYS", "le_liaison_vsp": "NEVER", "legal_advocate": "ALWAYS", "prosecutor_review": "ALWAYS", "research_analytics": "ALWAYS", "screener": "PREF_NO", "volunteer": "NEVER" },
|
|
13685
|
+
"referral_receive_external": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_YES", "intel_analyst": "PREF_YES", "investigator": "PREF_YES", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_YES", "mandatory_reporter": "PREF_YES", "mdt_participant": "PREF_YES", "prosecutor_review": "ALWAYS", "public_reporter": "PREF_YES", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_YES" },
|
|
13686
|
+
"referral_receive_internal": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "PREF_NO", "healthcare_provider_medical": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS", "mdt_participant": "ALWAYS", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_NO" },
|
|
13687
|
+
"referral_send_external": { "PLT-ADM": "NA", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "le_liaison_vsp": "ALWAYS", "mandatory_reporter": "ALWAYS", "mdt_participant": "ALWAYS", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_YES" },
|
|
13688
|
+
"referral_send_internal": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "le_liaison_vsp": "ALWAYS", "mandatory_reporter": "ALWAYS", "mdt_participant": "ALWAYS", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "ALWAYS" },
|
|
13689
|
+
"roi_submit_manage": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS", "mdt_participant": "ALWAYS", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "ALWAYS" },
|
|
13690
|
+
"role_assign": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "SUP": "NA", "TEAM-ADM": "PREF_NO", "research_analytics": "NA" },
|
|
13691
|
+
"roles_accounts_toggle": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS" },
|
|
13692
|
+
"sandbox_environment_manage": { "PLT-ADM": "ALWAYS", "research_analytics": "NA" },
|
|
13693
|
+
"screening_conduct": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "PREF_YES", "crisis_response": "PREF_YES", "healthcare_provider_medical": "ALWAYS", "legal_advocate": "PREF_YES", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_YES" },
|
|
13694
|
+
"screening_view": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "PREF_NO", "healthcare_provider_medical": "ALWAYS", "le_liaison_vsp": "NEVER", "prosecutor_review": "NEVER", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "NEVER" },
|
|
13695
|
+
"service_log_manage": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "PREF_YES", "legal_advocate": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "PREF_YES" },
|
|
13696
|
+
"session_create": { "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "ALWAYS", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "ALWAYS", "legal_advocate": "ALWAYS", "mandatory_reporter": "ALWAYS", "mdt_participant": "ALWAYS", "prosecutor_review": "ALWAYS", "public_reporter": "ALWAYS", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "ALWAYS" },
|
|
13697
|
+
"share_config": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "PLT-SUP": "PREF_YES", "SUP": "NEVER", "TEAM-ADM": "NEVER", "research_analytics": "NA" },
|
|
13698
|
+
"share_revoke": { "PLT-ADM": "ALWAYS", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_YES", "le_liaison_vsp": "PREF_YES", "legal_advocate": "ALWAYS", "mdt_participant": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "PREF_NO", "volunteer": "PREF_NO" },
|
|
13699
|
+
"share_rule_approve_cross_agency": { "GOV-AUD": "PREF_YES", "PLT-ADM": "ALWAYS", "research_analytics": "NA" },
|
|
13700
|
+
"share_vsp_to_le": { "PLT-ADM": "ALWAYS", "case_nav": "PREF_YES", "crisis_response": "NA", "le_liaison_vsp": "ALWAYS", "research_analytics": "NA", "screener": "NEVER", "volunteer": "NEVER" },
|
|
13701
|
+
"srl_manage": { "DATA-ADM": "PREF_YES", "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "TEAM-ADM": "PREF_YES" },
|
|
13702
|
+
"supervisee_thread_view": { "PLT-ADM": "ALWAYS", "SUP": "ALWAYS", "TEAM-ADM": "PREF_YES", "case_nav": "NA" },
|
|
13703
|
+
"support_ticket_triage": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13704
|
+
"system_diagnostics_view": { "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "case_nav": "NA" },
|
|
13705
|
+
"team_config_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "PLT-SUP": "ALWAYS", "SUP": "NEVER", "TEAM-ADM": "NEVER", "research_analytics": "NA" },
|
|
13706
|
+
"team_membership_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "SUP": "NA", "TEAM-ADM": "ALWAYS", "case_nav": "NA", "research_analytics": "NA" },
|
|
13707
|
+
"team_share_narrowing": { "MEM-ADM": "ALWAYS", "SUP": "PREF_NO", "TEAM-ADM": "PREF_YES", "research_analytics": "NA" },
|
|
13708
|
+
"team_workflow_config_manage": { "MEM-ADM": "ALWAYS", "TEAM-ADM": "PREF_YES", "research_analytics": "NA" },
|
|
13709
|
+
"training_gate_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "PLT-SUP": "PREF_YES", "SUP": "NA", "TEAM-ADM": "PREF_YES", "TRAIN-ADM": "ALWAYS", "research_analytics": "NA" },
|
|
13710
|
+
"usr_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "SUP": "NEVER", "TEAM-ADM": "PREF_NO", "research_analytics": "NA" },
|
|
13711
|
+
"viewing_config_manage": { "MEM-ADM": "ALWAYS", "PLT-ADM": "ALWAYS", "SUP": "PREF_YES" },
|
|
13712
|
+
"viewing_level_1_search": { "PLT-ADM": "NA", "behavioral_health_provider": "ALWAYS", "case_nav": "ALWAYS", "crisis_response": "ALWAYS", "healthcare_provider_medical": "PREF_YES", "intel_analyst": "ALWAYS", "investigator": "ALWAYS", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_YES", "mandatory_reporter": "PREF_NO", "mdt_participant": "PREF_YES", "prosecutor_review": "PREF_YES", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "PREF_NO" },
|
|
13713
|
+
"viewing_level_2_autocomplete": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_YES", "case_nav": "ALWAYS", "crisis_response": "PREF_YES", "healthcare_provider_medical": "PREF_NO", "intel_analyst": "PREF_YES", "investigator": "ALWAYS", "le_liaison_vsp": "PREF_YES", "legal_advocate": "PREF_NO", "mandatory_reporter": "NEVER", "mdt_participant": "PREF_NO", "prosecutor_review": "PREF_NO", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "ALWAYS", "volunteer": "NEVER" },
|
|
13714
|
+
"viewing_level_3_components": { "PLT-ADM": "NA", "behavioral_health_provider": "PREF_NO", "case_nav": "PREF_YES", "crisis_response": "PREF_NO", "healthcare_provider_medical": "PREF_NO", "intel_analyst": "PREF_NO", "investigator": "PREF_YES", "le_liaison_vsp": "PREF_NO", "legal_advocate": "PREF_NO", "mandatory_reporter": "NEVER", "mdt_participant": "PREF_NO", "prosecutor_review": "PREF_NO", "public_reporter": "NEVER", "research_analytics": "NA", "screener": "PREF_YES", "volunteer": "NEVER" }
|
|
13715
|
+
};
|
|
13716
|
+
|
|
13717
|
+
// src/authz/defaultBounds.ts
|
|
13718
|
+
function codebookDefaultBound(functionCode, roleCode) {
|
|
13719
|
+
if (!Object.hasOwn(CORE_FUNCTION_DEFAULT_BOUNDS, functionCode)) return null;
|
|
13720
|
+
const roles = CORE_FUNCTION_DEFAULT_BOUNDS[functionCode];
|
|
13721
|
+
return Object.hasOwn(roles, roleCode) ? roles[roleCode] : null;
|
|
13722
|
+
}
|
|
13723
|
+
|
|
13724
|
+
// src/generated/sharingPlatformStarter.ts
|
|
13725
|
+
var SHARING_PLATFORM_STARTER_SOURCE = {
|
|
13726
|
+
"monolith": {
|
|
13727
|
+
"repo": "htilabstech/prototype",
|
|
13728
|
+
"file": "HTI-LEADS-PAVE-Thread-prototype.html",
|
|
13729
|
+
"sha": "d85f05b7",
|
|
13730
|
+
"lines": [
|
|
13731
|
+
326475,
|
|
13732
|
+
326543
|
|
13733
|
+
]
|
|
13734
|
+
},
|
|
13735
|
+
"mirror": {
|
|
13736
|
+
"repo": "htilabstech/platform-prototype",
|
|
13737
|
+
"file": "src/data.js",
|
|
13738
|
+
"sha": "a6f1f3a5",
|
|
13739
|
+
"starterLines": [
|
|
13740
|
+
38170,
|
|
13741
|
+
38190
|
|
13742
|
+
],
|
|
13743
|
+
"purposeLines": [
|
|
13744
|
+
32450,
|
|
13745
|
+
32531
|
|
13746
|
+
]
|
|
13747
|
+
},
|
|
13748
|
+
"fieldPlacements": {
|
|
13749
|
+
"repo": "htilabstech/prototype",
|
|
13750
|
+
"file": "docs/share-roi/information_scope_v4.fields.csv",
|
|
13751
|
+
"sha": "d85f05b7"
|
|
13752
|
+
}
|
|
13753
|
+
};
|
|
13754
|
+
var SHARING_PLATFORM_STARTER_DATA = {
|
|
13755
|
+
scopeVersion: 4,
|
|
13756
|
+
scopeByPurpose: {
|
|
13757
|
+
"referral": ["identifying", "contact", "services", "system", "summary_needs_assessment"],
|
|
13758
|
+
"case_collaboration": ["identifying", "risk", "contact", "services", "notes", "system", "summary_initial_screen", "summary_lap", "summary_danger_assessment", "summary_stalking_assessment", "summary_injury_and_strangulation", "summary_ae_intake", "summary_tra", "summary_needs_assessment"],
|
|
13759
|
+
"deconfliction": ["identifying", "system"],
|
|
13760
|
+
"mandatory_reporting": ["identifying", "risk", "contact", "services", "notes", "system", "summary_initial_screen", "summary_lap", "summary_danger_assessment", "summary_stalking_assessment", "summary_injury_and_strangulation", "summary_ae_intake", "summary_tra", "summary_needs_assessment", "offenders.identifying", "offenders.risk", "relationships_household", "family"],
|
|
13761
|
+
"discretionary_share": ["identifying", "system"],
|
|
13762
|
+
"authority_reporting": ["identifying", "risk", "system", "summary_initial_screen", "summary_lap", "summary_danger_assessment", "summary_stalking_assessment", "summary_injury_and_strangulation", "summary_ae_intake", "summary_tra", "offenders.identifying", "offenders.risk", "relationships_household", "family"],
|
|
13763
|
+
"automatic_account_share": ["identifying", "system"],
|
|
13764
|
+
"records_request": ["identifying", "system"]
|
|
13765
|
+
},
|
|
13766
|
+
counterpartyOverrides: {
|
|
13767
|
+
"palomar": {
|
|
13768
|
+
"case_collaboration": ["identifying", "risk", "contact", "services", "notes", "health_accommodation", "system", "summary_initial_screen", "summary_lap", "summary_danger_assessment", "summary_stalking_assessment", "summary_injury_and_strangulation", "summary_ae_intake", "summary_tra", "summary_mental_health_screen", "summary_behavioral_health_intake", "summary_trauma_and_coping_screen", "summary_needs_assessment"]
|
|
13769
|
+
},
|
|
13770
|
+
"okcpd": {
|
|
13771
|
+
"mandatory_reporting": ["identifying", "risk", "contact", "services", "notes", "system", "summary_initial_screen", "summary_lap", "summary_danger_assessment", "summary_stalking_assessment", "summary_injury_and_strangulation", "summary_ae_intake", "summary_tra", "summary_needs_assessment", "offenders.identifying", "offenders.risk", "relationships_household", "family"],
|
|
13772
|
+
"referral": ["identifying", "contact", "services", "system", "summary_needs_assessment"]
|
|
13773
|
+
},
|
|
13774
|
+
"legal_aid_ok": {
|
|
13775
|
+
"referral": ["identifying", "contact", "services", "notes", "system", "summary_needs_assessment"]
|
|
13776
|
+
}
|
|
13777
|
+
},
|
|
13778
|
+
purposeEnabled: {
|
|
13779
|
+
"referral": true,
|
|
13780
|
+
"case_collaboration": true,
|
|
13781
|
+
"deconfliction": true,
|
|
13782
|
+
"mandatory_reporting": true,
|
|
13783
|
+
"discretionary_share": true,
|
|
13784
|
+
"authority_reporting": true,
|
|
13785
|
+
"automatic_account_share": true,
|
|
13786
|
+
"records_request": false
|
|
13787
|
+
},
|
|
13788
|
+
fieldHomeRows: [
|
|
13789
|
+
"accommodation_needs",
|
|
13790
|
+
"ad_content",
|
|
13791
|
+
"additional_ids",
|
|
13792
|
+
"addresses",
|
|
13793
|
+
"case_attachments",
|
|
13794
|
+
"case_determinations",
|
|
13795
|
+
"case_lifecycle",
|
|
13796
|
+
"case_notes",
|
|
13797
|
+
"commercial_activity",
|
|
13798
|
+
"contact_info",
|
|
13799
|
+
"demographics",
|
|
13800
|
+
"derived_risk_signals",
|
|
13801
|
+
"dob",
|
|
13802
|
+
"encounter_location",
|
|
13803
|
+
"family.health_accommodation",
|
|
13804
|
+
"family.identifying",
|
|
13805
|
+
"family.risk",
|
|
13806
|
+
"full_ae_intake",
|
|
13807
|
+
"full_behavioral_health_intake",
|
|
13808
|
+
"full_danger_assessment",
|
|
13809
|
+
"full_findings",
|
|
13810
|
+
"full_hope_scale",
|
|
13811
|
+
"full_ida",
|
|
13812
|
+
"full_initial_screen",
|
|
13813
|
+
"full_injury_and_strangulation",
|
|
13814
|
+
"full_lap",
|
|
13815
|
+
"full_mental_health_screen",
|
|
13816
|
+
"full_needs_assessment",
|
|
13817
|
+
"full_stalking_assessment",
|
|
13818
|
+
"full_tra",
|
|
13819
|
+
"full_trauma_and_coping_screen",
|
|
13820
|
+
"health_status",
|
|
13821
|
+
"identifying",
|
|
13822
|
+
"immigration_applications",
|
|
13823
|
+
"immigration_status",
|
|
13824
|
+
"instruments",
|
|
13825
|
+
"names",
|
|
13826
|
+
"network_membership",
|
|
13827
|
+
"object_identity_attributes",
|
|
13828
|
+
"offenders.risk",
|
|
13829
|
+
"others.risk",
|
|
13830
|
+
"persona_links",
|
|
13831
|
+
"phone_identifiers",
|
|
13832
|
+
"plans_goals",
|
|
13833
|
+
"priorities_safety",
|
|
13834
|
+
"relationships_household",
|
|
13835
|
+
"screen_indicators",
|
|
13836
|
+
"service_history",
|
|
13837
|
+
"session_summary",
|
|
13838
|
+
"summary_ae_intake",
|
|
13839
|
+
"summary_behavioral_health_intake",
|
|
13840
|
+
"summary_danger_assessment",
|
|
13841
|
+
"summary_findings",
|
|
13842
|
+
"summary_hope_scale",
|
|
13843
|
+
"summary_ida",
|
|
13844
|
+
"summary_initial_screen",
|
|
13845
|
+
"summary_injury_and_strangulation",
|
|
13846
|
+
"summary_lap",
|
|
13847
|
+
"summary_mental_health_screen",
|
|
13848
|
+
"summary_needs_assessment",
|
|
13849
|
+
"summary_stalking_assessment",
|
|
13850
|
+
"summary_tra",
|
|
13851
|
+
"summary_trauma_and_coping_screen",
|
|
13852
|
+
"system",
|
|
13853
|
+
"system_involvement",
|
|
13854
|
+
"victimization"
|
|
13855
|
+
]
|
|
13856
|
+
};
|
|
13857
|
+
|
|
13858
|
+
// src/sharingCeiling/starter.ts
|
|
13859
|
+
var SHARING_CEILING_SCOPE_VERSION = 4;
|
|
13860
|
+
function freezeLists(lists) {
|
|
13861
|
+
const out = {};
|
|
13862
|
+
for (const [purpose, codes] of Object.entries(lists)) out[purpose] = Object.freeze([...codes]);
|
|
13863
|
+
return Object.freeze(out);
|
|
13864
|
+
}
|
|
13865
|
+
var HTI_SHARE_PLATFORM_STARTER = Object.freeze({
|
|
13866
|
+
scopeVersion: SHARING_CEILING_SCOPE_VERSION,
|
|
13867
|
+
scopeByPurpose: freezeLists(SHARING_PLATFORM_STARTER_DATA.scopeByPurpose),
|
|
13868
|
+
counterpartyOverrides: Object.freeze(
|
|
13869
|
+
Object.fromEntries(
|
|
13870
|
+
Object.entries(SHARING_PLATFORM_STARTER_DATA.counterpartyOverrides).map(([cp, lists]) => [
|
|
13871
|
+
cp,
|
|
13872
|
+
freezeLists(lists)
|
|
13873
|
+
])
|
|
13874
|
+
)
|
|
13875
|
+
)
|
|
13876
|
+
});
|
|
13877
|
+
var HTI_SHARE_PLATFORM_PURPOSE_ENABLED = Object.freeze({
|
|
13878
|
+
...SHARING_PLATFORM_STARTER_DATA.purposeEnabled
|
|
13879
|
+
});
|
|
13880
|
+
var INFORMATION_SCOPE_FIELD_HOME_ROWS = new Set(
|
|
13881
|
+
SHARING_PLATFORM_STARTER_DATA.fieldHomeRows
|
|
13882
|
+
);
|
|
13883
|
+
var HTI_SHARE_PLATFORM_STARTER_SOURCE = SHARING_PLATFORM_STARTER_SOURCE;
|
|
13884
|
+
|
|
13885
|
+
// src/sharingCeiling/chain.ts
|
|
13886
|
+
var SHARING_CEILING_DEFAULT_ROW_KEY = "__default__";
|
|
13887
|
+
var SHARING_CEILING_EXTERNAL_ROW_KEY = "__external__";
|
|
13888
|
+
var own2 = (record, key) => record !== null && typeof record === "object" && Object.prototype.hasOwnProperty.call(record, key) ? record[key] : void 0;
|
|
13889
|
+
var isStringList = (v) => Array.isArray(v) && v.every((c) => typeof c === "string");
|
|
13890
|
+
function sharingCeilingCellList(cell) {
|
|
13891
|
+
if (cell.scopeVersion === SHARING_CEILING_SCOPE_VERSION && isStringList(cell.informationScope)) {
|
|
13892
|
+
return [...cell.informationScope];
|
|
13893
|
+
}
|
|
13894
|
+
return [];
|
|
13895
|
+
}
|
|
13896
|
+
var sameSet = (a, b) => {
|
|
13897
|
+
const sa = new Set(a);
|
|
13898
|
+
const sb = new Set(b);
|
|
13899
|
+
return sa.size === sb.size && [...sa].every((c) => sb.has(c));
|
|
13900
|
+
};
|
|
13901
|
+
function sharingScopeEditsFromCells(cells) {
|
|
13902
|
+
const byRow = /* @__PURE__ */ new Map();
|
|
13903
|
+
if (cells === null || cells === void 0 || typeof cells[Symbol.iterator] !== "function") {
|
|
13904
|
+
return {};
|
|
13905
|
+
}
|
|
13906
|
+
for (const cell of cells) {
|
|
13907
|
+
if (cell === null || typeof cell !== "object") continue;
|
|
13908
|
+
const { rowKey, purpose } = cell;
|
|
13909
|
+
if (typeof rowKey !== "string" || rowKey === "" || typeof purpose !== "string" || purpose === "") continue;
|
|
13910
|
+
const list = sharingCeilingCellList(cell);
|
|
13911
|
+
const row = byRow.get(rowKey) ?? /* @__PURE__ */ new Map();
|
|
13912
|
+
const prior = row.get(purpose);
|
|
13913
|
+
row.set(purpose, prior === void 0 || sameSet(prior, list) ? list : []);
|
|
13914
|
+
byRow.set(rowKey, row);
|
|
13915
|
+
}
|
|
13916
|
+
return Object.fromEntries([...byRow].map(([k, row]) => [k, Object.fromEntries(row)]));
|
|
13917
|
+
}
|
|
13918
|
+
function rungList(value) {
|
|
13919
|
+
if (value === void 0 || value === null) return void 0;
|
|
13920
|
+
return isStringList(value) ? [...value] : [];
|
|
13921
|
+
}
|
|
13922
|
+
function isSharingPurposeDisabled(purpose, purposeOverrides, purposeEnabled) {
|
|
13923
|
+
const override = own2(purposeOverrides, purpose);
|
|
13924
|
+
if (override === false) return true;
|
|
13925
|
+
const callerRow = own2(purposeEnabled, purpose);
|
|
13926
|
+
const enabled = typeof callerRow === "boolean" ? callerRow : own2(HTI_SHARE_PLATFORM_PURPOSE_ENABLED, purpose);
|
|
13927
|
+
return enabled === false && override !== true;
|
|
13928
|
+
}
|
|
13929
|
+
function sharingCeilingRowKey(recipient) {
|
|
13930
|
+
if (recipient.external === true) return SHARING_CEILING_EXTERNAL_ROW_KEY;
|
|
13931
|
+
const id = recipient.id;
|
|
13932
|
+
if (typeof id !== "string" || id === "") {
|
|
13933
|
+
throw new TypeError("sharing ceiling: an on-platform recipient needs a partner id");
|
|
13934
|
+
}
|
|
13935
|
+
if (id === SHARING_CEILING_DEFAULT_ROW_KEY || id === SHARING_CEILING_EXTERNAL_ROW_KEY) {
|
|
13936
|
+
throw new RangeError(`sharing ceiling: "${id}" is a reserved row key, not a partner id`);
|
|
13937
|
+
}
|
|
13938
|
+
return id;
|
|
13939
|
+
}
|
|
13940
|
+
function effectiveCeiling(rowKey, purpose, inputs) {
|
|
13941
|
+
if (typeof rowKey !== "string" || rowKey === "") {
|
|
13942
|
+
throw new TypeError("sharing ceiling: rowKey must be a partner id or __external__");
|
|
13943
|
+
}
|
|
13944
|
+
if (rowKey === SHARING_CEILING_DEFAULT_ROW_KEY) {
|
|
13945
|
+
throw new RangeError("sharing ceiling: __default__ is the account default, not a recipient row key");
|
|
13946
|
+
}
|
|
13947
|
+
if (typeof purpose !== "string" || purpose === "") {
|
|
13948
|
+
throw new TypeError("sharing ceiling: purpose must be a share purpose code");
|
|
13949
|
+
}
|
|
13950
|
+
const starter = inputs.starter ?? HTI_SHARE_PLATFORM_STARTER;
|
|
13951
|
+
if (isSharingPurposeDisabled(purpose, inputs.purposeOverrides, inputs.purposeEnabled)) {
|
|
13952
|
+
return { allowed: [], rung: "purpose_disabled", disabled: true };
|
|
13953
|
+
}
|
|
13954
|
+
const edits = inputs.edits;
|
|
13955
|
+
const rungs = [
|
|
13956
|
+
["partner_rule", own2(own2(edits, rowKey), purpose)],
|
|
13957
|
+
["seeded_partner_rule", own2(own2(starter.counterpartyOverrides, rowKey), purpose)],
|
|
13958
|
+
["account_default", own2(own2(edits, SHARING_CEILING_DEFAULT_ROW_KEY), purpose)],
|
|
13959
|
+
["platform_default", own2(starter.scopeByPurpose, purpose)]
|
|
13960
|
+
];
|
|
13961
|
+
for (const [rung, value] of rungs) {
|
|
13962
|
+
const allowed = rungList(value);
|
|
13963
|
+
if (allowed !== void 0) return { allowed, rung, disabled: false };
|
|
13964
|
+
}
|
|
13965
|
+
return { allowed: [], rung: "none", disabled: false };
|
|
13966
|
+
}
|
|
13967
|
+
|
|
13968
|
+
// src/sharingCeiling/coverage.ts
|
|
13969
|
+
var factsCache = /* @__PURE__ */ new WeakMap();
|
|
13970
|
+
function memoize(fn) {
|
|
13971
|
+
const memo = /* @__PURE__ */ new Map();
|
|
13972
|
+
return (code) => {
|
|
13973
|
+
if (memo.has(code)) return memo.get(code);
|
|
13974
|
+
const out = fn(code);
|
|
13975
|
+
memo.set(code, out);
|
|
13976
|
+
return out;
|
|
13977
|
+
};
|
|
13978
|
+
}
|
|
13979
|
+
function treeFacts(scope) {
|
|
13980
|
+
const hit = factsCache.get(scope);
|
|
13981
|
+
if (hit) return hit;
|
|
13982
|
+
const systemPath = scope.ancestorsOf(INFORMATION_SCOPE_SYSTEM_INFO);
|
|
13983
|
+
const systemRoot = systemPath.length > 0 ? systemPath[systemPath.length - 1] : void 0;
|
|
13984
|
+
const isLive = memoize(
|
|
13985
|
+
(code) => scope.row(code) !== void 0 && scope.ancestorsOf(code).every((c) => scope.row(c)?.status !== "retired")
|
|
13986
|
+
);
|
|
13987
|
+
const isSystem = memoize(
|
|
13988
|
+
(code) => systemRoot !== void 0 && scope.ancestorsOf(code).includes(systemRoot)
|
|
13989
|
+
);
|
|
13990
|
+
const underFloor = memoize(
|
|
13991
|
+
(code) => scope.ancestorsOf(code).some((c) => scope.row(c)?.platformFloor === true)
|
|
13992
|
+
);
|
|
13993
|
+
const isCoverageRow = memoize((code) => isLive(code) && !isSystem(code) && !underFloor(code));
|
|
13994
|
+
const coverageChildren = memoize(
|
|
13995
|
+
(code) => Object.freeze(scope.childrenOf(code).filter(isCoverageRow))
|
|
13996
|
+
);
|
|
13997
|
+
const hasOwnContent = memoize((code) => {
|
|
13998
|
+
const row = scope.row(code);
|
|
13999
|
+
if (row === void 0) return false;
|
|
14000
|
+
const homed = INFORMATION_SCOPE_FIELD_HOME_ROWS.has(code) || row.kindRow !== void 0 && INFORMATION_SCOPE_FIELD_HOME_ROWS.has(row.kindRow);
|
|
14001
|
+
if (!homed) return false;
|
|
14002
|
+
return !scope.childrenOf(code).some((c) => scope.row(c)?.rowType === "category_rest" && isLive(c));
|
|
14003
|
+
});
|
|
14004
|
+
const facts = {
|
|
14005
|
+
isLive,
|
|
14006
|
+
isSystem,
|
|
14007
|
+
underFloor,
|
|
14008
|
+
isCoverageRow,
|
|
14009
|
+
coverageChildren,
|
|
14010
|
+
hasOwnContent
|
|
14011
|
+
};
|
|
14012
|
+
factsCache.set(scope, facts);
|
|
14013
|
+
return facts;
|
|
14014
|
+
}
|
|
14015
|
+
function asCeilingSet(allowed) {
|
|
14016
|
+
if (allowed === null) return null;
|
|
14017
|
+
if (allowed instanceof Set) return allowed;
|
|
14018
|
+
if (Array.isArray(allowed)) {
|
|
14019
|
+
return new Set(allowed.filter((c) => typeof c === "string"));
|
|
14020
|
+
}
|
|
14021
|
+
return /* @__PURE__ */ new Set();
|
|
14022
|
+
}
|
|
14023
|
+
function isCeilingCoverageRow(scope, code) {
|
|
14024
|
+
return treeFacts(scope).isCoverageRow(code);
|
|
14025
|
+
}
|
|
14026
|
+
function hasOwnScopeContent(scope, code) {
|
|
14027
|
+
return treeFacts(scope).hasOwnContent(code);
|
|
14028
|
+
}
|
|
14029
|
+
function ceilingCoverage(scope, allowed) {
|
|
14030
|
+
const facts = treeFacts(scope);
|
|
14031
|
+
const set = asCeilingSet(allowed);
|
|
14032
|
+
const memo = /* @__PURE__ */ new Map();
|
|
14033
|
+
const within = (code) => {
|
|
14034
|
+
const hit = memo.get(code);
|
|
14035
|
+
if (hit !== void 0) return hit;
|
|
14036
|
+
let out;
|
|
14037
|
+
if (!facts.isLive(code)) out = false;
|
|
14038
|
+
else if (set === null) out = true;
|
|
14039
|
+
else if (scope.ancestorsOf(code).some((c) => set.has(c))) out = true;
|
|
14040
|
+
else if (facts.hasOwnContent(code)) out = false;
|
|
14041
|
+
else {
|
|
14042
|
+
const kids = facts.coverageChildren(code);
|
|
14043
|
+
out = kids.length > 0 && kids.every(within);
|
|
14044
|
+
}
|
|
14045
|
+
memo.set(code, out);
|
|
14046
|
+
return out;
|
|
14047
|
+
};
|
|
14048
|
+
return within;
|
|
14049
|
+
}
|
|
14050
|
+
function scopeRowWithinCeiling(scope, allowed, code) {
|
|
14051
|
+
return ceilingCoverage(scope, allowed)(code);
|
|
14052
|
+
}
|
|
14053
|
+
function rowsOverCeiling(scope, declared, allowed) {
|
|
14054
|
+
const facts = treeFacts(scope);
|
|
14055
|
+
const within = ceilingCoverage(scope, allowed);
|
|
14056
|
+
const out = [];
|
|
14057
|
+
for (const code of new Set(Array.isArray(declared) ? declared : [])) {
|
|
14058
|
+
if (code === INFORMATION_SCOPE_SYSTEM_INFO) continue;
|
|
14059
|
+
if (!facts.isLive(code)) {
|
|
14060
|
+
out.push(code);
|
|
14061
|
+
continue;
|
|
14062
|
+
}
|
|
14063
|
+
if (facts.isSystem(code) || facts.underFloor(code)) continue;
|
|
14064
|
+
if (!within(code)) out.push(code);
|
|
14065
|
+
}
|
|
14066
|
+
return out;
|
|
14067
|
+
}
|
|
14068
|
+
function walkCeiling(scope, allowed) {
|
|
14069
|
+
const facts = treeFacts(scope);
|
|
14070
|
+
if (asCeilingSet(allowed) === null) return { outside: [], expanded: [] };
|
|
14071
|
+
const within = ceilingCoverage(scope, allowed);
|
|
14072
|
+
const holdsMemo = /* @__PURE__ */ new Map();
|
|
14073
|
+
const holdsWithin = (code) => {
|
|
14074
|
+
const hit = holdsMemo.get(code);
|
|
14075
|
+
if (hit !== void 0) return hit;
|
|
14076
|
+
const out = scope.childrenOf(code).some((c) => facts.isCoverageRow(c) && within(c) || holdsWithin(c));
|
|
14077
|
+
holdsMemo.set(code, out);
|
|
14078
|
+
return out;
|
|
14079
|
+
};
|
|
14080
|
+
const outside = [];
|
|
14081
|
+
const expanded = [];
|
|
14082
|
+
const visit = (code) => {
|
|
14083
|
+
if (!facts.isLive(code) || within(code)) return;
|
|
14084
|
+
if (!holdsWithin(code)) {
|
|
14085
|
+
outside.push(code);
|
|
14086
|
+
return;
|
|
14087
|
+
}
|
|
14088
|
+
if (facts.hasOwnContent(code)) expanded.push(code);
|
|
14089
|
+
for (const child of scope.childrenOf(code)) visit(child);
|
|
14090
|
+
};
|
|
14091
|
+
for (const r of scope.rows) {
|
|
14092
|
+
if (r.parentScopeCode !== null && r.parentScopeCode !== "") continue;
|
|
14093
|
+
if (facts.isSystem(r.scopeCode)) continue;
|
|
14094
|
+
visit(r.scopeCode);
|
|
14095
|
+
}
|
|
14096
|
+
return { outside, expanded };
|
|
14097
|
+
}
|
|
14098
|
+
function rowsOutsideCeiling(scope, allowed) {
|
|
14099
|
+
return walkCeiling(scope, allowed).outside;
|
|
14100
|
+
}
|
|
14101
|
+
function rowsExpandedByCeiling(scope, allowed) {
|
|
14102
|
+
return walkCeiling(scope, allowed).expanded;
|
|
14103
|
+
}
|
|
14104
|
+
function withSystemInfo(codes) {
|
|
14105
|
+
return [.../* @__PURE__ */ new Set([INFORMATION_SCOPE_SYSTEM_INFO, ...codes])];
|
|
14106
|
+
}
|
|
14107
|
+
function subtractRow(scope, selection, code) {
|
|
14108
|
+
const path = scope.ancestorsOf(code);
|
|
14109
|
+
let sel = selection.filter((c) => !scope.ancestorsOf(c).includes(code));
|
|
14110
|
+
for (; ; ) {
|
|
14111
|
+
const coverAt = path.findIndex((c, i) => i > 0 && sel.includes(c));
|
|
14112
|
+
if (coverAt === -1) break;
|
|
14113
|
+
sel = sel.filter((c) => c !== path[coverAt]);
|
|
14114
|
+
for (let i = coverAt; i >= 1; i -= 1) {
|
|
14115
|
+
const parent = path[i];
|
|
14116
|
+
const onPath = path[i - 1];
|
|
14117
|
+
for (const child of scope.childrenOf(parent)) {
|
|
14118
|
+
if (child !== onPath && !sel.includes(child)) sel.push(child);
|
|
14119
|
+
}
|
|
14120
|
+
}
|
|
14121
|
+
}
|
|
14122
|
+
return sel;
|
|
14123
|
+
}
|
|
14124
|
+
function maskSelectionToCeiling(scope, selection, allowed) {
|
|
14125
|
+
const facts = treeFacts(scope);
|
|
14126
|
+
const { outside, expanded } = walkCeiling(scope, allowed);
|
|
14127
|
+
let sel = (Array.isArray(selection) ? selection : []).filter(
|
|
14128
|
+
(c) => typeof c === "string" && facts.isLive(c)
|
|
14129
|
+
);
|
|
14130
|
+
for (const code of expanded) {
|
|
14131
|
+
if (!scope.ancestorsOf(code).some((c) => sel.includes(c))) continue;
|
|
14132
|
+
sel = subtractRow(scope, sel, code);
|
|
14133
|
+
for (const child of scope.childrenOf(code)) if (!sel.includes(child)) sel.push(child);
|
|
14134
|
+
}
|
|
14135
|
+
for (const code of outside) sel = subtractRow(scope, sel, code);
|
|
14136
|
+
return withSystemInfo(sel.filter((c) => facts.isLive(c)));
|
|
14137
|
+
}
|
|
14138
|
+
|
|
13604
14139
|
// src/validation/cvc.ts
|
|
13605
14140
|
import { z } from "zod";
|
|
13606
14141
|
var CvcCodeSchema = z.string().regex(/^\d{3}(-\d{3}){6}$/);
|
|
@@ -62867,6 +63402,8 @@ export {
|
|
|
62867
63402
|
BIRTH_LOCATION_VALUES,
|
|
62868
63403
|
BasisQuickPicksKeys,
|
|
62869
63404
|
CALLER_IS_VICTIM_ROLES,
|
|
63405
|
+
CORE_FUNCTION_DEFAULT_BOUNDS,
|
|
63406
|
+
CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION,
|
|
62870
63407
|
CVC_100_LABELS,
|
|
62871
63408
|
CVC_100_LIVES_RURAL,
|
|
62872
63409
|
CVC_100_VALUES,
|
|
@@ -63041,6 +63578,10 @@ export {
|
|
|
63041
63578
|
DATA_QUALITY_DESCRIPTIONS,
|
|
63042
63579
|
DATA_QUALITY_LABELS,
|
|
63043
63580
|
DATA_QUALITY_VALUES,
|
|
63581
|
+
DEFAULT_BOUND_STATE,
|
|
63582
|
+
DEFAULT_BOUND_STATE_DISPLAY,
|
|
63583
|
+
DEFAULT_BOUND_STATE_LABELS,
|
|
63584
|
+
DEFAULT_BOUND_STATE_VALUES,
|
|
63044
63585
|
DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY,
|
|
63045
63586
|
DaIncidentArchiveReasonKeys,
|
|
63046
63587
|
DaIncidentConfidenceKeys,
|
|
@@ -63079,6 +63620,9 @@ export {
|
|
|
63079
63620
|
GoalStatusKeys,
|
|
63080
63621
|
GoalWithdrawalReasonKeys,
|
|
63081
63622
|
HEALTHCARE_ORG_TYPE_KEYS,
|
|
63623
|
+
HTI_SHARE_PLATFORM_PURPOSE_ENABLED,
|
|
63624
|
+
HTI_SHARE_PLATFORM_STARTER,
|
|
63625
|
+
HTI_SHARE_PLATFORM_STARTER_SOURCE,
|
|
63082
63626
|
HairColorKeys,
|
|
63083
63627
|
HasTattoosKeys,
|
|
63084
63628
|
HighestEducationLevelCompletedKeys,
|
|
@@ -63147,6 +63691,7 @@ export {
|
|
|
63147
63691
|
INCIDENT_PARTICIPATION_ROLE_LABELS,
|
|
63148
63692
|
INCIDENT_PARTICIPATION_ROLE_SUPERSEDED_BY,
|
|
63149
63693
|
INCIDENT_PARTICIPATION_ROLE_VALUES,
|
|
63694
|
+
INFORMATION_SCOPE_FIELD_HOME_ROWS,
|
|
63150
63695
|
INFORMATION_SCOPE_POLICY_VERSION_ROW_NOTE,
|
|
63151
63696
|
INFORMATION_SCOPE_READABLE_VERSIONS,
|
|
63152
63697
|
INFORMATION_SCOPE_SYSTEM_INFO,
|
|
@@ -63269,6 +63814,9 @@ export {
|
|
|
63269
63814
|
SHARE_VIEW,
|
|
63270
63815
|
SHARE_VIEW_LABELS,
|
|
63271
63816
|
SHARE_VIEW_VALUES,
|
|
63817
|
+
SHARING_CEILING_DEFAULT_ROW_KEY,
|
|
63818
|
+
SHARING_CEILING_EXTERNAL_ROW_KEY,
|
|
63819
|
+
SHARING_CEILING_SCOPE_VERSION,
|
|
63272
63820
|
SUBMISSION_STATES,
|
|
63273
63821
|
SUBMISSION_STATE_LABELS,
|
|
63274
63822
|
ServiceAudienceKeys,
|
|
@@ -63362,6 +63910,7 @@ export {
|
|
|
63362
63910
|
carCorrectionReason_v1_0_0_default as carCorrectionReasonSot,
|
|
63363
63911
|
cascadeExclusions,
|
|
63364
63912
|
caseShareState_v1_0_0_default as caseShareStateSot,
|
|
63913
|
+
ceilingCoverage,
|
|
63365
63914
|
checkInActivity_v1_0_0_default as checkInActivitySot,
|
|
63366
63915
|
checkInPhase_v1_1_0_default as checkInPhaseSot,
|
|
63367
63916
|
childBehavioralConcerns_v1_0_0_default as childBehavioralConcernsSot,
|
|
@@ -63369,6 +63918,7 @@ export {
|
|
|
63369
63918
|
childCustodyArrangement_v1_0_0_default as childCustodyArrangementSot,
|
|
63370
63919
|
choiceSchema,
|
|
63371
63920
|
citizenship_v1_0_0_default as citizenshipSot,
|
|
63921
|
+
codebookDefaultBound,
|
|
63372
63922
|
collectionContext_v1_0_0_default as collectionContextSot,
|
|
63373
63923
|
compileModel8 as compileCvcEntryModel,
|
|
63374
63924
|
compileModel7 as compileCvcRegistryModel,
|
|
@@ -63403,6 +63953,7 @@ export {
|
|
|
63403
63953
|
determinationLevel_v1_0_0_default as determinationLevelSot,
|
|
63404
63954
|
disabilitySubtype_v1_0_0_default as disabilitySubtypeSot,
|
|
63405
63955
|
discretionLevel_v1_0_0_default as discretionLevelSot,
|
|
63956
|
+
effectiveCeiling,
|
|
63406
63957
|
emailSchema,
|
|
63407
63958
|
emergencyContactCallReason_v1_0_0_default as emergencyContactCallReasonSot,
|
|
63408
63959
|
emergencyContactPermissions_v1_0_0_default as emergencyContactPermissionsSot,
|
|
@@ -63442,6 +63993,7 @@ export {
|
|
|
63442
63993
|
goalWithdrawalReason_v1_0_0_default as goalWithdrawalReasonSot,
|
|
63443
63994
|
guidanceSchema,
|
|
63444
63995
|
hairColor_v1_0_0_default as hairColorSot,
|
|
63996
|
+
hasOwnScopeContent,
|
|
63445
63997
|
hasTattoos_v1_0_0_default as hasTattoosSot,
|
|
63446
63998
|
highestEducationLevelCompleted_v1_1_0_default as highestEducationLevelCompletedSot,
|
|
63447
63999
|
hivStatus_v1_0_0_default as hivStatusSot,
|
|
@@ -63465,6 +64017,7 @@ export {
|
|
|
63465
64017
|
investigativeRequestType_v1_0_0_default as investigativeRequestTypeSot,
|
|
63466
64018
|
isAgencyTypeKey,
|
|
63467
64019
|
isCanonEvaluableFunction,
|
|
64020
|
+
isCeilingCoverageRow,
|
|
63468
64021
|
isDeprecatedCoreIndicator,
|
|
63469
64022
|
isDeprecatedIncidentParticipationRole,
|
|
63470
64023
|
isHealthcareOrgType,
|
|
@@ -63481,6 +64034,7 @@ export {
|
|
|
63481
64034
|
isScopeInstrumentRow,
|
|
63482
64035
|
isScopeRestRow,
|
|
63483
64036
|
isSelectableScopeRow,
|
|
64037
|
+
isSharingPurposeDisabled,
|
|
63484
64038
|
isStructuredNameType,
|
|
63485
64039
|
isTransgenderGenderIdentity,
|
|
63486
64040
|
isVictimServingOrgType,
|
|
@@ -63494,6 +64048,7 @@ export {
|
|
|
63494
64048
|
livingSituation_v1_0_0_default as livingSituationSot,
|
|
63495
64049
|
locationType_v1_0_0_default as locationTypeSot,
|
|
63496
64050
|
maritalStatusLegal_v1_0_0_default as maritalStatusLegalSot,
|
|
64051
|
+
maskSelectionToCeiling,
|
|
63497
64052
|
mentalHealthStatus_v1_0_0_default as mentalHealthStatusSot,
|
|
63498
64053
|
messageReportReason_v1_0_0_default as messageReportReasonSot,
|
|
63499
64054
|
midStayEventType_v1_0_0_default as midStayEventTypeSot,
|
|
@@ -63573,8 +64128,12 @@ export {
|
|
|
63573
64128
|
roiStatus_v1_0_0_default as roiStatusSot,
|
|
63574
64129
|
roleContext_v1_0_0_default as roleContextSot,
|
|
63575
64130
|
romanticRelationshipChangeType_v1_0_0_default as romanticRelationshipChangeTypeSot,
|
|
64131
|
+
rowsExpandedByCeiling,
|
|
64132
|
+
rowsOutsideCeiling,
|
|
64133
|
+
rowsOverCeiling,
|
|
63576
64134
|
rsvpResponse_v1_0_0_default as rsvpResponseSot,
|
|
63577
64135
|
scopeMigrationsFromSot,
|
|
64136
|
+
scopeRowWithinCeiling,
|
|
63578
64137
|
scopeRowsFromSot,
|
|
63579
64138
|
scoringConditionSchema,
|
|
63580
64139
|
scoringRecommendationSchema,
|
|
@@ -63602,6 +64161,9 @@ export {
|
|
|
63602
64161
|
sexProviderSubrole_v1_0_0_default as sexProviderSubroleSot,
|
|
63603
64162
|
sharePurpose_v1_0_0_default as sharePurposeSot,
|
|
63604
64163
|
shareResponseReason_v1_0_0_default as shareResponseReasonSot,
|
|
64164
|
+
sharingCeilingCellList,
|
|
64165
|
+
sharingCeilingRowKey,
|
|
64166
|
+
sharingScopeEditsFromCells,
|
|
63605
64167
|
signatureMethod_v1_0_0_default as signatureMethodSot,
|
|
63606
64168
|
signatureType_v1_0_0_default as signatureTypeSot,
|
|
63607
64169
|
smtBodyLocation_v1_0_0_default as smtBodyLocationSot,
|