@bahmni/clinical-app 0.0.1-dev.336 → 0.0.1-dev.337

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 { t as V, w as ENCOUNTER_CONCEPTS_URL, x as qr, a as a0, z as nn, B as d_, C as f_, D as pi, G as BAHMNI_USER_LOCATION_COOKIE_NAME, u as useTranslation, I as yy, T as TPt, J as RH2, K as kH2, L as DH2, N as wM2, O as rc1, P as bH2, Z as Zw, Q as fi, S as Uw, X as Mw, Y as nd, a0 as di, a1 as dist, a2 as Ca, a3 as we, a4 as Oy, a5 as cb, a6 as Eb, a7 as bb, a8 as ZH2, a9 as qH2, aa as cV2, q as q1, ab as Kc, ac as _b, ad as oH2, ae as MH2, af as iC2, ag as YH2, ah as KH2, ai as zQt, aj as zb, ak as SH2, al as g_, am as Es, an as Kb, ao as M_, ap as yb, aq as EH2, ar as Tb, as as Ob, at as CLINICAL_V2_CONFIG_BASE_URL, au as Ib, av as aE, aw as Br, ax as $b, ay as lb, az as U_, aA as vH2, aB as Wb, aC as Pb, aD as Db, aE as j_, aF as $H2, aG as ev, aH as ib, aI as Cb, aJ as kr, aK as G_, aL as X_, aM as Pa, aN as __, aO as Jb, aP as o_, aQ as NQt, aR as aC2, aS as oC2, aT as STOP_REASON_VALUESET_URL, aU as STOP_REASON_VALUESET_EXPAND_URL, aV as STOP_MEDICATION_URL, aW as VH2, aX as Hd$1, aY as Qn, aZ as rC2, a_ as v_, a$ as R_, b0 as wE, b1 as ob, b2 as yE, b3 as rn, b4 as A4, b5 as c3, b6 as tC2, b7 as O_, b8 as Ly, b9 as A_, ba as $_, bb as ed, bc as Sy, bd as s_, be as Z_, bf as q_, bg as F_, bh as k_, bi as CDSS_SERVER_CONFIG_URL, bj as DQt, bk as WH2, bl as NH2, bm as ml1, bn as m_, bo as h_, bp as p_, bq as vQt, br as fQt, bs as bE, bt as y_, bu as UH2, bv as Dw, bw as BAHMNI_CLINICAL_PATH, bx as Qw, by as b_, bz as jH2, bA as PH2, bB as JE2, bC as Jw, bD as xQt } from "./index-C_6QyT3c.js";
2
+ import { t as V, w as ENCOUNTER_CONCEPTS_URL, x as qr, a as a0, z as nn, B as d_, C as f_, D as pi, G as BAHMNI_USER_LOCATION_COOKIE_NAME, u as useTranslation, I as yy, T as TPt, J as RH2, K as kH2, L as DH2, N as wM2, O as rc1, P as bH2, Z as Zw, Q as fi, S as Uw, X as Mw, Y as nd, a0 as di, a1 as dist, a2 as Ca, a3 as we, a4 as Oy, a5 as cb, a6 as Eb, a7 as bb, a8 as ZH2, a9 as qH2, aa as cV2, q as q1, ab as Kc, ac as _b, ad as oH2, ae as MH2, af as iC2, ag as YH2, ah as KH2, ai as zQt, aj as zb, ak as SH2, al as g_, am as Es, an as Kb, ao as M_, ap as yb, aq as EH2, ar as Tb, as as Ob, at as CLINICAL_V2_CONFIG_BASE_URL, au as Ib, av as aE, aw as Br, ax as $b, ay as lb, az as U_, aA as vH2, aB as Wb, aC as Pb, aD as Db, aE as j_, aF as $H2, aG as ev, aH as ib, aI as Cb, aJ as kr, aK as G_, aL as X_, aM as Pa, aN as __, aO as Jb, aP as o_, aQ as NQt, aR as aC2, aS as oC2, aT as STOP_REASON_VALUESET_URL, aU as STOP_REASON_VALUESET_EXPAND_URL, aV as STOP_MEDICATION_URL, aW as VH2, aX as Hd$1, aY as Qn, aZ as rC2, a_ as v_, a$ as R_, b0 as wE, b1 as ob, b2 as yE, b3 as rn, b4 as A4, b5 as c3, b6 as tC2, b7 as O_, b8 as Ly, b9 as A_, ba as $_, bb as ed, bc as Sy, bd as s_, be as Z_, bf as q_, bg as F_, bh as k_, bi as CDSS_SERVER_CONFIG_URL, bj as DQt, bk as WH2, bl as NH2, bm as ml1, bn as m_, bo as h_, bp as p_, bq as vQt, br as fQt, bs as bE, bt as y_, bu as UH2, bv as Dw, bw as BAHMNI_CLINICAL_PATH, bx as Qw, by as b_, bz as jH2, bA as PH2, bB as JE2, bC as Jw, bD as xQt } from "./index-BhAxGLgK.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-BohdkTI8.js";
7
+ import { u as useClinicalConfig } from "./hook-DJbi6Kw5.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 p, Fragment as x } from "react/jsx-runtime";
2
- import { a as G, u as W, q as Y, p as J, $ as X, v as Z, R as ee, b as te } from "./index-C_6QyT3c.js";
2
+ import { a as G, u as W, q as Y, p as J, $ as X, v as Z, R as ee, b as te } from "./index-BhAxGLgK.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 re, Fragment as oe } from "react/jsx-runtime";
2
- import { u as ae, a as se, c as te, h as ne, d as de, e as ie, f as le, U as me, l as ce, g as q, v as ue, $ as fe, R as $, _ as ye, A as he, b as be, i as pe } from "./index-C_6QyT3c.js";
2
+ import { u as ae, a as se, c as te, h as ne, d as de, e as ie, f as le, U as me, l as ce, g as q, v as ue, $ as fe, R as $, _ as ye, A as he, b as be, i as pe } from "./index-BhAxGLgK.js";
3
3
  import { useQueryClient as ge, useQuery as y } from "@tanstack/react-query";
