@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/index.js
CHANGED
|
@@ -3915,6 +3915,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
3915
3915
|
"cannot_stop_working_or_freely_leave",
|
|
3916
3916
|
"child_not_abusers_in_household",
|
|
3917
3917
|
"child_welfare_system_involvement",
|
|
3918
|
+
"clients_unaware_of_third_party_coordination",
|
|
3918
3919
|
"coerced_to_misrepresent_identity_or_activity",
|
|
3919
3920
|
"coercive_debt_pressure",
|
|
3920
3921
|
"coercive_debt_pressure_youth",
|
|
@@ -3937,6 +3938,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
3937
3938
|
"debt_terms_deceptive_youth",
|
|
3938
3939
|
"denied_basic_needs",
|
|
3939
3940
|
"depends_on_employer_for_immigration_status",
|
|
3941
|
+
"depends_on_spouse_or_family_for_immigration_status",
|
|
3940
3942
|
"does_not_control_finances_or_earnings",
|
|
3941
3943
|
"does_not_control_identity_documents",
|
|
3942
3944
|
"elevated_lethality_risk_signal",
|
|
@@ -4030,6 +4032,8 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4030
4032
|
"several_cell_phones_or_frequent_number_changes",
|
|
4031
4033
|
"sex_acts_in_own_residence",
|
|
4032
4034
|
"sexual_exploitation",
|
|
4035
|
+
"sexualized_content_in_person_performance_activity",
|
|
4036
|
+
"sexualized_content_online_performance_activity",
|
|
4033
4037
|
"sexualized_content_performance_activity",
|
|
4034
4038
|
"shared_contact_network",
|
|
4035
4039
|
"signs_of_physical_abuse_confinement_or_neglect",
|
|
@@ -4075,6 +4079,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4075
4079
|
"trafficking_experience_past_10plusy",
|
|
4076
4080
|
"trafficking_experience_past_3to10y",
|
|
4077
4081
|
"trafficking_experience_past_lt3y",
|
|
4082
|
+
"trauma_perpetrator_is_current_manager",
|
|
4078
4083
|
"travel_organized_by_third_party",
|
|
4079
4084
|
"tricked_or_pressured_into_unwanted_acts",
|
|
4080
4085
|
"under_18_advertised_age",
|
|
@@ -4127,6 +4132,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4127
4132
|
"cannot_stop_working_or_freely_leave": "Cannot stop working or freely leave home/work",
|
|
4128
4133
|
"child_not_abusers_in_household": "Child in household who is not the abuser's biological child",
|
|
4129
4134
|
"child_welfare_system_involvement": "Child welfare system involvement (history)",
|
|
4135
|
+
"clients_unaware_of_third_party_coordination": "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
4130
4136
|
"coerced_to_misrepresent_identity_or_activity": "Coerced to misrepresent age, identity, or work activity to outsiders",
|
|
4131
4137
|
"coercive_debt_pressure": "Pressured to do things to pay off debt (coercive debt repayment)",
|
|
4132
4138
|
"coercive_debt_pressure_youth": "Pressured to do things to pay off debt (youth missing-from-care)",
|
|
@@ -4149,6 +4155,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4149
4155
|
"debt_terms_deceptive_youth": "Debt repayment terms differed from what was expected (youth missing-from-care)",
|
|
4150
4156
|
"denied_basic_needs": "Denied basic needs (food, water, sleep, medical care)",
|
|
4151
4157
|
"depends_on_employer_for_immigration_status": "Depends on employer for immigration status (tied visa / living with employer)",
|
|
4158
|
+
"depends_on_spouse_or_family_for_immigration_status": "Depends on spouse / family member for immigration status (tied family visa)",
|
|
4152
4159
|
"does_not_control_finances_or_earnings": "Limited independence: does not control finances or earnings",
|
|
4153
4160
|
"does_not_control_identity_documents": "Limited independence: does not control identity documents",
|
|
4154
4161
|
"elevated_lethality_risk_signal": "Elevated lethality risk",
|
|
@@ -4242,6 +4249,8 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4242
4249
|
"several_cell_phones_or_frequent_number_changes": "Several cell phones or frequently changing phone number",
|
|
4243
4250
|
"sex_acts_in_own_residence": "Sex acts take place in person's own residence",
|
|
4244
4251
|
"sexual_exploitation": "Sexual exploitation (general)",
|
|
4252
|
+
"sexualized_content_in_person_performance_activity": "In-person sexualized performance / appearance-based activity",
|
|
4253
|
+
"sexualized_content_online_performance_activity": "Online sexual performance / interactive sexual content activity",
|
|
4245
4254
|
"sexualized_content_performance_activity": "Sexualized content, performance, or communications activity",
|
|
4246
4255
|
"shared_contact_network": "Shares a contact network (phones/handles)",
|
|
4247
4256
|
"signs_of_physical_abuse_confinement_or_neglect": "Signs of physical abuse, confinement, or neglect (observed)",
|
|
@@ -4287,6 +4296,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4287
4296
|
"trafficking_experience_past_10plusy": "Trafficking experience recency: 10+ years since last experience",
|
|
4288
4297
|
"trafficking_experience_past_3to10y": "Trafficking experience recency: 3\u201310 years since last experience",
|
|
4289
4298
|
"trafficking_experience_past_lt3y": "Trafficking experience recency: less than 3 years since last experience",
|
|
4299
|
+
"trauma_perpetrator_is_current_manager": "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
4290
4300
|
"travel_organized_by_third_party": "Travel organized by a third party (sex provider does not control own movement)",
|
|
4291
4301
|
"tricked_or_pressured_into_unwanted_acts": "Tricked or pressured into unwanted acts or activities (generic coercion)",
|
|
4292
4302
|
"under_18_advertised_age": "Under 18 (ad-derived / advertised age)",
|
|
@@ -5941,7 +5951,11 @@ var personNameSchema = new Schema(
|
|
|
5941
5951
|
isPrimary: Boolean,
|
|
5942
5952
|
alias: Boolean,
|
|
5943
5953
|
isUnknown: Boolean,
|
|
5944
|
-
isAnonymous: Boolean
|
|
5954
|
+
isAnonymous: Boolean,
|
|
5955
|
+
// Shape flag: this person has only one name (e.g., Madonna). A mononym
|
|
5956
|
+
// can itself be legal, a nickname, a trade name, etc. — it's orthogonal
|
|
5957
|
+
// to nameType, not a value of it.
|
|
5958
|
+
isMononym: Boolean
|
|
5945
5959
|
},
|
|
5946
5960
|
{ _id: false }
|
|
5947
5961
|
);
|
|
@@ -10102,7 +10116,12 @@ var CoreIndicatorKeys = {
|
|
|
10102
10116
|
workplace_emotional_climate_of_fear: "136-207-000-000-000-000-000",
|
|
10103
10117
|
works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
|
|
10104
10118
|
works_for_little_or_no_pay: "136-209-000-000-000-000-000",
|
|
10105
|
-
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000"
|
|
10119
|
+
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000",
|
|
10120
|
+
clients_unaware_of_third_party_coordination: "136-211-000-000-000-000-000",
|
|
10121
|
+
depends_on_spouse_or_family_for_immigration_status: "136-212-000-000-000-000-000",
|
|
10122
|
+
sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
|
|
10123
|
+
sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
|
|
10124
|
+
trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000"
|
|
10106
10125
|
};
|
|
10107
10126
|
var RiskSeverityBandKeys = {
|
|
10108
10127
|
missingness_root: "238-000-000-000-000-000-000",
|
|
@@ -10653,6 +10672,43 @@ var WhyNotKeys = {
|
|
|
10653
10672
|
other: "219-007-007-000-000-000-000",
|
|
10654
10673
|
unknc: "219-007-008-000-000-000-000"
|
|
10655
10674
|
};
|
|
10675
|
+
var AssertionStatusKeys = {
|
|
10676
|
+
missingness_root: "985-000-000-000-000-000-000",
|
|
10677
|
+
unknown: "985-000-000-000-000-000-001",
|
|
10678
|
+
anonymous: "985-000-000-000-000-000-002",
|
|
10679
|
+
data_not_collected: "985-000-000-000-000-000-003",
|
|
10680
|
+
active: "985-001-000-000-000-000-000",
|
|
10681
|
+
superseded: "985-002-000-000-000-000-000",
|
|
10682
|
+
retracted: "985-003-000-000-000-000-000"
|
|
10683
|
+
};
|
|
10684
|
+
var CreatedBySystemKeys = {
|
|
10685
|
+
missingness_root: "986-000-000-000-000-000-000",
|
|
10686
|
+
unknown: "986-000-000-000-000-000-001",
|
|
10687
|
+
anonymous: "986-000-000-000-000-000-002",
|
|
10688
|
+
data_not_collected: "986-000-000-000-000-000-003",
|
|
10689
|
+
human: "986-001-000-000-000-000-000",
|
|
10690
|
+
integration: "986-002-000-000-000-000-000",
|
|
10691
|
+
rules_engine: "986-003-000-000-000-000-000",
|
|
10692
|
+
model: "986-004-000-000-000-000-000"
|
|
10693
|
+
};
|
|
10694
|
+
var SubjectTypeKeys = {
|
|
10695
|
+
missingness_root: "987-000-000-000-000-000-000",
|
|
10696
|
+
unknown: "987-000-000-000-000-000-001",
|
|
10697
|
+
anonymous: "987-000-000-000-000-000-002",
|
|
10698
|
+
data_not_collected: "987-000-000-000-000-000-003",
|
|
10699
|
+
person: "987-001-000-000-000-000-000",
|
|
10700
|
+
relationship: "987-002-000-000-000-000-000",
|
|
10701
|
+
case: "987-003-000-000-000-000-000"
|
|
10702
|
+
};
|
|
10703
|
+
var MinorAdultStatusKeys = {
|
|
10704
|
+
missingness_root: "988-000-000-000-000-000-000",
|
|
10705
|
+
unknown: "988-000-000-000-000-000-001",
|
|
10706
|
+
anonymous: "988-000-000-000-000-000-002",
|
|
10707
|
+
data_not_collected: "988-000-000-000-000-000-003",
|
|
10708
|
+
minor: "988-001-000-000-000-000-000",
|
|
10709
|
+
adult: "988-002-000-000-000-000-000",
|
|
10710
|
+
indeterminate: "988-003-000-000-000-000-000"
|
|
10711
|
+
};
|
|
10656
10712
|
|
|
10657
10713
|
// src/services/cvcRegistryService.ts
|
|
10658
10714
|
function cvcVersionsToRecord(versions) {
|
|
@@ -37387,8 +37443,8 @@ var coreIndicators_v1_0_0_default = {
|
|
|
37387
37443
|
domain: "core_indicators",
|
|
37388
37444
|
name: "Core Indicators (CVC-136)",
|
|
37389
37445
|
version: "1.0.0",
|
|
37390
|
-
_status: "CANONICAL \u2014 re-sourced 0.
|
|
37391
|
-
_source: "htilabstech/prototype@
|
|
37446
|
+
_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.",
|
|
37447
|
+
_source: "htilabstech/prototype@84a1b677 data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
|
|
37392
37448
|
levels: {
|
|
37393
37449
|
"0": "Unknown or Missing",
|
|
37394
37450
|
"1": "Indicator"
|
|
@@ -40224,6 +40280,71 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
|
|
|
40224
40280
|
polarity: "increases_risk",
|
|
40225
40281
|
severity: "elevated",
|
|
40226
40282
|
isAlert: "none"
|
|
40283
|
+
},
|
|
40284
|
+
{
|
|
40285
|
+
code: "136-211-000-000-000-000-000",
|
|
40286
|
+
key: "clients_unaware_of_third_party_coordination",
|
|
40287
|
+
title: "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
40288
|
+
selectable: true,
|
|
40289
|
+
parentCode: null,
|
|
40290
|
+
childCodes: [],
|
|
40291
|
+
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.`,
|
|
40292
|
+
family: "mechanism_control",
|
|
40293
|
+
polarity: "increases_risk",
|
|
40294
|
+
severity: "elevated",
|
|
40295
|
+
isAlert: "none"
|
|
40296
|
+
},
|
|
40297
|
+
{
|
|
40298
|
+
code: "136-212-000-000-000-000-000",
|
|
40299
|
+
key: "depends_on_spouse_or_family_for_immigration_status",
|
|
40300
|
+
title: "Depends on spouse / family member for immigration status (tied family visa)",
|
|
40301
|
+
selectable: true,
|
|
40302
|
+
parentCode: null,
|
|
40303
|
+
childCodes: [],
|
|
40304
|
+
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").`,
|
|
40305
|
+
family: "mechanism_control",
|
|
40306
|
+
polarity: "depends",
|
|
40307
|
+
severity: "elevated",
|
|
40308
|
+
isAlert: "none"
|
|
40309
|
+
},
|
|
40310
|
+
{
|
|
40311
|
+
code: "136-213-000-000-000-000-000",
|
|
40312
|
+
key: "sexualized_content_in_person_performance_activity",
|
|
40313
|
+
title: "In-person sexualized performance / appearance-based activity",
|
|
40314
|
+
selectable: true,
|
|
40315
|
+
parentCode: null,
|
|
40316
|
+
childCodes: [],
|
|
40317
|
+
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.",
|
|
40318
|
+
family: "cs_industry_context",
|
|
40319
|
+
polarity: "increases_risk",
|
|
40320
|
+
severity: "elevated",
|
|
40321
|
+
isAlert: "none"
|
|
40322
|
+
},
|
|
40323
|
+
{
|
|
40324
|
+
code: "136-214-000-000-000-000-000",
|
|
40325
|
+
key: "sexualized_content_online_performance_activity",
|
|
40326
|
+
title: "Online sexual performance / interactive sexual content activity",
|
|
40327
|
+
selectable: true,
|
|
40328
|
+
parentCode: null,
|
|
40329
|
+
childCodes: [],
|
|
40330
|
+
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.",
|
|
40331
|
+
family: "cs_industry_context",
|
|
40332
|
+
polarity: "increases_risk",
|
|
40333
|
+
severity: "elevated",
|
|
40334
|
+
isAlert: "none"
|
|
40335
|
+
},
|
|
40336
|
+
{
|
|
40337
|
+
code: "136-215-000-000-000-000-000",
|
|
40338
|
+
key: "trauma_perpetrator_is_current_manager",
|
|
40339
|
+
title: "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
40340
|
+
selectable: true,
|
|
40341
|
+
parentCode: null,
|
|
40342
|
+
childCodes: [],
|
|
40343
|
+
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.',
|
|
40344
|
+
family: "mechanism_control",
|
|
40345
|
+
polarity: "increases_risk",
|
|
40346
|
+
severity: "severe",
|
|
40347
|
+
isAlert: "none"
|
|
40227
40348
|
}
|
|
40228
40349
|
]
|
|
40229
40350
|
};
|
|
@@ -47913,6 +48034,441 @@ var suggestionSource_v1_0_0_default = {
|
|
|
47913
48034
|
}
|
|
47914
48035
|
]
|
|
47915
48036
|
};
|
|
48037
|
+
|
|
48038
|
+
// src/cvcs/assertionStatus.v1.0.0.json
|
|
48039
|
+
var assertionStatus_v1_0_0_default = {
|
|
48040
|
+
domain: "assertion_status",
|
|
48041
|
+
name: "Assertion Status",
|
|
48042
|
+
version: "1.0.0",
|
|
48043
|
+
_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.",
|
|
48044
|
+
_source: "pave-2.0/packages/domain/src/enums.ts ASSERTION_STATUSES",
|
|
48045
|
+
levels: {
|
|
48046
|
+
"0": "Unknown or Missing",
|
|
48047
|
+
"1": "Assertion lifecycle status"
|
|
48048
|
+
},
|
|
48049
|
+
entries: [
|
|
48050
|
+
{
|
|
48051
|
+
code: "985-000-000-000-000-000-000",
|
|
48052
|
+
key: "missingness_root",
|
|
48053
|
+
title: "Unknown, Redacted, or Missing",
|
|
48054
|
+
selectable: false,
|
|
48055
|
+
parentCode: null,
|
|
48056
|
+
childCodes: [
|
|
48057
|
+
"985-000-000-000-000-000-001",
|
|
48058
|
+
"985-000-000-000-000-000-002",
|
|
48059
|
+
"985-000-000-000-000-000-003"
|
|
48060
|
+
],
|
|
48061
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48062
|
+
},
|
|
48063
|
+
{
|
|
48064
|
+
code: "985-000-000-000-000-000-001",
|
|
48065
|
+
key: "unknown",
|
|
48066
|
+
title: "Unknown",
|
|
48067
|
+
selectable: true,
|
|
48068
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48069
|
+
childCodes: [],
|
|
48070
|
+
definition: "The assertion status is unknown at time of entry (missingness sentinel)."
|
|
48071
|
+
},
|
|
48072
|
+
{
|
|
48073
|
+
code: "985-000-000-000-000-000-002",
|
|
48074
|
+
key: "anonymous",
|
|
48075
|
+
title: "Anonymous / declined to answer",
|
|
48076
|
+
selectable: true,
|
|
48077
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48078
|
+
childCodes: [],
|
|
48079
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48080
|
+
},
|
|
48081
|
+
{
|
|
48082
|
+
code: "985-000-000-000-000-000-003",
|
|
48083
|
+
key: "data_not_collected",
|
|
48084
|
+
title: "Data not collected",
|
|
48085
|
+
selectable: true,
|
|
48086
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48087
|
+
childCodes: [],
|
|
48088
|
+
definition: "No attempt was made to collect the value."
|
|
48089
|
+
},
|
|
48090
|
+
{
|
|
48091
|
+
code: "985-001-000-000-000-000-000",
|
|
48092
|
+
key: "active",
|
|
48093
|
+
title: "Active",
|
|
48094
|
+
selectable: true,
|
|
48095
|
+
parentCode: null,
|
|
48096
|
+
childCodes: [],
|
|
48097
|
+
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"`).'
|
|
48098
|
+
},
|
|
48099
|
+
{
|
|
48100
|
+
code: "985-002-000-000-000-000-000",
|
|
48101
|
+
key: "superseded",
|
|
48102
|
+
title: "Superseded",
|
|
48103
|
+
selectable: true,
|
|
48104
|
+
parentCode: null,
|
|
48105
|
+
childCodes: [],
|
|
48106
|
+
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.'
|
|
48107
|
+
},
|
|
48108
|
+
{
|
|
48109
|
+
code: "985-003-000-000-000-000-000",
|
|
48110
|
+
key: "retracted",
|
|
48111
|
+
title: "Retracted",
|
|
48112
|
+
selectable: true,
|
|
48113
|
+
parentCode: null,
|
|
48114
|
+
childCodes: [],
|
|
48115
|
+
definition: "Withdrawn or invalidated without a replacement row \u2014 the claim is no longer asserted. Distinct from superseded (which points at a successor)."
|
|
48116
|
+
}
|
|
48117
|
+
]
|
|
48118
|
+
};
|
|
48119
|
+
|
|
48120
|
+
// src/cvcs/createdBySystem.v1.0.0.json
|
|
48121
|
+
var createdBySystem_v1_0_0_default = {
|
|
48122
|
+
domain: "created_by_system",
|
|
48123
|
+
name: "Created By System",
|
|
48124
|
+
version: "1.0.0",
|
|
48125
|
+
_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.",
|
|
48126
|
+
_source: "pave-2.0/packages/domain/src/enums.ts CREATED_BY_SYSTEMS",
|
|
48127
|
+
levels: {
|
|
48128
|
+
"0": "Unknown or Missing",
|
|
48129
|
+
"1": "Creating actor class"
|
|
48130
|
+
},
|
|
48131
|
+
entries: [
|
|
48132
|
+
{
|
|
48133
|
+
code: "986-000-000-000-000-000-000",
|
|
48134
|
+
key: "missingness_root",
|
|
48135
|
+
title: "Unknown, Redacted, or Missing",
|
|
48136
|
+
selectable: false,
|
|
48137
|
+
parentCode: null,
|
|
48138
|
+
childCodes: [
|
|
48139
|
+
"986-000-000-000-000-000-001",
|
|
48140
|
+
"986-000-000-000-000-000-002",
|
|
48141
|
+
"986-000-000-000-000-000-003"
|
|
48142
|
+
],
|
|
48143
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48144
|
+
},
|
|
48145
|
+
{
|
|
48146
|
+
code: "986-000-000-000-000-000-001",
|
|
48147
|
+
key: "unknown",
|
|
48148
|
+
title: "Unknown",
|
|
48149
|
+
selectable: true,
|
|
48150
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48151
|
+
childCodes: [],
|
|
48152
|
+
definition: "The creating actor class is unknown at time of entry (missingness sentinel)."
|
|
48153
|
+
},
|
|
48154
|
+
{
|
|
48155
|
+
code: "986-000-000-000-000-000-002",
|
|
48156
|
+
key: "anonymous",
|
|
48157
|
+
title: "Anonymous / declined to answer",
|
|
48158
|
+
selectable: true,
|
|
48159
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48160
|
+
childCodes: [],
|
|
48161
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48162
|
+
},
|
|
48163
|
+
{
|
|
48164
|
+
code: "986-000-000-000-000-000-003",
|
|
48165
|
+
key: "data_not_collected",
|
|
48166
|
+
title: "Data not collected",
|
|
48167
|
+
selectable: true,
|
|
48168
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48169
|
+
childCodes: [],
|
|
48170
|
+
definition: "No attempt was made to collect the value."
|
|
48171
|
+
},
|
|
48172
|
+
{
|
|
48173
|
+
code: "986-001-000-000-000-000-000",
|
|
48174
|
+
key: "human",
|
|
48175
|
+
title: "Human",
|
|
48176
|
+
selectable: true,
|
|
48177
|
+
parentCode: null,
|
|
48178
|
+
childCodes: [],
|
|
48179
|
+
definition: 'A person created the assertion row directly. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `createdBySystem: "human"`).'
|
|
48180
|
+
},
|
|
48181
|
+
{
|
|
48182
|
+
code: "986-002-000-000-000-000-000",
|
|
48183
|
+
key: "integration",
|
|
48184
|
+
title: "Integration",
|
|
48185
|
+
selectable: true,
|
|
48186
|
+
parentCode: null,
|
|
48187
|
+
childCodes: [],
|
|
48188
|
+
definition: "An external-system integration created the row (cross-app ingest, imports, connected systems). Pair with source/provenance fields for the originating system."
|
|
48189
|
+
},
|
|
48190
|
+
{
|
|
48191
|
+
code: "986-003-000-000-000-000-000",
|
|
48192
|
+
key: "rules_engine",
|
|
48193
|
+
title: "Rules engine",
|
|
48194
|
+
selectable: true,
|
|
48195
|
+
parentCode: null,
|
|
48196
|
+
childCodes: [],
|
|
48197
|
+
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."
|
|
48198
|
+
},
|
|
48199
|
+
{
|
|
48200
|
+
code: "986-004-000-000-000-000-000",
|
|
48201
|
+
key: "model",
|
|
48202
|
+
title: "Model",
|
|
48203
|
+
selectable: true,
|
|
48204
|
+
parentCode: null,
|
|
48205
|
+
childCodes: [],
|
|
48206
|
+
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."
|
|
48207
|
+
}
|
|
48208
|
+
]
|
|
48209
|
+
};
|
|
48210
|
+
|
|
48211
|
+
// src/cvcs/subjectType.v1.0.0.json
|
|
48212
|
+
var subjectType_v1_0_0_default = {
|
|
48213
|
+
domain: "subject_type",
|
|
48214
|
+
name: "Subject Type",
|
|
48215
|
+
version: "1.0.0",
|
|
48216
|
+
_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.",
|
|
48217
|
+
_source: "pave-2.0/packages/domain/src/enums.ts SUBJECT_TYPES",
|
|
48218
|
+
levels: {
|
|
48219
|
+
"0": "Unknown or Missing",
|
|
48220
|
+
"1": "Assertion subject type"
|
|
48221
|
+
},
|
|
48222
|
+
entries: [
|
|
48223
|
+
{
|
|
48224
|
+
code: "987-000-000-000-000-000-000",
|
|
48225
|
+
key: "missingness_root",
|
|
48226
|
+
title: "Unknown, Redacted, or Missing",
|
|
48227
|
+
selectable: false,
|
|
48228
|
+
parentCode: null,
|
|
48229
|
+
childCodes: [
|
|
48230
|
+
"987-000-000-000-000-000-001",
|
|
48231
|
+
"987-000-000-000-000-000-002",
|
|
48232
|
+
"987-000-000-000-000-000-003"
|
|
48233
|
+
],
|
|
48234
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48235
|
+
},
|
|
48236
|
+
{
|
|
48237
|
+
code: "987-000-000-000-000-000-001",
|
|
48238
|
+
key: "unknown",
|
|
48239
|
+
title: "Unknown",
|
|
48240
|
+
selectable: true,
|
|
48241
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48242
|
+
childCodes: [],
|
|
48243
|
+
definition: "The subject type is unknown at time of entry (missingness sentinel)."
|
|
48244
|
+
},
|
|
48245
|
+
{
|
|
48246
|
+
code: "987-000-000-000-000-000-002",
|
|
48247
|
+
key: "anonymous",
|
|
48248
|
+
title: "Anonymous / declined to answer",
|
|
48249
|
+
selectable: true,
|
|
48250
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48251
|
+
childCodes: [],
|
|
48252
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48253
|
+
},
|
|
48254
|
+
{
|
|
48255
|
+
code: "987-000-000-000-000-000-003",
|
|
48256
|
+
key: "data_not_collected",
|
|
48257
|
+
title: "Data not collected",
|
|
48258
|
+
selectable: true,
|
|
48259
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48260
|
+
childCodes: [],
|
|
48261
|
+
definition: "No attempt was made to collect the value."
|
|
48262
|
+
},
|
|
48263
|
+
{
|
|
48264
|
+
code: "987-001-000-000-000-000-000",
|
|
48265
|
+
key: "person",
|
|
48266
|
+
title: "Person",
|
|
48267
|
+
selectable: true,
|
|
48268
|
+
parentCode: null,
|
|
48269
|
+
childCodes: [],
|
|
48270
|
+
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"`).'
|
|
48271
|
+
},
|
|
48272
|
+
{
|
|
48273
|
+
code: "987-002-000-000-000-000-000",
|
|
48274
|
+
key: "relationship",
|
|
48275
|
+
title: "Relationship",
|
|
48276
|
+
selectable: true,
|
|
48277
|
+
parentCode: null,
|
|
48278
|
+
childCodes: [],
|
|
48279
|
+
definition: "The assertion is about a relationship between people; `subject_id` resolves to a relationship record."
|
|
48280
|
+
},
|
|
48281
|
+
{
|
|
48282
|
+
code: "987-003-000-000-000-000-000",
|
|
48283
|
+
key: "case",
|
|
48284
|
+
title: "Case",
|
|
48285
|
+
selectable: true,
|
|
48286
|
+
parentCode: null,
|
|
48287
|
+
childCodes: [],
|
|
48288
|
+
definition: "The assertion is about a case; `subject_id` resolves to a case record."
|
|
48289
|
+
}
|
|
48290
|
+
]
|
|
48291
|
+
};
|
|
48292
|
+
|
|
48293
|
+
// src/cvcs/minorAdultStatus.v1.0.0.json
|
|
48294
|
+
var minorAdultStatus_v1_0_0_default = {
|
|
48295
|
+
domain: "minor_adult_status",
|
|
48296
|
+
name: "Minor / Adult Status (age band at event)",
|
|
48297
|
+
version: "1.0.0",
|
|
48298
|
+
_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.",
|
|
48299
|
+
_source: "pave-2.0/packages/domain/src/enums.ts AGE_BANDS_AT_EVENT",
|
|
48300
|
+
levels: {
|
|
48301
|
+
"0": "Unknown or Missing",
|
|
48302
|
+
"1": "Minor / adult status at event"
|
|
48303
|
+
},
|
|
48304
|
+
entries: [
|
|
48305
|
+
{
|
|
48306
|
+
code: "988-000-000-000-000-000-000",
|
|
48307
|
+
key: "missingness_root",
|
|
48308
|
+
title: "Unknown, Redacted, or Missing",
|
|
48309
|
+
selectable: false,
|
|
48310
|
+
parentCode: null,
|
|
48311
|
+
childCodes: [
|
|
48312
|
+
"988-000-000-000-000-000-001",
|
|
48313
|
+
"988-000-000-000-000-000-002",
|
|
48314
|
+
"988-000-000-000-000-000-003"
|
|
48315
|
+
],
|
|
48316
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48317
|
+
},
|
|
48318
|
+
{
|
|
48319
|
+
code: "988-000-000-000-000-000-001",
|
|
48320
|
+
key: "unknown",
|
|
48321
|
+
title: "Unknown",
|
|
48322
|
+
selectable: true,
|
|
48323
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
48324
|
+
childCodes: [],
|
|
48325
|
+
definition: "The age band is unknown \u2014 not assessed or not recorded (missingness sentinel). Carries PAVE's `unknown` member of AGE_BANDS_AT_EVENT."
|
|
48326
|
+
},
|
|
48327
|
+
{
|
|
48328
|
+
code: "988-000-000-000-000-000-002",
|
|
48329
|
+
key: "anonymous",
|
|
48330
|
+
title: "Anonymous / declined to answer",
|
|
48331
|
+
selectable: true,
|
|
48332
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
48333
|
+
childCodes: [],
|
|
48334
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48335
|
+
},
|
|
48336
|
+
{
|
|
48337
|
+
code: "988-000-000-000-000-000-003",
|
|
48338
|
+
key: "data_not_collected",
|
|
48339
|
+
title: "Data not collected",
|
|
48340
|
+
selectable: true,
|
|
48341
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
48342
|
+
childCodes: [],
|
|
48343
|
+
definition: "No attempt was made to collect the value."
|
|
48344
|
+
},
|
|
48345
|
+
{
|
|
48346
|
+
code: "988-001-000-000-000-000-000",
|
|
48347
|
+
key: "minor",
|
|
48348
|
+
title: "Minor (under 18)",
|
|
48349
|
+
selectable: true,
|
|
48350
|
+
parentCode: null,
|
|
48351
|
+
childCodes: [],
|
|
48352
|
+
definition: "The subject was under 18 when the asserted event occurred."
|
|
48353
|
+
},
|
|
48354
|
+
{
|
|
48355
|
+
code: "988-002-000-000-000-000-000",
|
|
48356
|
+
key: "adult",
|
|
48357
|
+
title: "Adult (18+)",
|
|
48358
|
+
selectable: true,
|
|
48359
|
+
parentCode: null,
|
|
48360
|
+
childCodes: [],
|
|
48361
|
+
definition: "The subject was 18 or older when the asserted event occurred."
|
|
48362
|
+
},
|
|
48363
|
+
{
|
|
48364
|
+
code: "988-003-000-000-000-000-000",
|
|
48365
|
+
key: "indeterminate",
|
|
48366
|
+
title: "Indeterminate",
|
|
48367
|
+
selectable: true,
|
|
48368
|
+
parentCode: null,
|
|
48369
|
+
childCodes: [],
|
|
48370
|
+
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)."
|
|
48371
|
+
}
|
|
48372
|
+
]
|
|
48373
|
+
};
|
|
48374
|
+
|
|
48375
|
+
// src/cvcs/hmisSex.v1.0.0.json
|
|
48376
|
+
var hmisSex_v1_0_0_default = {
|
|
48377
|
+
domain: "hmis_sex",
|
|
48378
|
+
name: "Core HMIS Sex",
|
|
48379
|
+
version: "1.0.0",
|
|
48380
|
+
levels: {
|
|
48381
|
+
"0": "Unknown or Missing",
|
|
48382
|
+
"1": "Sex"
|
|
48383
|
+
},
|
|
48384
|
+
entries: [
|
|
48385
|
+
{
|
|
48386
|
+
code: "067-000-000-000-000-000-000",
|
|
48387
|
+
key: "missingness_root",
|
|
48388
|
+
title: "Unknown, Redacted, or Missing",
|
|
48389
|
+
selectable: false,
|
|
48390
|
+
parentCode: null,
|
|
48391
|
+
childCodes: [
|
|
48392
|
+
"067-000-000-000-000-000-001",
|
|
48393
|
+
"067-000-000-000-000-000-002",
|
|
48394
|
+
"067-000-000-000-000-000-003",
|
|
48395
|
+
"067-000-000-000-000-000-004",
|
|
48396
|
+
"067-000-000-000-000-000-005"
|
|
48397
|
+
],
|
|
48398
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48399
|
+
},
|
|
48400
|
+
{
|
|
48401
|
+
code: "067-000-000-000-000-000-001",
|
|
48402
|
+
key: "unknown",
|
|
48403
|
+
title: "Unknown",
|
|
48404
|
+
selectable: true,
|
|
48405
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
48406
|
+
childCodes: [],
|
|
48407
|
+
definition: "Value is unknown at time of entry."
|
|
48408
|
+
},
|
|
48409
|
+
{
|
|
48410
|
+
code: "067-000-000-000-000-000-002",
|
|
48411
|
+
key: "anonymous",
|
|
48412
|
+
title: "Anonymous",
|
|
48413
|
+
selectable: true,
|
|
48414
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
48415
|
+
childCodes: [],
|
|
48416
|
+
definition: "Value is intentionally withheld or redacted."
|
|
48417
|
+
},
|
|
48418
|
+
{
|
|
48419
|
+
code: "067-000-000-000-000-000-003",
|
|
48420
|
+
key: "data_not_collected",
|
|
48421
|
+
title: "Data not collected",
|
|
48422
|
+
selectable: true,
|
|
48423
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
48424
|
+
childCodes: [],
|
|
48425
|
+
definition: "Use this response if the staff does not ask the person to provide their sex."
|
|
48426
|
+
},
|
|
48427
|
+
{
|
|
48428
|
+
code: "067-000-000-000-000-000-004",
|
|
48429
|
+
key: "client_doesn_t_know",
|
|
48430
|
+
title: "Client doesn't know",
|
|
48431
|
+
selectable: true,
|
|
48432
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
48433
|
+
childCodes: [],
|
|
48434
|
+
definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
|
|
48435
|
+
},
|
|
48436
|
+
{
|
|
48437
|
+
code: "067-000-000-000-000-000-005",
|
|
48438
|
+
key: "client_prefers_not_to_answer",
|
|
48439
|
+
title: "Client prefers not to answer",
|
|
48440
|
+
selectable: true,
|
|
48441
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
48442
|
+
childCodes: [],
|
|
48443
|
+
definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
|
|
48444
|
+
},
|
|
48445
|
+
{
|
|
48446
|
+
code: "067-001-000-000-000-000-000",
|
|
48447
|
+
key: "female",
|
|
48448
|
+
title: "Female",
|
|
48449
|
+
selectable: true,
|
|
48450
|
+
parentCode: null,
|
|
48451
|
+
childCodes: [],
|
|
48452
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
|
|
48453
|
+
},
|
|
48454
|
+
{
|
|
48455
|
+
code: "067-002-000-000-000-000-000",
|
|
48456
|
+
key: "male",
|
|
48457
|
+
title: "Male",
|
|
48458
|
+
selectable: true,
|
|
48459
|
+
parentCode: null,
|
|
48460
|
+
childCodes: [],
|
|
48461
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
|
|
48462
|
+
}
|
|
48463
|
+
]
|
|
48464
|
+
};
|
|
48465
|
+
|
|
48466
|
+
// src/index.ts
|
|
48467
|
+
var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
|
|
48468
|
+
var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
|
|
48469
|
+
var CVC_197_VALUES = selectableCodes(
|
|
48470
|
+
juvenileJusticeEpisodeType_v1_0_0_default
|
|
48471
|
+
);
|
|
47916
48472
|
export {
|
|
47917
48473
|
ACCOMMODATION_LABELS,
|
|
47918
48474
|
ACCOMMODATION_OPTIONS,
|
|
@@ -47932,6 +48488,7 @@ export {
|
|
|
47932
48488
|
AnnouncementAudienceScopeKeys,
|
|
47933
48489
|
AnnouncementResponseTypeKeys,
|
|
47934
48490
|
AssertionDomainKeys,
|
|
48491
|
+
AssertionStatusKeys,
|
|
47935
48492
|
BIRTH_LOCATION,
|
|
47936
48493
|
BIRTH_LOCATION_LABELS,
|
|
47937
48494
|
BIRTH_LOCATION_VALUES,
|
|
@@ -47969,6 +48526,7 @@ export {
|
|
|
47969
48526
|
CVC_136_OPTIONS,
|
|
47970
48527
|
CVC_136_TYPE_TO_CATEGORY,
|
|
47971
48528
|
CVC_136_VALUES,
|
|
48529
|
+
CVC_137_VALUES,
|
|
47972
48530
|
CVC_145_CATEGORY,
|
|
47973
48531
|
CVC_145_CATEGORY_LABELS,
|
|
47974
48532
|
CVC_145_CATEGORY_ORDER,
|
|
@@ -48046,6 +48604,7 @@ export {
|
|
|
48046
48604
|
CVC_196_CHILD_WELFARE_EPISODE_TYPE,
|
|
48047
48605
|
CVC_196_LABELS,
|
|
48048
48606
|
CVC_196_VALUES,
|
|
48607
|
+
CVC_197_VALUES,
|
|
48049
48608
|
CVC_1_LABELS,
|
|
48050
48609
|
CVC_1_NAME_TYPE,
|
|
48051
48610
|
CVC_1_STRUCTURED_NAME_TYPES,
|
|
@@ -48093,6 +48652,7 @@ export {
|
|
|
48093
48652
|
CoreFunctionsKeys,
|
|
48094
48653
|
CoreIndicatorKeys,
|
|
48095
48654
|
CoreReferralOutcomeKeys,
|
|
48655
|
+
CreatedBySystemKeys,
|
|
48096
48656
|
CvcCodeSchema,
|
|
48097
48657
|
CvcEntrySchema,
|
|
48098
48658
|
CvcEnvelopeSchema,
|
|
@@ -48232,6 +48792,7 @@ export {
|
|
|
48232
48792
|
MilestoneTypeKeys,
|
|
48233
48793
|
MilitaryBranchKeys,
|
|
48234
48794
|
MilitaryStatusKeys,
|
|
48795
|
+
MinorAdultStatusKeys,
|
|
48235
48796
|
NameTypeKeys,
|
|
48236
48797
|
NeedsAssessmentChangeTypeKeys,
|
|
48237
48798
|
NeedsResidentialAgainKeys,
|
|
@@ -48332,6 +48893,7 @@ export {
|
|
|
48332
48893
|
SourceSubtypeKeys,
|
|
48333
48894
|
SourceSystemKeys,
|
|
48334
48895
|
SpecialNeedsDisabilitiesKeys,
|
|
48896
|
+
SubjectTypeKeys,
|
|
48335
48897
|
SubstanceUseStatusKeys,
|
|
48336
48898
|
SuggestionSourceKeys,
|
|
48337
48899
|
SupportStrengthKeys,
|
|
@@ -48365,6 +48927,7 @@ export {
|
|
|
48365
48927
|
announcementResponseType_v1_0_0_default as announcementResponseTypeSot,
|
|
48366
48928
|
applyEntryOverrides,
|
|
48367
48929
|
assertionDomain_v1_1_0_default as assertionDomainSot,
|
|
48930
|
+
assertionStatus_v1_0_0_default as assertionStatusSot,
|
|
48368
48931
|
basisQuickPicks_v1_0_0_default as basisQuickPicksSot,
|
|
48369
48932
|
buildCvcEntrySchema,
|
|
48370
48933
|
buildCvcRegistrySchema,
|
|
@@ -48394,6 +48957,7 @@ export {
|
|
|
48394
48957
|
coreIndicators_v1_0_0_default as coreIndicatorsSot,
|
|
48395
48958
|
coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
|
|
48396
48959
|
createPlatformModels,
|
|
48960
|
+
createdBySystem_v1_0_0_default as createdBySystemSot,
|
|
48397
48961
|
cvcEntryModel_exports as cvcEntryModel,
|
|
48398
48962
|
cvcEntrySchemaDefinition,
|
|
48399
48963
|
cvcEntrySchemaOptions,
|
|
@@ -48455,6 +49019,7 @@ export {
|
|
|
48455
49019
|
hmisCurrentLivingSituation_v1_0_0_default as hmisCurrentLivingSituationSot,
|
|
48456
49020
|
hmisProjectType_v1_0_0_default as hmisProjectTypeSot,
|
|
48457
49021
|
hmisRelationshipToHoh_v1_0_0_default as hmisRelationshipToHohSot,
|
|
49022
|
+
hmisSex_v1_0_0_default as hmisSexSot,
|
|
48458
49023
|
homelessStatus_v1_0_0_default as homelessStatusSot,
|
|
48459
49024
|
hopeScaleCaptureContext_v1_0_0_default as hopeScaleCaptureContextSot,
|
|
48460
49025
|
hopeScaleResponseOptions_v1_0_0_default as hopeScaleResponseOptionsSot,
|
|
@@ -48490,6 +49055,7 @@ export {
|
|
|
48490
49055
|
milestoneType_v1_0_0_default as milestoneTypeSot,
|
|
48491
49056
|
militaryBranch_v1_0_0_default as militaryBranchSot,
|
|
48492
49057
|
militaryStatus_v1_0_0_default as militaryStatusSot,
|
|
49058
|
+
minorAdultStatus_v1_0_0_default as minorAdultStatusSot,
|
|
48493
49059
|
nameType_v1_0_0_default as nameTypeSot,
|
|
48494
49060
|
needsAssessmentChangeType_v1_0_0_default as needsAssessmentChangeTypeSot,
|
|
48495
49061
|
needsResidentialAgain_v1_0_0_default as needsResidentialAgainSot,
|
|
@@ -48576,6 +49142,7 @@ export {
|
|
|
48576
49142
|
sourceSubtype_v1_1_0_default as sourceSubtypeSot,
|
|
48577
49143
|
sourceSystem_v1_0_0_default as sourceSystemSot,
|
|
48578
49144
|
specialNeedsDisabilities_v1_0_0_default as specialNeedsDisabilitiesSot,
|
|
49145
|
+
subjectType_v1_0_0_default as subjectTypeSot,
|
|
48579
49146
|
substanceUseStatus_v1_0_0_default as substanceUseStatusSot,
|
|
48580
49147
|
suggestionSource_v1_0_0_default as suggestionSourceSot,
|
|
48581
49148
|
supportStrength_v1_0_0_default as supportStrengthSot,
|