@htilabs/platform-common-models 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cvcs/index.cjs +4769 -643
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +5036 -606
- package/dist/cvcs/index.d.ts +5036 -606
- package/dist/cvcs/index.js +4769 -643
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +74 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +77 -4
- package/dist/enums/index.d.ts +77 -4
- package/dist/enums/index.js +74 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/index.cjs +5199 -588
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5189 -588
- package/dist/index.js.map +1 -1
- package/dist/information-scope/index.cjs +440 -0
- package/dist/information-scope/index.cjs.map +1 -0
- package/dist/information-scope/index.d.cts +313 -0
- package/dist/information-scope/index.d.ts +313 -0
- package/dist/information-scope/index.js +404 -0
- package/dist/information-scope/index.js.map +1 -0
- package/dist/services/index.cjs +414 -2
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +1 -0
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.js +403 -1
- package/dist/services/index.js.map +1 -1
- package/package.json +32 -26
- package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
- package/src/__tests__/core-information-scope-invariant.test.ts +709 -456
- package/src/__tests__/cvc-sot-snapshot.test.ts +16 -17
- package/src/__tests__/cvc-structural.test.ts +2 -2
- package/src/__tests__/location-type-routing-invariant.test.ts +25 -8
- package/src/cvcs/coreInformationScope.v2.0.0.json +5396 -0
- package/src/cvcs/index.ts +2 -2
- package/src/cvcs/roiScope.v1.3.0.json +360 -0
- package/src/generated/cvc-enums.ts +77 -4
- package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.migrations.csv +106 -0
- package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.rows.csv +117 -0
- package/src/services/__tests__/fixtures/infoscope-v4/loadInfoscopeV4Fixtures.ts +116 -0
- package/src/services/__tests__/informationScopeResolver.test.ts +964 -0
- package/src/services/index.ts +10 -3
- package/src/services/informationScope.ts +10 -0
- package/src/services/informationScopeResolver.ts +672 -0
- package/src/services/informationScopeSot.ts +161 -0
- package/src/cvcs/coreInformationScope.v1.1.0.json +0 -1290
- package/src/cvcs/roiScope.v1.2.0.json +0 -340
package/dist/enums/index.cjs
CHANGED
|
@@ -3121,6 +3121,7 @@ var CoreInformationScopeKeys = {
|
|
|
3121
3121
|
addresses: "236-001-003-000-000-000-000",
|
|
3122
3122
|
additional_ids: "236-001-004-000-000-000-000",
|
|
3123
3123
|
demographics: "236-001-005-000-000-000-000",
|
|
3124
|
+
identifying__other: "236-001-006-000-000-000-000",
|
|
3124
3125
|
risk: "236-002-000-000-000-000-000",
|
|
3125
3126
|
screen_indicators: "236-002-001-000-000-000-000",
|
|
3126
3127
|
victimization: "236-002-002-000-000-000-000",
|
|
@@ -3163,12 +3164,14 @@ var CoreInformationScopeKeys = {
|
|
|
3163
3164
|
mental_health_screen: "236-006-007-000-000-000-000",
|
|
3164
3165
|
trauma_and_coping_screen: "236-006-008-000-000-000-000",
|
|
3165
3166
|
behavioral_health_intake: "236-006-009-000-000-000-000",
|
|
3167
|
+
health_status: "236-006-010-000-000-000-000",
|
|
3166
3168
|
immigration_legal_status: "236-007-000-000-000-000-000",
|
|
3167
3169
|
immigration_status: "236-007-001-000-000-000-000",
|
|
3168
3170
|
uscis_alien_number: "236-007-002-000-000-000-000",
|
|
3169
3171
|
federal_protection_applications: "236-007-003-000-000-000-000",
|
|
3170
3172
|
tvap_enrollment: "236-007-004-000-000-000-000",
|
|
3171
3173
|
le_report_status: "236-007-005-000-000-000-000",
|
|
3174
|
+
immigration_applications: "236-007-006-000-000-000-000",
|
|
3172
3175
|
system: "236-008-000-000-000-000-000",
|
|
3173
3176
|
system_info: "236-008-001-000-000-000-000",
|
|
3174
3177
|
network_associations: "236-009-000-000-000-000-000",
|
|
@@ -3183,7 +3186,77 @@ var CoreInformationScopeKeys = {
|
|
|
3183
3186
|
case_attachments: "236-011-003-000-000-000-000",
|
|
3184
3187
|
object_identifiers: "236-012-000-000-000-000-000",
|
|
3185
3188
|
phone_identifiers: "236-012-001-000-000-000-000",
|
|
3186
|
-
object_identity_attributes: "236-012-002-000-000-000-000"
|
|
3189
|
+
object_identity_attributes: "236-012-002-000-000-000-000",
|
|
3190
|
+
instruments: "236-013-000-000-000-000-000",
|
|
3191
|
+
instrument_summary: "236-013-001-000-000-000-000",
|
|
3192
|
+
summary_initial_screen: "236-013-001-001-000-000-000",
|
|
3193
|
+
summary_mental_health_screen: "236-013-001-002-000-000-000",
|
|
3194
|
+
summary_behavioral_health_intake: "236-013-001-003-000-000-000",
|
|
3195
|
+
summary_trauma_and_coping_screen: "236-013-001-004-000-000-000",
|
|
3196
|
+
summary_ae_intake: "236-013-001-005-000-000-000",
|
|
3197
|
+
summary_ida: "236-013-001-006-000-000-000",
|
|
3198
|
+
summary_lap: "236-013-001-007-000-000-000",
|
|
3199
|
+
summary_danger_assessment: "236-013-001-008-000-000-000",
|
|
3200
|
+
summary_stalking_assessment: "236-013-001-009-000-000-000",
|
|
3201
|
+
summary_injury_and_strangulation: "236-013-001-010-000-000-000",
|
|
3202
|
+
summary_hope_scale: "236-013-001-011-000-000-000",
|
|
3203
|
+
summary_needs_assessment: "236-013-001-012-000-000-000",
|
|
3204
|
+
summary_tra: "236-013-001-013-000-000-000",
|
|
3205
|
+
summary_findings: "236-013-001-014-000-000-000",
|
|
3206
|
+
instrument_full: "236-013-002-000-000-000-000",
|
|
3207
|
+
full_initial_screen: "236-013-002-001-000-000-000",
|
|
3208
|
+
full_mental_health_screen: "236-013-002-002-000-000-000",
|
|
3209
|
+
full_behavioral_health_intake: "236-013-002-003-000-000-000",
|
|
3210
|
+
full_trauma_and_coping_screen: "236-013-002-004-000-000-000",
|
|
3211
|
+
full_ae_intake: "236-013-002-005-000-000-000",
|
|
3212
|
+
full_ida: "236-013-002-006-000-000-000",
|
|
3213
|
+
full_lap: "236-013-002-007-000-000-000",
|
|
3214
|
+
full_danger_assessment: "236-013-002-008-000-000-000",
|
|
3215
|
+
full_stalking_assessment: "236-013-002-009-000-000-000",
|
|
3216
|
+
full_injury_and_strangulation: "236-013-002-010-000-000-000",
|
|
3217
|
+
full_hope_scale: "236-013-002-011-000-000-000",
|
|
3218
|
+
full_needs_assessment: "236-013-002-012-000-000-000",
|
|
3219
|
+
full_tra: "236-013-002-013-000-000-000",
|
|
3220
|
+
full_findings: "236-013-002-014-000-000-000",
|
|
3221
|
+
relationships_household: "236-014-000-000-000-000-000",
|
|
3222
|
+
primary_client: "236-015-000-000-000-000-000",
|
|
3223
|
+
other_named_persons: "236-016-000-000-000-000-000",
|
|
3224
|
+
offenders: "236-016-001-000-000-000-000",
|
|
3225
|
+
offenders__identifying: "236-016-001-001-000-000-000",
|
|
3226
|
+
offenders__risk: "236-016-001-002-000-000-000",
|
|
3227
|
+
offenders__contact: "236-016-001-003-000-000-000",
|
|
3228
|
+
offenders__safe_locations: "236-016-001-003-002-000-000",
|
|
3229
|
+
offenders__services: "236-016-001-004-000-000-000",
|
|
3230
|
+
offenders__health_accommodation: "236-016-001-006-000-000-000",
|
|
3231
|
+
offenders__immigration_legal_status: "236-016-001-007-000-000-000",
|
|
3232
|
+
offenders__instruments: "236-016-001-013-000-000-000",
|
|
3233
|
+
offenders__instrument_summary: "236-016-001-013-001-000-000",
|
|
3234
|
+
offenders__instrument_full: "236-016-001-013-002-000-000",
|
|
3235
|
+
offenders__relationships_household: "236-016-001-014-000-000-000",
|
|
3236
|
+
family: "236-016-002-000-000-000-000",
|
|
3237
|
+
family__identifying: "236-016-002-001-000-000-000",
|
|
3238
|
+
family__risk: "236-016-002-002-000-000-000",
|
|
3239
|
+
family__contact: "236-016-002-003-000-000-000",
|
|
3240
|
+
family__safe_locations: "236-016-002-003-002-000-000",
|
|
3241
|
+
family__services: "236-016-002-004-000-000-000",
|
|
3242
|
+
family__health_accommodation: "236-016-002-006-000-000-000",
|
|
3243
|
+
family__immigration_legal_status: "236-016-002-007-000-000-000",
|
|
3244
|
+
family__instruments: "236-016-002-013-000-000-000",
|
|
3245
|
+
family__instrument_summary: "236-016-002-013-001-000-000",
|
|
3246
|
+
family__instrument_full: "236-016-002-013-002-000-000",
|
|
3247
|
+
family__relationships_household: "236-016-002-014-000-000-000",
|
|
3248
|
+
others: "236-016-003-000-000-000-000",
|
|
3249
|
+
others__identifying: "236-016-003-001-000-000-000",
|
|
3250
|
+
others__risk: "236-016-003-002-000-000-000",
|
|
3251
|
+
others__contact: "236-016-003-003-000-000-000",
|
|
3252
|
+
others__safe_locations: "236-016-003-003-002-000-000",
|
|
3253
|
+
others__services: "236-016-003-004-000-000-000",
|
|
3254
|
+
others__health_accommodation: "236-016-003-006-000-000-000",
|
|
3255
|
+
others__immigration_legal_status: "236-016-003-007-000-000-000",
|
|
3256
|
+
others__instruments: "236-016-003-013-000-000-000",
|
|
3257
|
+
others__instrument_summary: "236-016-003-013-001-000-000",
|
|
3258
|
+
others__instrument_full: "236-016-003-013-002-000-000",
|
|
3259
|
+
others__relationships_household: "236-016-003-014-000-000-000"
|
|
3187
3260
|
};
|
|
3188
3261
|
var RoiScopeKeys = {
|
|
3189
3262
|
missingness_root: "983-000-000-000-000-000-000",
|