@bahmni/clinical-app 0.0.1-dev.405 → 0.0.1-dev.407

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,10 +1,10 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { u as useTranslation, H as B, I as ENCOUNTER_CONCEPTS_URL, L as Yr, $ as $Ut, M as Li, N as BAHMNI_USER_LOCATION_COOKIE_NAME, O as Fm, Q as Qh, v as v0, R as vb2, S as Eb2, T as mb2, W as Wx2, U as ll1, X as pb2, Z as ME, a0 as Ci, a1 as Md, a2 as _E, a3 as kd, a4 as vs, a5 as dist, a6 as yt, a7 as ge, a8 as ss, a9 as G_, aa as sb, ab as ob, ac as Vb2, ad as bb2, ae as Rz2, z as z1, e as e8, af as ab, ag as Fy2, ah as tb2, ai as jb2, aj as $b2, ak as Ab2, k as pr1, al as xb, am as wb2, an as rv, ao as Ps, ap as Ub, aq as Ov, ar as rb, as as nb2, at as pb, au as gb, av as CLINICAL_V2_CONFIG_BASE_URL, aw as bb, ax as HE, ay as Qr, az as wb, aA as W_, aB as Av, aC as aL2, aD as qb, aE as _b, aF as vb, aG as Nv, aH as ub2, aI as Hv, aJ as Y_, aK as Tb, aL as St, aM as jr, aN as kv, aO as jv, a as en, aP as iv, aQ as jb, aR as Bb, h as eGt, aS as Pb2, aT as Fb2, aU as lv, aV as uv, aW as yb2, aX as ne, aY as STOP_REASON_VALUESET_EXPAND_URL, aZ as Be, a_ as vE, a$ as _f, b0 as es$2, b1 as STOP_REASON_VALUESET_TITLE, b2 as kb2, b3 as cv, b4 as fv, b5 as r_, b6 as B_, b7 as t_, b8 as an, b9 as N4, ba as c3, bb as Ob2, bc as IE, bd as dv, be as hv, bf as mv, bg as gv, bh as Di, bi as ns, bj as Jb, bk as ub, bl as Vv, bm as Pv, bn as $v, bo as Sv, bp as CDSS_SERVER_CONFIG_URL, bq as db, br as Ui, bs as P_, bt as Ze, bu as gr1, bv as _b2, bw as aw, bx as Qb, by as Xb, bz as hb2, bA as Xt, bB as tv, bC as ev, bD as Zb, bE as rr1, bF as X01, bG as s_, bH as nv, bI as wi, bJ as mE, bK as BAHMNI_CLINICAL_PATH, bL as xE, bM as fw, bN as zb2, bO as Lb2, bP as bz2, bQ as h01, bR as LE, bS as dr1 } from "./index-BeQYubv7.js";
2
+ import { u as useTranslation, H as B, I as ENCOUNTER_CONCEPTS_URL, L as Yr, $ as $Ut, M as Li, N as BAHMNI_USER_LOCATION_COOKIE_NAME, O as Fm, Q as Qh, v as v0, R as vb2, S as Eb2, T as mb2, W as Wx2, U as ll1, X as pb2, Z as ME, a0 as Ci, a1 as Md, a2 as _E, a3 as kd, a4 as vs, a5 as dist, a6 as yt, a7 as ge, a8 as ss, a9 as G_, aa as sb, ab as ob, ac as Vb2, ad as bb2, ae as Rz2, z as z1, e as e8, af as ab, ag as Fy2, ah as tb2, ai as jb2, aj as $b2, ak as Ab2, k as pr1, al as xb, am as wb2, an as rv, ao as Ps, ap as Ub, aq as Ov, ar as rb, as as nb2, at as pb, au as gb, av as CLINICAL_V2_CONFIG_BASE_URL, aw as bb, ax as HE, ay as Qr, az as wb, aA as W_, aB as Av, aC as aL2, aD as qb, aE as _b, aF as vb, aG as Nv, aH as ub2, aI as Hv, aJ as Y_, aK as Tb, aL as St, aM as jr, aN as kv, aO as jv, a as en, aP as iv, aQ as jb, aR as Bb, h as eGt, aS as Pb2, aT as Fb2, aU as lv, aV as uv, aW as yb2, aX as ne, aY as STOP_REASON_VALUESET_EXPAND_URL, aZ as Be, a_ as vE, a$ as _f, b0 as es$2, b1 as STOP_REASON_VALUESET_TITLE, b2 as kb2, b3 as cv, b4 as fv, b5 as r_, b6 as B_, b7 as t_, b8 as an, b9 as N4, ba as c3, bb as Ob2, bc as IE, bd as dv, be as hv, bf as mv, bg as gv, bh as Di, bi as ns, bj as Jb, bk as ub, bl as Vv, bm as Pv, bn as $v, bo as Sv, bp as CDSS_SERVER_CONFIG_URL, bq as db, br as Ui, bs as P_, bt as Ze, bu as gr1, bv as _b2, bw as aw, bx as Qb, by as Xb, bz as hb2, bA as Xt, bB as tv, bC as ev, bD as Zb, bE as rr1, bF as X01, bG as s_, bH as nv, bI as wi, bJ as mE, bK as BAHMNI_CLINICAL_PATH, bL as xE, bM as fw, bN as zb2, bO as Lb2, bP as bz2, bQ as h01, bR as LE, bS as dr1 } from "./index-C-cFWAl8.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-y5iu13v4.js";
7
+ import { u as useClinicalConfig } from "./hook-BHuXXaPS.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 : {};
@@ -144051,7 +144051,9 @@ const stopMedicationFormTile = "StopMedicationForm-module_stopMedicationFormTile
144051
144051
  I(c?.type ?? "stopMedications");
