@bahmni/clinical-app 0.0.1-dev.470 → 0.0.1-dev.472

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.
Files changed (44) hide show
  1. package/dist/App.d.ts.map +1 -1
  2. package/dist/{ConsultationPage-C9yBlTEP.js → ConsultationPage-BgaZ0Y9c.js} +14208 -13880
  3. package/dist/{DocumentsTable-DddJ0p1F-BpBFefEj.js → DocumentsTable-D05Z8kWb-7AjFQEB4.js} +61 -61
  4. package/dist/{FormsTable-DLC_vCD0-DF-ICHCl.js → FormsTable-DS8v_y5q-CWsG6XlV.js} +67 -67
  5. package/dist/{LNWAZHJI-CwZGMaM2.js → LNWAZHJI-CTETrb0D.js} +2 -2
  6. package/dist/{MWZ6AO7Z-CK3e7OlH.js → MWZ6AO7Z-BCT8jndg.js} +2 -2
  7. package/dist/{Observations-Cwi0QkK8-Bygnk9dO.js → Observations-UeuPSqCU-BAn5deDa.js} +13 -13
  8. package/dist/{YPM2AS64-mYHqu47N.js → YPM2AS64-C1ymN_wG.js} +1 -1
  9. package/dist/components/consultationPad/__tests__/__mocks__/inputControlRegistryMocks.d.ts.map +1 -1
  10. package/dist/components/consultationPad/services.d.ts.map +1 -1
  11. package/dist/components/consultationPad/utils.d.ts +1 -0
  12. package/dist/components/consultationPad/utils.d.ts.map +1 -1
  13. package/dist/components/forms/disposition/Disposition.d.ts +8 -0
  14. package/dist/components/forms/disposition/Disposition.d.ts.map +1 -0
  15. package/dist/components/forms/disposition/index.d.ts +2 -0
  16. package/dist/components/forms/disposition/index.d.ts.map +1 -0
  17. package/dist/components/forms/index.d.ts.map +1 -1
  18. package/dist/components/patientHeader/DispositionActionButton.d.ts +14 -0
  19. package/dist/components/patientHeader/DispositionActionButton.d.ts.map +1 -0
  20. package/dist/components/patientHeader/PatientHeader.d.ts.map +1 -1
  21. package/dist/config/queryClient.d.ts +3 -0
  22. package/dist/config/queryClient.d.ts.map +1 -0
  23. package/dist/{hook-2qk5SbyT.js → hook-tzMks18k.js} +3 -3
  24. package/dist/{index-CAiXEDu_.js → index-BKGCne91.js} +3 -3
  25. package/dist/{index-WbFuNeuG.js → index-Cis36GjX.js} +12 -12
  26. package/dist/{index-sjgf7zfi-Dnobdsxa.js → index-Dyt17CgX-BTQeQROx.js} +1 -1
  27. package/dist/{index-qO8oMcDW.js → index-Ephh8_b4.js} +15638 -15585
  28. package/dist/index.css +1 -1
  29. package/dist/index.js +2 -2
  30. package/dist/locales/locale_en.json +17 -0
  31. package/dist/locales/locale_es.json +17 -0
  32. package/dist/models/serviceRequest.d.ts +1 -0
  33. package/dist/models/serviceRequest.d.ts.map +1 -1
  34. package/dist/providers/clinicalConfig/schema.json.d.ts +2 -1
  35. package/dist/services/dispositionService.d.ts +24 -0
  36. package/dist/services/dispositionService.d.ts.map +1 -0
  37. package/dist/services/encounterBundleService.d.ts.map +1 -1
  38. package/dist/stores/dispositionStore.d.ts +39 -0
  39. package/dist/stores/dispositionStore.d.ts.map +1 -0
  40. package/dist/stores/index.d.ts +1 -0
  41. package/dist/stores/index.d.ts.map +1 -1
  42. package/dist/utils/fhir/serviceRequestResourceCreator.d.ts +2 -1
  43. package/dist/utils/fhir/serviceRequestResourceCreator.d.ts.map +1 -1
  44. 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, q as H, h as x, r as Y, z as j, $ as J, G as W, s as P, K as X, Y as Z, c as ee, M as ae, W as se, v as V, w as re, y as te, H as ie, A as oe, F as ne, L as de, N as le } from "./index-qO8oMcDW.js";
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-Ephh8_b4.js";
3
3
  import { useQueries as ce, useQuery as ue } from "@tanstack/react-query";