4
4
  import { useState as k, useMemo as d, useCallback as h } from "react";
5
5
  const Ne = "FormsTable-module_formsTableBody__SvGha", Ae = "FormsTable-module_customAccordianItem__isszs", O = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-D4ZPZIpJ.js";
2
- import { bH as d, bI as f, bJ as e } from "./index-C_6QyT3c.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-D5iZtkwN.js";
2
+ import { bH as d, bI as f, bJ as e } from "./index-BhAxGLgK.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-D4ZPZIpJ.js";
2
- import { bH as v, bI as C, bJ as e } from "./index-C_6QyT3c.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-D5iZtkwN.js";
2
+ import { bH as v, bI as C, bJ as e } from "./index-BhAxGLgK.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 { a as B, q as K, u as N, s as M, j as k, U as H, y as j, H as w, M as x, k as G, R as z, E as P, F, V as W, m as J, n as X, o as Y, W as Z, r as ee } from "./index-C_6QyT3c.js";
2
+ import { a as B, q as K, u as N, s as M, j as k, U as H, y as j, H as w, M as x, k as G, R as z, E as P, F, V as W, m as J, n as X, o as Y, W as Z, r as ee } from "./index-BhAxGLgK.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as _, useMemo as R } from "react";
5
5
  const Q = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { bK as we, bL as z, bM as xt, bN as B, bI as q, bJ as y, bO as Ro, bP as ye, bQ as R, bR as _, bS as k, bT as N, bU as A, bV as bs, bW as ir, bX as $e, bY as U, bZ as Hn, b_ as Vn, b$ as dt, c0 as D, c1 as xs, c2 as cn, c3 as Be, c4 as ws, c5 as qt, c6 as zt, c7 as $s, c8 as Cs, c9 as $n, ca as Ss, cb as Nr, cc as Bt, cd as zo, ce as ks, cf as Es, cg as j, ch as Ur, ci as Ms, cj as Ds, ck as sr, cl as As, cm as Ts, cn as zn, co as Fs, cp as Is, cq as Z, cr as Ps, cs as Ls } from "./index-C_6QyT3c.js";
1
+ import { bK as we, bL as z, bM as xt, bN as B, bI as q, bJ as y, bO as Ro, bP as ye, bQ as R, bR as _, bS as k, bT as N, bU as A, bV as bs, bW as ir, bX as $e, bY as U, bZ as Hn, b_ as Vn, b$ as dt, c0 as D, c1 as xs, c2 as cn, c3 as Be, c4 as ws, c5 as qt, c6 as zt, c7 as $s, c8 as Cs, c9 as $n, ca as Ss, cb as Nr, cc as Bt, cd as zo, ce as ks, cf as Es, cg as j, ch as Ur, ci as Ms, cj as Ds, ck as sr, cl as As, cm as Ts, cn as zn, co as Fs, cp as Is, cq as Z, cr as Ps, cs as Ls } from "./index-BhAxGLgK.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 { bF as i, bG as o } from "./index-C_6QyT3c.js";
1
+ import { bF as i, bG as o } from "./index-BhAxGLgK.js";
2
2
  import "react";
3
3
  const l = i(
4
4
  o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, ct as o, cu as l, cv as c, b4 as m, b5 as g, cw as h, cx as b, cy as u, aF as p } from "./index-C_6QyT3c.js";
2
+ import { u as r, ct as o, cu as l, cv as c, b4 as m, b5 as g, cw as h, cx as b, cy as u, aF as p } from "./index-BhAxGLgK.js";
3
3
  import { Suspense as $ } from "react";
