@bahmni/widgets 0.0.1-dev.222 → 0.0.1-dev.223
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/{DocumentsTable-BquHbPl0.js → DocumentsTable-DP7uKxOF.js} +1 -1
- package/dist/{FormsTable-DXgIRd8W.js → FormsTable-WcLie2TP.js} +1 -1
- package/dist/{Observations-iITyjiEP.js → Observations-CU0La-4A.js} +1 -1
- package/dist/immunizationHistory/constants.d.ts +1 -1
- package/dist/immunizationHistory/constants.d.ts.map +1 -1
- package/dist/immunizationHistory/utils.d.ts.map +1 -1
- package/dist/{index-Bjn1f4Rq.js → index-CMLMHeuo.js} +8 -11
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as _, Fragment as K } from "react/jsx-runtime";
|
|
2
|
-
import { u as Q, a as X, W as J, r as Z, b as x, c as ee, y as te } from "./index-
|
|
2
|
+
import { u as Q, a as X, W as J, r as Z, b as x, c as ee, y as te } from "./index-CMLMHeuo.js";
|
|
3
3
|
import { useQuery as ne } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as p, useEffect as N, useMemo as f } from "react";
|
|
5
5
|
import { useTranslation as ae } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as X, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import { V as ee, u as re, $ as te, D as oe, I as ae, C as se, R as ne, K as de, d as q, b as ie, r as me, c as U, Q as ce, e as le, y as ue, O as fe } from "./index-
|
|
2
|
+
import { V as ee, u as re, $ as te, D as oe, I as ae, C as se, R as ne, K as de, d as q, b as ie, r as me, c as U, Q as ce, e as le, y as ue, O as fe } from "./index-CMLMHeuo.js";
|
|
3
3
|
import { useQueryClient as ye, useQuery as f } from "@tanstack/react-query";
|
|
4
4
|
import { useState as x, useMemo as d, useCallback as y } from "react";
|
|
5
5
|
import { useTranslation as pe } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { f as V, g as D, t as k, A as q, l as Q, M as w, h as G, E as P, u as j, a as H, i as z, j as Y, K as J, k as W, m as X, s as Z, n as x, c as ee } from "./index-
|
|
2
|
+
import { f as V, g as D, t as k, A as q, l as Q, M as w, h as G, E as P, u as j, a as H, i as z, j as Y, K as J, k as W, m as X, s as Z, n as x, c as ee } from "./index-CMLMHeuo.js";
|
|
3
3
|
import { useQueries as te, useQuery as se } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as oe, useEffect as C, useMemo as g } from "react";
|
|
5
5
|
import { useTranslation as U } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const FHIR_EXT_IMMUNIZATION_DRUG = "http://fhir.bahmni.org/ext/immunization/administeredProduct";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ENTERING_PROVIDER_CODE = "EP";
|
|
3
3
|
export declare const ORDERING_PROVIDER_CODE = "OP";
|
|
4
4
|
export declare const ADD_IMMUNIZATIONS_PRIVILEGE = "Add Immunizations";
|
|
5
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/immunizationHistory/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,gEACwB,CAAC;AAChE,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/immunizationHistory/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,gEACwB,CAAC;AAChE,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,2BAA2B,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/immunizationHistory/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMvC,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,SAAS,CAAC;AA2BjB,wBAAgB,uCAAuC,CACrD,YAAY,EAAE,YAAY,GACzB,iCAAiC,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/immunizationHistory/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMvC,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,SAAS,CAAC;AA2BjB,wBAAgB,uCAAuC,CACrD,YAAY,EAAE,YAAY,GACzB,iCAAiC,CAgCnC;AAED,wBAAgB,0CAA0C,CACxD,YAAY,EAAE,YAAY,GACzB,oCAAoC,CAQtC"}
|
|
@@ -79603,12 +79603,12 @@ const Znt = ({ config: t }) => {
|
|
|
79603
79603
|
}, Bnt = (t) => {
|
|
79604
79604
|
const { userPrivileges: e } = Whe();
|
|
79605
79605
|
return phe(e, t);
|
|
79606
|
-
}, Pnt = "
|
|
79606
|
+
}, Pnt = "_widget_10hzg_1", jnt = "_header_10hzg_5", Fnt = "_code_10hzg_27", qnt = "_expandedRowContent_10hzg_34", R2 = {
|
|
79607
79607
|
widget: Pnt,
|
|
79608
79608
|
header: jnt,
|
|
79609
79609
|
code: Fnt,
|
|
79610
79610
|
expandedRowContent: qnt
|
|
79611
|
-
}, Unt = "http://fhir.bahmni.org/ext/immunization/administeredProduct", Khe = "
|
|
79611
|
+
}, Unt = "http://fhir.bahmni.org/ext/immunization/administeredProduct", Khe = "EP", Wnt = "OP", Knt = "Add Immunizations";
|
|
79612
79612
|
function qc(t, e) {
|
|
79613
79613
|
return t.performer?.find(
|
|
79614
79614
|
(r) => r.function?.coding?.some((n) => n.code === e)
|
|
@@ -79622,10 +79622,7 @@ function Gnt(t) {
|
|
|
79622
79622
|
return e ? e.toString() : null;
|
|
79623
79623
|
}
|
|
79624
79624
|
function Jnt(t) {
|
|
79625
|
-
const e = t.route?.coding?.[0]?.display ?? null, r = t.site?.coding?.[0]?.display ?? null, n = t.manufacturer?.display ?? null, a = t.lotNumber ?? null, i = qc(
|
|
79626
|
-
t,
|
|
79627
|
-
Khe
|
|
79628
|
-
), s = qc(t, Wnt), l = t.note?.[0]?.text ?? null;
|
|
79625
|
+
const e = t.route?.coding?.[0]?.display ?? null, r = t.site?.coding?.[0]?.display ?? null, n = t.manufacturer?.display ?? null, a = t.lotNumber ?? null, i = qc(t, Khe), s = qc(t, Wnt), l = t.note?.[0]?.text ?? null;
|
|
79629
79626
|
return {
|
|
79630
79627
|
id: t.id ?? "",
|
|
79631
79628
|
code: t.vaccineCode?.coding?.[0]?.display ?? null,
|
|
@@ -79666,7 +79663,7 @@ const Xnt = [
|
|
|
79666
79663
|
});
|
|
79667
79664
|
k1(
|
|
79668
79665
|
(h) => {
|
|
79669
|
-
h.patientUUID === t && h.updatedResources.
|
|
79666
|
+
h.patientUUID === t && h.updatedResources.immunizationHistory && i();
|
|
79670
79667
|
},
|
|
79671
79668
|
[t, i]
|
|
79672
79669
|
);
|
|
@@ -79791,7 +79788,7 @@ const Xnt = [
|
|
|
79791
79788
|
});
|
|
79792
79789
|
k1(
|
|
79793
79790
|
(d) => {
|
|
79794
|
-
d.patientUUID === t && d.updatedResources.
|
|
79791
|
+
d.patientUUID === t && d.updatedResources.immunizationHistory && i();
|
|
79795
79792
|
},
|
|
79796
79793
|
[t, i]
|
|
79797
79794
|
);
|
|
@@ -80336,7 +80333,7 @@ const b0t = [
|
|
|
80336
80333
|
},
|
|
80337
80334
|
{
|
|
80338
80335
|
type: "patientDocuments",
|
|
80339
|
-
component: Dr(() => import("./DocumentsTable-
|
|
80336
|
+
component: Dr(() => import("./DocumentsTable-DP7uKxOF.js"))
|
|
80340
80337
|
},
|
|
80341
80338
|
{
|
|
80342
80339
|
type: "flowSheet",
|
|
@@ -80344,7 +80341,7 @@ const b0t = [
|
|
|
80344
80341
|
},
|
|
80345
80342
|
{
|
|
80346
80343
|
type: "forms",
|
|
80347
|
-
component: Dr(() => import("./FormsTable-
|
|
80344
|
+
component: Dr(() => import("./FormsTable-WcLie2TP.js"))
|
|
80348
80345
|
},
|
|
80349
80346
|
{
|
|
80350
80347
|
type: "labOrders",
|
|
@@ -80352,7 +80349,7 @@ const b0t = [
|
|
|
80352
80349
|
},
|
|
80353
80350
|
{
|
|
80354
80351
|
type: "observations",
|
|
80355
|
-
component: Dr(() => import("./Observations-
|
|
80352
|
+
component: Dr(() => import("./Observations-CU0La-4A.js"))
|
|
80356
80353
|
},
|
|
80357
80354
|
{
|
|
80358
80355
|
type: "ordersControl",
|