@bahmni/appointments-app 0.0.1-dev.222 → 0.0.1-dev.223

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,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
2
- import { t as W, u as K, r as Q, a as J, M as X, N as Z, o as ee, s as te, b as ae } from "./index-DW8fGjlC.js";
2
+ import { t as W, u as K, r as Q, a as J, M as X, N as Z, o as ee, s as te, b as ae } from "./index-Dl3ODFla.js";
3
3
  import { useState as l, useCallback as h, useEffect as f, useMemo as T } from "react";
4
4
  const ne = "_documentsTableBody_1voj8_1", oe = "_viewAttachmentsLink_1voj8_11", re = "_documentViewerContainer_1voj8_15", de = "_attachmentItem_1voj8_23", se = "_attachmentCounter_1voj8_27", ce = "_attachmentError_1voj8_36", ie = "_documentIframe_1voj8_44", le = "_documentImage_1voj8_50", d = {
5
5
  documentsTableBody: ne,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as Y, Fragment as Z } from "react/jsx-runtime";
2
- import { u as W, t as ee, m as re, c as ae, a as c, k as te, V as U, N as se, M as oe, o as C, G as ne, J as de, s as ie, Z as ue, d as me, e as le, X as ce, f as fe, Q as ye } from "./index-DW8fGjlC.js";
2
+ import { u as W, t as ee, m as re, c as ae, a as c, k as te, V as U, N as se, M as oe, o as C, G as ne, J as de, s as ie, Z as ue, d as me, e as le, X as ce, f as fe, Q as ye } from "./index-Dl3ODFla.js";
3
3
  import { useState as S, useMemo as d, useCallback as f } from "react";
