@bahmni/widgets 0.0.1-dev.316 → 0.0.1-dev.318
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-D8McBoEk.js → DocumentsTable-DoSAODvG.js} +9 -9
- package/dist/{FormsTable-CbWxjj8M.js → FormsTable-DEtGhXWv.js} +76 -76
- package/dist/{Observations-B5IKFXFF.js → Observations-Bz_9txk-.js} +6 -6
- package/dist/{index-C4zXayYk.js → index-5LDkoVtj.js} +29 -28
- package/dist/index.js +9 -9
- package/dist/searchPatient/strategies/AppointmentSearchStrategy.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as r, jsxs as T, Fragment as
|
|
2
|
-
import { u as W, a as Z,
|
|
1
|
+
import { jsx as r, jsxs as T, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
+
import { u as W, a as Z, $ as X, Z as J, G as x, j as ee, P as te } from "./index-5LDkoVtj.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";
|
|
@@ -39,7 +39,7 @@ const Te = [
|
|
|
39
39
|
null
|
|
40
40
|
), [F, A] = l(
|
|
41
41
|
/* @__PURE__ */ new Set()
|
|
42
|
-
), f = W(), { t: o } = ae(), { addNotification: w } = Z(),
|
|
42
|
+
), f = W(), { t: o } = ae(), { addNotification: w } = Z(), $ = Number(n?.pageSize) || 5, [N, C] = l(1), [u, V] = l($), [k, O] = l(void 0), v = _((e) => {
|
|
43
43
|
U(e), L(!0);
|
|
44
44
|
}, []), H = _(() => {
|
|
45
45
|
L(!1), U(null), A(/* @__PURE__ */ new Set());
|
|
@@ -92,13 +92,13 @@ const Te = [
|
|
|
92
92
|
}, [d, s]);
|
|
93
93
|
const j = _(
|
|
94
94
|
(e, t) => {
|
|
95
|
-
t !== u ? (
|
|
95
|
+
t !== u ? (V(t), C(1), O(void 0)) : C(e);
|
|
96
96
|
},
|
|
97
97
|
[u]
|
|
98
98
|
), D = p(
|
|
99
99
|
() => n?.fields ?? Te,
|
|
100
100
|
[n?.fields]
|
|
101
|
-
), q = p(() => [...i?.documents ?? []].sort((t, a) => !t.uploadedOn && !a.uploadedOn ? 0 : t.uploadedOn ? a.uploadedOn ? new Date(a.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [i]),
|
|
101
|
+
), q = p(() => [...i?.documents ?? []].sort((t, a) => !t.uploadedOn && !a.uploadedOn ? 0 : t.uploadedOn ? a.uploadedOn ? new Date(a.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [i]), G = p(() => he(D, o), [D, o]), K = p(
|
|
102
102
|
() => D.map((e) => ({
|
|
103
103
|
key: e,
|
|
104
104
|
sortable: e !== "attachments"
|
|
@@ -107,7 +107,7 @@ const Te = [
|
|
|
107
107
|
), h = p(
|
|
108
108
|
() => s ? P(s) : [],
|
|
109
109
|
[s]
|
|
110
|
-
),
|
|
110
|
+
), Q = _(
|
|
111
111
|
(e, t) => {
|
|
112
112
|
switch (t) {
|
|
113
113
|
case "documentIdentifier":
|
|
@@ -138,18 +138,18 @@ const Te = [
|
|
|
138
138
|
},
|
|
139
139
|
[v, o]
|
|
140
140
|
);
|
|
141
|
-
return /* @__PURE__ */ T(
|
|
141
|
+
return /* @__PURE__ */ T(Y, { children: [
|
|
142
142
|
/* @__PURE__ */ r("div", { "data-testid": "documents-table", children: /* @__PURE__ */ r(
|
|
143
143
|
ee,
|
|
144
144
|
{
|
|
145
|
-
headers:
|
|
145
|
+
headers: G,
|
|
146
146
|
ariaLabel: o("DOCUMENTS_TABLE_HEADING"),
|
|
147
147
|
rows: q,
|
|
148
148
|
loading: z,
|
|
149
149
|
errorStateMessage: S ? y?.message : null,
|
|
150
150
|
sortable: K,
|
|
151
151
|
emptyStateMessage: o("DOCUMENTS_NO_RECORDS"),
|
|
152
|
-
renderCell:
|
|
152
|
+
renderCell: Q,
|
|
153
153
|
className: c.documentsTableBody,
|
|
154
154
|
dataTestId: "documents-table",
|
|
155
155
|
pageSize: u,
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as i, jsxs as te, Fragment as oe } from "react/jsx-runtime";
|
|
2
|
+
import { A as se, u as ae, b as ne, c as de, d as ie, i as ce, B as le, v as me, q as k, G as ue, Z as fe, j as x, T as ye, R as be, P as pe, O as he } from "./index-5LDkoVtj.js";
|
|
3
3
|
import { useQueryClient as ge, useQuery as p } from "@tanstack/react-query";
|
|
4
|
-
import { useState as
|
|
4
|
+
import { useState as P, useMemo as d, useCallback as h } from "react";
|
|
5
5
|
import { useTranslation as Fe } from "react-i18next";
|
|
6
|
-
const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_customAccordianItem__isszs",
|
|
6
|
+
const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_customAccordianItem__isszs", E = {
|
|
7
7
|
formsTableBody: Ne,
|
|
8
8
|
customAccordianItem: Oe
|
|
9
|
-
},
|
|
9
|
+
}, ve = (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 } = Fe(), u = ae(), [y,
|
|
17
|
-
numberOfVisits:
|
|
18
|
-
hideThumbnail:
|
|
16
|
+
const { t: n } = Fe(), u = ae(), [y, A] = P(!1), [a, M] = P(null), {
|
|
17
|
+
numberOfVisits: j,
|
|
18
|
+
hideThumbnail: w = !1,
|
|
19
19
|
forms: b
|
|
20
20
|
} = g ?? {}, I = ne(
|
|
21
21
|
m,
|
|
22
22
|
c
|
|
23
|
-
),
|
|
24
|
-
data:
|
|
25
|
-
isLoading:
|
|
26
|
-
isError:
|
|
27
|
-
error:
|
|
28
|
-
refetch:
|
|
23
|
+
), G = ge(), {
|
|
24
|
+
data: B = [],
|
|
25
|
+
isLoading: D,
|
|
26
|
+
isError: T,
|
|
27
|
+
error: H,
|
|
28
|
+
refetch: K
|
|
29
29
|
} = p({
|
|
30
30
|
queryKey: ["forms", u, m],
|
|
31
|
-
queryFn: () => de(u, void 0,
|
|
31
|
+
queryFn: () => de(u, void 0, j),
|
|
32
32
|
enabled: !!u && !I
|
|
33
|
-
}),
|
|
34
|
-
let e =
|
|
33
|
+
}), R = d(() => {
|
|
34
|
+
let e = B;
|
|
35
35
|
return c && c.length > 0 && (e = e.filter(
|
|
36
|
-
(
|
|
36
|
+
(t) => c.includes(t.encounterUuid)
|
|
37
37
|
)), Array.isArray(b) && b.length > 0 && (e = e.filter(
|
|
38
|
-
(
|
|
38
|
+
(t) => b.some((r) => r.toLowerCase() === t.formName.toLowerCase())
|
|
39
39
|
)), e;
|
|
40
|
-
}, [
|
|
40
|
+
}, [B, c, b]), { data: _ = [] } = p({
|
|
41
41
|
queryKey: ["observationForms"],
|
|
42
42
|
queryFn: () => ie()
|
|
43
43
|
}), L = h(
|
|
44
|
-
(e) =>
|
|
45
|
-
[
|
|
44
|
+
(e) => _.find((r) => r.name === e)?.uuid,
|
|
45
|
+
[_]
|
|
46
46
|
), F = d(() => {
|
|
47
47
|
if (a)
|
|
48
48
|
return L(a.formName);
|
|
49
49
|
}, [a, L]), {
|
|
50
50
|
data: l,
|
|
51
|
-
isLoading:
|
|
51
|
+
isLoading: V,
|
|
52
52
|
isError: $,
|
|
53
53
|
error: N
|
|
54
54
|
} = p({
|
|
@@ -58,8 +58,8 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
58
58
|
}), {
|
|
59
59
|
data: O,
|
|
60
60
|
isLoading: z,
|
|
61
|
-
isError:
|
|
62
|
-
error:
|
|
61
|
+
isError: Q,
|
|
62
|
+
error: v
|
|
63
63
|
} = p({
|
|
64
64
|
queryKey: ["formsEncounterFHIR", a?.encounterUuid],
|
|
65
65
|
queryFn: () => le(a.encounterUuid),
|
|
@@ -67,44 +67,44 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
67
67
|
});
|
|
68
68
|
me(
|
|
69
69
|
(e) => {
|
|
70
|
-
e.patientUUID === u && e.updatedConcepts.size > 0 && (
|
|
70
|
+
e.patientUUID === u && e.updatedConcepts.size > 0 && (K(), G.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
|
|
71
71
|
},
|
|
72
72
|
[u]
|
|
73
73
|
);
|
|
74
|
-
const
|
|
75
|
-
const r =
|
|
74
|
+
const Z = d(() => !O?.entry || !a?.formName ? [] : O.entry.filter((t) => t.resource?.resourceType === "Observation").map((t) => t.resource).filter((t) => {
|
|
75
|
+
const r = ve(t);
|
|
76
76
|
return !r || r.includes(a.formName);
|
|
77
|
-
}), [O, a?.formName]),
|
|
77
|
+
}), [O, 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 = [], t = (r) => {
|
|
80
|
+
(r ?? []).forEach((o) => {
|
|
81
|
+
const s = o;
|
|
82
|
+
s.id != null && e.push(String(s.id)), s.controls && t(s.controls);
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
|
-
return
|
|
85
|
+
return t(
|
|
86
86
|
l.schema.controls ?? []
|
|
87
87
|
), e.length > 0 ? e : void 0;
|
|
88
88
|
}, [l]), J = d(() => {
|
|
89
89
|
if (!l?.schema) return;
|
|
90
|
-
const e = {},
|
|
90
|
+
const e = {}, t = (r, o) => {
|
|
91
91
|
for (const s of r)
|
|
92
92
|
if (s.type === "section") {
|
|
93
93
|
const f = s.label?.value ?? "Section";
|
|
94
|
-
|
|
94
|
+
t(s.controls ?? [], f);
|
|
95
95
|
} else
|
|
96
|
-
s.id != null &&
|
|
96
|
+
s.id != null && o && (e[String(s.id)] = o), s.controls && t(s.controls, o);
|
|
97
97
|
};
|
|
98
|
-
return
|
|
98
|
+
return t(
|
|
99
99
|
l.schema.controls ?? [],
|
|
100
100
|
null
|
|
101
101
|
), Object.keys(e).length > 0 ? e : void 0;
|
|
102
102
|
}, [l]), W = d(() => {
|
|
103
103
|
if (N)
|
|
104
104
|
return k(N).message;
|
|
105
|
-
if (
|
|
106
|
-
return k(
|
|
107
|
-
}, [N,
|
|
105
|
+
if (v)
|
|
106
|
+
return k(v).message;
|
|
107
|
+
}, [N, v]), C = d(
|
|
108
108
|
() => [
|
|
109
109
|
{ key: "recordedOn", header: n("RECORDED_ON") },
|
|
110
110
|
{ key: "recordedBy", header: n("RECORDED_BY") }
|
|
@@ -117,37 +117,37 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
117
117
|
],
|
|
118
118
|
[]
|
|
119
119
|
), S = d(() => {
|
|
120
|
-
const e =
|
|
121
|
-
(r,
|
|
122
|
-
const s =
|
|
120
|
+
const e = R.reduce(
|
|
121
|
+
(r, o) => {
|
|
122
|
+
const s = o.formName;
|
|
123
123
|
r[s] ??= [];
|
|
124
|
-
const f =
|
|
124
|
+
const f = o.providers.map((re) => re.providerName).filter(Boolean).join(", ");
|
|
125
125
|
return r[s].push({
|
|
126
|
-
id:
|
|
127
|
-
formName:
|
|
128
|
-
recordedOn: ue(
|
|
126
|
+
id: o.encounterUuid,
|
|
127
|
+
formName: o.formName,
|
|
128
|
+
recordedOn: ue(o.encounterDateTime, n, !0).formattedResult,
|
|
129
129
|
recordedBy: f ?? "--",
|
|
130
|
-
encounterDateTime:
|
|
131
|
-
encounterUuid:
|
|
130
|
+
encounterDateTime: o.encounterDateTime,
|
|
131
|
+
encounterUuid: o.encounterUuid
|
|
132
132
|
}), r;
|
|
133
133
|
},
|
|
134
134
|
{}
|
|
135
135
|
);
|
|
136
136
|
return Object.entries(e).map(
|
|
137
|
-
([r,
|
|
137
|
+
([r, o]) => ({
|
|
138
138
|
formName: r,
|
|
139
|
-
records:
|
|
139
|
+
records: o.sort(
|
|
140
140
|
(s, f) => f.encounterDateTime - s.encounterDateTime
|
|
141
141
|
)
|
|
142
142
|
})
|
|
143
|
-
).sort((r,
|
|
144
|
-
}, [
|
|
145
|
-
|
|
143
|
+
).sort((r, o) => r.formName.localeCompare(o.formName));
|
|
144
|
+
}, [R, n]), q = h((e) => {
|
|
145
|
+
M(e), A(!0);
|
|
146
146
|
}, []), ee = h(() => {
|
|
147
|
-
|
|
147
|
+
A(!1), M(null);
|
|
148
148
|
}, []), U = h(
|
|
149
|
-
(e,
|
|
150
|
-
switch (
|
|
149
|
+
(e, t) => {
|
|
150
|
+
switch (t) {
|
|
151
151
|
case "recordedOn":
|
|
152
152
|
return /* @__PURE__ */ i(fe, { onClick: () => q(e), children: e.recordedOn });
|
|
153
153
|
case "recordedBy":
|
|
@@ -158,41 +158,41 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
158
158
|
},
|
|
159
159
|
[q]
|
|
160
160
|
);
|
|
161
|
-
return /* @__PURE__ */ oe
|
|
162
|
-
/* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children:
|
|
161
|
+
return /* @__PURE__ */ te(oe, { children: [
|
|
162
|
+
/* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children: D || T || S.length === 0 || I ? /* @__PURE__ */ i(
|
|
163
163
|
x,
|
|
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 ? H?.message : void 0,
|
|
170
170
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
171
171
|
renderCell: U,
|
|
172
|
-
className:
|
|
172
|
+
className: E.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, t) => {
|
|
176
|
+
const { formName: r, records: o } = e;
|
|
177
177
|
return /* @__PURE__ */ i(
|
|
178
178
|
be,
|
|
179
179
|
{
|
|
180
180
|
title: r,
|
|
181
|
-
className:
|
|
181
|
+
className: E.customAccordianItem,
|
|
182
182
|
testId: `accordian-title-${r}`,
|
|
183
|
-
open:
|
|
183
|
+
open: t === 0,
|
|
184
184
|
children: /* @__PURE__ */ i(
|
|
185
185
|
x,
|
|
186
186
|
{
|
|
187
187
|
headers: C,
|
|
188
188
|
ariaLabel: n("FORMS_HEADING"),
|
|
189
|
-
rows:
|
|
189
|
+
rows: o,
|
|
190
190
|
loading: !1,
|
|
191
191
|
errorStateMessage: "",
|
|
192
192
|
sortable: X,
|
|
193
193
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
194
194
|
renderCell: U,
|
|
195
|
-
className:
|
|
195
|
+
className: E.formsTableBody,
|
|
196
196
|
dataTestId: `forms-table-${r}`
|
|
197
197
|
}
|
|
198
198
|
)
|
|
@@ -215,14 +215,14 @@ const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "FormsTable-module_cu
|
|
|
215
215
|
children: /* @__PURE__ */ i(
|
|
216
216
|
he,
|
|
217
217
|
{
|
|
218
|
-
observations:
|
|
219
|
-
isLoading:
|
|
220
|
-
isError: $ ||
|
|
218
|
+
observations: Z,
|
|
219
|
+
isLoading: V || z,
|
|
220
|
+
isError: $ || Q,
|
|
221
221
|
errorMessage: W,
|
|
222
222
|
emptyStateMessage: n("NO_FORM_DATA_AVAILABLE"),
|
|
223
223
|
testIdPrefix: a.formName,
|
|
224
|
-
hideThumbnail:
|
|
225
|
-
controlOrder:
|
|
224
|
+
hideThumbnail: w,
|
|
225
|
+
controlOrder: Y,
|
|
226
226
|
sectionMap: J
|
|
227
227
|
}
|
|
228
228
|
)
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
import { jsx as d, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { f as H, J as
|
|
2
|
+
import { f as H, J as U, t as K, e as V, F as w, X as k, g as j, Q as q, u as G, a as P, o as J, U as z, v as X, h as Y, k as W, s as Z, l as x, j as ee } from "./index-5LDkoVtj.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
|
-
import { useTranslation as
|
|
5
|
+
import { useTranslation as D } from "react-i18next";
|
|
6
6
|
const B = (t, i, c, l, u, r) => {
|
|
7
7
|
const s = K(t, i, u), o = s.value, a = V(o);
|
|
8
8
|
let n = o;
|
|
@@ -38,7 +38,7 @@ const B = (t, i, c, l, u, r) => {
|
|
|
38
38
|
`obs-${t.id}`
|
|
39
39
|
);
|
|
40
40
|
}, re = (t, i, c, l, u, r, s) => /* @__PURE__ */ d(
|
|
41
|
-
|
|
41
|
+
U,
|
|
42
42
|
{
|
|
43
43
|
title: t.display,
|
|
44
44
|
id: `grouped-obs-${t.display}-${l}`,
|
|
@@ -60,10 +60,10 @@ const B = (t, i, c, l, u, r) => {
|
|
|
60
60
|
title: i = "",
|
|
61
61
|
hideThumbnail: c
|
|
62
62
|
}) => {
|
|
63
|
-
const { t: l } =
|
|
63
|
+
const { t: l } = D(), u = (r, s, o) => {
|
|
64
64
|
const a = H(r.encounterDetails, l);
|
|
65
65
|
return /* @__PURE__ */ N(
|
|
66
|
-
|
|
66
|
+
U,
|
|
67
67
|
{
|
|
68
68
|
title: a,
|
|
69
69
|
id: `encounter-${r.encounterId}`,
|
|
@@ -114,7 +114,7 @@ const B = (t, i, c, l, u, r) => {
|
|
|
114
114
|
conceptNames: c = [],
|
|
115
115
|
conceptUuid: l = [],
|
|
116
116
|
hideThumbnail: u = !1
|
|
117
|
-
} = i, r = oe(/* @__PURE__ */ new Set()), s = G(), { addNotification: o } = P(), { t: a } =
|
|
117
|
+
} = i, r = oe(/* @__PURE__ */ new Set()), s = G(), { addNotification: o } = P(), { t: a } = D(), n = te({
|
|
118
118
|
queries: c.map((e) => ({
|
|
119
119
|
queryKey: ce(e),
|
|
120
120
|
queryFn: () => J(e),
|
|
@@ -91697,7 +91697,8 @@ class lEt {
|
|
|
91697
91697
|
appointmentNumber: e.appointmentNumber,
|
|
91698
91698
|
appointmentDate: gt(e.startDateTime, r, !0).formattedResult,
|
|
91699
91699
|
appointmentReason: this.getAppointmentReasons(e),
|
|
91700
|
-
appointmentStatus: e.status
|
|
91700
|
+
appointmentStatus: e.status,
|
|
91701
|
+
appointmentServiceUuid: e.service?.uuid
|
|
91701
91702
|
});
|
|
91702
91703
|
/**
|
|
91703
91704
|
* Extract and format appointment reasons
|
|
@@ -95928,7 +95929,7 @@ const iMt = [
|
|
|
95928
95929
|
},
|
|
95929
95930
|
{
|
|
95930
95931
|
type: "patientDocuments",
|
|
95931
|
-
component: Ir(() => import("./DocumentsTable-
|
|
95932
|
+
component: Ir(() => import("./DocumentsTable-DoSAODvG.js"))
|
|
95932
95933
|
},
|
|
95933
95934
|
{
|
|
95934
95935
|
type: "flowSheet",
|
|
@@ -95936,7 +95937,7 @@ const iMt = [
|
|
|
95936
95937
|
},
|
|
95937
95938
|
{
|
|
95938
95939
|
type: "forms",
|
|
95939
|
-
component: Ir(() => import("./FormsTable-
|
|
95940
|
+
component: Ir(() => import("./FormsTable-DEtGhXWv.js"))
|
|
95940
95941
|
},
|
|
95941
95942
|
{
|
|
95942
95943
|
type: "labOrders",
|
|
@@ -95944,7 +95945,7 @@ const iMt = [
|
|
|
95944
95945
|
},
|
|
95945
95946
|
{
|
|
95946
95947
|
type: "observations",
|
|
95947
|
-
component: Ir(() => import("./Observations-
|
|
95948
|
+
component: Ir(() => import("./Observations-Bz_9txk-.js"))
|
|
95948
95949
|
},
|
|
95949
95950
|
{
|
|
95950
95951
|
type: "ordersControl",
|
|
@@ -96120,20 +96121,20 @@ const lxt = (t) => {
|
|
|
96120
96121
|
) });
|
|
96121
96122
|
};
|
|
96122
96123
|
export {
|
|
96123
|
-
|
|
96124
|
-
|
|
96125
|
-
|
|
96124
|
+
qMt as $,
|
|
96125
|
+
kMt as A,
|
|
96126
|
+
BMt as B,
|
|
96126
96127
|
Blt as C,
|
|
96127
96128
|
WMt as D,
|
|
96128
|
-
|
|
96129
|
+
lbe as E,
|
|
96129
96130
|
tit as F,
|
|
96130
|
-
|
|
96131
|
-
|
|
96131
|
+
gt as G,
|
|
96132
|
+
pyt as H,
|
|
96132
96133
|
Oyt as I,
|
|
96133
96134
|
yMt as J,
|
|
96134
96135
|
rxt as K,
|
|
96135
96136
|
iEt as L,
|
|
96136
|
-
|
|
96137
|
+
Ewt as M,
|
|
96137
96138
|
QHt as N,
|
|
96138
96139
|
ebe as O,
|
|
96139
96140
|
h1 as P,
|
|
@@ -96141,13 +96142,13 @@ export {
|
|
|
96141
96142
|
va as R,
|
|
96142
96143
|
txt as S,
|
|
96143
96144
|
wa as T,
|
|
96144
|
-
|
|
96145
|
+
PMt as U,
|
|
96145
96146
|
REt as V,
|
|
96146
|
-
|
|
96147
|
+
qHt as W,
|
|
96147
96148
|
xlt as X,
|
|
96148
|
-
|
|
96149
|
+
Jmt as Y,
|
|
96149
96150
|
us as Z,
|
|
96150
|
-
|
|
96151
|
+
GMt as _,
|
|
96151
96152
|
o1 as a,
|
|
96152
96153
|
WHt as a0,
|
|
96153
96154
|
kc as a1,
|
|
@@ -96172,29 +96173,29 @@ export {
|
|
|
96172
96173
|
sMt as ak,
|
|
96173
96174
|
mxt as al,
|
|
96174
96175
|
gxt as am,
|
|
96175
|
-
|
|
96176
|
-
|
|
96177
|
-
|
|
96178
|
-
|
|
96176
|
+
xa as b,
|
|
96177
|
+
UMt as c,
|
|
96178
|
+
FMt as d,
|
|
96179
|
+
xhe as e,
|
|
96179
96180
|
YMt as f,
|
|
96180
|
-
|
|
96181
|
-
|
|
96182
|
-
|
|
96181
|
+
Ilt as g,
|
|
96182
|
+
XMt as h,
|
|
96183
|
+
jMt as i,
|
|
96183
96184
|
Or as j,
|
|
96184
|
-
|
|
96185
|
+
QMt as k,
|
|
96185
96186
|
oc as l,
|
|
96186
96187
|
KMt as m,
|
|
96187
96188
|
f7t as n,
|
|
96188
|
-
|
|
96189
|
+
ZMt as o,
|
|
96189
96190
|
P7t as p,
|
|
96190
96191
|
Dr as q,
|
|
96191
96192
|
Egt as r,
|
|
96192
|
-
|
|
96193
|
+
ext as s,
|
|
96193
96194
|
JMt as t,
|
|
96194
96195
|
n1 as u,
|
|
96195
|
-
|
|
96196
|
-
|
|
96196
|
+
hn as v,
|
|
96197
|
+
Ngt as w,
|
|
96197
96198
|
zvt as x,
|
|
96198
96199
|
tbe as y,
|
|
96199
|
-
|
|
96200
|
+
ayt as z
|
|
96200
96201
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a9 as s, a7 as t, n as o, a6 as r, p as n, a4 as g, N as l, r as P, C as c,
|
|
1
|
+
import { a9 as s, a7 as t, n as o, a6 as r, p as n, a4 as g, N as l, r as P, C as c, w as d, D as v, a5 as m, z as T, I as u, L as C, aj as b, al as I, am as A, M as f, Y as p, _ as L, O as D, m as R, H as S, K as W, y as E, x as N, S as y, E as O, a3 as _, V as x, ab as H, aa as U, ah as h, ag as G, 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-5LDkoVtj.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -30,23 +30,23 @@ export {
|
|
|
30
30
|
N as RadiologyInvestigationTable,
|
|
31
31
|
y as SearchPatient,
|
|
32
32
|
O as TaskList,
|
|
33
|
-
|
|
33
|
+
_ as UserPrivilegeProvider,
|
|
34
34
|
x as VitalFlowSheet,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
H as createConfigHook,
|
|
36
|
+
U as createConfigProvider,
|
|
37
37
|
h as getAllWidgetConfigs,
|
|
38
|
-
|
|
38
|
+
G as getAllWidgetTypes,
|
|
39
39
|
V as getWidget,
|
|
40
40
|
k as getWidgetConfig,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
M as hasWidget,
|
|
42
|
+
w as registerWidget,
|
|
43
|
+
z as resetWidgetRegistry,
|
|
44
44
|
j as useActivePractitioner,
|
|
45
45
|
q as useCommandPalette,
|
|
46
46
|
B as useDebounce,
|
|
47
47
|
F as useHasPrivilege,
|
|
48
48
|
K as useLocation,
|
|
49
|
-
|
|
49
|
+
Y as useNotification,
|
|
50
50
|
J as usePatientUUID,
|
|
51
51
|
Q as useUserPrivilege
|
|
52
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppointmentSearchStrategy.d.ts","sourceRoot":"","sources":["../../../src/searchPatient/strategies/AppointmentSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,yBAAyB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAC9D,QAAQ,CAAC,IAAI,EAAG,aAAa,CAAU;IAEvC;;OAEG;IACG,OAAO,CACX,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC;IAUrC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAOzC;;OAEG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAoB1B;;OAEG;IACH,OAAO,CAAC,oCAAoC;IAY5C;;OAEG;IACH,OAAO,CAAC,kCAAkC,
|
|
1
|
+
{"version":3,"file":"AppointmentSearchStrategy.d.ts","sourceRoot":"","sources":["../../../src/searchPatient/strategies/AppointmentSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,yBAAyB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAC9D,QAAQ,CAAC,IAAI,EAAG,aAAa,CAAU;IAEvC;;OAEG;IACG,OAAO,CACX,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC;IAUrC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAOzC;;OAEG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAoB1B;;OAEG;IACH,OAAO,CAAC,oCAAoC;IAY5C;;OAEG;IACH,OAAO,CAAC,kCAAkC,CAgCvC;IAEH;;OAEG;IACH,OAAO,CAAC,qBAAqB;CAS9B"}
|