@bahmni/widgets 0.0.1-dev.153 → 0.0.1-dev.155

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,16 +1,16 @@
1
1
  import { jsxs as b, jsx as d, Fragment as k } from "react/jsx-runtime";
2
- import { c as R, D as te, x as re, b as ae, e as oe, R as se, u as ne, o as de, h as ie, f as le, p as ce, a as me, A as ue, g as pe, d as be, J as U, L as fe, H as _e, i as $e, t as ge, j as H, l as he } from "./index-D3Mgdxfk.js";
3
- import { useQueryClient as ye, useQuery as O } from "@tanstack/react-query";
2
+ import { c as C, D as te, N as re, $ as ae, e as oe, R as se, u as ne, o as de, h as ie, f as le, p as ce, a as me, A as ue, g as pe, m as be, t as x, H as fe, C as _e, b as $e, d as ge, i as H, l as he } from "./index-veQFQARd.js";
3
+ import { useQueryClient as ye, useQuery as L } from "@tanstack/react-query";
4
4
  import { useState as P, useMemo as y, useCallback as F } from "react";
5
5
  import { useTranslation as ve } from "react-i18next";
6
- const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Re = "_observation_1pd36_30", Me = "_groupContainer_1pd36_39", Ce = "_rowContainer_1pd36_43", De = "_groupLabel_1pd36_48", we = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Ae = "_memberRow_1pd36_81", Ee = "_memberLabel_1pd36_86", Be = "_memberValue_1pd36_94", Ie = "_abnormalValue_1pd36_102", Se = "_commentSection_1pd36_110", Ge = "_commentText_1pd36_116", xe = "_nestedGroup_1pd36_125", qe = "_nestedGroupLabel_1pd36_132", Ue = "_nestedGroupMembers_1pd36_141", o = {
6
+ const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Ce = "_observation_1pd36_30", Re = "_groupContainer_1pd36_39", Me = "_rowContainer_1pd36_43", De = "_groupLabel_1pd36_48", we = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Ae = "_memberRow_1pd36_81", Ee = "_memberLabel_1pd36_86", Be = "_memberValue_1pd36_94", Ie = "_abnormalValue_1pd36_102", Se = "_commentSection_1pd36_110", Ge = "_commentText_1pd36_116", qe = "_nestedGroup_1pd36_125", Ue = "_nestedGroupLabel_1pd36_132", xe = "_nestedGroupMembers_1pd36_141", o = {
7
7
  formsTableBody: Ne,
8
- customAccordianItem: Le,
9
- formContent: Oe,
8
+ customAccordianItem: Oe,
9
+ formContent: Le,
10
10
  formDetailsContainer: Fe,
11
- observation: Re,
12
- groupContainer: Me,
13
- rowContainer: Ce,
11
+ observation: Ce,
12
+ groupContainer: Re,
13
+ rowContainer: Me,
14
14
  groupLabel: De,
15
15
  rowLabel: we,
16
16
  rowValue: Te,
@@ -21,10 +21,10 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
21
21
  abnormalValue: Ie,
22
22
  commentSection: Se,
23
23
  commentText: Ge,
24
- nestedGroup: xe,
25
- nestedGroupLabel: qe,
26
- nestedGroupMembers: Ue
27
- }, j = (e) => {
24
+ nestedGroup: qe,
25
+ nestedGroupLabel: Ue,
26
+ nestedGroupMembers: xe
27
+ }, K = (e) => {
28
28
  const t = te(e);
29
29
  return t === "Image" ? /* @__PURE__ */ d(
30
30
  re,
@@ -34,7 +34,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
34
34
  id: `${e}-img`
35
35
  }
36
36
  ) : t === "Video" ? /* @__PURE__ */ d(ae, { id: `${e}-video`, videoSrc: e }) : e;
37
- }, K = (e) => {
37
+ }, j = (e) => {
38
38
  const t = e.observationValue?.unit, a = e.observationValue?.referenceRange?.low?.value, n = e.observationValue?.referenceRange?.high?.value, s = a != null, c = n != null, i = s && c ? ` (${a} - ${n})` : s ? ` (>${a})` : c ? ` (<${n})` : "", r = e.observationValue?.isAbnormal === !0;
39
39
  return { units: t, rangeString: i, isAbnormal: r };
40
40
  }, Q = ({
@@ -81,7 +81,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
81
81
  ]
82
82
  }
