@bahmni/clinical-app 0.0.1-dev.445 → 0.0.1-dev.446

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.
@@ -1,102 +1,102 @@
1
- import { jsx as n, jsxs as q, Fragment as ne } from "react/jsx-runtime";
2
- import { u as ie, d as de, x as le, k as me, H as ue, b as ce, y as fe, e as ye, w as Te, S as he, D as Ne, R as ge, h as pe, L as V, T as $, J as Oe, $ as x, W as be, q as Ie, a as Ee, c as _e, M as Ae } from "./index-DGEgKcRC.js";
3
- import { useQueryClient as Le, useQuery as E } from "@tanstack/react-query";
4
- import { useState as K, useMemo as i, useCallback as d } from "react";
5
- const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_modalHeading__wnTmA", ve = "FormsTable-module_customAccordianItem__isszs", N = {
6
- formsTableBody: Re,
7
- modalHeading: Ce,
8
- customAccordianItem: ve
9
- }, Be = "startConsultation", Ue = ({
10
- episodeOfCareUuids: _,
1
+ import { jsx as n, jsxs as H, Fragment as ne } from "react/jsx-runtime";
2
+ import { u as ie, d as de, y as le, k as me, V as ue, G as ce, m as fe, b as ye, w as he, c as Ne, e as ge, R as Te, h as pe, f as q, g as $, Y as Oe, $ as z, j as be, U as Ie, a as Ae, A as Ee, i as _e } from "./index-CWrIj17R.js";
3
+ import { useQueryClient as Re, useQuery as A } from "@tanstack/react-query";
4
+ import { useState as j, useMemo as i, useCallback as d } from "react";
5
+ const Ce = "FormsTable-module_formsTableBody__SvGha", ve = "FormsTable-module_modalHeading__wnTmA", Le = "FormsTable-module_customAccordianItem__isszs", g = {
6
+ formsTableBody: Ce,
7
+ modalHeading: ve,
8
+ customAccordianItem: Le
9
+ }, Ue = "startConsultation", Me = ({
10
+ episodeOfCareUuids: E,
11
11
  encounterUuids: l,
12
- config: j,
13
- disableActions: z = !1,
12
+ config: K,
13
+ disableActions: G = !1,
14
14
  activeEncounterUuid: y = null
15
15
  }) => {
16
- const { t: o } = ie(), m = de(), [g, A] = K(!1), [t, L] = K(null), {
17
- numberOfVisits: Q,
18
- hideThumbnail: G = !1,
19
- forms: T
20
- } = j ?? {}, J = le(
21
- Ae.EDIT_OBSERVATIONS
22
- ), { userPrivileges: h } = me(), p = J && !z && !!y, R = ue(
23
- _,
16
+ const { t: o } = ie(), m = de(), [T, _] = j(!1), [t, R] = j(null), {
17
+ numberOfVisits: Y,
18
+ hideThumbnail: x = !1,
19
+ forms: h
20
+ } = K ?? {}, Q = le(
21
+ _e.EDIT_OBSERVATIONS
22
+ ), { userPrivileges: N } = me(), p = Q && !G && !!y, C = ue(
23
+ E,
24
24
  l
25
- ), P = Le(), {
26
- data: C = [],
27
- isLoading: v,
28
- isError: B,
29
- error: W,
30
- refetch: Y
31
- } = E({
32
- queryKey: ["forms", m, _],
33
- queryFn: () => ce(m, void 0, Q),
34
- enabled: !!m && !R
35
- }), D = i(() => {
36
- let e = C;
25
+ ), P = Re(), {
26
+ data: v = [],
27
+ isLoading: L,
28
+ isError: U,
29
+ error: J,
30
+ refetch: W
31
+ } = A({
32
+ queryKey: ["forms", m, E],
33
+ queryFn: () => ce(m, void 0, Y),
34
+ enabled: !!m && !C
35
+ }), B = i(() => {
36
+ let e = v;
37
37
  return l && l.length > 0 && (e = e.filter(
38
38
  (r) => l.includes(r.encounterUuid)
39
- )), Array.isArray(T) && T.length > 0 && (e = e.filter(
40
- (r) => T.some((a) => a.toLowerCase() === r.formName.toLowerCase())
39
+ )), Array.isArray(h) && h.length > 0 && (e = e.filter(
40
+ (r) => h.some((a) => a.toLowerCase() === r.formName.toLowerCase())
41
41
  )), e;
42
- }, [C, l, T]), { data: F = [] } = E({
42
+ }, [v, l, h]), { data: F = [] } = A({
43
43
  queryKey: ["observationForms"],
44
44
  queryFn: () => fe()
45
- }), S = d(
45
+ }), D = d(
46
46
  (e) => {
47
47
  const r = F.find(
48
48
  (s) => s.name.toLowerCase() === e.toLowerCase()
49
49
  );
50
50
  if (!r?.privileges || r.privileges.length === 0) return !0;
51
- if (!h || h.length === 0) return !1;
52
- const a = new Set(h.map((s) => s.name));
51
+ if (!N || N.length === 0) return !1;
52
+ const a = new Set(N.map((s) => s.name));
53
53
  return r.privileges.some(
54
54
  (s) => a.has(s.privilegeName) && s.editable
55
55
  );
56
56
  },
57
- [F, h]
57
+ [F, N]
58
58
  ), u = d(
59
- (e) => !y || e.encounterUuid !== y ? !1 : S(e.formName),
60
- [y, S]
59
+ (e) => !y || e.encounterUuid !== y ? !1 : D(e.formName),
60
+ [y, D]
61
61
  ), {
62
62
  data: O,
63
63
  isLoading: X,
64
64
  isError: Z,
65
65
  error: b
66
- } = E({
66
+ } = A({
67
67
  queryKey: ["formsEncounterFHIR", t?.encounterUuid],
68
68
  queryFn: () => ye(t.encounterUuid),
69
- enabled: !!t?.encounterUuid && g
69
+ enabled: !!t?.encounterUuid && T
70
70
  });
71
- Te(
71
+ he(
72
72
  (e) => {
73
- e.patientUUID === m && (Y(), P.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
73
+ e.patientUUID === m && (W(), P.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
74
74
  },
75
75
  [m]
76
76
  );
77
- const ee = i(() => !O?.entry || !t?.formName ? [] : O.entry.filter((e) => e.resource?.resourceType === "Observation").map((e) => e.resource).filter((e) => he(e) ? Ne(e)?.toLowerCase() === t.formName.toLowerCase() : !0), [O, t?.formName]), re = i(() => {
77
+ const ee = i(() => !O?.entry || !t?.formName ? [] : O.entry.filter((e) => e.resource?.resourceType === "Observation").map((e) => e.resource).filter((e) => Ne(e) ? ge(e)?.toLowerCase() === t.formName.toLowerCase() : !0), [O, t?.formName]), re = i(() => {
78
78
  if (b)
79
- return ge(b).message;
79
+ return Te(b).message;
80
80
  }, [b]), c = i(
81
81
  () => [
82
82
  { key: "recordedOn", header: o("RECORDED_ON") },
83
83
  { key: "recordedBy", header: o("RECORDED_BY") }
84
84
  ],
85
85
  [o]
86
- ), M = i(
86
+ ), S = i(
87
87
  () => [...c, { key: "actions", header: o("ACTIONS") }],
88
88
  [c, o]
89
89
  ), ae = d(
90
- (e) => p && e.some((r) => u(r)) ? M : c,
91
- [p, u, M, c]
90
+ (e) => p && e.some((r) => u(r)) ? S : c,
91
+ [p, u, S, c]
92
92
  ), oe = c, te = i(
93
93
  () => [
94
94
  { key: "recordedOn", sortable: !0 },
95
95
  { key: "recordedBy", sortable: !0 }
96
96
  ],
97
97
  []
98
- ), U = i(() => {
99
- const e = D.reduce(
98
+ ), M = i(() => {
99
+ const e = B.reduce(
100
100
  (r, a) => {
101
101
  const s = a.formName;
102
102
  r[s] ??= [];
@@ -120,13 +120,13 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
120
120
  )
121
121
  })
122
122
  ).sort((r, a) => r.formName.localeCompare(a.formName));
123
- }, [D, o]), k = d((e) => {
124
- L(e), A(!0);
123
+ }, [B, o]), k = d((e) => {
124
+ R(e), _(!0);
125
125
  }, []), w = d(() => {
126
- A(!1), L(null);
126
+ _(!1), R(null);
127
127
  }, []), I = d((e) => {
128
128
  globalThis.dispatchEvent(
129
- new CustomEvent(Be, {
129
+ new CustomEvent(Ue, {
130
130
  detail: {
131
131
  editOnly: "observationForms",
132
132
  editTitle: "EDIT_OBSERVATION_FORM_TITLE",
@@ -136,7 +136,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
136
136
  }
137
137
  })
138
138
  );
139
- }, []), H = d(
139
+ }, []), V = d(
140
140
  (e, r) => {
141
141
  switch (r) {
142
142
  case "recordedOn":
@@ -145,7 +145,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
145
145
  return e.recordedBy;
146
146
  case "actions":
147
147
  return u(e) ? /* @__PURE__ */ n(
148
- V,
148
+ q,
149
149
  {
150
150
  label: o("EDIT_OBSERVATION_FORM"),
151
151
  kind: "ghost",
@@ -161,31 +161,31 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
161
161
  },
162
162
  [k, I, u, o]
163
163
  );
164
- return /* @__PURE__ */ q(ne, { children: [
165
- /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: v || B || U.length === 0 || R ? /* @__PURE__ */ n(
166
- x,
164
+ return /* @__PURE__ */ H(ne, { children: [
165
+ /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: L || U || M.length === 0 || C ? /* @__PURE__ */ n(
166
+ z,
167
167
  {
168
168
  headers: oe,
169
169
  ariaLabel: o("FORMS_HEADING"),
170
170
  rows: [],
171
- loading: v,
172
- errorStateMessage: B ? W?.message : void 0,
171
+ loading: L,
172
+ errorStateMessage: U ? J?.message : void 0,
173
173
  emptyStateMessage: o("FORMS_UNAVAILABLE"),
174
- renderCell: H,
175
- className: N.formsTableBody,
174
+ renderCell: V,
175
+ className: g.formsTableBody,
176
176
  dataTestId: "forms-table"
177
177
  }
178
- ) : /* @__PURE__ */ n(be, { align: "start", children: U.map((e, r) => {
178
+ ) : /* @__PURE__ */ n(be, { align: "start", children: M.map((e, r) => {
179
179
  const { formName: a, records: s } = e, f = ae(s);
180
180
  return /* @__PURE__ */ n(
181
181
  Ie,
182
182
  {
183
183
  title: a,
184
- className: N.customAccordianItem,
184
+ className: g.customAccordianItem,
185
185
  testId: `accordian-title-${a}`,
186
186
  open: r === 0,
187
187
  children: /* @__PURE__ */ n(
188
- x,
188
+ z,
189
189
  {
190
190
  headers: f,
191
191
  ariaLabel: o("FORMS_HEADING"),
@@ -194,8 +194,8 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
194
194
  errorStateMessage: "",
195
195
  sortable: te,
196
196
  emptyStateMessage: o("FORMS_UNAVAILABLE"),
197
- renderCell: H,
198
- className: N.formsTableBody,
197
+ renderCell: V,
198
+ className: g.formsTableBody,
199
199
  dataTestId: `forms-table-${a}`
200
200
  }
201
201
  )
@@ -203,17 +203,17 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
203
203
  a
204
204
  );
205
205
  }) }) }),
206
- g && t && /* @__PURE__ */ n(
207
- Ee,
206
+ T && t && /* @__PURE__ */ n(
207
+ Ae,
208
208
  {
209
209
  id: "modalIdForActionAreaLayout",
210
210
  portalId: "main-display-area",
211
- open: g,
211
+ open: T,
212
212
  onRequestClose: w,
213
- modalHeading: /* @__PURE__ */ q("div", { className: N.modalHeading, children: [
213
+ modalHeading: /* @__PURE__ */ H("div", { className: g.modalHeading, children: [
214
214
  /* @__PURE__ */ n("span", { children: t.formName }),
215
215
  p && u(t) && /* @__PURE__ */ n(
216
- V,
216
+ q,
217
217
  {
218
218
  label: o("EDIT_OBSERVATION_FORM"),
219
219
  kind: "ghost",
@@ -231,7 +231,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
231
231
  size: "md",
232
232
  testId: "form-details-modal",
233
233
  children: /* @__PURE__ */ n(
234
- _e,
234
+ Ee,
235
235
  {
236
236
  observations: ee,
237
237
  isLoading: X,
@@ -239,7 +239,7 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
239
239
  errorMessage: re,
240
240
  emptyStateMessage: o("NO_FORM_DATA_AVAILABLE"),
241
241
  testIdPrefix: t.formName,
242
- hideThumbnail: G,
242
+ hideThumbnail: x,
243
243
  formName: t.formName
244
244
  }
245
245
  )
@@ -248,5 +248,5 @@ const Re = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
248
248
  ] });
249
249
  };
250
250
  export {
251
- Ue as default
251
+ Me as default
252
252
  };
@@ -1,5 +1,5 @@
1
- import { c as s, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-C4KBlic9.js";
2
- import { c3 as d, c4 as f, c5 as e } from "./index-DGEgKcRC.js";
1
+ import { c as s, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-r4Lc-1Zs.js";
2
+ import { c3 as d, c4 as f, c5 as e } from "./index-CWrIj17R.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = s({
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-C4KBlic9.js";
2
- import { c3 as v, c4 as C, c5 as e } from "./index-DGEgKcRC.js";
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-r4Lc-1Zs.js";
2
+ import { c3 as v, c4 as C, c5 as e } from "./index-CWrIj17R.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -0,0 +1,246 @@
1
+ import { jsxs as I, jsx as n } from "react/jsx-runtime";
2
+ import { d as x, z as G, u as L, l as M, V as H, q as j, W, w as Y, n as J, o as P, p as X, r as Z, s as ee, $ as ae, t as se, v as B, x as te, B as re, h as ie, C as oe, D as ne, E as de, F as le } from "./index-CWrIj17R.js";
3
+ import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
4
+ import { useRef as pe, useEffect as V, useMemo as g } from "react";
5
+ const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
6
+ observations: me,
7
+ title: be,
8
+ wrapper: he,
9
+ secondary: ve
10
+ }, F = (s, l, o, d, c, t) => {
11
+ const r = te(s, l, c), e = r.value, p = re(e);
12
+ let i = e;
13
+ p === "Image" && (i = /* @__PURE__ */ n(
14
+ ne,
15
+ {
16
+ imageSrc: e,
17
+ alt: e,
18
+ id: `${e}-img`,
19
+ hideThumbnail: t
20
+ }
21
+ )), p === "Video" && (i = /* @__PURE__ */ n(
22
+ de,
23
+ {
24
+ id: `${e}-video`,
25
+ videoSrc: e,
26
+ hideThumbnail: t
27
+ }
28
+ )), p === "PDF" && (i = /* @__PURE__ */ n(le, { id: `${e}-pdf`, src: e }));
29
+ const m = /* @__PURE__ */ I("div", { className: O.wrapper, children: [
30
+ /* @__PURE__ */ n("span", { children: r.header.display }),
31
+ r.header.referenceRange && /* @__PURE__ */ n("span", { className: O.secondary, children: r.header.referenceRange })
32
+ ] }), u = c("OBSERVATIONS_RECORDED_BY", {
33
+ provider: r.provider
34
+ }), b = s.effectiveDateTime ? ie(s.effectiveDateTime, c, !0).formattedResult : void 0, E = /* @__PURE__ */ I("div", { className: O.wrapper, children: [
35
+ /* @__PURE__ */ n("span", { children: u }),
36
+ b && /* @__PURE__ */ n("span", { className: O.secondary, children: b })
37
+ ] }), h = s.display, v = s.observationValue?.isAbnormal ? "abnormal-obs" : "obs", R = d ? `${d}-${v}-${h}-${o}-${l}` : `${v}-${h}-${o}-${l}`;
38
+ return /* @__PURE__ */ n(
39
+ oe,
40
+ {
41
+ header: m,
42
+ value: i,
43
+ info: E,
44
+ id: R,
45
+ testId: R,
46
+ ariaLabel: R
47
+ },
48
+ `obs-${s.id}`
49
+ );
50
+ }, ye = (s, l, o, d, c, t, r) => /* @__PURE__ */ n(
51
+ B,
52
+ {
53
+ title: s.display,
54
+ id: `grouped-obs-${s.display}-${d}`,
55
+ open: o,
56
+ children: s.members?.map(
57
+ (e, p) => F(
58
+ e,
59
+ p,
60
+ c,
61
+ t,
62
+ l,
63
+ r
64
+ )
65
+ )
66
+ },
67
+ `grouped-obs-${s.id}`
68
+ ), Oe = ({
69
+ groupedData: s,
70
+ title: l = "",
71
+ hideThumbnail: o
72
+ }) => {
73
+ const { t: d } = L(), c = (t, r, e) => {
74
+ const p = se(t.encounterDetails, d);
75
+ return /* @__PURE__ */ I(
76
+ B,
77
+ {
78
+ title: p,
79
+ id: `encounter-${t.encounterId}`,
80
+ open: r,
81
+ children: [
82
+ t.observations.map(
83
+ (i, m) => F(
84
+ i,
85
+ m,
86
+ e,
87
+ l,
88
+ d,
89
+ o
90
+ )
91
+ ),
92
+ t.groupedObservations.map(
93
+ (i, m) => ye(
94
+ i,
95
+ d,
96
+ r,
97
+ m,
98
+ e,
99
+ l,
100
+ o
101
+ )
102
+ )
103
+ ]
104
+ },
105
+ `encounter-${t.encounterId}`
106
+ );
107
+ };
108
+ return /* @__PURE__ */ n(
109
+ "div",
110
+ {
111
+ id: "obs-by-encounter",
112
+ "data-testid": "obs-by-encounter-test-id",
113
+ "aria-label": "obs-by-encounter-aria-label",
114
+ children: s.map(
115
+ (t, r) => c(t, r === 0, r)
116
+ )
117
+ }
118
+ );
119
+ }, Re = (s) => ["conceptUuid", s], _e = (s, l, o, d) => [
120
+ "observations",
121
+ s,
122
+ ...l,
123
+ o,
124
+ d
125
+ ], Ie = ({
126
+ config: s,
127
+ episodeOfCareUuids: l,
128
+ encounterUuids: o
129
+ }) => {
130
+ const d = s, {
131
+ conceptNames: c = [],
132
+ conceptUuid: t = [],
133
+ hideThumbnail: r = !1,
134
+ scope: e = "all"
135
+ } = d, p = pe(/* @__PURE__ */ new Set()), i = x(), { addNotification: m } = G(), { t: u } = L(), b = ue({
136
+ queries: c.map((a) => ({
137
+ queryKey: Re(a),
138
+ queryFn: () => M(a),
139
+ enabled: !!a
140
+ }))
141
+ });
142
+ V(() => {
143
+ const a = b.some((Q) => Q.isError), y = p.current.size > 0;
144
+ a && !y ? (m({
145
+ title: u("ERROR_DEFAULT_TITLE"),
146
+ message: u("ERROR_FETCHING_OBSERVATIONS"),
147
+ type: "error"
148
+ }), p.current.add(0)) : !a && y && p.current.clear();
149
+ }, [b, m, u]);
150
+ const E = g(() => b.map((a) => a.data?.uuid).filter((a) => !!a), [b]), h = g(() => [.../* @__PURE__ */ new Set([...E, ...t])], [E, t]), v = g(() => c.length === 0 ? !0 : b.every((a) => !a.isLoading), [b, c.length]), R = e === "latest" || e === "latest-encounter", U = H(
151
+ l,
152
+ o
153
+ ), {
154
+ data: _,
155
+ isLoading: w,
156
+ isError: S,
157
+ refetch: N
158
+ } = ce({
159
+ queryKey: _e(
160
+ i,
161
+ h,
162
+ o,
163
+ e
164
+ ),
165
+ queryFn: () => R ? j(
166
+ i,
167
+ h,
168
+ o
169
+ ) : W(
170
+ i,
171
+ h,
172
+ o
173
+ ),
174
+ enabled: !!i && h.length > 0 && v && !U
175
+ });
176
+ Y(
177
+ (a) => {
178
+ a.patientUUID === i && a.updatedConcepts.size > 0 && [...a.updatedConcepts.keys()].some(
179
+ (y) => h.includes(y)
180
+ ) && N();
181
+ },
182
+ [i, N]
183
+ ), V(() => {
184
+ S && m({
185
+ title: u("ERROR_DEFAULT_TITLE"),
186
+ message: u("ERROR_FETCHING_OBSERVATIONS"),
187
+ type: "error"
188
+ });
189
+ }, [S]);
190
+ const $ = g(() => {
191
+ if (!_) return [];
192
+ let a = J(_);
193
+ e === "latest-encounter" && (a = P(a));
194
+ const y = X(a);
195
+ return Z(y);
196
+ }, [_, e]), q = [
197
+ { key: "name", header: "name" },
198
+ { key: "value", header: "value" },
199
+ { key: "form", header: "form" }
200
+ ], A = w || !v, D = S && v, C = (!_ || _.entry?.length === 0 || h.length === 0) && v, K = D ? u("ERROR_FETCHING_OBSERVATIONS") : null, k = C ? u("NO_OBSERVATIONS_FOUND") : void 0, z = $.length > 0 && !A && !D, T = d.titleTranslationKey, f = T ? u(T) : "";
201
+ return /* @__PURE__ */ I(
202
+ "div",
203
+ {
204
+ id: "observations",
205
+ "data-testid": T ? `observations-${f}` : "observations",
206
+ "aria-label": "observations-aria-label",
207
+ className: O.observations,
208
+ children: [
209
+ /* @__PURE__ */ n(
210
+ ee,
211
+ {
212
+ id: "observations-title",
213
+ testId: T ? `observations-title-${f}` : "observations-title",
214
+ title: f,
215
+ className: O.title,
216
+ children: /* @__PURE__ */ n("p", { children: f })
217
+ }
218
+ ),
219
+ z ? /* @__PURE__ */ n(
220
+ Oe,
221
+ {
222
+ groupedData: $,
223
+ title: f,
224
+ hideThumbnail: r
225
+ }
226
+ ) : /* @__PURE__ */ n(
227
+ ae,
228
+ {
229
+ headers: q,
230
+ rows: [],
231
+ ariaLabel: u("OBSERVATIONS"),
232
+ loading: A,
233
+ errorStateMessage: K,
234
+ emptyStateMessage: k ?? u("NO_OBSERVATIONS_AVAILABLE"),
235
+ dataTestId: "observations-table"
236
+ }
237
+ )
238
+ ]
239
+ }
240
+ );
241
+ };
242
+ export {
243
+ Re as conceptUuidQueryKeys,
244
+ Ie as default,
245
+ _e as observationsQueryKeys
246
+ };
@@ -1,4 +1,4 @@
1
- import { c6 as we, c7 as z, c8 as xt, c9 as B, c4 as q, c5 as y, ca as Ro, cb as ye, cc as R, cd as _, ce as k, cf as N, cg as A, ch as bs, ci as ir, cj as $e, ck as G, cl as Hn, cm as Vn, cn as dt, co as D, cp as xs, cq as cn, cr as Be, cs as ws, ct as qt, cu as zt, cv as $s, cw as Cs, cx as $n, cy as Ss, cz as Nr, cA as Bt, cB as zo, cC as ks, cD as Es, cE as j, cF as Gr, cG as Ms, cH as Ds, cI as sr, cJ as As, cK as Ts, cL as zn, cM as Fs, cN as Is, cO as Z, cP as Ps, cQ as Ls } from "./index-DGEgKcRC.js";
1
+ import { c6 as we, c7 as z, c8 as xt, c9 as B, c4 as q, c5 as y, ca as Ro, cb as ye, cc as R, cd as _, ce as k, cf as N, cg as A, ch as bs, ci as ir, cj as $e, ck as G, cl as Hn, cm as Vn, cn as dt, co as D, cp as xs, cq as cn, cr as Be, cs as ws, ct as qt, cu as zt, cv as $s, cw as Cs, cx as $n, cy as Ss, cz as Nr, cA as Bt, cB as zo, cC as ks, cD as Es, cE as j, cF as Gr, cG as Ms, cH as Ds, cI as sr, cJ as As, cK as Ts, cL as zn, cM as Fs, cN as Is, cO as Z, cP as Ps, cQ as Ls } from "./index-CWrIj17R.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,4 +1,4 @@
1
- import { c1 as i, c2 as o } from "./index-DGEgKcRC.js";
1
+ import { c1 as i, c2 as o } from "./index-CWrIj17R.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
@@ -1,11 +1,11 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { u as g, k as u, bQ as b, b_ as f, b$ as _, c0 as p, aO as x, bW as N } from "./index-DGEgKcRC.js";
2
+ import { u as g, k as u, bQ as b, b_ as f, b$ as _, c0 as p, aO as x, bW as N } from "./index-CWrIj17R.js";
3
3
  import { lazy as h, useMemo as t, Suspense as E } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as C } from "./hook-Cgat4dpY.js";
5
+ import { u as C } from "./hook-CPfpyOdi.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-HgX8a6P5.js")
8
+ () => import("./index-DG_W9Zdm.js")
9
9
  )
10
10
  }, I = "index-module_page__16xxw", O = "index-module_loading__wNI-4", P = "index-module_message__Ib5Iw", l = {
11
11
  page: I,