@bahmni/widgets 0.0.1-dev.314 → 0.0.1-dev.315
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-CQX3VBx9.js → DocumentsTable-eqNPIVdU.js} +10 -10
- package/dist/{FormsTable-CTCi2T2q.js → FormsTable-BNmDNczP.js} +95 -95
- package/dist/{Observations-CkBi-I0o.js → Observations-BStzZ886.js} +28 -28
- package/dist/{index-CvF-qMtP.js → index-CuwGq3LN.js} +100 -100
- package/dist/index.js +15 -15
- 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 Z,
|
|
2
|
+
import { u as W, a as Z, R as X, Z as J, N as x, j as ee, P as te } from "./index-CuwGq3LN.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";
|
|
@@ -37,20 +37,20 @@ const Te = [
|
|
|
37
37
|
], _e = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, P = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], Ie = ({ config: n, encounterUuids: E }) => {
|
|
38
38
|
const [d, L] = l(!1), [s, U] = l(
|
|
39
39
|
null
|
|
40
|
-
), [F,
|
|
40
|
+
), [F, N] = l(
|
|
41
41
|
/* @__PURE__ */ new Set()
|
|
42
|
-
), f = W(), { t: o } = ae(), { addNotification: w } = Z(),
|
|
42
|
+
), f = W(), { t: o } = ae(), { addNotification: w } = Z(), V = Number(n?.pageSize) || 5, [A, C] = l(1), [u, $] = l(V), [k, O] = l(void 0), v = _((e) => {
|
|
43
43
|
U(e), L(!0);
|
|
44
44
|
}, []), H = _(() => {
|
|
45
|
-
L(!1), U(null),
|
|
45
|
+
L(!1), U(null), N(/* @__PURE__ */ new Set());
|
|
46
46
|
}, []), R = _((e) => {
|
|
47
|
-
|
|
47
|
+
N((t) => new Set(t).add(e));
|
|
48
48
|
}, []), { data: i, isLoading: z, isError: S, error: y } = ne({
|
|
49
49
|
queryKey: [
|
|
50
50
|
"documents",
|
|
51
51
|
f,
|
|
52
52
|
E,
|
|
53
|
-
|
|
53
|
+
A,
|
|
54
54
|
u
|
|
55
55
|
],
|
|
56
56
|
enabled: !!f,
|
|
@@ -58,7 +58,7 @@ const Te = [
|
|
|
58
58
|
f,
|
|
59
59
|
E,
|
|
60
60
|
u,
|
|
61
|
-
|
|
61
|
+
A
|
|
62
62
|
)
|
|
63
63
|
});
|
|
64
64
|
I(() => {
|
|
@@ -87,12 +87,12 @@ const Te = [
|
|
|
87
87
|
M instanceof Error && M.name !== "AbortError" && a.add(m);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
e.signal.aborted ||
|
|
90
|
+
e.signal.aborted || N(a);
|
|
91
91
|
})(), () => e.abort();
|
|
92
92
|
}, [d, s]);
|
|
93
93
|
const j = _(
|
|
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(
|
|
@@ -154,7 +154,7 @@ const Te = [
|
|
|
154
154
|
dataTestId: "documents-table",
|
|
155
155
|
pageSize: u,
|
|
156
156
|
totalItems: k,
|
|
157
|
-
page:
|
|
157
|
+
page: A,
|
|
158
158
|
onPageChange: j
|
|
159
159
|
}
|
|
160
160
|
) }),
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import { useQueryClient as ge, useQuery as
|
|
4
|
-
import { useState as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
const
|
|
7
|
-
formsTableBody:
|
|
8
|
-
customAccordianItem:
|
|
9
|
-
},
|
|
1
|
+
import { jsx as i, jsxs as oe, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import { b as se, u as ae, B as ne, o as de, n as ie, s as ce, c as le, E as me, q as j, N as ue, Z as fe, j as k, T as ye, d as be, P as pe, O as he } from "./index-CuwGq3LN.js";
|
|
3
|
+
import { useQueryClient as ge, useQuery as p } from "@tanstack/react-query";
|
|
4
|
+
import { useState as x, useMemo as d, useCallback as h } from "react";
|
|
5
|
+
import { useTranslation as Ne } from "react-i18next";
|
|
6
|
+
const Ee = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_customAccordianItem__isszs", v = {
|
|
7
|
+
formsTableBody: Ee,
|
|
8
|
+
customAccordianItem: Fe
|
|
9
|
+
}, Oe = (m) => m ? m.extension?.find(
|
|
10
10
|
(g) => g.url === se
|
|
11
|
-
)?.valueString : void 0,
|
|
11
|
+
)?.valueString : void 0, De = ({
|
|
12
12
|
episodeOfCareUuids: m,
|
|
13
13
|
encounterUuids: c,
|
|
14
14
|
config: g
|
|
15
15
|
}) => {
|
|
16
|
-
const { t: n } =
|
|
16
|
+
const { t: n } = Ne(), u = ae(), [y, M] = x(!1), [a, I] = x(null), {
|
|
17
17
|
numberOfVisits: P,
|
|
18
|
-
hideThumbnail:
|
|
19
|
-
forms:
|
|
18
|
+
hideThumbnail: H = !1,
|
|
19
|
+
forms: b
|
|
20
20
|
} = g ?? {}, A = ne(
|
|
21
21
|
m,
|
|
22
22
|
c
|
|
23
23
|
), w = ge(), {
|
|
24
|
-
data:
|
|
25
|
-
isLoading:
|
|
26
|
-
isError:
|
|
27
|
-
error:
|
|
28
|
-
refetch:
|
|
29
|
-
} =
|
|
24
|
+
data: B = [],
|
|
25
|
+
isLoading: D,
|
|
26
|
+
isError: T,
|
|
27
|
+
error: K,
|
|
28
|
+
refetch: V
|
|
29
|
+
} = p({
|
|
30
30
|
queryKey: ["forms", u, m],
|
|
31
31
|
queryFn: () => de(u, void 0, P),
|
|
32
32
|
enabled: !!u && !A
|
|
33
|
-
}),
|
|
34
|
-
let e =
|
|
33
|
+
}), _ = d(() => {
|
|
34
|
+
let e = B;
|
|
35
35
|
return c && c.length > 0 && (e = e.filter(
|
|
36
|
-
(
|
|
37
|
-
)), Array.isArray(
|
|
38
|
-
(
|
|
36
|
+
(o) => c.includes(o.encounterUuid)
|
|
37
|
+
)), Array.isArray(b) && b.length > 0 && (e = e.filter(
|
|
38
|
+
(o) => b.some((r) => r.toLowerCase() === o.formName.toLowerCase())
|
|
39
39
|
)), e;
|
|
40
|
-
}, [
|
|
40
|
+
}, [B, c, b]), { data: L = [] } = p({
|
|
41
41
|
queryKey: ["observationForms"],
|
|
42
42
|
queryFn: () => ie()
|
|
43
|
-
}),
|
|
44
|
-
(e) =>
|
|
45
|
-
[
|
|
46
|
-
),
|
|
43
|
+
}), R = h(
|
|
44
|
+
(e) => L.find((r) => r.name === e)?.uuid,
|
|
45
|
+
[L]
|
|
46
|
+
), N = d(() => {
|
|
47
47
|
if (a)
|
|
48
|
-
return
|
|
49
|
-
}, [a,
|
|
48
|
+
return R(a.formName);
|
|
49
|
+
}, [a, R]), {
|
|
50
50
|
data: l,
|
|
51
|
-
isLoading:
|
|
51
|
+
isLoading: $,
|
|
52
52
|
isError: z,
|
|
53
|
-
error:
|
|
54
|
-
} =
|
|
55
|
-
queryKey: ["formMetadata",
|
|
56
|
-
queryFn: () => ce(
|
|
57
|
-
enabled: !!
|
|
53
|
+
error: E
|
|
54
|
+
} = p({
|
|
55
|
+
queryKey: ["formMetadata", N],
|
|
56
|
+
queryFn: () => ce(N),
|
|
57
|
+
enabled: !!N && y
|
|
58
58
|
}), {
|
|
59
|
-
data:
|
|
59
|
+
data: F,
|
|
60
60
|
isLoading: G,
|
|
61
61
|
isError: Q,
|
|
62
|
-
error:
|
|
63
|
-
} =
|
|
62
|
+
error: O
|
|
63
|
+
} = p({
|
|
64
64
|
queryKey: ["formsEncounterFHIR", a?.encounterUuid],
|
|
65
65
|
queryFn: () => le(a.encounterUuid),
|
|
66
66
|
enabled: !!a?.encounterUuid && y
|
|
67
67
|
});
|
|
68
68
|
me(
|
|
69
69
|
(e) => {
|
|
70
|
-
e.patientUUID === u && e.updatedConcepts.size > 0 && (
|
|
70
|
+
e.patientUUID === u && e.updatedConcepts.size > 0 && (V(), w.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
|
|
71
71
|
},
|
|
72
72
|
[u]
|
|
73
73
|
);
|
|
74
|
-
const
|
|
75
|
-
const r =
|
|
74
|
+
const Z = d(() => !F?.entry || !a?.formName ? [] : F.entry.filter((o) => o.resource?.resourceType === "Observation").map((o) => o.resource).filter((o) => {
|
|
75
|
+
const r = Oe(o);
|
|
76
76
|
return !r || r.includes(a.formName);
|
|
77
|
-
}), [
|
|
77
|
+
}), [F, a?.formName]), Y = d(() => {
|
|
78
78
|
if (!l?.schema) return;
|
|
79
|
-
const e = [],
|
|
80
|
-
(r ?? []).forEach((
|
|
81
|
-
const s =
|
|
82
|
-
s.id != null && e.push(String(s.id)), s.controls &&
|
|
79
|
+
const e = [], o = (r) => {
|
|
80
|
+
(r ?? []).forEach((t) => {
|
|
81
|
+
const s = t;
|
|
82
|
+
s.id != null && e.push(String(s.id)), s.controls && o(s.controls);
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
|
-
return
|
|
85
|
+
return o(
|
|
86
86
|
l.schema.controls ?? []
|
|
87
87
|
), e.length > 0 ? e : void 0;
|
|
88
|
-
}, [l]),
|
|
88
|
+
}, [l]), J = d(() => {
|
|
89
89
|
if (!l?.schema) return;
|
|
90
|
-
const e = {},
|
|
90
|
+
const e = {}, o = (r, t) => {
|
|
91
91
|
for (const s of r)
|
|
92
92
|
if (s.type === "section") {
|
|
93
93
|
const f = s.label?.value ?? "Section";
|
|
94
|
-
|
|
94
|
+
o(s.controls ?? [], f);
|
|
95
95
|
} else
|
|
96
|
-
s.id != null &&
|
|
96
|
+
s.id != null && t && (e[String(s.id)] = t), s.controls && o(s.controls, t);
|
|
97
97
|
};
|
|
98
|
-
return
|
|
98
|
+
return o(
|
|
99
99
|
l.schema.controls ?? [],
|
|
100
100
|
null
|
|
101
101
|
), Object.keys(e).length > 0 ? e : void 0;
|
|
102
|
-
}, [l]),
|
|
103
|
-
if (N)
|
|
104
|
-
return k(N).message;
|
|
102
|
+
}, [l]), W = d(() => {
|
|
105
103
|
if (E)
|
|
106
|
-
return
|
|
107
|
-
|
|
104
|
+
return j(E).message;
|
|
105
|
+
if (O)
|
|
106
|
+
return j(O).message;
|
|
107
|
+
}, [E, O]), C = d(
|
|
108
108
|
() => [
|
|
109
109
|
{ key: "recordedOn", header: n("RECORDED_ON") },
|
|
110
110
|
{ key: "recordedBy", header: n("RECORDED_BY") }
|
|
111
111
|
],
|
|
112
112
|
[n]
|
|
113
|
-
),
|
|
113
|
+
), X = d(
|
|
114
114
|
() => [
|
|
115
115
|
{ key: "recordedOn", sortable: !0 },
|
|
116
116
|
{ key: "recordedBy", sortable: !0 }
|
|
117
117
|
],
|
|
118
118
|
[]
|
|
119
119
|
), S = d(() => {
|
|
120
|
-
const e =
|
|
121
|
-
(r,
|
|
122
|
-
const s =
|
|
120
|
+
const e = _.reduce(
|
|
121
|
+
(r, t) => {
|
|
122
|
+
const s = t.formName;
|
|
123
123
|
r[s] ??= [];
|
|
124
|
-
const f =
|
|
124
|
+
const f = t.providers.map((re) => re.providerName).filter(Boolean).join(", ");
|
|
125
125
|
return r[s].push({
|
|
126
|
-
id:
|
|
127
|
-
formName:
|
|
128
|
-
recordedOn: ue(
|
|
126
|
+
id: t.encounterUuid,
|
|
127
|
+
formName: t.formName,
|
|
128
|
+
recordedOn: ue(t.encounterDateTime, n, !0).formattedResult,
|
|
129
129
|
recordedBy: f ?? "--",
|
|
130
|
-
encounterDateTime:
|
|
131
|
-
encounterUuid:
|
|
130
|
+
encounterDateTime: t.encounterDateTime,
|
|
131
|
+
encounterUuid: t.encounterUuid
|
|
132
132
|
}), r;
|
|
133
133
|
},
|
|
134
134
|
{}
|
|
135
135
|
);
|
|
136
136
|
return Object.entries(e).map(
|
|
137
|
-
([r,
|
|
137
|
+
([r, t]) => ({
|
|
138
138
|
formName: r,
|
|
139
|
-
records:
|
|
139
|
+
records: t.sort(
|
|
140
140
|
(s, f) => f.encounterDateTime - s.encounterDateTime
|
|
141
141
|
)
|
|
142
142
|
})
|
|
143
|
-
).sort((r,
|
|
144
|
-
}, [
|
|
143
|
+
).sort((r, t) => r.formName.localeCompare(t.formName));
|
|
144
|
+
}, [_, n]), q = h((e) => {
|
|
145
145
|
I(e), M(!0);
|
|
146
146
|
}, []), ee = h(() => {
|
|
147
147
|
M(!1), I(null);
|
|
148
148
|
}, []), U = h(
|
|
149
|
-
(e,
|
|
150
|
-
switch (
|
|
149
|
+
(e, o) => {
|
|
150
|
+
switch (o) {
|
|
151
151
|
case "recordedOn":
|
|
152
152
|
return /* @__PURE__ */ i(fe, { onClick: () => q(e), children: e.recordedOn });
|
|
153
153
|
case "recordedBy":
|
|
@@ -158,38 +158,38 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
158
158
|
},
|
|
159
159
|
[q]
|
|
160
160
|
);
|
|
161
|
-
return /* @__PURE__ */ te
|
|
162
|
-
/* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children:
|
|
163
|
-
|
|
161
|
+
return /* @__PURE__ */ oe(te, { children: [
|
|
162
|
+
/* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children: D || T || S.length === 0 || A ? /* @__PURE__ */ i(
|
|
163
|
+
k,
|
|
164
164
|
{
|
|
165
165
|
headers: C,
|
|
166
166
|
ariaLabel: n("FORMS_HEADING"),
|
|
167
167
|
rows: [],
|
|
168
|
-
loading:
|
|
169
|
-
errorStateMessage:
|
|
168
|
+
loading: D,
|
|
169
|
+
errorStateMessage: T ? K?.message : void 0,
|
|
170
170
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
171
171
|
renderCell: U,
|
|
172
172
|
className: v.formsTableBody,
|
|
173
173
|
dataTestId: "forms-table"
|
|
174
174
|
}
|
|
175
|
-
) : /* @__PURE__ */ i(ye, { align: "start", children: S.map((e,
|
|
176
|
-
const { formName: r, records:
|
|
175
|
+
) : /* @__PURE__ */ i(ye, { align: "start", children: S.map((e, o) => {
|
|
176
|
+
const { formName: r, records: t } = e;
|
|
177
177
|
return /* @__PURE__ */ i(
|
|
178
|
-
|
|
178
|
+
be,
|
|
179
179
|
{
|
|
180
180
|
title: r,
|
|
181
181
|
className: v.customAccordianItem,
|
|
182
182
|
testId: `accordian-title-${r}`,
|
|
183
|
-
open:
|
|
183
|
+
open: o === 0,
|
|
184
184
|
children: /* @__PURE__ */ i(
|
|
185
|
-
|
|
185
|
+
k,
|
|
186
186
|
{
|
|
187
187
|
headers: C,
|
|
188
188
|
ariaLabel: n("FORMS_HEADING"),
|
|
189
|
-
rows:
|
|
189
|
+
rows: t,
|
|
190
190
|
loading: !1,
|
|
191
191
|
errorStateMessage: "",
|
|
192
|
-
sortable:
|
|
192
|
+
sortable: X,
|
|
193
193
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
194
194
|
renderCell: U,
|
|
195
195
|
className: v.formsTableBody,
|
|
@@ -201,7 +201,7 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
201
201
|
);
|
|
202
202
|
}) }) }),
|
|
203
203
|
y && a && /* @__PURE__ */ i(
|
|
204
|
-
|
|
204
|
+
pe,
|
|
205
205
|
{
|
|
206
206
|
id: "modalIdForActionAreaLayout",
|
|
207
207
|
portalId: "main-display-area",
|
|
@@ -215,15 +215,15 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
215
215
|
children: /* @__PURE__ */ i(
|
|
216
216
|
he,
|
|
217
217
|
{
|
|
218
|
-
observations:
|
|
219
|
-
isLoading:
|
|
218
|
+
observations: Z,
|
|
219
|
+
isLoading: $ || G,
|
|
220
220
|
isError: z || Q,
|
|
221
|
-
errorMessage:
|
|
221
|
+
errorMessage: W,
|
|
222
222
|
emptyStateMessage: n("NO_FORM_DATA_AVAILABLE"),
|
|
223
223
|
testIdPrefix: a.formName,
|
|
224
|
-
hideThumbnail:
|
|
225
|
-
controlOrder:
|
|
226
|
-
sectionMap:
|
|
224
|
+
hideThumbnail: H,
|
|
225
|
+
controlOrder: Y,
|
|
226
|
+
sectionMap: J
|
|
227
227
|
}
|
|
228
228
|
)
|
|
229
229
|
}
|
|
@@ -231,5 +231,5 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
231
231
|
] });
|
|
232
232
|
};
|
|
233
233
|
export {
|
|
234
|
-
|
|
234
|
+
De as default
|
|
235
235
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as d, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { f as
|
|
2
|
+
import { f as H, J as D, t as K, $ as V, F as w, X as j, e as k, Q as q, u as G, a as P, g as J, x as z, E as X, h as Y, i as x, k as W, l as Z, j as ee } from "./index-CuwGq3LN.js";
|
|
3
3
|
import { useQueries as te, useQuery as se } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as oe, useEffect as S, useMemo as g } from "react";
|
|
5
5
|
import { useTranslation as U } from "react-i18next";
|
|
6
6
|
const F = (t, i, c, l, u, r) => {
|
|
7
|
-
const s =
|
|
7
|
+
const s = K(t, i, u), o = s.value, a = V(o);
|
|
8
8
|
let n = o;
|
|
9
9
|
a === "Image" && (n = /* @__PURE__ */ d(
|
|
10
|
-
|
|
10
|
+
j,
|
|
11
11
|
{
|
|
12
12
|
imageSrc: o,
|
|
13
13
|
alt: o,
|
|
@@ -15,7 +15,7 @@ const F = (t, i, c, l, u, r) => {
|
|
|
15
15
|
hideThumbnail: r
|
|
16
16
|
}
|
|
17
17
|
)), a === "Video" && (n = /* @__PURE__ */ d(
|
|
18
|
-
|
|
18
|
+
k,
|
|
19
19
|
{
|
|
20
20
|
id: `${o}-video`,
|
|
21
21
|
videoSrc: o,
|
|
@@ -24,16 +24,16 @@ const F = (t, i, c, l, u, r) => {
|
|
|
24
24
|
)), a === "PDF" && (n = /* @__PURE__ */ d(q, { id: `${o}-pdf`, src: o }));
|
|
25
25
|
const b = u("OBSERVATIONS_RECORDED_BY", {
|
|
26
26
|
provider: s.provider
|
|
27
|
-
}), p = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs",
|
|
27
|
+
}), p = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", E = l ? `${l}-${m}-${p}-${c}-${i}` : `${m}-${p}-${c}-${i}`;
|
|
28
28
|
return /* @__PURE__ */ d(
|
|
29
|
-
|
|
29
|
+
w,
|
|
30
30
|
{
|
|
31
31
|
header: s.header,
|
|
32
32
|
value: n,
|
|
33
33
|
info: b,
|
|
34
|
-
id:
|
|
35
|
-
testId:
|
|
36
|
-
ariaLabel:
|
|
34
|
+
id: E,
|
|
35
|
+
testId: E,
|
|
36
|
+
ariaLabel: E
|
|
37
37
|
},
|
|
38
38
|
`obs-${t.id}`
|
|
39
39
|
);
|
|
@@ -61,7 +61,7 @@ const F = (t, i, c, l, u, r) => {
|
|
|
61
61
|
hideThumbnail: c
|
|
62
62
|
}) => {
|
|
63
63
|
const { t: l } = U(), u = (r, s, o) => {
|
|
64
|
-
const a =
|
|
64
|
+
const a = H(r.encounterDetails, l);
|
|
65
65
|
return /* @__PURE__ */ N(
|
|
66
66
|
D,
|
|
67
67
|
{
|
|
@@ -135,7 +135,7 @@ const F = (t, i, c, l, u, r) => {
|
|
|
135
135
|
}, [n, c]);
|
|
136
136
|
const b = g(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = g(() => [.../* @__PURE__ */ new Set([...b, ...l])], [b, l]), f = g(() => c.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, c.length]), {
|
|
137
137
|
data: m,
|
|
138
|
-
isLoading:
|
|
138
|
+
isLoading: E,
|
|
139
139
|
isError: h,
|
|
140
140
|
refetch: T
|
|
141
141
|
} = se({
|
|
@@ -157,49 +157,49 @@ const F = (t, i, c, l, u, r) => {
|
|
|
157
157
|
type: "error"
|
|
158
158
|
});
|
|
159
159
|
}, [h]);
|
|
160
|
-
const
|
|
160
|
+
const $ = g(() => {
|
|
161
161
|
if (!m) return [];
|
|
162
|
-
const e = Y(m), v =
|
|
163
|
-
return
|
|
164
|
-
}, [m]),
|
|
162
|
+
const e = Y(m), v = x(e);
|
|
163
|
+
return W(v);
|
|
164
|
+
}, [m]), B = [
|
|
165
165
|
{ key: "name", header: "name" },
|
|
166
166
|
{ key: "value", header: "value" },
|
|
167
167
|
{ key: "form", header: "form" }
|
|
168
|
-
],
|
|
168
|
+
], _ = E || !f, I = h && f, A = (!m || m.entry?.length === 0 || p.length === 0) && f, L = I ? a("ERROR_FETCHING_OBSERVATIONS") : null, M = A ? a("NO_OBSERVATIONS_FOUND") : void 0, Q = $.length > 0 && !_ && !I, O = i.titleTranslationKey, y = O ? a(O) : "";
|
|
169
169
|
return /* @__PURE__ */ N(
|
|
170
170
|
"div",
|
|
171
171
|
{
|
|
172
172
|
id: "observations",
|
|
173
|
-
"data-testid": O ? `observations-${
|
|
173
|
+
"data-testid": O ? `observations-${y}` : "observations",
|
|
174
174
|
"aria-label": "observations-aria-label",
|
|
175
175
|
className: C.observations,
|
|
176
176
|
children: [
|
|
177
177
|
/* @__PURE__ */ d(
|
|
178
|
-
|
|
178
|
+
Z,
|
|
179
179
|
{
|
|
180
180
|
id: "observations-title",
|
|
181
|
-
testId: O ? `observations-title-${
|
|
182
|
-
title:
|
|
181
|
+
testId: O ? `observations-title-${y}` : "observations-title",
|
|
182
|
+
title: y,
|
|
183
183
|
className: C.title,
|
|
184
|
-
children: /* @__PURE__ */ d("p", { children:
|
|
184
|
+
children: /* @__PURE__ */ d("p", { children: y })
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
|
|
187
|
+
Q ? /* @__PURE__ */ d(
|
|
188
188
|
ae,
|
|
189
189
|
{
|
|
190
|
-
groupedData:
|
|
191
|
-
title:
|
|
190
|
+
groupedData: $,
|
|
191
|
+
title: y,
|
|
192
192
|
hideThumbnail: u
|
|
193
193
|
}
|
|
194
194
|
) : /* @__PURE__ */ d(
|
|
195
195
|
ee,
|
|
196
196
|
{
|
|
197
|
-
headers:
|
|
197
|
+
headers: B,
|
|
198
198
|
rows: [],
|
|
199
199
|
ariaLabel: a("OBSERVATIONS"),
|
|
200
|
-
loading:
|
|
201
|
-
errorStateMessage:
|
|
202
|
-
emptyStateMessage:
|
|
200
|
+
loading: _,
|
|
201
|
+
errorStateMessage: L,
|
|
202
|
+
emptyStateMessage: M,
|
|
203
203
|
dataTestId: "observations-table"
|
|
204
204
|
}
|
|
205
205
|
)
|
|
@@ -57654,7 +57654,7 @@ const lve = {
|
|
|
57654
57654
|
}
|
|
57655
57655
|
}
|
|
57656
57656
|
};
|
|
57657
|
-
|
|
57657
|
+
class d3 {
|
|
57658
57658
|
/** Formats a number value as a string, according to the locale and options provided to the constructor. */
|
|
57659
57659
|
format(e) {
|
|
57660
57660
|
let r = "";
|
|
@@ -57714,7 +57714,7 @@ let d3 = class {
|
|
|
57714
57714
|
constructor(e, r = {}) {
|
|
57715
57715
|
this.numberFormatter = o0t(e, r), this.options = r;
|
|
57716
57716
|
}
|
|
57717
|
-
}
|
|
57717
|
+
}
|
|
57718
57718
|
function o0t(t, e = {}) {
|
|
57719
57719
|
let { numberingSystem: r } = e;
|
|
57720
57720
|
if (r && t.includes("-nu-") && (t.includes("-u-") || (t += "-u-"), t += `-nu-${r}`), e.style === "unit" && !Ks) {
|
|
@@ -68227,7 +68227,7 @@ const mlt = ({
|
|
|
68227
68227
|
container: glt,
|
|
68228
68228
|
accordion: wlt,
|
|
68229
68229
|
rows: vlt
|
|
68230
|
-
},
|
|
68230
|
+
}, EMt = ({
|
|
68231
68231
|
title: t,
|
|
68232
68232
|
rows: e,
|
|
68233
68233
|
children: r,
|
|
@@ -70663,23 +70663,23 @@ er.getAdapter = cye.getAdapter;
|
|
|
70663
70663
|
er.HttpStatusCode = B3;
|
|
70664
70664
|
er.default = er;
|
|
70665
70665
|
const {
|
|
70666
|
-
Axios:
|
|
70667
|
-
AxiosError:
|
|
70668
|
-
CanceledError:
|
|
70669
|
-
isCancel:
|
|
70670
|
-
CancelToken:
|
|
70671
|
-
VERSION:
|
|
70672
|
-
all:
|
|
70673
|
-
Cancel:
|
|
70674
|
-
isAxiosError:
|
|
70675
|
-
spread:
|
|
70676
|
-
toFormData:
|
|
70677
|
-
AxiosHeaders:
|
|
70678
|
-
HttpStatusCode:
|
|
70679
|
-
formToJSON:
|
|
70680
|
-
getAdapter:
|
|
70681
|
-
mergeConfig:
|
|
70682
|
-
create:
|
|
70666
|
+
Axios: VMt,
|
|
70667
|
+
AxiosError: bMt,
|
|
70668
|
+
CanceledError: HMt,
|
|
70669
|
+
isCancel: MMt,
|
|
70670
|
+
CancelToken: xMt,
|
|
70671
|
+
VERSION: NMt,
|
|
70672
|
+
all: AMt,
|
|
70673
|
+
Cancel: zMt,
|
|
70674
|
+
isAxiosError: _Mt,
|
|
70675
|
+
spread: CMt,
|
|
70676
|
+
toFormData: TMt,
|
|
70677
|
+
AxiosHeaders: OMt,
|
|
70678
|
+
HttpStatusCode: RMt,
|
|
70679
|
+
formToJSON: LMt,
|
|
70680
|
+
getAdapter: DMt,
|
|
70681
|
+
mergeConfig: SMt,
|
|
70682
|
+
create: IMt
|
|
70683
70683
|
} = er, Cdt = (t) => typeof t == "object" && t !== null && "resourceType" in t && t.resourceType === "OperationOutcome", Tdt = (t) => {
|
|
70684
70684
|
if (!t.issue || !Array.isArray(t.issue))
|
|
70685
70685
|
return null;
|
|
@@ -74165,7 +74165,7 @@ const x4t = () => {
|
|
|
74165
74165
|
}
|
|
74166
74166
|
};
|
|
74167
74167
|
}, Wo = x4t(), N4t = (t) => `${mr}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(t)}`, A4t = "SHORT", z4t = "FULLY_SPECIFIED";
|
|
74168
|
-
async function
|
|
74168
|
+
async function $Mt(t) {
|
|
74169
74169
|
const e = N4t(t), r = await Tt(e);
|
|
74170
74170
|
return !r.results || r.results.length === 0 ? null : r.results[0];
|
|
74171
74171
|
}
|
|
@@ -74240,7 +74240,7 @@ function L4t(t) {
|
|
|
74240
74240
|
hasBeenValidated: !1
|
|
74241
74241
|
};
|
|
74242
74242
|
}
|
|
74243
|
-
const D4t = "problem-list-item", S4t = "encounter-diagnosis", I4t = "http://terminology.hl7.org/CodeSystem/condition-clinical", $4t = "http://fhir.bahmni.org/ext/lab-order-concept-type",
|
|
74243
|
+
const D4t = "problem-list-item", S4t = "encounter-diagnosis", I4t = "http://terminology.hl7.org/CodeSystem/condition-clinical", $4t = "http://fhir.bahmni.org/ext/lab-order-concept-type", kMt = "http://fhir.bahmni.org/ext/observation/form-namespace-path", k4t = Mr + "/Condition", Z4t = (t, e = 10, r = 0, n) => {
|
|
74244
74244
|
const a = Mr + `/Condition?category=${D4t}&patient=${t}&_count=${e}&_getpagesoffset=${r}&_sort=-_lastUpdated`;
|
|
74245
74245
|
return n ? `${a}&clinical-status=${n}` : a;
|
|
74246
74246
|
};
|
|
@@ -79089,7 +79089,7 @@ const Cpt = (t) => mr + `/form/${t}?v=custom:(resources:(value))`, Tpt = (t) =>
|
|
|
79089
79089
|
const r = e.join(",");
|
|
79090
79090
|
return `${Mr}/Observation?patient=${t}&code=${r}&_include=Observation:has-member&_include=Observation:encounter&_sort=-_lastUpdated`;
|
|
79091
79091
|
};
|
|
79092
|
-
async function
|
|
79092
|
+
async function ZMt(t, e) {
|
|
79093
79093
|
const r = Lpt(t, e);
|
|
79094
79094
|
return await Tt(r);
|
|
79095
79095
|
}
|
|
@@ -79101,7 +79101,7 @@ async function Spt(t) {
|
|
|
79101
79101
|
return !e.results || e.results.length === 0 ? null : e.results[0];
|
|
79102
79102
|
}
|
|
79103
79103
|
const Ipt = (t) => `${Mr}/Observation/$fetch-all?encounter=${t}`;
|
|
79104
|
-
async function
|
|
79104
|
+
async function PMt(t) {
|
|
79105
79105
|
return await Tt(
|
|
79106
79106
|
Ipt(t)
|
|
79107
79107
|
);
|
|
@@ -79152,12 +79152,12 @@ const xa = (t, e) => t?.length === 0 ? !1 : e?.length === 0, $pt = async () => {
|
|
|
79152
79152
|
editable: n.editable
|
|
79153
79153
|
}))
|
|
79154
79154
|
};
|
|
79155
|
-
},
|
|
79155
|
+
}, BMt = async (t) => {
|
|
79156
79156
|
const e = await kpt(), r = Ep();
|
|
79157
79157
|
return e.map(
|
|
79158
79158
|
(n) => Ppt(n, r)
|
|
79159
79159
|
);
|
|
79160
|
-
},
|
|
79160
|
+
}, FMt = async (t) => {
|
|
79161
79161
|
const e = await fetch(Cpt(t));
|
|
79162
79162
|
if (!e.ok)
|
|
79163
79163
|
throw new Error(
|
|
@@ -79191,7 +79191,7 @@ const xa = (t, e) => t?.length === 0 ? !1 : e?.length === 0, $pt = async () => {
|
|
|
79191
79191
|
schema: n,
|
|
79192
79192
|
translations: d
|
|
79193
79193
|
};
|
|
79194
|
-
},
|
|
79194
|
+
}, jMt = async (t, e, r) => {
|
|
79195
79195
|
const n = Rpt(t, r), a = await Tt(n);
|
|
79196
79196
|
return Array.isArray(a) ? a : [];
|
|
79197
79197
|
}, Bpt = mr + "/bahmnicore/diseaseSummaryData?", Fpt = async (t, e, r, n) => {
|
|
@@ -79287,7 +79287,7 @@ function Ypt(t) {
|
|
|
79287
79287
|
};
|
|
79288
79288
|
});
|
|
79289
79289
|
}
|
|
79290
|
-
async function
|
|
79290
|
+
async function UMt(t, e, r = 10, n = 1) {
|
|
79291
79291
|
const a = (n - 1) * r, i = Gpt(
|
|
79292
79292
|
t,
|
|
79293
79293
|
e,
|
|
@@ -79387,7 +79387,7 @@ async function u5t(t) {
|
|
|
79387
79387
|
const l = setTimeout(s, a5t);
|
|
79388
79388
|
a.focus(), a.print();
|
|
79389
79389
|
}
|
|
79390
|
-
const
|
|
79390
|
+
const qMt = ({
|
|
79391
79391
|
printOptions: t,
|
|
79392
79392
|
renderContext: e,
|
|
79393
79393
|
renderData: r,
|
|
@@ -86979,7 +86979,7 @@ function Gmt(t, e) {
|
|
|
86979
86979
|
ageDetails: Kmt(t.birthDate, e)
|
|
86980
86980
|
};
|
|
86981
86981
|
}
|
|
86982
|
-
const
|
|
86982
|
+
const WMt = () => {
|
|
86983
86983
|
const { t } = yt(), e = n1(), r = Zc($mt), {
|
|
86984
86984
|
data: n,
|
|
86985
86985
|
isLoading: a,
|
|
@@ -87052,7 +87052,7 @@ const KMt = () => {
|
|
|
87052
87052
|
"useNotification must be used within a NotificationProvider"
|
|
87053
87053
|
);
|
|
87054
87054
|
return t;
|
|
87055
|
-
},
|
|
87055
|
+
}, KMt = () => {
|
|
87056
87056
|
const { addNotification: t } = o1();
|
|
87057
87057
|
return de(() => {
|
|
87058
87058
|
Wo.register((e) => {
|
|
@@ -90163,7 +90163,7 @@ function Twt(t) {
|
|
|
90163
90163
|
a.push(l);
|
|
90164
90164
|
}), a;
|
|
90165
90165
|
}
|
|
90166
|
-
const
|
|
90166
|
+
const GMt = (t, e) => t?.date ? gt(t.date, e).formattedResult : e("DATE_ERROR_PARSE"), Gp = (t, e) => {
|
|
90167
90167
|
if (t.observationValue?.value == null)
|
|
90168
90168
|
return "";
|
|
90169
90169
|
const { value: r, unit: n, type: a } = t.observationValue;
|
|
@@ -90195,7 +90195,7 @@ const YMt = (t, e) => t?.date ? gt(t.date, e).formattedResult : e("DATE_ERROR_PA
|
|
|
90195
90195
|
return `${e} (<${s})`;
|
|
90196
90196
|
}
|
|
90197
90197
|
return e;
|
|
90198
|
-
},
|
|
90198
|
+
}, YMt = (t, e, r) => ({
|
|
90199
90199
|
index: e,
|
|
90200
90200
|
header: Owt(t),
|
|
90201
90201
|
value: Gp(t, r),
|
|
@@ -90229,7 +90229,7 @@ function QVe(t, e, r) {
|
|
|
90229
90229
|
// conceptId is required to group the multiselect obs
|
|
90230
90230
|
};
|
|
90231
90231
|
}
|
|
90232
|
-
function
|
|
90232
|
+
function JMt(t) {
|
|
90233
90233
|
const e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set();
|
|
90234
90234
|
t.entry?.forEach(({ resource: s }) => {
|
|
90235
90235
|
s?.id && (s.resourceType === "Encounter" ? e.set(s.id, s) : s.resourceType === "Observation" && (r.set(s.id, s), s.hasMember?.forEach((l) => {
|
|
@@ -90248,7 +90248,7 @@ function XMt(t) {
|
|
|
90248
90248
|
c.members ? i.push(c) : a.push(c);
|
|
90249
90249
|
}), { observations: a, groupedObservations: i };
|
|
90250
90250
|
}
|
|
90251
|
-
function
|
|
90251
|
+
function XMt(t) {
|
|
90252
90252
|
const e = /* @__PURE__ */ new Map();
|
|
90253
90253
|
return t.observations.forEach((r) => {
|
|
90254
90254
|
if (!r.encounter?.id) return;
|
|
@@ -90274,7 +90274,7 @@ function QMt(t) {
|
|
|
90274
90274
|
};
|
|
90275
90275
|
});
|
|
90276
90276
|
}
|
|
90277
|
-
function
|
|
90277
|
+
function QMt(t) {
|
|
90278
90278
|
return [...t].sort((e, r) => {
|
|
90279
90279
|
const n = e.encounterDetails?.date, a = r.encounterDetails?.date;
|
|
90280
90280
|
return !n && !a ? 0 : n ? a ? new Date(a).getTime() - new Date(n).getTime() : -1 : 1;
|
|
@@ -91884,7 +91884,7 @@ const uEt = "SearchPatient-module_searchPatientContainer__uqWDm", hEt = "SearchP
|
|
|
91884
91884
|
advanceInputWrapper: gEt,
|
|
91885
91885
|
errorMessage: wEt,
|
|
91886
91886
|
searchTypeDropdown: vEt
|
|
91887
|
-
},
|
|
91887
|
+
}, ext = ({
|
|
91888
91888
|
buttonTitle: t,
|
|
91889
91889
|
searchBarPlaceholder: e,
|
|
91890
91890
|
patientSearch: r,
|
|
@@ -93350,7 +93350,7 @@ function Pyt(t, e) {
|
|
|
93350
93350
|
const Byt = (t) => ["programs", t], Fyt = async (t, e) => {
|
|
93351
93351
|
const r = await Wpt(t);
|
|
93352
93352
|
return Pyt(r, e);
|
|
93353
|
-
},
|
|
93353
|
+
}, txt = ({
|
|
93354
93354
|
programUUID: t,
|
|
93355
93355
|
config: e
|
|
93356
93356
|
}) => {
|
|
@@ -94800,7 +94800,7 @@ _bt.displayName = kbe;
|
|
|
94800
94800
|
function e5(t) {
|
|
94801
94801
|
return t ? "open" : "closed";
|
|
94802
94802
|
}
|
|
94803
|
-
var Zbe = "DialogTitleWarning", [
|
|
94803
|
+
var Zbe = "DialogTitleWarning", [rxt, Pbe] = Qyt(Zbe, {
|
|
94804
94804
|
contentName: Z0,
|
|
94805
94805
|
titleName: Qp,
|
|
94806
94806
|
docsSlug: "dialog"
|
|
@@ -95759,7 +95759,7 @@ const QHt = ({
|
|
|
95759
95759
|
return /* @__PURE__ */ $(IVe.Provider, { value: l, children: t });
|
|
95760
95760
|
};
|
|
95761
95761
|
QHt.displayName = "UserPrivilegeProvider";
|
|
95762
|
-
const
|
|
95762
|
+
const nxt = {
|
|
95763
95763
|
ENCOUNTER: ["Add Encounters"],
|
|
95764
95764
|
ALLERGIES: ["Add Allergies"],
|
|
95765
95765
|
EDIT_ALLERGIES: ["Edit Allergies"],
|
|
@@ -95819,7 +95819,7 @@ const Ybe = Hr(void 0), tMt = ({ children: t }) => {
|
|
|
95819
95819
|
return /* @__PURE__ */ $(Ybe.Provider, { value: u, children: t });
|
|
95820
95820
|
};
|
|
95821
95821
|
tMt.displayName = "ActivePractitionerProvider";
|
|
95822
|
-
const
|
|
95822
|
+
const oxt = () => {
|
|
95823
95823
|
const t = dt(Ybe);
|
|
95824
95824
|
if (t === void 0)
|
|
95825
95825
|
throw new Error(
|
|
@@ -95831,7 +95831,7 @@ const axt = () => {
|
|
|
95831
95831
|
errorStateTitle: nMt,
|
|
95832
95832
|
errorStateBody: oMt
|
|
95833
95833
|
};
|
|
95834
|
-
function
|
|
95834
|
+
function axt(t) {
|
|
95835
95835
|
const {
|
|
95836
95836
|
context: e,
|
|
95837
95837
|
queryKey: r,
|
|
@@ -95895,7 +95895,7 @@ function ixt(t) {
|
|
|
95895
95895
|
};
|
|
95896
95896
|
return c.displayName = l, c;
|
|
95897
95897
|
}
|
|
95898
|
-
function
|
|
95898
|
+
function ixt(t, e, r) {
|
|
95899
95899
|
return () => {
|
|
95900
95900
|
const n = dt(t);
|
|
95901
95901
|
if (!n)
|
|
@@ -95922,7 +95922,7 @@ const aMt = [
|
|
|
95922
95922
|
},
|
|
95923
95923
|
{
|
|
95924
95924
|
type: "patientDocuments",
|
|
95925
|
-
component: Ir(() => import("./DocumentsTable-
|
|
95925
|
+
component: Ir(() => import("./DocumentsTable-eqNPIVdU.js"))
|
|
95926
95926
|
},
|
|
95927
95927
|
{
|
|
95928
95928
|
type: "flowSheet",
|
|
@@ -95930,7 +95930,7 @@ const aMt = [
|
|
|
95930
95930
|
},
|
|
95931
95931
|
{
|
|
95932
95932
|
type: "forms",
|
|
95933
|
-
component: Ir(() => import("./FormsTable-
|
|
95933
|
+
component: Ir(() => import("./FormsTable-BNmDNczP.js"))
|
|
95934
95934
|
},
|
|
95935
95935
|
{
|
|
95936
95936
|
type: "labOrders",
|
|
@@ -95938,7 +95938,7 @@ const aMt = [
|
|
|
95938
95938
|
},
|
|
95939
95939
|
{
|
|
95940
95940
|
type: "observations",
|
|
95941
|
-
component: Ir(() => import("./Observations-
|
|
95941
|
+
component: Ir(() => import("./Observations-BStzZ886.js"))
|
|
95942
95942
|
},
|
|
95943
95943
|
{
|
|
95944
95944
|
type: "ordersControl",
|
|
@@ -96012,16 +96012,16 @@ class N1 {
|
|
|
96012
96012
|
this.registry.clear(), this.registerBuiltInWidgets();
|
|
96013
96013
|
}
|
|
96014
96014
|
}
|
|
96015
|
-
const
|
|
96015
|
+
const sxt = (t) => {
|
|
96016
96016
|
N1.getInstance().register(t);
|
|
96017
|
-
},
|
|
96017
|
+
}, lxt = (t) => N1.getInstance().get(t), cxt = (t) => N1.getInstance().getConfig(t), dxt = (t) => N1.getInstance().has(t), uxt = () => N1.getInstance().getAll(), hxt = () => N1.getInstance().getAllConfigs(), pxt = () => {
|
|
96018
96018
|
N1.getInstance().reset();
|
|
96019
96019
|
}, Jbe = o.createContext(void 0), iMt = () => {
|
|
96020
96020
|
const t = o.useContext(Jbe);
|
|
96021
96021
|
if (!t)
|
|
96022
96022
|
throw new Error("useLocation must be used within LocationProvider");
|
|
96023
96023
|
return t;
|
|
96024
|
-
},
|
|
96024
|
+
}, fxt = ({
|
|
96025
96025
|
children: t
|
|
96026
96026
|
}) => {
|
|
96027
96027
|
const [e, r] = ce(null), [n, a] = ce(
|
|
@@ -96086,7 +96086,7 @@ const lxt = (t) => {
|
|
|
96086
96086
|
skeleton: lMt,
|
|
96087
96087
|
error: cMt,
|
|
96088
96088
|
noLocation: dMt
|
|
96089
|
-
},
|
|
96089
|
+
}, mxt = () => {
|
|
96090
96090
|
const { t } = yt(), { location: e, setLocation: r, availableLocations: n, loading: a, error: i } = iMt(), s = (c) => {
|
|
96091
96091
|
!c || c.uuid === e?.uuid || r(c);
|
|
96092
96092
|
};
|
|
@@ -96114,81 +96114,81 @@ const lxt = (t) => {
|
|
|
96114
96114
|
) });
|
|
96115
96115
|
};
|
|
96116
96116
|
export {
|
|
96117
|
-
|
|
96117
|
+
xhe as $,
|
|
96118
96118
|
p7t as A,
|
|
96119
|
-
|
|
96119
|
+
xa as B,
|
|
96120
96120
|
Blt as C,
|
|
96121
|
-
|
|
96122
|
-
|
|
96123
|
-
|
|
96121
|
+
qMt as D,
|
|
96122
|
+
hn as E,
|
|
96123
|
+
tit as F,
|
|
96124
96124
|
oyt as G,
|
|
96125
|
-
|
|
96126
|
-
|
|
96127
|
-
|
|
96128
|
-
|
|
96129
|
-
|
|
96130
|
-
|
|
96131
|
-
|
|
96125
|
+
hyt as H,
|
|
96126
|
+
Tyt as I,
|
|
96127
|
+
EMt as J,
|
|
96128
|
+
txt as K,
|
|
96129
|
+
aEt as L,
|
|
96130
|
+
vwt as M,
|
|
96131
|
+
gt as N,
|
|
96132
96132
|
ebe as O,
|
|
96133
96133
|
h1 as P,
|
|
96134
96134
|
_lt as Q,
|
|
96135
|
-
|
|
96136
|
-
|
|
96135
|
+
UMt as R,
|
|
96136
|
+
ext as S,
|
|
96137
96137
|
wa as T,
|
|
96138
96138
|
XHt as U,
|
|
96139
96139
|
OEt as V,
|
|
96140
96140
|
UHt as W,
|
|
96141
|
-
|
|
96141
|
+
xlt as X,
|
|
96142
96142
|
Ymt as Y,
|
|
96143
96143
|
us as Z,
|
|
96144
|
-
|
|
96144
|
+
KMt as _,
|
|
96145
96145
|
o1 as a,
|
|
96146
96146
|
qHt as a0,
|
|
96147
96147
|
kc as a1,
|
|
96148
96148
|
Zc as a2,
|
|
96149
96149
|
QHt as a3,
|
|
96150
|
-
|
|
96150
|
+
nxt as a4,
|
|
96151
96151
|
$mt as a5,
|
|
96152
96152
|
eMt as a6,
|
|
96153
96153
|
tMt as a7,
|
|
96154
|
-
|
|
96154
|
+
oxt as a8,
|
|
96155
96155
|
Ybe as a9,
|
|
96156
|
-
|
|
96157
|
-
|
|
96158
|
-
|
|
96159
|
-
|
|
96160
|
-
|
|
96161
|
-
|
|
96162
|
-
|
|
96163
|
-
|
|
96164
|
-
|
|
96156
|
+
axt as aa,
|
|
96157
|
+
ixt as ab,
|
|
96158
|
+
sxt as ac,
|
|
96159
|
+
lxt as ad,
|
|
96160
|
+
cxt as ae,
|
|
96161
|
+
dxt as af,
|
|
96162
|
+
uxt as ag,
|
|
96163
|
+
hxt as ah,
|
|
96164
|
+
pxt as ai,
|
|
96165
96165
|
Jbe as aj,
|
|
96166
96166
|
iMt as ak,
|
|
96167
|
-
|
|
96168
|
-
|
|
96169
|
-
|
|
96170
|
-
|
|
96171
|
-
|
|
96167
|
+
fxt as al,
|
|
96168
|
+
mxt as am,
|
|
96169
|
+
kMt as b,
|
|
96170
|
+
PMt as c,
|
|
96171
|
+
va as d,
|
|
96172
96172
|
Ilt as e,
|
|
96173
|
-
|
|
96174
|
-
|
|
96175
|
-
|
|
96176
|
-
|
|
96173
|
+
GMt as f,
|
|
96174
|
+
$Mt as g,
|
|
96175
|
+
JMt as h,
|
|
96176
|
+
XMt as i,
|
|
96177
96177
|
Or as j,
|
|
96178
|
-
|
|
96179
|
-
|
|
96180
|
-
|
|
96181
|
-
|
|
96182
|
-
|
|
96183
|
-
|
|
96184
|
-
|
|
96185
|
-
|
|
96186
|
-
|
|
96187
|
-
|
|
96178
|
+
QMt as k,
|
|
96179
|
+
oc as l,
|
|
96180
|
+
WMt as m,
|
|
96181
|
+
BMt as n,
|
|
96182
|
+
jMt as o,
|
|
96183
|
+
Z7t as p,
|
|
96184
|
+
Dr as q,
|
|
96185
|
+
vgt as r,
|
|
96186
|
+
FMt as s,
|
|
96187
|
+
YMt as t,
|
|
96188
96188
|
n1 as u,
|
|
96189
|
-
|
|
96190
|
-
|
|
96191
|
-
|
|
96189
|
+
xgt as v,
|
|
96190
|
+
Avt as w,
|
|
96191
|
+
ZMt as x,
|
|
96192
96192
|
tbe as y,
|
|
96193
|
-
|
|
96193
|
+
lbe as z
|
|
96194
96194
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a9 as s, a7 as t, A as o, a6 as r,
|
|
1
|
+
import { a9 as s, a7 as t, A as o, a6 as r, p as n, a4 as g, U as l, r as P, C as c, v as d, D as v, a5 as m, G as T, I as u, L as C, aj as b, al as A, am as I, M as f, Y as p, _ as L, O as D, m as R, H as S, K as W, y, w as E, S as N, z as O, a3 as U, V as _, ab as G, aa as H, ah as h, ag as x, ad as V, ae as k, af as M, ac as w, ai as z, a8 as j, W as q, a0 as B, a2 as F, ak as K, a as Y, u as J, a1 as Q } from "./index-CuwGq3LN.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -24,26 +24,26 @@ export {
|
|
|
24
24
|
L as NotificationServiceComponent,
|
|
25
25
|
D as ObservationsRenderer,
|
|
26
26
|
R as PatientDetails,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
S as PatientProgramsTable,
|
|
28
|
+
W as ProgramDetails,
|
|
29
|
+
y as RadiologyInvestigationReport,
|
|
30
|
+
E as RadiologyInvestigationTable,
|
|
31
|
+
N as SearchPatient,
|
|
32
32
|
O as TaskList,
|
|
33
33
|
U as UserPrivilegeProvider,
|
|
34
34
|
_ as VitalFlowSheet,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
G as createConfigHook,
|
|
36
|
+
H as createConfigProvider,
|
|
37
37
|
h as getAllWidgetConfigs,
|
|
38
|
-
|
|
38
|
+
x as getAllWidgetTypes,
|
|
39
39
|
V as getWidget,
|
|
40
40
|
k as getWidgetConfig,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
M as hasWidget,
|
|
42
|
+
w as registerWidget,
|
|
43
|
+
z as resetWidgetRegistry,
|
|
44
|
+
j as useActivePractitioner,
|
|
45
|
+
q as useCommandPalette,
|
|
46
|
+
B as useDebounce,
|
|
47
47
|
F as useHasPrivilege,
|
|
48
48
|
K as useLocation,
|
|
49
49
|
Y as useNotification,
|