@bahmni/clinical-app 0.0.1-dev.471 → 0.0.1-dev.473
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/App.d.ts.map +1 -1
- package/dist/{ConsultationPage-DCUdR071.js → ConsultationPage-CKHxEYSx.js} +17867 -16276
- package/dist/{DocumentsTable-DddJ0p1F-Bg-bHYor.js → DocumentsTable-D05Z8kWb-Dz_qxqGy.js} +61 -61
- package/dist/{FormsTable-DLC_vCD0-C_UuAGwT.js → FormsTable-DS8v_y5q-DLKVWSEm.js} +67 -67
- package/dist/{LNWAZHJI-DxPDjR2c.js → LNWAZHJI-B3Qpq3D0.js} +2 -2
- package/dist/{MWZ6AO7Z-BDPCwGdh.js → MWZ6AO7Z-BR6xmPu0.js} +2 -2
- package/dist/{Observations-Cwi0QkK8-CX45zdmP.js → Observations-UeuPSqCU-ClqfsHph.js} +13 -13
- package/dist/{YPM2AS64-bRo4AAZG.js → YPM2AS64-D0X0Gk6O.js} +1 -1
- package/dist/components/consultationPad/__tests__/__mocks__/inputControlRegistryMocks.d.ts.map +1 -1
- package/dist/components/consultationPad/utils.d.ts +1 -0
- package/dist/components/consultationPad/utils.d.ts.map +1 -1
- package/dist/components/forms/disposition/Disposition.d.ts +8 -0
- package/dist/components/forms/disposition/Disposition.d.ts.map +1 -0
- package/dist/components/forms/disposition/index.d.ts +2 -0
- package/dist/components/forms/disposition/index.d.ts.map +1 -0
- package/dist/components/forms/immunization/utils.d.ts.map +1 -1
- package/dist/components/forms/index.d.ts.map +1 -1
- package/dist/components/patientHeader/DispositionActionButton.d.ts +14 -0
- package/dist/components/patientHeader/DispositionActionButton.d.ts.map +1 -0
- package/dist/components/patientHeader/PatientHeader.d.ts.map +1 -1
- package/dist/config/queryClient.d.ts +3 -0
- package/dist/config/queryClient.d.ts.map +1 -0
- package/dist/{hook-Jp81geP3.js → hook-JqJRtSXq.js} +3 -3
- package/dist/{index-bXoksl3w.js → index-DEfBpAC2.js} +3 -3
- package/dist/{index-sjgf7zfi-DXTBl8zZ.js → index-Dyt17CgX-Dkrcy8ng.js} +1 -1
- package/dist/{index-DDxNyscH.js → index-FXW4kDlU.js} +12 -12
- package/dist/{index-Bh3oRZPJ.js → index-N9VEj6aJ.js} +15638 -15585
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/locales/locale_en.json +17 -0
- package/dist/locales/locale_es.json +17 -0
- package/dist/models/serviceRequest.d.ts +1 -0
- package/dist/models/serviceRequest.d.ts.map +1 -1
- package/dist/providers/clinicalConfig/schema.json.d.ts +2 -1
- package/dist/services/dispositionService.d.ts +24 -0
- package/dist/services/dispositionService.d.ts.map +1 -0
- package/dist/services/encounterBundleService.d.ts.map +1 -1
- package/dist/stores/dispositionStore.d.ts +39 -0
- package/dist/stores/dispositionStore.d.ts.map +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/utils/fhir/serviceRequestResourceCreator.d.ts +2 -1
- package/dist/utils/fhir/serviceRequestResourceCreator.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as S, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { Q as z, a as G, u as U,
|
|
2
|
+
import { Q as z, a as G, u as U, y as H, g as x, r as J, s as Y, $ as j, G as W, J as P, K as X, Y as Z, c as ee, M as ae, v as se, w as V, W as re, A as te, H as ie, F as oe, I as ne, L as de, N as le } from "./index-N9VEj6aJ.js";
|
|
3
3
|
import { useQueries as ce, useQuery as ue } from "@tanstack/react-query";
|
|
4
|
-
import { useRef as pe, useEffect as L, useMemo as
|
|
4
|
+
import { useRef as pe, useEffect as L, useMemo as E } from "react";
|
|
5
5
|
const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", R = {
|
|
6
6
|
observations: me,
|
|
7
7
|
title: be,
|
|
@@ -31,7 +31,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
31
31
|
t.header.referenceRange && /* @__PURE__ */ n("span", { className: R.secondary, children: t.header.referenceRange })
|
|
32
32
|
] }), c = u("OBSERVATIONS_RECORDED_BY", {
|
|
33
33
|
provider: t.provider
|
|
34
|
-
}), b = s.effectiveDateTime ? ie(s.effectiveDateTime, u, !0).formattedResult : void 0,
|
|
34
|
+
}), b = s.effectiveDateTime ? ie(s.effectiveDateTime, u, !0).formattedResult : void 0, T = /* @__PURE__ */ S("div", { className: R.wrapper, children: [
|
|
35
35
|
/* @__PURE__ */ n("span", { children: c }),
|
|
36
36
|
b && /* @__PURE__ */ n("span", { className: R.secondary, children: b })
|
|
37
37
|
] }), h = s.display, v = s.observationValue?.isAbnormal ? "abnormal-obs" : "obs", O = d ? `${d}-${v}-${h}-${o}-${l}` : `${v}-${h}-${o}-${l}`;
|
|
@@ -40,7 +40,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
40
40
|
{
|
|
41
41
|
header: m,
|
|
42
42
|
value: i,
|
|
43
|
-
info:
|
|
43
|
+
info: T,
|
|
44
44
|
id: O,
|
|
45
45
|
testId: O,
|
|
46
46
|
ariaLabel: O
|
|
@@ -147,7 +147,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
147
147
|
type: "error"
|
|
148
148
|
}), p.current.add(0)) : !a && y && p.current.clear();
|
|
149
149
|
}, [b, m, c]);
|
|
150
|
-
const
|
|
150
|
+
const T = E(() => b.map((a) => a.data?.uuid).filter((a) => !!a), [b]), h = E(() => [.../* @__PURE__ */ new Set([...T, ...r])], [T, r]), v = E(() => u.length === 0 ? !0 : b.every((a) => !a.isLoading), [b, u.length]), O = e === "latest" || e === "latest-encounter", F = x(
|
|
151
151
|
l,
|
|
152
152
|
o
|
|
153
153
|
), {
|
|
@@ -162,18 +162,18 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
162
162
|
o,
|
|
163
163
|
e
|
|
164
164
|
),
|
|
165
|
-
queryFn: () => O ?
|
|
165
|
+
queryFn: () => O ? J(
|
|
166
166
|
i,
|
|
167
167
|
h,
|
|
168
168
|
o
|
|
169
|
-
) :
|
|
169
|
+
) : Y(
|
|
170
170
|
i,
|
|
171
171
|
h,
|
|
172
172
|
o
|
|
173
173
|
),
|
|
174
174
|
enabled: !!i && h.length > 0 && v && !F
|
|
175
175
|
});
|
|
176
|
-
|
|
176
|
+
j(
|
|
177
177
|
(a) => {
|
|
178
178
|
a.patientUUID === i && a.updatedConcepts.size > 0 && [...a.updatedConcepts.keys()].some(
|
|
179
179
|
(y) => h.includes(y)
|
|
@@ -187,7 +187,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
187
187
|
type: "error"
|
|
188
188
|
});
|
|
189
189
|
}, [N]);
|
|
190
|
-
const I =
|
|
190
|
+
const I = E(() => {
|
|
191
191
|
if (!_) return [];
|
|
192
192
|
let a = W(_);
|
|
193
193
|
e === "latest-encounter" && (a = P(a));
|
|
@@ -197,12 +197,12 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
197
197
|
{ key: "name", header: "name" },
|
|
198
198
|
{ key: "value", header: "value" },
|
|
199
199
|
{ key: "form", header: "form" }
|
|
200
|
-
], A = w || !v, D = N && v,
|
|
200
|
+
], A = w || !v, D = N && v, Q = (!_ || _.entry?.length === 0 || h.length === 0) && v, q = D ? c("ERROR_FETCHING_OBSERVATIONS") : null, C = Q ? c("NO_OBSERVATIONS_FOUND") : void 0, M = I.length > 0 && !A && !D, g = d.titleTranslationKey, f = g ? c(g) : "";
|
|
201
201
|
return /* @__PURE__ */ S(
|
|
202
202
|
"div",
|
|
203
203
|
{
|
|
204
204
|
id: "observations",
|
|
205
|
-
"data-testid":
|
|
205
|
+
"data-testid": g ? `observations-${f}` : "observations",
|
|
206
206
|
"aria-label": "observations-aria-label",
|
|
207
207
|
className: R.observations,
|
|
208
208
|
children: [
|
|
@@ -210,7 +210,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
210
210
|
ee,
|
|
211
211
|
{
|
|
212
212
|
id: "observations-title",
|
|
213
|
-
testId:
|
|
213
|
+
testId: g ? `observations-title-${f}` : "observations-title",
|
|
214
214
|
title: f,
|
|
215
215
|
className: R.title,
|
|
216
216
|
children: /* @__PURE__ */ n("p", { children: f })
|
|
@@ -230,7 +230,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
230
230
|
rows: [],
|
|
231
231
|
ariaLabel: c("OBSERVATIONS"),
|
|
232
232
|
loading: A,
|
|
233
|
-
errorStateMessage:
|
|
233
|
+
errorStateMessage: q,
|
|
234
234
|
emptyStateMessage: C ?? c("NO_OBSERVATIONS_AVAILABLE"),
|
|
235
235
|
dataTestId: "observations-table"
|
|
236
236
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cB as we, cC as z, cD as xt, cE as B, cz as q, cA as y, cF as Ro, cG as ye, cH as R, cI as _, cJ as k, cK as N, cL as A, cM as bs, cN as ir, cO as $e, cP as U, cQ as Hn, cR as Vn, cS as dt, cT as D, cU as xs, cV as cn, cW as Be, cX as ws, cY as qt, cZ as zt, c_ as $s, c$ as Cs, d0 as $n, d1 as Ss, d2 as Nr, d3 as Bt, d4 as zo, d5 as ks, d6 as Es, d7 as j, d8 as Ur, d9 as Ms, da as Ds, db as sr, dc as As, dd as Ts, de as zn, df as Fs, dg as Is, dh as Z, di as Ps, dj as Ls } from "./index-N9VEj6aJ.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
package/dist/components/consultationPad/__tests__/__mocks__/inputControlRegistryMocks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputControlRegistryMocks.d.ts","sourceRoot":"","sources":["../../../../../src/components/consultationPad/__tests__/__mocks__/inputControlRegistryMocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAEnF,eAAO,MAAM,yBAAyB,EAAE,
|
|
1
|
+
{"version":3,"file":"inputControlRegistryMocks.d.ts","sourceRoot":"","sources":["../../../../../src/components/consultationPad/__tests__/__mocks__/inputControlRegistryMocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAEnF,eAAO,MAAM,yBAAyB,EAAE,eA6EvC,CAAC"}
|
|
@@ -33,6 +33,7 @@ export declare function captureUpdatedResources(entries: InputControl[]): {
|
|
|
33
33
|
documents: boolean;
|
|
34
34
|
serviceRequests: Record<string, boolean>;
|
|
35
35
|
observationFormsWithBasedOn: string | undefined;
|
|
36
|
+
disposition: boolean;
|
|
36
37
|
};
|
|
37
38
|
export {};
|
|
38
39
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,KAAK,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEnD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,eAAe,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,gBAAgB,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C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ChB;AAsBD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,wBAAwB,GAAG,SAAS,EAC7C,MAAM,EAAE,uBAAuB,GAAG,SAAS,EAC3C,aAAa,EAAE,YAAY,EAAE,GAC5B,MAAM,CAeR;AAED;;;;;;;;GAQG;AACH,wBAAsB,wBAAwB,CAC5C,aAAa,EAAE,YAAY,EAAE,GAC5B,OAAO,CAAC;IACT,mBAAmB,EAAE,YAAY,EAAE,CAAC;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B,CAAC,CAcD;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,YAAY,EAAE;;;;;;;;;EAoC9D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InputControl as ClinicalInputControlConfig } from '../../../providers/clinicalConfig/models';
|
|
3
|
+
interface DispositionProps {
|
|
4
|
+
inputControlConfig?: ClinicalInputControlConfig;
|
|
5
|
+
}
|
|
6
|
+
declare const Disposition: React.FC<DispositionProps>;
|
|
7
|
+
export default Disposition;
|
|
8
|
+
//# sourceMappingURL=Disposition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Disposition.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/disposition/Disposition.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,IAAI,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAY3G,UAAU,gBAAgB;IACxB,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;CACjD;AAID,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAyN3C,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/disposition/index.ts"],"names":[],"mappings":"AA+CA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,WAAW,EAGX,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAclF,OAAO,EACL,uBAAuB,EACvB,qCAAqC,EAGrC,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAgDlB,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,sBAAsB,EAAE,GAAG,SAAS,GAC/C,sBAAsB,GAAG,SAAS,CAEpC;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,YAAY,EAAE,MAAM,GACnB,oBAAoB,EAAE,CAWxB;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,YAAY,EAAE,MAAM,GACnB,oBAAoB,EAAE,CAexB;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,UAAU,EAAE,GAAG,SAAS,EACrC,YAAY,EAAE,MAAM,GACnB,oBAAoB,EAAE,CAgBxB;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,U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|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,aAAa,CAAC;AACrB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AAClC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,gBAAgB,CAAC;AACxB,OAAO,aAAa,CAAC;AACrB,OAAO,gBAAgB,CAAC;AACxB,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,aAAa,CAAC;AACrB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AAClC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,gBAAgB,CAAC;AACxB,OAAO,aAAa,CAAC;AACrB,OAAO,gBAAgB,CAAC;AACxB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,eAAe,CAAC;AAEvB,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DispositionActionButtonProps {
|
|
3
|
+
isActionAreaVisible: boolean;
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Header action button that opens the Consultation Pad scoped to the
|
|
8
|
+
* Disposition form only. Rendered only when a disposition input control is
|
|
9
|
+
* configured and the user holds its privileges. Dispatches a draft ServiceRequest action;
|
|
10
|
+
* the draft status distinguishes it from the investigations control.
|
|
11
|
+
*/
|
|
12
|
+
declare const DispositionActionButton: React.FC<DispositionActionButtonProps>;
|
|
13
|
+
export default DispositionActionButton;
|
|
14
|
+
//# sourceMappingURL=DispositionActionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DispositionActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/DispositionActionButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,4BAA4B;IACpC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CA+CnE,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"AAOA,OAAO,EAKL,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"AAOA,OAAO,EAKL,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAqC,MAAM,OAAO,CAAC;AAS1D,UAAU,kBAAkB;IAC1B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2H/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryClient.d.ts","sourceRoot":"","sources":["../../src/config/queryClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,eAAO,MAAM,WAAW,aAAqC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cw as i, cx as o } from "./index-N9VEj6aJ.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import "react";
|
|
5
|
-
const
|
|
5
|
+
const l = i(
|
|
6
6
|
o,
|
|
7
7
|
"useClinicalConfig",
|
|
8
8
|
"ClinicalConfigProvider"
|
|
9
9
|
);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
l as u
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r,
|
|
2
|
+
import { u as r, dk as l, dl as o, dm as c, bI as m, bJ as g, dn as h, dp as p, dq as b, b6 as u } from "./index-N9VEj6aJ.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import { Suspense as _ } from "react";
|
|
5
|
-
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH",
|
|
5
|
+
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", I = "index-module_panel__8VJh2", s = {
|
|
6
6
|
loading: E,
|
|
7
7
|
message: $,
|
|
8
|
-
panel:
|
|
8
|
+
panel: I
|
|
9
9
|
}, T = ({ extensions: i }) => {
|
|
10
10
|
const { t: n } = r();
|
|
11
11
|
return i.length === 0 ? null : /* @__PURE__ */ t(l, { children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as qt } from "react/jsx-runtime";
|
|
2
|
-
import { u as rl, Q as il, P as ol,
|
|
2
|
+
import { u as rl, Q as il, P as ol, U as al, V as ul, _ as sl, a0 as ll, a1 as cl, a2 as hl, a3 as fl } from "./index-N9VEj6aJ.js";
|
|
3
3
|
import { useQuery as xo } from "@tanstack/react-query";
|
|
4
4
|
var ou = /* @__PURE__ */ ((t) => (t.WHITE = "white", t.G100 = "g100", t.G90 = "g90", t.G10 = "g10", t))(ou || {}), tr = /* @__PURE__ */ ((t) => (t.GRAPH_VIEW = "graph_view", t.SLIDER_VIEW = "slider_view", t))(tr || {}), au = /* @__PURE__ */ ((t) => (t.END_LINE = "end_line", t.MID_LINE = "mid_line", t.FRONT_LINE = "front_line", t.NONE = "none", t))(au || {}), Gn = /* @__PURE__ */ ((t) => (t.TIME = "time", t.LINEAR = "linear", t.LOG = "log", t.LABELS = "labels", t.LABELS_RATIO = "labels-ratio", t))(Gn || {}), uu = /* @__PURE__ */ ((t) => (t.RIGHT = "right", t.LEFT = "left", t.TOP = "top", t.BOTTOM = "bottom", t))(uu || {}), ve = /* @__PURE__ */ ((t) => (t.LEFT = "left", t.CENTER = "center", t.RIGHT = "right", t))(ve || {}), su = /* @__PURE__ */ ((t) => (t.TREE = "tree", t.DENDROGRAM = "dendrogram", t))(su || {}), lu = /* @__PURE__ */ ((t) => (t.SEMI = "semi", t.FULL = "full", t))(lu || {}), te = /* @__PURE__ */ ((t) => (t.SCATTER = "scatter", t.LINE = "line", t.SIMPLE_BAR = "simple-bar", t.STACKED_BAR = "stacked-bar", t.GROUPED_BAR = "grouped-bar", t.AREA = "area", t.STACKED_AREA = "stacked-area", t))(te || {}), Pe = /* @__PURE__ */ ((t) => (t.EXPORT_CSV = "Export as CSV", t.EXPORT_PNG = "Export as PNG", t.EXPORT_JPG = "Export as JPG", t.ZOOM_IN = "Zoom in", t.ZOOM_OUT = "Zoom out", t.RESET_ZOOM = "Reset zoom", t.MAKE_FULLSCREEN = "Make fullscreen", t.EXIT_FULLSCREEN = "Exit fullscreen", t.SHOW_AS_DATATABLE = "Show as data-table", t.CUSTOM = "Custom", t))(Pe || {}), Nt = /* @__PURE__ */ ((t) => (t.CHECKBOX = "checkbox", t.RADIUS = "radius", t.AREA = "area", t.SIZE = "size", t.LINE = "line", t.QUARTILE = "quartile", t.ZOOM = "zoom", t))(Nt || {}), cu = /* @__PURE__ */ ((t) => (t.ON = "on", t.AUTO = "auto", t.OFF = "off", t))(cu || {}), hu = /* @__PURE__ */ ((t) => (t.geoEqualEarth = "geoEqualEarth", t.geoAlbers = "geoAlbers", t.geoConicEqualArea = "geoConicEqualArea", t.geoConicEquidistant = "geoConicEquidistant", t.geoEquirectangular = "geoEquirectangular", t.geoMercator = "geoMercator", t.geoNaturalEarth1 = "geoNaturalEarth1", t))(hu || {});
|
|
5
5
|
function Ir(t) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, p as u,
|
|
2
|
+
import { u as g, p as u, cj as p, ct as f, cu as x, cv as _, b6 as N, cp as h } from "./index-N9VEj6aJ.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
|
-
import { lazy as b, useMemo as t, Suspense as
|
|
5
|
-
import { u as
|
|
6
|
-
const
|
|
4
|
+
import { lazy as b, useMemo as t, Suspense as L } from "react";
|
|
5
|
+
import { u as C } from "./hook-JqJRtSXq.js";
|
|
6
|
+
const E = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": b(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-DEfBpAC2.js")
|
|
9
9
|
)
|
|
10
|
-
},
|
|
11
|
-
page:
|
|
12
|
-
loading:
|
|
13
|
-
message:
|
|
10
|
+
}, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", O = "index-module_message__Ib5Iw", l = {
|
|
11
|
+
page: v,
|
|
12
|
+
loading: I,
|
|
13
|
+
message: O
|
|
14
14
|
}, T = () => {
|
|
15
|
-
const { t: a } = g(), { clinicalConfig: o } =
|
|
15
|
+
const { t: a } = g(), { clinicalConfig: o } = C(), { userPrivileges: r } = u(), m = t(
|
|
16
16
|
() => [
|
|
17
17
|
{ id: "home", label: a("HOME_LABEL"), href: p },
|
|
18
18
|
{ id: "clinical", label: a("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
@@ -24,7 +24,7 @@ const L = {
|
|
|
24
24
|
), d = t(
|
|
25
25
|
() => Array.from(c.entries()).map(([e, i]) => ({
|
|
26
26
|
pointId: e,
|
|
27
|
-
Handler:
|
|
27
|
+
Handler: E[e],
|
|
28
28
|
filtered: x(
|
|
29
29
|
i,
|
|
30
30
|
r
|
|
@@ -51,7 +51,7 @@ const L = {
|
|
|
51
51
|
id: e,
|
|
52
52
|
"data-testid": `${e}-test-id`,
|
|
53
53
|
children: /* @__PURE__ */ s(
|
|
54
|
-
|
|
54
|
+
L,
|
|
55
55
|
{
|
|
56
56
|
fallback: /* @__PURE__ */ s(
|
|
57
57
|
N,
|