@argusoft/medplat-core 1.0.32 → 1.0.33
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/{AccessRights-DBjTQA1-.js → AccessRights-BC43Jhml.js} +264 -199
- package/dist/AccessRights-BC43Jhml.js.map +1 -0
- package/dist/{BrandsPage-CdcAvaml-ZtVTX6vX.js → BrandsPage-CdcAvaml-CYT80CMH.js} +3 -3
- package/dist/{BrandsPage-CdcAvaml-ZtVTX6vX.js.map → BrandsPage-CdcAvaml-CYT80CMH.js.map} +1 -1
- package/dist/{CategoriesPage-BprQEYJw-CclreTv1.js → CategoriesPage-BprQEYJw-BRAukJB1.js} +3 -3
- package/dist/{CategoriesPage-BprQEYJw-CclreTv1.js.map → CategoriesPage-BprQEYJw-BRAukJB1.js.map} +1 -1
- package/dist/ChangePasswordModalCore-rypTxA2O.js +238 -0
- package/dist/ChangePasswordModalCore-rypTxA2O.js.map +1 -0
- package/dist/{DashboardPage-CTiGSx71-CsYohJ5e.js → DashboardPage-CTiGSx71-DX-TzGOH.js} +3 -3
- package/dist/{DashboardPage-CTiGSx71-CsYohJ5e.js.map → DashboardPage-CTiGSx71-DX-TzGOH.js.map} +1 -1
- package/dist/{FacilityPicker-BXa2VF7i-Dab_Jwa5.js → FacilityPicker-BXa2VF7i-D0JUIqLv.js} +2 -2
- package/dist/{FacilityPicker-BXa2VF7i-Dab_Jwa5.js.map → FacilityPicker-BXa2VF7i-D0JUIqLv.js.map} +1 -1
- package/dist/FaqList-CeDEuhU_.js +237 -0
- package/dist/FaqList-CeDEuhU_.js.map +1 -0
- package/dist/FaqSkeletons-hLCEcRr-.js +19 -0
- package/dist/FaqSkeletons-hLCEcRr-.js.map +1 -0
- package/dist/FaqView-sDzBVyXV.js +617 -0
- package/dist/FaqView-sDzBVyXV.js.map +1 -0
- package/dist/{FeatureMenu-Kc73yPHH.js → FeatureMenu-CaI-ZhSZ.js} +2 -2
- package/dist/{FeatureMenu-Kc73yPHH.js.map → FeatureMenu-CaI-ZhSZ.js.map} +1 -1
- package/dist/{ImmunizationConfigurationBase-lKsJZMak.js → ImmunizationConfigurationBase-Clkk0-n6.js} +2352 -2332
- package/dist/{ImmunizationConfigurationBase-lKsJZMak.js.map → ImmunizationConfigurationBase-Clkk0-n6.js.map} +1 -1
- package/dist/{InventoryPage-JadYMCzU-CzJQfQ2A.js → InventoryPage-JadYMCzU-CWcCauMI.js} +4 -4
- package/dist/{InventoryPage-JadYMCzU-CzJQfQ2A.js.map → InventoryPage-JadYMCzU-CWcCauMI.js.map} +1 -1
- package/dist/ManageFaq-4cT6bntx.js +1583 -0
- package/dist/ManageFaq-4cT6bntx.js.map +1 -0
- package/dist/ManageFaq.css +1 -0
- package/dist/{ManageUser-Dm0l833u.js → ManageUser-DchUMAyC.js} +2 -2
- package/dist/{ManageUser-Dm0l833u.js.map → ManageUser-DchUMAyC.js.map} +1 -1
- package/dist/{MemberProfileCard-01d_jz3w-DYHtbgMX.js → MemberProfileCard-01d_jz3w-CQi_zu6x.js} +3 -3
- package/dist/{MemberProfileCard-01d_jz3w-DYHtbgMX.js.map → MemberProfileCard-01d_jz3w-CQi_zu6x.js.map} +1 -1
- package/dist/{PaymentCreatePage-D6NZBUC3-DxXf2kvH.js → PaymentCreatePage-D6NZBUC3-_98S21Sa.js} +4 -4
- package/dist/{PaymentCreatePage-D6NZBUC3-DxXf2kvH.js.map → PaymentCreatePage-D6NZBUC3-_98S21Sa.js.map} +1 -1
- package/dist/{PaymentsPage-CHieGNrn-BnYCtqHd.js → PaymentsPage-CHieGNrn-ChCXEyck.js} +3 -3
- package/dist/{PaymentsPage-CHieGNrn-BnYCtqHd.js.map → PaymentsPage-CHieGNrn-ChCXEyck.js.map} +1 -1
- package/dist/{PickupBatchLinesEditor-QPaqFtUO-CY7BShYh.js → PickupBatchLinesEditor-QPaqFtUO-BEtI5mIU.js} +2 -2
- package/dist/{PickupBatchLinesEditor-QPaqFtUO-CY7BShYh.js.map → PickupBatchLinesEditor-QPaqFtUO-BEtI5mIU.js.map} +1 -1
- package/dist/{PickupCreatePage-C7_67u_u-OId8-e2a.js → PickupCreatePage-C7_67u_u-DbDIZ1WC.js} +5 -5
- package/dist/{PickupCreatePage-C7_67u_u-OId8-e2a.js.map → PickupCreatePage-C7_67u_u-DbDIZ1WC.js.map} +1 -1
- package/dist/{PickupsPage-BWblMlic-CWkgeBw0.js → PickupsPage-BWblMlic-KehDMebm.js} +4 -4
- package/dist/{PickupsPage-BWblMlic-CWkgeBw0.js.map → PickupsPage-BWblMlic-KehDMebm.js.map} +1 -1
- package/dist/{PmGuard-BvUUbU80-BpYNaDzl.js → PmGuard-BvUUbU80-DJipZoSg.js} +2 -2
- package/dist/{PmGuard-BvUUbU80-BpYNaDzl.js.map → PmGuard-BvUUbU80-DJipZoSg.js.map} +1 -1
- package/dist/{ProductEditPage-Dbq4vUAA-BoBmTPPL.js → ProductEditPage-Dbq4vUAA-DusAdAvm.js} +4 -4
- package/dist/{ProductEditPage-Dbq4vUAA-BoBmTPPL.js.map → ProductEditPage-Dbq4vUAA-DusAdAvm.js.map} +1 -1
- package/dist/{ProductsPage-BI22nPb4-CQBjnc-n.js → ProductsPage-BI22nPb4-D3GnWz34.js} +4 -4
- package/dist/{ProductsPage-BI22nPb4-CQBjnc-n.js.map → ProductsPage-BI22nPb4-D3GnWz34.js.map} +1 -1
- package/dist/{PurchaseCreatePage-C0EK9z4w-BQMTsjE7.js → PurchaseCreatePage-C0EK9z4w-D4PlZsOH.js} +4 -4
- package/dist/{PurchaseCreatePage-C0EK9z4w-BQMTsjE7.js.map → PurchaseCreatePage-C0EK9z4w-D4PlZsOH.js.map} +1 -1
- package/dist/{PurchaseRequestDetailPage-DhBuOGHZ-CWZPqzt9.js → PurchaseRequestDetailPage-DhBuOGHZ-CAmlL4fP.js} +3 -3
- package/dist/{PurchaseRequestDetailPage-DhBuOGHZ-CWZPqzt9.js.map → PurchaseRequestDetailPage-DhBuOGHZ-CAmlL4fP.js.map} +1 -1
- package/dist/{PurchaseRequestsPage-Bj9HUMxb-B7-AxT8m.js → PurchaseRequestsPage-Bj9HUMxb-BCAhEEkL.js} +3 -3
- package/dist/{PurchaseRequestsPage-Bj9HUMxb-B7-AxT8m.js.map → PurchaseRequestsPage-Bj9HUMxb-BCAhEEkL.js.map} +1 -1
- package/dist/{PurchasesPage-Djl1AqD_-DXeYFMrX.js → PurchasesPage-Djl1AqD_-DxBRFRDy.js} +3 -3
- package/dist/{PurchasesPage-Djl1AqD_-DXeYFMrX.js.map → PurchasesPage-Djl1AqD_-DxBRFRDy.js.map} +1 -1
- package/dist/{SaleCreatePage-DHBLmlBr-BlgjVsq6.js → SaleCreatePage-DHBLmlBr-aEGmvJQq.js} +4 -4
- package/dist/{SaleCreatePage-DHBLmlBr-BlgjVsq6.js.map → SaleCreatePage-DHBLmlBr-aEGmvJQq.js.map} +1 -1
- package/dist/{SalesPage-eF9Yr42z-BQ9FlXC3.js → SalesPage-eF9Yr42z-CvOr82vo.js} +3 -3
- package/dist/{SalesPage-eF9Yr42z-BQ9FlXC3.js.map → SalesPage-eF9Yr42z-CvOr82vo.js.map} +1 -1
- package/dist/{SettingsPage-Cre-UE3r-9ntnLYsQ.js → SettingsPage-Cre-UE3r-CGTVp5Zw.js} +3 -3
- package/dist/{SettingsPage-Cre-UE3r-9ntnLYsQ.js.map → SettingsPage-Cre-UE3r-CGTVp5Zw.js.map} +1 -1
- package/dist/{StorageUnitsPage-CTEVuemZ-B4osG74N.js → StorageUnitsPage-CTEVuemZ-C7zkwKMz.js} +5 -5
- package/dist/{StorageUnitsPage-CTEVuemZ-B4osG74N.js.map → StorageUnitsPage-CTEVuemZ-C7zkwKMz.js.map} +1 -1
- package/dist/{SubMenu-OO2zhKiu.js → SubMenu-DZIhur09.js} +2 -2
- package/dist/{SubMenu-OO2zhKiu.js.map → SubMenu-DZIhur09.js.map} +1 -1
- package/dist/{TransactionsPage-Zuu7sjID-B-ACzvd1.js → TransactionsPage-Zuu7sjID-BDmUK7s1.js} +3 -3
- package/dist/{TransactionsPage-Zuu7sjID-B-ACzvd1.js.map → TransactionsPage-Zuu7sjID-BDmUK7s1.js.map} +1 -1
- package/dist/{TransferCreatePage-DlT0nCDj-B2SdPgYB.js → TransferCreatePage-DlT0nCDj-evHPJc99.js} +4 -4
- package/dist/{TransferCreatePage-DlT0nCDj-B2SdPgYB.js.map → TransferCreatePage-DlT0nCDj-evHPJc99.js.map} +1 -1
- package/dist/{TransfersPage-DqaSvHda-G2tFa5Jq.js → TransfersPage-DqaSvHda-DAUn5SSr.js} +3 -3
- package/dist/{TransfersPage-DqaSvHda-G2tFa5Jq.js.map → TransfersPage-DqaSvHda-DAUn5SSr.js.map} +1 -1
- package/dist/{VaccineEducation-T_UE57Ef.js → VaccineEducation-DWkNNasF.js} +2 -2
- package/dist/{VaccineEducation-T_UE57Ef.js.map → VaccineEducation-DWkNNasF.js.map} +1 -1
- package/dist/VaccineEducationConfigurator-BFCvu5Mw.js +1450 -0
- package/dist/VaccineEducationConfigurator-BFCvu5Mw.js.map +1 -0
- package/dist/VaccineEducationConfigurator.css +1 -4
- package/dist/{VaccineEducationList-Ok7_5EFb.js → VaccineEducationList-BxZHahCh.js} +2 -2
- package/dist/{VaccineEducationList-Ok7_5EFb.js.map → VaccineEducationList-BxZHahCh.js.map} +1 -1
- package/dist/{VialsPage-LoDaUqVv-DmMXbK8j.js → VialsPage-LoDaUqVv-Dw00Zc06.js} +4 -4
- package/dist/{VialsPage-LoDaUqVv-DmMXbK8j.js.map → VialsPage-LoDaUqVv-Dw00Zc06.js.map} +1 -1
- package/dist/{VaccineEducationConfigurator-CWc20_rv.js → ckeditor5-_x14lrzc.js} +4014 -5372
- package/dist/ckeditor5-_x14lrzc.js.map +1 -0
- package/dist/ckeditor5.css +4 -0
- package/dist/faqMedia-FDpje7v0.js +234 -0
- package/dist/faqMedia-FDpje7v0.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/{index.lib-BySa9-Z-.js → index.lib-QDEODnRT.js} +343 -303
- package/dist/index.lib-QDEODnRT.js.map +1 -0
- package/dist/{listValueStore-5d4vNGQM-WclZ5nBG.js → listValueStore-5d4vNGQM-DB08drLf.js} +2 -2
- package/dist/{listValueStore-5d4vNGQM-WclZ5nBG.js.map → listValueStore-5d4vNGQM-DB08drLf.js.map} +1 -1
- package/dist/proxy-C4gcRXzG.js +5265 -0
- package/dist/proxy-C4gcRXzG.js.map +1 -0
- package/package.json +3 -2
- package/dist/AccessRights-DBjTQA1-.js.map +0 -1
- package/dist/ChangePasswordModalCore-DZGOkbRY.js +0 -5494
- package/dist/ChangePasswordModalCore-DZGOkbRY.js.map +0 -1
- package/dist/VaccineEducationConfigurator-CWc20_rv.js.map +0 -1
- package/dist/index.lib-BySa9-Z-.js.map +0 -1
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { lazy as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { lazy as c } from "react";
|
|
3
3
|
import { createSlice as Z } from "@reduxjs/toolkit";
|
|
4
|
-
import { execute as f, executeAll as
|
|
4
|
+
import { execute as f, executeAll as J } from "@/common/services/GlobalApis";
|
|
5
5
|
import { api as U } from "@/common/interceptors/AxiosInterceptor";
|
|
6
|
-
import './index.css';const s =
|
|
6
|
+
import './index.css';const s = c(
|
|
7
7
|
() => import("@/views/feature-components/VerifyRoute.jsx")
|
|
8
|
-
),
|
|
8
|
+
), K = c(() => import("./RoleManagement-DVYufwy-.js")), Y = c(
|
|
9
9
|
() => import("./QueryBuilder-CXaBe6sr.js").then((e) => e.Q)
|
|
10
|
-
),
|
|
10
|
+
), ee = c(() => import("./UserList-Cf5B-o_1.js")), V = c(() => import("./ManageUser-DchUMAyC.js").then((e) => e.M)), te = c(
|
|
11
11
|
() => import("./QueryManagement-BIhEDKuA.js")
|
|
12
|
-
),
|
|
12
|
+
), ie = c(() => import("./FeatureMenu-CaI-ZhSZ.js").then((e) => e.F)), ae = c(() => import("./index-o8Pyt1Bt.js")), ne = c(
|
|
13
13
|
() => import("./NewServerManagement-BdayO78D.js")
|
|
14
|
-
), G =
|
|
14
|
+
), G = c(
|
|
15
15
|
() => import("./ManageDynamicFeature-CuyYfx_P.js")
|
|
16
|
-
),
|
|
16
|
+
), re = c(
|
|
17
17
|
() => import("./SecurityAuditLogList-Dod711KT.js")
|
|
18
|
-
),
|
|
18
|
+
), le = c(
|
|
19
19
|
() => import("./EventConfigurations-B-z7xHh_.js")
|
|
20
|
-
), C =
|
|
20
|
+
), C = c(
|
|
21
21
|
() => import("./ManageEventConfiguration-DqPbn3Oi.js")
|
|
22
|
-
), oe =
|
|
22
|
+
), oe = c(
|
|
23
23
|
() => import("./EntityManagement-BGwJGl9k.js")
|
|
24
|
-
),
|
|
24
|
+
), se = c(
|
|
25
25
|
() => import("./MobileAnalytics-C9oc2yAo.js")
|
|
26
|
-
),
|
|
26
|
+
), ce = c(
|
|
27
27
|
() => import("./MobileMenuManagement-BmzTPXy7.js")
|
|
28
|
-
),
|
|
28
|
+
), de = c(
|
|
29
29
|
() => import("./AddMenuConfiguration-Creeib5X.js")
|
|
30
|
-
),
|
|
30
|
+
), me = c(
|
|
31
31
|
() => import("./ManageTranslation-vRiptUAP.js").then((e) => e.j)
|
|
32
|
-
),
|
|
32
|
+
), ue = c(
|
|
33
33
|
() => import("./WidgetList-D7YuWfDD.js")
|
|
34
|
-
),
|
|
34
|
+
), pe = c(
|
|
35
35
|
() => import("./NotificationList-DEyRZEuM.js").then((e) => e.N)
|
|
36
|
-
),
|
|
36
|
+
), ge = c(
|
|
37
37
|
() => import("./ImmunizationConfigurationsList-TZcLDEci.js")
|
|
38
|
-
), O =
|
|
38
|
+
), O = c(
|
|
39
39
|
() => import("./manageImmunization-B4swS745.js")
|
|
40
|
-
),
|
|
41
|
-
() => import("./ImmunizationConfigurationBase-
|
|
42
|
-
),
|
|
43
|
-
() => import("./VaccineEducationList-
|
|
44
|
-
),
|
|
45
|
-
() => import("./VaccineEducationConfigurator-
|
|
46
|
-
),
|
|
40
|
+
), Te = c(
|
|
41
|
+
() => import("./ImmunizationConfigurationBase-Clkk0-n6.js").then((e) => e.aq)
|
|
42
|
+
), fe = c(
|
|
43
|
+
() => import("./VaccineEducationList-BxZHahCh.js")
|
|
44
|
+
), Ie = c(
|
|
45
|
+
() => import("./VaccineEducationConfigurator-BFCvu5Mw.js")
|
|
46
|
+
), be = c(
|
|
47
47
|
() => import("./FhirServerList-CrIHMAxz.js")
|
|
48
|
-
),
|
|
48
|
+
), he = c(
|
|
49
49
|
() => import("./FhirServerWizard-Db6Hm4bQ.js")
|
|
50
|
-
),
|
|
50
|
+
), ye = c(
|
|
51
51
|
() => import("./FhirServerProfile-D3aYcpwY.js")
|
|
52
|
-
),
|
|
52
|
+
), Ee = c(
|
|
53
53
|
() => import("./FhirRawResourceList-ZZFd7gTX.js")
|
|
54
|
-
),
|
|
54
|
+
), Me = c(
|
|
55
55
|
() => import("./LocationWiseExpectedTargetPage-CjKk1aTF.js")
|
|
56
|
-
),
|
|
56
|
+
), Ae = c(() => import("./FaqList-CeDEuhU_.js")), B = c(() => import("./ManageFaq-4cT6bntx.js")), ve = c(() => import("./FaqView-sDzBVyXV.js")), st = [
|
|
57
57
|
{
|
|
58
58
|
path: "medplat/manage/role",
|
|
59
|
-
element: /* @__PURE__ */
|
|
59
|
+
element: /* @__PURE__ */ o(
|
|
60
60
|
s,
|
|
61
61
|
{
|
|
62
62
|
headerTitle: "Roles",
|
|
63
63
|
pageTitle: "General",
|
|
64
64
|
url: "medplat/manage/role",
|
|
65
|
-
component:
|
|
65
|
+
component: K
|
|
66
66
|
}
|
|
67
67
|
)
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
path: "medplat/manage/query",
|
|
71
|
-
element: /* @__PURE__ */
|
|
71
|
+
element: /* @__PURE__ */ o(
|
|
72
72
|
s,
|
|
73
73
|
{
|
|
74
74
|
headerTitle: "Query Master",
|
|
75
75
|
pageTitle: "General",
|
|
76
76
|
url: "medplat/manage/query",
|
|
77
|
-
component:
|
|
77
|
+
component: Y
|
|
78
78
|
}
|
|
79
79
|
)
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
path: "medplat/manage/users",
|
|
83
|
-
element: /* @__PURE__ */
|
|
83
|
+
element: /* @__PURE__ */ o(
|
|
84
84
|
s,
|
|
85
85
|
{
|
|
86
86
|
headerTitle: "Users",
|
|
87
87
|
pageTitle: "UserList",
|
|
88
88
|
url: "medplat/manage/users",
|
|
89
|
-
component:
|
|
89
|
+
component: ee
|
|
90
90
|
}
|
|
91
91
|
)
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
path: "medplat/manage/user",
|
|
95
|
-
element: /* @__PURE__ */
|
|
95
|
+
element: /* @__PURE__ */ o(
|
|
96
96
|
s,
|
|
97
97
|
{
|
|
98
98
|
headerTitle: "Users",
|
|
@@ -104,7 +104,7 @@ import './index.css';const s = m(
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
path: "medplat/manage/user/:id",
|
|
107
|
-
element: /* @__PURE__ */
|
|
107
|
+
element: /* @__PURE__ */ o(
|
|
108
108
|
s,
|
|
109
109
|
{
|
|
110
110
|
headerTitle: "Users",
|
|
@@ -116,31 +116,31 @@ import './index.css';const s = m(
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
path: "medplat/querymanagement",
|
|
119
|
-
element: /* @__PURE__ */
|
|
119
|
+
element: /* @__PURE__ */ o(
|
|
120
120
|
s,
|
|
121
121
|
{
|
|
122
122
|
headerTitle: "Query Management",
|
|
123
123
|
pageTitle: "General",
|
|
124
124
|
url: "medplat/querymanagement",
|
|
125
|
-
component:
|
|
125
|
+
component: te
|
|
126
126
|
}
|
|
127
127
|
)
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
path: "medplat/manage/menu",
|
|
131
|
-
element: /* @__PURE__ */
|
|
131
|
+
element: /* @__PURE__ */ o(
|
|
132
132
|
s,
|
|
133
133
|
{
|
|
134
134
|
headerTitle: "Features",
|
|
135
135
|
pageTitle: "General",
|
|
136
136
|
url: "medplat/manage/menu",
|
|
137
|
-
component:
|
|
137
|
+
component: ie
|
|
138
138
|
}
|
|
139
139
|
)
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
path: "medplat/manage/menu/addfeature",
|
|
143
|
-
element: /* @__PURE__ */
|
|
143
|
+
element: /* @__PURE__ */ o(
|
|
144
144
|
s,
|
|
145
145
|
{
|
|
146
146
|
headerTitle: "Features",
|
|
@@ -152,7 +152,7 @@ import './index.css';const s = m(
|
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
path: "medplat/manage/menu/addDynamicFeature",
|
|
155
|
-
element: /* @__PURE__ */
|
|
155
|
+
element: /* @__PURE__ */ o(
|
|
156
156
|
s,
|
|
157
157
|
{
|
|
158
158
|
headerTitle: "Features",
|
|
@@ -164,19 +164,19 @@ import './index.css';const s = m(
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
path: "medplat/notification/all",
|
|
167
|
-
element: /* @__PURE__ */
|
|
167
|
+
element: /* @__PURE__ */ o(
|
|
168
168
|
s,
|
|
169
169
|
{
|
|
170
170
|
headerTitle: "Event Configuration",
|
|
171
171
|
pageTitle: "General",
|
|
172
172
|
url: "medplat/notification/all",
|
|
173
|
-
component:
|
|
173
|
+
component: le
|
|
174
174
|
}
|
|
175
175
|
)
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
path: "medplat/views/config",
|
|
179
|
-
element: /* @__PURE__ */
|
|
179
|
+
element: /* @__PURE__ */ o(
|
|
180
180
|
s,
|
|
181
181
|
{
|
|
182
182
|
headerTitle: "Event Configuration",
|
|
@@ -188,7 +188,7 @@ import './index.css';const s = m(
|
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
path: "medplat/views/config/:id",
|
|
191
|
-
element: /* @__PURE__ */
|
|
191
|
+
element: /* @__PURE__ */ o(
|
|
192
192
|
s,
|
|
193
193
|
{
|
|
194
194
|
headerTitle: "Event Configuration",
|
|
@@ -200,7 +200,7 @@ import './index.css';const s = m(
|
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
path: "medplat/admin/newServerManagement",
|
|
203
|
-
element: /* @__PURE__ */
|
|
203
|
+
element: /* @__PURE__ */ o(
|
|
204
204
|
s,
|
|
205
205
|
{
|
|
206
206
|
headerTitle: "Server Management",
|
|
@@ -211,7 +211,7 @@ import './index.css';const s = m(
|
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
path: "medplat/admin/mobileEntityManagement",
|
|
214
|
-
element: /* @__PURE__ */
|
|
214
|
+
element: /* @__PURE__ */ o(
|
|
215
215
|
s,
|
|
216
216
|
{
|
|
217
217
|
pageTitle: "General",
|
|
@@ -223,81 +223,81 @@ import './index.css';const s = m(
|
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
path: "medplat/admin/mobileAnalytics",
|
|
226
|
-
element: /* @__PURE__ */
|
|
226
|
+
element: /* @__PURE__ */ o(
|
|
227
227
|
s,
|
|
228
228
|
{
|
|
229
229
|
url: "medplat/admin/mobileAnalytics",
|
|
230
|
-
component:
|
|
230
|
+
component: se,
|
|
231
231
|
headerTitle: "Mobile Analytics"
|
|
232
232
|
}
|
|
233
233
|
)
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
path: "medplat/admin/mobileMenuManagement",
|
|
237
|
-
element: /* @__PURE__ */
|
|
237
|
+
element: /* @__PURE__ */ o(
|
|
238
238
|
s,
|
|
239
239
|
{
|
|
240
240
|
url: "medplat/admin/mobileMenuManagement",
|
|
241
|
-
component: /* @__PURE__ */
|
|
241
|
+
component: /* @__PURE__ */ o(ce, {}),
|
|
242
242
|
headerTitle: "Mobile Menu Management"
|
|
243
243
|
}
|
|
244
244
|
)
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
path: "medplat/admin/mobileMenuManagement/addMenuConfiguration",
|
|
248
|
-
element: /* @__PURE__ */
|
|
248
|
+
element: /* @__PURE__ */ o(de, {})
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
path: "medplat/manage/manageTranslation",
|
|
252
|
-
element: /* @__PURE__ */
|
|
252
|
+
element: /* @__PURE__ */ o(
|
|
253
253
|
s,
|
|
254
254
|
{
|
|
255
255
|
headerTitle: "Manage Translation",
|
|
256
256
|
pageTitle: "General",
|
|
257
257
|
url: "medplat/manage/manageTranslation",
|
|
258
|
-
component:
|
|
258
|
+
component: me
|
|
259
259
|
}
|
|
260
260
|
)
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
path: "medplat/manage/managewidgets",
|
|
264
|
-
element: /* @__PURE__ */
|
|
264
|
+
element: /* @__PURE__ */ o(
|
|
265
265
|
s,
|
|
266
266
|
{
|
|
267
267
|
headerTitle: "Widgets",
|
|
268
268
|
pageTitle: "General",
|
|
269
269
|
url: "medplat/manage/manage-widgets",
|
|
270
|
-
component:
|
|
270
|
+
component: ue
|
|
271
271
|
}
|
|
272
272
|
)
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
path: "medplat/manage/notification",
|
|
276
|
-
element: /* @__PURE__ */
|
|
276
|
+
element: /* @__PURE__ */ o(
|
|
277
277
|
s,
|
|
278
278
|
{
|
|
279
279
|
headerTitle: "Notification Configuration",
|
|
280
280
|
pageTitle: "General",
|
|
281
281
|
url: "medplat/manage/notification",
|
|
282
|
-
component:
|
|
282
|
+
component: pe
|
|
283
283
|
}
|
|
284
284
|
)
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
path: "medplat/manage/immunizationConfiguratorList",
|
|
288
|
-
element: /* @__PURE__ */
|
|
288
|
+
element: /* @__PURE__ */ o(
|
|
289
289
|
s,
|
|
290
290
|
{
|
|
291
291
|
headerTitle: "Immunizations",
|
|
292
292
|
pageTitle: "General",
|
|
293
293
|
url: "medplat/manage/manageTranslation",
|
|
294
|
-
component:
|
|
294
|
+
component: ge
|
|
295
295
|
}
|
|
296
296
|
)
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
path: "medplat/manage/manageImmunization",
|
|
300
|
-
element: /* @__PURE__ */
|
|
300
|
+
element: /* @__PURE__ */ o(
|
|
301
301
|
s,
|
|
302
302
|
{
|
|
303
303
|
headerTitle: "Immunizations",
|
|
@@ -309,7 +309,7 @@ import './index.css';const s = m(
|
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
path: "medplat/manage/manageImmunization/:id",
|
|
312
|
-
element: /* @__PURE__ */
|
|
312
|
+
element: /* @__PURE__ */ o(
|
|
313
313
|
s,
|
|
314
314
|
{
|
|
315
315
|
headerTitle: "Immunizations",
|
|
@@ -321,124 +321,164 @@ import './index.css';const s = m(
|
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
path: "medplat/manage/immunizationConfiguration",
|
|
324
|
-
element: /* @__PURE__ */
|
|
324
|
+
element: /* @__PURE__ */ o(
|
|
325
325
|
s,
|
|
326
326
|
{
|
|
327
327
|
headerTitle: "Immunization Configuration",
|
|
328
328
|
pageTitle: "General",
|
|
329
329
|
url: "medplat/manage/immunizationConfiguration",
|
|
330
|
-
component:
|
|
330
|
+
component: Te
|
|
331
331
|
}
|
|
332
332
|
)
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
path: "medplat/manage/vaccineEducation",
|
|
336
|
-
element: /* @__PURE__ */
|
|
336
|
+
element: /* @__PURE__ */ o(
|
|
337
337
|
s,
|
|
338
338
|
{
|
|
339
339
|
headerTitle: "Vaccine Education",
|
|
340
340
|
pageTitle: "General",
|
|
341
341
|
url: "medplat/manage/immunizationConfiguration",
|
|
342
|
-
component:
|
|
342
|
+
component: fe
|
|
343
343
|
}
|
|
344
344
|
)
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
347
|
path: "medplat/manage/vaccineEducation/:vaccineId",
|
|
348
|
-
element: /* @__PURE__ */
|
|
348
|
+
element: /* @__PURE__ */ o(
|
|
349
349
|
s,
|
|
350
350
|
{
|
|
351
351
|
headerTitle: "Vaccine Education",
|
|
352
352
|
pageTitle: "General",
|
|
353
353
|
url: "medplat/manage/immunizationConfiguration",
|
|
354
|
-
component:
|
|
354
|
+
component: Ie
|
|
355
355
|
}
|
|
356
356
|
)
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
path: "medplat/manage/securityAuditLogs",
|
|
360
|
-
element: /* @__PURE__ */
|
|
360
|
+
element: /* @__PURE__ */ o(
|
|
361
361
|
s,
|
|
362
362
|
{
|
|
363
363
|
headerTitle: "Security Audit Logs",
|
|
364
364
|
pageTitle: "Security Audit Logs",
|
|
365
365
|
url: "medplat/manage/securityAuditLogs",
|
|
366
|
-
component:
|
|
366
|
+
component: re
|
|
367
367
|
}
|
|
368
368
|
)
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
path: "medplat/manage/activityAnalytics",
|
|
372
|
-
element: /* @__PURE__ */
|
|
372
|
+
element: /* @__PURE__ */ o(
|
|
373
373
|
s,
|
|
374
374
|
{
|
|
375
375
|
headerTitle: "Activity Analytics",
|
|
376
376
|
url: "medplat/manage/activityAnalytics",
|
|
377
|
-
component:
|
|
377
|
+
component: ae
|
|
378
378
|
}
|
|
379
379
|
)
|
|
380
380
|
},
|
|
381
381
|
{
|
|
382
382
|
path: "medplat/admin/fhirResource",
|
|
383
|
-
element: /* @__PURE__ */
|
|
383
|
+
element: /* @__PURE__ */ o(
|
|
384
384
|
s,
|
|
385
385
|
{
|
|
386
386
|
headerTitle: "FHIR Sync",
|
|
387
387
|
pageTitle: "General",
|
|
388
388
|
url: "medplat/admin/fhirResource",
|
|
389
|
-
component:
|
|
389
|
+
component: be
|
|
390
390
|
}
|
|
391
391
|
)
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
path: "medplat/admin/fhirResource/new",
|
|
395
|
-
element: /* @__PURE__ */
|
|
395
|
+
element: /* @__PURE__ */ o(
|
|
396
396
|
s,
|
|
397
397
|
{
|
|
398
398
|
headerTitle: "Connect FHIR Server",
|
|
399
399
|
pageTitle: "General",
|
|
400
400
|
url: "medplat/admin/fhirResource",
|
|
401
|
-
component:
|
|
401
|
+
component: he
|
|
402
402
|
}
|
|
403
403
|
)
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
path: "medplat/admin/fhirResource/:serverId",
|
|
407
|
-
element: /* @__PURE__ */
|
|
407
|
+
element: /* @__PURE__ */ o(
|
|
408
408
|
s,
|
|
409
409
|
{
|
|
410
410
|
headerTitle: "FHIR Server",
|
|
411
411
|
pageTitle: "General",
|
|
412
412
|
url: "medplat/admin/fhirResource",
|
|
413
|
-
component:
|
|
413
|
+
component: ye
|
|
414
414
|
}
|
|
415
415
|
)
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
path: "medplat/admin/fhirResource/:serverId/staging",
|
|
419
|
-
element: /* @__PURE__ */
|
|
419
|
+
element: /* @__PURE__ */ o(
|
|
420
420
|
s,
|
|
421
421
|
{
|
|
422
422
|
headerTitle: "FHIR Staging Inbox",
|
|
423
423
|
pageTitle: "General",
|
|
424
424
|
url: "medplat/admin/fhirResource",
|
|
425
|
-
component:
|
|
425
|
+
component: Ee
|
|
426
426
|
}
|
|
427
427
|
)
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
path: "medplat/manage/locationWiseExpectedTarget",
|
|
431
|
-
element: /* @__PURE__ */
|
|
431
|
+
element: /* @__PURE__ */ o(
|
|
432
432
|
s,
|
|
433
433
|
{
|
|
434
434
|
headerTitle: "Location Wise Expected Target",
|
|
435
435
|
pageTitle: "General",
|
|
436
436
|
url: "medplat/manage/locationWiseExpectedTarget",
|
|
437
|
-
component:
|
|
437
|
+
component: Me
|
|
438
438
|
}
|
|
439
439
|
)
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
path: "medplat/manage/faqs",
|
|
443
|
+
element: /* @__PURE__ */ o(
|
|
444
|
+
s,
|
|
445
|
+
{
|
|
446
|
+
headerTitle: "FAQs",
|
|
447
|
+
pageTitle: "General",
|
|
448
|
+
url: "medplat/manage/faqs",
|
|
449
|
+
component: Ae
|
|
450
|
+
}
|
|
451
|
+
)
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
path: "medplat/manage/faq",
|
|
455
|
+
element: /* @__PURE__ */ o(
|
|
456
|
+
s,
|
|
457
|
+
{
|
|
458
|
+
headerTitle: "Manage FAQ",
|
|
459
|
+
pageTitle: "General",
|
|
460
|
+
url: "medplat/manage/faqs",
|
|
461
|
+
component: B
|
|
462
|
+
}
|
|
463
|
+
)
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
path: "medplat/manage/faq/:id",
|
|
467
|
+
element: /* @__PURE__ */ o(
|
|
468
|
+
s,
|
|
469
|
+
{
|
|
470
|
+
headerTitle: "Manage FAQ",
|
|
471
|
+
pageTitle: "General",
|
|
472
|
+
url: "medplat/manage/faqs",
|
|
473
|
+
component: B
|
|
474
|
+
}
|
|
475
|
+
)
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
path: "medplat/manage/faqList",
|
|
479
|
+
element: /* @__PURE__ */ o(ve, {})
|
|
440
480
|
}
|
|
441
|
-
],
|
|
481
|
+
], w = () => ({
|
|
442
482
|
vaccines: [],
|
|
443
483
|
selectedVaccineIds: [],
|
|
444
484
|
views: [
|
|
@@ -464,45 +504,45 @@ import './index.css';const s = m(
|
|
|
464
504
|
featureRights: {},
|
|
465
505
|
isConfigLoaded: !1,
|
|
466
506
|
validationErrors: {}
|
|
467
|
-
}),
|
|
468
|
-
const
|
|
507
|
+
}), Fe = w(), D = (e = [], t = {}) => {
|
|
508
|
+
const a = e.findIndex(
|
|
469
509
|
(i) => t.id !== void 0 && (i == null ? void 0 : i.id) === t.id || t.code && (i == null ? void 0 : i.code) === t.code
|
|
470
510
|
);
|
|
471
|
-
return
|
|
472
|
-
(i, r) => r ===
|
|
511
|
+
return a === -1 ? [...e, t] : e.map(
|
|
512
|
+
(i, r) => r === a ? {
|
|
473
513
|
...i,
|
|
474
514
|
...t
|
|
475
515
|
} : i
|
|
476
516
|
);
|
|
477
|
-
},
|
|
517
|
+
}, $ = Z({
|
|
478
518
|
name: "immunization",
|
|
479
|
-
initialState:
|
|
519
|
+
initialState: Fe,
|
|
480
520
|
reducers: {
|
|
481
521
|
toggleVaccine: (e, t) => {
|
|
482
|
-
const
|
|
522
|
+
const a = t.payload;
|
|
483
523
|
Array.isArray(e.selectedVaccineIds) || (e.selectedVaccineIds = []);
|
|
484
|
-
const i = e.selectedVaccineIds.indexOf(
|
|
485
|
-
i > -1 ? e.selectedVaccineIds.splice(i, 1) : e.selectedVaccineIds.push(
|
|
524
|
+
const i = e.selectedVaccineIds.indexOf(a);
|
|
525
|
+
i > -1 ? e.selectedVaccineIds.splice(i, 1) : e.selectedVaccineIds.push(a);
|
|
486
526
|
},
|
|
487
527
|
setVaccines: (e, t) => {
|
|
488
|
-
const
|
|
489
|
-
e.vaccines =
|
|
528
|
+
const a = Array.isArray(t.payload) ? t.payload : [];
|
|
529
|
+
e.vaccines = a, e.selectedVaccineIds.length === 0 && (e.selectedVaccineIds = a.filter((i) => i.isActive).map((i) => i.id));
|
|
490
530
|
},
|
|
491
531
|
setSelectedVaccineIds: (e, t) => {
|
|
492
532
|
e.selectedVaccineIds = t.payload;
|
|
493
533
|
},
|
|
494
534
|
addCustomVaccine: (e, t) => {
|
|
495
|
-
const
|
|
535
|
+
const a = t.payload || {}, {
|
|
496
536
|
name: i,
|
|
497
537
|
vaccine_name: r,
|
|
498
|
-
disease:
|
|
499
|
-
target_prevention:
|
|
538
|
+
disease: n,
|
|
539
|
+
target_prevention: m,
|
|
500
540
|
id: g,
|
|
501
541
|
baseDateCode: u,
|
|
502
542
|
base_date_code: I,
|
|
503
|
-
recipientType:
|
|
543
|
+
recipientType: d,
|
|
504
544
|
recipient_type: b
|
|
505
|
-
} =
|
|
545
|
+
} = a, T = i || r || "Unnamed Vaccine", N = n || m || "General", y = (Array.isArray(e.vaccines) ? e.vaccines : []).map((h) => Number(h == null ? void 0 : h.id)).filter((h) => !Number.isNaN(h)), p = y.length > 0 ? Math.max(...y) + 1 : 1, v = {
|
|
506
546
|
id: g || p,
|
|
507
547
|
name: T,
|
|
508
548
|
category: N,
|
|
@@ -512,9 +552,9 @@ import './index.css';const s = m(
|
|
|
512
552
|
doseDetails: {},
|
|
513
553
|
regions: [],
|
|
514
554
|
dependencies: [],
|
|
515
|
-
isActive:
|
|
555
|
+
isActive: a.isActive !== void 0 ? a.isActive : !1,
|
|
516
556
|
baseDateCode: u || I || null,
|
|
517
|
-
recipientType:
|
|
557
|
+
recipientType: d || b || ""
|
|
518
558
|
};
|
|
519
559
|
Array.isArray(e.vaccines) || (e.vaccines = []), e.vaccines.push(v);
|
|
520
560
|
},
|
|
@@ -522,11 +562,11 @@ import './index.css';const s = m(
|
|
|
522
562
|
e.currentViewId = t.payload;
|
|
523
563
|
},
|
|
524
564
|
updateScheduledVaccine: (e, t) => {
|
|
525
|
-
const
|
|
565
|
+
const a = t.payload, i = e.scheduledVaccines.findIndex((r) => r.id === a.id);
|
|
526
566
|
i !== -1 ? e.scheduledVaccines[i] = {
|
|
527
567
|
...e.scheduledVaccines[i],
|
|
528
|
-
...
|
|
529
|
-
} : e.scheduledVaccines.push(
|
|
568
|
+
...a
|
|
569
|
+
} : e.scheduledVaccines.push(a);
|
|
530
570
|
},
|
|
531
571
|
setBaseDatesMaster: (e, t) => {
|
|
532
572
|
e.baseDateMaster = t.payload;
|
|
@@ -541,24 +581,24 @@ import './index.css';const s = m(
|
|
|
541
581
|
e.filtersMaster = t.payload;
|
|
542
582
|
},
|
|
543
583
|
upsertBaseDateMasterItem: (e, t) => {
|
|
544
|
-
e.baseDateMaster =
|
|
584
|
+
e.baseDateMaster = D(e.baseDateMaster, t.payload);
|
|
545
585
|
},
|
|
546
586
|
upsertRecipientMasterItem: (e, t) => {
|
|
547
|
-
e.recipientMaster =
|
|
587
|
+
e.recipientMaster = D(e.recipientMaster, t.payload);
|
|
548
588
|
},
|
|
549
589
|
updateBaseDateMasterStatus: (e, t) => {
|
|
550
|
-
const { code:
|
|
590
|
+
const { code: a, is_active: i } = t.payload;
|
|
551
591
|
e.baseDateMaster = e.baseDateMaster.map(
|
|
552
|
-
(r) => r.code ===
|
|
592
|
+
(r) => r.code === a ? { ...r, is_active: i } : r
|
|
553
593
|
);
|
|
554
594
|
},
|
|
555
595
|
upsertFilterMasterItem: (e, t) => {
|
|
556
|
-
e.filtersMaster =
|
|
596
|
+
e.filtersMaster = D(e.filtersMaster, t.payload);
|
|
557
597
|
},
|
|
558
598
|
updateFilterMasterStatus: (e, t) => {
|
|
559
|
-
const { code:
|
|
599
|
+
const { code: a, is_active: i } = t.payload;
|
|
560
600
|
e.filtersMaster = e.filtersMaster.map(
|
|
561
|
-
(r) => r.code ===
|
|
601
|
+
(r) => r.code === a ? { ...r, is_active: i } : r
|
|
562
602
|
);
|
|
563
603
|
},
|
|
564
604
|
setFeatureRights: (e, t) => {
|
|
@@ -567,7 +607,7 @@ import './index.css';const s = m(
|
|
|
567
607
|
setImmunizationConfigLoaded: (e, t) => {
|
|
568
608
|
e.isConfigLoaded = t.payload;
|
|
569
609
|
},
|
|
570
|
-
resetImmunizationState: () =>
|
|
610
|
+
resetImmunizationState: () => w(),
|
|
571
611
|
activateSelectedVaccines: (e) => {
|
|
572
612
|
e.vaccines = e.vaccines.map((t) => ({
|
|
573
613
|
...t,
|
|
@@ -575,119 +615,119 @@ import './index.css';const s = m(
|
|
|
575
615
|
}));
|
|
576
616
|
},
|
|
577
617
|
setVaccineStatus: (e, t) => {
|
|
578
|
-
const { vaccineId:
|
|
618
|
+
const { vaccineId: a, status: i } = t.payload, r = e.vaccines.findIndex((m) => m.id === a);
|
|
579
619
|
r !== -1 && (e.vaccines[r].isActive = i), Array.isArray(e.selectedVaccineIds) || (e.selectedVaccineIds = []);
|
|
580
|
-
const
|
|
581
|
-
i &&
|
|
620
|
+
const n = e.selectedVaccineIds.indexOf(a);
|
|
621
|
+
i && n === -1 ? e.selectedVaccineIds.push(a) : !i && n !== -1 && e.selectedVaccineIds.splice(n, 1);
|
|
582
622
|
},
|
|
583
623
|
setValidationErrors: (e, t) => {
|
|
584
|
-
const { vaccineId:
|
|
585
|
-
e.validationErrors[
|
|
624
|
+
const { vaccineId: a, errors: i } = t.payload;
|
|
625
|
+
e.validationErrors[a] = i;
|
|
586
626
|
},
|
|
587
627
|
clearValidationErrors: (e, t) => {
|
|
588
|
-
const
|
|
589
|
-
|
|
628
|
+
const a = t.payload;
|
|
629
|
+
a ? delete e.validationErrors[a] : e.validationErrors = {};
|
|
590
630
|
}
|
|
591
631
|
}
|
|
592
632
|
}), {
|
|
593
|
-
toggleVaccine:
|
|
594
|
-
setVaccines:
|
|
595
|
-
addCustomVaccine:
|
|
596
|
-
setCurrentView:
|
|
597
|
-
updateScheduledVaccine:
|
|
598
|
-
setBaseDatesMaster:
|
|
599
|
-
setRecipientMaster:
|
|
600
|
-
setDbTablesMaster:
|
|
601
|
-
setFiltersMaster:
|
|
602
|
-
upsertBaseDateMasterItem:
|
|
603
|
-
upsertRecipientMasterItem:
|
|
604
|
-
updateBaseDateMasterStatus:
|
|
605
|
-
upsertFilterMasterItem:
|
|
606
|
-
updateFilterMasterStatus:
|
|
607
|
-
setFeatureRights:
|
|
608
|
-
setImmunizationConfigLoaded:
|
|
609
|
-
resetImmunizationState:
|
|
610
|
-
activateSelectedVaccines:
|
|
611
|
-
setSelectedVaccineIds:
|
|
612
|
-
setValidationErrors:
|
|
613
|
-
clearValidationErrors:
|
|
614
|
-
setVaccineStatus:
|
|
615
|
-
} =
|
|
633
|
+
toggleVaccine: ct,
|
|
634
|
+
setVaccines: dt,
|
|
635
|
+
addCustomVaccine: mt,
|
|
636
|
+
setCurrentView: ut,
|
|
637
|
+
updateScheduledVaccine: pt,
|
|
638
|
+
setBaseDatesMaster: gt,
|
|
639
|
+
setRecipientMaster: Tt,
|
|
640
|
+
setDbTablesMaster: ft,
|
|
641
|
+
setFiltersMaster: It,
|
|
642
|
+
upsertBaseDateMasterItem: bt,
|
|
643
|
+
upsertRecipientMasterItem: ht,
|
|
644
|
+
updateBaseDateMasterStatus: yt,
|
|
645
|
+
upsertFilterMasterItem: Et,
|
|
646
|
+
updateFilterMasterStatus: Mt,
|
|
647
|
+
setFeatureRights: At,
|
|
648
|
+
setImmunizationConfigLoaded: vt,
|
|
649
|
+
resetImmunizationState: Ft,
|
|
650
|
+
activateSelectedVaccines: Nt,
|
|
651
|
+
setSelectedVaccineIds: _t,
|
|
652
|
+
setValidationErrors: St,
|
|
653
|
+
clearValidationErrors: Lt,
|
|
654
|
+
setVaccineStatus: Rt
|
|
655
|
+
} = $.actions, Dt = $.reducer, q = (e) => !e || typeof e == "string" && e.toLowerCase() === "birth" ? 0 : Number.parseInt(e) || 0, E = (e, t) => {
|
|
616
656
|
if (!e || typeof e == "string" && e.toLowerCase() === "birth") return 0;
|
|
617
|
-
const
|
|
618
|
-
return t === "weeks" ?
|
|
619
|
-
}, x = (e) => e == null || String(e).trim() === "",
|
|
620
|
-
const i = {}, r = !x(e.overdueFrom),
|
|
657
|
+
const a = Number.parseInt(e) || 0;
|
|
658
|
+
return t === "weeks" ? a * 7 : t === "months" ? a * 30 : t === "years" ? a * 365 : a;
|
|
659
|
+
}, x = (e) => e == null || String(e).trim() === "", Ut = "lifelong", R = (e) => e === null, Ne = "LIFELONG", _e = (e, t = {}, a) => {
|
|
660
|
+
const i = {}, r = !x(e.overdueFrom), n = !x(e.overdueTill);
|
|
621
661
|
if (!r)
|
|
622
|
-
return
|
|
623
|
-
const
|
|
624
|
-
return
|
|
625
|
-
},
|
|
626
|
-
if (
|
|
627
|
-
const r = [],
|
|
628
|
-
return
|
|
629
|
-
const T =
|
|
630
|
-
(
|
|
631
|
-
const
|
|
632
|
-
if (t === "FIXED" &&
|
|
633
|
-
const F = Number.parseInt(
|
|
634
|
-
|
|
635
|
-
!h && (
|
|
662
|
+
return n && (i.overdueTill = "Set Overdue From first"), i;
|
|
663
|
+
const m = E(e.overdueFrom, t.overdueFrom || "days"), g = E(e.overdueTill, t.overdueTill || "days");
|
|
664
|
+
return m <= 0 ? i.overdueFrom = "Must be greater than 0" : a > 0 && m >= a && (i.overdueFrom = "Must be within the eligibility window"), n ? g <= m ? i.overdueTill = "Must be greater than Overdue From" : a > 0 && g > a && (i.overdueTill = "Must be within the eligibility window") : i.overdueTill = "Overdue Till is required", i;
|
|
665
|
+
}, Se = (e, t, a, i = {}) => {
|
|
666
|
+
if (a === 0) return null;
|
|
667
|
+
const r = [], n = Array.isArray(e) ? e : [e], m = i.eligibleFrom || "days", g = i.eligibleTo || "days", u = i.interval || "days", I = n.findIndex((d) => R(d == null ? void 0 : d.eligibleTo));
|
|
668
|
+
return n.forEach((d, b) => {
|
|
669
|
+
const T = d.units || {}, N = T.eligibleFrom || m, l = T.eligibleTo || g, y = T.interval || u, p = {}, A = E(d.eligibleFrom, N), v = E(d.eligibleTo, l), h = R(d.eligibleTo);
|
|
670
|
+
(d.eligibleFrom === void 0 || d.eligibleFrom === null || d.eligibleFrom === "") && b !== 0 && (p.eligibleFrom = "Eligible From is required"), !h && (d.eligibleTo === void 0 || d.eligibleTo === "" || E(d.eligibleTo, l) === 0) && (p.eligibleTo = "Eligible To is required");
|
|
671
|
+
const j = t === "FLEXIBLE" && b === n.length - 1;
|
|
672
|
+
if (t === "FIXED" && a > 1 || !j && t === "FLEXIBLE") {
|
|
673
|
+
const F = Number.parseInt(d.interval) || 0, _ = E(d.interval, y);
|
|
674
|
+
d.interval === void 0 || d.interval === null || d.interval === "" || F === 0 || d.interval === "0 days" ? p.interval = "Interval is required" : t === "FIXED" && a > 1 && // An open-ended window always has room for every dose.
|
|
675
|
+
!h && (a - 1) * _ > v - A && (p.interval = `Number of doses not possible in the window. Total interval exceeds available window (${v - A} days).`);
|
|
636
676
|
}
|
|
637
|
-
if (!h && v <= A &&
|
|
638
|
-
const F =
|
|
639
|
-
A <
|
|
677
|
+
if (!h && v <= A && d.eligibleFrom && d.eligibleTo && (p.eligibleTo = "Must be strictly greater than ELIGIBLE FROM"), t === "FLEXIBLE" && !h && I !== -1 && b > I && (p.eligibleTo = "Doses after a lifelong dose must also be lifelong"), t === "FLEXIBLE" && Object.assign(p, _e(d, T, h ? null : v - A)), b > 0 && t === "FLEXIBLE") {
|
|
678
|
+
const F = n[b - 1], _ = F.units || {}, H = _.eligibleFrom || m, k = _.interval || u, W = E(F.eligibleFrom, H), Q = E(F.interval, k);
|
|
679
|
+
A < W + Q && (p.eligibleFrom = "Must be greater than previous ELIGIBLE FROM and INTERVAL"), F.isBooster && !d.isBooster && (p.isBooster = "A regular dose cannot follow a booster dose");
|
|
640
680
|
}
|
|
641
681
|
Object.keys(p).length > 0 && (r[b] = p);
|
|
642
682
|
}), r.length > 0 ? r : null;
|
|
643
|
-
},
|
|
644
|
-
const t = [],
|
|
683
|
+
}, Le = (e) => {
|
|
684
|
+
const t = [], a = /* @__PURE__ */ new Set();
|
|
645
685
|
return e.forEach((i, r) => {
|
|
646
|
-
const
|
|
647
|
-
i.vaccine ? (
|
|
648
|
-
const
|
|
649
|
-
i.requirement === "Should be given" || i.requirement === "Optional" ? (
|
|
686
|
+
const n = {};
|
|
687
|
+
i.vaccine ? (a.has(i.vaccine) && (n.vaccine = "This vaccine is already added as a dependency"), a.add(i.vaccine)) : n.vaccine = "Vaccine selection is required";
|
|
688
|
+
const m = i.minGap === "" || i.minGap === null || i.minGap === void 0, g = i.maxGap === "" || i.maxGap === null || i.maxGap === void 0, u = q(i.minGap), I = q(i.maxGap);
|
|
689
|
+
i.requirement === "Should be given" || i.requirement === "Optional" ? (m ? n.minGap = "Gap cannot be empty" : u <= 0 && (n.minGap = "Must be greater than 0"), !m && !g && u > 0 && I > 0 && I <= u && (n.maxGap = "Max gap must be greater than Min Gap")) : (!m && u < 0 && (n.minGap = "Gap cannot be negative"), !g && I < 0 && (n.maxGap = "Gap cannot be negative")), Object.keys(n).length > 0 && (t[r] = n);
|
|
650
690
|
}), t.some((i) => i && Object.keys(i).length > 0) ? t : null;
|
|
651
|
-
},
|
|
652
|
-
const t = [],
|
|
691
|
+
}, Re = (e) => {
|
|
692
|
+
const t = [], a = /* @__PURE__ */ new Set();
|
|
653
693
|
return (e || []).forEach((i, r) => {
|
|
654
|
-
const
|
|
655
|
-
i.type ? (
|
|
694
|
+
const n = {};
|
|
695
|
+
i.type ? (a.has(i.type) && (n.type = "This type is already added"), a.add(i.type)) : n.type = "Type is required", (!i.value || i.value.trim() === "") && (n.value = "Value is required"), Object.keys(n).length > 0 && (t[r] = n);
|
|
656
696
|
}), t.some((i) => i && Object.keys(i).length > 0) ? t : null;
|
|
657
|
-
},
|
|
697
|
+
}, z = (e) => {
|
|
658
698
|
const t = String(e ?? "").trim().split(/\s+/);
|
|
659
699
|
return E(e, t.length > 1 ? t[t.length - 1] : "days");
|
|
660
|
-
},
|
|
700
|
+
}, De = (e) => {
|
|
661
701
|
const t = e.recurringBooster;
|
|
662
702
|
if (!t || e.doseType !== "FLEXIBLE")
|
|
663
703
|
return null;
|
|
664
|
-
const
|
|
665
|
-
return i >= 0 || (
|
|
666
|
-
},
|
|
704
|
+
const a = {}, i = Number.parseInt(t.eligibleFrom, 10), r = Number.parseInt(t.interval, 10);
|
|
705
|
+
return i >= 0 || (a.eligibleFrom = "Eligible From is required"), r > 0 || (a.interval = "Interval must be greater than 0"), R(t.eligibleTo) || (Number.parseInt(t.eligibleTo, 10) > 0 ? z(t.eligibleTo) <= z(t.eligibleFrom) && (a.eligibleTo = "Must be strictly greater than Eligible From") : a.eligibleTo = "Eligible To is required, or set it to No end"), Object.keys(a).length > 0 ? a : null;
|
|
706
|
+
}, Vt = (e, t = !0) => {
|
|
667
707
|
var I;
|
|
668
|
-
const
|
|
669
|
-
(!e.name || e.name.trim() === "") && (
|
|
670
|
-
const i =
|
|
671
|
-
if (i && (
|
|
672
|
-
return Object.keys(
|
|
708
|
+
const a = {};
|
|
709
|
+
(!e.name || e.name.trim() === "") && (a.name = "Vaccine Name is required"), e.recipientType || (a.recipientType = "Recipient Type is required"), e.baseDateCode || (a.baseDateCode = "Base Date is required");
|
|
710
|
+
const i = Re(e.codeSets || []);
|
|
711
|
+
if (i && (a.codeSets = i), !t)
|
|
712
|
+
return Object.keys(a).length > 0 ? a : null;
|
|
673
713
|
const r = e.doseType === "RECURRING";
|
|
674
|
-
!r && (!e.doses || e.doses === 0) && (
|
|
675
|
-
const
|
|
714
|
+
!r && (!e.doses || e.doses === 0) && (a.doses = "At least one dose is required");
|
|
715
|
+
const n = Se(
|
|
676
716
|
e.doseDetails,
|
|
677
717
|
r ? "FIXED" : e.doseType,
|
|
678
718
|
r ? 1 : e.doses,
|
|
679
719
|
e.durationUnits
|
|
680
720
|
);
|
|
681
|
-
|
|
682
|
-
const
|
|
683
|
-
r && !(Number.parseInt(
|
|
684
|
-
...
|
|
685
|
-
0: { ...((I =
|
|
721
|
+
n && (a.doseDetails = n);
|
|
722
|
+
const m = Array.isArray(e.doseDetails) ? e.doseDetails[0] : e.doseDetails;
|
|
723
|
+
r && !(Number.parseInt(m == null ? void 0 : m.interval, 10) > 0) && (a.doseDetails = {
|
|
724
|
+
...a.doseDetails || {},
|
|
725
|
+
0: { ...((I = a.doseDetails) == null ? void 0 : I[0]) || {}, interval: "Interval must be greater than 0" }
|
|
686
726
|
});
|
|
687
|
-
const g =
|
|
688
|
-
g && (
|
|
689
|
-
const u =
|
|
690
|
-
return u && (
|
|
727
|
+
const g = De(e);
|
|
728
|
+
g && (a.recurringBooster = g);
|
|
729
|
+
const u = Le(e.dependencies || []);
|
|
730
|
+
return u && (a.dependencies = u), Object.keys(a).length > 0 ? a : null;
|
|
691
731
|
}, M = (e, t) => {
|
|
692
732
|
if (e == null)
|
|
693
733
|
return t;
|
|
@@ -698,89 +738,89 @@ import './index.css';const s = m(
|
|
|
698
738
|
} catch {
|
|
699
739
|
return t;
|
|
700
740
|
}
|
|
701
|
-
}, S = (...e) => e.filter(Boolean).join("_"),
|
|
741
|
+
}, S = (...e) => e.filter(Boolean).join("_"), L = (e) => R(e) ? Ne : e === void 0 || e === "" || e === "N.A." || e === "null days" ? "N.A." : e, P = (e, t = "FLEXIBLE", a = 1) => {
|
|
702
742
|
const i = t === "RECURRING";
|
|
703
|
-
if (
|
|
743
|
+
if (a === 0 && !i || !e)
|
|
704
744
|
return "N.A.";
|
|
705
745
|
if (t === "FIXED" || i) {
|
|
706
|
-
const
|
|
707
|
-
if (!
|
|
746
|
+
const m = Array.isArray(e) ? e[0] : e;
|
|
747
|
+
if (!m)
|
|
708
748
|
return "N.A.";
|
|
709
|
-
const g =
|
|
749
|
+
const g = L(m.eligibleFrom), u = L(m.eligibleTo);
|
|
710
750
|
return g === "N.A." && u === "N.A." ? "N.A." : `${g} to ${u}`;
|
|
711
751
|
}
|
|
712
752
|
if (!Array.isArray(e) || e.length === 0)
|
|
713
753
|
return "N.A.";
|
|
714
|
-
const r =
|
|
754
|
+
const r = L(e[0].eligibleFrom), n = L(
|
|
715
755
|
e[e.length - 1].eligibleTo
|
|
716
756
|
);
|
|
717
|
-
return r === "N.A." &&
|
|
718
|
-
},
|
|
757
|
+
return r === "N.A." && n === "N.A." ? "N.A." : `${r} to ${n}`;
|
|
758
|
+
}, X = {
|
|
719
759
|
eligibleFrom: "days",
|
|
720
760
|
eligibleTo: "days",
|
|
721
761
|
interval: "days"
|
|
722
|
-
},
|
|
762
|
+
}, Ue = () => ({
|
|
723
763
|
productId: null,
|
|
724
764
|
noOfDoses: 0,
|
|
725
765
|
doseType: "FIXED",
|
|
726
766
|
doseEligibleFrom: void 0,
|
|
727
767
|
doseEligibleTo: void 0,
|
|
728
768
|
minGap: 0,
|
|
729
|
-
durationUnits: { ...
|
|
769
|
+
durationUnits: { ...X },
|
|
730
770
|
dose: [],
|
|
731
771
|
location: [],
|
|
732
772
|
validations: []
|
|
733
|
-
}),
|
|
734
|
-
const i = String(e.doseType || "").toLowerCase(), r = i === "fixed" || i === "na" || i === "recurring" || !e.doseType,
|
|
735
|
-
...
|
|
736
|
-
}),
|
|
773
|
+
}), Ve = (e, t, a) => {
|
|
774
|
+
const i = String(e.doseType || "").toLowerCase(), r = i === "fixed" || i === "na" || i === "recurring" || !e.doseType, n = M(e.durationUnits, {
|
|
775
|
+
...X
|
|
776
|
+
}), m = `${t}s${a}`, g = r ? [
|
|
737
777
|
{
|
|
738
|
-
id: S("fixed",
|
|
739
|
-
eligibleFrom: e.doseEligibleFrom !== void 0 && e.doseEligibleFrom !== null ? `${e.doseEligibleFrom} ${
|
|
778
|
+
id: S("fixed", m),
|
|
779
|
+
eligibleFrom: e.doseEligibleFrom !== void 0 && e.doseEligibleFrom !== null ? `${e.doseEligibleFrom} ${n.eligibleFrom || "days"}` : "",
|
|
740
780
|
// NULL is the stored form of a lifelong window — see the FLEXIBLE branch below.
|
|
741
|
-
eligibleTo: e.doseEligibleTo === null ? null : e.doseEligibleTo !== void 0 ? `${e.doseEligibleTo} ${
|
|
781
|
+
eligibleTo: e.doseEligibleTo === null ? null : e.doseEligibleTo !== void 0 ? `${e.doseEligibleTo} ${n.eligibleTo || "days"}` : "",
|
|
742
782
|
interval: e.minGap || 0
|
|
743
783
|
}
|
|
744
|
-
] : M(e.dose, []).map((
|
|
784
|
+
] : M(e.dose, []).map((l, y) => {
|
|
745
785
|
const p = {
|
|
746
|
-
eligibleFrom:
|
|
747
|
-
eligibleTo:
|
|
748
|
-
interval:
|
|
749
|
-
overdueFrom:
|
|
750
|
-
overdueTill:
|
|
786
|
+
eligibleFrom: l.eligible_from_unit || n.eligibleFrom || "days",
|
|
787
|
+
eligibleTo: l.eligible_to_unit || n.eligibleTo || "days",
|
|
788
|
+
interval: l.interval_unit || n.interval || "days",
|
|
789
|
+
overdueFrom: l.overdue_from_unit || "days",
|
|
790
|
+
overdueTill: l.overdue_till_unit || "days"
|
|
751
791
|
};
|
|
752
792
|
return {
|
|
753
|
-
id:
|
|
754
|
-
isBooster:
|
|
755
|
-
alias:
|
|
756
|
-
eligibleFrom:
|
|
793
|
+
id: l.id || S("dose", m, y),
|
|
794
|
+
isBooster: l.isBooster === !0 || l.is_booster === !0 || typeof l.dose == "string" && l.dose.toUpperCase().startsWith("B"),
|
|
795
|
+
alias: l.alias || l.booster_alias || "",
|
|
796
|
+
eligibleFrom: l.eligible_from !== void 0 ? `${l.eligible_from} ${p.eligibleFrom}` : "",
|
|
757
797
|
// NULL is the stored form of a lifelong window; it must survive as null rather
|
|
758
798
|
// than becoming the string "null days".
|
|
759
|
-
eligibleTo:
|
|
760
|
-
overdueFrom:
|
|
761
|
-
overdueTill:
|
|
762
|
-
interval:
|
|
799
|
+
eligibleTo: l.eligible_to === null ? null : l.eligible_to !== void 0 ? `${l.eligible_to} ${p.eligibleTo}` : "",
|
|
800
|
+
overdueFrom: l.overdue_from !== void 0 && l.overdue_from !== null ? `${l.overdue_from} ${p.overdueFrom}` : "",
|
|
801
|
+
overdueTill: l.overdue_till !== void 0 && l.overdue_till !== null ? `${l.overdue_till} ${p.overdueTill}` : "",
|
|
802
|
+
interval: l.min_gap || 0,
|
|
763
803
|
units: p
|
|
764
804
|
};
|
|
765
|
-
}), u = M(e.location, []).filter((
|
|
805
|
+
}), u = M(e.location, []).filter((l) => l && typeof l == "object").map((l, y) => {
|
|
766
806
|
var p;
|
|
767
807
|
return {
|
|
768
|
-
id: S("region",
|
|
769
|
-
locationId:
|
|
770
|
-
locationIdArr:
|
|
771
|
-
locationList:
|
|
772
|
-
fullPath: (p =
|
|
808
|
+
id: S("region", m, y),
|
|
809
|
+
locationId: l.locationId,
|
|
810
|
+
locationIdArr: l.locationIdArr,
|
|
811
|
+
locationList: l.locationList,
|
|
812
|
+
fullPath: (p = l.locationList) == null ? void 0 : p.replaceAll(" => ", " → ")
|
|
773
813
|
};
|
|
774
814
|
}), I = M(e.validations, []).map(
|
|
775
|
-
(
|
|
776
|
-
id: S("dep",
|
|
777
|
-
vaccine:
|
|
778
|
-
requirement:
|
|
779
|
-
minGap: Number.parseInt(
|
|
780
|
-
maxGap: Number.parseInt(
|
|
781
|
-
message:
|
|
815
|
+
(l, y) => ({
|
|
816
|
+
id: S("dep", m, y),
|
|
817
|
+
vaccine: l.vaccine || "",
|
|
818
|
+
requirement: l.requirement || "Should be given",
|
|
819
|
+
minGap: Number.parseInt(l.minGap, 10) || 0,
|
|
820
|
+
maxGap: Number.parseInt(l.maxGap, 10) || 0,
|
|
821
|
+
message: l.message || ""
|
|
782
822
|
})
|
|
783
|
-
),
|
|
823
|
+
), d = e.noOfDoses || 0, b = e.doseType && e.doseType !== "NA" ? e.doseType : "FIXED", T = e.recurringBooster ? M(e.recurringBooster, null) : null, N = T && T.eligibleFrom !== void 0 && T.eligibleFrom !== null ? {
|
|
784
824
|
eligibleFrom: `${T.eligibleFrom} ${T.eligibleFromUnit || "days"}`,
|
|
785
825
|
// NULL is the stored form of a lifelong window, exactly as for a dose.
|
|
786
826
|
eligibleTo: T.eligibleTo === null || T.eligibleTo === void 0 ? null : `${T.eligibleTo} ${T.eligibleToUnit || "days"}`,
|
|
@@ -788,19 +828,19 @@ import './index.css';const s = m(
|
|
|
788
828
|
} : null;
|
|
789
829
|
return {
|
|
790
830
|
productId: e.productId ?? null,
|
|
791
|
-
doses:
|
|
831
|
+
doses: d,
|
|
792
832
|
doseType: b,
|
|
793
833
|
doseDetails: g,
|
|
794
|
-
durationUnits:
|
|
834
|
+
durationUnits: n,
|
|
795
835
|
recurringBooster: N,
|
|
796
836
|
regions: u,
|
|
797
837
|
dependencies: I,
|
|
798
|
-
eligibility:
|
|
838
|
+
eligibility: P(g, b, d)
|
|
799
839
|
};
|
|
800
|
-
},
|
|
801
|
-
const t = M(e.schedule, []), i = (Array.isArray(t) && t.length > 0 ? t : [
|
|
802
|
-
(I,
|
|
803
|
-
), r = M(e.filters, []),
|
|
840
|
+
}, Ge = (e) => {
|
|
841
|
+
const t = M(e.schedule, []), i = (Array.isArray(t) && t.length > 0 ? t : [Ue()]).map(
|
|
842
|
+
(I, d) => Ve(I || {}, e.id, d)
|
|
843
|
+
), r = M(e.filters, []), n = Array.isArray(r) ? r : (r == null ? void 0 : r.codes) || [], m = M(e.code_sets, []), g = Array.isArray(m) ? m : [], [u] = i;
|
|
804
844
|
return {
|
|
805
845
|
...e,
|
|
806
846
|
name: e.vaccine_name || e.name || "N.A.",
|
|
@@ -817,23 +857,23 @@ import './index.css';const s = m(
|
|
|
817
857
|
hasUnpublishedChanges: !!e.has_unpublished_changes,
|
|
818
858
|
regions: u.regions,
|
|
819
859
|
dependencies: u.dependencies,
|
|
820
|
-
filters:
|
|
860
|
+
filters: n,
|
|
821
861
|
codeSets: g,
|
|
822
862
|
durationUnits: u.durationUnits,
|
|
823
863
|
baseDateCode: e.base_date_code,
|
|
824
864
|
recipientType: e.recipient_type || "",
|
|
825
865
|
scheduleType: e.schedule_type === "NON_ROUTINE" ? "NON_ROUTINE" : "ROUTINE"
|
|
826
866
|
};
|
|
827
|
-
},
|
|
867
|
+
}, Ce = () => f({
|
|
828
868
|
code: "FETCH_IMMUNISATION_MASTER",
|
|
829
869
|
parameters: {}
|
|
830
|
-
}),
|
|
870
|
+
}), Oe = () => f({
|
|
831
871
|
code: "FETCH_IMMUNISATION_BASE_DATE",
|
|
832
872
|
parameters: {}
|
|
833
|
-
}),
|
|
873
|
+
}), Be = () => f({
|
|
834
874
|
code: "FETCH_IMMUNISATION_RECEPIENT_MASTER",
|
|
835
875
|
parameters: {}
|
|
836
|
-
}),
|
|
876
|
+
}), qe = () => J([
|
|
837
877
|
{
|
|
838
878
|
code: "FETCH_IMMUNISATION_BASE_DATE",
|
|
839
879
|
parameters: {},
|
|
@@ -854,83 +894,83 @@ import './index.css';const s = m(
|
|
|
854
894
|
parameters: {},
|
|
855
895
|
sequence: 4
|
|
856
896
|
}
|
|
857
|
-
]),
|
|
897
|
+
]), xe = (e) => f({
|
|
858
898
|
code: "INSERT_IMMUNIZATION_MASTER",
|
|
859
899
|
parameters: e
|
|
860
|
-
}),
|
|
900
|
+
}), ze = (e) => f({
|
|
861
901
|
code: "UPDATE_IMMUNIZATION_DOSE",
|
|
862
902
|
...e
|
|
863
|
-
}),
|
|
903
|
+
}), we = (e) => f({
|
|
864
904
|
code: "CHECK_IMMUNIZATION_CONFIGURATION_INITIATION",
|
|
865
905
|
...e
|
|
866
|
-
}),
|
|
906
|
+
}), $e = (e) => f({
|
|
867
907
|
code: "UPDATE_IMMUNIZATION_STATUS",
|
|
868
908
|
...e
|
|
869
|
-
}),
|
|
909
|
+
}), Pe = (e) => f({
|
|
870
910
|
code: "UPDATE_IMMUNIZATION_STATUS_FOR_ARRAY",
|
|
871
911
|
...e
|
|
872
|
-
}),
|
|
912
|
+
}), Xe = (e) => f({
|
|
873
913
|
code: "UPDATE_IMMUNIZATION_CONFIGURATION_INITIATION",
|
|
874
914
|
...e
|
|
875
|
-
}),
|
|
915
|
+
}), je = (e) => f({
|
|
876
916
|
code: "SAVE_IMMUNISATION_BASE_DATE",
|
|
877
917
|
parameters: e
|
|
878
|
-
}),
|
|
918
|
+
}), He = (e) => f({
|
|
879
919
|
code: "SAVE_IMMUNISATION_RECEPIENT_MASTER",
|
|
880
920
|
parameters: e
|
|
881
|
-
}),
|
|
921
|
+
}), ke = (e) => f({
|
|
882
922
|
code: "UPDATE_IMMUNISATION_RECEPIENT_MASTER",
|
|
883
923
|
parameters: e
|
|
884
|
-
}),
|
|
924
|
+
}), We = (e) => f({
|
|
885
925
|
code: "UPDATE_IMMUNISATION_BASE_DATE",
|
|
886
926
|
parameters: e
|
|
887
|
-
}),
|
|
927
|
+
}), Qe = () => f({
|
|
888
928
|
code: "retrieve_all_tables_and_columns",
|
|
889
929
|
parameters: {}
|
|
890
|
-
}),
|
|
930
|
+
}), Ze = () => f({
|
|
891
931
|
code: "GET_ALL_IMMUNISATION_FILTERS",
|
|
892
932
|
parameters: {}
|
|
893
|
-
}),
|
|
933
|
+
}), Je = (e) => f({
|
|
894
934
|
code: "ADD_IMMUNISATION_FILTER",
|
|
895
935
|
parameters: e
|
|
896
|
-
}),
|
|
936
|
+
}), Ke = (e) => f({
|
|
897
937
|
code: "UPDATE_IMMUNISATION_FILTER",
|
|
898
938
|
parameters: e
|
|
899
|
-
}),
|
|
900
|
-
calculateOverallEligibility:
|
|
901
|
-
mapImmunizationVaccineConfig:
|
|
902
|
-
getVaccines:
|
|
903
|
-
getBaseDates:
|
|
904
|
-
getRecipients:
|
|
905
|
-
getImmunizationReferenceData:
|
|
906
|
-
addImmunization:
|
|
907
|
-
updateImmunization:
|
|
908
|
-
checkImmunizationConfigurationInitiation:
|
|
909
|
-
updateVaccineStatus:
|
|
910
|
-
updateVaccineStatusFromArray:
|
|
911
|
-
updateImmunizationConfigurationInitiation:
|
|
912
|
-
saveBaseDate:
|
|
913
|
-
saveRecipient:
|
|
914
|
-
updateRecipient:
|
|
915
|
-
updateBaseDate:
|
|
916
|
-
getAllTablesAndColumns:
|
|
917
|
-
getFilters:
|
|
918
|
-
addFilter:
|
|
919
|
-
updateFilter:
|
|
920
|
-
getImmunisationV2List:
|
|
921
|
-
revalidateImmunisationV2List:
|
|
922
|
-
notifyConfigChange:
|
|
939
|
+
}), Ye = (e) => U.post("/medplatform/v2/immunisation/list", e), et = (e) => U.post("/medplatform/v2/immunisation/revalidate", e), tt = (e) => U.post("/medplatform/v2/immunisation/config-change-notification", e), Gt = {
|
|
940
|
+
calculateOverallEligibility: P,
|
|
941
|
+
mapImmunizationVaccineConfig: Ge,
|
|
942
|
+
getVaccines: Ce,
|
|
943
|
+
getBaseDates: Oe,
|
|
944
|
+
getRecipients: Be,
|
|
945
|
+
getImmunizationReferenceData: qe,
|
|
946
|
+
addImmunization: xe,
|
|
947
|
+
updateImmunization: ze,
|
|
948
|
+
checkImmunizationConfigurationInitiation: we,
|
|
949
|
+
updateVaccineStatus: $e,
|
|
950
|
+
updateVaccineStatusFromArray: Pe,
|
|
951
|
+
updateImmunizationConfigurationInitiation: Xe,
|
|
952
|
+
saveBaseDate: je,
|
|
953
|
+
saveRecipient: He,
|
|
954
|
+
updateRecipient: ke,
|
|
955
|
+
updateBaseDate: We,
|
|
956
|
+
getAllTablesAndColumns: Qe,
|
|
957
|
+
getFilters: Ze,
|
|
958
|
+
addFilter: Je,
|
|
959
|
+
updateFilter: Ke,
|
|
960
|
+
getImmunisationV2List: Ye,
|
|
961
|
+
revalidateImmunisationV2List: et,
|
|
962
|
+
notifyConfigChange: tt
|
|
923
963
|
};
|
|
924
964
|
export {
|
|
925
|
-
|
|
926
|
-
|
|
965
|
+
Gt as I,
|
|
966
|
+
Ut as L,
|
|
927
967
|
x as a,
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
968
|
+
Vt as b,
|
|
969
|
+
Ne as c,
|
|
970
|
+
Dt as d,
|
|
971
|
+
st as e,
|
|
932
972
|
E as g,
|
|
933
|
-
|
|
934
|
-
|
|
973
|
+
R as i,
|
|
974
|
+
_e as v
|
|
935
975
|
};
|
|
936
|
-
//# sourceMappingURL=index.lib-
|
|
976
|
+
//# sourceMappingURL=index.lib-QDEODnRT.js.map
|