4
- import { useRef as pe, useEffect as L, useMemo as g } from "react";
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, E = /* @__PURE__ */ S("div", { className: R.wrapper, children: [
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: E,
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 E = g(() => b.map((a) => a.data?.uuid).filter((a) => !!a), [b]), h = g(() => [.../* @__PURE__ */ new Set([...E, ...r])], [E, r]), v = g(() => u.length === 0 ? !0 : b.every((a) => !a.isLoading), [b, u.length]), O = e === "latest" || e === "latest-encounter", F = x(
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 ? Y(
165
+ queryFn: () => O ? J(
166
166
  i,
167
167
  h,
168
168
  o
169
- ) : j(
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
- J(
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 = g(() => {
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, 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, T = d.titleTranslationKey, f = T ? c(T) : "";
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": T ? `observations-${f}` : "observations",
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: T ? `observations-title-${f}` : "observations-title",
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: Q,
233
+ errorStateMessage: q,
234
234
  emptyStateMessage: C ?? c("NO_OBSERVATIONS_AVAILABLE"),
235
235
  dataTestId: "observations-table"
236
236
  }
@@ -1,4 +1,4 @@
1
- import { cx as we, cy as z, cz as xt, cA as B, cv as q, cw as y, cB as Ro, cC as ye, cD as R, cE as _, cF as k, cG as N, cH as A, cI as bs, cJ as ir, cK as $e, cL as U, cM as Hn, cN as Vn, cO as dt, cP as D, cQ as xs, cR as cn, cS as Be, cT as ws, cU as qt, cV as zt, cW as $s, cX as Cs, cY as $n, cZ as Ss, c_ as Nr, c$ as Bt, d0 as zo, d1 as ks, d2 as Es, d3 as j, d4 as Ur, d5 as Ms, d6 as Ds, d7 as sr, d8 as As, d9 as Ts, da as zn, db as Fs, dc as Is, dd as Z, de as Ps, df as Ls } from "./index-qO8oMcDW.js";
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-Ephh8_b4.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -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,eAsEvC,CAAC"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/services.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,SAAS,CAAC;AASjD,OAAO,KAAK,EAEV,YAAY,EACZ,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB,UAAU,iBAAiB;IACzB,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B;AAED,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CA+D3B"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/services.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,SAAS,CAAC;AASjD,OAAO,KAAK,EAEV,YAAY,EACZ,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB,UAAU,iBAAiB;IACzB,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B;AAED,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CAiE3B"}
@@ -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,sBAAsB,EAAE,WAAW,CAAC;CACrC,GAAG,SAAS,GAAG,IAAI,GAAG,SAAS,CAe/B;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,YAAY,EAAE,CA6BhB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,EAAE,EACxB,OAAO,EAAE,wBAAwB,GAAG,SAAS,EAC7C,MAAM,EAAE,uBAAuB,GAAG,SAAS,GAC1C,YAAY,EAAE,CAgDhB;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;;;;;;;;EAmC9D"}
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,sBAAsB,EAAE,WAAW,CAAC;CACrC,GAAG,SAAS,GAAG,IAAI,GAAG,SAAS,CAe/B;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,YAAY,EAAE,CA6BhB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,EAAE,EACxB,OAAO,EAAE,wBAAwB,GAAG,SAAS,EAC7C,MAAM,EAAE,uBAAuB,GAAG,SAAS,GAC1C,YAAY,EAAE,CA+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,2 @@
1
+ export { default } from './Disposition';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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":"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;AAE3B,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"}
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;AAQ1D,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,CAuH/C,CAAC;AAEF,eAAe,aAAa,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,3 @@
1
+ import { QueryClient } from '@tanstack/react-query';
2
+ export declare const queryClient: QueryClient;
3
+ //# sourceMappingURL=queryClient.d.ts.map
@@ -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 { cs as i, ct as o } from "./index-qO8oMcDW.js";
1
+ import { cw as i, cx as o } from "./index-Ephh8_b4.js";
2
2
  import "react/jsx-runtime";
3
3
  import "@tanstack/react-query";
4
4
  import "react";
5
- const a = i(
5
+ const l = i(
6
6
  o,
7
7
  "useClinicalConfig",
8
8
  "ClinicalConfigProvider"
9
9
  );
10
10
  export {
11
- a as u
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, dg as l, dh as o, di as c, bE as m, bF as g, dj as h, dk as p, dl as b, b6 as u } from "./index-qO8oMcDW.js";
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-Ephh8_b4.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", S = "index-module_panel__8VJh2", s = {
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: S
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,18 +1,18 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { u as g, p as u, cf as p, cp as f, cq as x, cr as _, b6 as N, cl as h } from "./index-qO8oMcDW.js";
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-Ephh8_b4.js";
3
3
  import "@tanstack/react-query";
4
- import { lazy as b, useMemo as t, Suspense as C } from "react";
5
- import { u as E } from "./hook-2qk5SbyT.js";
6
- const L = {
4
+ import { lazy as b, useMemo as t, Suspense as L } from "react";
5
+ import { u as C } from "./hook-tzMks18k.js";
6
+ const E = {
7
7
  "org.bahmni.clinical.v2.search": b(
8
- () => import("./index-CAiXEDu_.js")
8
+ () => import("./index-BKGCne91.js")
9
9
  )
10
- }, I = "index-module_page__16xxw", P = "index-module_loading__wNI-4", v = "index-module_message__Ib5Iw", l = {
11
- page: I,
12
- loading: P,
13
- message: v
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 } = E(), { userPrivileges: r } = u(), m = t(
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: L[e],
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
- C,
54
+ L,
55
55
  {
56
56
  fallback: /* @__PURE__ */ s(
57
57
  N,
@@ -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, V as al, X as ul, _ as sl, a0 as ll, a1 as cl, a2 as hl, a3 as fl } from "./index-qO8oMcDW.js";
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-Ephh8_b4.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) {