4
4
  const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t = {
5
5
  loading: _,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { by as m, u, aM as b, bv as f, bE as p, aF as _, bB as x } from "./index-C_6QyT3c.js";
2
+ import { by as m, u, aM as b, bv as f, bE as p, aF as _, bB as x } from "./index-BhAxGLgK.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-BohdkTI8.js";
4
+ import { u as E } from "./hook-DJbi6Kw5.js";
5
5
  const P = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
@@ -13,7 +13,7 @@ const P = (s) => {
13
13
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
14
  ), C = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-B-5eTUyo.js")
16
+ () => import("./index-Af1212xD.js")
17
17
  )
18
18
  }, L = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", B = "index-module_message__Ib5Iw", o = {
19
19
  page: L,
@@ -74437,10 +74437,10 @@ const c20 = () => {
74437
74437
  );
74438
74438
  }
74439
74439
  };
74440
- }, BV = c20(), i20 = (t) => `${Ht}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(t)}`, s20 = "SHORT", d20 = "FULLY_SPECIFIED";
74441
- async function oZt(t) {
74442
- const e = i20(t), r = await Z2(e);
74443
- return !r.results || r.results.length === 0 ? null : r.results[0];
74440
+ }, BV = c20(), i20 = (t, e) => `${Ht}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(t)}`, s20 = "SHORT", d20 = "FULLY_SPECIFIED";
74441
+ async function oZt(t, e) {
74442
+ const r = i20(t), o = await Z2(r);
74443
+ return !o.results || o.results.length === 0 ? null : o.results[0];
74444
74444
  }
74445
74445
  function u20(t) {
74446
74446
  if (!t?.length) return null;
@@ -107235,7 +107235,7 @@ const uE0 = [
107235
107235
  },
107236
107236
  {
107237
107237
  type: "patientDocuments",
107238
- component: $0(() => import("./DocumentsTable-CTusNB7B-x-ikBbDW.js"))
107238
+ component: $0(() => import("./DocumentsTable-B8kKM-VS-Pp26dnT7.js"))
107239
107239
  },
107240
107240
  {
107241
107241
  type: "flowSheet",
@@ -107243,7 +107243,7 @@ const uE0 = [
107243
107243
  },
107244
107244
  {
107245
107245
  type: "forms",
107246
- component: $0(() => import("./FormsTable-BG5HiaLE-ezTfVmXu.js"))
107246
+ component: $0(() => import("./FormsTable-Bx36hODf-Bsr_ECOK.js"))
107247
107247
  },
107248
107248
  {
107249
107249
  type: "labOrders",
@@ -107251,7 +107251,7 @@ const uE0 = [
107251
107251
  },
107252
107252
  {
107253
107253
  type: "observations",
107254
- component: $0(() => import("./Observations-CMEosjHX-Cutw8f94.js"))
107254
+ component: $0(() => import("./Observations-DrShFy9o-CjfhzsJX.js"))
107255
107255
  },
107256
107256
  {
107257
107257
  type: "ordersControl",
@@ -199783,7 +199783,7 @@ var OIt = (t, e = !1) => {
199783
199783
  const e = Y82(() => {
199784
199784
  const r = this, [o] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
199785
199785
  let d;
199786
- return this.#c ? d = this.#c : (d = G82(() => import("./LNWAZHJI-BEe7CqOT.js")), this.#c = d), m92(this.#h, this.#r), U82(d, W82({
199786
+ return this.#c ? d = this.#c : (d = G82(() => import("./LNWAZHJI-B7WitnCW.js")), this.#c = d), m92(this.#h, this.#r), U82(d, W82({
199787
199787
  get queryFlavor() {
199788
199788
  return r.#d;
199789
199789
  },
@@ -199881,7 +199881,7 @@ var OIt = (t, e = !1) => {
199881
199881
  const e = Y82(() => {
199882
199882
  const r = this, [o] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
199883
199883
  let u;
199884
- return this.#i ? u = this.#i : (u = G82(() => import("./MWZ6AO7Z-U5XQsEVL.js")), this.#i = u), m92(this.#h, this.#r), U82(u, W82({
199884
+ return this.#i ? u = this.#i : (u = G82(() => import("./MWZ6AO7Z-D9mUBUlh.js")), this.#i = u), m92(this.#h, this.#r), U82(u, W82({
199885
199885
  get queryFlavor() {
199886
199886
  return r.#d;
199887
199887
  },
@@ -200037,7 +200037,7 @@ const sSt = {
200037
200037
  id: "clinical-config",
200038
200038
  name: "Clinical Config",
200039
200039
  displayName: "ClinicalConfigProvider"
200040
- }), zSt = $0(() => import("./ConsultationPage-BAvrJrPV.js")), HSt = $0(() => import("./index-CRqD8KIO.js")), xSt = [
200040
+ }), zSt = $0(() => import("./ConsultationPage-BYzdBFxA.js")), HSt = $0(() => import("./index-B_idIMN-.js")), xSt = [
200041
200041
  {
200042
200042
  path: ":patientUuid",
200043
200043
  component: zSt
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cz as c } from "./index-C_6QyT3c.js";
1
+ import { cz as c } from "./index-BhAxGLgK.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.336",
3
+ "version": "0.0.1-dev.337",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",