@bahmni/clinical-app 0.0.1-dev.361 → 0.0.1-dev.362

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 { B as H, C as ENCOUNTER_CONCEPTS_URL, Y as Yr, D as Di, L as BAHMNI_USER_LOCATION_COOKIE_NAME, u as useTranslation, O as Dm, P as pSe, g as gr, Q as kH2, S as IH2, T as TH2, W as gM2, X as rc1, Z as AH2, _ as vE, $ as Ii, a0 as Id, a1 as iE, a2 as Nd, a3 as Es, a4 as dist, a5 as yt, a6 as ge, a7 as ns, a8 as Ib, a9 as Vb, aa as Hb, ab as BH2, ac as KH2, ad as oV2, K as K1, E as E3, ae as Bb, af as sH2, ag as VH2, ah as pC2, ai as XH2, aj as JH2, N as NYt, ak as w_, al as RH2, am as q_, an as Os, ao as __, ap as iv, aq as Fb, ar as HH2, as as Jb, at as Zb, au as CLINICAL_V2_CONFIG_BASE_URL, av as s_, aw as PE, ax as Qr, ay as t_, az as Cb, aA as cv, aB as Og2, aC as v_, aD as n_, aE as o_, aF as dv, aG as DH2, aH as Sv, aI as Nb, aJ as a_, aK as Kt, aL as jr, aM as yv, aN as vv, J as J0, aO as B_, aP as S_, aQ as A_, v as vYt, aR as iC2, aS as sC2, aT as G_, aU as Y_, aV as STOP_REASON_VALUESET_URL, aW as STOP_REASON_VALUESET_EXPAND_URL, aX as STOP_MEDICATION_URL, aY as CH2, aZ as mf, a_ as Zn, a$ as oC2, b0 as z_, b1 as K_, b2 as jE, b3 as Pb, b4 as FE, b5 as J_, b6 as an, b7 as N4, b8 as c3, b9 as rC2, ba as Q_, bb as X_, bc as Pi, bd as rs, be as C_, bf as Gb, bg as Tv, bh as uv, bi as lv, bj as av, bk as CDSS_SERVER_CONFIG_URL, bl as RYt, bm as UH2, bn as Jy, bo as L_, bp as x_, bq as $H2, br as ml1, bs as U_, bt as M_, bu as k_, bv as gYt, bw as pYt, bx as HE, by as F_, bz as GH2, bA as rE, bB as BAHMNI_CLINICAL_PATH, bC as bE, bD as H_, bE as qH2, bF as WH2, bG as QE2, bH as AGt, bI as EE, bJ as xYt } from "./index-CKLsqmrZ.js";
2
+ import { B as H, C as ENCOUNTER_CONCEPTS_URL, Y as Yr, D as Di, L as BAHMNI_USER_LOCATION_COOKIE_NAME, u as useTranslation, O as Dm, P as pSe, g as gr, Q as kH2, S as IH2, T as TH2, W as gM2, X as rc1, Z as AH2, _ as vE, $ as Ii, a0 as Id, a1 as iE, a2 as Nd, a3 as Es, a4 as dist, a5 as yt, a6 as ge, a7 as ns, a8 as Ib, a9 as Vb, aa as Hb, ab as BH2, ac as KH2, ad as oV2, K as K1, E as E3, ae as Bb, af as sH2, ag as VH2, ah as pC2, ai as XH2, aj as JH2, N as NYt, ak as w_, al as RH2, am as q_, an as Os, ao as __, ap as iv, aq as Fb, ar as HH2, as as Jb, at as Zb, au as CLINICAL_V2_CONFIG_BASE_URL, av as s_, aw as PE, ax as Qr, ay as t_, az as Cb, aA as cv, aB as Og2, aC as v_, aD as n_, aE as o_, aF as dv, aG as DH2, aH as Sv, aI as Nb, aJ as a_, aK as Kt, aL as jr, aM as yv, aN as vv, J as J0, aO as B_, aP as S_, aQ as A_, v as vYt, aR as iC2, aS as sC2, aT as G_, aU as Y_, aV as STOP_REASON_VALUESET_URL, aW as STOP_REASON_VALUESET_EXPAND_URL, aX as STOP_MEDICATION_URL, aY as CH2, aZ as mf, a_ as Zn, a$ as oC2, b0 as z_, b1 as K_, b2 as jE, b3 as Pb, b4 as FE, b5 as J_, b6 as an, b7 as N4, b8 as c3, b9 as rC2, ba as Q_, bb as X_, bc as Pi, bd as rs, be as C_, bf as Gb, bg as Tv, bh as uv, bi as lv, bj as av, bk as CDSS_SERVER_CONFIG_URL, bl as RYt, bm as UH2, bn as Jy, bo as L_, bp as x_, bq as $H2, br as ml1, bs as U_, bt as M_, bu as k_, bv as gYt, bw as pYt, bx as HE, by as F_, bz as GH2, bA as rE, bB as BAHMNI_CLINICAL_PATH, bC as bE, bD as H_, bE as qH2, bF as WH2, bG as QE2, bH as AGt, bI as EE, bJ as xYt } from "./index-DVofVra1.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-DliNUT4D.js";
7
+ import { u as useClinicalConfig } from "./hook-BoQL42hZ.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 : {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as h, Fragment as x } from "react/jsx-runtime";
2
- import { g as G, u as Y, K as W, h as J, n as X, a as Z, U as ee, p as te } from "./index-CKLsqmrZ.js";
2
+ import { g as G, u as Y, K as W, h as J, n as X, a as Z, U as ee, p as te } from "./index-DVofVra1.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as p, 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 G, Fragment as ge } from "react/jsx-runtime";
2
- import { u as he, g as pe, E as be, J as Ne, b as Oe, d as Te, c as Ee, e as Ie, f as Ae, i as ve, R as _e, v as Fe, s as K, a as Re, j as Y, k as x, n as Se, U as P, l as Ue, m as Ce, p as Be, G as Le, N as De } from "./index-CKLsqmrZ.js";
2
+ import { u as he, g as pe, E as be, J as Ne, b as Oe, d as Te, c as Ee, e as Ie, f as Ae, i as ve, R as _e, v as Fe, s as K, a as Re, j as Y, k as x, n as Se, U as P, l as Ue, m as Ce, p as Be, G as Le, N as De } from "./index-DVofVra1.js";
3
3
  import { useQueryClient as Me, useQuery as O } from "@tanstack/react-query";