83
83
  );
84
- const { units: p, rangeString: h, isAbnormal: f } = K(e), _ = e.observationValue?.value?.toString(), $ = _ ? j(_) : null;
84
+ const { units: p, rangeString: h, isAbnormal: f } = j(e), _ = e.observationValue?.value?.toString(), $ = _ ? K(_) : null;
85
85
  return /* @__PURE__ */ b(k, { children: [
86
86
  /* @__PURE__ */ b(
87
87
  "div",
@@ -93,7 +93,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
93
93
  /* @__PURE__ */ b(
94
94
  "p",
95
95
  {
96
- className: R(
96
+ className: C(
97
97
  o.memberLabel,
98
98
  f ? o.abnormalValue : ""
99
99
  ),
@@ -107,7 +107,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
107
107
  /* @__PURE__ */ b(
108
108
  "div",
109
109
  {
110
- className: R(
110
+ className: C(
111
111
  o.memberValue,
112
112
  f ? o.abnormalValue : ""
113
113
  ),
@@ -140,7 +140,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
140
140
  formName: a = "",
141
141
  comment: n
142
142
  }) => {
143
- const s = e.members && e.members.length > 0, { units: c, rangeString: i, isAbnormal: r } = K(e), p = a ? `${a}-` : "", h = e.observationValue?.value?.toString(), f = h ? j(h) : null;
143
+ const s = e.members && e.members.length > 0, { units: c, rangeString: i, isAbnormal: r } = j(e), p = a ? `${a}-` : "", h = e.observationValue?.value?.toString(), f = h ? K(h) : null;
144
144
  return /* @__PURE__ */ b(
145
145
  "div",
146
146
  {
@@ -156,7 +156,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
156
156
  /* @__PURE__ */ b(
157
157
  "p",
158
158
  {
159
- className: R(
159
+ className: C(
160
160
  s ? o.groupLabel : o.rowLabel,
161
161
  !s && r ? o.abnormalValue : ""
162
162
  ),
@@ -186,7 +186,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
186
186
  ) : /* @__PURE__ */ b(
187
187
  "div",
188
188
  {
189
- className: R(
189
+ className: C(
190
190
  o.rowValue,
191
191
  r ? o.abnormalValue : ""
192
192
  ),
@@ -220,13 +220,13 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
220
220
  )?.valueString : void 0, ke = (e) => {
221
221
  if (e)
222
222
  return e.note?.[0]?.text;
223
- }, je = (e, t) => e.entry?.find((a) => a.resource?.id === t)?.resource, w = (e, t) => {
224
- const a = je(e, t);
223
+ }, Ke = (e, t) => e.entry?.find((a) => a.resource?.id === t)?.resource, w = (e, t) => {
224
+ const a = Ke(e, t);
225
225
  return a ? {
226
226
  formFieldPath: Pe(a),
227
227
  comment: ke(a)
228
228
  } : {};
229
- }, Ke = (e, t) => {
229
+ }, je = (e, t) => {
230
230
  if (!e?.entry || !t)
231
231
  return [];
232
232
  const a = oe(e);
@@ -261,45 +261,45 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
261
261
  isLoading: v,
262
262
  isError: N,
263
263
  error: z,
264
- refetch: J
265
- } = O({
264
+ refetch: W
265
+ } = L({
266
266
  queryKey: ["forms", s, e],
267
267
  queryFn: () => ie(s, void 0, h),
268
268
  enabled: !!s && !f
269
269
  }), T = y(() => !t || t.length === 0 ? $ : $.filter(
270
270
  (l) => t.includes(l.encounterUuid)
271
- ), [$, t]), { data: V = [] } = O({
271
+ ), [$, t]), { data: V = [] } = L({
272
272
  queryKey: ["observationForms"],
273
273
  queryFn: () => le()
274
274
  }), A = F(
275
275
  (l) => V.find((m) => m.name === l)?.uuid,
276
276
  [V]
277
- ), M = y(() => {
277
+ ), R = y(() => {
278
278
  if (r)
279
279
  return A(r.formName);
280
- }, [r, A]), { isLoading: W, error: E } = O({
281
- queryKey: ["formMetadata", M],
282
- queryFn: () => ce(M),
283
- enabled: !!M && c
280
+ }, [r, A]), { isLoading: Y, error: E } = L({
281
+ queryKey: ["formMetadata", R],
282
+ queryFn: () => ce(R),
283
+ enabled: !!R && c
284
284
  }), {
285
- data: C,
286
- isLoading: Y,
285
+ data: M,
286
+ isLoading: J,
287
287
  error: B
288
- } = O({
288
+ } = L({
289
289
  queryKey: ["formsEncounterFHIR", r?.encounterUuid],
290
290
  queryFn: () => me(r.encounterUuid),
291
291
  enabled: !!r?.encounterUuid && c
292
292
  });
293
293
  ue(
294
294
  (l) => {
295
- l.patientUUID === s && l.updatedConcepts.size > 0 && (J(), _.invalidateQueries({ queryKey: ["formsEncounter"] }));
295
+ l.patientUUID === s && l.updatedConcepts.size > 0 && (W(), _.invalidateQueries({ queryKey: ["formsEncounter"] }));
296
296
  },
297
297
  [s]
298
298
  );
299
- const I = y(() => !C || !r?.formName ? [] : Ke(
300
- C,
299
+ const I = y(() => !M || !r?.formName ? [] : je(
300
+ M,
301
301
  r.formName
302
- ), [C, r?.formName]), S = y(
302
+ ), [M, r?.formName]), S = y(
303
303
  () => [
304
304
  { key: "recordedOn", header: n("FORM_RECORDED_ON") },
305
305
  { key: "recordedBy", header: n("FORM_RECORDED_BY") }
@@ -314,10 +314,10 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
314
314
  ), G = y(() => {
315
315
  const l = T.reduce(
316
316
  (m, u) => {
317
- const L = u.formName;
318
- m[L] ??= [];
317
+ const O = u.formName;
318
+ m[O] ??= [];
319
319
  const D = u.providers.map((ee) => ee.providerName).filter(Boolean).join(", ");
320
- return m[L].push({
320
+ return m[O].push({
321
321
  id: u.encounterUuid,
322
322
  formName: u.formName,
323
323
  recordedOn: pe(u.encounterDateTime, n, he).formattedResult,
@@ -332,30 +332,30 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
332
332
  ([m, u]) => ({
333
333
  formName: m,
334
334
  records: u.sort(
335
- (L, D) => D.encounterDateTime - L.encounterDateTime
335
+ (O, D) => D.encounterDateTime - O.encounterDateTime
336
336
  )
337
337
  })
338
338
  ).sort((m, u) => m.formName.localeCompare(u.formName));
339
- }, [T, n]), x = F((l) => {
339
+ }, [T, n]), q = F((l) => {
340
340
  p(l), i(!0);
341
341
  }, []), Z = F(() => {
342
342
  i(!1), p(null);
343
- }, []), q = F(
343
+ }, []), U = F(
344
344
  (l, g) => {
345
345
  switch (g) {
346
346
  case "recordedOn":
347
- return /* @__PURE__ */ d(be, { onClick: () => x(l), children: l.recordedOn });
347
+ return /* @__PURE__ */ d(be, { onClick: () => q(l), children: l.recordedOn });
348
348
  case "recordedBy":
349
349
  return l.recordedBy;
350
350
  default:
351
351
  return null;
352
352
  }
353
353
  },
354
- [x]
354
+ [q]
355
355
  );
356
356
  return /* @__PURE__ */ b(k, { children: [
357
357
  /* @__PURE__ */ d("div", { "data-testid": "forms-table", children: v || N || G.length === 0 || f ? /* @__PURE__ */ d(
358
- U,
358
+ x,
359
359
  {
360
360
  headers: S,
361
361
  ariaLabel: n("FORMS_HEADING"),
@@ -363,7 +363,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
363
363
  loading: v,
364
364
  errorStateMessage: N ? z?.message : void 0,
365
365
  emptyStateMessage: n("FORMS_UNAVAILABLE"),
366
- renderCell: q,
366
+ renderCell: U,
367
367
  className: o.formsTableBody,
368
368
  dataTestId: "forms-table"
369
369
  }
@@ -377,7 +377,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
377
377
  testId: `accordian-title-${m}`,
378
378
  open: g === 0,
379
379
  children: /* @__PURE__ */ d(
380
- U,
380
+ x,
381
381
  {
382
382
  headers: S,
383
383
  ariaLabel: n("FORMS_HEADING"),
@@ -386,7 +386,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
386
386
  errorStateMessage: "",
387
387
  sortable: X,
388
388
  emptyStateMessage: n("FORMS_UNAVAILABLE"),
389
- renderCell: q,
389
+ renderCell: U,
390
390
  className: o.formsTableBody,
391
391
  dataTestId: `forms-table-${m}`
392
392
  }
@@ -406,7 +406,7 @@ const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Oe =
406
406
  passiveModal: !0,
407
407
  size: "md",
408
408
  testId: "form-details-modal",
409
- children: /* @__PURE__ */ d("div", { className: o.formContent, children: W || Y ? /* @__PURE__ */ d(ge, { width: "100%", lineCount: 3 }) : E ? /* @__PURE__ */ d("div", { children: H(E).message ?? n("ERROR_FETCHING_FORM_METADATA") }) : B ? /* @__PURE__ */ d("div", { children: H(B).message ?? n("ERROR_FETCHING_FORM_DATA") }) : I.length > 0 ? /* @__PURE__ */ d("div", { className: o.formDetailsContainer, children: I.map(({ obs: l, comment: g }, m) => /* @__PURE__ */ d(
409
+ children: /* @__PURE__ */ d("div", { className: o.formContent, children: Y || J ? /* @__PURE__ */ d(ge, { width: "100%", lineCount: 3 }) : E ? /* @__PURE__ */ d("div", { children: H(E).message ?? n("ERROR_FETCHING_FORM_METADATA") }) : B ? /* @__PURE__ */ d("div", { children: H(B).message ?? n("ERROR_FETCHING_FORM_DATA") }) : I.length > 0 ? /* @__PURE__ */ d("div", { className: o.formDetailsContainer, children: I.map(({ obs: l, comment: g }, m) => /* @__PURE__ */ d(
410
410
  He,
411
411
  {
412
412
  observation: l,
@@ -1,17 +1,17 @@
1
- import { jsx as d, jsxs as N } from "react/jsx-runtime";
2
- import { k, V as S, m as q, D as w, _ as M, x as K, b as Q, u as G, n as H, q as P, r as j, A as J, e as z, s as Y, v as x, O as W, J as X } from "./index-D3Mgdxfk.js";
3
- import { useQueries as Z, useQuery as ee } from "@tanstack/react-query";
4
- import { useRef as te, useEffect as $, useMemo as h } from "react";
1
+ import { jsx as d, jsxs as D } from "react/jsx-runtime";
2
+ import { j as k, _ as S, k as q, D as M, n as V, N as K, $ as Q, u as G, q as j, r as H, s as P, A as z, e as Y, v as J, w as W, B as X, t as Z } from "./index-veQFQARd.js";
3
+ import { useQueries as x, useQuery as ee } from "@tanstack/react-query";
4
+ import { useRef as te, useEffect as I, useMemo as h } from "react";
5
5
  import { useTranslation as C } from "react-i18next";
6
6
  const U = (t, c, n, l, o) => {
7
- const s = q(t, c), r = s.value, a = w(r);
7
+ const s = q(t, c), r = s.value, a = M(r);
8
8
  let i = r;
9
9
  a === "Image" && (i = /* @__PURE__ */ d(K, { imageSrc: r, alt: r, id: `${r}-img` })), a === "Video" && (i = /* @__PURE__ */ d(Q, { id: `${r}-video`, videoSrc: r }));
10
10
  const u = o("OBSERVATIONS_RECORDED_BY", {
11
11
  provider: s.provider
12
- }), b = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", f = l ? `${l}-${m}-${b}-${n}-${c}` : `${m}-${b}-${n}-${c}`;
12
+ }), b = t.display, p = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", f = l ? `${l}-${p}-${b}-${n}-${c}` : `${p}-${b}-${n}-${c}`;
13
13
  return /* @__PURE__ */ d(
14
- M,
14
+ V,
15
15
  {
16
16
  header: s.header,
17
17
  value: i,
@@ -39,7 +39,7 @@ const U = (t, c, n, l, o) => {
39
39
  }) => {
40
40
  const { t: n } = C(), l = (o, s, r) => {
41
41
  const a = k(o.encounterDetails, n);
42
- return /* @__PURE__ */ N(
42
+ return /* @__PURE__ */ D(
43
43
  S,
44
44
  {
45
45
  title: a,
@@ -75,47 +75,47 @@ const U = (t, c, n, l, o) => {
75
75
  )
76
76
  }
77
77
  );
78
- }, re = "_observations_kfbhq_1", ae = "_title_kfbhq_12", D = {
78
+ }, re = "_observations_kfbhq_1", ae = "_title_kfbhq_12", N = {
79
79
  observations: re,
80
80
  title: ae
81
- }, ne = (t) => ["conceptUuid", t], ie = (t, c) => ["observations", t, ...c], me = ({ config: t }) => {
82
- const c = t, { conceptNames: n = [], conceptUuid: l = [] } = c, o = te(/* @__PURE__ */ new Set()), s = G(), { addNotification: r } = H(), { t: a } = C(), i = Z({
81
+ }, ne = (t) => ["conceptUuid", t], ie = (t, c) => ["observations", t, ...c], pe = ({ config: t }) => {
82
+ const c = t, { conceptNames: n = [], conceptUuid: l = [] } = c, o = te(/* @__PURE__ */ new Set()), s = G(), { addNotification: r } = j(), { t: a } = C(), i = x({
83
83
  queries: n.map((e) => ({
84
84
  queryKey: ne(e),
85
- queryFn: () => P(e),
85
+ queryFn: () => H(e),
86
86
  enabled: !!e
87
87
  }))
88
88
  });
89
- $(() => {
90
- i.forEach((e, p) => {
91
- if (e.isError && !o.current.has(p)) {
92
- const g = n[p];
89
+ I(() => {
90
+ i.forEach((e, m) => {
91
+ if (e.isError && !o.current.has(m)) {
92
+ const g = n[m];
93
93
  r({
94
94
  title: a("ERROR_DEFAULT_TITLE"),
95
95
  message: a("ERROR_FETCHING_CONCEPT", { conceptName: g }),
96
96
  type: "error"
97
- }), o.current.add(p);
98
- } else e.isError || o.current.delete(p);
97
+ }), o.current.add(m);
98
+ } else e.isError || o.current.delete(m);
99
99
  });
100
100
  }, [i, n]);
101
101
  const u = h(() => i.map((e) => e.data?.uuid).filter((e) => !!e), [i]), b = h(() => [.../* @__PURE__ */ new Set([...u, ...l])], [u, l]), v = h(() => n.length === 0 ? !0 : i.every((e) => !e.isLoading), [i, n.length]), {
102
- data: m,
102
+ data: p,
103
103
  isLoading: f,
104
104
  isError: O,
105
105
  refetch: R
106
106
  } = ee({
107
107
  queryKey: ie(s, b),
108
- queryFn: () => j(s, b),
108
+ queryFn: () => P(s, b),
109
109
  enabled: !!s && b.length > 0 && v
110
110
  });
111
- J(
111
+ z(
112
112
  (e) => {
113
113
  e.patientUUID === s && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
114
114
  (g) => b.includes(g)
115
115
  ) && R();
116
116
  },
117
117
  [s, R]
118
- ), $(() => {
118
+ ), I(() => {
119
119
  O && r({
120
120
  title: a("ERROR_DEFAULT_TITLE"),
121
121
  message: a("ERROR_FETCHING_OBSERVATIONS"),
@@ -123,36 +123,36 @@ const U = (t, c, n, l, o) => {
123
123
  });
124
124
  }, [O]);
125
125
  const T = h(() => {
126
- if (!m) return [];
127
- const e = z(m), p = Y(e);
128
- return x(p);
129
- }, [m]), A = [
126
+ if (!p) return [];
127
+ const e = Y(p), m = J(e);
128
+ return W(m);
129
+ }, [p]), B = [
130
130
  { key: "name", header: "name" },
131
131
  { key: "value", header: "value" },
132
132
  { key: "form", header: "form" }
133
- ], _ = f || !v, I = O && v, B = (!m || m.entry?.length === 0 || b.length === 0) && v, F = I ? a("ERROR_FETCHING_OBSERVATIONS") : null, L = B ? a("NO_OBSERVATIONS_FOUND") : void 0, V = T.length > 0 && !_ && !I, E = c.titleTranslationKey, y = E ? a(E) : "";
134
- return /* @__PURE__ */ N(
133
+ ], _ = f || !v, $ = O && v, A = (!p || p.entry?.length === 0 || b.length === 0) && v, F = $ ? a("ERROR_FETCHING_OBSERVATIONS") : null, L = A ? a("NO_OBSERVATIONS_FOUND") : void 0, w = T.length > 0 && !_ && !$, E = c.titleTranslationKey, y = E ? a(E) : "";
134
+ return /* @__PURE__ */ D(
135
135
  "div",
136
136
  {
137
137
  id: "observations",
138
138
  "data-testid": E ? `observations-${y}` : "observations",
139
139
  "aria-label": "observations-aria-label",
140
- className: D.observations,
140
+ className: N.observations,
141
141
  children: [
142
142
  /* @__PURE__ */ d(
143
- W,
143
+ X,
144
144
  {
145
145
  id: "observations-title",
146
146
  testId: E ? `observations-title-${y}` : "observations-title",
147
147
  title: y,
148
- className: D.title,
148
+ className: N.title,
149
149
  children: /* @__PURE__ */ d("p", { children: y })
150
150
  }
151
151
  ),
152
- V ? /* @__PURE__ */ d(oe, { groupedData: T, title: y }) : /* @__PURE__ */ d(
153
- X,
152
+ w ? /* @__PURE__ */ d(oe, { groupedData: T, title: y }) : /* @__PURE__ */ d(
153
+ Z,
154
154
  {
155
- headers: A,
155
+ headers: B,
156
156
  rows: [],
157
157
  ariaLabel: a("OBSERVATIONS"),
158
158
  loading: _,
@@ -167,6 +167,6 @@ const U = (t, c, n, l, o) => {
167
167
  };
168
168
  export {
169
169
  ne as conceptUuidQueryKeys,
170
- me as default,
170
+ pe as default,
171
171
  ie as observationsQueryKeys
172
172
  };
@@ -78621,7 +78621,7 @@ const ort = () => {
78621
78621
  },
78622
78622
  {
78623
78623
  type: "forms",
78624
- component: nn(() => import("./FormsTable-rLPw6Nu1.js"))
78624
+ component: nn(() => import("./FormsTable-Co0vmiID.js"))
78625
78625
  },
78626
78626
  {
78627
78627
  type: "labOrders",
@@ -78629,7 +78629,7 @@ const ort = () => {
78629
78629
  },
78630
78630
  {
78631
78631
  type: "observations",
78632
- component: nn(() => import("./Observations-BwD7bytk.js"))
78632
+ component: nn(() => import("./Observations-mh6G3pVz.js"))
78633
78633
  },
78634
78634
  {
78635
78635
  type: "ordersControl",
@@ -78701,34 +78701,34 @@ const art = (t) => {
78701
78701
  cn.getInstance().reset();
78702
78702
  };
78703
78703
  export {
78704
- art as $,
78704
+ xtt as $,
78705
78705
  e1 as A,
78706
- AQe as B,
78707
- aXe as C,
78706
+ Au as B,
78707
+ G2 as C,
78708
78708
  Ptt as D,
78709
- pQe as E,
78710
- iet as F,
78711
- Let as G,
78712
- G2 as H,
78709
+ hXe as E,
78710
+ AQe as F,
78711
+ pQe as G,
78712
+ Y2 as H,
78713
78713
  jet as I,
78714
- zr as J,
78715
- Xet as K,
78716
- Y2 as L,
78714
+ Xet as J,
78715
+ nrt as K,
78716
+ iet as L,
78717
78717
  IXe as M,
78718
- nrt as N,
78719
- Au as O,
78718
+ Mtt as N,
78719
+ MYe as O,
78720
78720
  Gtt as P,
78721
- MYe as Q,
78721
+ Jtt as Q,
78722
78722
  Ftt as R,
78723
78723
  rrt as S,
78724
- Jtt as T,
78725
- ett as U,
78726
- Htt as V,
78727
- htt as W,
78728
- ptt as X,
78729
- ort as Y,
78730
- oue as Z,
78731
- Lke as _,
78724
+ ett as T,
78725
+ htt as U,
78726
+ Let as V,
78727
+ ptt as W,
78728
+ ort as X,
78729
+ oue as Y,
78730
+ art as Z,
78731
+ Htt as _,
78732
78732
  Utt as a,
78733
78733
  irt as a0,
78734
78734
  srt as a1,
@@ -78736,29 +78736,29 @@ export {
78736
78736
  crt as a3,
78737
78737
  drt as a4,
78738
78738
  urt as a5,
78739
- xtt as b,
78739
+ Gn as b,
78740
78740
  C0 as c,
78741
- Cc as d,
78741
+ btt as d,
78742
78742
  YXe as e,
78743
78743
  Wtt as f,
78744
78744
  ir as g,
78745
78745
  Ytt as h,
78746
- Gn as i,
78747
- Vr as j,
78748
- Xtt as k,
78746
+ Vr as i,
78747
+ Xtt as j,
78748
+ Qtt as k,
78749
78749
  gde as l,
78750
- Qtt as m,
78751
- pn as n,
78750
+ Cc as m,
78751
+ Lke as n,
78752
78752
  ws as o,
78753
78753
  Ktt as p,
78754
- jtt as q,
78755
- qtt as r,
78756
- ert as s,
78757
- btt as t,
78754
+ pn as q,
78755
+ jtt as r,
78756
+ qtt as s,
78757
+ zr as t,
78758
78758
  hn as u,
78759
- trt as v,
78760
- IYe as w,
78761
- Mtt as x,
78759
+ ert as v,
78760
+ trt as w,
78761
+ IYe as x,
78762
78762
  AJe as y,
78763
- hXe as z
78763
+ aXe as z
78764
78764
  };