@bahmni/widgets 0.0.1-dev.265 → 0.0.1-dev.266
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-BAI2j9Ue.js → DocumentsTable-25Tv9RFh.js} +10 -10
- package/dist/{FormsTable-CbjYhFmJ.js → FormsTable-DyNaylFb.js} +45 -45
- package/dist/{Observations-DkAARn33.js → Observations-Cv2dOey8.js} +11 -11
- package/dist/{index-BBIrtGWB.js → index-c9jI-RE8.js} +45 -45
- package/dist/index.js +17 -17
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as _, Fragment as Q } from "react/jsx-runtime";
|
|
2
|
-
import { u as W, a as X,
|
|
2
|
+
import { u as W, a as X, z as J, f as Z, s as x, m as ee, y as te } from "./index-c9jI-RE8.js";
|
|
3
3
|
import { useQuery as ne } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as f, useEffect as N, useMemo as p } from "react";
|
|
5
5
|
import { useTranslation as ae } from "react-i18next";
|
|
@@ -35,17 +35,17 @@ const _e = [
|
|
|
35
35
|
"uploadedBy",
|
|
36
36
|
"action"
|
|
37
37
|
], fe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, R = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], Ne = ({ config: n, encounterUuids: E }) => {
|
|
38
|
-
const [d,
|
|
38
|
+
const [d, M] = l(!1), [r, U] = l(
|
|
39
39
|
null
|
|
40
40
|
), [P, A] = l(
|
|
41
41
|
/* @__PURE__ */ new Set()
|
|
42
42
|
), T = W(), { t: o } = ae(), { addNotification: w } = X(), F = Number(n?.pageSize) || 5, [D, O] = l(1), [m, $] = l(F), [k, C] = l(void 0), b = f((e) => {
|
|
43
|
-
|
|
44
|
-
}, []),
|
|
45
|
-
|
|
43
|
+
U(e), M(!0);
|
|
44
|
+
}, []), z = f(() => {
|
|
45
|
+
M(!1), U(null), A(/* @__PURE__ */ new Set());
|
|
46
46
|
}, []), B = f((e) => {
|
|
47
47
|
A((t) => new Set(t).add(e));
|
|
48
|
-
}, []), { data: u, isLoading:
|
|
48
|
+
}, []), { data: u, isLoading: V, isError: S, error: y } = ne({
|
|
49
49
|
queryKey: [
|
|
50
50
|
"documents",
|
|
51
51
|
T,
|
|
@@ -83,8 +83,8 @@ const _e = [
|
|
|
83
83
|
method: "HEAD",
|
|
84
84
|
signal: e.signal
|
|
85
85
|
})).ok || a.add(i);
|
|
86
|
-
} catch (
|
|
87
|
-
|
|
86
|
+
} catch (L) {
|
|
87
|
+
L instanceof Error && L.name !== "AbortError" && a.add(i);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
e.signal.aborted || A(a);
|
|
@@ -145,7 +145,7 @@ const _e = [
|
|
|
145
145
|
headers: G,
|
|
146
146
|
ariaLabel: o("DOCUMENTS_TABLE_HEADING"),
|
|
147
147
|
rows: q,
|
|
148
|
-
loading:
|
|
148
|
+
loading: V,
|
|
149
149
|
errorStateMessage: S ? y?.message : null,
|
|
150
150
|
sortable: Y,
|
|
151
151
|
emptyStateMessage: o("DOCUMENTS_NO_RECORDS"),
|
|
@@ -164,7 +164,7 @@ const _e = [
|
|
|
164
164
|
id: "modalIdForActionAreaLayout",
|
|
165
165
|
portalId: "main-display-area",
|
|
166
166
|
open: d,
|
|
167
|
-
onRequestClose:
|
|
167
|
+
onRequestClose: z,
|
|
168
168
|
modalHeading: r.documentIdentifier,
|
|
169
169
|
passiveModal: !0,
|
|
170
170
|
size: "lg",
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { jsx as n, jsxs as X, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { R as ee, u as re, b as te, O as oe, S as ae, c as se, d as ne, q as de, $ as C, s as ie, f as me, m as U, e as ce, t as le, y as ue, g as fe } from "./index-c9jI-RE8.js";
|
|
3
3
|
import { useQueryClient as ye, useQuery as f } from "@tanstack/react-query";
|
|
4
|
-
import { useState as
|
|
4
|
+
import { useState as x, useMemo as d, useCallback as y } from "react";
|
|
5
5
|
import { useTranslation as pe } from "react-i18next";
|
|
6
6
|
const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h = {
|
|
7
7
|
formsTableBody: be,
|
|
8
8
|
customAccordianItem: ge
|
|
9
|
-
},
|
|
9
|
+
}, Oe = (m) => m ? m.extension?.find(
|
|
10
10
|
(p) => p.url === ee
|
|
11
|
-
)?.valueString : void 0,
|
|
11
|
+
)?.valueString : void 0, Ie = ({
|
|
12
12
|
episodeOfCareUuids: m,
|
|
13
13
|
encounterUuids: i,
|
|
14
14
|
config: p
|
|
15
15
|
}) => {
|
|
16
|
-
const { t: s } = pe(), c = re(), [l,
|
|
16
|
+
const { t: s } = pe(), c = re(), [l, D] = x(!1), [t, I] = x(null), { numberOfVisits: k, hideThumbnail: P = !1 } = p ?? {}, _ = te(
|
|
17
17
|
m,
|
|
18
18
|
i
|
|
19
|
-
),
|
|
19
|
+
), $ = ye(), {
|
|
20
20
|
data: b = [],
|
|
21
|
-
isLoading:
|
|
22
|
-
isError:
|
|
21
|
+
isLoading: M,
|
|
22
|
+
isError: R,
|
|
23
23
|
error: H,
|
|
24
24
|
refetch: K
|
|
25
25
|
} = f({
|
|
26
26
|
queryKey: ["forms", c, m],
|
|
27
|
-
queryFn: () => oe(c, void 0,
|
|
28
|
-
enabled: !!c && !
|
|
29
|
-
}),
|
|
27
|
+
queryFn: () => oe(c, void 0, k),
|
|
28
|
+
enabled: !!c && !_
|
|
29
|
+
}), v = d(() => !i || i.length === 0 ? b : b.filter(
|
|
30
30
|
(e) => i.includes(e.encounterUuid)
|
|
31
|
-
), [b, i]), { data:
|
|
31
|
+
), [b, i]), { data: A = [] } = f({
|
|
32
32
|
queryKey: ["observationForms"],
|
|
33
33
|
queryFn: () => ae()
|
|
34
|
-
}),
|
|
35
|
-
(e) =>
|
|
36
|
-
[
|
|
34
|
+
}), B = y(
|
|
35
|
+
(e) => A.find((r) => r.name === e)?.uuid,
|
|
36
|
+
[A]
|
|
37
37
|
), g = d(() => {
|
|
38
38
|
if (t)
|
|
39
|
-
return
|
|
40
|
-
}, [t,
|
|
39
|
+
return B(t.formName);
|
|
40
|
+
}, [t, B]), {
|
|
41
41
|
isLoading: j,
|
|
42
42
|
isError: V,
|
|
43
|
-
error:
|
|
43
|
+
error: O
|
|
44
44
|
} = f({
|
|
45
45
|
queryKey: ["formMetadata", g],
|
|
46
46
|
queryFn: () => se(g),
|
|
47
47
|
enabled: !!g && l
|
|
48
48
|
}), {
|
|
49
|
-
data:
|
|
50
|
-
isLoading:
|
|
49
|
+
data: E,
|
|
50
|
+
isLoading: w,
|
|
51
51
|
isError: Q,
|
|
52
|
-
error:
|
|
52
|
+
error: F
|
|
53
53
|
} = f({
|
|
54
54
|
queryKey: ["formsEncounterFHIR", t?.encounterUuid],
|
|
55
55
|
queryFn: () => ne(t.encounterUuid),
|
|
@@ -57,19 +57,19 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
57
57
|
});
|
|
58
58
|
de(
|
|
59
59
|
(e) => {
|
|
60
|
-
e.patientUUID === c && e.updatedConcepts.size > 0 && (K(),
|
|
60
|
+
e.patientUUID === c && e.updatedConcepts.size > 0 && (K(), $.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
|
|
61
61
|
},
|
|
62
62
|
[c]
|
|
63
63
|
);
|
|
64
|
-
const z = d(() => !
|
|
65
|
-
const r =
|
|
64
|
+
const z = d(() => !E?.entry || !t?.formName ? [] : E.entry.filter((a) => a.resource?.resourceType === "Observation").map((a) => a.resource).filter((a) => {
|
|
65
|
+
const r = Oe(a);
|
|
66
66
|
return !r || r.includes(t.formName);
|
|
67
|
-
}), [
|
|
68
|
-
if (
|
|
69
|
-
return C(
|
|
70
|
-
if (
|
|
71
|
-
return C(
|
|
72
|
-
}, [
|
|
67
|
+
}), [E, t?.formName]), G = d(() => {
|
|
68
|
+
if (O)
|
|
69
|
+
return C(O).message;
|
|
70
|
+
if (F)
|
|
71
|
+
return C(F).message;
|
|
72
|
+
}, [O, F]), T = d(
|
|
73
73
|
() => [
|
|
74
74
|
{ key: "recordedOn", header: s("RECORDED_ON") },
|
|
75
75
|
{ key: "recordedBy", header: s("RECORDED_BY") }
|
|
@@ -82,16 +82,16 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
82
82
|
],
|
|
83
83
|
[]
|
|
84
84
|
), L = d(() => {
|
|
85
|
-
const e =
|
|
85
|
+
const e = v.reduce(
|
|
86
86
|
(r, o) => {
|
|
87
87
|
const u = o.formName;
|
|
88
88
|
r[u] ??= [];
|
|
89
|
-
const
|
|
89
|
+
const N = o.providers.map((W) => W.providerName).filter(Boolean).join(", ");
|
|
90
90
|
return r[u].push({
|
|
91
91
|
id: o.encounterUuid,
|
|
92
92
|
formName: o.formName,
|
|
93
93
|
recordedOn: ie(o.encounterDateTime, s, !0).formattedResult,
|
|
94
|
-
recordedBy:
|
|
94
|
+
recordedBy: N ?? "--",
|
|
95
95
|
encounterDateTime: o.encounterDateTime,
|
|
96
96
|
encounterUuid: o.encounterUuid
|
|
97
97
|
}), r;
|
|
@@ -102,14 +102,14 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
102
102
|
([r, o]) => ({
|
|
103
103
|
formName: r,
|
|
104
104
|
records: o.sort(
|
|
105
|
-
(u,
|
|
105
|
+
(u, N) => N.encounterDateTime - u.encounterDateTime
|
|
106
106
|
)
|
|
107
107
|
})
|
|
108
108
|
).sort((r, o) => r.formName.localeCompare(o.formName));
|
|
109
|
-
}, [
|
|
110
|
-
|
|
109
|
+
}, [v, s]), q = y((e) => {
|
|
110
|
+
I(e), D(!0);
|
|
111
111
|
}, []), J = y(() => {
|
|
112
|
-
|
|
112
|
+
D(!1), I(null);
|
|
113
113
|
}, []), S = y(
|
|
114
114
|
(e, a) => {
|
|
115
115
|
switch (a) {
|
|
@@ -124,14 +124,14 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
124
124
|
[q]
|
|
125
125
|
);
|
|
126
126
|
return /* @__PURE__ */ X(Z, { children: [
|
|
127
|
-
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children:
|
|
127
|
+
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: M || R || L.length === 0 || _ ? /* @__PURE__ */ n(
|
|
128
128
|
U,
|
|
129
129
|
{
|
|
130
|
-
headers:
|
|
130
|
+
headers: T,
|
|
131
131
|
ariaLabel: s("FORMS_HEADING"),
|
|
132
132
|
rows: [],
|
|
133
|
-
loading:
|
|
134
|
-
errorStateMessage:
|
|
133
|
+
loading: M,
|
|
134
|
+
errorStateMessage: R ? H?.message : void 0,
|
|
135
135
|
emptyStateMessage: s("FORMS_UNAVAILABLE"),
|
|
136
136
|
renderCell: S,
|
|
137
137
|
className: h.formsTableBody,
|
|
@@ -149,7 +149,7 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
149
149
|
children: /* @__PURE__ */ n(
|
|
150
150
|
U,
|
|
151
151
|
{
|
|
152
|
-
headers:
|
|
152
|
+
headers: T,
|
|
153
153
|
ariaLabel: s("FORMS_HEADING"),
|
|
154
154
|
rows: o,
|
|
155
155
|
loading: !1,
|
|
@@ -181,12 +181,12 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
181
181
|
fe,
|
|
182
182
|
{
|
|
183
183
|
observations: z,
|
|
184
|
-
isLoading: j ||
|
|
184
|
+
isLoading: j || w,
|
|
185
185
|
isError: V || Q,
|
|
186
186
|
errorMessage: G,
|
|
187
187
|
emptyStateMessage: s("NO_FORM_DATA_AVAILABLE"),
|
|
188
188
|
testIdPrefix: t.formName,
|
|
189
|
-
hideThumbnail:
|
|
189
|
+
hideThumbnail: P
|
|
190
190
|
}
|
|
191
191
|
)
|
|
192
192
|
}
|
|
@@ -194,5 +194,5 @@ const be = "_formsTableBody_ourq9_5", ge = "_customAccordianItem_ourq9_10", h =
|
|
|
194
194
|
] });
|
|
195
195
|
};
|
|
196
196
|
export {
|
|
197
|
-
|
|
197
|
+
Ie as default
|
|
198
198
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { h as V, C as D, i as q, j as K, k as Q, x as k, l as G, n as P, u as j, a as H, o as x, p as z, q as Y, r as J, v as W, w as X, A as Z, m as ee } from "./index-c9jI-RE8.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 O } from "react";
|
|
5
5
|
import { useTranslation as U } from "react-i18next";
|
|
6
|
-
const
|
|
7
|
-
const s =
|
|
6
|
+
const A = (t, i, c, d, u, r) => {
|
|
7
|
+
const s = q(t, i, u), o = s.value, a = K(o);
|
|
8
8
|
let n = o;
|
|
9
9
|
a === "Image" && (n = /* @__PURE__ */ l(
|
|
10
|
-
|
|
10
|
+
k,
|
|
11
11
|
{
|
|
12
12
|
imageSrc: o,
|
|
13
13
|
alt: o,
|
|
@@ -44,7 +44,7 @@ const B = (t, i, c, d, u, r) => {
|
|
|
44
44
|
id: `grouped-obs-${t.display}-${d}`,
|
|
45
45
|
open: c,
|
|
46
46
|
children: t.members?.map(
|
|
47
|
-
(o, a) =>
|
|
47
|
+
(o, a) => A(
|
|
48
48
|
o,
|
|
49
49
|
a,
|
|
50
50
|
u,
|
|
@@ -70,7 +70,7 @@ const B = (t, i, c, d, u, r) => {
|
|
|
70
70
|
open: s,
|
|
71
71
|
children: [
|
|
72
72
|
r.observations.map(
|
|
73
|
-
(n, b) =>
|
|
73
|
+
(n, b) => A(
|
|
74
74
|
n,
|
|
75
75
|
b,
|
|
76
76
|
o,
|
|
@@ -114,10 +114,10 @@ const B = (t, i, c, d, u, r) => {
|
|
|
114
114
|
conceptNames: c = [],
|
|
115
115
|
conceptUuid: d = [],
|
|
116
116
|
hideThumbnail: u = !1
|
|
117
|
-
} = i, r = oe(/* @__PURE__ */ new Set()), s = j(), { addNotification: o } =
|
|
117
|
+
} = i, r = oe(/* @__PURE__ */ new Set()), s = j(), { addNotification: o } = H(), { t: a } = U(), n = te({
|
|
118
118
|
queries: c.map((e) => ({
|
|
119
119
|
queryKey: ce(e),
|
|
120
|
-
queryFn: () =>
|
|
120
|
+
queryFn: () => x(e),
|
|
121
121
|
enabled: !!e
|
|
122
122
|
}))
|
|
123
123
|
});
|
|
@@ -140,7 +140,7 @@ const B = (t, i, c, d, u, r) => {
|
|
|
140
140
|
refetch: T
|
|
141
141
|
} = se({
|
|
142
142
|
queryKey: de(s, p),
|
|
143
|
-
queryFn: () =>
|
|
143
|
+
queryFn: () => z(s, p),
|
|
144
144
|
enabled: !!s && p.length > 0 && f
|
|
145
145
|
});
|
|
146
146
|
Y(
|
|
@@ -161,7 +161,7 @@ const B = (t, i, c, d, u, r) => {
|
|
|
161
161
|
if (!m) return [];
|
|
162
162
|
const e = J(m), v = W(e);
|
|
163
163
|
return X(v);
|
|
164
|
-
}, [m]),
|
|
164
|
+
}, [m]), B = [
|
|
165
165
|
{ key: "name", header: "name" },
|
|
166
166
|
{ key: "value", header: "value" },
|
|
167
167
|
{ key: "form", header: "form" }
|
|
@@ -194,7 +194,7 @@ const B = (t, i, c, d, u, r) => {
|
|
|
194
194
|
) : /* @__PURE__ */ l(
|
|
195
195
|
ee,
|
|
196
196
|
{
|
|
197
|
-
headers:
|
|
197
|
+
headers: B,
|
|
198
198
|
rows: [],
|
|
199
199
|
ariaLabel: a("OBSERVATIONS"),
|
|
200
200
|
loading: $,
|
|
@@ -87511,7 +87511,7 @@ const ipt = [
|
|
|
87511
87511
|
},
|
|
87512
87512
|
{
|
|
87513
87513
|
type: "patientDocuments",
|
|
87514
|
-
component: Br(() => import("./DocumentsTable-
|
|
87514
|
+
component: Br(() => import("./DocumentsTable-25Tv9RFh.js"))
|
|
87515
87515
|
},
|
|
87516
87516
|
{
|
|
87517
87517
|
type: "flowSheet",
|
|
@@ -87519,7 +87519,7 @@ const ipt = [
|
|
|
87519
87519
|
},
|
|
87520
87520
|
{
|
|
87521
87521
|
type: "forms",
|
|
87522
|
-
component: Br(() => import("./FormsTable-
|
|
87522
|
+
component: Br(() => import("./FormsTable-DyNaylFb.js"))
|
|
87523
87523
|
},
|
|
87524
87524
|
{
|
|
87525
87525
|
type: "labOrders",
|
|
@@ -87527,7 +87527,7 @@ const ipt = [
|
|
|
87527
87527
|
},
|
|
87528
87528
|
{
|
|
87529
87529
|
type: "observations",
|
|
87530
|
-
component: Br(() => import("./Observations-
|
|
87530
|
+
component: Br(() => import("./Observations-Cv2dOey8.js"))
|
|
87531
87531
|
},
|
|
87532
87532
|
{
|
|
87533
87533
|
type: "ordersControl",
|
|
@@ -87699,34 +87699,34 @@ const a6t = (t) => {
|
|
|
87699
87699
|
) });
|
|
87700
87700
|
};
|
|
87701
87701
|
export {
|
|
87702
|
-
|
|
87703
|
-
|
|
87704
|
-
|
|
87702
|
+
Rr as $,
|
|
87703
|
+
xo as A,
|
|
87704
|
+
ZXe as B,
|
|
87705
87705
|
ypt as C,
|
|
87706
|
-
|
|
87707
|
-
|
|
87708
|
-
|
|
87709
|
-
|
|
87710
|
-
|
|
87711
|
-
|
|
87712
|
-
|
|
87713
|
-
|
|
87706
|
+
e3t as D,
|
|
87707
|
+
z3t as E,
|
|
87708
|
+
o4t as F,
|
|
87709
|
+
u4t as G,
|
|
87710
|
+
Xdt as H,
|
|
87711
|
+
Jme as I,
|
|
87712
|
+
Xpt as J,
|
|
87713
|
+
fht as K,
|
|
87714
87714
|
Tut as L,
|
|
87715
87715
|
X4t as M,
|
|
87716
|
-
|
|
87717
|
-
|
|
87716
|
+
Hht as N,
|
|
87717
|
+
Fpt as O,
|
|
87718
87718
|
qpt as P,
|
|
87719
|
-
|
|
87720
|
-
|
|
87721
|
-
|
|
87722
|
-
|
|
87723
|
-
|
|
87719
|
+
Bht as Q,
|
|
87720
|
+
Zpt as R,
|
|
87721
|
+
Ppt as S,
|
|
87722
|
+
e6t as T,
|
|
87723
|
+
Zct as U,
|
|
87724
87724
|
oht as V,
|
|
87725
|
-
|
|
87726
|
-
|
|
87727
|
-
|
|
87728
|
-
|
|
87729
|
-
|
|
87725
|
+
Wpt as W,
|
|
87726
|
+
Gu as X,
|
|
87727
|
+
Ju as Y,
|
|
87728
|
+
ept as Z,
|
|
87729
|
+
t6t as _,
|
|
87730
87730
|
u1 as a,
|
|
87731
87731
|
tpt as a0,
|
|
87732
87732
|
rpt as a1,
|
|
@@ -87745,29 +87745,29 @@ export {
|
|
|
87745
87745
|
spt as ae,
|
|
87746
87746
|
h6t as af,
|
|
87747
87747
|
p6t as ag,
|
|
87748
|
-
|
|
87749
|
-
|
|
87750
|
-
|
|
87751
|
-
|
|
87748
|
+
ml as b,
|
|
87749
|
+
jpt as c,
|
|
87750
|
+
Bpt as d,
|
|
87751
|
+
Ao as e,
|
|
87752
87752
|
ui as f,
|
|
87753
|
-
|
|
87754
|
-
|
|
87755
|
-
|
|
87756
|
-
|
|
87757
|
-
|
|
87758
|
-
|
|
87753
|
+
Gme as g,
|
|
87754
|
+
Kpt as h,
|
|
87755
|
+
Ypt as i,
|
|
87756
|
+
Ert as j,
|
|
87757
|
+
KQe as k,
|
|
87758
|
+
RXe as l,
|
|
87759
87759
|
cr as m,
|
|
87760
|
-
|
|
87761
|
-
|
|
87762
|
-
|
|
87763
|
-
|
|
87764
|
-
|
|
87765
|
-
|
|
87760
|
+
zXe as n,
|
|
87761
|
+
Ipt as o,
|
|
87762
|
+
kpt as p,
|
|
87763
|
+
X1 as q,
|
|
87764
|
+
Gpt as r,
|
|
87765
|
+
mt as s,
|
|
87766
87766
|
_o as t,
|
|
87767
87767
|
d1 as u,
|
|
87768
|
-
|
|
87769
|
-
|
|
87768
|
+
Jpt as v,
|
|
87769
|
+
Qpt as w,
|
|
87770
87770
|
bXe as x,
|
|
87771
87771
|
r1 as y,
|
|
87772
|
-
|
|
87772
|
+
Upt as z
|
|
87773
87773
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as s, a1 as t,
|
|
1
|
+
import { a3 as s, a1 as t, D as o, a0 as r, E as n, _ as g, F as l, B as c, G as P, K as d, Q as v, L as T, ad as b, af as C, ag as f, M as A, U as m, W as p, g as u, P as I, N as L, T as W, I as R, H as S, J as D, Z as N, V as U, a5 as y, a4 as x, ab as H, aa as h, a7 as E, a8 as G, a9 as M, a6 as O, ac as V, a2 as _, Y as F, ae as k, a as q, u as w, X as z } from "./index-c9jI-RE8.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -12,33 +12,33 @@ export {
|
|
|
12
12
|
P as DiagnosesTable,
|
|
13
13
|
d as GenericServiceRequestTable,
|
|
14
14
|
v as ImmunizationHistory,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
T as LabInvestigation,
|
|
16
|
+
b as LocationContext,
|
|
17
17
|
C as LocationProvider,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
f as LocationSelector,
|
|
19
|
+
A as MedicationsTable,
|
|
20
20
|
m as NotificationProvider,
|
|
21
21
|
p as NotificationServiceComponent,
|
|
22
22
|
u as ObservationsRenderer,
|
|
23
23
|
I as PatientDetails,
|
|
24
24
|
L as PatientProgramsTable,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
W as ProgramDetails,
|
|
26
|
+
R as RadiologyInvestigationReport,
|
|
27
|
+
S as RadiologyInvestigationTable,
|
|
28
28
|
D as SearchPatient,
|
|
29
29
|
N as UserPrivilegeProvider,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
U as VitalFlowSheet,
|
|
31
|
+
y as createConfigHook,
|
|
32
32
|
x as createConfigProvider,
|
|
33
33
|
H as getAllWidgetConfigs,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
h as getAllWidgetTypes,
|
|
35
|
+
E as getWidget,
|
|
36
|
+
G as getWidgetConfig,
|
|
37
|
+
M as hasWidget,
|
|
38
|
+
O as registerWidget,
|
|
39
39
|
V as resetWidgetRegistry,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
_ as useActivePractitioner,
|
|
41
|
+
F as useHasPrivilege,
|
|
42
42
|
k as useLocation,
|
|
43
43
|
q as useNotification,
|
|
44
44
|
w as usePatientUUID,
|