@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.cjs
CHANGED
|
@@ -38,6 +38,7 @@ __export(src_exports, {
|
|
|
38
38
|
AnnouncementAudienceScopeKeys: () => AnnouncementAudienceScopeKeys,
|
|
39
39
|
AnnouncementResponseTypeKeys: () => AnnouncementResponseTypeKeys,
|
|
40
40
|
AssertionDomainKeys: () => AssertionDomainKeys,
|
|
41
|
+
AssertionStatusKeys: () => AssertionStatusKeys,
|
|
41
42
|
BIRTH_LOCATION: () => BIRTH_LOCATION,
|
|
42
43
|
BIRTH_LOCATION_LABELS: () => BIRTH_LOCATION_LABELS,
|
|
43
44
|
BIRTH_LOCATION_VALUES: () => BIRTH_LOCATION_VALUES,
|
|
@@ -75,6 +76,7 @@ __export(src_exports, {
|
|
|
75
76
|
CVC_136_OPTIONS: () => CVC_136_OPTIONS,
|
|
76
77
|
CVC_136_TYPE_TO_CATEGORY: () => CVC_136_TYPE_TO_CATEGORY,
|
|
77
78
|
CVC_136_VALUES: () => CVC_136_VALUES,
|
|
79
|
+
CVC_137_VALUES: () => CVC_137_VALUES,
|
|
78
80
|
CVC_145_CATEGORY: () => CVC_145_CATEGORY,
|
|
79
81
|
CVC_145_CATEGORY_LABELS: () => CVC_145_CATEGORY_LABELS,
|
|
80
82
|
CVC_145_CATEGORY_ORDER: () => CVC_145_CATEGORY_ORDER,
|
|
@@ -152,6 +154,7 @@ __export(src_exports, {
|
|
|
152
154
|
CVC_196_CHILD_WELFARE_EPISODE_TYPE: () => CVC_196_CHILD_WELFARE_EPISODE_TYPE,
|
|
153
155
|
CVC_196_LABELS: () => CVC_196_LABELS,
|
|
154
156
|
CVC_196_VALUES: () => CVC_196_VALUES,
|
|
157
|
+
CVC_197_VALUES: () => CVC_197_VALUES,
|
|
155
158
|
CVC_1_LABELS: () => CVC_1_LABELS,
|
|
156
159
|
CVC_1_NAME_TYPE: () => CVC_1_NAME_TYPE,
|
|
157
160
|
CVC_1_STRUCTURED_NAME_TYPES: () => CVC_1_STRUCTURED_NAME_TYPES,
|
|
@@ -199,6 +202,7 @@ __export(src_exports, {
|
|
|
199
202
|
CoreFunctionsKeys: () => CoreFunctionsKeys,
|
|
200
203
|
CoreIndicatorKeys: () => CoreIndicatorKeys,
|
|
201
204
|
CoreReferralOutcomeKeys: () => CoreReferralOutcomeKeys,
|
|
205
|
+
CreatedBySystemKeys: () => CreatedBySystemKeys,
|
|
202
206
|
CvcCodeSchema: () => CvcCodeSchema,
|
|
203
207
|
CvcEntrySchema: () => CvcEntrySchema,
|
|
204
208
|
CvcEnvelopeSchema: () => CvcEnvelopeSchema,
|
|
@@ -338,6 +342,7 @@ __export(src_exports, {
|
|
|
338
342
|
MilestoneTypeKeys: () => MilestoneTypeKeys,
|
|
339
343
|
MilitaryBranchKeys: () => MilitaryBranchKeys,
|
|
340
344
|
MilitaryStatusKeys: () => MilitaryStatusKeys,
|
|
345
|
+
MinorAdultStatusKeys: () => MinorAdultStatusKeys,
|
|
341
346
|
NameTypeKeys: () => NameTypeKeys,
|
|
342
347
|
NeedsAssessmentChangeTypeKeys: () => NeedsAssessmentChangeTypeKeys,
|
|
343
348
|
NeedsResidentialAgainKeys: () => NeedsResidentialAgainKeys,
|
|
@@ -438,6 +443,7 @@ __export(src_exports, {
|
|
|
438
443
|
SourceSubtypeKeys: () => SourceSubtypeKeys,
|
|
439
444
|
SourceSystemKeys: () => SourceSystemKeys,
|
|
440
445
|
SpecialNeedsDisabilitiesKeys: () => SpecialNeedsDisabilitiesKeys,
|
|
446
|
+
SubjectTypeKeys: () => SubjectTypeKeys,
|
|
441
447
|
SubstanceUseStatusKeys: () => SubstanceUseStatusKeys,
|
|
442
448
|
SuggestionSourceKeys: () => SuggestionSourceKeys,
|
|
443
449
|
SupportStrengthKeys: () => SupportStrengthKeys,
|
|
@@ -471,6 +477,7 @@ __export(src_exports, {
|
|
|
471
477
|
announcementResponseTypeSot: () => announcementResponseType_v1_0_0_default,
|
|
472
478
|
applyEntryOverrides: () => applyEntryOverrides,
|
|
473
479
|
assertionDomainSot: () => assertionDomain_v1_1_0_default,
|
|
480
|
+
assertionStatusSot: () => assertionStatus_v1_0_0_default,
|
|
474
481
|
basisQuickPicksSot: () => basisQuickPicks_v1_0_0_default,
|
|
475
482
|
buildCvcEntrySchema: () => buildCvcEntrySchema,
|
|
476
483
|
buildCvcRegistrySchema: () => buildCvcRegistrySchema,
|
|
@@ -500,6 +507,7 @@ __export(src_exports, {
|
|
|
500
507
|
coreIndicatorsSot: () => coreIndicators_v1_0_0_default,
|
|
501
508
|
coreReferralOutcomeSot: () => coreReferralOutcome_v1_0_0_default,
|
|
502
509
|
createPlatformModels: () => createPlatformModels,
|
|
510
|
+
createdBySystemSot: () => createdBySystem_v1_0_0_default,
|
|
503
511
|
cvcEntryModel: () => cvcEntryModel_exports,
|
|
504
512
|
cvcEntrySchemaDefinition: () => cvcEntrySchemaDefinition,
|
|
505
513
|
cvcEntrySchemaOptions: () => cvcEntrySchemaOptions,
|
|
@@ -561,6 +569,7 @@ __export(src_exports, {
|
|
|
561
569
|
hmisCurrentLivingSituationSot: () => hmisCurrentLivingSituation_v1_0_0_default,
|
|
562
570
|
hmisProjectTypeSot: () => hmisProjectType_v1_0_0_default,
|
|
563
571
|
hmisRelationshipToHohSot: () => hmisRelationshipToHoh_v1_0_0_default,
|
|
572
|
+
hmisSexSot: () => hmisSex_v1_0_0_default,
|
|
564
573
|
homelessStatusSot: () => homelessStatus_v1_0_0_default,
|
|
565
574
|
hopeScaleCaptureContextSot: () => hopeScaleCaptureContext_v1_0_0_default,
|
|
566
575
|
hopeScaleResponseOptionsSot: () => hopeScaleResponseOptions_v1_0_0_default,
|
|
@@ -596,6 +605,7 @@ __export(src_exports, {
|
|
|
596
605
|
milestoneTypeSot: () => milestoneType_v1_0_0_default,
|
|
597
606
|
militaryBranchSot: () => militaryBranch_v1_0_0_default,
|
|
598
607
|
militaryStatusSot: () => militaryStatus_v1_0_0_default,
|
|
608
|
+
minorAdultStatusSot: () => minorAdultStatus_v1_0_0_default,
|
|
599
609
|
nameTypeSot: () => nameType_v1_0_0_default,
|
|
600
610
|
needsAssessmentChangeTypeSot: () => needsAssessmentChangeType_v1_0_0_default,
|
|
601
611
|
needsResidentialAgainSot: () => needsResidentialAgain_v1_0_0_default,
|
|
@@ -682,6 +692,7 @@ __export(src_exports, {
|
|
|
682
692
|
sourceSubtypeSot: () => sourceSubtype_v1_1_0_default,
|
|
683
693
|
sourceSystemSot: () => sourceSystem_v1_0_0_default,
|
|
684
694
|
specialNeedsDisabilitiesSot: () => specialNeedsDisabilities_v1_0_0_default,
|
|
695
|
+
subjectTypeSot: () => subjectType_v1_0_0_default,
|
|
685
696
|
substanceUseStatusSot: () => substanceUseStatus_v1_0_0_default,
|
|
686
697
|
suggestionSourceSot: () => suggestionSource_v1_0_0_default,
|
|
687
698
|
supportStrengthSot: () => supportStrength_v1_0_0_default,
|
|
@@ -4613,6 +4624,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4613
4624
|
"cannot_stop_working_or_freely_leave",
|
|
4614
4625
|
"child_not_abusers_in_household",
|
|
4615
4626
|
"child_welfare_system_involvement",
|
|
4627
|
+
"clients_unaware_of_third_party_coordination",
|
|
4616
4628
|
"coerced_to_misrepresent_identity_or_activity",
|
|
4617
4629
|
"coercive_debt_pressure",
|
|
4618
4630
|
"coercive_debt_pressure_youth",
|
|
@@ -4635,6 +4647,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4635
4647
|
"debt_terms_deceptive_youth",
|
|
4636
4648
|
"denied_basic_needs",
|
|
4637
4649
|
"depends_on_employer_for_immigration_status",
|
|
4650
|
+
"depends_on_spouse_or_family_for_immigration_status",
|
|
4638
4651
|
"does_not_control_finances_or_earnings",
|
|
4639
4652
|
"does_not_control_identity_documents",
|
|
4640
4653
|
"elevated_lethality_risk_signal",
|
|
@@ -4728,6 +4741,8 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4728
4741
|
"several_cell_phones_or_frequent_number_changes",
|
|
4729
4742
|
"sex_acts_in_own_residence",
|
|
4730
4743
|
"sexual_exploitation",
|
|
4744
|
+
"sexualized_content_in_person_performance_activity",
|
|
4745
|
+
"sexualized_content_online_performance_activity",
|
|
4731
4746
|
"sexualized_content_performance_activity",
|
|
4732
4747
|
"shared_contact_network",
|
|
4733
4748
|
"signs_of_physical_abuse_confinement_or_neglect",
|
|
@@ -4773,6 +4788,7 @@ var CVC_136_CORE_INDICATOR_VALUES = [
|
|
|
4773
4788
|
"trafficking_experience_past_10plusy",
|
|
4774
4789
|
"trafficking_experience_past_3to10y",
|
|
4775
4790
|
"trafficking_experience_past_lt3y",
|
|
4791
|
+
"trauma_perpetrator_is_current_manager",
|
|
4776
4792
|
"travel_organized_by_third_party",
|
|
4777
4793
|
"tricked_or_pressured_into_unwanted_acts",
|
|
4778
4794
|
"under_18_advertised_age",
|
|
@@ -4825,6 +4841,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4825
4841
|
"cannot_stop_working_or_freely_leave": "Cannot stop working or freely leave home/work",
|
|
4826
4842
|
"child_not_abusers_in_household": "Child in household who is not the abuser's biological child",
|
|
4827
4843
|
"child_welfare_system_involvement": "Child welfare system involvement (history)",
|
|
4844
|
+
"clients_unaware_of_third_party_coordination": "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
4828
4845
|
"coerced_to_misrepresent_identity_or_activity": "Coerced to misrepresent age, identity, or work activity to outsiders",
|
|
4829
4846
|
"coercive_debt_pressure": "Pressured to do things to pay off debt (coercive debt repayment)",
|
|
4830
4847
|
"coercive_debt_pressure_youth": "Pressured to do things to pay off debt (youth missing-from-care)",
|
|
@@ -4847,6 +4864,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4847
4864
|
"debt_terms_deceptive_youth": "Debt repayment terms differed from what was expected (youth missing-from-care)",
|
|
4848
4865
|
"denied_basic_needs": "Denied basic needs (food, water, sleep, medical care)",
|
|
4849
4866
|
"depends_on_employer_for_immigration_status": "Depends on employer for immigration status (tied visa / living with employer)",
|
|
4867
|
+
"depends_on_spouse_or_family_for_immigration_status": "Depends on spouse / family member for immigration status (tied family visa)",
|
|
4850
4868
|
"does_not_control_finances_or_earnings": "Limited independence: does not control finances or earnings",
|
|
4851
4869
|
"does_not_control_identity_documents": "Limited independence: does not control identity documents",
|
|
4852
4870
|
"elevated_lethality_risk_signal": "Elevated lethality risk",
|
|
@@ -4940,6 +4958,8 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4940
4958
|
"several_cell_phones_or_frequent_number_changes": "Several cell phones or frequently changing phone number",
|
|
4941
4959
|
"sex_acts_in_own_residence": "Sex acts take place in person's own residence",
|
|
4942
4960
|
"sexual_exploitation": "Sexual exploitation (general)",
|
|
4961
|
+
"sexualized_content_in_person_performance_activity": "In-person sexualized performance / appearance-based activity",
|
|
4962
|
+
"sexualized_content_online_performance_activity": "Online sexual performance / interactive sexual content activity",
|
|
4943
4963
|
"sexualized_content_performance_activity": "Sexualized content, performance, or communications activity",
|
|
4944
4964
|
"shared_contact_network": "Shares a contact network (phones/handles)",
|
|
4945
4965
|
"signs_of_physical_abuse_confinement_or_neglect": "Signs of physical abuse, confinement, or neglect (observed)",
|
|
@@ -4985,6 +5005,7 @@ var CVC_136_CORE_INDICATOR_LABELS = {
|
|
|
4985
5005
|
"trafficking_experience_past_10plusy": "Trafficking experience recency: 10+ years since last experience",
|
|
4986
5006
|
"trafficking_experience_past_3to10y": "Trafficking experience recency: 3\u201310 years since last experience",
|
|
4987
5007
|
"trafficking_experience_past_lt3y": "Trafficking experience recency: less than 3 years since last experience",
|
|
5008
|
+
"trauma_perpetrator_is_current_manager": "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
4988
5009
|
"travel_organized_by_third_party": "Travel organized by a third party (sex provider does not control own movement)",
|
|
4989
5010
|
"tricked_or_pressured_into_unwanted_acts": "Tricked or pressured into unwanted acts or activities (generic coercion)",
|
|
4990
5011
|
"under_18_advertised_age": "Under 18 (ad-derived / advertised age)",
|
|
@@ -6639,7 +6660,11 @@ var personNameSchema = new import_mongoose.Schema(
|
|
|
6639
6660
|
isPrimary: Boolean,
|
|
6640
6661
|
alias: Boolean,
|
|
6641
6662
|
isUnknown: Boolean,
|
|
6642
|
-
isAnonymous: Boolean
|
|
6663
|
+
isAnonymous: Boolean,
|
|
6664
|
+
// Shape flag: this person has only one name (e.g., Madonna). A mononym
|
|
6665
|
+
// can itself be legal, a nickname, a trade name, etc. — it's orthogonal
|
|
6666
|
+
// to nameType, not a value of it.
|
|
6667
|
+
isMononym: Boolean
|
|
6643
6668
|
},
|
|
6644
6669
|
{ _id: false }
|
|
6645
6670
|
);
|
|
@@ -10800,7 +10825,12 @@ var CoreIndicatorKeys = {
|
|
|
10800
10825
|
workplace_emotional_climate_of_fear: "136-207-000-000-000-000-000",
|
|
10801
10826
|
works_across_multiple_cities_or_locations: "136-208-000-000-000-000-000",
|
|
10802
10827
|
works_for_little_or_no_pay: "136-209-000-000-000-000-000",
|
|
10803
|
-
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000"
|
|
10828
|
+
youth_watched_filmed_or_photographed_sexually_explicit: "136-210-000-000-000-000-000",
|
|
10829
|
+
clients_unaware_of_third_party_coordination: "136-211-000-000-000-000-000",
|
|
10830
|
+
depends_on_spouse_or_family_for_immigration_status: "136-212-000-000-000-000-000",
|
|
10831
|
+
sexualized_content_in_person_performance_activity: "136-213-000-000-000-000-000",
|
|
10832
|
+
sexualized_content_online_performance_activity: "136-214-000-000-000-000-000",
|
|
10833
|
+
trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000"
|
|
10804
10834
|
};
|
|
10805
10835
|
var RiskSeverityBandKeys = {
|
|
10806
10836
|
missingness_root: "238-000-000-000-000-000-000",
|
|
@@ -11351,6 +11381,43 @@ var WhyNotKeys = {
|
|
|
11351
11381
|
other: "219-007-007-000-000-000-000",
|
|
11352
11382
|
unknc: "219-007-008-000-000-000-000"
|
|
11353
11383
|
};
|
|
11384
|
+
var AssertionStatusKeys = {
|
|
11385
|
+
missingness_root: "985-000-000-000-000-000-000",
|
|
11386
|
+
unknown: "985-000-000-000-000-000-001",
|
|
11387
|
+
anonymous: "985-000-000-000-000-000-002",
|
|
11388
|
+
data_not_collected: "985-000-000-000-000-000-003",
|
|
11389
|
+
active: "985-001-000-000-000-000-000",
|
|
11390
|
+
superseded: "985-002-000-000-000-000-000",
|
|
11391
|
+
retracted: "985-003-000-000-000-000-000"
|
|
11392
|
+
};
|
|
11393
|
+
var CreatedBySystemKeys = {
|
|
11394
|
+
missingness_root: "986-000-000-000-000-000-000",
|
|
11395
|
+
unknown: "986-000-000-000-000-000-001",
|
|
11396
|
+
anonymous: "986-000-000-000-000-000-002",
|
|
11397
|
+
data_not_collected: "986-000-000-000-000-000-003",
|
|
11398
|
+
human: "986-001-000-000-000-000-000",
|
|
11399
|
+
integration: "986-002-000-000-000-000-000",
|
|
11400
|
+
rules_engine: "986-003-000-000-000-000-000",
|
|
11401
|
+
model: "986-004-000-000-000-000-000"
|
|
11402
|
+
};
|
|
11403
|
+
var SubjectTypeKeys = {
|
|
11404
|
+
missingness_root: "987-000-000-000-000-000-000",
|
|
11405
|
+
unknown: "987-000-000-000-000-000-001",
|
|
11406
|
+
anonymous: "987-000-000-000-000-000-002",
|
|
11407
|
+
data_not_collected: "987-000-000-000-000-000-003",
|
|
11408
|
+
person: "987-001-000-000-000-000-000",
|
|
11409
|
+
relationship: "987-002-000-000-000-000-000",
|
|
11410
|
+
case: "987-003-000-000-000-000-000"
|
|
11411
|
+
};
|
|
11412
|
+
var MinorAdultStatusKeys = {
|
|
11413
|
+
missingness_root: "988-000-000-000-000-000-000",
|
|
11414
|
+
unknown: "988-000-000-000-000-000-001",
|
|
11415
|
+
anonymous: "988-000-000-000-000-000-002",
|
|
11416
|
+
data_not_collected: "988-000-000-000-000-000-003",
|
|
11417
|
+
minor: "988-001-000-000-000-000-000",
|
|
11418
|
+
adult: "988-002-000-000-000-000-000",
|
|
11419
|
+
indeterminate: "988-003-000-000-000-000-000"
|
|
11420
|
+
};
|
|
11354
11421
|
|
|
11355
11422
|
// src/services/cvcRegistryService.ts
|
|
11356
11423
|
function cvcVersionsToRecord(versions) {
|
|
@@ -38085,8 +38152,8 @@ var coreIndicators_v1_0_0_default = {
|
|
|
38085
38152
|
domain: "core_indicators",
|
|
38086
38153
|
name: "Core Indicators (CVC-136)",
|
|
38087
38154
|
version: "1.0.0",
|
|
38088
|
-
_status: "CANONICAL \u2014 re-sourced 0.
|
|
38089
|
-
_source: "htilabstech/prototype@
|
|
38155
|
+
_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.",
|
|
38156
|
+
_source: "htilabstech/prototype@84a1b677 data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
|
|
38090
38157
|
levels: {
|
|
38091
38158
|
"0": "Unknown or Missing",
|
|
38092
38159
|
"1": "Indicator"
|
|
@@ -40922,6 +40989,71 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
|
|
|
40922
40989
|
polarity: "increases_risk",
|
|
40923
40990
|
severity: "elevated",
|
|
40924
40991
|
isAlert: "none"
|
|
40992
|
+
},
|
|
40993
|
+
{
|
|
40994
|
+
code: "136-211-000-000-000-000-000",
|
|
40995
|
+
key: "clients_unaware_of_third_party_coordination",
|
|
40996
|
+
title: "Clients unaware they are coordinating with a third party (concealed dispatch)",
|
|
40997
|
+
selectable: true,
|
|
40998
|
+
parentCode: null,
|
|
40999
|
+
childCodes: [],
|
|
41000
|
+
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.`,
|
|
41001
|
+
family: "mechanism_control",
|
|
41002
|
+
polarity: "increases_risk",
|
|
41003
|
+
severity: "elevated",
|
|
41004
|
+
isAlert: "none"
|
|
41005
|
+
},
|
|
41006
|
+
{
|
|
41007
|
+
code: "136-212-000-000-000-000-000",
|
|
41008
|
+
key: "depends_on_spouse_or_family_for_immigration_status",
|
|
41009
|
+
title: "Depends on spouse / family member for immigration status (tied family visa)",
|
|
41010
|
+
selectable: true,
|
|
41011
|
+
parentCode: null,
|
|
41012
|
+
childCodes: [],
|
|
41013
|
+
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").`,
|
|
41014
|
+
family: "mechanism_control",
|
|
41015
|
+
polarity: "depends",
|
|
41016
|
+
severity: "elevated",
|
|
41017
|
+
isAlert: "none"
|
|
41018
|
+
},
|
|
41019
|
+
{
|
|
41020
|
+
code: "136-213-000-000-000-000-000",
|
|
41021
|
+
key: "sexualized_content_in_person_performance_activity",
|
|
41022
|
+
title: "In-person sexualized performance / appearance-based activity",
|
|
41023
|
+
selectable: true,
|
|
41024
|
+
parentCode: null,
|
|
41025
|
+
childCodes: [],
|
|
41026
|
+
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.",
|
|
41027
|
+
family: "cs_industry_context",
|
|
41028
|
+
polarity: "increases_risk",
|
|
41029
|
+
severity: "elevated",
|
|
41030
|
+
isAlert: "none"
|
|
41031
|
+
},
|
|
41032
|
+
{
|
|
41033
|
+
code: "136-214-000-000-000-000-000",
|
|
41034
|
+
key: "sexualized_content_online_performance_activity",
|
|
41035
|
+
title: "Online sexual performance / interactive sexual content activity",
|
|
41036
|
+
selectable: true,
|
|
41037
|
+
parentCode: null,
|
|
41038
|
+
childCodes: [],
|
|
41039
|
+
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.",
|
|
41040
|
+
family: "cs_industry_context",
|
|
41041
|
+
polarity: "increases_risk",
|
|
41042
|
+
severity: "elevated",
|
|
41043
|
+
isAlert: "none"
|
|
41044
|
+
},
|
|
41045
|
+
{
|
|
41046
|
+
code: "136-215-000-000-000-000-000",
|
|
41047
|
+
key: "trauma_perpetrator_is_current_manager",
|
|
41048
|
+
title: "Trauma perpetrator is a current manager / facilitator (trauma-bonded control)",
|
|
41049
|
+
selectable: true,
|
|
41050
|
+
parentCode: null,
|
|
41051
|
+
childCodes: [],
|
|
41052
|
+
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.',
|
|
41053
|
+
family: "mechanism_control",
|
|
41054
|
+
polarity: "increases_risk",
|
|
41055
|
+
severity: "severe",
|
|
41056
|
+
isAlert: "none"
|
|
40925
41057
|
}
|
|
40926
41058
|
]
|
|
40927
41059
|
};
|
|
@@ -48611,6 +48743,441 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48611
48743
|
}
|
|
48612
48744
|
]
|
|
48613
48745
|
};
|
|
48746
|
+
|
|
48747
|
+
// src/cvcs/assertionStatus.v1.0.0.json
|
|
48748
|
+
var assertionStatus_v1_0_0_default = {
|
|
48749
|
+
domain: "assertion_status",
|
|
48750
|
+
name: "Assertion Status",
|
|
48751
|
+
version: "1.0.0",
|
|
48752
|
+
_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.",
|
|
48753
|
+
_source: "pave-2.0/packages/domain/src/enums.ts ASSERTION_STATUSES",
|
|
48754
|
+
levels: {
|
|
48755
|
+
"0": "Unknown or Missing",
|
|
48756
|
+
"1": "Assertion lifecycle status"
|
|
48757
|
+
},
|
|
48758
|
+
entries: [
|
|
48759
|
+
{
|
|
48760
|
+
code: "985-000-000-000-000-000-000",
|
|
48761
|
+
key: "missingness_root",
|
|
48762
|
+
title: "Unknown, Redacted, or Missing",
|
|
48763
|
+
selectable: false,
|
|
48764
|
+
parentCode: null,
|
|
48765
|
+
childCodes: [
|
|
48766
|
+
"985-000-000-000-000-000-001",
|
|
48767
|
+
"985-000-000-000-000-000-002",
|
|
48768
|
+
"985-000-000-000-000-000-003"
|
|
48769
|
+
],
|
|
48770
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48771
|
+
},
|
|
48772
|
+
{
|
|
48773
|
+
code: "985-000-000-000-000-000-001",
|
|
48774
|
+
key: "unknown",
|
|
48775
|
+
title: "Unknown",
|
|
48776
|
+
selectable: true,
|
|
48777
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48778
|
+
childCodes: [],
|
|
48779
|
+
definition: "The assertion status is unknown at time of entry (missingness sentinel)."
|
|
48780
|
+
},
|
|
48781
|
+
{
|
|
48782
|
+
code: "985-000-000-000-000-000-002",
|
|
48783
|
+
key: "anonymous",
|
|
48784
|
+
title: "Anonymous / declined to answer",
|
|
48785
|
+
selectable: true,
|
|
48786
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48787
|
+
childCodes: [],
|
|
48788
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48789
|
+
},
|
|
48790
|
+
{
|
|
48791
|
+
code: "985-000-000-000-000-000-003",
|
|
48792
|
+
key: "data_not_collected",
|
|
48793
|
+
title: "Data not collected",
|
|
48794
|
+
selectable: true,
|
|
48795
|
+
parentCode: "985-000-000-000-000-000-000",
|
|
48796
|
+
childCodes: [],
|
|
48797
|
+
definition: "No attempt was made to collect the value."
|
|
48798
|
+
},
|
|
48799
|
+
{
|
|
48800
|
+
code: "985-001-000-000-000-000-000",
|
|
48801
|
+
key: "active",
|
|
48802
|
+
title: "Active",
|
|
48803
|
+
selectable: true,
|
|
48804
|
+
parentCode: null,
|
|
48805
|
+
childCodes: [],
|
|
48806
|
+
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"`).'
|
|
48807
|
+
},
|
|
48808
|
+
{
|
|
48809
|
+
code: "985-002-000-000-000-000-000",
|
|
48810
|
+
key: "superseded",
|
|
48811
|
+
title: "Superseded",
|
|
48812
|
+
selectable: true,
|
|
48813
|
+
parentCode: null,
|
|
48814
|
+
childCodes: [],
|
|
48815
|
+
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.'
|
|
48816
|
+
},
|
|
48817
|
+
{
|
|
48818
|
+
code: "985-003-000-000-000-000-000",
|
|
48819
|
+
key: "retracted",
|
|
48820
|
+
title: "Retracted",
|
|
48821
|
+
selectable: true,
|
|
48822
|
+
parentCode: null,
|
|
48823
|
+
childCodes: [],
|
|
48824
|
+
definition: "Withdrawn or invalidated without a replacement row \u2014 the claim is no longer asserted. Distinct from superseded (which points at a successor)."
|
|
48825
|
+
}
|
|
48826
|
+
]
|
|
48827
|
+
};
|
|
48828
|
+
|
|
48829
|
+
// src/cvcs/createdBySystem.v1.0.0.json
|
|
48830
|
+
var createdBySystem_v1_0_0_default = {
|
|
48831
|
+
domain: "created_by_system",
|
|
48832
|
+
name: "Created By System",
|
|
48833
|
+
version: "1.0.0",
|
|
48834
|
+
_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.",
|
|
48835
|
+
_source: "pave-2.0/packages/domain/src/enums.ts CREATED_BY_SYSTEMS",
|
|
48836
|
+
levels: {
|
|
48837
|
+
"0": "Unknown or Missing",
|
|
48838
|
+
"1": "Creating actor class"
|
|
48839
|
+
},
|
|
48840
|
+
entries: [
|
|
48841
|
+
{
|
|
48842
|
+
code: "986-000-000-000-000-000-000",
|
|
48843
|
+
key: "missingness_root",
|
|
48844
|
+
title: "Unknown, Redacted, or Missing",
|
|
48845
|
+
selectable: false,
|
|
48846
|
+
parentCode: null,
|
|
48847
|
+
childCodes: [
|
|
48848
|
+
"986-000-000-000-000-000-001",
|
|
48849
|
+
"986-000-000-000-000-000-002",
|
|
48850
|
+
"986-000-000-000-000-000-003"
|
|
48851
|
+
],
|
|
48852
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48853
|
+
},
|
|
48854
|
+
{
|
|
48855
|
+
code: "986-000-000-000-000-000-001",
|
|
48856
|
+
key: "unknown",
|
|
48857
|
+
title: "Unknown",
|
|
48858
|
+
selectable: true,
|
|
48859
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48860
|
+
childCodes: [],
|
|
48861
|
+
definition: "The creating actor class is unknown at time of entry (missingness sentinel)."
|
|
48862
|
+
},
|
|
48863
|
+
{
|
|
48864
|
+
code: "986-000-000-000-000-000-002",
|
|
48865
|
+
key: "anonymous",
|
|
48866
|
+
title: "Anonymous / declined to answer",
|
|
48867
|
+
selectable: true,
|
|
48868
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48869
|
+
childCodes: [],
|
|
48870
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48871
|
+
},
|
|
48872
|
+
{
|
|
48873
|
+
code: "986-000-000-000-000-000-003",
|
|
48874
|
+
key: "data_not_collected",
|
|
48875
|
+
title: "Data not collected",
|
|
48876
|
+
selectable: true,
|
|
48877
|
+
parentCode: "986-000-000-000-000-000-000",
|
|
48878
|
+
childCodes: [],
|
|
48879
|
+
definition: "No attempt was made to collect the value."
|
|
48880
|
+
},
|
|
48881
|
+
{
|
|
48882
|
+
code: "986-001-000-000-000-000-000",
|
|
48883
|
+
key: "human",
|
|
48884
|
+
title: "Human",
|
|
48885
|
+
selectable: true,
|
|
48886
|
+
parentCode: null,
|
|
48887
|
+
childCodes: [],
|
|
48888
|
+
definition: 'A person created the assertion row directly. Emitting systems typically default to this value (e.g. PAVE\'s assertion factory defaults `createdBySystem: "human"`).'
|
|
48889
|
+
},
|
|
48890
|
+
{
|
|
48891
|
+
code: "986-002-000-000-000-000-000",
|
|
48892
|
+
key: "integration",
|
|
48893
|
+
title: "Integration",
|
|
48894
|
+
selectable: true,
|
|
48895
|
+
parentCode: null,
|
|
48896
|
+
childCodes: [],
|
|
48897
|
+
definition: "An external-system integration created the row (cross-app ingest, imports, connected systems). Pair with source/provenance fields for the originating system."
|
|
48898
|
+
},
|
|
48899
|
+
{
|
|
48900
|
+
code: "986-003-000-000-000-000-000",
|
|
48901
|
+
key: "rules_engine",
|
|
48902
|
+
title: "Rules engine",
|
|
48903
|
+
selectable: true,
|
|
48904
|
+
parentCode: null,
|
|
48905
|
+
childCodes: [],
|
|
48906
|
+
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."
|
|
48907
|
+
},
|
|
48908
|
+
{
|
|
48909
|
+
code: "986-004-000-000-000-000-000",
|
|
48910
|
+
key: "model",
|
|
48911
|
+
title: "Model",
|
|
48912
|
+
selectable: true,
|
|
48913
|
+
parentCode: null,
|
|
48914
|
+
childCodes: [],
|
|
48915
|
+
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."
|
|
48916
|
+
}
|
|
48917
|
+
]
|
|
48918
|
+
};
|
|
48919
|
+
|
|
48920
|
+
// src/cvcs/subjectType.v1.0.0.json
|
|
48921
|
+
var subjectType_v1_0_0_default = {
|
|
48922
|
+
domain: "subject_type",
|
|
48923
|
+
name: "Subject Type",
|
|
48924
|
+
version: "1.0.0",
|
|
48925
|
+
_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.",
|
|
48926
|
+
_source: "pave-2.0/packages/domain/src/enums.ts SUBJECT_TYPES",
|
|
48927
|
+
levels: {
|
|
48928
|
+
"0": "Unknown or Missing",
|
|
48929
|
+
"1": "Assertion subject type"
|
|
48930
|
+
},
|
|
48931
|
+
entries: [
|
|
48932
|
+
{
|
|
48933
|
+
code: "987-000-000-000-000-000-000",
|
|
48934
|
+
key: "missingness_root",
|
|
48935
|
+
title: "Unknown, Redacted, or Missing",
|
|
48936
|
+
selectable: false,
|
|
48937
|
+
parentCode: null,
|
|
48938
|
+
childCodes: [
|
|
48939
|
+
"987-000-000-000-000-000-001",
|
|
48940
|
+
"987-000-000-000-000-000-002",
|
|
48941
|
+
"987-000-000-000-000-000-003"
|
|
48942
|
+
],
|
|
48943
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
48944
|
+
},
|
|
48945
|
+
{
|
|
48946
|
+
code: "987-000-000-000-000-000-001",
|
|
48947
|
+
key: "unknown",
|
|
48948
|
+
title: "Unknown",
|
|
48949
|
+
selectable: true,
|
|
48950
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48951
|
+
childCodes: [],
|
|
48952
|
+
definition: "The subject type is unknown at time of entry (missingness sentinel)."
|
|
48953
|
+
},
|
|
48954
|
+
{
|
|
48955
|
+
code: "987-000-000-000-000-000-002",
|
|
48956
|
+
key: "anonymous",
|
|
48957
|
+
title: "Anonymous / declined to answer",
|
|
48958
|
+
selectable: true,
|
|
48959
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48960
|
+
childCodes: [],
|
|
48961
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
48962
|
+
},
|
|
48963
|
+
{
|
|
48964
|
+
code: "987-000-000-000-000-000-003",
|
|
48965
|
+
key: "data_not_collected",
|
|
48966
|
+
title: "Data not collected",
|
|
48967
|
+
selectable: true,
|
|
48968
|
+
parentCode: "987-000-000-000-000-000-000",
|
|
48969
|
+
childCodes: [],
|
|
48970
|
+
definition: "No attempt was made to collect the value."
|
|
48971
|
+
},
|
|
48972
|
+
{
|
|
48973
|
+
code: "987-001-000-000-000-000-000",
|
|
48974
|
+
key: "person",
|
|
48975
|
+
title: "Person",
|
|
48976
|
+
selectable: true,
|
|
48977
|
+
parentCode: null,
|
|
48978
|
+
childCodes: [],
|
|
48979
|
+
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"`).'
|
|
48980
|
+
},
|
|
48981
|
+
{
|
|
48982
|
+
code: "987-002-000-000-000-000-000",
|
|
48983
|
+
key: "relationship",
|
|
48984
|
+
title: "Relationship",
|
|
48985
|
+
selectable: true,
|
|
48986
|
+
parentCode: null,
|
|
48987
|
+
childCodes: [],
|
|
48988
|
+
definition: "The assertion is about a relationship between people; `subject_id` resolves to a relationship record."
|
|
48989
|
+
},
|
|
48990
|
+
{
|
|
48991
|
+
code: "987-003-000-000-000-000-000",
|
|
48992
|
+
key: "case",
|
|
48993
|
+
title: "Case",
|
|
48994
|
+
selectable: true,
|
|
48995
|
+
parentCode: null,
|
|
48996
|
+
childCodes: [],
|
|
48997
|
+
definition: "The assertion is about a case; `subject_id` resolves to a case record."
|
|
48998
|
+
}
|
|
48999
|
+
]
|
|
49000
|
+
};
|
|
49001
|
+
|
|
49002
|
+
// src/cvcs/minorAdultStatus.v1.0.0.json
|
|
49003
|
+
var minorAdultStatus_v1_0_0_default = {
|
|
49004
|
+
domain: "minor_adult_status",
|
|
49005
|
+
name: "Minor / Adult Status (age band at event)",
|
|
49006
|
+
version: "1.0.0",
|
|
49007
|
+
_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.",
|
|
49008
|
+
_source: "pave-2.0/packages/domain/src/enums.ts AGE_BANDS_AT_EVENT",
|
|
49009
|
+
levels: {
|
|
49010
|
+
"0": "Unknown or Missing",
|
|
49011
|
+
"1": "Minor / adult status at event"
|
|
49012
|
+
},
|
|
49013
|
+
entries: [
|
|
49014
|
+
{
|
|
49015
|
+
code: "988-000-000-000-000-000-000",
|
|
49016
|
+
key: "missingness_root",
|
|
49017
|
+
title: "Unknown, Redacted, or Missing",
|
|
49018
|
+
selectable: false,
|
|
49019
|
+
parentCode: null,
|
|
49020
|
+
childCodes: [
|
|
49021
|
+
"988-000-000-000-000-000-001",
|
|
49022
|
+
"988-000-000-000-000-000-002",
|
|
49023
|
+
"988-000-000-000-000-000-003"
|
|
49024
|
+
],
|
|
49025
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
49026
|
+
},
|
|
49027
|
+
{
|
|
49028
|
+
code: "988-000-000-000-000-000-001",
|
|
49029
|
+
key: "unknown",
|
|
49030
|
+
title: "Unknown",
|
|
49031
|
+
selectable: true,
|
|
49032
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
49033
|
+
childCodes: [],
|
|
49034
|
+
definition: "The age band is unknown \u2014 not assessed or not recorded (missingness sentinel). Carries PAVE's `unknown` member of AGE_BANDS_AT_EVENT."
|
|
49035
|
+
},
|
|
49036
|
+
{
|
|
49037
|
+
code: "988-000-000-000-000-000-002",
|
|
49038
|
+
key: "anonymous",
|
|
49039
|
+
title: "Anonymous / declined to answer",
|
|
49040
|
+
selectable: true,
|
|
49041
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
49042
|
+
childCodes: [],
|
|
49043
|
+
definition: "Value is intentionally withheld, declined, or redacted."
|
|
49044
|
+
},
|
|
49045
|
+
{
|
|
49046
|
+
code: "988-000-000-000-000-000-003",
|
|
49047
|
+
key: "data_not_collected",
|
|
49048
|
+
title: "Data not collected",
|
|
49049
|
+
selectable: true,
|
|
49050
|
+
parentCode: "988-000-000-000-000-000-000",
|
|
49051
|
+
childCodes: [],
|
|
49052
|
+
definition: "No attempt was made to collect the value."
|
|
49053
|
+
},
|
|
49054
|
+
{
|
|
49055
|
+
code: "988-001-000-000-000-000-000",
|
|
49056
|
+
key: "minor",
|
|
49057
|
+
title: "Minor (under 18)",
|
|
49058
|
+
selectable: true,
|
|
49059
|
+
parentCode: null,
|
|
49060
|
+
childCodes: [],
|
|
49061
|
+
definition: "The subject was under 18 when the asserted event occurred."
|
|
49062
|
+
},
|
|
49063
|
+
{
|
|
49064
|
+
code: "988-002-000-000-000-000-000",
|
|
49065
|
+
key: "adult",
|
|
49066
|
+
title: "Adult (18+)",
|
|
49067
|
+
selectable: true,
|
|
49068
|
+
parentCode: null,
|
|
49069
|
+
childCodes: [],
|
|
49070
|
+
definition: "The subject was 18 or older when the asserted event occurred."
|
|
49071
|
+
},
|
|
49072
|
+
{
|
|
49073
|
+
code: "988-003-000-000-000-000-000",
|
|
49074
|
+
key: "indeterminate",
|
|
49075
|
+
title: "Indeterminate",
|
|
49076
|
+
selectable: true,
|
|
49077
|
+
parentCode: null,
|
|
49078
|
+
childCodes: [],
|
|
49079
|
+
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)."
|
|
49080
|
+
}
|
|
49081
|
+
]
|
|
49082
|
+
};
|
|
49083
|
+
|
|
49084
|
+
// src/cvcs/hmisSex.v1.0.0.json
|
|
49085
|
+
var hmisSex_v1_0_0_default = {
|
|
49086
|
+
domain: "hmis_sex",
|
|
49087
|
+
name: "Core HMIS Sex",
|
|
49088
|
+
version: "1.0.0",
|
|
49089
|
+
levels: {
|
|
49090
|
+
"0": "Unknown or Missing",
|
|
49091
|
+
"1": "Sex"
|
|
49092
|
+
},
|
|
49093
|
+
entries: [
|
|
49094
|
+
{
|
|
49095
|
+
code: "067-000-000-000-000-000-000",
|
|
49096
|
+
key: "missingness_root",
|
|
49097
|
+
title: "Unknown, Redacted, or Missing",
|
|
49098
|
+
selectable: false,
|
|
49099
|
+
parentCode: null,
|
|
49100
|
+
childCodes: [
|
|
49101
|
+
"067-000-000-000-000-000-001",
|
|
49102
|
+
"067-000-000-000-000-000-002",
|
|
49103
|
+
"067-000-000-000-000-000-003",
|
|
49104
|
+
"067-000-000-000-000-000-004",
|
|
49105
|
+
"067-000-000-000-000-000-005"
|
|
49106
|
+
],
|
|
49107
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
49108
|
+
},
|
|
49109
|
+
{
|
|
49110
|
+
code: "067-000-000-000-000-000-001",
|
|
49111
|
+
key: "unknown",
|
|
49112
|
+
title: "Unknown",
|
|
49113
|
+
selectable: true,
|
|
49114
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
49115
|
+
childCodes: [],
|
|
49116
|
+
definition: "Value is unknown at time of entry."
|
|
49117
|
+
},
|
|
49118
|
+
{
|
|
49119
|
+
code: "067-000-000-000-000-000-002",
|
|
49120
|
+
key: "anonymous",
|
|
49121
|
+
title: "Anonymous",
|
|
49122
|
+
selectable: true,
|
|
49123
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
49124
|
+
childCodes: [],
|
|
49125
|
+
definition: "Value is intentionally withheld or redacted."
|
|
49126
|
+
},
|
|
49127
|
+
{
|
|
49128
|
+
code: "067-000-000-000-000-000-003",
|
|
49129
|
+
key: "data_not_collected",
|
|
49130
|
+
title: "Data not collected",
|
|
49131
|
+
selectable: true,
|
|
49132
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
49133
|
+
childCodes: [],
|
|
49134
|
+
definition: "Use this response if the staff does not ask the person to provide their sex."
|
|
49135
|
+
},
|
|
49136
|
+
{
|
|
49137
|
+
code: "067-000-000-000-000-000-004",
|
|
49138
|
+
key: "client_doesn_t_know",
|
|
49139
|
+
title: "Client doesn't know",
|
|
49140
|
+
selectable: true,
|
|
49141
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
49142
|
+
childCodes: [],
|
|
49143
|
+
definition: `"Client doesn't know" should only be selected when a person does not know their sex from among the responses.`
|
|
49144
|
+
},
|
|
49145
|
+
{
|
|
49146
|
+
code: "067-000-000-000-000-000-005",
|
|
49147
|
+
key: "client_prefers_not_to_answer",
|
|
49148
|
+
title: "Client prefers not to answer",
|
|
49149
|
+
selectable: true,
|
|
49150
|
+
parentCode: "067-000-000-000-000-000-000",
|
|
49151
|
+
childCodes: [],
|
|
49152
|
+
definition: '"Client prefers not to answer" should only be selected when a person chooses not to identify their sex from among the responses.'
|
|
49153
|
+
},
|
|
49154
|
+
{
|
|
49155
|
+
code: "067-001-000-000-000-000-000",
|
|
49156
|
+
key: "female",
|
|
49157
|
+
title: "Female",
|
|
49158
|
+
selectable: true,
|
|
49159
|
+
parentCode: null,
|
|
49160
|
+
childCodes: [],
|
|
49161
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing eggs (ova)."
|
|
49162
|
+
},
|
|
49163
|
+
{
|
|
49164
|
+
code: "067-002-000-000-000-000-000",
|
|
49165
|
+
key: "male",
|
|
49166
|
+
title: "Male",
|
|
49167
|
+
selectable: true,
|
|
49168
|
+
parentCode: null,
|
|
49169
|
+
childCodes: [],
|
|
49170
|
+
definition: "A person of the sex characterized by a reproductive system with the biological function of producing sperm."
|
|
49171
|
+
}
|
|
49172
|
+
]
|
|
49173
|
+
};
|
|
49174
|
+
|
|
49175
|
+
// src/index.ts
|
|
49176
|
+
var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
|
|
49177
|
+
var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
|
|
49178
|
+
var CVC_197_VALUES = selectableCodes(
|
|
49179
|
+
juvenileJusticeEpisodeType_v1_0_0_default
|
|
49180
|
+
);
|
|
48614
49181
|
// Annotate the CommonJS export names for ESM import in node:
|
|
48615
49182
|
0 && (module.exports = {
|
|
48616
49183
|
ACCOMMODATION_LABELS,
|
|
@@ -48631,6 +49198,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48631
49198
|
AnnouncementAudienceScopeKeys,
|
|
48632
49199
|
AnnouncementResponseTypeKeys,
|
|
48633
49200
|
AssertionDomainKeys,
|
|
49201
|
+
AssertionStatusKeys,
|
|
48634
49202
|
BIRTH_LOCATION,
|
|
48635
49203
|
BIRTH_LOCATION_LABELS,
|
|
48636
49204
|
BIRTH_LOCATION_VALUES,
|
|
@@ -48668,6 +49236,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48668
49236
|
CVC_136_OPTIONS,
|
|
48669
49237
|
CVC_136_TYPE_TO_CATEGORY,
|
|
48670
49238
|
CVC_136_VALUES,
|
|
49239
|
+
CVC_137_VALUES,
|
|
48671
49240
|
CVC_145_CATEGORY,
|
|
48672
49241
|
CVC_145_CATEGORY_LABELS,
|
|
48673
49242
|
CVC_145_CATEGORY_ORDER,
|
|
@@ -48745,6 +49314,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48745
49314
|
CVC_196_CHILD_WELFARE_EPISODE_TYPE,
|
|
48746
49315
|
CVC_196_LABELS,
|
|
48747
49316
|
CVC_196_VALUES,
|
|
49317
|
+
CVC_197_VALUES,
|
|
48748
49318
|
CVC_1_LABELS,
|
|
48749
49319
|
CVC_1_NAME_TYPE,
|
|
48750
49320
|
CVC_1_STRUCTURED_NAME_TYPES,
|
|
@@ -48792,6 +49362,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48792
49362
|
CoreFunctionsKeys,
|
|
48793
49363
|
CoreIndicatorKeys,
|
|
48794
49364
|
CoreReferralOutcomeKeys,
|
|
49365
|
+
CreatedBySystemKeys,
|
|
48795
49366
|
CvcCodeSchema,
|
|
48796
49367
|
CvcEntrySchema,
|
|
48797
49368
|
CvcEnvelopeSchema,
|
|
@@ -48931,6 +49502,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
48931
49502
|
MilestoneTypeKeys,
|
|
48932
49503
|
MilitaryBranchKeys,
|
|
48933
49504
|
MilitaryStatusKeys,
|
|
49505
|
+
MinorAdultStatusKeys,
|
|
48934
49506
|
NameTypeKeys,
|
|
48935
49507
|
NeedsAssessmentChangeTypeKeys,
|
|
48936
49508
|
NeedsResidentialAgainKeys,
|
|
@@ -49031,6 +49603,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49031
49603
|
SourceSubtypeKeys,
|
|
49032
49604
|
SourceSystemKeys,
|
|
49033
49605
|
SpecialNeedsDisabilitiesKeys,
|
|
49606
|
+
SubjectTypeKeys,
|
|
49034
49607
|
SubstanceUseStatusKeys,
|
|
49035
49608
|
SuggestionSourceKeys,
|
|
49036
49609
|
SupportStrengthKeys,
|
|
@@ -49064,6 +49637,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49064
49637
|
announcementResponseTypeSot,
|
|
49065
49638
|
applyEntryOverrides,
|
|
49066
49639
|
assertionDomainSot,
|
|
49640
|
+
assertionStatusSot,
|
|
49067
49641
|
basisQuickPicksSot,
|
|
49068
49642
|
buildCvcEntrySchema,
|
|
49069
49643
|
buildCvcRegistrySchema,
|
|
@@ -49093,6 +49667,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49093
49667
|
coreIndicatorsSot,
|
|
49094
49668
|
coreReferralOutcomeSot,
|
|
49095
49669
|
createPlatformModels,
|
|
49670
|
+
createdBySystemSot,
|
|
49096
49671
|
cvcEntryModel,
|
|
49097
49672
|
cvcEntrySchemaDefinition,
|
|
49098
49673
|
cvcEntrySchemaOptions,
|
|
@@ -49154,6 +49729,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49154
49729
|
hmisCurrentLivingSituationSot,
|
|
49155
49730
|
hmisProjectTypeSot,
|
|
49156
49731
|
hmisRelationshipToHohSot,
|
|
49732
|
+
hmisSexSot,
|
|
49157
49733
|
homelessStatusSot,
|
|
49158
49734
|
hopeScaleCaptureContextSot,
|
|
49159
49735
|
hopeScaleResponseOptionsSot,
|
|
@@ -49189,6 +49765,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49189
49765
|
milestoneTypeSot,
|
|
49190
49766
|
militaryBranchSot,
|
|
49191
49767
|
militaryStatusSot,
|
|
49768
|
+
minorAdultStatusSot,
|
|
49192
49769
|
nameTypeSot,
|
|
49193
49770
|
needsAssessmentChangeTypeSot,
|
|
49194
49771
|
needsResidentialAgainSot,
|
|
@@ -49275,6 +49852,7 @@ var suggestionSource_v1_0_0_default = {
|
|
|
49275
49852
|
sourceSubtypeSot,
|
|
49276
49853
|
sourceSystemSot,
|
|
49277
49854
|
specialNeedsDisabilitiesSot,
|
|
49855
|
+
subjectTypeSot,
|
|
49278
49856
|
substanceUseStatusSot,
|
|
49279
49857
|
suggestionSourceSot,
|
|
49280
49858
|
supportStrengthSot,
|