@bahmni/clinical-app 0.0.1-dev.415 → 0.0.1-dev.416
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.
- package/dist/{ConsultationPage-BESi0mob.js → ConsultationPage-G3C8Hure.js} +2316 -2287
- package/dist/{DocumentsTable-C_8zPark-DHgBZ9hp.js → DocumentsTable-DB43_g0I-CXQb933J.js} +1 -1
- package/dist/{FormsTable-XGVu_1HW-5xemwYs4.js → FormsTable-D3g1YlR1-bbEUhecU.js} +1 -1
- package/dist/{LNWAZHJI-Bk8jQRiq.js → LNWAZHJI-BwFQv-IO.js} +2 -2
- package/dist/{MWZ6AO7Z-DUXMkCvA.js → MWZ6AO7Z-CGhnBLXj.js} +2 -2
- package/dist/{Observations-CygRW6N8-BjGLv4GH.js → Observations-DrckbD6x-C1ZWi-fp.js} +1 -1
- package/dist/{YPM2AS64-B3vowWLx.js → YPM2AS64-CLcTddYr.js} +1 -1
- package/dist/components/forms/observations/ObservationFormsContainer.d.ts.map +1 -1
- package/dist/components/forms/observations/ObservationFormsPanel.d.ts.map +1 -1
- package/dist/{hook-f0EB0w5u.js → hook-oaebn-sW.js} +1 -1
- package/dist/{index-CFb7GLxI.js → index-DIndpj-d.js} +3 -3
- package/dist/{index-DLQ6oq1j.js → index-DzQj0lRq.js} +7 -7
- package/dist/{index-E1rQQ_dv.js → index-aUrUsrFM.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/fhir/observationReconciliation.d.ts +3 -2
- package/dist/utils/fhir/observationReconciliation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { v as x, u as G, z as W, m as J, q as X, w as Z, Y as ee, p as te } from "./index-
|
|
2
|
+
import { v as x, u as G, z as W, m as J, q as X, w as Z, Y as ee, p as te } from "./index-DzQj0lRq.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 n, jsxs as $, Fragment as ge } from "react/jsx-runtime";
|
|
2
|
-
import { u as be, v as Oe, r as Te, e as he, a as Ne, f as Ie, G as Ae, H as Ee, s as _e, b as ve, c as Fe, g as Me, d as Be, S as x, w as Se, A as K, V as j, q as Ce, Y as z, P as De, F as Le, p as Ue, l as Re, O as qe } from "./index-
|
|
2
|
+
import { u as be, v as Oe, r as Te, e as he, a as Ne, f as Ie, G as Ae, H as Ee, s as _e, b as ve, c as Fe, g as Me, d as Be, S as x, w as Se, A as K, V as j, q as Ce, Y as z, P as De, F as Le, p as Ue, l as Re, O as qe } from "./index-DzQj0lRq.js";
|
|
3
3
|
import { useQueryClient as we, useQuery as T } from "@tanstack/react-query";
|
|
4
4
|
import { useState as Q, useMemo as i, useCallback as d } from "react";
|
|
5
5
|
const ke = "FormsTable-module_formsTableBody__SvGha", Ve = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", h = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { b$ as d, c0 as f, c1 as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CLcTddYr.js";
|
|
2
|
+
import { b$ as d, c0 as f, c1 as e } from "./index-DzQj0lRq.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-
|
|
2
|
-
import { b$ as v, c0 as C, c1 as e } from "./index-
|
|
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-CLcTddYr.js";
|
|
2
|
+
import { b$ as v, c0 as C, c1 as e } from "./index-DzQj0lRq.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 n } from "react/jsx-runtime";
|
|
2
|
-
import { v as z, z as Q, u as V, h as H, a as j, i as G, j as Y, b as W, M as J, N as P, k as X, x as Z, n as ee, Y as ae, o as se, W as B, t as re, y as te, w as ie, T as oe, B as ne, C as de, _ as le } from "./index-
|
|
2
|
+
import { v as z, z as Q, u as V, h as H, a as j, i as G, j as Y, b as W, M as J, N as P, k as X, x as Z, n as ee, Y as ae, o as se, W as B, t as re, y as te, w as ie, T as oe, B as ne, C as de, _ as le } from "./index-DzQj0lRq.js";
|
|
3
3
|
import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as pe, useEffect as L, useMemo as g } from "react";
|
|
5
5
|
const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", ve = "Observations-module_wrapper__muk2L", he = "Observations-module_secondary__14nuS", O = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c2 as we, c3 as z, c4 as xt, c5 as B, c0 as q, c1 as y, c6 as Ro, c7 as ye, c8 as R, c9 as _, ca as k, cb as N, cc as A, cd as bs, ce as ir, cf as $e, cg as G, ch as Hn, ci as Vn, cj as dt, ck as D, cl as xs, cm as cn, cn as Be, co as ws, cp as qt, cq as zt, cr as $s, cs as Cs, ct as $n, cu as Ss, cv as Nr, cw as Bt, cx as zo, cy as ks, cz as Es, cA as j, cB as Gr, cC as Ms, cD as Ds, cE as sr, cF as As, cG as Ts, cH as zn, cI as Fs, cJ as Is, cK as Z, cL as Ps, cM as Ls } from "./index-
|
|
1
|
+
import { c2 as we, c3 as z, c4 as xt, c5 as B, c0 as q, c1 as y, c6 as Ro, c7 as ye, c8 as R, c9 as _, ca as k, cb as N, cc as A, cd as bs, ce as ir, cf as $e, cg as G, ch as Hn, ci as Vn, cj as dt, ck as D, cl as xs, cm as cn, cn as Be, co as ws, cp as qt, cq as zt, cr as $s, cs as Cs, ct as $n, cu as Ss, cv as Nr, cw as Bt, cx as zo, cy as ks, cz as Es, cA as j, cB as Gr, cC as Ms, cD as Ds, cE as sr, cF as As, cG as Ts, cH as zn, cI as Fs, cJ as Is, cK as Z, cL as Ps, cM as Ls } from "./index-DzQj0lRq.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":"ObservationFormsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/observations/ObservationFormsContainer.tsx"],"names":[],"mappings":"AAYA,OAAO,wCAAwC,CAAC;AAChD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,EACL,eAAe,EACf,gBAAgB,EAajB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAa,SAAS,EAAQ,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,EAEL,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"ObservationFormsContainer.d.ts","sourceRoot":"","sources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AAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAgpBvE,CAAC;AAuBF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObservationFormsPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/observations/ObservationFormsPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAStF,UAAU,0BAA0B;IAClC,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;CAC7D;
|
|
1
|
+
{"version":3,"file":"ObservationFormsPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/observations/ObservationFormsPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAStF,UAAU,0BAA0B;IAClC,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;CAC7D;AAOD,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAmS/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, e as u, bM as b, bW as f, bX as x, bY as p, aK as _, bS as N } from "./index-
|
|
2
|
+
import { u as g, e as u, bM as b, bW as f, bX as x, bY as p, aK as _, bS as N } from "./index-DzQj0lRq.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-
|
|
5
|
+
import { u as C } from "./hook-oaebn-sW.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-aUrUsrFM.js")
|
|
9
9
|
)
|
|
10
10
|
}, v = "index-module_page__16xxw", S = "index-module_loading__wNI-4", I = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: v,
|
|
@@ -83286,7 +83286,7 @@ async function Si0(t) {
|
|
|
83286
83286
|
}
|
|
83287
83287
|
const ki0 = (t, e, r) => {
|
|
83288
83288
|
let n = b0 + "/Task?_sort=-_lastUpdated";
|
|
83289
|
-
return t && (n += `&subject
|
|
83289
|
+
return t && (n += `&subject=${t}`), e && (n += `&based-on=${e}`), n;
|
|
83290
83290
|
};
|
|
83291
83291
|
async function Zi0(t, e, r) {
|
|
83292
83292
|
return l2(
|
|
@@ -114591,7 +114591,7 @@ const PC0 = [
|
|
|
114591
114591
|
},
|
|
114592
114592
|
{
|
|
114593
114593
|
type: "patientDocuments",
|
|
114594
|
-
component: X0(() => import("./DocumentsTable-
|
|
114594
|
+
component: X0(() => import("./DocumentsTable-DB43_g0I-CXQb933J.js"))
|
|
114595
114595
|
},
|
|
114596
114596
|
{
|
|
114597
114597
|
type: "flowSheet",
|
|
@@ -114599,7 +114599,7 @@ const PC0 = [
|
|
|
114599
114599
|
},
|
|
114600
114600
|
{
|
|
114601
114601
|
type: "forms",
|
|
114602
|
-
component: X0(() => import("./FormsTable-
|
|
114602
|
+
component: X0(() => import("./FormsTable-D3g1YlR1-bbEUhecU.js"))
|
|
114603
114603
|
},
|
|
114604
114604
|
{
|
|
114605
114605
|
type: "labOrders",
|
|
@@ -114607,7 +114607,7 @@ const PC0 = [
|
|
|
114607
114607
|
},
|
|
114608
114608
|
{
|
|
114609
114609
|
type: "observations",
|
|
114610
|
-
component: X0(() => import("./Observations-
|
|
114610
|
+
component: X0(() => import("./Observations-DrckbD6x-C1ZWi-fp.js"))
|
|
114611
114611
|
},
|
|
114612
114612
|
{
|
|
114613
114613
|
type: "ordersControl",
|
|
@@ -210701,7 +210701,7 @@ var AQt = (t, e = !1) => {
|
|
|
210701
210701
|
const e = Cp2(() => {
|
|
210702
210702
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
|
|
210703
210703
|
let d;
|
|
210704
|
-
return this.#c ? d = this.#c : (d = xp2(() => import("./LNWAZHJI-
|
|
210704
|
+
return this.#c ? d = this.#c : (d = xp2(() => import("./LNWAZHJI-BwFQv-IO.js")), this.#c = d), Wp2(this.#h, this.#r), Hp2(d, bp2({
|
|
210705
210705
|
get queryFlavor() {
|
|
210706
210706
|
return r.#d;
|
|
210707
210707
|
},
|
|
@@ -210799,7 +210799,7 @@ var AQt = (t, e = !1) => {
|
|
|
210799
210799
|
const e = Cp2(() => {
|
|
210800
210800
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
|
|
210801
210801
|
let u;
|
|
210802
|
-
return this.#i ? u = this.#i : (u = xp2(() => import("./MWZ6AO7Z-
|
|
210802
|
+
return this.#i ? u = this.#i : (u = xp2(() => import("./MWZ6AO7Z-CGhnBLXj.js")), this.#i = u), Wp2(this.#h, this.#r), Hp2(u, bp2({
|
|
210803
210803
|
get queryFlavor() {
|
|
210804
210804
|
return r.#d;
|
|
210805
210805
|
},
|
|
@@ -210955,7 +210955,7 @@ const YKt = {
|
|
|
210955
210955
|
id: "clinical-config",
|
|
210956
210956
|
name: "Clinical Config",
|
|
210957
210957
|
displayName: "ClinicalConfigProvider"
|
|
210958
|
-
}), dYt = X0(() => import("./ConsultationPage-
|
|
210958
|
+
}), dYt = X0(() => import("./ConsultationPage-G3C8Hure.js")), uYt = X0(() => import("./index-DIndpj-d.js")), hYt = [
|
|
210959
210959
|
{
|
|
210960
210960
|
path: ":patientUuid",
|
|
210961
210961
|
component: dYt
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r, cN as l, cO as o, cP as c, bc as m, bd as g, cQ as h, cR as p, cS as b, aK as u } from "./index-
|
|
2
|
+
import { u as r, cN as l, cO as o, cP as c, bc as m, bd as g, cQ as h, cR as p, cS as b, aK as u } from "./index-DzQj0lRq.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,10 +1,11 @@
|
|
|
1
1
|
import { Form2Observation } from '@bahmni/services';
|
|
2
|
+
import { Reference } from 'fhir/r4';
|
|
2
3
|
/** Injects a synthetic voided DELETE entry for any obs present in `original` but missing from `transformed`. */
|
|
3
4
|
export declare const injectMissingDeleteObs: (transformed: Form2Observation[], original: Form2Observation[]) => void;
|
|
4
5
|
/** Restores the original ComplexValue object (with fileName) from `source` for values CarbonContainer flattened to plain URL strings. */
|
|
5
6
|
export declare const restoreComplexValues: (transformed: Form2Observation[], source: Form2Observation[]) => void;
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const mergeObsExistingData: (transformed: Form2Observation[], existing: Form2Observation[]) => void;
|
|
8
|
+
export declare const findBasedOnFromObservations: (observations: Form2Observation[] | undefined) => Reference | undefined;
|
|
8
9
|
/** Marks leaf observations matching the original snapshot as `unchanged`, so the bundle builder skips PUT-ing them. */
|
|
9
10
|
export declare const markUnchangedObservations: (transformed: Form2Observation[], original: Form2Observation[]) => void;
|
|
10
11
|
/** Converts a single observation value to a stable, comparable string (coded/complex/date-aware). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observationReconciliation.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/observationReconciliation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"observationReconciliation.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/observationReconciliation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,GACjC,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAiCF,CAAC;AAEF,yIAAyI;AACzI,eAAO,MAAM,oBAAoB,GAC/B,aAAa,gBAAgB,EAAE,EAC/B,QAAQ,gBAAgB,EAAE,KACzB,IAyBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAUF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,cAAc,gBAAgB,EAAE,GAAG,SAAS,KAC3C,SAAS,GAAG,SAUd,CAAC;AAEF,uHAAuH;AACvH,eAAO,MAAM,yBAAyB,GACpC,aAAa,gBAAgB,EAAE,EAC/B,UAAU,gBAAgB,EAAE,KAC3B,IAmCF,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,gBAAgB,GAAI,GAAG,OAAO,KAAG,MAuB7C,CAAC;AAEF,8FAA8F;AAC9F,wBAAgB,+BAA+B,CAC7C,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,MAAM,GAAG,IAAI,CAQf"}
|