144052
144052
  }, [c?.type, I]), useEffect(() => {
144053
144053
  F?.stopMedicationFields && k(F.stopMedicationFields);
144054
- }, [F?.stopMedicationFields, k]);
144054
+ }, [F?.stopMedicationFields, k]), useEffect(() => {
144055
+ s && V(/* @__PURE__ */ new Date());
144056
+ }, [s, V]);
144055
144057
  const { data: N } = useQuery({
144056
144058
  queryKey: ["orderDates", f?.id],
144057
144059
  queryFn: () => B(
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p, Fragment as G } from "react/jsx-runtime";
2
- import { v as Q, u as Y, z as J, J as W, q as X, w as Z, K as ee, p as te } from "./index-BeQYubv7.js";
2
+ import { v as Q, u as Y, z as J, J as W, q as X, w as Z, K as ee, p as te } from "./index-C-cFWAl8.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
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 = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as P, Fragment as ye } from "react/jsx-runtime";
2
- import { u as ge, v as be, e as Oe, a as Ne, b as Te, Y as Ie, d as Ae, c as Ee, f as ve, m as _e, g as Fe, h as Se, i as $, w as Me, A as x, V as Y, q as Re, K as G, P as Be, F as Ce, p as Le, j as Ue, k as De } from "./index-BeQYubv7.js";
2
+ import { u as ge, v as be, e as Oe, a as Ne, b as Te, Y as Ie, d as Ae, c as Ee, f as ve, m as _e, g as Fe, h as Se, i as $, w as Me, A as x, V as Y, q as Re, K as G, P as Be, F as Ce, p as Le, j as Ue, k as De } from "./index-C-cFWAl8.js";
3
3
  import { useQueryClient as ke, useQuery as N } from "@tanstack/react-query";
4
4
  import { useState as Q, useMemo as d, useCallback as c } from "react";
5
5
  const qe = "FormsTable-module_formsTableBody__SvGha", we = "FormsTable-module_modalHeading__wnTmA", Ve = "FormsTable-module_customAccordianItem__isszs", T = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-H0_C5EN5.js";
2
- import { bY as d, bZ as f, b_ as e } from "./index-BeQYubv7.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CQLElo0h.js";
2
+ import { bY as d, bZ as f, b_ as e } from "./index-C-cFWAl8.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-H0_C5EN5.js";
2
- import { bY as v, bZ as C, b_ as e } from "./index-BeQYubv7.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-CQLElo0h.js";
2
+ import { bY as v, bZ as C, b_ as e } from "./index-C-cFWAl8.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
1
  import { jsxs as $, jsx as u } from "react/jsx-runtime";
2
- import { v as q, z as G, u as N, l as k, G as x, m as z, n as Q, o as w, s as H, r as M, K as j, t as P, _ as A, x as J, C as Y, y as W, E as X, B as Z, D as ee } from "./index-BeQYubv7.js";
2
+ import { v as q, z as G, u as N, l as k, G as x, m as z, n as Q, o as w, s as H, r as M, K as j, t as P, _ as A, x as J, C as Y, y as W, E as X, B as Z, D as ee } from "./index-C-cFWAl8.js";
3
3
  import { useQueries as ae, useQuery as re } from "@tanstack/react-query";
4
4
  import { useRef as te, useEffect as f, useMemo as O } from "react";
5
5
  const L = (a, n, d, l, b, o) => {
@@ -1,4 +1,4 @@
1
- import { b$ as we, c0 as z, c1 as xt, c2 as B, bZ as q, b_ as y, c3 as Ro, c4 as ye, c5 as R, c6 as _, c7 as k, c8 as N, c9 as A, ca as bs, cb as ir, cc as $e, cd as G, ce as Hn, cf as Vn, cg as dt, ch as D, ci as xs, cj as cn, ck as Be, cl as ws, cm as qt, cn as zt, co as $s, cp as Cs, cq as $n, cr as Ss, cs as Nr, ct as Bt, cu as zo, cv as ks, cw as Es, cx as j, cy as Gr, cz as Ms, cA as Ds, cB as sr, cC as As, cD as Ts, cE as zn, cF as Fs, cG as Is, cH as Z, cI as Ps, cJ as Ls } from "./index-BeQYubv7.js";
1
+ import { b$ as we, c0 as z, c1 as xt, c2 as B, bZ as q, b_ as y, c3 as Ro, c4 as ye, c5 as R, c6 as _, c7 as k, c8 as N, c9 as A, ca as bs, cb as ir, cc as $e, cd as G, ce as Hn, cf as Vn, cg as dt, ch as D, ci as xs, cj as cn, ck as Be, cl as ws, cm as qt, cn as zt, co as $s, cp as Cs, cq as $n, cr as Ss, cs as Nr, ct as Bt, cu as zo, cv as ks, cw as Es, cx as j, cy as Gr, cz as Ms, cA as Ds, cB as sr, cC as As, cD as Ts, cE as zn, cF as Fs, cG as Is, cH as Z, cI as Ps, cJ as Ls } from "./index-C-cFWAl8.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":"StopMedicationForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/stopMedications/StopMedicationForm.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAGpE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKtF,OAAO,KAAK,EAAE,YAAY,IAAI,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAU3G,UAAU,uBAAuB;IAC/B,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;IAC5D,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;CACjD;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAuQzD,CAAC;AAIF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"StopMedicationForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/stopMedications/StopMedicationForm.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAGpE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKtF,OAAO,KAAK,EAAE,YAAY,IAAI,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAU3G,UAAU,uBAAuB;IAC/B,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;IAC5D,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;CACjD;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6QzD,CAAC;AAIF,eAAe,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { bW as i, bX as o } from "./index-BeQYubv7.js";
1
+ import { bW as i, bX as o } from "./index-C-cFWAl8.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, a as u, bJ as b, bT as f, bU as x, bV as p, aH as _, bP as N } from "./index-BeQYubv7.js";
2
+ import { u as g, a as u, bJ as b, bT as f, bU as x, bV as p, aH as _, bP as N } from "./index-C-cFWAl8.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-y5iu13v4.js";
5
+ import { u as C } from "./hook-BHuXXaPS.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-uelg_Ga5.js")
8
+ () => import("./index-Dw9o1Yxj.js")
9
9
  )
