@htilabs/platform-common-models 0.8.8 → 0.9.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/README.md +44 -0
- package/dist/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/constants/index.cjs +5 -432
- 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 +5 -429
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-0BIB9sen.d.cts} +44 -44
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-0BIB9sen.d.ts} +44 -44
- package/dist/cvcs/index.cjs +5863 -7181
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +3127 -4581
- package/dist/cvcs/index.d.ts +3127 -4581
- package/dist/cvcs/index.js +5863 -7173
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +1780 -3613
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -544
- package/dist/index.d.ts +191 -544
- package/dist/index.js +5967 -7775
- 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/{platform-auth-BSKYSDKe.d.cts → platform-auth-XVB9aHqR.d.cts} +3 -19
- package/dist/{platform-auth-BSKYSDKe.d.ts → platform-auth-XVB9aHqR.d.ts} +3 -19
- package/dist/schemas/index.cjs +9 -26
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +39 -35
- package/dist/schemas/index.d.ts +39 -35
- package/dist/schemas/index.js +9 -26
- 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 +25 -19
- package/src/__tests__/__snapshots__/cvc-sot.snap +13 -77
- package/src/__tests__/cvc-sot-snapshot.test.ts +11 -62
- package/src/__tests__/cvc-structural.test.ts +2 -11
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
- package/src/constants/ic.ts +3 -445
- package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +0 -9
- package/src/cvcs/hmisSex.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +0 -18
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +2 -31
- package/src/cvcs/index.ts +1 -17
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +96 -0
- package/src/cvcs/recencyBand.v1.0.0.json +57 -38
- package/src/cvcs/{serviceCategories.v1.1.0.json → serviceCategories.v1.0.0.json} +1091 -1091
- package/src/cvcs/serviceStates.v1.0.0.json +1 -23
- package/src/cvcs/sourceSubtype.v1.1.0.json +0 -36
- package/src/cvcs/verificationMethod.v1.0.0.json +0 -18
- package/src/generated/cvc-enums.ts +149 -572
- package/src/index.ts +20 -0
- package/src/schemas/common.ts +4 -0
- package/src/cvcs/activityType.v1.0.0.json +0 -143
- package/src/cvcs/assertionDomain.v1.0.0.json +0 -629
- package/src/cvcs/contactLinkType.v1.0.0.json +0 -89
- package/src/cvcs/hmisRelationshipToHoh.v1.0.0.json +0 -104
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +0 -159
- package/src/cvcs/htType.v1.0.0.json +0 -87
- package/src/cvcs/livingSituation.v1.0.0.json +0 -213
- package/src/cvcs/provenanceSourceId.v1.0.0.json +0 -134
- package/src/cvcs/radiusBucket.v1.0.0.json +0 -98
- package/src/cvcs/relationshipConcern.v1.0.0.json +0 -114
- package/src/cvcs/roiMethod.v1.0.0.json +0 -107
- package/src/cvcs/serviceAudience.v1.0.0.json +0 -96
- package/src/cvcs/sessionNoteVisibility.v1.0.0.json +0 -80
- package/src/cvcs/suggestionSource.v1.0.0.json +0 -71
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
|
@@ -72,9 +72,7 @@
|
|
|
72
72
|
"049-007-001-000-000-000-000",
|
|
73
73
|
"049-007-002-000-000-000-000",
|
|
74
74
|
"049-007-003-000-000-000-000",
|
|
75
|
-
"049-007-004-000-000-000-000"
|
|
76
|
-
"049-007-005-000-000-000-000",
|
|
77
|
-
"049-007-006-000-000-000-000"
|
|
75
|
+
"049-007-004-000-000-000-000"
|
|
78
76
|
],
|
|
79
77
|
"definition": "Program could not provide the service."
|
|
80
78
|
},
|
|
@@ -114,26 +112,6 @@
|
|
|
114
112
|
"childCodes": [],
|
|
115
113
|
"definition": "Program could not provide the Service for a reason other than eligibility, capacity, or resources."
|
|
116
114
|
},
|
|
117
|
-
{
|
|
118
|
-
"code": "049-007-005-000-000-000-000",
|
|
119
|
-
"key": "unable_to_provide_service_fit",
|
|
120
|
-
"title": "Unable due to service fit",
|
|
121
|
-
"selectable": true,
|
|
122
|
-
"parentCode": "049-007-000-000-000-000-000",
|
|
123
|
-
"childCodes": [],
|
|
124
|
-
"definition": "Program's services were not an appropriate fit for the client's presenting needs.",
|
|
125
|
-
"provisional": true
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"code": "049-007-006-000-000-000-000",
|
|
129
|
-
"key": "unable_to_provide_access_barrier",
|
|
130
|
-
"title": "Unable due to access barrier",
|
|
131
|
-
"selectable": true,
|
|
132
|
-
"parentCode": "049-007-000-000-000-000-000",
|
|
133
|
-
"childCodes": [],
|
|
134
|
-
"definition": "An access barrier (e.g. language, transportation, location, hours, technology) prevented service delivery.",
|
|
135
|
-
"provisional": true
|
|
136
|
-
},
|
|
137
115
|
{
|
|
138
116
|
"code": "049-000-000-000-000-000-000",
|
|
139
117
|
"key": "missingness_root",
|
|
@@ -325,42 +325,6 @@
|
|
|
325
325
|
"parentCode": null,
|
|
326
326
|
"childCodes": [],
|
|
327
327
|
"definition": "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"code": "141-032-000-000-000-000-000",
|
|
331
|
-
"key": "advocate_capture",
|
|
332
|
-
"title": "Advocate capture",
|
|
333
|
-
"selectable": true,
|
|
334
|
-
"parentCode": null,
|
|
335
|
-
"childCodes": [],
|
|
336
|
-
"definition": "Value captured or entered directly by an advocate in a PAVE capture surface (default advocate-authored subtype). Source category: human."
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"code": "141-033-000-000-000-000-000",
|
|
340
|
-
"key": "advocate_assessment",
|
|
341
|
-
"title": "Advocate assessment",
|
|
342
|
-
"selectable": true,
|
|
343
|
-
"parentCode": null,
|
|
344
|
-
"childCodes": [],
|
|
345
|
-
"definition": "Advocate structured assessment or functional-role judgment recorded in a PAVE surface (distinct from raw advocate_capture). Source category: human."
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"code": "141-034-000-000-000-000-000",
|
|
349
|
-
"key": "child_welfare_episode_edit",
|
|
350
|
-
"title": "Child welfare episode edit",
|
|
351
|
-
"selectable": true,
|
|
352
|
-
"parentCode": null,
|
|
353
|
-
"childCodes": [],
|
|
354
|
-
"definition": "Advocate add/update/archive of a child-welfare system-involvement episode log (assertion_domain child_welfare_involvement). Source category: human."
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"code": "141-035-000-000-000-000-000",
|
|
358
|
-
"key": "juvenile_justice_episode_edit",
|
|
359
|
-
"title": "Juvenile justice episode edit",
|
|
360
|
-
"selectable": true,
|
|
361
|
-
"parentCode": null,
|
|
362
|
-
"childCodes": [],
|
|
363
|
-
"definition": "Advocate add/update/archive of a juvenile-justice system-involvement episode log (assertion_domain juvenile_justice_involvement). Source category: human."
|
|
364
328
|
}
|
|
365
329
|
]
|
|
366
330
|
}
|
|
@@ -91,24 +91,6 @@
|
|
|
91
91
|
"parentCode": null,
|
|
92
92
|
"childCodes": [],
|
|
93
93
|
"definition": "A supervisor (or designated reviewer) reviewed the assertion and marked it verified under an operational review process. Use when verification is granted via human review workflow. Pair with verified_by_user_id and verified_at, and capture any required support_strength policy. Not equivalent to legal confirmation; scope is operational."
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"code": "143-006-000-000-000-000-000",
|
|
97
|
-
"key": "rules",
|
|
98
|
-
"title": "Rules / algorithm match",
|
|
99
|
-
"selectable": true,
|
|
100
|
-
"parentCode": null,
|
|
101
|
-
"childCodes": [],
|
|
102
|
-
"definition": "Verification via a deterministic rule or algorithm match (GDR §5.7 — system-derived)."
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"code": "143-007-000-000-000-000-000",
|
|
106
|
-
"key": "still_reaches",
|
|
107
|
-
"title": "Still reaches",
|
|
108
|
-
"selectable": true,
|
|
109
|
-
"parentCode": null,
|
|
110
|
-
"childCodes": [],
|
|
111
|
-
"definition": "Verification that the contact or relationship still reaches / is live (GDR §5.7 liveness confirmation)."
|
|
112
94
|
}
|
|
113
95
|
]
|
|
114
96
|
}
|