@htilabs/platform-common-models 0.8.21 → 0.8.22
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/constants/index.cjs +5 -1
- 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 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +11 -1
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +12 -1
- package/dist/cvcs/index.d.ts +12 -1
- package/dist/cvcs/index.js +11 -1
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +18 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-CvQkzOy1.d.cts → platform-auth-91Hcl8F8.d.cts} +3 -2
- package/dist/{platform-auth-CvQkzOy1.d.ts → platform-auth-91Hcl8F8.d.ts} +3 -2
- package/dist/schemas/index.cjs +5 -1
- package/dist/schemas/index.cjs.map +1 -1
- 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 +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
- package/src/__tests__/cvc-drift-gate.test.ts +4 -4
- package/src/__tests__/cvc-sot-snapshot.test.ts +2 -2
- package/src/constants/ic.ts +4 -0
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
- package/src/generated/cvc-enums.ts +2 -1
package/dist/index.cjs
CHANGED
|
@@ -2093,6 +2093,7 @@ var INCIDENT_PARTICIPATION_ROLE = {
|
|
|
2093
2093
|
DATA_ENTRY: "data_entry",
|
|
2094
2094
|
OTHER_INCIDENT_RESPONDER: "other_incident_responder",
|
|
2095
2095
|
RESPONDING_OFFICER: "responding_officer",
|
|
2096
|
+
LEGAL_PROFESSIONAL: "legal_professional",
|
|
2096
2097
|
UNKNOWN: "unknown",
|
|
2097
2098
|
ANONYMOUS: "anonymous",
|
|
2098
2099
|
DATA_NOT_COLLECTED: "data_not_collected"
|
|
@@ -2109,6 +2110,7 @@ var INCIDENT_PARTICIPATION_ROLE_VALUES = [
|
|
|
2109
2110
|
INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY,
|
|
2110
2111
|
INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
|
|
2111
2112
|
INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
|
|
2113
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
2112
2114
|
INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
|
|
2113
2115
|
INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
|
|
2114
2116
|
INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED
|
|
@@ -2125,6 +2127,7 @@ var INCIDENT_PARTICIPATION_ROLE_LABELS = {
|
|
|
2125
2127
|
[INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY]: "Data Entry / Editor",
|
|
2126
2128
|
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: "VSP or Other Incident Responder",
|
|
2127
2129
|
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
|
|
2130
|
+
[INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
|
|
2128
2131
|
[INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
|
|
2129
2132
|
[INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
|
|
2130
2133
|
[INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected"
|
|
@@ -2142,7 +2145,8 @@ var PARTICIPATION_ROLE_CATEGORIES = {
|
|
|
2142
2145
|
],
|
|
2143
2146
|
SYSTEM_PROFESSIONAL: [
|
|
2144
2147
|
INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF,
|
|
2145
|
-
INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF
|
|
2148
|
+
INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF,
|
|
2149
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL
|
|
2146
2150
|
]
|
|
2147
2151
|
};
|
|
2148
2152
|
var CALLER_IS_VICTIM_ROLES = [
|
|
@@ -7912,7 +7916,8 @@ var IncidentParticipationRoleKeys = {
|
|
|
7912
7916
|
medical_provider_staff: "069-004-002-000-000-000-000",
|
|
7913
7917
|
data_entry: "069-004-003-000-000-000-000",
|
|
7914
7918
|
other_incident_responder: "069-004-004-000-000-000-000",
|
|
7915
|
-
responding_officer: "069-004-005-000-000-000-000"
|
|
7919
|
+
responding_officer: "069-004-005-000-000-000-000",
|
|
7920
|
+
legal_professional: "069-004-006-000-000-000-000"
|
|
7916
7921
|
};
|
|
7917
7922
|
var IncidentInvolvementRoleKeys = {
|
|
7918
7923
|
missingness_root: "130-000-000-000-000-000-000",
|
|
@@ -14752,7 +14757,8 @@ var incidentParticipationRoles_v1_0_0_default = {
|
|
|
14752
14757
|
"069-004-002-000-000-000-000",
|
|
14753
14758
|
"069-004-003-000-000-000-000",
|
|
14754
14759
|
"069-004-004-000-000-000-000",
|
|
14755
|
-
"069-004-005-000-000-000-000"
|
|
14760
|
+
"069-004-005-000-000-000-000",
|
|
14761
|
+
"069-004-006-000-000-000-000"
|
|
14756
14762
|
],
|
|
14757
14763
|
definition: "Group of participation roles identifying system-side professionals involved in the incident."
|
|
14758
14764
|
},
|
|
@@ -14800,6 +14806,15 @@ var incidentParticipationRoles_v1_0_0_default = {
|
|
|
14800
14806
|
parentCode: "069-004-000-000-000-000-000",
|
|
14801
14807
|
childCodes: [],
|
|
14802
14808
|
definition: "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
|
|
14809
|
+
},
|
|
14810
|
+
{
|
|
14811
|
+
code: "069-004-006-000-000-000-000",
|
|
14812
|
+
key: "legal_professional",
|
|
14813
|
+
title: "Legal professional",
|
|
14814
|
+
selectable: true,
|
|
14815
|
+
parentCode: "069-004-000-000-000-000-000",
|
|
14816
|
+
childCodes: [],
|
|
14817
|
+
definition: "An attorney or other legal professional (e.g., legal advocate, paralegal) acting in a legal capacity in relation to the incident."
|
|
14803
14818
|
}
|
|
14804
14819
|
]
|
|
14805
14820
|
};
|