@htilabs/platform-common-models 0.19.0 → 0.21.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.
Files changed (59) hide show
  1. package/dist/cvcs/index.cjs +4867 -639
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +5145 -609
  4. package/dist/cvcs/index.d.ts +5145 -609
  5. package/dist/cvcs/index.js +4867 -639
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +74 -1
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +77 -4
  10. package/dist/enums/index.d.ts +77 -4
  11. package/dist/enums/index.js +74 -1
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
  14. package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  15. package/dist/index.cjs +5382 -588
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +3 -2
  18. package/dist/index.d.ts +3 -2
  19. package/dist/index.js +5371 -588
  20. package/dist/index.js.map +1 -1
  21. package/dist/information-scope/index.cjs +521 -0
  22. package/dist/information-scope/index.cjs.map +1 -0
  23. package/dist/information-scope/index.d.cts +442 -0
  24. package/dist/information-scope/index.d.ts +442 -0
  25. package/dist/information-scope/index.js +484 -0
  26. package/dist/information-scope/index.js.map +1 -0
  27. package/dist/models/index.d.cts +2 -2
  28. package/dist/models/index.d.ts +2 -2
  29. package/dist/schemas/index.d.cts +25 -25
  30. package/dist/schemas/index.d.ts +25 -25
  31. package/dist/services/index.cjs +495 -2
  32. package/dist/services/index.cjs.map +1 -1
  33. package/dist/services/index.d.cts +1 -0
  34. package/dist/services/index.d.ts +1 -0
  35. package/dist/services/index.js +483 -1
  36. package/dist/services/index.js.map +1 -1
  37. package/package.json +32 -26
  38. package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
  39. package/src/__tests__/core-information-scope-invariant.test.ts +835 -456
  40. package/src/__tests__/cvc-sot-snapshot.test.ts +17 -17
  41. package/src/__tests__/cvc-structural.test.ts +2 -2
  42. package/src/__tests__/location-type-routing-invariant.test.ts +25 -8
  43. package/src/cvcs/coreInformationScope.v2.1.0.json +5498 -0
  44. package/src/cvcs/index.ts +2 -2
  45. package/src/cvcs/roiScope.v1.4.0.json +360 -0
  46. package/src/generated/cvc-enums.ts +77 -4
  47. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v3_placements.projection.csv +12 -0
  48. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.migrations.csv +106 -0
  49. package/src/services/__tests__/fixtures/infoscope-v4/information_scope_v4.rows.csv +117 -0
  50. package/src/services/__tests__/fixtures/infoscope-v4/loadInfoscopeV4Fixtures.ts +187 -0
  51. package/src/services/__tests__/informationScopeResolver.test.ts +1278 -0
  52. package/src/services/index.ts +10 -3
  53. package/src/services/informationScope.ts +10 -0
  54. package/src/services/informationScopeResolver.ts +879 -0
  55. package/src/services/informationScopeSot.ts +203 -0
  56. package/src/cvcs/coreInformationScope.v1.1.0.json +0 -1290
  57. package/src/cvcs/roiScope.v1.2.0.json +0 -340
  58. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
  59. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
@@ -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",