@htilabs/platform-common-models 0.8.13 → 0.8.14
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 +44 -0
- package/dist/config/index.cjs +4 -0
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +16 -1
- package/dist/config/index.d.ts +16 -1
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +10 -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 +10 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +505 -2
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +2642 -2084
- package/dist/cvcs/index.d.ts +2642 -2084
- package/dist/cvcs/index.js +500 -2
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +582 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +111 -7
- package/dist/index.d.ts +111 -7
- package/dist/index.js +571 -4
- 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/mongo/index.cjs +383 -0
- package/dist/mongo/index.cjs.map +1 -0
- package/dist/mongo/index.d.cts +221 -0
- package/dist/mongo/index.d.ts +221 -0
- package/dist/mongo/index.js +351 -0
- package/dist/mongo/index.js.map +1 -0
- package/dist/{platform-auth-BfCMuAlC.d.cts → platform-auth-AsfnIXfK.d.cts} +2 -2
- package/dist/{platform-auth-BfCMuAlC.d.ts → platform-auth-AsfnIXfK.d.ts} +2 -2
- package/dist/schemas/index.cjs +5 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +29 -25
- package/dist/schemas/index.d.ts +29 -25
- package/dist/schemas/index.js +5 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +10 -1
- package/src/__sot__/coreIndicators.pin.json +6 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +18 -2
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +6 -3
- package/src/__tests__/cvc-drift-gate.test.ts +14 -3
- package/src/__tests__/cvc-sot-snapshot.test.ts +13 -1
- package/src/__tests__/cvc-structural.test.ts +6 -0
- package/src/__tests__/mongo-verifier.test.ts +502 -0
- package/src/config/index.ts +8 -2
- package/src/constants/ic.ts +31 -2
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +67 -2
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/index.ts +18 -0
- package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
- package/src/cvcs/subjectType.v1.0.0.json +80 -0
- package/src/generated/cvc-enums.ts +76 -2
- package/src/index.ts +20 -0
- package/src/mongo/catalog.ts +65 -0
- package/src/mongo/contract.ts +157 -0
- package/src/mongo/index.ts +343 -0
- package/src/mongo/similarity.ts +133 -0
- package/src/mongo/uri.ts +53 -0
- package/src/schemas/common.ts +4 -0
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
package/dist/cvcs/index.js
CHANGED
|
@@ -26349,8 +26349,8 @@ var coreIndicators_v1_0_0_default = {
|
|
|
26349
26349
|
domain: "core_indicators",
|
|
26350
26350
|
name: "Core Indicators (CVC-136)",
|
|
26351
26351
|
version: "1.0.0",
|
|
26352
|
-
_status: "CANONICAL \u2014 re-sourced 0.
|
|
26353
|
-
_source: "htilabstech/prototype@
|
|
26352
|
+
_status: "CANONICAL \u2014 re-sourced 0.11.1 from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD 84a1b677 (213 codes; +5 vs the 0.8.13 pin a596eb9, 0 withdrawn), plus 2 codes that @hti/scoring (`weights/risk.weights.json` @ 9b5d654, `emits_by_code`) emits but the codebook has not yet adopted (`coercive_debt_pressure_youth`, `debt_terms_deceptive_youth`), each flagged `pendingUpstreamAdoption: true`. 215 substantive + the missingness quadruplet = 219 entries. New codes are APPENDED at 211-215 so every previously issued positional code stays stable.",
|
|
26353
|
+
_source: "htilabstech/prototype@84a1b677 data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
|
|
26354
26354
|
levels: {
|
|
26355
26355
|
"0": "Unknown or Missing",
|
|
26356
26356
|
"1": "Indicator"
|
|
@@ -29186,6 +29186,71 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
|
|
|
29186
29186
|
polarity: "increases_risk",
|
|
29187
29187
|
severity: "elevated",
|
|
29188
29188
|
isAlert: "none"
|
|
29189
|
+
},
|
|
29190
|
+
{
|
|
29191
|
+
code: "136-211-000-000-000-000-000",
|
|
29192
|
+
key: "clients_unaware_of_third_party_coordination",
|
|
29193
|
+
title: "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
29194
|
+
selectable: true,
|
|
29195
|
+
parentCode: null,
|
|
29196
|
+
childCodes: [],
|
|
29197
|
+
definition: `LEADS TRA-7-aware captured that sex buyers reaching out to "the person" are in fact coordinating with a third party (dispatcher / manager / call service) WITHOUT knowing it \u2014 a concealed-intermediary booking pattern. Concealment of the coordinating third party from buyers is a control + facilitation marker over and above third-party coordination itself (which TRA-7 sometimes/never + TRA-7-who already capture): the operation is actively passing as the provider. Authored 2026-07-17 (TRA-VETTING, Crysta: "let's author one") for the restored production follow-up question.`,
|
|
29198
|
+
family: "mechanism_control",
|
|
29199
|
+
polarity: "increases_risk",
|
|
29200
|
+
severity: "elevated",
|
|
29201
|
+
isAlert: "none"
|
|
29202
|
+
},
|
|
29203
|
+
{
|
|
29204
|
+
code: "136-212-000-000-000-000-000",
|
|
29205
|
+
key: "depends_on_spouse_or_family_for_immigration_status",
|
|
29206
|
+
title: "Depends on spouse / family member for immigration status (tied family visa)",
|
|
29207
|
+
selectable: true,
|
|
29208
|
+
parentCode: null,
|
|
29209
|
+
childCodes: [],
|
|
29210
|
+
definition: `Indication the person's legal ability to remain in the U.S. depends on a spouse, fianc\xE9(e), or family member (family/fianc\xE9-based immigrant visa or derivative status) while their current status is a valid or overstayed visa. The family twin of depends_on_employer_for_immigration_status: a visa tied to a potentially abusive relationship is a major dependence vulnerability and a coercion lever ("stay / comply or lose your status"). Authored 2026-07-17 (TRA-VETTING open-items round, Crysta: dependence "whether it is via your husband or your employer is a MAJOR vulnerability").`,
|
|
29211
|
+
family: "mechanism_control",
|
|
29212
|
+
polarity: "depends",
|
|
29213
|
+
severity: "elevated",
|
|
29214
|
+
isAlert: "none"
|
|
29215
|
+
},
|
|
29216
|
+
{
|
|
29217
|
+
code: "136-213-000-000-000-000-000",
|
|
29218
|
+
key: "sexualized_content_in_person_performance_activity",
|
|
29219
|
+
title: "In-person sexualized performance / appearance-based activity",
|
|
29220
|
+
selectable: true,
|
|
29221
|
+
parentCode: null,
|
|
29222
|
+
childCodes: [],
|
|
29223
|
+
definition: "Canonical activity evidence (DH \xA7 II Activity 2.2.3) that the person engages in in-person sexualized, erotic, appearance-based, or entertainment activity with sexualized expectations \u2014 stripping, dancing, posing, hostess or venue work, escort/companionship without an established sex act \u2014 sex-market-adjacent, recorded descriptively; not necessarily a sex act for value.",
|
|
29224
|
+
family: "cs_industry_context",
|
|
29225
|
+
polarity: "increases_risk",
|
|
29226
|
+
severity: "elevated",
|
|
29227
|
+
isAlert: "none"
|
|
29228
|
+
},
|
|
29229
|
+
{
|
|
29230
|
+
code: "136-214-000-000-000-000-000",
|
|
29231
|
+
key: "sexualized_content_online_performance_activity",
|
|
29232
|
+
title: "Online sexual performance / interactive sexual content activity",
|
|
29233
|
+
selectable: true,
|
|
29234
|
+
parentCode: null,
|
|
29235
|
+
childCodes: [],
|
|
29236
|
+
definition: "Canonical activity evidence (DH \xA7 II Activity 2.2.2) that the person engages in sexualized or sexually explicit activity performed, streamed, recorded, messaged, or displayed through online or digital platforms \u2014 webcamming, livestreams, paid chats, content-platform work \u2014 recorded descriptively whether or not a commercial sex act is established.",
|
|
29237
|
+
family: "cs_industry_context",
|
|
29238
|
+
polarity: "increases_risk",
|
|
29239
|
+
severity: "elevated",
|
|
29240
|
+
isAlert: "none"
|
|
29241
|
+
},
|
|
29242
|
+
{
|
|
29243
|
+
code: "136-215-000-000-000-000-000",
|
|
29244
|
+
key: "trauma_perpetrator_is_current_manager",
|
|
29245
|
+
title: "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
29246
|
+
selectable: true,
|
|
29247
|
+
parentCode: null,
|
|
29248
|
+
childCodes: [],
|
|
29249
|
+
definition: 'ENGINE-DERIVED conjunction: the same person the subject named as a trauma perpetrator (TRA-35 sexual violence / physical abuse / emotional-verbal-stalking capture) ALSO holds an operational-control edge over the subject (a TRA facilitation who-answer \u2014 posts ads / arranges dates / controls or keeps earnings / receives payments / organizes travel / holds documentation / above in the operation \u2014 or a relationship pair with a facilitator/offender role signal of their own). Two independently-captured facts joined on person identity \u2014 never an assumption (Crysta 2026-07-17: "these are two different questions"). The conjunction is the classic trauma-bonded, difficult-to-leave control situation.',
|
|
29250
|
+
family: "mechanism_control",
|
|
29251
|
+
polarity: "increases_risk",
|
|
29252
|
+
severity: "severe",
|
|
29253
|
+
isAlert: "none"
|
|
29189
29254
|
}
|
|
29190
29255
|
]
|
|
29191
29256
|
};
|
|
@@ -36875,6 +36940,434 @@ var suggestionSource_v1_0_0_default = {
|
|
|
36875
36940
|
}
|
|
36876
36941
|
]
|
|
36877
36942
|
};
|
|
36943
|
+
|
|
36944
|
+
// src/cvcs/assertionStatus.v1.0.0.json
|
|
36945
|
+
var assertionStatus_v1_0_0_default = {
|
|
36946
|
+
domain: "assertion_status",
|
|
36947
|
+
name: "Assertion Status",
|
|
36948
|
+
version: "1.0.0",
|
|
36949
|
+
_status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - status`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `ASSERTION_STATUSES` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive lifecycle states, so the missingness quadruplet is added per SOT convention.",
|
|
36950
|
+
_source: "pave-2.0/packages/domain/src/enums.ts ASSERTION_STATUSES",
|
|
36951
|
+
levels: {
|
|
36952
|
+
"0": "Unknown or Missing",
|
|
36953
|
+
"1": "Assertion lifecycle status"
|
|
36954
|
+
},
|
|
36955
|
+
entries: [
|
|
36956
|
+
{
|
|
36957
|
+
code: "985-000-000-000-000-000-000",
|
|
36958
|
+
key: "missingness_root",
|
|
36959
|
+
title: "Unknown, Redacted, or Missing",
|
|
36960
|
+
selectable: false,
|
|
36961
|
+
parentCode: null,
|
|
36962
|
+
childCodes: [
|
|
36963
|
+
"985-000-000-000-000-000-001",
|
|
36964
|
+
"985-000-000-000-000-000-002",
|
|
36965
|
+
"985-000-000-000-000-000-003"
|
|
36966
|
+
],
|
|
36967
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
36968
|
+
},
|
|
36969
|
+
{
|
|
36970
|
+
code: "985-000-000-000-000-000-001",
|
|
36971
|
+
key: "unknown",
|
|
36972
|
+
title: "Unknown",
|
|
36973
|
+
selectable: true,
|
|
36974
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
36975
|
+
childCodes: [],
|
|
36976
|
+
definition: "The assertion status is unknown at time of entry (missingness sentinel)."
|
|
36977
|
+
},
|
|
36978
|
+
{
|
|
36979
|
+
code: "985-000-000-000-000-000-002",
|
|
36980
|
+
key: "anonymous",
|
|
36981
|
+
title: "Anonymous / declined to answer",
|
|
36982
|
+
selectable: true,
|
|
36983
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
36984
|
+
childCodes: [],
|
|
36985
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
36986
|
+
},
|
|
36987
|
+
{
|
|
36988
|
+
code: "985-000-000-000-000-000-003",
|
|
36989
|
+
key: "data_not_collected",
|
|
36990
|
+
title: "Data not collected",
|
|
36991
|
+
selectable: true,
|
|
36992
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
36993
|
+
childCodes: [],
|
|
36994
|
+
definition: "No attempt was made to collect the value."
|
|
36995
|
+
},
|
|
36996
|
+
{
|
|
36997
|
+
code: "985-001-000-000-000-000-000",
|
|
36998
|
+
key: "active",
|
|
36999
|
+
title: "Active",
|
|
37000
|
+
selectable: true,
|
|
37001
|
+
parentCode: null,
|
|
37002
|
+
childCodes: [],
|
|
37003
|
+
definition: 'In force \u2014 the current, non-superseded row for its spine partition. Emitting systems typically default new assertions to this status (e.g. PAVE\'s assertion factory defaults `status: "active"`).'
|
|
37004
|
+
},
|
|
37005
|
+
{
|
|
37006
|
+
code: "985-002-000-000-000-000-000",
|
|
37007
|
+
key: "superseded",
|
|
37008
|
+
title: "Superseded",
|
|
37009
|
+
selectable: true,
|
|
37010
|
+
parentCode: null,
|
|
37011
|
+
childCodes: [],
|
|
37012
|
+
definition: 'Replaced by a later assertion row in the same spine partition. When status === "superseded", `supersedes_assertion_id` is required per GLOBAL_DESIGN_RULES \xA75.5.'
|
|
37013
|
+
},
|
|
37014
|
+
{
|
|
37015
|
+
code: "985-003-000-000-000-000-000",
|
|
37016
|
+
key: "retracted",
|
|
37017
|
+
title: "Retracted",
|
|
37018
|
+
selectable: true,
|
|
37019
|
+
parentCode: null,
|
|
37020
|
+
childCodes: [],
|
|
37021
|
+
definition: "Withdrawn or invalidated without a replacement row \u2014 the claim is no longer asserted. Distinct from superseded (which points at a successor)."
|
|
37022
|
+
}
|
|
37023
|
+
]
|
|
37024
|
+
};
|
|
37025
|
+
|
|
37026
|
+
// src/cvcs/createdBySystem.v1.0.0.json
|
|
37027
|
+
var createdBySystem_v1_0_0_default = {
|
|
37028
|
+
domain: "created_by_system",
|
|
37029
|
+
name: "Created By System",
|
|
37030
|
+
version: "1.0.0",
|
|
37031
|
+
_status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - created_by_system`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `CREATED_BY_SYSTEMS` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive actor classes, so the missingness quadruplet is added per SOT convention.",
|
|
37032
|
+
_source: "pave-2.0/packages/domain/src/enums.ts CREATED_BY_SYSTEMS",
|
|
37033
|
+
levels: {
|
|
37034
|
+
"0": "Unknown or Missing",
|
|
37035
|
+
"1": "Creating actor class"
|
|
37036
|
+
},
|
|
37037
|
+
entries: [
|
|
37038
|
+
{
|
|
37039
|
+
code: "986-000-000-000-000-000-000",
|
|
37040
|
+
key: "missingness_root",
|
|
37041
|
+
title: "Unknown, Redacted, or Missing",
|
|
37042
|
+
selectable: false,
|
|
37043
|
+
parentCode: null,
|
|
37044
|
+
childCodes: [
|
|
37045
|
+
"986-000-000-000-000-000-001",
|
|
37046
|
+
"986-000-000-000-000-000-002",
|
|
37047
|
+
"986-000-000-000-000-000-003"
|
|
37048
|
+
],
|
|
37049
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
37050
|
+
},
|
|
37051
|
+
{
|
|
37052
|
+
code: "986-000-000-000-000-000-001",
|
|
37053
|
+
key: "unknown",
|
|
37054
|
+
title: "Unknown",
|
|
37055
|
+
selectable: true,
|
|
37056
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
37057
|
+
childCodes: [],
|
|
37058
|
+
definition: "The creating actor class is unknown at time of entry (missingness sentinel)."
|
|
37059
|
+
},
|
|
37060
|
+
{
|
|
37061
|
+
code: "986-000-000-000-000-000-002",
|
|
37062
|
+
key: "anonymous",
|
|
37063
|
+
title: "Anonymous / declined to answer",
|
|
37064
|
+
selectable: true,
|
|
37065
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
37066
|
+
childCodes: [],
|
|
37067
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
37068
|
+
},
|
|
37069
|
+
{
|
|
37070
|
+
code: "986-000-000-000-000-000-003",
|
|
37071
|
+
key: "data_not_collected",
|
|
37072
|
+
title: "Data not collected",
|
|
37073
|
+
selectable: true,
|
|
37074
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
37075
|
+
childCodes: [],
|
|
37076
|
+
definition: "No attempt was made to collect the value."
|
|
37077
|
+
},
|
|
37078
|
+
{
|
|
37079
|
+
code: "986-001-000-000-000-000-000",
|
|
37080
|
+
key: "human",
|
|
37081
|
+
title: "Human",
|
|
37082
|
+
selectable: true,
|
|
37083
|
+
parentCode: null,
|
|
37084
|
+
childCodes: [],
|
|
37085
|
+
definition: 'A person created the assertion row directly. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `createdBySystem: "human"`).'
|
|
37086
|
+
},
|
|
37087
|
+
{
|
|
37088
|
+
code: "986-002-000-000-000-000-000",
|
|
37089
|
+
key: "integration",
|
|
37090
|
+
title: "Integration",
|
|
37091
|
+
selectable: true,
|
|
37092
|
+
parentCode: null,
|
|
37093
|
+
childCodes: [],
|
|
37094
|
+
definition: "An external-system integration created the row (cross-app ingest, imports, connected systems). Pair with source/provenance fields for the originating system."
|
|
37095
|
+
},
|
|
37096
|
+
{
|
|
37097
|
+
code: "986-003-000-000-000-000-000",
|
|
37098
|
+
key: "rules_engine",
|
|
37099
|
+
title: "Rules engine",
|
|
37100
|
+
selectable: true,
|
|
37101
|
+
parentCode: null,
|
|
37102
|
+
childCodes: [],
|
|
37103
|
+
definition: "Deterministic business logic or a rules engine created the row. `inference_type` is required when created_by_system \u2208 {rules_engine, model} per GLOBAL_DESIGN_RULES \xA75.5."
|
|
37104
|
+
},
|
|
37105
|
+
{
|
|
37106
|
+
code: "986-004-000-000-000-000-000",
|
|
37107
|
+
key: "model",
|
|
37108
|
+
title: "Model",
|
|
37109
|
+
selectable: true,
|
|
37110
|
+
parentCode: null,
|
|
37111
|
+
childCodes: [],
|
|
37112
|
+
definition: "An ML model or statistical scoring process created the row. `inference_type` is required when created_by_system \u2208 {rules_engine, model} per GLOBAL_DESIGN_RULES \xA75.5."
|
|
37113
|
+
}
|
|
37114
|
+
]
|
|
37115
|
+
};
|
|
37116
|
+
|
|
37117
|
+
// src/cvcs/subjectType.v1.0.0.json
|
|
37118
|
+
var subjectType_v1_0_0_default = {
|
|
37119
|
+
domain: "subject_type",
|
|
37120
|
+
name: "Subject Type",
|
|
37121
|
+
version: "1.0.0",
|
|
37122
|
+
_status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - subject_type`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `SUBJECT_TYPES` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive entity kinds, so the missingness quadruplet is added per SOT convention.",
|
|
37123
|
+
_source: "pave-2.0/packages/domain/src/enums.ts SUBJECT_TYPES",
|
|
37124
|
+
levels: {
|
|
37125
|
+
"0": "Unknown or Missing",
|
|
37126
|
+
"1": "Assertion subject type"
|
|
37127
|
+
},
|
|
37128
|
+
entries: [
|
|
37129
|
+
{
|
|
37130
|
+
code: "987-000-000-000-000-000-000",
|
|
37131
|
+
key: "missingness_root",
|
|
37132
|
+
title: "Unknown, Redacted, or Missing",
|
|
37133
|
+
selectable: false,
|
|
37134
|
+
parentCode: null,
|
|
37135
|
+
childCodes: [
|
|
37136
|
+
"987-000-000-000-000-000-001",
|
|
37137
|
+
"987-000-000-000-000-000-002",
|
|
37138
|
+
"987-000-000-000-000-000-003"
|
|
37139
|
+
],
|
|
37140
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
37141
|
+
},
|
|
37142
|
+
{
|
|
37143
|
+
code: "987-000-000-000-000-000-001",
|
|
37144
|
+
key: "unknown",
|
|
37145
|
+
title: "Unknown",
|
|
37146
|
+
selectable: true,
|
|
37147
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
37148
|
+
childCodes: [],
|
|
37149
|
+
definition: "The subject type is unknown at time of entry (missingness sentinel)."
|
|
37150
|
+
},
|
|
37151
|
+
{
|
|
37152
|
+
code: "987-000-000-000-000-000-002",
|
|
37153
|
+
key: "anonymous",
|
|
37154
|
+
title: "Anonymous / declined to answer",
|
|
37155
|
+
selectable: true,
|
|
37156
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
37157
|
+
childCodes: [],
|
|
37158
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
37159
|
+
},
|
|
37160
|
+
{
|
|
37161
|
+
code: "987-000-000-000-000-000-003",
|
|
37162
|
+
key: "data_not_collected",
|
|
37163
|
+
title: "Data not collected",
|
|
37164
|
+
selectable: true,
|
|
37165
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
37166
|
+
childCodes: [],
|
|
37167
|
+
definition: "No attempt was made to collect the value."
|
|
37168
|
+
},
|
|
37169
|
+
{
|
|
37170
|
+
code: "987-001-000-000-000-000-000",
|
|
37171
|
+
key: "person",
|
|
37172
|
+
title: "Person",
|
|
37173
|
+
selectable: true,
|
|
37174
|
+
parentCode: null,
|
|
37175
|
+
childCodes: [],
|
|
37176
|
+
definition: 'The assertion is about a person; `subject_id` resolves to a person record. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `subjectType: "person"`).'
|
|
37177
|
+
},
|
|
37178
|
+
{
|
|
37179
|
+
code: "987-002-000-000-000-000-000",
|
|
37180
|
+
key: "relationship",
|
|
37181
|
+
title: "Relationship",
|
|
37182
|
+
selectable: true,
|
|
37183
|
+
parentCode: null,
|
|
37184
|
+
childCodes: [],
|
|
37185
|
+
definition: "The assertion is about a relationship between people; `subject_id` resolves to a relationship record."
|
|
37186
|
+
},
|
|
37187
|
+
{
|
|
37188
|
+
code: "987-003-000-000-000-000-000",
|
|
37189
|
+
key: "case",
|
|
37190
|
+
title: "Case",
|
|
37191
|
+
selectable: true,
|
|
37192
|
+
parentCode: null,
|
|
37193
|
+
childCodes: [],
|
|
37194
|
+
definition: "The assertion is about a case; `subject_id` resolves to a case record."
|
|
37195
|
+
}
|
|
37196
|
+
]
|
|
37197
|
+
};
|
|
37198
|
+
|
|
37199
|
+
// src/cvcs/minorAdultStatus.v1.0.0.json
|
|
37200
|
+
var minorAdultStatus_v1_0_0_default = {
|
|
37201
|
+
domain: "minor_adult_status",
|
|
37202
|
+
name: "Minor / Adult Status (age band at event)",
|
|
37203
|
+
version: "1.0.0",
|
|
37204
|
+
_status: "PROVISIONAL \u2014 GDR \xA710.1 confirmed-CVC name is `core - minor_adult_status`, and the canonical index DOES number this concept (Final CVCs/CVC_INDEX.md @ a596eb9: CVC-61 `minor_adult_status`) \u2014 but the CVC-61 Notion codebook has 0 entries anywhere, and ADR-CVC-0.8.13-canonical-alignment \xA7Deliberately-NOT-authored (NARRATIVE_ONLY) deliberately declined to author at 61 to avoid manufacturing canonical drift. This vocabulary therefore parks in the provisional 900-block; RENUMBER 988 \u2192 61 when the CVC-61 Notion codebook gains substantive entries (and reconcile membership at that point). Substantive values sourced verbatim from the PAVE @pave/domain `AGE_BANDS_AT_EVENT` enum (D10 GDR \xA710.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish): PAVE's `minor` / `adult` / `indeterminate` stay substantive; PAVE's fourth member `unknown` maps to the canonical missingness `unknown` sentinel (same realignment shape as the ROLE_CONTEXTS 0.7.0 bind), so every PAVE member remains expressible. Distinct from the numeric IC constant MINOR_ADULT_STATUS in constants/ic.ts (IC layer, 1/2/99) \u2014 that is a different encoding layer, not a parallel CVC.",
|
|
37205
|
+
_source: "pave-2.0/packages/domain/src/enums.ts AGE_BANDS_AT_EVENT",
|
|
37206
|
+
levels: {
|
|
37207
|
+
"0": "Unknown or Missing",
|
|
37208
|
+
"1": "Minor / adult status at event"
|
|
37209
|
+
},
|
|
37210
|
+
entries: [
|
|
37211
|
+
{
|
|
37212
|
+
code: "988-000-000-000-000-000-000",
|
|
37213
|
+
key: "missingness_root",
|
|
37214
|
+
title: "Unknown, Redacted, or Missing",
|
|
37215
|
+
selectable: false,
|
|
37216
|
+
parentCode: null,
|
|
37217
|
+
childCodes: [
|
|
37218
|
+
"988-000-000-000-000-000-001",
|
|
37219
|
+
"988-000-000-000-000-000-002",
|
|
37220
|
+
"988-000-000-000-000-000-003"
|
|
37221
|
+
],
|
|
37222
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
37223
|
+
},
|
|
37224
|
+
{
|
|
37225
|
+
code: "988-000-000-000-000-000-001",
|
|
37226
|
+
key: "unknown",
|
|
37227
|
+
title: "Unknown",
|
|
37228
|
+
selectable: true,
|
|
37229
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
37230
|
+
childCodes: [],
|
|
37231
|
+
definition: "The age band is unknown \u2014 not assessed or not recorded (missingness sentinel). Carries PAVE's `unknown` member of AGE_BANDS_AT_EVENT."
|
|
37232
|
+
},
|
|
37233
|
+
{
|
|
37234
|
+
code: "988-000-000-000-000-000-002",
|
|
37235
|
+
key: "anonymous",
|
|
37236
|
+
title: "Anonymous / declined to answer",
|
|
37237
|
+
selectable: true,
|
|
37238
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
37239
|
+
childCodes: [],
|
|
37240
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
37241
|
+
},
|
|
37242
|
+
{
|
|
37243
|
+
code: "988-000-000-000-000-000-003",
|
|
37244
|
+
key: "data_not_collected",
|
|
37245
|
+
title: "Data not collected",
|
|
37246
|
+
selectable: true,
|
|
37247
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
37248
|
+
childCodes: [],
|
|
37249
|
+
definition: "No attempt was made to collect the value."
|
|
37250
|
+
},
|
|
37251
|
+
{
|
|
37252
|
+
code: "988-001-000-000-000-000-000",
|
|
37253
|
+
key: "minor",
|
|
37254
|
+
title: "Minor (under 18)",
|
|
37255
|
+
selectable: true,
|
|
37256
|
+
parentCode: null,
|
|
37257
|
+
childCodes: [],
|
|
37258
|
+
definition: "The subject was under 18 when the asserted event occurred."
|
|
37259
|
+
},
|
|
37260
|
+
{
|
|
37261
|
+
code: "988-002-000-000-000-000-000",
|
|
37262
|
+
key: "adult",
|
|
37263
|
+
title: "Adult (18+)",
|
|
37264
|
+
selectable: true,
|
|
37265
|
+
parentCode: null,
|
|
37266
|
+
childCodes: [],
|
|
37267
|
+
definition: "The subject was 18 or older when the asserted event occurred."
|
|
37268
|
+
},
|
|
37269
|
+
{
|
|
37270
|
+
code: "988-003-000-000-000-000-000",
|
|
37271
|
+
key: "indeterminate",
|
|
37272
|
+
title: "Indeterminate",
|
|
37273
|
+
selectable: true,
|
|
37274
|
+
parentCode: null,
|
|
37275
|
+
childCodes: [],
|
|
37276
|
+
definition: "The age band cannot be determined from the available evidence \u2014 a positive determination of indeterminacy (e.g. conflicting or insufficient evidence), distinct from the `unknown` missingness sentinel (not assessed / not recorded)."
|
|
37277
|
+
}
|
|
37278
|
+
]
|
|
37279
|
+
};
|
|
37280
|
+
|
|
37281
|
+
// src/cvcs/hmisSex.v1.0.0.json
|
|
37282
|
+
var hmisSex_v1_0_0_default = {
|
|
37283
|
+
domain: "hmis_sex",
|
|
37284
|
+
name: "Core HMIS Sex",
|
|
37285
|
+
version: "1.0.0",
|
|
37286
|
+
levels: {
|
|
37287
|
+
"0": "Unknown or Missing",
|
|
37288
|
+
"1": "Sex"
|
|
37289
|
+
},
|
|
37290
|
+
entries: [
|
|
37291
|
+
{
|
|
37292
|
+
code: "067-000-000-000-000-000-000",
|
|
37293
|
+
key: "missingness_root",
|
|
37294
|
+
title: "Unknown, Redacted, or Missing",
|
|
37295
|
+
selectable: false,
|
|
37296
|
+
parentCode: null,
|
|
37297
|
+
childCodes: [
|
|
37298
|
+
"067-000-000-000-000-000-001",
|
|
37299
|
+
"067-000-000-000-000-000-002",
|
|
37300
|
+
"067-000-000-000-000-000-003",
|
|
37301
|
+
"067-000-000-000-000-000-004",
|
|
37302
|
+
"067-000-000-000-000-000-005"
|
|
37303
|
+
],
|
|
37304
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
37305
|
+
},
|
|
37306
|
+
{
|
|
37307
|
+
code: "067-000-000-000-000-000-001",
|
|
37308
|
+
key: "unknown",
|
|
37309
|
+
title: "Unknown",
|
|
37310
|
+
selectable: true,
|
|
37311
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
37312
|
+
childCodes: [],
|
|
37313
|
+
definition: "Value is unknown at time of entry."
|
|
37314
|
+
},
|
|
37315
|
+
{
|
|
37316
|
+
code: "067-000-000-000-000-000-002",
|
|
37317
|
+
key: "anonymous",
|
|
37318
|
+
title: "Anonymous",
|
|
37319
|
+
selectable: true,
|
|
37320
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
37321
|
+
childCodes: [],
|
|
37322
|
+
definition: "Value is intentionally withheld or redacted."
|
|
37323
|
+
},
|
|
37324
|
+
{
|
|
37325
|
+
code: "067-000-000-000-000-000-003",
|
|
37326
|
+
key: "data_not_collected",
|
|
37327
|
+
title: "Data not collected",
|
|
37328
|
+
selectable: true,
|
|
37329
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
37330
|
+
childCodes: [],
|
|
37331
|
+
definition: "Use this response if the staff does not ask the person to provide their sex."
|
|
37332
|
+
},
|
|
37333
|
+
{
|
|
37334
|
+
code: "067-000-000-000-000-000-004",
|
|
37335
|
+
key: "client_doesn_t_know",
|
|
37336
|
+
title: "Client doesn't know",
|
|
37337
|
+
selectable: true,
|
|
37338
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
37339
|
+
childCodes: [],
|
|
37340
|
+
definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
|
|
37341
|
+
},
|
|
37342
|
+
{
|
|
37343
|
+
code: "067-000-000-000-000-000-005",
|
|
37344
|
+
key: "client_prefers_not_to_answer",
|
|
37345
|
+
title: "Client prefers not to answer",
|
|
37346
|
+
selectable: true,
|
|
37347
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
37348
|
+
childCodes: [],
|
|
37349
|
+
definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
|
|
37350
|
+
},
|
|
37351
|
+
{
|
|
37352
|
+
code: "067-001-000-000-000-000-000",
|
|
37353
|
+
key: "female",
|
|
37354
|
+
title: "Female",
|
|
37355
|
+
selectable: true,
|
|
37356
|
+
parentCode: null,
|
|
37357
|
+
childCodes: [],
|
|
37358
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
|
|
37359
|
+
},
|
|
37360
|
+
{
|
|
37361
|
+
code: "067-002-000-000-000-000-000",
|
|
37362
|
+
key: "male",
|
|
37363
|
+
title: "Male",
|
|
37364
|
+
selectable: true,
|
|
37365
|
+
parentCode: null,
|
|
37366
|
+
childCodes: [],
|
|
37367
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
|
|
37368
|
+
}
|
|
37369
|
+
]
|
|
37370
|
+
};
|
|
36878
37371
|
export {
|
|
36879
37372
|
accommodationType_v1_0_0_default as accommodationTypeSot,
|
|
36880
37373
|
actionStepCompletionStatus_v1_0_0_default as actionStepCompletionStatusSot,
|
|
@@ -36886,6 +37379,7 @@ export {
|
|
|
36886
37379
|
announcementAudienceScope_v1_0_0_default as announcementAudienceScopeSot,
|
|
36887
37380
|
announcementResponseType_v1_0_0_default as announcementResponseTypeSot,
|
|
36888
37381
|
assertionDomain_v1_1_0_default as assertionDomainSot,
|
|
37382
|
+
assertionStatus_v1_0_0_default as assertionStatusSot,
|
|
36889
37383
|
basisQuickPicks_v1_0_0_default as basisQuickPicksSot,
|
|
36890
37384
|
checkInActivity_v1_0_0_default as checkInActivitySot,
|
|
36891
37385
|
checkInPhase_v1_1_0_default as checkInPhaseSot,
|
|
@@ -36902,6 +37396,7 @@ export {
|
|
|
36902
37396
|
coreFunctions_v1_0_0_default as coreFunctionsSot,
|
|
36903
37397
|
coreIndicators_v1_0_0_default as coreIndicatorsSot,
|
|
36904
37398
|
coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
|
|
37399
|
+
createdBySystem_v1_0_0_default as createdBySystemSot,
|
|
36905
37400
|
daIncidentArchiveReason_v1_0_0_default as daIncidentArchiveReasonSot,
|
|
36906
37401
|
daIncidentConfidence_v1_0_0_default as daIncidentConfidenceSot,
|
|
36907
37402
|
daIncidentDayApprox_v1_0_0_default as daIncidentDayApproxSot,
|
|
@@ -36936,6 +37431,7 @@ export {
|
|
|
36936
37431
|
hmisCurrentLivingSituation_v1_0_0_default as hmisCurrentLivingSituationSot,
|
|
36937
37432
|
hmisProjectType_v1_0_0_default as hmisProjectTypeSot,
|
|
36938
37433
|
hmisRelationshipToHoh_v1_0_0_default as hmisRelationshipToHohSot,
|
|
37434
|
+
hmisSex_v1_0_0_default as hmisSexSot,
|
|
36939
37435
|
homelessStatus_v1_0_0_default as homelessStatusSot,
|
|
36940
37436
|
hopeScaleCaptureContext_v1_0_0_default as hopeScaleCaptureContextSot,
|
|
36941
37437
|
hopeScaleResponseOptions_v1_0_0_default as hopeScaleResponseOptionsSot,
|
|
@@ -36964,6 +37460,7 @@ export {
|
|
|
36964
37460
|
milestoneType_v1_0_0_default as milestoneTypeSot,
|
|
36965
37461
|
militaryBranch_v1_0_0_default as militaryBranchSot,
|
|
36966
37462
|
militaryStatus_v1_0_0_default as militaryStatusSot,
|
|
37463
|
+
minorAdultStatus_v1_0_0_default as minorAdultStatusSot,
|
|
36967
37464
|
nameType_v1_0_0_default as nameTypeSot,
|
|
36968
37465
|
needsAssessmentChangeType_v1_0_0_default as needsAssessmentChangeTypeSot,
|
|
36969
37466
|
needsResidentialAgain_v1_0_0_default as needsResidentialAgainSot,
|
|
@@ -37027,6 +37524,7 @@ export {
|
|
|
37027
37524
|
sourceSubtype_v1_1_0_default as sourceSubtypeSot,
|
|
37028
37525
|
sourceSystem_v1_0_0_default as sourceSystemSot,
|
|
37029
37526
|
specialNeedsDisabilities_v1_0_0_default as specialNeedsDisabilitiesSot,
|
|
37527
|
+
subjectType_v1_0_0_default as subjectTypeSot,
|
|
37030
37528
|
substanceUseStatus_v1_0_0_default as substanceUseStatusSot,
|
|
37031
37529
|
suggestionSource_v1_0_0_default as suggestionSourceSot,
|
|
37032
37530
|
supportStrength_v1_0_0_default as supportStrengthSot,
|