@bahmni/widgets 0.0.1-dev.440 → 0.0.1-dev.441
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-NHzbbew4.js → DocumentsTable-PutYPaUW.js} +9 -9
- package/dist/{FormsTable-CNl7iHqe.js → FormsTable-BB6nfbQF.js} +30 -30
- package/dist/{Observations-BmaMfPUw.js → Observations-Cpjv04eu.js} +27 -27
- package/dist/{index-CzoC3r40.js → index-CEV5WGH8.js} +24 -24
- package/dist/index.js +12 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as T, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { u as W, a as X,
|
|
2
|
+
import { u as W, a as X, U as J, V as Z, F as x, b as ee, c as te } from "./index-CEV5WGH8.js";
|
|
3
3
|
import { useQuery as ne } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as _, useEffect as I, useMemo as p } from "react";
|
|
5
5
|
import { useTranslation as ae } from "react-i18next";
|
|
@@ -35,14 +35,14 @@ const Te = [
|
|
|
35
35
|
"uploadedOn",
|
|
36
36
|
"uploadedBy"
|
|
37
37
|
], _e = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, B = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], Ie = ({ config: n, encounterUuids: f }) => {
|
|
38
|
-
const [d,
|
|
38
|
+
const [d, M] = l(!1), [s, L] = l(
|
|
39
39
|
null
|
|
40
40
|
), [V, A] = l(
|
|
41
41
|
/* @__PURE__ */ new Set()
|
|
42
|
-
), E = W(), { t: o } = ae(), { addNotification: w } = X(),
|
|
43
|
-
|
|
42
|
+
), E = W(), { t: o } = ae(), { addNotification: w } = X(), P = Number(n?.pageSize) || 5, [N, C] = l(1), [u, $] = l(P), [k, O] = l(void 0), v = _((e) => {
|
|
43
|
+
L(e), M(!0);
|
|
44
44
|
}, []), z = _(() => {
|
|
45
|
-
|
|
45
|
+
M(!1), L(null), A(/* @__PURE__ */ new Set());
|
|
46
46
|
}, []), F = _((e) => {
|
|
47
47
|
A((t) => new Set(t).add(e));
|
|
48
48
|
}, []), { data: i, isLoading: H, isError: S, error: b } = ne({
|
|
@@ -83,8 +83,8 @@ const Te = [
|
|
|
83
83
|
method: "HEAD",
|
|
84
84
|
signal: e.signal
|
|
85
85
|
})).ok || a.add(m);
|
|
86
|
-
} catch (
|
|
87
|
-
|
|
86
|
+
} catch (U) {
|
|
87
|
+
U instanceof Error && U.name !== "AbortError" && a.add(m);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
e.signal.aborted || A(a);
|
|
@@ -92,7 +92,7 @@ const Te = [
|
|
|
92
92
|
}, [d, s]);
|
|
93
93
|
const q = _(
|
|
94
94
|
(e, t) => {
|
|
95
|
-
t !== u ? (
|
|
95
|
+
t !== u ? ($(t), C(1), O(void 0)) : C(e);
|
|
96
96
|
},
|
|
97
97
|
[u]
|
|
98
98
|
), D = p(
|
|
@@ -153,7 +153,7 @@ const Te = [
|
|
|
153
153
|
className: c.documentsTableBody,
|
|
154
154
|
dataTestId: "documents-table",
|
|
155
155
|
pageSize: u,
|
|
156
|
-
totalItems:
|
|
156
|
+
totalItems: k,
|
|
157
157
|
page: N,
|
|
158
158
|
onPageChange: q
|
|
159
159
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as P, Fragment as ie } from "react/jsx-runtime";
|
|
2
|
-
import { u as de,
|
|
2
|
+
import { u as de, d as le, e as me, l as ce, p as ue, f as fe, B as be, N as Ne, g as he, h as ye, J as Oe, F as ge, C as q, i as x, V as pe, b as $, r as Te, j as Ee, c as Fe, O as Ie, k as Ae } from "./index-CEV5WGH8.js";
|
|
3
3
|
import { useQueryClient as ve, useQuery as I } from "@tanstack/react-query";
|
|
4
4
|
import { useState as j, useMemo as i, useCallback as d } from "react";
|
|
5
5
|
import { useTranslation as _e } from "react-i18next";
|
|
@@ -7,7 +7,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
7
7
|
formsTableBody: Re,
|
|
8
8
|
modalHeading: De,
|
|
9
9
|
customAccordianItem: Le
|
|
10
|
-
},
|
|
10
|
+
}, Be = "startConsultation", ke = ({
|
|
11
11
|
episodeOfCareUuids: A,
|
|
12
12
|
encounterUuids: m,
|
|
13
13
|
config: G,
|
|
@@ -17,68 +17,68 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
17
17
|
const { t: o } = _e(), c = de(), [O, v] = j(!1), [a, _] = j(null), {
|
|
18
18
|
numberOfVisits: K,
|
|
19
19
|
hideThumbnail: Q = !1,
|
|
20
|
-
forms:
|
|
20
|
+
forms: N
|
|
21
21
|
} = G ?? {}, J = le(
|
|
22
22
|
Ae.EDIT_OBSERVATIONS
|
|
23
|
-
), { userPrivileges:
|
|
23
|
+
), { userPrivileges: h } = me(), g = J && !z && !!b, R = ce(
|
|
24
24
|
A,
|
|
25
25
|
m
|
|
26
26
|
), W = ve(), {
|
|
27
27
|
data: D = [],
|
|
28
28
|
isLoading: L,
|
|
29
|
-
isError:
|
|
29
|
+
isError: B,
|
|
30
30
|
error: Y,
|
|
31
31
|
refetch: X
|
|
32
32
|
} = I({
|
|
33
33
|
queryKey: ["forms", c, A],
|
|
34
34
|
queryFn: () => ue(c, void 0, K),
|
|
35
35
|
enabled: !!c && !R
|
|
36
|
-
}),
|
|
36
|
+
}), C = i(() => {
|
|
37
37
|
let e = D;
|
|
38
38
|
return m && m.length > 0 && (e = e.filter(
|
|
39
39
|
(t) => m.includes(t.encounterUuid)
|
|
40
|
-
)), Array.isArray(
|
|
41
|
-
(t) =>
|
|
40
|
+
)), Array.isArray(N) && N.length > 0 && (e = e.filter(
|
|
41
|
+
(t) => N.some((s) => s.toLowerCase() === t.formName.toLowerCase())
|
|
42
42
|
)), e;
|
|
43
|
-
}, [D, m,
|
|
43
|
+
}, [D, m, N]), { data: S = [] } = I({
|
|
44
44
|
queryKey: ["observationForms"],
|
|
45
45
|
queryFn: () => fe()
|
|
46
46
|
}), M = d(
|
|
47
47
|
(e) => {
|
|
48
|
-
const t =
|
|
48
|
+
const t = S.find(
|
|
49
49
|
(r) => r.name.toLowerCase() === e.toLowerCase()
|
|
50
50
|
);
|
|
51
51
|
if (!t?.privileges || t.privileges.length === 0) return !0;
|
|
52
|
-
if (!
|
|
53
|
-
const s = new Set(
|
|
52
|
+
if (!h || h.length === 0) return !1;
|
|
53
|
+
const s = new Set(h.map((r) => r.name));
|
|
54
54
|
return t.privileges.some(
|
|
55
55
|
(r) => s.has(r.privilegeName) && r.editable
|
|
56
56
|
);
|
|
57
57
|
},
|
|
58
|
-
[
|
|
58
|
+
[S, h]
|
|
59
59
|
), u = d(
|
|
60
60
|
(e) => !b || e.encounterUuid !== b ? !1 : M(e.formName),
|
|
61
61
|
[b, M]
|
|
62
62
|
), {
|
|
63
|
-
data:
|
|
63
|
+
data: p,
|
|
64
64
|
isLoading: Z,
|
|
65
65
|
isError: ee,
|
|
66
|
-
error:
|
|
66
|
+
error: T
|
|
67
67
|
} = I({
|
|
68
68
|
queryKey: ["formsEncounterFHIR", a?.encounterUuid],
|
|
69
69
|
queryFn: () => be(a.encounterUuid),
|
|
70
70
|
enabled: !!a?.encounterUuid && O
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
Ne(
|
|
73
73
|
(e) => {
|
|
74
74
|
e.patientUUID === c && (X(), W.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
|
|
75
75
|
},
|
|
76
76
|
[c]
|
|
77
77
|
);
|
|
78
|
-
const re = i(() => !
|
|
79
|
-
if (
|
|
80
|
-
return Oe(
|
|
81
|
-
}, [
|
|
78
|
+
const re = i(() => !p?.entry || !a?.formName ? [] : p.entry.filter((t) => t.resource?.resourceType === "Observation").map((t) => t.resource).filter((t) => he(t) ? ye(t)?.toLowerCase() === a.formName.toLowerCase() : !0), [p, a?.formName]), te = i(() => {
|
|
79
|
+
if (T)
|
|
80
|
+
return Oe(T).message;
|
|
81
|
+
}, [T]), f = i(
|
|
82
82
|
() => [
|
|
83
83
|
{ key: "recordedOn", header: o("RECORDED_ON") },
|
|
84
84
|
{ key: "recordedBy", header: o("RECORDED_BY") }
|
|
@@ -96,8 +96,8 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
96
96
|
{ key: "recordedBy", sortable: !0 }
|
|
97
97
|
],
|
|
98
98
|
[]
|
|
99
|
-
),
|
|
100
|
-
const e =
|
|
99
|
+
), U = i(() => {
|
|
100
|
+
const e = C.reduce(
|
|
101
101
|
(s, r) => {
|
|
102
102
|
const l = r.formName;
|
|
103
103
|
s[l] ??= [];
|
|
@@ -121,13 +121,13 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
121
121
|
)
|
|
122
122
|
})
|
|
123
123
|
).sort((s, r) => s.formName.localeCompare(r.formName));
|
|
124
|
-
}, [
|
|
124
|
+
}, [C, o]), k = d((e) => {
|
|
125
125
|
_(e), v(!0);
|
|
126
126
|
}, []), H = d(() => {
|
|
127
127
|
v(!1), _(null);
|
|
128
128
|
}, []), E = d((e) => {
|
|
129
129
|
globalThis.dispatchEvent(
|
|
130
|
-
new CustomEvent(
|
|
130
|
+
new CustomEvent(Be, {
|
|
131
131
|
detail: {
|
|
132
132
|
editOnly: "observationForms",
|
|
133
133
|
editTitle: "EDIT_OBSERVATION_FORM_TITLE",
|
|
@@ -141,7 +141,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
141
141
|
(e, t) => {
|
|
142
142
|
switch (t) {
|
|
143
143
|
case "recordedOn":
|
|
144
|
-
return /* @__PURE__ */ n(
|
|
144
|
+
return /* @__PURE__ */ n(pe, { onClick: () => k(e), children: e.recordedOn });
|
|
145
145
|
case "recordedBy":
|
|
146
146
|
return e.recordedBy;
|
|
147
147
|
case "actions":
|
|
@@ -160,23 +160,23 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
160
160
|
return null;
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
-
[
|
|
163
|
+
[k, E, u, o]
|
|
164
164
|
);
|
|
165
165
|
return /* @__PURE__ */ P(ie, { children: [
|
|
166
|
-
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: L ||
|
|
166
|
+
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: L || B || U.length === 0 || R ? /* @__PURE__ */ n(
|
|
167
167
|
$,
|
|
168
168
|
{
|
|
169
169
|
headers: oe,
|
|
170
170
|
ariaLabel: o("FORMS_HEADING"),
|
|
171
171
|
rows: [],
|
|
172
172
|
loading: L,
|
|
173
|
-
errorStateMessage:
|
|
173
|
+
errorStateMessage: B ? Y?.message : void 0,
|
|
174
174
|
emptyStateMessage: o("FORMS_UNAVAILABLE"),
|
|
175
175
|
renderCell: V,
|
|
176
176
|
className: y.formsTableBody,
|
|
177
177
|
dataTestId: "forms-table"
|
|
178
178
|
}
|
|
179
|
-
) : /* @__PURE__ */ n(
|
|
179
|
+
) : /* @__PURE__ */ n(Te, { align: "start", children: U.map((e, t) => {
|
|
180
180
|
const { formName: s, records: r } = e, l = se(r);
|
|
181
181
|
return /* @__PURE__ */ n(
|
|
182
182
|
Ee,
|
|
@@ -249,5 +249,5 @@ const Re = "FormsTable-module_formsTableBody__SvGha", De = "FormsTable-module_mo
|
|
|
249
249
|
] });
|
|
250
250
|
};
|
|
251
251
|
export {
|
|
252
|
-
|
|
252
|
+
ke as default
|
|
253
253
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { m as z,
|
|
2
|
+
import { m as z, D as C, t as G, n as j, F as H, o as P, T as x, R as J, S as Y, u as W, a as X, z as Z, l as ee, q as se, s as te, N as re, v as ae, w as oe, x as ne, y as ie, A as ce, b as le } from "./index-CEV5WGH8.js";
|
|
3
3
|
import { useQueries as de, useQuery as ue } from "@tanstack/react-query";
|
|
4
|
-
import { useRef as pe, useEffect as
|
|
5
|
-
import { useTranslation as
|
|
4
|
+
import { useRef as pe, useEffect as F, useMemo as I } from "react";
|
|
5
|
+
import { useTranslation as V } from "react-i18next";
|
|
6
6
|
const be = "Observations-module_observations__RKSyo", me = "Observations-module_title__TJL3z", ve = "Observations-module_wrapper__muk2L", ye = "Observations-module_secondary__14nuS", y = {
|
|
7
7
|
observations: be,
|
|
8
8
|
title: me,
|
|
9
9
|
wrapper: ve,
|
|
10
10
|
secondary: ye
|
|
11
|
-
},
|
|
12
|
-
const a = G(t, l, u), e = a.value, p =
|
|
11
|
+
}, w = (t, l, n, c, u, r) => {
|
|
12
|
+
const a = G(t, l, u), e = a.value, p = j(e);
|
|
13
13
|
let o = e;
|
|
14
14
|
p === "Image" && (o = /* @__PURE__ */ i(
|
|
15
15
|
x,
|
|
@@ -32,12 +32,12 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
32
32
|
a.header.referenceRange && /* @__PURE__ */ i("span", { className: y.secondary, children: a.header.referenceRange })
|
|
33
33
|
] }), d = u("OBSERVATIONS_RECORDED_BY", {
|
|
34
34
|
provider: a.provider
|
|
35
|
-
}), m = t.effectiveDateTime ?
|
|
35
|
+
}), m = t.effectiveDateTime ? H(t.effectiveDateTime, u, !0).formattedResult : void 0, _ = /* @__PURE__ */ N("div", { className: y.wrapper, children: [
|
|
36
36
|
/* @__PURE__ */ i("span", { children: d }),
|
|
37
37
|
m && /* @__PURE__ */ i("span", { className: y.secondary, children: m })
|
|
38
38
|
] }), v = t.display, T = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", O = c ? `${c}-${T}-${v}-${n}-${l}` : `${T}-${v}-${n}-${l}`;
|
|
39
39
|
return /* @__PURE__ */ i(
|
|
40
|
-
|
|
40
|
+
P,
|
|
41
41
|
{
|
|
42
42
|
header: b,
|
|
43
43
|
value: o,
|
|
@@ -49,13 +49,13 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
49
49
|
`obs-${t.id}`
|
|
50
50
|
);
|
|
51
51
|
}, fe = (t, l, n, c, u, r, a) => /* @__PURE__ */ i(
|
|
52
|
-
|
|
52
|
+
C,
|
|
53
53
|
{
|
|
54
54
|
title: t.display,
|
|
55
55
|
id: `grouped-obs-${t.display}-${c}`,
|
|
56
56
|
open: n,
|
|
57
57
|
children: t.members?.map(
|
|
58
|
-
(e, p) =>
|
|
58
|
+
(e, p) => w(
|
|
59
59
|
e,
|
|
60
60
|
p,
|
|
61
61
|
u,
|
|
@@ -71,17 +71,17 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
71
71
|
title: l = "",
|
|
72
72
|
hideThumbnail: n
|
|
73
73
|
}) => {
|
|
74
|
-
const { t: c } =
|
|
74
|
+
const { t: c } = V(), u = (r, a, e) => {
|
|
75
75
|
const p = z(r.encounterDetails, c);
|
|
76
76
|
return /* @__PURE__ */ N(
|
|
77
|
-
|
|
77
|
+
C,
|
|
78
78
|
{
|
|
79
79
|
title: p,
|
|
80
80
|
id: `encounter-${r.encounterId}`,
|
|
81
81
|
open: a,
|
|
82
82
|
children: [
|
|
83
83
|
r.observations.map(
|
|
84
|
-
(o, b) =>
|
|
84
|
+
(o, b) => w(
|
|
85
85
|
o,
|
|
86
86
|
b,
|
|
87
87
|
e,
|
|
@@ -133,15 +133,15 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
133
133
|
conceptUuid: r = [],
|
|
134
134
|
hideThumbnail: a = !1,
|
|
135
135
|
scope: e = "all"
|
|
136
|
-
} = c, p = pe(/* @__PURE__ */ new Set()), o = W(), { addNotification: b } = X(), { t: d } =
|
|
136
|
+
} = c, p = pe(/* @__PURE__ */ new Set()), o = W(), { addNotification: b } = X(), { t: d } = V(), m = de({
|
|
137
137
|
queries: u.map((s) => ({
|
|
138
138
|
queryKey: he(s),
|
|
139
139
|
queryFn: () => Z(s),
|
|
140
140
|
enabled: !!s
|
|
141
141
|
}))
|
|
142
142
|
});
|
|
143
|
-
|
|
144
|
-
const s = m.some((
|
|
143
|
+
F(() => {
|
|
144
|
+
const s = m.some((D) => D.isError), R = p.current.size > 0;
|
|
145
145
|
s && !R ? (b({
|
|
146
146
|
title: d("ERROR_DEFAULT_TITLE"),
|
|
147
147
|
message: d("ERROR_FETCHING_OBSERVATIONS"),
|
|
@@ -153,9 +153,9 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
153
153
|
n
|
|
154
154
|
), {
|
|
155
155
|
data: h,
|
|
156
|
-
isLoading:
|
|
156
|
+
isLoading: U,
|
|
157
157
|
isError: S,
|
|
158
|
-
refetch:
|
|
158
|
+
refetch: $
|
|
159
159
|
} = ue({
|
|
160
160
|
queryKey: Ee(
|
|
161
161
|
o,
|
|
@@ -177,11 +177,11 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
177
177
|
re(
|
|
178
178
|
(s) => {
|
|
179
179
|
s.patientUUID === o && s.updatedConcepts.size > 0 && [...s.updatedConcepts.keys()].some(
|
|
180
|
-
(
|
|
181
|
-
) &&
|
|
180
|
+
(D) => v.includes(D)
|
|
181
|
+
) && $();
|
|
182
182
|
},
|
|
183
|
-
[o,
|
|
184
|
-
),
|
|
183
|
+
[o, $]
|
|
184
|
+
), F(() => {
|
|
185
185
|
S && b({
|
|
186
186
|
title: d("ERROR_DEFAULT_TITLE"),
|
|
187
187
|
message: d("ERROR_FETCHING_OBSERVATIONS"),
|
|
@@ -194,11 +194,11 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
194
194
|
e === "latest-encounter" && (s = oe(s));
|
|
195
195
|
const R = ne(s);
|
|
196
196
|
return ie(R);
|
|
197
|
-
}, [h, e]),
|
|
197
|
+
}, [h, e]), K = [
|
|
198
198
|
{ key: "name", header: "name" },
|
|
199
199
|
{ key: "value", header: "value" },
|
|
200
200
|
{ key: "form", header: "form" }
|
|
201
|
-
], L =
|
|
201
|
+
], L = U || !f, B = S && f, M = (!h || h.entry?.length === 0 || v.length === 0) && f, q = B ? d("ERROR_FETCHING_OBSERVATIONS") : null, Q = M ? d("NO_OBSERVATIONS_FOUND") : void 0, k = A.length > 0 && !L && !B, g = c.titleTranslationKey, E = g ? d(g) : "";
|
|
202
202
|
return /* @__PURE__ */ N(
|
|
203
203
|
"div",
|
|
204
204
|
{
|
|
@@ -217,7 +217,7 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
217
217
|
children: /* @__PURE__ */ i("p", { children: E })
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
|
|
220
|
+
k ? /* @__PURE__ */ i(
|
|
221
221
|
Oe,
|
|
222
222
|
{
|
|
223
223
|
groupedData: A,
|
|
@@ -227,12 +227,12 @@ const be = "Observations-module_observations__RKSyo", me = "Observations-module_
|
|
|
227
227
|
) : /* @__PURE__ */ i(
|
|
228
228
|
le,
|
|
229
229
|
{
|
|
230
|
-
headers:
|
|
230
|
+
headers: K,
|
|
231
231
|
rows: [],
|
|
232
232
|
ariaLabel: d("OBSERVATIONS"),
|
|
233
233
|
loading: L,
|
|
234
|
-
errorStateMessage:
|
|
235
|
-
emptyStateMessage:
|
|
234
|
+
errorStateMessage: q,
|
|
235
|
+
emptyStateMessage: Q ?? d("NO_OBSERVATIONS_AVAILABLE"),
|
|
236
236
|
dataTestId: "observations-table"
|
|
237
237
|
}
|
|
238
238
|
)
|
|
@@ -115519,7 +115519,7 @@ const Rr1 = [
|
|
|
115519
115519
|
},
|
|
115520
115520
|
{
|
|
115521
115521
|
type: "patientDocuments",
|
|
115522
|
-
component: e0(() => import("./DocumentsTable-
|
|
115522
|
+
component: e0(() => import("./DocumentsTable-PutYPaUW.js"))
|
|
115523
115523
|
},
|
|
115524
115524
|
{
|
|
115525
115525
|
type: "flowSheet",
|
|
@@ -115527,7 +115527,7 @@ const Rr1 = [
|
|
|
115527
115527
|
},
|
|
115528
115528
|
{
|
|
115529
115529
|
type: "forms",
|
|
115530
|
-
component: e0(() => import("./FormsTable-
|
|
115530
|
+
component: e0(() => import("./FormsTable-BB6nfbQF.js"))
|
|
115531
115531
|
},
|
|
115532
115532
|
{
|
|
115533
115533
|
type: "labOrders",
|
|
@@ -115535,7 +115535,7 @@ const Rr1 = [
|
|
|
115535
115535
|
},
|
|
115536
115536
|
{
|
|
115537
115537
|
type: "observations",
|
|
115538
|
-
component: e0(() => import("./Observations-
|
|
115538
|
+
component: e0(() => import("./Observations-Cpjv04eu.js"))
|
|
115539
115539
|
},
|
|
115540
115540
|
{
|
|
115541
115541
|
type: "ordersControl",
|
|
@@ -116004,26 +116004,26 @@ const TPe = o.createContext(void 0), Jr1 = () => {
|
|
|
116004
116004
|
export {
|
|
116005
116005
|
ZJt as $,
|
|
116006
116006
|
fi as A,
|
|
116007
|
-
|
|
116007
|
+
STt as B,
|
|
116008
116008
|
L2 as C,
|
|
116009
|
-
|
|
116009
|
+
yn1 as D,
|
|
116010
116010
|
BMt as E,
|
|
116011
|
-
|
|
116011
|
+
ht as F,
|
|
116012
116012
|
jn1 as G,
|
|
116013
116013
|
qn1 as H,
|
|
116014
116014
|
sUt as I,
|
|
116015
116015
|
R1 as J,
|
|
116016
116016
|
$Ut as K,
|
|
116017
116017
|
dWt as L,
|
|
116018
|
-
|
|
116019
|
-
|
|
116018
|
+
PWt as M,
|
|
116019
|
+
wr as N,
|
|
116020
116020
|
bp as O,
|
|
116021
116021
|
Gn1 as P,
|
|
116022
|
-
|
|
116022
|
+
KWt as Q,
|
|
116023
116023
|
UIe as R,
|
|
116024
|
-
|
|
116024
|
+
jIe as S,
|
|
116025
116025
|
FIe as T,
|
|
116026
|
-
|
|
116026
|
+
Fn1 as U,
|
|
116027
116027
|
sr as V,
|
|
116028
116028
|
QGt as W,
|
|
116029
116029
|
JWt as X,
|
|
@@ -116075,21 +116075,21 @@ export {
|
|
|
116075
116075
|
Zr1 as ay,
|
|
116076
116076
|
TPe as az,
|
|
116077
116077
|
$1 as b,
|
|
116078
|
-
|
|
116079
|
-
|
|
116080
|
-
|
|
116081
|
-
|
|
116082
|
-
|
|
116083
|
-
|
|
116084
|
-
|
|
116078
|
+
a0 as c,
|
|
116079
|
+
vp as d,
|
|
116080
|
+
kr as e,
|
|
116081
|
+
uke as f,
|
|
116082
|
+
ABe as g,
|
|
116083
|
+
gKt as h,
|
|
116084
|
+
Nc as i,
|
|
116085
116085
|
qo as j,
|
|
116086
|
-
|
|
116087
|
-
|
|
116086
|
+
a21 as k,
|
|
116087
|
+
Hi as l,
|
|
116088
116088
|
Kn1 as m,
|
|
116089
|
-
|
|
116090
|
-
|
|
116091
|
-
|
|
116092
|
-
|
|
116089
|
+
J9e as n,
|
|
116090
|
+
Jyt as o,
|
|
116091
|
+
Pn1 as p,
|
|
116092
|
+
Bn1 as q,
|
|
116093
116093
|
Wo as r,
|
|
116094
116094
|
kn1 as s,
|
|
116095
116095
|
Yn1 as t,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as o, ag as r, K as n, af as
|
|
1
|
+
import { ai as o, ag as r, K as n, af as g, aD as c, L as l, X as d, k as P, a7 as m, ao as v, M as T, E as u, Q as C, G as A, H as p, a1 as S, a4 as b, _ as L, az as D, aB as I, aC as N, aF as h, W as U, aE as W, a9 as f, aa as E, O, P as R, a3 as _, a5 as y, Z as x, Y as G, $ as F, a2 as M, ax as k, aw as H, ae as V, a6 as K, a0 as q, an as w, ak as z, aj as B, aG as Y, h as j, au as Q, at as X, am as Z, aq as $, ar as J, as as aa, al as ea, ap as sa, I as ta, av as ia, ah as oa, a8 as ra, ab as na, ad as ga, d as ca, aA as la, a as da, ac as Pa, u as ma, ay as va, e as Ta } from "./index-CEV5WGH8.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "@tanstack/react-query";
|
|
@@ -6,8 +6,8 @@ export {
|
|
|
6
6
|
o as ActivePractitionerContext,
|
|
7
7
|
r as ActivePractitionerProvider,
|
|
8
8
|
n as AllergiesTable,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
g as AppContextProvider,
|
|
10
|
+
c as AppTile,
|
|
11
11
|
l as AppointmentsTable,
|
|
12
12
|
d as CANCEL_VACCINATION_INPUT_CONTROL_KEY,
|
|
13
13
|
P as CONSULTATION_PAD_PRIVILEGES,
|
|
@@ -24,9 +24,9 @@ export {
|
|
|
24
24
|
D as LocationContext,
|
|
25
25
|
I as LocationProvider,
|
|
26
26
|
N as LocationSelector,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
h as MODULE_TILES_SKELETON_COUNT,
|
|
28
|
+
U as MedicationsTable,
|
|
29
|
+
W as ModuleTileGrid,
|
|
30
30
|
f as NotificationProvider,
|
|
31
31
|
E as NotificationServiceComponent,
|
|
32
32
|
O as ObservationsRenderer,
|
|
@@ -36,10 +36,10 @@ export {
|
|
|
36
36
|
x as RadiologyInvestigationReport,
|
|
37
37
|
G as RadiologyInvestigationTable,
|
|
38
38
|
F as SearchPatient,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
M as TaskList,
|
|
40
|
+
k as UserActionProvider,
|
|
41
|
+
H as UserGlobalAction,
|
|
42
|
+
V as UserPrivilegeProvider,
|
|
43
43
|
K as VisitsTable,
|
|
44
44
|
q as VitalFlowSheet,
|
|
45
45
|
w as clearSearchWidgetRegistry,
|
|
@@ -60,8 +60,8 @@ export {
|
|
|
60
60
|
oa as useActivePractitioner,
|
|
61
61
|
ra as useCommandPalette,
|
|
62
62
|
na as useDebounce,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
ga as useFormSchemaData,
|
|
64
|
+
ca as useHasPrivilege,
|
|
65
65
|
la as useLocation,
|
|
66
66
|
da as useNotification,
|
|
67
67
|
Pa as usePatientPhoto,
|