10
10
  }, v = "index-module_page__16xxw", P = "index-module_loading__wNI-4", H = "index-module_message__Ib5Iw", l = {
11
11
  page: v,
@@ -114288,7 +114288,7 @@ const bC0 = [
114288
114288
  },
114289
114289
  {
114290
114290
  type: "patientDocuments",
114291
- component: J0(() => import("./DocumentsTable-CIJwgXmb-o0sXPKHx.js"))
114291
+ component: J0(() => import("./DocumentsTable-CIJwgXmb-875UEKW0.js"))
114292
114292
  },
114293
114293
  {
114294
114294
  type: "flowSheet",
@@ -114296,7 +114296,7 @@ const bC0 = [
114296
114296
  },
114297
114297
  {
114298
114298
  type: "forms",
114299
- component: J0(() => import("./FormsTable-DMPfuqmY-D_sXbv9-.js"))
114299
+ component: J0(() => import("./FormsTable-DMPfuqmY-B2f5iV-l.js"))
114300
114300
  },
114301
114301
  {
114302
114302
  type: "labOrders",
@@ -114304,7 +114304,7 @@ const bC0 = [
114304
114304
  },
114305
114305
  {
114306
114306
  type: "observations",
114307
- component: J0(() => import("./Observations-BflI1_YX-BjS2VTeV.js"))
114307
+ component: J0(() => import("./Observations-BflI1_YX-Cn0QF4T8.js"))
114308
114308
  },
114309
114309
  {
114310
114310
  type: "ordersControl",
@@ -210179,7 +210179,7 @@ var uQt = (t, e = !1) => {
210179
210179
  const e = wp2(() => {
210180
210180
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
210181
210181
  let d;
210182
- return this.#c ? d = this.#c : (d = fp2(() => import("./LNWAZHJI-D4ol89Mi.js")), this.#c = d), Rp2(this.#h, this.#r), hp2(d, pp2({
210182
+ return this.#c ? d = this.#c : (d = fp2(() => import("./LNWAZHJI-BGFtgQ5u.js")), this.#c = d), Rp2(this.#h, this.#r), hp2(d, pp2({
210183
210183
  get queryFlavor() {
210184
210184
  return r.#d;
210185
210185
  },
@@ -210277,7 +210277,7 @@ var uQt = (t, e = !1) => {
210277
210277
  const e = wp2(() => {
210278
210278
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
210279
210279
  let u;
210280
- return this.#i ? u = this.#i : (u = fp2(() => import("./MWZ6AO7Z-XAVFwIqJ.js")), this.#i = u), Rp2(this.#h, this.#r), hp2(u, pp2({
210280
+ return this.#i ? u = this.#i : (u = fp2(() => import("./MWZ6AO7Z-DjrISeAa.js")), this.#i = u), Rp2(this.#h, this.#r), hp2(u, pp2({
210281
210281
  get queryFlavor() {
210282
210282
  return r.#d;
210283
210283
  },
@@ -210433,7 +210433,7 @@ const OGt = {
210433
210433
  id: "clinical-config",
210434
210434
  name: "Clinical Config",
210435
210435
  displayName: "ClinicalConfigProvider"
210436
- }), WGt = J0(() => import("./ConsultationPage-C5i0v-TV.js")), KGt = J0(() => import("./index-Ddj2oHwb.js")), GGt = [
210436
+ }), WGt = J0(() => import("./ConsultationPage-CTWwCFsm.js")), KGt = J0(() => import("./index-B-RvOors.js")), GGt = [
210437
210437
  {
210438
210438
  path: ":patientUuid",
210439
210439
  component: WGt
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cK as l, cL as o, cM as c, b9 as m, ba as g, cN as h, cO as p, cP as b, aH as u } from "./index-BeQYubv7.js";
2
+ import { u as r, cK as l, cL as o, cM as c, b9 as m, ba as g, cN as h, cO as p, cP as b, aH as u } from "./index-C-cFWAl8.js";
3
3
  import { Suspense as _ } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y = "index-module_panel__8VJh2", s = {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cQ as c } from "./index-BeQYubv7.js";
1
+ import { cQ as c } from "./index-C-cFWAl8.js";
2
2
  export {
3
3
  c as ClinicalApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.405",
3
+ "version": "0.0.1-dev.407",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",