4
4
  import { useState as Q, useMemo as d, useCallback as l } from "react";
5
5
  const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_modalHeading__wnTmA", we = "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-h4ErisFG.js";
2
- import { bN as d, bO as f, bP as e } from "./index-CKLsqmrZ.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BlxW_DTC.js";
2
+ import { bN as d, bO as f, bP as e } from "./index-DVofVra1.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-h4ErisFG.js";
2
- import { bN as v, bO as C, bP as e } from "./index-CKLsqmrZ.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-BlxW_DTC.js";
2
+ import { bN as v, bO as C, bP as e } from "./index-DVofVra1.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 S, jsx as u } from "react/jsx-runtime";
2
- import { g as B, K as q, u as N, o as M, q as H, i as Q, V as k, H as w, M as x, r as G, U as z, t as j, F, y as P, w as J, I as W, x as X, z as Z, A as ee } from "./index-CKLsqmrZ.js";
2
+ import { g as B, K as q, u as N, o as M, q as H, i as Q, V as k, H as w, M as x, r as G, U as z, t as j, F, y as P, w as J, I as W, x as X, z as Z, A as ee } from "./index-DVofVra1.js";
3
3
  import { useQueries as te, useQuery as ae } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as E } from "react";
5
5
  const A = (t, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { bQ as we, bR as z, bS as xt, bT as B, bO as q, bP as y, bU as Ro, bV as ye, bW as R, bX as _, bY as k, bZ as N, b_ as A, b$ as bs, c0 as ir, c1 as $e, c2 as U, c3 as Hn, c4 as Vn, c5 as dt, c6 as D, c7 as xs, c8 as cn, c9 as Be, ca as ws, cb as qt, cc as zt, cd as $s, ce as Cs, cf as $n, cg as Ss, ch as Nr, ci as Bt, cj as zo, ck as ks, cl as Es, cm as j, cn as Ur, co as Ms, cp as Ds, cq as sr, cr as As, cs as Ts, ct as zn, cu as Fs, cv as Is, cw as Z, cx as Ps, cy as Os } from "./index-CKLsqmrZ.js";
1
+ import { bQ as we, bR as z, bS as xt, bT as B, bO as q, bP as y, bU as Ro, bV as ye, bW as R, bX as _, bY as k, bZ as N, b_ as A, b$ as bs, c0 as ir, c1 as $e, c2 as U, c3 as Hn, c4 as Vn, c5 as dt, c6 as D, c7 as xs, c8 as cn, c9 as Be, ca as ws, cb as qt, cc as zt, cd as $s, ce as Cs, cf as $n, cg as Ss, ch as Nr, ci as Bt, cj as zo, ck as ks, cl as Es, cm as j, cn as Ur, co as Ms, cp as Ds, cq as sr, cr as As, cs as Ts, ct as zn, cu as Fs, cv as Is, cw as Z, cx as Ps, cy as Os } from "./index-DVofVra1.js";
2
2
  var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,4 +1,4 @@
1
- import { bL as i, bM as o } from "./index-CKLsqmrZ.js";
1
+ import { bL as i, bM as o } from "./index-DVofVra1.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cz as o, cA as l, cB as c, b7 as m, b8 as g, cC as h, cD as b, cE as p, aG as u } from "./index-CKLsqmrZ.js";
2
+ import { u as r, cz as o, cA as l, cB as c, b7 as m, b8 as g, cC as h, cD as b, cE as p, aG as u } from "./index-DVofVra1.js";
3
3
  import { Suspense as E } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { bD as m, u, J as p, bA as f, bK as b, aG as _, bG as x } from "./index-CKLsqmrZ.js";
2
+ import { bD as m, u, J as p, bA as f, bK as b, aG as _, bG as x } from "./index-DVofVra1.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as E } from "./hook-DliNUT4D.js";
5
+ import { u as E } from "./hook-BoQL42hZ.js";
6
6
  const P = (s) => {
7
7
  const i = /* @__PURE__ */ new Map();
8
8
  for (const e of s) {
@@ -14,7 +14,7 @@ const P = (s) => {
14
14
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
15
15
  ), C = {
16
16
  "org.bahmni.clinical.v2.search": N(
17
- () => import("./index-AZbvK4Xt.js")
17
+ () => import("./index-8hfTiSbB.js")
18
18
  )
19
19
  }, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", H = "index-module_message__Ib5Iw", l = {
20
20
  page: L,
@@ -80138,7 +80138,7 @@ const Gg = "consultation:saved", q10 = (t) => {
80138
80138
  };
80139
80139
  function G10(t) {
80140
80140
  return t.filter((e) => e.resource?.resourceType === "DocumentReference").map((e) => {
80141
- const r = e.resource, n = r.masterIdentifier?.value ?? r.id ?? "", a = r.context?.encounter?.[0]?.reference?.split("/").pop(), l = (r.content ?? []).map((c) => c.attachment).filter((c) => !!c).map((c) => ({ url: c.url ?? "", contentType: c.contentType })), i = l[0];
80141
+ const r = e.resource, n = r.masterIdentifier?.value ?? "", a = r.context?.encounter?.[0]?.reference?.split("/").pop(), l = (r.content ?? []).map((c) => c.attachment).filter((c) => !!c).map((c) => ({ url: c.url ?? "", contentType: c.contentType })), i = l[0];
80142
80142
  return {
80143
80143
  id: r.id ?? n,
80144
80144
  documentIdentifier: n,
@@ -110138,7 +110138,7 @@ const Bm0 = [
110138
110138
  },
110139
110139
  {
110140
110140
  type: "patientDocuments",
110141
- component: q0(() => import("./DocumentsTable-CuUXGGnu-BsbCkW1d.js"))
110141
+ component: q0(() => import("./DocumentsTable-DWtzocck-OdpJoLJE.js"))
110142
110142
  },
110143
110143
  {
110144
110144
  type: "flowSheet",
@@ -110146,7 +110146,7 @@ const Bm0 = [
110146
110146
  },
110147
110147
  {
110148
110148
  type: "forms",
110149
- component: q0(() => import("./FormsTable-Brl_a7KT-BDb-E0HM.js"))
110149
+ component: q0(() => import("./FormsTable-cMrb-0Md-BgMVzqsz.js"))
110150
110150
  },
110151
110151
  {
110152
110152
  type: "labOrders",
@@ -110154,7 +110154,7 @@ const Bm0 = [
110154
110154
  },
110155
110155
  {
110156
110156
  type: "observations",
110157
- component: q0(() => import("./Observations-BhHohufb-CIINxrrm.js"))
110157
+ component: q0(() => import("./Observations-DNOcuCWE-DvhS75tW.js"))
110158
110158
  },
110159
110159
  {
110160
110160
  type: "ordersControl",
@@ -203082,7 +203082,7 @@ var _St = (t, e = !1) => {
203082
203082
  const e = _s2(() => {
203083
203083
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#p, [s] = this.#e;
203084
203084
  let d;
203085
- return this.#i ? d = this.#i : (d = As2(() => import("./LNWAZHJI-COvorflD.js")), this.#i = d), Ys2(this.#h, this.#r), Ns2(d, Cs2({
203085
+ return this.#i ? d = this.#i : (d = As2(() => import("./LNWAZHJI-D3PtFqRe.js")), this.#i = d), Ys2(this.#h, this.#r), Ns2(d, Cs2({
203086
203086
  get queryFlavor() {
203087
203087
  return r.#d;
203088
203088
  },
@@ -203180,7 +203180,7 @@ var _St = (t, e = !1) => {
203180
203180
  const e = _s2(() => {
203181
203181
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#p, [s] = this.#e, [d] = this.#i;
203182
203182
  let u;
203183
- return this.#c ? u = this.#c : (u = As2(() => import("./MWZ6AO7Z-BfzMWGu3.js")), this.#c = u), Ys2(this.#h, this.#r), Ns2(u, Cs2({
203183
+ return this.#c ? u = this.#c : (u = As2(() => import("./MWZ6AO7Z-Ba30l2zT.js")), this.#c = u), Ys2(this.#h, this.#r), Ns2(u, Cs2({
203184
203184
  get queryFlavor() {
203185
203185
  return r.#d;
203186
203186
  },
@@ -203336,7 +203336,7 @@ const a$t = {
203336
203336
  id: "clinical-config",
203337
203337
  name: "Clinical Config",
203338
203338
  displayName: "ClinicalConfigProvider"
203339
- }), E$t = q0(() => import("./ConsultationPage-CkN6CM0B.js")), M$t = q0(() => import("./index-CilfHn_F.js")), y$t = [
203339
+ }), E$t = q0(() => import("./ConsultationPage-ClYIA8xI.js")), M$t = q0(() => import("./index-ALTIxFJT.js")), y$t = [
203340
203340
  {
203341
203341
  path: ":patientUuid",
203342
203342
  component: E$t
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cF as c } from "./index-CKLsqmrZ.js";
1
+ import { cF as c } from "./index-DVofVra1.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.361",
3
+ "version": "0.0.1-dev.362",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",