4
4
  const be = "_formsTableBody_81hra_1", Ne = "_customAccordianItem_81hra_6", O = {
5
5
  formsTableBody: be,
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CXnY7jGB.js";
2
- import { T as d, U as f, _ as e } from "./index-DW8fGjlC.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-C8hDwyj2.js";
2
+ import { T as d, U as f, _ as e } from "./index-Dl3ODFla.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-CXnY7jGB.js";
2
- import { T as v, U as C, _ as e } from "./index-DW8fGjlC.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-C8hDwyj2.js";
2
+ import { T as v, U as C, _ as e } from "./index-Dl3ODFla.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 N, jsx as u } from "react/jsx-runtime";
2
- import { t as K, r as V, u as S, g as G, Y as w, a as x, k as M, h as Q, l as j, i as H, j as Y, o as P, n as z, O as U, p as J, q as W, I as X, v as Z, w as ee, x as ae, y as te } from "./index-DW8fGjlC.js";
2
+ import { t as K, r as V, u as S, g as G, Y as w, a as x, k as M, h as Q, l as j, i as H, j as Y, o as P, n as z, O as U, p as J, q as W, I as X, v as Z, w as ee, x as ae, y as te } from "./index-Dl3ODFla.js";
3
3
  import { useRef as se, useEffect as $, useMemo as R } from "react";
4
4
  const D = (a, n, d, l, b, r) => {
5
5
  const t = J(a, n, b), s = t.value, i = W(s);
@@ -1,4 +1,4 @@
1
- import { $ as we, a0 as z, a1 as xt, a2 as B, U as q, _ as y, a3 as Ro, a4 as ye, a5 as R, a6 as _, a7 as k, a8 as N, a9 as A, aa as bs, ab as ir, ac as $e, ad as U, ae as Hn, af as Vn, ag as dt, ah as D, ai as xs, aj as cn, ak as Be, al as ws, am as qt, an as zt, ao as $s, ap as Cs, aq as $n, ar as Ss, as as Nr, at as Bt, au as zo, av as ks, aw as Es, ax as j, ay as Ur, az as Ms, aA as Ds, aB as sr, aC as As, aD as Ts, aE as zn, aF as Fs, aG as Is, aH as Z, aI as Ps, aJ as Ls } from "./index-DW8fGjlC.js";
1
+ import { $ as we, a0 as z, a1 as xt, a2 as B, U as q, _ as y, a3 as Ro, a4 as ye, a5 as R, a6 as _, a7 as k, a8 as N, a9 as A, aa as bs, ab as ir, ac as $e, ad as U, ae as Hn, af as Vn, ag as dt, ah as D, ai as xs, aj as cn, ak as Be, al as ws, am as qt, an as zt, ao as $s, ap as Cs, aq as $n, ar as Ss, as as Nr, at as Bt, au as zo, av as ks, aw as Es, ax as j, ay as Ur, az as Ms, aA as Ds, aB as sr, aC as As, aD as Ts, aE as zn, aF as Fs, aG as Is, aH as Z, aI as Ps, aJ as Ls } from "./index-Dl3ODFla.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
- import { z as V, A as h, u as I, B as O, C as P, c as B, r as G, W as x, P as L, a as U, D as q, E as F, F as W, H as $, K as k, L as H, R as K, S as j } from "./index-DW8fGjlC.js";
2
+ import { z as V, A as h, u as I, B as O, C as P, c as B, r as G, W as x, P as L, a as U, D as q, E as F, F as W, H as $, K as k, L as H, R as K, S as j } from "./index-Dl3ODFla.js";
3
3
  import { useState as C, useMemo as _ } from "react";
4
4
  const Q = V(
5
5
  h,
@@ -158640,12 +158640,12 @@ const eV0 = ({ config: t }) => {
158640
158640
  }, nV0 = (t) => {
158641
158641
  const { userPrivileges: e } = rV0();
158642
158642
  return Gv0(e, t);
158643
- }, oV0 = "_widget_1b9jc_1", aV0 = "_header_1b9jc_5", cV0 = "_code_1b9jc_24", lV0 = "_expandedRowContent_1b9jc_31", Mc = {
158643
+ }, oV0 = "_widget_10hzg_1", aV0 = "_header_10hzg_5", cV0 = "_code_10hzg_27", lV0 = "_expandedRowContent_10hzg_34", Mc = {
158644
158644
  widget: oV0,
158645
158645
  header: aV0,
158646
158646
  code: cV0,
158647
158647
  expandedRowContent: lV0
158648
- }, iV0 = "http://fhir.bahmni.org/ext/immunization/administeredProduct", WCe = "AP", sV0 = "OP", dV0 = "Add Immunizations";
158648
+ }, iV0 = "http://fhir.bahmni.org/ext/immunization/administeredProduct", WCe = "EP", sV0 = "OP", dV0 = "Add Immunizations";
158649
158649
  function fp(t, e) {
158650
158650
  return t.performer?.find(
158651
158651
  (r) => r.function?.coding?.some((o) => o.code === e)
@@ -158659,10 +158659,7 @@ function hV0(t) {
158659
158659
  return e ? e.toString() : null;
158660
158660
  }
158661
158661
  function pV0(t) {
158662
- const e = t.route?.coding?.[0]?.display ?? null, r = t.site?.coding?.[0]?.display ?? null, o = t.manufacturer?.display ?? null, a = t.lotNumber ?? null, c = fp(
158663
- t,
158664
- WCe
158665
- ), l = fp(t, sV0), i = t.note?.[0]?.text ?? null;
158662
+ const e = t.route?.coding?.[0]?.display ?? null, r = t.site?.coding?.[0]?.display ?? null, o = t.manufacturer?.display ?? null, a = t.lotNumber ?? null, c = fp(t, WCe), l = fp(t, sV0), i = t.note?.[0]?.text ?? null;
158666
158663
  return {
158667
158664
  id: t.id ?? "",
158668
158665
  code: t.vaccineCode?.coding?.[0]?.display ?? null,
@@ -158703,7 +158700,7 @@ const mV0 = [
158703
158700
  });
158704
158701
  Fr(
158705
158702
  (d) => {
158706
- d.patientUUID === t && d.updatedResources.immunizations && c();
158703
+ d.patientUUID === t && d.updatedResources.immunizationHistory && c();
158707
158704
  },
158708
158705
  [t, c]
158709
158706
  );
@@ -158828,7 +158825,7 @@ const mV0 = [
158828
158825
  });
158829
158826
  Fr(
158830
158827
  (s) => {
158831
- s.patientUUID === t && s.updatedResources.immunizations && c();
158828
+ s.patientUUID === t && s.updatedResources.immunizationHistory && c();
158832
158829
  },
158833
158830
  [t, c]
158834
158831
  );
@@ -159082,7 +159079,7 @@ function Dx0(t, e, r) {
159082
159079
  return o;
159083
159080
  };
159084
159081
  }
159085
- z0(() => Promise.resolve().then(() => Gg0)), z0(() => Promise.resolve().then(() => VE0)), z0(() => Promise.resolve().then(() => XE0)), z0(() => Promise.resolve().then(() => cM0)), z0(() => import("./DocumentsTable-CxTI1Hgb-C93c9iFc.js")), z0(() => Promise.resolve().then(() => Sz0)), z0(() => import("./FormsTable-DvLskkhx-U-DwiEgx.js")), z0(() => Promise.resolve().then(() => Ez0)), z0(() => import("./Observations-BU9Xc30t-87zPVYrT.js")), z0(
159082
+ z0(() => Promise.resolve().then(() => Gg0)), z0(() => Promise.resolve().then(() => VE0)), z0(() => Promise.resolve().then(() => XE0)), z0(() => Promise.resolve().then(() => cM0)), z0(() => import("./DocumentsTable-itmbz5Wi-BSwXYtBw.js")), z0(() => Promise.resolve().then(() => Sz0)), z0(() => import("./FormsTable-CGFieZJf-0UtMXgG5.js")), z0(() => Promise.resolve().then(() => Ez0)), z0(() => import("./Observations-DCRioZtt-Bj0f7IGL.js")), z0(
159086
159083
  () => Promise.resolve().then(() => Wz0)
159087
159084
  ), z0(
159088
159085
  () => Promise.resolve().then(() => By0)
@@ -160921,7 +160918,7 @@ var aN0 = (t, e = !1) => {
160921
160918
  const e = uAe(() => {
160922
160919
  const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t;
160923
160920
  let d;
160924
- return this.#i ? d = this.#i : (d = sAe(() => import("./LNWAZHJI-wEmwNIjW.js")), this.#i = d), AAe(this.#l, this.#c), lAe(d, iAe({
160921
+ return this.#i ? d = this.#i : (d = sAe(() => import("./LNWAZHJI-CTitTf7j.js")), this.#i = d), AAe(this.#l, this.#c), lAe(d, iAe({
160925
160922
  get queryFlavor() {
160926
160923
  return r.#r;
160927
160924
  },
@@ -161019,7 +161016,7 @@ var aN0 = (t, e = !1) => {
161019
161016
  const e = uAe(() => {
161020
161017
  const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t, [d] = this.#i;
161021
161018
  let u;
161022
- return this.#s ? u = this.#s : (u = sAe(() => import("./MWZ6AO7Z-BOb53LRj.js")), this.#s = u), AAe(this.#l, this.#c), lAe(u, iAe({
161019
+ return this.#s ? u = this.#s : (u = sAe(() => import("./MWZ6AO7Z-BmVQ8TB6.js")), this.#s = u), AAe(this.#l, this.#c), lAe(u, iAe({
161023
161020
  get queryFlavor() {
161024
161021
  return r.#r;
161025
161022
  },
@@ -161179,7 +161176,7 @@ const XH0 = {
161179
161176
  }), hb0 = z0(
161180
161177
  () => import("./index-CFigb5vF.js").then((t) => ({ default: t.IndexPage }))
161181
161178
  ), pb0 = z0(
161182
- () => import("./index-11dEj8IC.js").then((t) => ({
161179
+ () => import("./index-CrNogFrv.js").then((t) => ({
161183
161180
  default: t.default
161184
161181
  }))
161185
161182
  ), fb0 = [