@bahmni/registration-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 } from "./index-Bic-gOae.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 } from "./index-C2LD-Ven.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as m, useCallback as h, useEffect as f, useMemo as T } from "react";
5
5
  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", me = "_documentImage_1voj8_50", d = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as s, jsxs as Y, Fragment as Z } from "react/jsx-runtime";
2
- import { u as W, t as ee, m as re, b as ae, X as te, e as oe, Q as se, k as ne, V as U, N as de, M as ie, o as C, G as me, J as ue, s as le, Z as ce, c as fe } from "./index-Bic-gOae.js";
2
+ import { u as W, t as ee, m as re, b as ae, X as te, e as oe, Q as se, k as ne, V as U, N as de, M as ie, o as C, G as me, J as ue, s as le, Z as ce, c as fe } from "./index-C2LD-Ven.js";
3
3
  import { useQueryClient as ye, useQuery as c } from "@tanstack/react-query";
4
4
  import { useState as S, useMemo as d, useCallback as f } from "react";
5
5
  const be = "_formsTableBody_81hra_1", pe = "_customAccordianItem_81hra_6", 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-DvBwJCv1.js";
2
- import { w as d, x as f, y as e } from "./index-Bic-gOae.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DOZzntnb.js";
2
+ import { w as d, x as f, y as e } from "./index-C2LD-Ven.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-DvBwJCv1.js";
2
- import { w as v, x as C, y as e } from "./index-Bic-gOae.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-DOZzntnb.js";
2
+ import { w as v, x as C, y as e } from "./index-C2LD-Ven.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, Y as G, d as M, k as Q, f as j, l as w, g as x, h as H, o as Y, i as P, O as U, j as z, n as J, I as W, p as X, q as Z, v as ee } from "./index-Bic-gOae.js";
2
+ import { t as K, r as V, u as S, Y as G, d as M, k as Q, f as j, l as w, g as x, h as H, o as Y, i as P, O as U, j as z, n as J, I as W, p as X, q as Z, v as ee } from "./index-C2LD-Ven.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as f } from "react";
5
5
  const D = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { z as we, A as z, B as xt, C as B, x as q, y, P as Ro, D as ye, S as R, E as _, F as k, H as N, K as A, L as bs, R as ir, T as $e, U, W as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-Bic-gOae.js";
1
+ import { z as we, A as z, B as xt, C as B, x as q, y, P as Ro, D as ye, S as R, E as _, F as k, H as N, K as A, L as bs, R as ir, T as $e, U, W as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-C2LD-Ven.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -159279,12 +159279,12 @@ const m$0 = ({ config: t }) => {
159279
159279
  }, g$0 = (t) => {
159280
159280
  const { userPrivileges: e } = TM();
159281
159281
  return rC0(e, t);
159282
- }, v$0 = "_widget_1b9jc_1", E$0 = "_header_1b9jc_5", M$0 = "_code_1b9jc_24", y$0 = "_expandedRowContent_1b9jc_31", Ei = {
159282
+ }, v$0 = "_widget_10hzg_1", E$0 = "_header_10hzg_5", M$0 = "_code_10hzg_27", y$0 = "_expandedRowContent_10hzg_34", Ei = {
159283
159283
  widget: v$0,
159284
159284
  header: E$0,
159285
159285
  code: M$0,
159286
159286
  expandedRowContent: y$0
159287
- }, V$0 = "http://fhir.bahmni.org/ext/immunization/administeredProduct", qR1 = "AP", z$0 = "OP", H$0 = "Add Immunizations";
159287
+ }, V$0 = "http://fhir.bahmni.org/ext/immunization/administeredProduct", qR1 = "EP", z$0 = "OP", H$0 = "Add Immunizations";
159288
159288
  function Uf(t, e) {
159289
159289
  return t.performer?.find(
159290
159290
  (r) => r.function?.coding?.some((o) => o.code === e)
@@ -159298,10 +159298,7 @@ function x$0(t) {
159298
159298
  return e ? e.toString() : null;
159299
159299
  }
159300
159300
  function N$0(t) {
159301
- 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 = Uf(
159302
- t,
159303
- qR1
159304
- ), i = Uf(t, z$0), l = t.note?.[0]?.text ?? null;
159301
+ 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 = Uf(t, qR1), i = Uf(t, z$0), l = t.note?.[0]?.text ?? null;
159305
159302
  return {
159306
159303
  id: t.id ?? "",
159307
159304
  code: t.vaccineCode?.coding?.[0]?.display ?? null,
@@ -159342,7 +159339,7 @@ const L$0 = [
159342
159339
  });
159343
159340
  mn(
159344
159341
  (d) => {
159345
- d.patientUUID === t && d.updatedResources.immunizations && c();
159342
+ d.patientUUID === t && d.updatedResources.immunizationHistory && c();
159346
159343
  },
159347
159344
  [t, c]
159348
159345
  );
@@ -159467,7 +159464,7 @@ const L$0 = [
159467
159464
  });
159468
159465
  mn(
159469
159466
  (s) => {
159470
- s.patientUUID === t && s.updatedResources.immunizations && c();
159467
+ s.patientUUID === t && s.updatedResources.immunizationHistory && c();
159471
159468
  },
159472
159469
  [t, c]
159473
159470
  );
@@ -159721,7 +159718,7 @@ function Z$0(t, e, r) {
159721
159718
  return o;
159722
159719
  };
159723
159720
  }
159724
- ht(() => Promise.resolve().then(() => rL0)), ht(() => Promise.resolve().then(() => LL0)), ht(() => Promise.resolve().then(() => aA0)), ht(() => Promise.resolve().then(() => hA0)), ht(() => import("./DocumentsTable-CxTI1Hgb-DTflvAwC.js")), ht(() => Promise.resolve().then(() => XT0)), ht(() => import("./FormsTable-DvLskkhx-BnAZnDQk.js")), ht(() => Promise.resolve().then(() => bT0)), ht(() => import("./Observations-BU9Xc30t-C1mpy_f2.js")), ht(
159721
+ ht(() => Promise.resolve().then(() => rL0)), ht(() => Promise.resolve().then(() => LL0)), ht(() => Promise.resolve().then(() => aA0)), ht(() => Promise.resolve().then(() => hA0)), ht(() => import("./DocumentsTable-itmbz5Wi-UlYQjHrV.js")), ht(() => Promise.resolve().then(() => XT0)), ht(() => import("./FormsTable-CGFieZJf-DW6qmt2G.js")), ht(() => Promise.resolve().then(() => bT0)), ht(() => import("./Observations-DCRioZtt-BWgySmT1.js")), ht(
159725
159722
  () => Promise.resolve().then(() => l$0)
159726
159723
  ), ht(
159727
159724
  () => Promise.resolve().then(() => W_0)
@@ -161560,7 +161557,7 @@ var bj0 = (t, e = !1) => {
161560
161557
  const e = sS1(() => {
161561
161558
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
161562
161559
  let d;
161563
- return this.#i ? d = this.#i : (d = iS1(() => import("./LNWAZHJI-hD3HiAdp.js")), this.#i = d), CS1(this.#h, this.#r), aS1(d, cS1({
161560
+ return this.#i ? d = this.#i : (d = iS1(() => import("./LNWAZHJI-CZj4pOAA.js")), this.#i = d), CS1(this.#h, this.#r), aS1(d, cS1({
161564
161561
  get queryFlavor() {
161565
161562
  return r.#d;
161566
161563
  },
@@ -161658,7 +161655,7 @@ var bj0 = (t, e = !1) => {
161658
161655
  const e = sS1(() => {
161659
161656
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
161660
161657
  let u;
161661
- return this.#l ? u = this.#l : (u = iS1(() => import("./MWZ6AO7Z-Df1AG96O.js")), this.#l = u), CS1(this.#h, this.#r), aS1(u, cS1({
161658
+ return this.#l ? u = this.#l : (u = iS1(() => import("./MWZ6AO7Z-DZiKsZBA.js")), this.#l = u), CS1(this.#h, this.#r), aS1(u, cS1({
161662
161659
  get queryFlavor() {
161663
161660
  return r.#d;
161664
161661
  },