@htilabs/platform-common-models 0.8.14 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cvcs/index.cjs +96 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +358 -246
- package/dist/cvcs/index.d.ts +358 -246
- package/dist/cvcs/index.js +94 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +127 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -2
- package/dist/index.d.ts +45 -2
- package/dist/index.js +122 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cvcs/caseShareState.v1.0.0.json +62 -0
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
- package/src/cvcs/index.ts +4 -0
- package/src/cvcs/referralOrigin.v1.0.0.json +26 -0
- package/src/generated/cvc-enums.ts +49 -0
package/dist/index.cjs
CHANGED
|
@@ -188,6 +188,7 @@ __export(src_exports, {
|
|
|
188
188
|
CVC_99_ENGLISH_PROFICIENCY: () => CVC_99_ENGLISH_PROFICIENCY,
|
|
189
189
|
CVC_99_LABELS: () => CVC_99_LABELS,
|
|
190
190
|
CVC_99_VALUES: () => CVC_99_VALUES,
|
|
191
|
+
CaseShareStateKeys: () => CaseShareStateKeys,
|
|
191
192
|
CheckInActivityKeys: () => CheckInActivityKeys,
|
|
192
193
|
CheckInPhaseKeys: () => CheckInPhaseKeys,
|
|
193
194
|
ChildBehavioralConcernsKeys: () => ChildBehavioralConcernsKeys,
|
|
@@ -203,6 +204,7 @@ __export(src_exports, {
|
|
|
203
204
|
CoreIndicatorKeys: () => CoreIndicatorKeys,
|
|
204
205
|
CoreReferralOutcomeKeys: () => CoreReferralOutcomeKeys,
|
|
205
206
|
CreatedBySystemKeys: () => CreatedBySystemKeys,
|
|
207
|
+
CriminalOrgCategoryKeys: () => CriminalOrgCategoryKeys,
|
|
206
208
|
CvcCodeSchema: () => CvcCodeSchema,
|
|
207
209
|
CvcEntrySchema: () => CvcEntrySchema,
|
|
208
210
|
CvcEnvelopeSchema: () => CvcEnvelopeSchema,
|
|
@@ -397,6 +399,7 @@ __export(src_exports, {
|
|
|
397
399
|
RecencyBandKeys: () => RecencyBandKeys,
|
|
398
400
|
ReferenceLinkTypeKeys: () => ReferenceLinkTypeKeys,
|
|
399
401
|
ReferralEntityCategoryKeys: () => ReferralEntityCategoryKeys,
|
|
402
|
+
ReferralOriginKeys: () => ReferralOriginKeys,
|
|
400
403
|
RelationshipConcernKeys: () => RelationshipConcernKeys,
|
|
401
404
|
RelationshipDynamicsKeys: () => RelationshipDynamicsKeys,
|
|
402
405
|
RelationshipStatusCurrentKeys: () => RelationshipStatusCurrentKeys,
|
|
@@ -488,6 +491,7 @@ __export(src_exports, {
|
|
|
488
491
|
buildScoringRuleSchema: () => buildScoringRuleSchema,
|
|
489
492
|
buildSectionSchema: () => buildSectionSchema,
|
|
490
493
|
cascadeExclusions: () => cascadeExclusions,
|
|
494
|
+
caseShareStateSot: () => caseShareState_v1_0_0_default,
|
|
491
495
|
checkInActivitySot: () => checkInActivity_v1_0_0_default,
|
|
492
496
|
checkInPhaseSot: () => checkInPhase_v1_1_0_default,
|
|
493
497
|
childBehavioralConcernsSot: () => childBehavioralConcerns_v1_0_0_default,
|
|
@@ -642,6 +646,7 @@ __export(src_exports, {
|
|
|
642
646
|
recencyBandSot: () => recencyBand_v1_0_0_default,
|
|
643
647
|
referenceLinkTypeSot: () => referenceLinkType_v1_0_0_default,
|
|
644
648
|
referralEntityCategorySot: () => referralEntityCategory_v1_0_0_default,
|
|
649
|
+
referralOriginSot: () => referralOrigin_v1_0_0_default,
|
|
645
650
|
relationshipConcernSot: () => relationshipConcern_v1_0_0_default,
|
|
646
651
|
relationshipDynamicsSot: () => relationshipDynamics_v1_0_0_default,
|
|
647
652
|
relationshipStatusCurrentSot: () => relationshipStatusCurrent_v1_0_0_default,
|
|
@@ -8375,6 +8380,18 @@ var SharePurposeKeys = {
|
|
|
8375
8380
|
discretionary_share: "084-007-000-000-000-000-000",
|
|
8376
8381
|
records_request: "084-008-000-000-000-000-000"
|
|
8377
8382
|
};
|
|
8383
|
+
var ReferralOriginKeys = {
|
|
8384
|
+
internal: "909-001-000-000-000-000-000",
|
|
8385
|
+
external: "909-002-000-000-000-000-000"
|
|
8386
|
+
};
|
|
8387
|
+
var CaseShareStateKeys = {
|
|
8388
|
+
pending: "925-001-000-000-000-000-000",
|
|
8389
|
+
claimed: "925-002-000-000-000-000-000",
|
|
8390
|
+
accepted_awaiting_review: "925-003-000-000-000-000-000",
|
|
8391
|
+
accepted: "925-004-000-000-000-000-000",
|
|
8392
|
+
declined: "925-005-000-000-000-000-000",
|
|
8393
|
+
rejected: "925-006-000-000-000-000-000"
|
|
8394
|
+
};
|
|
8378
8395
|
var FacilitatorEntityTypeKeys = {
|
|
8379
8396
|
missingness_root: "165-000-000-000-000-000-000",
|
|
8380
8397
|
unknown: "165-000-000-000-000-000-001",
|
|
@@ -11418,6 +11435,19 @@ var MinorAdultStatusKeys = {
|
|
|
11418
11435
|
adult: "988-002-000-000-000-000-000",
|
|
11419
11436
|
indeterminate: "988-003-000-000-000-000-000"
|
|
11420
11437
|
};
|
|
11438
|
+
var CriminalOrgCategoryKeys = {
|
|
11439
|
+
missingness_root: "990-000-000-000-000-000-000",
|
|
11440
|
+
unknown: "990-000-000-000-000-000-001",
|
|
11441
|
+
anonymous: "990-000-000-000-000-000-002",
|
|
11442
|
+
data_not_collected: "990-000-000-000-000-000-003",
|
|
11443
|
+
street_gang: "990-001-000-000-000-000-000",
|
|
11444
|
+
prison_gang: "990-002-000-000-000-000-000",
|
|
11445
|
+
outlaw_motorcycle_gang: "990-003-000-000-000-000-000",
|
|
11446
|
+
tco_cartel: "990-004-000-000-000-000-000",
|
|
11447
|
+
white_supremacist_extremist: "990-005-000-000-000-000-000",
|
|
11448
|
+
organized_crime_family: "990-006-000-000-000-000-000",
|
|
11449
|
+
familial_or_independent_trafficking_network: "990-007-000-000-000-000-000"
|
|
11450
|
+
};
|
|
11421
11451
|
|
|
11422
11452
|
// src/services/cvcRegistryService.ts
|
|
11423
11453
|
function cvcVersionsToRecord(versions) {
|
|
@@ -19020,6 +19050,98 @@ var sharePurpose_v1_0_0_default = {
|
|
|
19020
19050
|
]
|
|
19021
19051
|
};
|
|
19022
19052
|
|
|
19053
|
+
// src/cvcs/referralOrigin.v1.0.0.json
|
|
19054
|
+
var referralOrigin_v1_0_0_default = {
|
|
19055
|
+
domain: "referral_origin",
|
|
19056
|
+
name: "Core Referral Origin",
|
|
19057
|
+
version: "1.0.0",
|
|
19058
|
+
levels: { "1": "Origin" },
|
|
19059
|
+
entries: [
|
|
19060
|
+
{
|
|
19061
|
+
code: "909-001-000-000-000-000-000",
|
|
19062
|
+
key: "internal",
|
|
19063
|
+
title: "Internal",
|
|
19064
|
+
selectable: true,
|
|
19065
|
+
parentCode: null,
|
|
19066
|
+
childCodes: [],
|
|
19067
|
+
definition: "A referral whose sending and receiving parties sit within the same agency or account boundary, so completing it involves no disclosure of client information across an organizational boundary."
|
|
19068
|
+
},
|
|
19069
|
+
{
|
|
19070
|
+
code: "909-002-000-000-000-000-000",
|
|
19071
|
+
key: "external",
|
|
19072
|
+
title: "External",
|
|
19073
|
+
selectable: true,
|
|
19074
|
+
parentCode: null,
|
|
19075
|
+
childCodes: [],
|
|
19076
|
+
definition: "A referral whose receiving party is a different agency, making acceptance a cross-agency disclosure of client information. Where an implementation cannot positively determine the origin, it must treat the referral as external, so that the stronger disclosure controls apply by default rather than the weaker ones."
|
|
19077
|
+
}
|
|
19078
|
+
]
|
|
19079
|
+
};
|
|
19080
|
+
|
|
19081
|
+
// src/cvcs/caseShareState.v1.0.0.json
|
|
19082
|
+
var caseShareState_v1_0_0_default = {
|
|
19083
|
+
domain: "case_share_state",
|
|
19084
|
+
name: "Core Case Share State",
|
|
19085
|
+
version: "1.0.0",
|
|
19086
|
+
levels: { "1": "State" },
|
|
19087
|
+
entries: [
|
|
19088
|
+
{
|
|
19089
|
+
code: "925-001-000-000-000-000-000",
|
|
19090
|
+
key: "pending",
|
|
19091
|
+
title: "Pending",
|
|
19092
|
+
selectable: true,
|
|
19093
|
+
parentCode: null,
|
|
19094
|
+
childCodes: [],
|
|
19095
|
+
definition: "The share has been delivered to the receiving party and is awaiting a claim. No one on the receiving side has taken responsibility for it yet, and no client content has been disclosed."
|
|
19096
|
+
},
|
|
19097
|
+
{
|
|
19098
|
+
code: "925-002-000-000-000-000-000",
|
|
19099
|
+
key: "claimed",
|
|
19100
|
+
title: "Claimed",
|
|
19101
|
+
selectable: true,
|
|
19102
|
+
parentCode: null,
|
|
19103
|
+
childCodes: [],
|
|
19104
|
+
definition: "A team on the receiving side has taken custody of the share but has not yet accepted it. Claiming assigns responsibility only; it discloses no client content, so a claimed share is still outstanding work rather than a completed exchange."
|
|
19105
|
+
},
|
|
19106
|
+
{
|
|
19107
|
+
code: "925-003-000-000-000-000-000",
|
|
19108
|
+
key: "accepted_awaiting_review",
|
|
19109
|
+
title: "Accepted \u2014 awaiting review",
|
|
19110
|
+
selectable: true,
|
|
19111
|
+
parentCode: null,
|
|
19112
|
+
childCodes: [],
|
|
19113
|
+
definition: "The share has been accepted and its content disclosed, but one or more delivered persons matched an existing record ambiguously and are held for a human decision before the receiving record is linked."
|
|
19114
|
+
},
|
|
19115
|
+
{
|
|
19116
|
+
code: "925-004-000-000-000-000-000",
|
|
19117
|
+
key: "accepted",
|
|
19118
|
+
title: "Accepted",
|
|
19119
|
+
selectable: true,
|
|
19120
|
+
parentCode: null,
|
|
19121
|
+
childCodes: [],
|
|
19122
|
+
definition: "The share has been accepted, its content disclosed, and the link to the receiving party's record written. Terminal."
|
|
19123
|
+
},
|
|
19124
|
+
{
|
|
19125
|
+
code: "925-005-000-000-000-000-000",
|
|
19126
|
+
key: "declined",
|
|
19127
|
+
title: "Declined",
|
|
19128
|
+
selectable: true,
|
|
19129
|
+
parentCode: null,
|
|
19130
|
+
childCodes: [],
|
|
19131
|
+
definition: "The receiving party refused the share at the claim decision point, BEFORE its content was disclosed. Distinct from rejected: no client information was released, so the refusal carries no disclosure to account for. Terminal."
|
|
19132
|
+
},
|
|
19133
|
+
{
|
|
19134
|
+
code: "925-006-000-000-000-000-000",
|
|
19135
|
+
key: "rejected",
|
|
19136
|
+
title: "Rejected",
|
|
19137
|
+
selectable: true,
|
|
19138
|
+
parentCode: null,
|
|
19139
|
+
childCodes: [],
|
|
19140
|
+
definition: "The receiving party refused the share AFTER accepting it and reviewing its content. Distinct from declined: the disclosure already occurred and remains subject to the receiving party's retention and audit obligations. Terminal."
|
|
19141
|
+
}
|
|
19142
|
+
]
|
|
19143
|
+
};
|
|
19144
|
+
|
|
19023
19145
|
// src/cvcs/facilitatorEntityType.v1.0.0.json
|
|
19024
19146
|
var facilitatorEntityType_v1_0_0_default = {
|
|
19025
19147
|
domain: "facilitator_entity_type",
|
|
@@ -49348,6 +49470,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49348
49470
|
CVC_99_ENGLISH_PROFICIENCY,
|
|
49349
49471
|
CVC_99_LABELS,
|
|
49350
49472
|
CVC_99_VALUES,
|
|
49473
|
+
CaseShareStateKeys,
|
|
49351
49474
|
CheckInActivityKeys,
|
|
49352
49475
|
CheckInPhaseKeys,
|
|
49353
49476
|
ChildBehavioralConcernsKeys,
|
|
@@ -49363,6 +49486,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49363
49486
|
CoreIndicatorKeys,
|
|
49364
49487
|
CoreReferralOutcomeKeys,
|
|
49365
49488
|
CreatedBySystemKeys,
|
|
49489
|
+
CriminalOrgCategoryKeys,
|
|
49366
49490
|
CvcCodeSchema,
|
|
49367
49491
|
CvcEntrySchema,
|
|
49368
49492
|
CvcEnvelopeSchema,
|
|
@@ -49557,6 +49681,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49557
49681
|
RecencyBandKeys,
|
|
49558
49682
|
ReferenceLinkTypeKeys,
|
|
49559
49683
|
ReferralEntityCategoryKeys,
|
|
49684
|
+
ReferralOriginKeys,
|
|
49560
49685
|
RelationshipConcernKeys,
|
|
49561
49686
|
RelationshipDynamicsKeys,
|
|
49562
49687
|
RelationshipStatusCurrentKeys,
|
|
@@ -49648,6 +49773,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49648
49773
|
buildScoringRuleSchema,
|
|
49649
49774
|
buildSectionSchema,
|
|
49650
49775
|
cascadeExclusions,
|
|
49776
|
+
caseShareStateSot,
|
|
49651
49777
|
checkInActivitySot,
|
|
49652
49778
|
checkInPhaseSot,
|
|
49653
49779
|
childBehavioralConcernsSot,
|
|
@@ -49802,6 +49928,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49802
49928
|
recencyBandSot,
|
|
49803
49929
|
referenceLinkTypeSot,
|
|
49804
49930
|
referralEntityCategorySot,
|
|
49931
|
+
referralOriginSot,
|
|
49805
49932
|
relationshipConcernSot,
|
|
49806
49933
|
relationshipDynamicsSot,
|
|
49807
49934
|
relationshipStatusCurrentSot,
|