@bahmni/clinical-app 0.0.1-dev.107 → 0.0.1-dev.108
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/FormsTable-BhgvFijg-DpVuvYKa.js +318 -0
- package/dist/{LNWAZHJI-DKhyLV_Q.js → LNWAZHJI-CSzbmhBu.js} +5 -5
- package/dist/{MWZ6AO7Z-CwM39bNX.js → MWZ6AO7Z-BHBRGSOE.js} +7 -7
- package/dist/{YPM2AS64-DRx2fnqw.js → YPM2AS64--kUlzXUl.js} +1 -1
- package/dist/{index-DQ_AJQ-E.js → index-jQa2f6J7.js} +55 -60
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/FormsTable-COjqJWg6-DL1-WqVh.js +0 -259
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { jsx as o, jsxs as p, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { u as X, C as Y, _ as W, a as f, b as Z, V as ee, Q as $, A as re, c as ae, l as oe, E as ne, t as I, G as te, N, e as se, X as de, d as ie, J as me } from "./index-jQa2f6J7.js";
|
|
3
|
+
import { useState as U, useMemo as b, useCallback as g } from "react";
|
|
4
|
+
import { createPortal as le } from "react-dom";
|
|
5
|
+
const ce = "_formsTableBody_1pd36_1", ue = "_customAccordianItem_1pd36_6", pe = "_formContent_1pd36_18", _e = "_formDetailsContainer_1pd36_25", be = "_observation_1pd36_30", fe = "_groupContainer_1pd36_39", ge = "_rowContainer_1pd36_43", Ne = "_groupLabel_1pd36_48", he = "_rowLabel_1pd36_58", ye = "_rowValue_1pd36_67", ve = "_groupMembers_1pd36_75", Ae = "_memberRow_1pd36_81", Me = "_memberLabel_1pd36_86", Ce = "_memberValue_1pd36_94", Le = "_abnormalValue_1pd36_102", Oe = "_commentSection_1pd36_110", Re = "_commentText_1pd36_116", Te = "_nestedGroup_1pd36_125", De = "_nestedGroupLabel_1pd36_132", Fe = "_nestedGroupMembers_1pd36_141", r = {
|
|
6
|
+
formsTableBody: ce,
|
|
7
|
+
customAccordianItem: ue,
|
|
8
|
+
formContent: pe,
|
|
9
|
+
formDetailsContainer: _e,
|
|
10
|
+
observation: be,
|
|
11
|
+
groupContainer: fe,
|
|
12
|
+
rowContainer: ge,
|
|
13
|
+
groupLabel: Ne,
|
|
14
|
+
rowLabel: he,
|
|
15
|
+
rowValue: ye,
|
|
16
|
+
groupMembers: ve,
|
|
17
|
+
memberRow: Ae,
|
|
18
|
+
memberLabel: Me,
|
|
19
|
+
memberValue: Ce,
|
|
20
|
+
abnormalValue: Le,
|
|
21
|
+
commentSection: Oe,
|
|
22
|
+
commentText: Re,
|
|
23
|
+
nestedGroup: Te,
|
|
24
|
+
nestedGroupLabel: De,
|
|
25
|
+
nestedGroupMembers: Fe
|
|
26
|
+
}, Ee = "ABNORMAL", q = (e) => {
|
|
27
|
+
const i = e.concept?.units, m = e.concept?.lowNormal, a = e.concept?.hiNormal, l = m != null, c = a != null, u = l && c ? ` (${m} - ${a})` : l ? ` (>${m})` : c ? ` (<${a})` : "", t = e.interpretation && e.interpretation.toUpperCase() === Ee;
|
|
28
|
+
return { units: i, rangeString: u, isAbnormal: t };
|
|
29
|
+
}, x = ({
|
|
30
|
+
member: e,
|
|
31
|
+
depth: i = 0
|
|
32
|
+
}) => {
|
|
33
|
+
const m = e.groupMembers && e.groupMembers.length > 0, a = e.conceptNameToDisplay ?? e.concept?.shortName ?? e.concept?.name;
|
|
34
|
+
if (m)
|
|
35
|
+
return /* @__PURE__ */ p("div", { className: r.nestedGroup, children: [
|
|
36
|
+
/* @__PURE__ */ o(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: r.nestedGroupLabel,
|
|
40
|
+
style: { paddingLeft: `${i * 16}px` },
|
|
41
|
+
children: a
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ o("div", { className: r.nestedGroupMembers, children: e.groupMembers?.map((t) => /* @__PURE__ */ o(
|
|
45
|
+
x,
|
|
46
|
+
{
|
|
47
|
+
member: t,
|
|
48
|
+
depth: i + 1
|
|
49
|
+
},
|
|
50
|
+
`${t.concept.uuid}`
|
|
51
|
+
)) })
|
|
52
|
+
] });
|
|
53
|
+
const { units: l, rangeString: c, isAbnormal: u } = q(e);
|
|
54
|
+
return /* @__PURE__ */ p(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: r.memberRow,
|
|
58
|
+
style: { paddingLeft: `${i * 16}px` },
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ p(
|
|
61
|
+
"p",
|
|
62
|
+
{
|
|
63
|
+
className: N(
|
|
64
|
+
r.memberLabel,
|
|
65
|
+
u ? r.abnormalValue : ""
|
|
66
|
+
),
|
|
67
|
+
children: [
|
|
68
|
+
a,
|
|
69
|
+
c
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
),
|
|
73
|
+
/* @__PURE__ */ p(
|
|
74
|
+
"p",
|
|
75
|
+
{
|
|
76
|
+
className: N(
|
|
77
|
+
r.memberValue,
|
|
78
|
+
u ? r.abnormalValue : ""
|
|
79
|
+
),
|
|
80
|
+
children: [
|
|
81
|
+
e.valueAsString,
|
|
82
|
+
l && ` ${l}`
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
}, Ge = ({
|
|
90
|
+
observation: e,
|
|
91
|
+
index: i
|
|
92
|
+
}) => {
|
|
93
|
+
const m = e.groupMembers && e.groupMembers.length > 0, { units: a, rangeString: l, isAbnormal: c } = q(e);
|
|
94
|
+
return /* @__PURE__ */ p(
|
|
95
|
+
"div",
|
|
96
|
+
{
|
|
97
|
+
className: r.observation,
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ p(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
className: m ? r.groupContainer : r.rowContainer,
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ p(
|
|
105
|
+
"p",
|
|
106
|
+
{
|
|
107
|
+
className: N(
|
|
108
|
+
m ? r.groupLabel : r.rowLabel,
|
|
109
|
+
!m && c ? r.abnormalValue : ""
|
|
110
|
+
),
|
|
111
|
+
children: [
|
|
112
|
+
e.conceptNameToDisplay,
|
|
113
|
+
!m && l && /* @__PURE__ */ o("span", { className: r.rangeInfo, children: l })
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
m ? /* @__PURE__ */ o("div", { className: r.groupMembers, children: e.groupMembers?.map((u) => /* @__PURE__ */ o(
|
|
118
|
+
x,
|
|
119
|
+
{
|
|
120
|
+
member: u,
|
|
121
|
+
depth: 0
|
|
122
|
+
},
|
|
123
|
+
`${u.concept.uuid}`
|
|
124
|
+
)) }) : /* @__PURE__ */ p(
|
|
125
|
+
"p",
|
|
126
|
+
{
|
|
127
|
+
className: N(
|
|
128
|
+
r.rowValue,
|
|
129
|
+
c ? r.abnormalValue : ""
|
|
130
|
+
),
|
|
131
|
+
children: [
|
|
132
|
+
e.valueAsString,
|
|
133
|
+
a && ` ${a}`
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
e.comment && /* @__PURE__ */ o("div", { className: r.commentSection, children: /* @__PURE__ */ p("span", { className: r.commentText, children: [
|
|
141
|
+
e.comment,
|
|
142
|
+
e.providers?.[0]?.name && ` - by ${e.providers[0].name}`
|
|
143
|
+
] }) })
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
`${e.concept.uuid}-${i}`
|
|
147
|
+
);
|
|
148
|
+
}, Ie = ({
|
|
149
|
+
episodeOfCareUuids: e,
|
|
150
|
+
encounterUuids: i,
|
|
151
|
+
config: m
|
|
152
|
+
}) => {
|
|
153
|
+
const { t: a } = X(), l = Y(), [c, u] = U(!1), [t, M] = U(null), k = m?.numberOfVisits, C = W(
|
|
154
|
+
e,
|
|
155
|
+
i
|
|
156
|
+
), {
|
|
157
|
+
data: h = [],
|
|
158
|
+
isLoading: L,
|
|
159
|
+
isError: O,
|
|
160
|
+
error: H
|
|
161
|
+
} = f({
|
|
162
|
+
queryKey: ["forms", l, e],
|
|
163
|
+
queryFn: () => se(l, void 0, k),
|
|
164
|
+
enabled: !!l && !C
|
|
165
|
+
}), R = b(() => !i || i.length === 0 ? h : h.filter(
|
|
166
|
+
(n) => i.includes(n.encounterUuid)
|
|
167
|
+
), [h, i]), { data: T = [] } = f({
|
|
168
|
+
queryKey: ["observationForms"],
|
|
169
|
+
queryFn: de
|
|
170
|
+
}), D = g(
|
|
171
|
+
(n) => T.find((s) => s.name === n)?.uuid,
|
|
172
|
+
[T]
|
|
173
|
+
), y = b(() => {
|
|
174
|
+
if (t)
|
|
175
|
+
return D(t.formName);
|
|
176
|
+
}, [t, D]), {
|
|
177
|
+
data: we,
|
|
178
|
+
isLoading: j,
|
|
179
|
+
error: F
|
|
180
|
+
} = f({
|
|
181
|
+
queryKey: ["formMetadata", y],
|
|
182
|
+
queryFn: () => ie(y),
|
|
183
|
+
enabled: !!y && c
|
|
184
|
+
}), {
|
|
185
|
+
data: v,
|
|
186
|
+
isLoading: K,
|
|
187
|
+
error: E
|
|
188
|
+
} = f({
|
|
189
|
+
queryKey: ["formsEncounter", t?.encounterUuid],
|
|
190
|
+
queryFn: () => me(t.encounterUuid, !0),
|
|
191
|
+
enabled: !!t?.encounterUuid && c
|
|
192
|
+
}), G = b(() => !v?.observations || !t?.formName ? [] : v.observations.filter(
|
|
193
|
+
(n) => "formFieldPath" in n && typeof n.formFieldPath == "string" && n.formFieldPath.includes(t.formName)
|
|
194
|
+
), [v?.observations, t?.formName]), w = b(
|
|
195
|
+
() => [
|
|
196
|
+
{ key: "recordedOn", header: a("FORM_RECORDED_ON") },
|
|
197
|
+
{ key: "recordedBy", header: a("FORM_RECORDED_BY") }
|
|
198
|
+
],
|
|
199
|
+
[a]
|
|
200
|
+
), P = b(
|
|
201
|
+
() => [
|
|
202
|
+
{ key: "recordedOn", sortable: !0 },
|
|
203
|
+
{ key: "recordedBy", sortable: !0 }
|
|
204
|
+
],
|
|
205
|
+
[]
|
|
206
|
+
), B = b(() => {
|
|
207
|
+
const n = R.reduce(
|
|
208
|
+
(s, d) => {
|
|
209
|
+
const _ = d.formName;
|
|
210
|
+
s[_] ??= [];
|
|
211
|
+
const A = d.providers.map((J) => J.providerName).filter(Boolean).join(", ");
|
|
212
|
+
return s[_].push({
|
|
213
|
+
id: d.encounterUuid,
|
|
214
|
+
formName: d.formName,
|
|
215
|
+
recordedOn: Z(d.encounterDateTime, a, te).formattedResult,
|
|
216
|
+
recordedBy: A ?? "--",
|
|
217
|
+
encounterDateTime: d.encounterDateTime,
|
|
218
|
+
encounterUuid: d.encounterUuid
|
|
219
|
+
}), s;
|
|
220
|
+
},
|
|
221
|
+
{}
|
|
222
|
+
);
|
|
223
|
+
return Object.entries(n).map(
|
|
224
|
+
([s, d]) => ({
|
|
225
|
+
formName: s,
|
|
226
|
+
records: d.sort(
|
|
227
|
+
(_, A) => A.encounterDateTime - _.encounterDateTime
|
|
228
|
+
)
|
|
229
|
+
})
|
|
230
|
+
).sort((s, d) => s.formName.localeCompare(d.formName));
|
|
231
|
+
}, [R, a]), V = g((n) => {
|
|
232
|
+
M(n), u(!0);
|
|
233
|
+
}, []), Q = g(() => {
|
|
234
|
+
u(!1), M(null);
|
|
235
|
+
}, []), S = g(
|
|
236
|
+
(n, s) => {
|
|
237
|
+
switch (s) {
|
|
238
|
+
case "recordedOn":
|
|
239
|
+
return /* @__PURE__ */ o(ee, { onClick: () => V(n), children: n.recordedOn });
|
|
240
|
+
case "recordedBy":
|
|
241
|
+
return n.recordedBy;
|
|
242
|
+
default:
|
|
243
|
+
return null;
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
[V]
|
|
247
|
+
);
|
|
248
|
+
return /* @__PURE__ */ p(z, { children: [
|
|
249
|
+
/* @__PURE__ */ o("div", { "data-testid": "forms-table", children: L || O || B.length === 0 || C ? /* @__PURE__ */ o(
|
|
250
|
+
$,
|
|
251
|
+
{
|
|
252
|
+
headers: w,
|
|
253
|
+
ariaLabel: a("FORMS_HEADING"),
|
|
254
|
+
rows: [],
|
|
255
|
+
loading: L,
|
|
256
|
+
errorStateMessage: O ? H?.message : void 0,
|
|
257
|
+
emptyStateMessage: a("FORMS_UNAVAILABLE"),
|
|
258
|
+
renderCell: S,
|
|
259
|
+
className: r.formsTableBody,
|
|
260
|
+
"data-testid": "sortable-data-table"
|
|
261
|
+
}
|
|
262
|
+
) : /* @__PURE__ */ o(re, { align: "start", children: B.map((n, s) => {
|
|
263
|
+
const { formName: d, records: _ } = n;
|
|
264
|
+
return /* @__PURE__ */ o(
|
|
265
|
+
ae,
|
|
266
|
+
{
|
|
267
|
+
title: d,
|
|
268
|
+
className: r.customAccordianItem,
|
|
269
|
+
testId: `accordian-title-${d}`,
|
|
270
|
+
open: s === 0,
|
|
271
|
+
children: /* @__PURE__ */ o(
|
|
272
|
+
$,
|
|
273
|
+
{
|
|
274
|
+
headers: w,
|
|
275
|
+
ariaLabel: a("FORMS_HEADING"),
|
|
276
|
+
rows: _,
|
|
277
|
+
loading: !1,
|
|
278
|
+
errorStateMessage: "",
|
|
279
|
+
sortable: P,
|
|
280
|
+
emptyStateMessage: a("FORMS_UNAVAILABLE"),
|
|
281
|
+
renderCell: S,
|
|
282
|
+
className: r.formsTableBody,
|
|
283
|
+
"data-testid": "forms-data-table"
|
|
284
|
+
}
|
|
285
|
+
)
|
|
286
|
+
},
|
|
287
|
+
d
|
|
288
|
+
);
|
|
289
|
+
}) }) }),
|
|
290
|
+
c && t && le(
|
|
291
|
+
/* @__PURE__ */ o(
|
|
292
|
+
oe,
|
|
293
|
+
{
|
|
294
|
+
id: "formDetailsModal",
|
|
295
|
+
open: c,
|
|
296
|
+
onRequestClose: Q,
|
|
297
|
+
modalHeading: t.formName,
|
|
298
|
+
modalLabel: `${t.recordedOn} | ${t.recordedBy}`,
|
|
299
|
+
passiveModal: !0,
|
|
300
|
+
size: "md",
|
|
301
|
+
testId: "form-details-modal",
|
|
302
|
+
children: /* @__PURE__ */ o("div", { className: r.formContent, children: j || K ? /* @__PURE__ */ o(ne, { width: "100%", lineCount: 3 }) : F ? /* @__PURE__ */ o("div", { children: I(F).message ?? a("ERROR_FETCHING_FORM_METADATA") }) : E ? /* @__PURE__ */ o("div", { children: I(E).message ?? a("ERROR_FETCHING_FORM_DATA") }) : G.length > 0 ? /* @__PURE__ */ o("div", { className: r.formDetailsContainer, children: G.map((n, s) => /* @__PURE__ */ o(
|
|
303
|
+
Ge,
|
|
304
|
+
{
|
|
305
|
+
observation: n,
|
|
306
|
+
index: s
|
|
307
|
+
},
|
|
308
|
+
`${n.concept.uuid}`
|
|
309
|
+
)) }) : /* @__PURE__ */ o("div", { children: a("NO_FORM_DATA_AVAILABLE") }) })
|
|
310
|
+
}
|
|
311
|
+
),
|
|
312
|
+
document.getElementById("actionAreaLayout") ?? document.body
|
|
313
|
+
)
|
|
314
|
+
] });
|
|
315
|
+
};
|
|
316
|
+
export {
|
|
317
|
+
Ie as default
|
|
318
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64
|
|
2
|
-
import { g as
|
|
3
|
-
var
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64--kUlzXUl.js";
|
|
2
|
+
import { g as f, f as d, h as e } from "./index-jQa2f6J7.js";
|
|
3
|
+
var h = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
-
}), n =
|
|
6
|
+
}), n = f(), s = d(() => {
|
|
7
7
|
const o = r.theme_preference || l;
|
|
8
8
|
return o !== "system" ? o : n();
|
|
9
9
|
});
|
|
@@ -27,7 +27,7 @@ var p = (a) => {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
}, C =
|
|
30
|
+
}, C = h;
|
|
31
31
|
export {
|
|
32
32
|
C as default
|
|
33
33
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as
|
|
2
|
-
import { g as
|
|
3
|
-
var
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64--kUlzXUl.js";
|
|
2
|
+
import { g as h, f as v, h as e } from "./index-jQa2f6J7.js";
|
|
3
|
+
var C = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
-
}), a =
|
|
6
|
+
}), a = h(), l = v(() => {
|
|
7
7
|
const n = r.theme_preference || c;
|
|
8
8
|
return n !== "system" ? n : a();
|
|
9
9
|
});
|
|
10
|
-
return e(
|
|
10
|
+
return e(d.Provider, {
|
|
11
11
|
value: t,
|
|
12
12
|
get children() {
|
|
13
13
|
return e(u, {
|
|
@@ -20,7 +20,7 @@ var f = (t) => {
|
|
|
20
20
|
get children() {
|
|
21
21
|
return e(m, {
|
|
22
22
|
get children() {
|
|
23
|
-
return e(
|
|
23
|
+
return e(P, {
|
|
24
24
|
localStore: r,
|
|
25
25
|
setLocalStore: o,
|
|
26
26
|
get onClose() {
|
|
@@ -36,7 +36,7 @@ var f = (t) => {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
}, p =
|
|
39
|
+
}, p = C;
|
|
40
40
|
export {
|
|
41
41
|
p as default
|
|
42
42
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as we, j as z, o as xt, k as B, f as q, h as y, P as Ro, m as ye, S as R, n as _, p as k, q as N, r as A, s as bs, v as ir, w as $e, x as U, y as Hn, z as Vn, B as dt, D, F as xs, H as cn, I as Be, K as ws, L as qt, M as zt, O as $s, R as Cs, T as $n, U as Ss, W as Nr, Y as Bt, $ as zo, Z as ks, a0 as Es, a1 as j, a2 as Ur, a3 as Ms, a4 as Ds, a5 as sr, a6 as As, a7 as Ts, a8 as zn, a9 as Fs, aa as Is, ab as Z, ac as Ps, ad as Ls } from "./index-jQa2f6J7.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -65278,7 +65278,7 @@ const pa2 = () => {
|
|
|
65278
65278
|
}) => /* @__PURE__ */ jsx(W31, { ...r, "data-testid": n, children: e }), Ia2 = ({
|
|
65279
65279
|
testId: n,
|
|
65280
65280
|
...e
|
|
65281
|
-
}) => /* @__PURE__ */ jsx(Ge$1, { ...e, "data-testid": n }), lr2 = "
|
|
65281
|
+
}) => /* @__PURE__ */ jsx(Ge$1, { ...e, "data-testid": n }), lr2 = "_layout_1ebcs_85", sr2 = "_collapsedModal_1ebcs_93", ir2 = "_body_1ebcs_104", fr2 = "_expand_1ebcs_108", pr2 = "_collapse_1ebcs_93", hr2 = "_patientHeader_1ebcs_118", dr2 = "_collapsedPatientHeader_1ebcs_128", ur2 = "_mainDisplay_1ebcs_132", mr2 = "_collapsedMainDisplay_1ebcs_142", wr2 = "_actionArea_1ebcs_146", b0$1 = {
|
|
65282
65282
|
layout: lr2,
|
|
65283
65283
|
collapsedModal: sr2,
|
|
65284
65284
|
body: ir2,
|
|
@@ -150354,15 +150354,8 @@ const _4 = (n, e) => n?.length === 0 ? !1 : e?.length === 0, uWe = async () => {
|
|
|
150354
150354
|
translations: f
|
|
150355
150355
|
};
|
|
150356
150356
|
}, eJe = async (n, e, r) => {
|
|
150357
|
-
|
|
150358
|
-
|
|
150359
|
-
const l = sWe(n, r, a), f = await cr(l);
|
|
150360
|
-
return Array.isArray(f) ? f : [];
|
|
150361
|
-
} catch (l) {
|
|
150362
|
-
throw new Error(
|
|
150363
|
-
`Failed to fetch form data for patient ${n}: ${l instanceof Error ? l.message : "Unknown error"}`
|
|
150364
|
-
);
|
|
150365
|
-
}
|
|
150357
|
+
const a = sWe(n, r), l = await cr(a);
|
|
150358
|
+
return Array.isArray(l) ? l : [];
|
|
150366
150359
|
}, mWe = Wr + "/bahmnicore/diseaseSummaryData?", wWe = async (n, e, r, a) => {
|
|
150367
150360
|
const l = new URLSearchParams({
|
|
150368
150361
|
groupBy: a,
|
|
@@ -154080,7 +154073,7 @@ const NGe = [
|
|
|
154080
154073
|
},
|
|
154081
154074
|
{
|
|
154082
154075
|
type: "forms",
|
|
154083
|
-
component: lazy$1(() => import("./FormsTable-
|
|
154076
|
+
component: lazy$1(() => import("./FormsTable-BhgvFijg-DpVuvYKa.js"))
|
|
154084
154077
|
}
|
|
154085
154078
|
];
|
|
154086
154079
|
class Xr {
|
|
@@ -155961,7 +155954,7 @@ var displayValue = (n, e = !1) => {
|
|
|
155961
155954
|
const e = render(() => {
|
|
155962
155955
|
const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t;
|
|
155963
155956
|
let A;
|
|
155964
|
-
return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-
|
|
155957
|
+
return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-CSzbmhBu.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
|
|
155965
155958
|
get queryFlavor() {
|
|
155966
155959
|
return r.#n;
|
|
155967
155960
|
},
|
|
@@ -156059,7 +156052,7 @@ var displayValue = (n, e = !1) => {
|
|
|
156059
156052
|
const e = render(() => {
|
|
156060
156053
|
const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t, [A] = this.#s;
|
|
156061
156054
|
let g;
|
|
156062
|
-
return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-
|
|
156055
|
+
return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-BHBRGSOE.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
|
|
156063
156056
|
get queryFlavor() {
|
|
156064
156057
|
return r.#n;
|
|
156065
156058
|
},
|
|
@@ -201187,69 +201180,71 @@ const queryClient = new QueryClient(queryClientConfig), ClinicalApp = () => {
|
|
|
201187
201180
|
export {
|
|
201188
201181
|
$TRACK as $,
|
|
201189
201182
|
Ai as A,
|
|
201190
|
-
|
|
201183
|
+
on as B,
|
|
201191
201184
|
C1 as C,
|
|
201192
|
-
|
|
201185
|
+
setAttribute as D,
|
|
201193
201186
|
Eke as E,
|
|
201194
|
-
|
|
201187
|
+
getSidedProp as F,
|
|
201195
201188
|
GGe as G,
|
|
201196
|
-
|
|
201197
|
-
|
|
201189
|
+
use as H,
|
|
201190
|
+
createUniqueId as I,
|
|
201198
201191
|
JGe as J,
|
|
201199
|
-
|
|
201200
|
-
|
|
201201
|
-
|
|
201202
|
-
|
|
201203
|
-
|
|
201192
|
+
batch as K,
|
|
201193
|
+
getQueryStatusLabel as L,
|
|
201194
|
+
getMutationStatusColor as M,
|
|
201195
|
+
Nle as N,
|
|
201196
|
+
getQueryStatusColor as O,
|
|
201204
201197
|
Portal as P,
|
|
201205
201198
|
Qr as Q,
|
|
201206
|
-
|
|
201199
|
+
getQueryStatusColorByLabel as R,
|
|
201207
201200
|
Show as S,
|
|
201208
|
-
|
|
201209
|
-
|
|
201201
|
+
displayValue as T,
|
|
201202
|
+
For as U,
|
|
201210
201203
|
Vke as V,
|
|
201211
|
-
|
|
201204
|
+
convertRemToPixels as W,
|
|
201212
201205
|
XGe as X,
|
|
201213
|
-
|
|
201214
|
-
|
|
201215
|
-
|
|
201206
|
+
untrack as Y,
|
|
201207
|
+
useTransition as Z,
|
|
201208
|
+
_4 as _,
|
|
201216
201209
|
useQuery as a,
|
|
201217
|
-
|
|
201218
|
-
|
|
201219
|
-
|
|
201220
|
-
|
|
201221
|
-
|
|
201222
|
-
|
|
201223
|
-
|
|
201224
|
-
|
|
201225
|
-
|
|
201226
|
-
|
|
201227
|
-
|
|
201228
|
-
|
|
201229
|
-
|
|
201210
|
+
spread as a0,
|
|
201211
|
+
mergeProps as a1,
|
|
201212
|
+
createRoot as a2,
|
|
201213
|
+
serialize as a3,
|
|
201214
|
+
Index as a4,
|
|
201215
|
+
updateNestedDataByPath as a5,
|
|
201216
|
+
addEventListener as a6,
|
|
201217
|
+
stringify as a7,
|
|
201218
|
+
Match as a8,
|
|
201219
|
+
Switch as a9,
|
|
201220
|
+
deleteNestedDataByPath as aa,
|
|
201221
|
+
splitProps as ab,
|
|
201222
|
+
Dynamic as ac,
|
|
201223
|
+
createComputed as ad,
|
|
201224
|
+
ClinicalApp as ae,
|
|
201230
201225
|
Cr as b,
|
|
201231
|
-
|
|
201232
|
-
|
|
201226
|
+
_i as c,
|
|
201227
|
+
QGe as d,
|
|
201233
201228
|
eJe as e,
|
|
201234
|
-
|
|
201229
|
+
createMemo as f,
|
|
201235
201230
|
getPreferredColorScheme as g,
|
|
201236
|
-
|
|
201237
|
-
|
|
201238
|
-
|
|
201239
|
-
|
|
201231
|
+
createComponent as h,
|
|
201232
|
+
createContext as i,
|
|
201233
|
+
createSignal as j,
|
|
201234
|
+
createEffect as k,
|
|
201240
201235
|
l4 as l,
|
|
201241
201236
|
memo as m,
|
|
201242
|
-
|
|
201237
|
+
template as n,
|
|
201243
201238
|
onMount as o,
|
|
201244
|
-
|
|
201245
|
-
|
|
201246
|
-
|
|
201247
|
-
|
|
201239
|
+
insert as p,
|
|
201240
|
+
createRenderEffect as q,
|
|
201241
|
+
className as r,
|
|
201242
|
+
clearDelegatedEvents as s,
|
|
201248
201243
|
tr as t,
|
|
201249
201244
|
useTranslation as u,
|
|
201250
|
-
|
|
201251
|
-
|
|
201252
|
-
|
|
201253
|
-
|
|
201254
|
-
|
|
201245
|
+
delegateEvents as v,
|
|
201246
|
+
useContext as w,
|
|
201247
|
+
onCleanup as x,
|
|
201248
|
+
sortFns as y,
|
|
201249
|
+
mutationSortFns as z
|
|
201255
201250
|
};
|