@bahmni/clinical-app 0.0.1-dev.363 → 0.0.1-dev.365
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/{ConsultationPage-DsRw8YYn.js → ConsultationPage-C8BOxRLv.js} +14 -14
- package/dist/{DocumentsTable-ClhCu3Gn-Tup4hVRb.js → DocumentsTable-BWbfHojx-BoJ4GfO7.js} +29 -29
- package/dist/{FormsTable-B1Jf7c-q-Crxaz3NO.js → FormsTable-BkPPf52G-D_1gK3Rm.js} +29 -29
- package/dist/{LNWAZHJI-Ib9pzjmH.js → LNWAZHJI-BLAX132k.js} +2 -2
- package/dist/{MWZ6AO7Z-CDcmt8y2.js → MWZ6AO7Z-5DuUKAOs.js} +2 -2
- package/dist/{Observations-BU2hE5R4-dUv2oABZ.js → Observations-CGkWnlr8-DBPXd4-Q.js} +22 -22
- package/dist/{YPM2AS64-C16VLrcR.js → YPM2AS64-jEor02Sd.js} +1 -1
- package/dist/{hook-Co0J9NE_.js → hook-BIEi04O4.js} +1 -1
- package/dist/{index-2_vXyzzs.js → index-BlVbMbpX.js} +1 -1
- package/dist/{index-zVjXa4YT.js → index-CT4GlHU2.js} +3 -3
- package/dist/{index-DQ3rDVjy.js → index-Chw6QDJN.js} +37 -37
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +2 -2
- package/dist/locales/locale_es.json +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { B as H, E as ENCOUNTER_CONCEPTS_URL, Y as Yr, D as Di, C as BAHMNI_USER_LOCATION_COOKIE_NAME, u as useTranslation, F as Dm, L as pSe, g as gr, N as kH2, P as IH2, T as TH2, Q as gM2, V as rc1, W as AH2, X as vE, Z as Ii, a0 as Id, a1 as iE, a2 as Nd, a3 as Es, a4 as dist, a5 as yt, a6 as ge, a7 as ns, a8 as Ib, a9 as Vb, aa as Hb, ab as BH2, ac as KH2, ad as oV2, K as K1, v as v3, ae as Bb, af as sH2, ag as VH2, ah as pC2, ai as XH2, aj as JH2, O as OYt, ak as w_, al as RH2, am as q_, an as Os, ao as __, ap as iv, aq as Fb, ar as HH2, as as Jb, at as Zb, au as CLINICAL_V2_CONFIG_BASE_URL, av as s_, aw as PE, ax as Qr, ay as t_, az as Cb, aA as cv, aB as Og2, aC as v_, aD as n_, aE as o_, aF as dv, aG as DH2, aH as Sv, aI as Nb, aJ as a_, aK as Kt, aL as jr, aM as yv, aN as vv, J as J0, aO as B_, aP as S_, aQ as A_, H as HYt, aR as iC2, aS as sC2, aT as G_, aU as Y_, aV as STOP_REASON_VALUESET_URL, aW as STOP_REASON_VALUESET_EXPAND_URL, aX as STOP_MEDICATION_URL, aY as CH2, aZ as mf, a_ as Zn, a$ as oC2, b0 as z_, b1 as K_, b2 as jE, b3 as Pb, b4 as FE, b5 as J_, b6 as an, b7 as N4, b8 as c3, b9 as rC2, ba as Q_, bb as X_, bc as Pi, bd as rs, be as C_, bf as Gb, bg as Tv, bh as uv, bi as lv, bj as av, bk as CDSS_SERVER_CONFIG_URL, bl as IYt, bm as UH2, bn as Jy, bo as L_, bp as x_, bq as $H2, br as ml1, bs as U_, bt as M_, bu as k_, bv as VYt, bw as gYt, bx as HE, by as F_, bz as GH2, bA as rE, bB as BAHMNI_CLINICAL_PATH, bC as bE, bD as H_, bE as qH2, bF as WH2, bG as QE2, bH as zGt, bI as EE, bJ as CYt } from "./index-Chw6QDJN.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { createContext, useContext, useState, useCallback, useEffect, useMemo, Children, useRef, useLayoutEffect, forwardRef, isValidElement, cloneElement, useReducer, Component, useImperativeHandle, PureComponent, createRef, useSyncExternalStore, Suspense } from "react";
|
|
5
5
|
import { useQuery, useQueries, useQueryClient } from "@tanstack/react-query";
|
|
6
6
|
import { useNavigate, useSearchParams } from "react-router-dom";
|
|
7
|
-
import { u as useClinicalConfig } from "./hook-
|
|
7
|
+
import { u as useClinicalConfig } from "./hook-BIEi04O4.js";
|
|
8
8
|
import * as ReactDOM from "react-dom";
|
|
9
9
|
import ReactDOM__default, { createPortal } from "react-dom";
|
|
10
10
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -139626,9 +139626,9 @@ const allergiesFormTile = "AllergiesForm-module_allergiesFormTile__1UsbU", aller
|
|
|
139626
139626
|
duplicateNotification: duplicateNotification$2
|
|
139627
139627
|
}, allergiesQueryKeys = (p) => ["allergies", p], AllergiesForm = React__default.memo(({ encounterSessionStartContext: p }) => {
|
|
139628
139628
|
const c = !!p?.preloadedAllergies, { t: a } = useTranslation(), s = gr(), { addNotification: f } = K1(), d = v3(
|
|
139629
|
-
|
|
139629
|
+
OYt.ALLERGIES
|
|
139630
139630
|
), h = v3(
|
|
139631
|
-
|
|
139631
|
+
OYt.EDIT_ALLERGIES
|
|
139632
139632
|
), [E, C] = useState(""), [R, T] = useState(null), [M, x] = useState(!1), [I, k] = useState(
|
|
139633
139633
|
null
|
|
139634
139634
|
), {
|
|
@@ -139951,7 +139951,7 @@ const investigationsFormTile = "InvestigationsForm-module_investigationsFormTile
|
|
|
139951
139951
|
duplicateNotification: duplicateNotification$1
|
|
139952
139952
|
}, InvestigationsForm = React__default.memo(() => {
|
|
139953
139953
|
const { t: p } = useTranslation(), c = gr(), { addNotification: a } = K1(), s = v3(
|
|
139954
|
-
|
|
139954
|
+
OYt.INVESTIGATIONS
|
|
139955
139955
|
), [f, d] = useState(""), [h, E] = useState(null), [C, R] = useState(!1), { activeEncounter: T, matchReasons: M } = q_(), I = M.includes("MATCHED") ? T?.id : void 0, {
|
|
139956
139956
|
data: k,
|
|
139957
139957
|
refetch: N,
|
|
@@ -140364,7 +140364,7 @@ const conditionsAndDiagnosesTile = "ConditionsAndDiagnoses-module_conditionsAndD
|
|
|
140364
140364
|
duplicateNotification
|
|
140365
140365
|
}, ConditionsAndDiagnoses = React__default.memo(() => {
|
|
140366
140366
|
const { t: p } = useTranslation(), c = gr(), { addNotification: a } = K1(), s = v3(
|
|
140367
|
-
|
|
140367
|
+
OYt.CONDITIONS_AND_DIAGNOSES
|
|
140368
140368
|
), [f, d] = useState(""), [h, E] = useState(null), [C, R] = useState(!1), {
|
|
140369
140369
|
selectedDiagnoses: T,
|
|
140370
140370
|
selectedConditions: M,
|
|
@@ -143319,7 +143319,7 @@ function useSubmittedEncounterForms(p) {
|
|
|
143319
143319
|
), useMemo(() => {
|
|
143320
143320
|
const C = d?.entry?.map((T) => T.resource).filter((T) => T?.resourceType === "Observation") ?? [], R = /* @__PURE__ */ new Set();
|
|
143321
143321
|
for (const T of C) {
|
|
143322
|
-
const M =
|
|
143322
|
+
const M = HYt(T);
|
|
143323
143323
|
if (!M) continue;
|
|
143324
143324
|
const x = p.find((I) => I.name === M);
|
|
143325
143325
|
x && R.add(x.uuid);
|
|
@@ -143344,7 +143344,7 @@ const observationFormsTile = "ObservationForms-module_observationFormsTile__AZ0b
|
|
|
143344
143344
|
submittedFormUuids: R = EMPTY_SET
|
|
143345
143345
|
}) => {
|
|
143346
143346
|
const { t: T } = useTranslation(), M = v3(
|
|
143347
|
-
|
|
143347
|
+
OYt.OBSERVATIONS
|
|
143348
143348
|
), [x, I] = useState(""), [k, N] = useState(null), { getFormData: O } = useObservationFormsStore(), z = useMemo(() => {
|
|
143349
143349
|
if (!x.trim()) return h;
|
|
143350
143350
|
const ee = x.toLowerCase().trim().split(/\s+/);
|
|
@@ -144921,7 +144921,7 @@ const ConsultationPad = ({
|
|
|
144921
144921
|
visitUuids: f
|
|
144922
144922
|
}) => {
|
|
144923
144923
|
const { t: d } = useTranslation(), { matchReasons: h, canEditOrCreate: E, activeEncounter: C } = q_(), R = h.includes("NO_ACTIVE_VISIT"), T = h.includes("MATCHED"), x = h.includes("MATCHED") ? C?.id ?? null : null, I = (N, O, z) => {
|
|
144924
|
-
const B =
|
|
144924
|
+
const B = IYt(N.type);
|
|
144925
144925
|
if (!B)
|
|
144926
144926
|
return /* @__PURE__ */ jsx("div", { className: styles$4.widgetError, children: /* @__PURE__ */ jsx("p", { children: d("CONTROL_NOT_FOUND", { type: N.type }) }) }, `${N.type}-${O}`);
|
|
144927
144927
|
const Z = O < z - 1;
|
|
@@ -145115,7 +145115,7 @@ const CONSULTATION_START_EVENT = "startConsultation", dispatchConsultationStart
|
|
|
145115
145115
|
}) => {
|
|
145116
145116
|
const { t: s } = useTranslation();
|
|
145117
145117
|
return v3(
|
|
145118
|
-
|
|
145118
|
+
OYt.ENCOUNTER
|
|
145119
145119
|
) ? a ? /* @__PURE__ */ jsx(
|
|
145120
145120
|
$H2,
|
|
145121
145121
|
{
|
|
@@ -145194,7 +145194,7 @@ const CONSULTATION_START_EVENT = "startConsultation", dispatchConsultationStart
|
|
|
145194
145194
|
"data-active-encounter-uuid": T && M?.id ? M.id : void 0,
|
|
145195
145195
|
"data-active-practitioner-uuid": s?.uuid ?? void 0,
|
|
145196
145196
|
children: [
|
|
145197
|
-
/* @__PURE__ */ jsx(
|
|
145197
|
+
/* @__PURE__ */ jsx(VYt, {}),
|
|
145198
145198
|
/* @__PURE__ */ jsxs("div", { className: styles$2.actionButtons, children: [
|
|
145199
145199
|
/* @__PURE__ */ jsx(
|
|
145200
145200
|
ConsultationActionButton,
|
|
@@ -145205,7 +145205,7 @@ const CONSULTATION_START_EVENT = "startConsultation", dispatchConsultationStart
|
|
|
145205
145205
|
}
|
|
145206
145206
|
),
|
|
145207
145207
|
/* @__PURE__ */ jsx(
|
|
145208
|
-
|
|
145208
|
+
gYt,
|
|
145209
145209
|
{
|
|
145210
145210
|
printOptions: c,
|
|
145211
145211
|
renderContext: Z,
|
|
@@ -145549,7 +145549,7 @@ const DASHBOARD_CONFIG_URL = (p) => `${CLINICAL_V2_CONFIG_BASE_URL}/dashboards/$
|
|
|
145549
145549
|
const re = () => {
|
|
145550
145550
|
const ae = M.get(PROGRAM_UUID_SEARCH_PARAMS_KEY);
|
|
145551
145551
|
return ae && c.contextInformation?.program ? /* @__PURE__ */ jsx(
|
|
145552
|
-
|
|
145552
|
+
CYt,
|
|
145553
145553
|
{
|
|
145554
145554
|
programUUID: ae,
|
|
145555
145555
|
config: {
|
|
@@ -145568,7 +145568,7 @@ const DASHBOARD_CONFIG_URL = (p) => `${CLINICAL_V2_CONFIG_BASE_URL}/dashboards/$
|
|
|
145568
145568
|
{
|
|
145569
145569
|
breadcrumbItems: B,
|
|
145570
145570
|
globalActions: k,
|
|
145571
|
-
userMenu: /* @__PURE__ */ jsx(
|
|
145571
|
+
userMenu: /* @__PURE__ */ jsx(zGt, {}),
|
|
145572
145572
|
sideNavItems: te,
|
|
145573
145573
|
activeSideNavItemId: ee,
|
|
145574
145574
|
onSideNavItemClick: le,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { g as G, u as Y, K as W,
|
|
2
|
+
import { g as G, u as Y, K as W, w as J, a as X, b as Z, U as ee, p as te } from "./index-Chw6QDJN.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
|
-
import { useState as l, useCallback as h, useEffect as
|
|
4
|
+
import { useState as l, useCallback as h, useEffect as I, useMemo as _ } from "react";
|
|
5
5
|
const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
|
|
6
6
|
documentsTableBody: ne,
|
|
7
7
|
viewAttachmentsLink: oe,
|
|
@@ -33,23 +33,23 @@ const Te = [
|
|
|
33
33
|
"attachments",
|
|
34
34
|
"uploadedOn",
|
|
35
35
|
"uploadedBy"
|
|
36
|
-
], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, B = (a) => a.attachments.length > 0 ? a.attachments : a.documentUrl ? [{ url: a.documentUrl, contentType: a.contentType }] : [],
|
|
37
|
-
const [s,
|
|
36
|
+
], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, B = (a) => a.attachments.length > 0 ? a.attachments : a.documentUrl ? [{ url: a.documentUrl, contentType: a.contentType }] : [], Ne = ({ config: a, encounterUuids: g }) => {
|
|
37
|
+
const [s, S] = l(!1), [o, U] = l(
|
|
38
38
|
null
|
|
39
|
-
), [$,
|
|
39
|
+
), [$, O] = l(
|
|
40
40
|
/* @__PURE__ */ new Set()
|
|
41
|
-
), E = G(), { t: n } = Y(), { addNotification: L } = W(), k = Number(a?.pageSize) || 5, [
|
|
42
|
-
|
|
41
|
+
), E = G(), { t: n } = Y(), { addNotification: L } = W(), k = Number(a?.pageSize) || 5, [f, C] = l(1), [u, V] = l(k), [F, A] = l(void 0), M = h((e) => {
|
|
42
|
+
U(e), S(!0);
|
|
43
43
|
}, []), H = h(() => {
|
|
44
|
-
|
|
44
|
+
S(!1), U(null), O(/* @__PURE__ */ new Set());
|
|
45
45
|
}, []), v = h((e) => {
|
|
46
|
-
|
|
46
|
+
O((t) => new Set(t).add(e));
|
|
47
47
|
}, []), { data: i, isLoading: q, isError: b, error: y } = ae({
|
|
48
48
|
queryKey: [
|
|
49
49
|
"documents",
|
|
50
50
|
E,
|
|
51
51
|
g,
|
|
52
|
-
|
|
52
|
+
f,
|
|
53
53
|
u
|
|
54
54
|
],
|
|
55
55
|
enabled: !!E,
|
|
@@ -57,36 +57,36 @@ const Te = [
|
|
|
57
57
|
E,
|
|
58
58
|
g,
|
|
59
59
|
u,
|
|
60
|
-
|
|
60
|
+
f
|
|
61
61
|
)
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
I(() => {
|
|
64
64
|
i && A(i.total);
|
|
65
|
-
}, [i]),
|
|
65
|
+
}, [i]), I(() => {
|
|
66
66
|
C(1), A(void 0);
|
|
67
|
-
}, [E]),
|
|
67
|
+
}, [E]), I(() => {
|
|
68
68
|
b && L({
|
|
69
69
|
title: n("ERROR_DEFAULT_TITLE"),
|
|
70
70
|
message: y?.message ?? "",
|
|
71
71
|
type: "error"
|
|
72
72
|
});
|
|
73
|
-
}, [b, y, L, n]),
|
|
73
|
+
}, [b, y, L, n]), I(() => {
|
|
74
74
|
const e = new AbortController();
|
|
75
75
|
return (async () => {
|
|
76
76
|
if (!s || !o) return;
|
|
77
77
|
const t = /* @__PURE__ */ new Set(), m = B(o);
|
|
78
78
|
for (let c = 0; c < m.length; c++) {
|
|
79
|
-
const
|
|
79
|
+
const w = R(m[c].url);
|
|
80
80
|
try {
|
|
81
|
-
(await fetch(
|
|
81
|
+
(await fetch(w, {
|
|
82
82
|
method: "HEAD",
|
|
83
83
|
signal: e.signal
|
|
84
84
|
})).ok || t.add(c);
|
|
85
|
-
} catch (
|
|
86
|
-
|
|
85
|
+
} catch (D) {
|
|
86
|
+
D instanceof Error && D.name !== "AbortError" && t.add(c);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
e.signal.aborted ||
|
|
89
|
+
e.signal.aborted || O(t);
|
|
90
90
|
})(), () => e.abort();
|
|
91
91
|
}, [s, o]);
|
|
92
92
|
const K = h(
|
|
@@ -94,15 +94,15 @@ const Te = [
|
|
|
94
94
|
t !== u ? (V(t), C(1), A(void 0)) : C(e);
|
|
95
95
|
},
|
|
96
96
|
[u]
|
|
97
|
-
),
|
|
97
|
+
), N = _(
|
|
98
98
|
() => a?.fields ?? Te,
|
|
99
99
|
[a?.fields]
|
|
100
|
-
), j = _(() => [...i?.documents ?? []].sort((e, t) => !e.uploadedOn && !t.uploadedOn ? 0 : e.uploadedOn ? t.uploadedOn ? new Date(t.uploadedOn).getTime() - new Date(e.uploadedOn).getTime() : -1 : 1), [i]), P = _(() => ie(
|
|
101
|
-
() =>
|
|
100
|
+
), j = _(() => [...i?.documents ?? []].sort((e, t) => !e.uploadedOn && !t.uploadedOn ? 0 : e.uploadedOn ? t.uploadedOn ? new Date(t.uploadedOn).getTime() - new Date(e.uploadedOn).getTime() : -1 : 1), [i]), P = _(() => ie(N, n), [N, n]), z = _(
|
|
101
|
+
() => N.map((e) => ({
|
|
102
102
|
key: e,
|
|
103
103
|
sortable: e !== "attachments"
|
|
104
104
|
})),
|
|
105
|
-
[
|
|
105
|
+
[N]
|
|
106
106
|
), T = _(
|
|
107
107
|
() => o ? B(o) : [],
|
|
108
108
|
[o]
|
|
@@ -153,7 +153,7 @@ const Te = [
|
|
|
153
153
|
dataTestId: "documents-table",
|
|
154
154
|
pageSize: u,
|
|
155
155
|
totalItems: F,
|
|
156
|
-
page:
|
|
156
|
+
page: f,
|
|
157
157
|
onPageChange: K
|
|
158
158
|
}
|
|
159
159
|
) }),
|
|
@@ -169,8 +169,8 @@ const Te = [
|
|
|
169
169
|
size: "lg",
|
|
170
170
|
testId: "document-view-modal",
|
|
171
171
|
children: /* @__PURE__ */ r("div", { className: d.documentViewerContainer, children: T.map((e, t) => {
|
|
172
|
-
const m = R(e.url), c = e.contentType?.toLowerCase().includes("pdf"),
|
|
173
|
-
return m === "#" ||
|
|
172
|
+
const m = R(e.url), c = e.contentType?.toLowerCase().includes("pdf"), w = (e.contentType?.toLowerCase().includes("image") ?? !1) || pe.test(e.url ?? ""), D = $.has(t);
|
|
173
|
+
return m === "#" || D ? /* @__PURE__ */ p(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
176
|
className: d.attachmentError,
|
|
@@ -196,7 +196,7 @@ const Te = [
|
|
|
196
196
|
"/",
|
|
197
197
|
T.length
|
|
198
198
|
] }),
|
|
199
|
-
|
|
199
|
+
w ? /* @__PURE__ */ r(
|
|
200
200
|
"img",
|
|
201
201
|
{
|
|
202
202
|
src: m,
|
|
@@ -223,5 +223,5 @@ const Te = [
|
|
|
223
223
|
] });
|
|
224
224
|
};
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
Ne as default
|
|
227
227
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as i, jsxs as G, Fragment as
|
|
2
|
-
import { u as ge, g as pe, v as be, J as
|
|
3
|
-
import { useQueryClient as Me, useQuery as
|
|
1
|
+
import { jsx as i, jsxs as G, Fragment as ye } from "react/jsx-runtime";
|
|
2
|
+
import { u as ge, g as pe, v as be, J as Oe, c as Ne, m as Te, h as Ie, f as Ee, e as Ae, d as ve, R as _e, H as Se, s as K, b as Fe, i as Y, t as x, a as Re, U as P, S as Ue, $ as Ce, p as Be, G as Le, O as De } from "./index-Chw6QDJN.js";
|
|
3
|
+
import { useQueryClient as Me, useQuery as N } from "@tanstack/react-query";
|
|
4
4
|
import { useState as Q, useMemo as d, useCallback as l } from "react";
|
|
5
5
|
const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_modalHeading__wnTmA", we = "FormsTable-module_customAccordianItem__isszs", T = {
|
|
6
6
|
formsTableBody: ke,
|
|
@@ -11,7 +11,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
11
11
|
encounterUuids: u,
|
|
12
12
|
config: J,
|
|
13
13
|
disableActions: X = !1,
|
|
14
|
-
activeEncounterUuid:
|
|
14
|
+
activeEncounterUuid: y = null
|
|
15
15
|
}) => {
|
|
16
16
|
const { t: n } = ge(), c = pe(), [g, U] = Q(!1), [s, C] = Q(null), {
|
|
17
17
|
numberOfVisits: Z,
|
|
@@ -19,7 +19,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
19
19
|
forms: p
|
|
20
20
|
} = J ?? {}, ee = be(
|
|
21
21
|
De.EDIT_OBSERVATIONS
|
|
22
|
-
), { userPrivileges: b } =
|
|
22
|
+
), { userPrivileges: b } = Oe(), I = ee && !X && !!y, B = Ne(
|
|
23
23
|
R,
|
|
24
24
|
u
|
|
25
25
|
), re = Me(), {
|
|
@@ -28,7 +28,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
28
28
|
isError: M,
|
|
29
29
|
error: oe,
|
|
30
30
|
refetch: ae
|
|
31
|
-
} =
|
|
31
|
+
} = N({
|
|
32
32
|
queryKey: ["forms", c, R],
|
|
33
33
|
queryFn: () => Te(c, void 0, Z),
|
|
34
34
|
enabled: !!c && !B
|
|
@@ -39,12 +39,12 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
39
39
|
)), Array.isArray(p) && p.length > 0 && (e = e.filter(
|
|
40
40
|
(r) => p.some((o) => o.toLowerCase() === r.formName.toLowerCase())
|
|
41
41
|
)), e;
|
|
42
|
-
}, [L, u, p]), { data:
|
|
42
|
+
}, [L, u, p]), { data: O = [] } = N({
|
|
43
43
|
queryKey: ["observationForms"],
|
|
44
44
|
queryFn: () => Ie()
|
|
45
45
|
}), q = l(
|
|
46
46
|
(e) => {
|
|
47
|
-
const r =
|
|
47
|
+
const r = O.find((a) => a.name === e);
|
|
48
48
|
if (!r?.privileges || r.privileges.length === 0) return !0;
|
|
49
49
|
if (!b || b.length === 0) return !1;
|
|
50
50
|
const o = new Set(b.map((a) => a.name));
|
|
@@ -52,13 +52,13 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
52
52
|
(a) => o.has(a.privilegeName) && a.editable
|
|
53
53
|
);
|
|
54
54
|
},
|
|
55
|
-
[
|
|
55
|
+
[O, b]
|
|
56
56
|
), f = l(
|
|
57
|
-
(e) => !
|
|
58
|
-
[
|
|
57
|
+
(e) => !y || e.encounterUuid !== y ? !1 : q(e.formName),
|
|
58
|
+
[y, q]
|
|
59
59
|
), w = l(
|
|
60
|
-
(e) =>
|
|
61
|
-
[
|
|
60
|
+
(e) => O.find((r) => r.name === e)?.uuid,
|
|
61
|
+
[O]
|
|
62
62
|
), E = d(() => {
|
|
63
63
|
if (s)
|
|
64
64
|
return w(s.formName);
|
|
@@ -67,7 +67,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
67
67
|
isLoading: te,
|
|
68
68
|
isError: se,
|
|
69
69
|
error: A
|
|
70
|
-
} =
|
|
70
|
+
} = N({
|
|
71
71
|
queryKey: ["formMetadata", E],
|
|
72
72
|
queryFn: () => Ee(E),
|
|
73
73
|
enabled: !!E && g
|
|
@@ -76,7 +76,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
76
76
|
isLoading: ne,
|
|
77
77
|
isError: ie,
|
|
78
78
|
error: _
|
|
79
|
-
} =
|
|
79
|
+
} = N({
|
|
80
80
|
queryKey: ["formsEncounterFHIR", s?.encounterUuid],
|
|
81
81
|
queryFn: () => Ae(s.encounterUuid),
|
|
82
82
|
enabled: !!s?.encounterUuid && g
|
|
@@ -117,19 +117,19 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
117
117
|
return K(A).message;
|
|
118
118
|
if (_)
|
|
119
119
|
return K(_).message;
|
|
120
|
-
}, [A, _]),
|
|
120
|
+
}, [A, _]), h = d(
|
|
121
121
|
() => [
|
|
122
122
|
{ key: "recordedOn", header: n("RECORDED_ON") },
|
|
123
123
|
{ key: "recordedBy", header: n("RECORDED_BY") }
|
|
124
124
|
],
|
|
125
125
|
[n]
|
|
126
126
|
), H = d(
|
|
127
|
-
() => [...
|
|
128
|
-
[
|
|
127
|
+
() => [...h, { key: "actions", header: n("ACTIONS") }],
|
|
128
|
+
[h, n]
|
|
129
129
|
), ce = l(
|
|
130
|
-
(e) => I && e.some((r) => f(r)) ? H :
|
|
131
|
-
[I, f, H,
|
|
132
|
-
), fe =
|
|
130
|
+
(e) => I && e.some((r) => f(r)) ? H : h,
|
|
131
|
+
[I, f, H, h]
|
|
132
|
+
), fe = h, he = d(
|
|
133
133
|
() => [
|
|
134
134
|
{ key: "recordedOn", sortable: !0 },
|
|
135
135
|
{ key: "recordedBy", sortable: !0 }
|
|
@@ -162,7 +162,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
162
162
|
).sort((r, o) => r.formName.localeCompare(o.formName));
|
|
163
163
|
}, [k, n]), $ = l((e) => {
|
|
164
164
|
C(e), U(!0);
|
|
165
|
-
}, []),
|
|
165
|
+
}, []), j = l(() => {
|
|
166
166
|
U(!1), C(null);
|
|
167
167
|
}, []), S = l((e) => {
|
|
168
168
|
globalThis.dispatchEvent(
|
|
@@ -176,7 +176,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
176
176
|
}
|
|
177
177
|
})
|
|
178
178
|
);
|
|
179
|
-
}, []),
|
|
179
|
+
}, []), z = l(
|
|
180
180
|
(e, r) => {
|
|
181
181
|
switch (r) {
|
|
182
182
|
case "recordedOn":
|
|
@@ -201,7 +201,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
201
201
|
},
|
|
202
202
|
[$, S, f, n]
|
|
203
203
|
);
|
|
204
|
-
return /* @__PURE__ */ G(
|
|
204
|
+
return /* @__PURE__ */ G(ye, { children: [
|
|
205
205
|
/* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children: D || M || V.length === 0 || B ? /* @__PURE__ */ i(
|
|
206
206
|
P,
|
|
207
207
|
{
|
|
@@ -211,7 +211,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
211
211
|
loading: D,
|
|
212
212
|
errorStateMessage: M ? oe?.message : void 0,
|
|
213
213
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
214
|
-
renderCell:
|
|
214
|
+
renderCell: z,
|
|
215
215
|
className: T.formsTableBody,
|
|
216
216
|
dataTestId: "forms-table"
|
|
217
217
|
}
|
|
@@ -232,9 +232,9 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
232
232
|
rows: a,
|
|
233
233
|
loading: !1,
|
|
234
234
|
errorStateMessage: "",
|
|
235
|
-
sortable:
|
|
235
|
+
sortable: he,
|
|
236
236
|
emptyStateMessage: n("FORMS_UNAVAILABLE"),
|
|
237
|
-
renderCell:
|
|
237
|
+
renderCell: z,
|
|
238
238
|
className: T.formsTableBody,
|
|
239
239
|
dataTestId: `forms-table-${o}`
|
|
240
240
|
}
|
|
@@ -249,7 +249,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
249
249
|
id: "modalIdForActionAreaLayout",
|
|
250
250
|
portalId: "main-display-area",
|
|
251
251
|
open: g,
|
|
252
|
-
onRequestClose:
|
|
252
|
+
onRequestClose: j,
|
|
253
253
|
modalHeading: /* @__PURE__ */ G("div", { className: T.modalHeading, children: [
|
|
254
254
|
/* @__PURE__ */ i("span", { children: s.formName }),
|
|
255
255
|
I && f(s) && /* @__PURE__ */ i(
|
|
@@ -260,7 +260,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
|
|
|
260
260
|
size: "sm",
|
|
261
261
|
testId: `edit-form-modal-${s.encounterUuid}`,
|
|
262
262
|
onClick: () => {
|
|
263
|
-
|
|
263
|
+
j(), S(s);
|
|
264
264
|
},
|
|
265
265
|
children: /* @__PURE__ */ i(x, {})
|
|
266
266
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { bN as d, bO as f, bP as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-jEor02Sd.js";
|
|
2
|
+
import { bN as d, bO as f, bP as e } from "./index-Chw6QDJN.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { bN as v, bO as C, bP as e } from "./index-
|
|
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-jEor02Sd.js";
|
|
2
|
+
import { bN as v, bO as C, bP as e } from "./index-Chw6QDJN.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as S, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { g as
|
|
2
|
+
import { g as B, K as V, u as N, j as M, k, d as x, x as Q, A as G, _ as j, l as w, U as z, M as H, q as A, n as P, o as J, I as W, r as X, y as Z, z as ee } from "./index-Chw6QDJN.js";
|
|
3
3
|
import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as $, useMemo as E } from "react";
|
|
5
|
-
const
|
|
5
|
+
const D = (a, n, d, l, b, r) => {
|
|
6
6
|
const t = P(a, n, b), s = t.value, o = J(s);
|
|
7
7
|
let i = s;
|
|
8
8
|
o === "Image" && (i = /* @__PURE__ */ u(
|
|
@@ -37,13 +37,13 @@ const A = (a, n, d, l, b, r) => {
|
|
|
37
37
|
`obs-${a.id}`
|
|
38
38
|
);
|
|
39
39
|
}, re = (a, n, d, l, b, r, t) => /* @__PURE__ */ u(
|
|
40
|
-
|
|
40
|
+
A,
|
|
41
41
|
{
|
|
42
42
|
title: a.display,
|
|
43
43
|
id: `grouped-obs-${a.display}-${l}`,
|
|
44
44
|
open: d,
|
|
45
45
|
children: a.members?.map(
|
|
46
|
-
(s, o) =>
|
|
46
|
+
(s, o) => D(
|
|
47
47
|
s,
|
|
48
48
|
o,
|
|
49
49
|
b,
|
|
@@ -60,16 +60,16 @@ const A = (a, n, d, l, b, r) => {
|
|
|
60
60
|
hideThumbnail: d
|
|
61
61
|
}) => {
|
|
62
62
|
const { t: l } = N(), b = (r, t, s) => {
|
|
63
|
-
const o =
|
|
63
|
+
const o = H(r.encounterDetails, l);
|
|
64
64
|
return /* @__PURE__ */ S(
|
|
65
|
-
|
|
65
|
+
A,
|
|
66
66
|
{
|
|
67
67
|
title: o,
|
|
68
68
|
id: `encounter-${r.encounterId}`,
|
|
69
69
|
open: t,
|
|
70
70
|
children: [
|
|
71
71
|
r.observations.map(
|
|
72
|
-
(i, m) =>
|
|
72
|
+
(i, m) => D(
|
|
73
73
|
i,
|
|
74
74
|
m,
|
|
75
75
|
s,
|
|
@@ -113,7 +113,7 @@ const A = (a, n, d, l, b, r) => {
|
|
|
113
113
|
conceptNames: d = [],
|
|
114
114
|
conceptUuid: l = [],
|
|
115
115
|
hideThumbnail: b = !1
|
|
116
|
-
} = n, r = se(/* @__PURE__ */ new Set()), t =
|
|
116
|
+
} = n, r = se(/* @__PURE__ */ new Set()), t = B(), { addNotification: s } = V(), { t: o } = N(), i = ae({
|
|
117
117
|
queries: d.map((e) => ({
|
|
118
118
|
queryKey: de(e),
|
|
119
119
|
queryFn: () => M(e),
|
|
@@ -123,10 +123,10 @@ const A = (a, n, d, l, b, r) => {
|
|
|
123
123
|
$(() => {
|
|
124
124
|
i.forEach((e, h) => {
|
|
125
125
|
if (e.isError && !r.current.has(h)) {
|
|
126
|
-
const
|
|
126
|
+
const q = d[h];
|
|
127
127
|
s({
|
|
128
128
|
title: o("ERROR_DEFAULT_TITLE"),
|
|
129
|
-
message: o("ERROR_FETCHING_CONCEPT", { conceptName:
|
|
129
|
+
message: o("ERROR_FETCHING_CONCEPT", { conceptName: q }),
|
|
130
130
|
type: "error"
|
|
131
131
|
}), r.current.add(h);
|
|
132
132
|
} else e.isError || r.current.delete(h);
|
|
@@ -134,7 +134,7 @@ const A = (a, n, d, l, b, r) => {
|
|
|
134
134
|
}, [i, d]);
|
|
135
135
|
const m = E(() => i.map((e) => e.data?.uuid).filter((e) => !!e), [i]), p = E(() => [.../* @__PURE__ */ new Set([...m, ...l])], [m, l]), y = E(() => d.length === 0 ? !0 : i.every((e) => !e.isLoading), [i, d.length]), {
|
|
136
136
|
data: c,
|
|
137
|
-
isLoading:
|
|
137
|
+
isLoading: F,
|
|
138
138
|
isError: g,
|
|
139
139
|
refetch: T
|
|
140
140
|
} = te({
|
|
@@ -158,13 +158,13 @@ const A = (a, n, d, l, b, r) => {
|
|
|
158
158
|
}, [g]);
|
|
159
159
|
const O = E(() => {
|
|
160
160
|
if (!c) return [];
|
|
161
|
-
const e =
|
|
162
|
-
return
|
|
163
|
-
}, [c]),
|
|
161
|
+
const e = Q(c), h = G(e);
|
|
162
|
+
return j(h);
|
|
163
|
+
}, [c]), L = [
|
|
164
164
|
{ key: "name", header: "name" },
|
|
165
165
|
{ key: "value", header: "value" },
|
|
166
166
|
{ key: "form", header: "form" }
|
|
167
|
-
],
|
|
167
|
+
], _ = F || !y, f = g && y, U = (!c || c.entry?.length === 0 || p.length === 0) && y, C = f ? o("ERROR_FETCHING_OBSERVATIONS") : null, K = U ? o("NO_OBSERVATIONS_FOUND") : void 0, Y = O.length > 0 && !_ && !f, R = n.titleTranslationKey, v = R ? o(R) : "";
|
|
168
168
|
return /* @__PURE__ */ S(
|
|
169
169
|
"div",
|
|
170
170
|
{
|
|
@@ -174,7 +174,7 @@ const A = (a, n, d, l, b, r) => {
|
|
|
174
174
|
className: I.observations,
|
|
175
175
|
children: [
|
|
176
176
|
/* @__PURE__ */ u(
|
|
177
|
-
|
|
177
|
+
w,
|
|
178
178
|
{
|
|
179
179
|
id: "observations-title",
|
|
180
180
|
testId: R ? `observations-title-${v}` : "observations-title",
|
|
@@ -183,7 +183,7 @@ const A = (a, n, d, l, b, r) => {
|
|
|
183
183
|
children: /* @__PURE__ */ u("p", { children: v })
|
|
184
184
|
}
|
|
185
185
|
),
|
|
186
|
-
|
|
186
|
+
Y ? /* @__PURE__ */ u(
|
|
187
187
|
oe,
|
|
188
188
|
{
|
|
189
189
|
groupedData: O,
|
|
@@ -191,14 +191,14 @@ const A = (a, n, d, l, b, r) => {
|
|
|
191
191
|
hideThumbnail: b
|
|
192
192
|
}
|
|
193
193
|
) : /* @__PURE__ */ u(
|
|
194
|
-
|
|
194
|
+
z,
|
|
195
195
|
{
|
|
196
|
-
headers:
|
|
196
|
+
headers: L,
|
|
197
197
|
rows: [],
|
|
198
198
|
ariaLabel: o("OBSERVATIONS"),
|
|
199
|
-
loading:
|
|
200
|
-
errorStateMessage:
|
|
201
|
-
emptyStateMessage:
|
|
199
|
+
loading: _,
|
|
200
|
+
errorStateMessage: C,
|
|
201
|
+
emptyStateMessage: K,
|
|
202
202
|
dataTestId: "observations-table"
|
|
203
203
|
}
|
|
204
204
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bQ as we, bR as z, bS as xt, bT as B, bO as q, bP as y, bU as Ro, bV as ye, bW as R, bX as _, bY as k, bZ as N, b_ as A, b$ as bs, c0 as ir, c1 as $e, c2 as U, c3 as Hn, c4 as Vn, c5 as dt, c6 as D, c7 as xs, c8 as cn, c9 as Be, ca as ws, cb as qt, cc as zt, cd as $s, ce as Cs, cf as $n, cg as Ss, ch as Nr, ci as Bt, cj as zo, ck as ks, cl as Es, cm as j, cn as Ur, co as Ms, cp as Ds, cq as sr, cr as As, cs as Ts, ct as zn, cu as Fs, cv as Is, cw as Z, cx as Ps, cy as Os } from "./index-
|
|
1
|
+
import { bQ as we, bR as z, bS as xt, bT as B, bO as q, bP as y, bU as Ro, bV as ye, bW as R, bX as _, bY as k, bZ as N, b_ as A, b$ as bs, c0 as ir, c1 as $e, c2 as U, c3 as Hn, c4 as Vn, c5 as dt, c6 as D, c7 as xs, c8 as cn, c9 as Be, ca as ws, cb as qt, cc as zt, cd as $s, ce as Cs, cf as $n, cg as Ss, ch as Nr, ci as Bt, cj as zo, ck as ks, cl as Es, cm as j, cn as Ur, co as Ms, cp as Ds, cq as sr, cr as As, cs as Ts, ct as zn, cu as Fs, cv as Is, cw as Z, cx as Ps, cy as Os } from "./index-Chw6QDJN.js";
|
|
2
2
|
var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r, cz as l, cA as o, cB as c, b7 as m, b8 as g, cC as p, cD as h, cE as b, aG as u } from "./index-
|
|
2
|
+
import { u as r, cz as l, cA as o, cB as c, b7 as m, b8 as g, cC as p, cD as h, cE as b, aG as u } from "./index-Chw6QDJN.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const E = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", H = "index-module_panel__j5vTu", s = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { bD as m, u, J as p, bA as f, bK as x, aG as _, bG as b } from "./index-
|
|
2
|
+
import { bD as m, u, J as p, bA as f, bK as x, aG as _, bG as b } from "./index-Chw6QDJN.js";
|
|
3
3
|
import { lazy as h, useMemo as l, Suspense as E } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as N } from "./hook-
|
|
5
|
+
import { u as N } from "./hook-BIEi04O4.js";
|
|
6
6
|
const P = (i) => {
|
|
7
7
|
const s = /* @__PURE__ */ new Map();
|
|
8
8
|
for (const e of i) {
|
|
@@ -14,7 +14,7 @@ const P = (i) => {
|
|
|
14
14
|
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(s, e.requiredPrivileges)
|
|
15
15
|
), C = {
|
|
16
16
|
"org.bahmni.clinical.v2.search": h(
|
|
17
|
-
() => import("./index-
|
|
17
|
+
() => import("./index-BlVbMbpX.js")
|
|
18
18
|
)
|
|
19
19
|
}, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_message__Ib5Iw", r = {
|
|
20
20
|
page: L,
|
|
@@ -110129,7 +110129,7 @@ const Fm0 = [
|
|
|
110129
110129
|
},
|
|
110130
110130
|
{
|
|
110131
110131
|
type: "patientDocuments",
|
|
110132
|
-
component: q0(() => import("./DocumentsTable-
|
|
110132
|
+
component: q0(() => import("./DocumentsTable-BWbfHojx-BoJ4GfO7.js"))
|
|
110133
110133
|
},
|
|
110134
110134
|
{
|
|
110135
110135
|
type: "flowSheet",
|
|
@@ -110137,7 +110137,7 @@ const Fm0 = [
|
|
|
110137
110137
|
},
|
|
110138
110138
|
{
|
|
110139
110139
|
type: "forms",
|
|
110140
|
-
component: q0(() => import("./FormsTable-
|
|
110140
|
+
component: q0(() => import("./FormsTable-BkPPf52G-D_1gK3Rm.js"))
|
|
110141
110141
|
},
|
|
110142
110142
|
{
|
|
110143
110143
|
type: "labOrders",
|
|
@@ -110145,7 +110145,7 @@ const Fm0 = [
|
|
|
110145
110145
|
},
|
|
110146
110146
|
{
|
|
110147
110147
|
type: "observations",
|
|
110148
|
-
component: q0(() => import("./Observations-
|
|
110148
|
+
component: q0(() => import("./Observations-CGkWnlr8-DBPXd4-Q.js"))
|
|
110149
110149
|
},
|
|
110150
110150
|
{
|
|
110151
110151
|
type: "ordersControl",
|
|
@@ -203073,7 +203073,7 @@ var OSt = (t, e = !1) => {
|
|
|
203073
203073
|
const e = _s2(() => {
|
|
203074
203074
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#p, [s] = this.#e;
|
|
203075
203075
|
let d;
|
|
203076
|
-
return this.#i ? d = this.#i : (d = As2(() => import("./LNWAZHJI-
|
|
203076
|
+
return this.#i ? d = this.#i : (d = As2(() => import("./LNWAZHJI-BLAX132k.js")), this.#i = d), Ys2(this.#h, this.#r), Ns2(d, Cs2({
|
|
203077
203077
|
get queryFlavor() {
|
|
203078
203078
|
return r.#d;
|
|
203079
203079
|
},
|
|
@@ -203171,7 +203171,7 @@ var OSt = (t, e = !1) => {
|
|
|
203171
203171
|
const e = _s2(() => {
|
|
203172
203172
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#p, [s] = this.#e, [d] = this.#i;
|
|
203173
203173
|
let u;
|
|
203174
|
-
return this.#c ? u = this.#c : (u = As2(() => import("./MWZ6AO7Z-
|
|
203174
|
+
return this.#c ? u = this.#c : (u = As2(() => import("./MWZ6AO7Z-5DuUKAOs.js")), this.#c = u), Ys2(this.#h, this.#r), Ns2(u, Cs2({
|
|
203175
203175
|
get queryFlavor() {
|
|
203176
203176
|
return r.#d;
|
|
203177
203177
|
},
|
|
@@ -203327,7 +203327,7 @@ const i$t = {
|
|
|
203327
203327
|
id: "clinical-config",
|
|
203328
203328
|
name: "Clinical Config",
|
|
203329
203329
|
displayName: "ClinicalConfigProvider"
|
|
203330
|
-
}), y$t = q0(() => import("./ConsultationPage-
|
|
203330
|
+
}), y$t = q0(() => import("./ConsultationPage-C8BOxRLv.js")), V$t = q0(() => import("./index-CT4GlHU2.js")), z$t = [
|
|
203331
203331
|
{
|
|
203332
203332
|
path: ":patientUuid",
|
|
203333
203333
|
component: y$t
|
|
@@ -203356,34 +203356,34 @@ const i$t = {
|
|
|
203356
203356
|
};
|
|
203357
203357
|
export {
|
|
203358
203358
|
pi as $,
|
|
203359
|
-
|
|
203360
|
-
|
|
203361
|
-
|
|
203359
|
+
mRt as A,
|
|
203360
|
+
t0 as B,
|
|
203361
|
+
ISt as C,
|
|
203362
203362
|
cE0 as D,
|
|
203363
203363
|
ZSt as E,
|
|
203364
|
-
|
|
203364
|
+
gy0 as F,
|
|
203365
203365
|
OV as G,
|
|
203366
|
-
|
|
203366
|
+
uRt as H,
|
|
203367
203367
|
gU2 as I,
|
|
203368
203368
|
Ba as J,
|
|
203369
203369
|
ir as K,
|
|
203370
|
-
|
|
203371
|
-
|
|
203372
|
-
|
|
203373
|
-
|
|
203370
|
+
Gc0 as L,
|
|
203371
|
+
hRt as M,
|
|
203372
|
+
dLt as N,
|
|
203373
|
+
MRt as O,
|
|
203374
203374
|
hLt as P,
|
|
203375
203375
|
Gc2 as Q,
|
|
203376
203376
|
lQ1 as R,
|
|
203377
203377
|
hi as S,
|
|
203378
203378
|
iLt as T,
|
|
203379
203379
|
ft as U,
|
|
203380
|
-
|
|
203381
|
-
|
|
203382
|
-
|
|
203380
|
+
yE as V,
|
|
203381
|
+
nLt as W,
|
|
203382
|
+
iDt as X,
|
|
203383
203383
|
P7 as Y,
|
|
203384
|
-
|
|
203385
|
-
|
|
203386
|
-
|
|
203384
|
+
iE0 as Z,
|
|
203385
|
+
wRt as _,
|
|
203386
|
+
cl as a,
|
|
203387
203387
|
cTt as a$,
|
|
203388
203388
|
oDt as a0,
|
|
203389
203389
|
rDt as a1,
|
|
@@ -203448,7 +203448,7 @@ export {
|
|
|
203448
203448
|
We2 as ax,
|
|
203449
203449
|
NDt as ay,
|
|
203450
203450
|
wDt as az,
|
|
203451
|
-
|
|
203451
|
+
r2 as b,
|
|
203452
203452
|
HSt as b$,
|
|
203453
203453
|
UDt as b0,
|
|
203454
203454
|
GDt as b1,
|
|
@@ -203513,7 +203513,7 @@ export {
|
|
|
203513
203513
|
uDt as bx,
|
|
203514
203514
|
FDt as by,
|
|
203515
203515
|
bE as bz,
|
|
203516
|
-
|
|
203516
|
+
js as c,
|
|
203517
203517
|
cOt as c0,
|
|
203518
203518
|
mSt as c1,
|
|
203519
203519
|
vs as c2,
|
|
@@ -203556,27 +203556,27 @@ export {
|
|
|
203556
203556
|
xSt as cx,
|
|
203557
203557
|
DTt as cy,
|
|
203558
203558
|
xNt as cz,
|
|
203559
|
-
|
|
203559
|
+
Mn as d,
|
|
203560
203560
|
x10 as e,
|
|
203561
|
-
|
|
203561
|
+
oRt as f,
|
|
203562
203562
|
qt as g,
|
|
203563
203563
|
k10 as h,
|
|
203564
|
-
|
|
203565
|
-
|
|
203566
|
-
|
|
203567
|
-
|
|
203568
|
-
|
|
203569
|
-
|
|
203570
|
-
|
|
203564
|
+
di as i,
|
|
203565
|
+
rRt as j,
|
|
203566
|
+
nRt as k,
|
|
203567
|
+
mu as l,
|
|
203568
|
+
aRt as m,
|
|
203569
|
+
pRt as n,
|
|
203570
|
+
vHe as o,
|
|
203571
203571
|
Dt as p,
|
|
203572
203572
|
$$t as q,
|
|
203573
|
-
|
|
203573
|
+
BW2 as r,
|
|
203574
203574
|
Mt as s,
|
|
203575
203575
|
IE as t,
|
|
203576
203576
|
J1 as u,
|
|
203577
203577
|
Pu as v,
|
|
203578
|
-
|
|
203579
|
-
|
|
203580
|
-
|
|
203581
|
-
|
|
203578
|
+
lRt as w,
|
|
203579
|
+
fRt as x,
|
|
203580
|
+
QW2 as y,
|
|
203581
|
+
UW2 as z
|
|
203582
203582
|
};
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"COMMON_SEARCH_INVALID_EXPRESSION": "Invalid expression in search configuration. Please contact your administrator.",
|
|
79
79
|
"COMMON_SEARCH_INVALID_FORMAT": "Invalid format",
|
|
80
80
|
"COMMON_SEARCH_LABEL": "Common Search",
|
|
81
|
-
"COMMON_SEARCH_MODIFY_SEARCH_BUTTON": "Modify
|
|
81
|
+
"COMMON_SEARCH_MODIFY_SEARCH_BUTTON": "Modify search criteria",
|
|
82
82
|
"COMMON_SEARCH_NO_LOCATION_ERROR": "No location selected. Please log in with a location to use search.",
|
|
83
83
|
"COMMON_SEARCH_NO_PRIVILEGE_ERROR": "No search context configured for the current user's role / privileges.",
|
|
84
84
|
"COMMON_SEARCH_NO_RESULTS": "No results found for the given search criteria.",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"COMMON_SEARCH_SELECT_CONTEXT_PLACEHOLDER": "Select a context",
|
|
89
89
|
"COMMON_SEARCH_SELECT_CONTEXT_TITLE": "Search Context",
|
|
90
90
|
"COMMON_SEARCH_SELECT_LOCATION_LABEL": "Location",
|
|
91
|
-
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA": "
|
|
91
|
+
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA": "Select search criteria",
|
|
92
92
|
"COMMON_SEARCH_SELECTED_CRITERIA_LABEL": "Selected {{context}} search criteria:",
|
|
93
93
|
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA_PLACEHOLDER": "Select a search criteria",
|
|
94
94
|
"COMMON_SEARCH_SUCCESS": "Search Complete",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"COMMON_SEARCH_INVALID_EXPRESSION": "Expresión inválida en la configuración de búsqueda. Por favor contacte a su administrador.",
|
|
79
79
|
"COMMON_SEARCH_INVALID_FORMAT": "Formato no válido",
|
|
80
80
|
"COMMON_SEARCH_LABEL": "Búsqueda Común",
|
|
81
|
-
"COMMON_SEARCH_MODIFY_SEARCH_BUTTON": "Modificar
|
|
81
|
+
"COMMON_SEARCH_MODIFY_SEARCH_BUTTON": "Modificar criterios de búsqueda",
|
|
82
82
|
"COMMON_SEARCH_NO_LOCATION_ERROR": "No se ha seleccionado ninguna ubicación. Inicie sesión con una ubicación para usar la búsqueda.",
|
|
83
83
|
"COMMON_SEARCH_NO_PRIVILEGE_ERROR": "Ningún contexto de búsqueda configurado para el rol / privilegios del usuario actual.",
|
|
84
84
|
"COMMON_SEARCH_NO_RESULTS": "No se encontraron resultados para los criterios de búsqueda dados.",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"COMMON_SEARCH_SELECT_CONTEXT_PLACEHOLDER": "Seleccionar un contexto",
|
|
89
89
|
"COMMON_SEARCH_SELECT_CONTEXT_TITLE": "Contexto de Búsqueda",
|
|
90
90
|
"COMMON_SEARCH_SELECT_LOCATION_LABEL": "Ubicación",
|
|
91
|
-
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA": "
|
|
91
|
+
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA": "Seleccionar criterios de búsqueda",
|
|
92
92
|
"COMMON_SEARCH_SELECTED_CRITERIA_LABEL": "Criterios de búsqueda de {{context}} seleccionados:",
|
|
93
93
|
"COMMON_SEARCH_SELECT_SEARCH_CRITERIA_PLACEHOLDER": "Seleccionar un criterio de búsqueda",
|
|
94
94
|
"COMMON_SEARCH_SUCCESS": "Búsqueda Completa",
|