@bahmni/clinical-app 0.0.1-dev.463 → 0.0.1-dev.464
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-CF9CchqI.js → ConsultationPage-C0EqMqyw.js} +1927 -1908
- package/dist/{DocumentsTable-P8G9FIvH-CASRvQPB.js → DocumentsTable-P8G9FIvH-5KSTR0gc.js} +1 -1
- package/dist/{FormsTable-DXuwmAMk-nIvomkJX.js → FormsTable-DXuwmAMk-BI_ad9fg.js} +1 -1
- package/dist/{LNWAZHJI-DY69ypnX.js → LNWAZHJI-B252ZBRh.js} +2 -2
- package/dist/{MWZ6AO7Z-DUm3Vj4c.js → MWZ6AO7Z-DyVJ3NHy.js} +2 -2
- package/dist/{Observations-CxxRVjYb-c2wjiOAw.js → Observations-CxxRVjYb-pedPZd7N.js} +1 -1
- package/dist/{YPM2AS64-e-J10QfI.js → YPM2AS64-CU99DV8p.js} +1 -1
- package/dist/components/forms/conditionsAndDiagnoses/SelectedConditionItem.d.ts +2 -1
- package/dist/components/forms/conditionsAndDiagnoses/SelectedConditionItem.d.ts.map +1 -1
- package/dist/constants/conditions.d.ts +6 -4
- package/dist/constants/conditions.d.ts.map +1 -1
- package/dist/{hook-C4RJtdSk.js → hook-CdlIt2Fb.js} +1 -1
- package/dist/{index-BueEljGp.js → index-BV5up1s-.js} +3 -3
- package/dist/{index-Ck_WcD0o.js → index-Be5wgoP9.js} +1 -1
- package/dist/{index-jAE3JXAv.js → index-CtWcMAiX.js} +28 -28
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +2 -5
- package/dist/locales/locale_es.json +2 -5
- package/dist/services/encounterBundleService.d.ts.map +1 -1
- package/dist/stores/conditionsAndDiagnosesStore.d.ts +5 -4
- package/dist/stores/conditionsAndDiagnosesStore.d.ts.map +1 -1
- package/dist/utils/conditionDuration.d.ts +28 -0
- package/dist/utils/conditionDuration.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/models/condition.d.ts +0 -13
- package/dist/models/condition.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as u, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
-
import { u as _e, a as Ee, z as ge, s as Ne, N as Ce, K as fe, w as Ae, O as w, t as Ie, r as Le, b as be, h as De, R as ye, p as we, q as Q, J as ve, L as Oe, $ as Se, c as Re, d as Ue, Q as J, e as ee } from "./index-
|
|
2
|
+
import { u as _e, a as Ee, z as ge, s as Ne, N as Ce, K as fe, w as Ae, O as w, t as Ie, r as Le, b as be, h as De, R as ye, p as we, q as Q, J as ve, L as Oe, $ as Se, c as Re, d as Ue, Q as J, e as ee } from "./index-CtWcMAiX.js";
|
|
3
3
|
import { useQuery as Me } from "@tanstack/react-query";
|
|
4
4
|
import { useState as h, useRef as $e, useEffect as _, useMemo as E, useCallback as T } from "react";
|
|
5
5
|
const ke = "DocumentsTable-module_documentsTableBody__6iR3w", He = "DocumentsTable-module_viewAttachmentsLink__aQ1on", Be = "DocumentsTable-module_documentViewerContainer__F5m8D", ze = "DocumentsTable-module_printContainer__rtarJ", Ve = "DocumentsTable-module_attachmentItem__17KA7", We = "DocumentsTable-module_attachmentCounter__WFiI3", qe = "DocumentsTable-module_attachmentError__RI4U2", xe = "DocumentsTable-module_documentIframe__ptq5I", Fe = "DocumentsTable-module_attachmentContent__IaCEe", Ge = "DocumentsTable-module_attachmentLoading__FAR6p", Ke = "DocumentsTable-module_hiddenWhileLoading__IxocW", Pe = "DocumentsTable-module_documentImage__KQVgS", je = "DocumentsTable-module_header__345GY", Qe = "DocumentsTable-module_documentTypeCell__uWGM8", Je = "DocumentsTable-module_printAllButton__IVYUW", Ye = "DocumentsTable-module_attachmentHeader__yI2xn", o = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as H, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { a as ie, u as de, s as le, Z as me, f as ue, G as ce, y as fe, v as ye, w as Ne, k as pe, M as ge, g as he, h as be, N as Ae, q as K, C as $, b as Oe, $ as V, i as Te, j as Ie, c as _e, A as Ce, l as Ee } from "./index-
|
|
2
|
+
import { a as ie, u as de, s as le, Z as me, f as ue, G as ce, y as fe, v as ye, w as Ne, k as pe, M as ge, g as he, h as be, N as Ae, q as K, C as $, b as Oe, $ as V, i as Te, j as Ie, c as _e, A as Ce, l as Ee } from "./index-CtWcMAiX.js";
|
|
3
3
|
import { useQueryClient as ve, useQuery as I } from "@tanstack/react-query";
|
|
4
4
|
import { useState as G, useMemo as i, useCallback as d } from "react";
|
|
5
5
|
const Le = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_modalHeading__wnTmA", Fe = "FormsTable-module_customAccordianItem__isszs", g = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { cm as d, cn as f, co as e } from "./index-
|
|
1
|
+
import { c as s, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CU99DV8p.js";
|
|
2
|
+
import { cm as d, cn as f, co as e } from "./index-CtWcMAiX.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, o] = s({
|
|
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 { cm as v, cn as C, co 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-CU99DV8p.js";
|
|
2
|
+
import { cm as v, cn as C, co as e } from "./index-CtWcMAiX.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 n } from "react/jsx-runtime";
|
|
2
|
-
import { u as z, z as Q, a as B, m as H, f as M, W as G, n as j, w as P, o as W, x as J, B as Y, D as X, p as ee, $ as ae, E as se, F as U, H as te, I as re, h as ie, P as oe, S as ne, T as de, U as le } from "./index-
|
|
2
|
+
import { u as z, z as Q, a as B, m as H, f as M, W as G, n as j, w as P, o as W, x as J, B as Y, D as X, p as ee, $ as ae, E as se, F as U, H as te, I as re, h as ie, P as oe, S as ne, T as de, U as le } from "./index-CtWcMAiX.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", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cp as we, cq as z, cr as xt, cs as B, cn as q, co as y, ct as Ro, cu as ye, cv as R, cw as _, cx as k, cy as N, cz as A, cA as bs, cB as ir, cC as $e, cD as U, cE as Hn, cF as Vn, cG as dt, cH as D, cI as xs, cJ as cn, cK as Be, cL as ws, cM as qt, cN as zt, cO as $s, cP as Cs, cQ as $n, cR as Ss, cS as Nr, cT as Bt, cU as zo, cV as ks, cW as Es, cX as j, cY as Ur, cZ as Ms, c_ as Ds, c$ as sr, d0 as As, d1 as Ts, d2 as zn, d3 as Fs, d4 as Is, d5 as Z, d6 as Ps, d7 as Ls } from "./index-
|
|
1
|
+
import { cp as we, cq as z, cr as xt, cs as B, cn as q, co as y, ct as Ro, cu as ye, cv as R, cw as _, cx as k, cy as N, cz as A, cA as bs, cB as ir, cC as $e, cD as U, cE as Hn, cF as Vn, cG as dt, cH as D, cI as xs, cJ as cn, cK as Be, cL as ws, cM as qt, cN as zt, cO as $s, cP as Cs, cQ as $n, cR as Ss, cS as Nr, cT as Bt, cU as zo, cV as ks, cW as Es, cX as j, cY as Ur, cZ as Ms, c_ as Ds, c$ as sr, d0 as As, d1 as Ts, d2 as zn, d3 as Fs, d4 as Is, d5 as Z, d6 as Ps, d7 as Ls } from "./index-CtWcMAiX.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ConditionInputEntry } from '@bahmni/services';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { ConditionDurationField } from '../../../constants/conditions';
|
|
3
4
|
export interface SelectedConditionItemProps {
|
|
4
5
|
condition: ConditionInputEntry;
|
|
5
|
-
updateConditionDuration: (conditionId: string,
|
|
6
|
+
updateConditionDuration: (conditionId: string, field: ConditionDurationField, value: number | null) => void;
|
|
6
7
|
}
|
|
7
8
|
declare const SelectedConditionItem: React.FC<SelectedConditionItemProps>;
|
|
8
9
|
export default SelectedConditionItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedConditionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/conditionsAndDiagnoses/SelectedConditionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectedConditionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/conditionsAndDiagnoses/SelectedConditionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,KAAK,sBAAsB,EAC5B,MAAM,+BAA+B,CAAC;AAIvC,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,mBAAmB,CAAC;IAC/B,uBAAuB,EAAE,CACvB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,KACjB,IAAI,CAAC;CACX;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAkG/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export type ConditionDurationField = 'years' | 'months' | 'days';
|
|
2
|
+
export declare const CONDITION_DURATION_FIELDS: ConditionDurationField[];
|
|
3
|
+
export declare const CONDITION_DURATION_LIMITS: Record<ConditionDurationField, number>;
|
|
4
|
+
export declare const CONDITION_DURATION_LABELS: Record<ConditionDurationField, string>;
|
|
5
|
+
export declare const CONDITION_DURATION_FIELD_KEYS: Record<ConditionDurationField, 'durationYears' | 'durationMonths' | 'durationDays'>;
|
|
6
|
+
export declare const CONDITION_DURATION_REQUIRED_ERROR = "CONDITIONS_DURATION_REQUIRED";
|
|
5
7
|
//# sourceMappingURL=conditions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../src/constants/conditions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../src/constants/conditions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjE,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,EAI7D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAK1E,CAAC;AAEJ,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAK1E,CAAC;AAEJ,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAChD,sBAAsB,EACtB,eAAe,GAAG,gBAAgB,GAAG,cAAc,CAKpD,CAAC;AAEF,eAAO,MAAM,iCAAiC,iCAAiC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { a as g, Z as u, c7 as f, ch as _, ci as p, cj as x, a_ as h, cd as N } from "./index-
|
|
2
|
+
import { a as g, Z as u, c7 as f, ch as _, ci as p, cj as x, a_ as h, cd as N } from "./index-CtWcMAiX.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import { lazy as b, useMemo as t, Suspense as C } from "react";
|
|
5
|
-
import { u as L } from "./hook-
|
|
5
|
+
import { u as L } from "./hook-CdlIt2Fb.js";
|
|
6
6
|
const E = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": b(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-Be5wgoP9.js")
|
|
9
9
|
)
|
|
10
10
|
}, I = "index-module_page__16xxw", P = "index-module_loading__wNI-4", S = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: I,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { a as r, d8 as l, d9 as o, da as c, bw as m, bx as b, db as g, dc as h, dd as p, a_ as _ } from "./index-
|
|
2
|
+
import { a as r, d8 as l, d9 as o, da as c, bw as m, bx as b, db as g, dc as h, dd as p, a_ as _ } from "./index-CtWcMAiX.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import { Suspense as u } from "react";
|
|
5
5
|
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", f = "index-module_panel__8VJh2", s = {
|
|
@@ -107269,7 +107269,7 @@ const Od0 = [
|
|
|
107269
107269
|
},
|
|
107270
107270
|
{
|
|
107271
107271
|
type: "patientDocuments",
|
|
107272
|
-
component: P0(() => import("./DocumentsTable-P8G9FIvH-
|
|
107272
|
+
component: P0(() => import("./DocumentsTable-P8G9FIvH-5KSTR0gc.js"))
|
|
107273
107273
|
},
|
|
107274
107274
|
{
|
|
107275
107275
|
type: "flowSheet",
|
|
@@ -107277,7 +107277,7 @@ const Od0 = [
|
|
|
107277
107277
|
},
|
|
107278
107278
|
{
|
|
107279
107279
|
type: "forms",
|
|
107280
|
-
component: P0(() => import("./FormsTable-DXuwmAMk-
|
|
107280
|
+
component: P0(() => import("./FormsTable-DXuwmAMk-BI_ad9fg.js"))
|
|
107281
107281
|
},
|
|
107282
107282
|
{
|
|
107283
107283
|
type: "labOrders",
|
|
@@ -107285,7 +107285,7 @@ const Od0 = [
|
|
|
107285
107285
|
},
|
|
107286
107286
|
{
|
|
107287
107287
|
type: "observations",
|
|
107288
|
-
component: P0(() => import("./Observations-CxxRVjYb-
|
|
107288
|
+
component: P0(() => import("./Observations-CxxRVjYb-pedPZd7N.js"))
|
|
107289
107289
|
},
|
|
107290
107290
|
{
|
|
107291
107291
|
type: "ordersControl",
|
|
@@ -203789,7 +203789,7 @@ var GDt = (t, e = !1) => {
|
|
|
203789
203789
|
const e = y42(() => {
|
|
203790
203790
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#h, [s] = this.#e;
|
|
203791
203791
|
let d;
|
|
203792
|
-
return this.#i ? d = this.#i : (d = v42(() => import("./LNWAZHJI-
|
|
203792
|
+
return this.#i ? d = this.#i : (d = v42(() => import("./LNWAZHJI-B252ZBRh.js")), this.#i = d), I42(this.#p, this.#r), g42(d, w42({
|
|
203793
203793
|
get queryFlavor() {
|
|
203794
203794
|
return r.#d;
|
|
203795
203795
|
},
|
|
@@ -203887,7 +203887,7 @@ var GDt = (t, e = !1) => {
|
|
|
203887
203887
|
const e = y42(() => {
|
|
203888
203888
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [i] = this.#l, [c] = this.#h, [s] = this.#e, [d] = this.#i;
|
|
203889
203889
|
let u;
|
|
203890
|
-
return this.#c ? u = this.#c : (u = v42(() => import("./MWZ6AO7Z-
|
|
203890
|
+
return this.#c ? u = this.#c : (u = v42(() => import("./MWZ6AO7Z-DyVJ3NHy.js")), this.#c = u), I42(this.#p, this.#r), g42(u, w42({
|
|
203891
203891
|
get queryFlavor() {
|
|
203892
203892
|
return r.#d;
|
|
203893
203893
|
},
|
|
@@ -204043,7 +204043,7 @@ const nTt = {
|
|
|
204043
204043
|
id: "clinical-config",
|
|
204044
204044
|
name: "Clinical Config",
|
|
204045
204045
|
displayName: "ClinicalConfigProvider"
|
|
204046
|
-
}), wTt = P0(() => import("./ConsultationPage-
|
|
204046
|
+
}), wTt = P0(() => import("./ConsultationPage-C0EqMqyw.js")), vTt = P0(() => import("./index-BV5up1s-.js")), ETt = [
|
|
204047
204047
|
{
|
|
204048
204048
|
path: ":patientUuid",
|
|
204049
204049
|
component: wTt
|
|
@@ -204101,16 +204101,16 @@ export {
|
|
|
204101
204101
|
xSe as _,
|
|
204102
204102
|
B1 as a,
|
|
204103
204103
|
yDt as a$,
|
|
204104
|
-
|
|
204105
|
-
|
|
204106
|
-
|
|
204107
|
-
|
|
204108
|
-
|
|
204109
|
-
|
|
204110
|
-
|
|
204111
|
-
|
|
204112
|
-
|
|
204113
|
-
|
|
204104
|
+
w$t as a0,
|
|
204105
|
+
sOt as a1,
|
|
204106
|
+
uf0 as a2,
|
|
204107
|
+
tRt as a3,
|
|
204108
|
+
Lg0 as a4,
|
|
204109
|
+
hp as a5,
|
|
204110
|
+
qNt as a6,
|
|
204111
|
+
GNt as a7,
|
|
204112
|
+
FNt as a8,
|
|
204113
|
+
D32 as a9,
|
|
204114
204114
|
aAt as aA,
|
|
204115
204115
|
x$t as aB,
|
|
204116
204116
|
b$t as aC,
|
|
@@ -204138,18 +204138,18 @@ export {
|
|
|
204138
204138
|
K9 as aY,
|
|
204139
204139
|
fDt as aZ,
|
|
204140
204140
|
PNt as a_,
|
|
204141
|
-
|
|
204142
|
-
|
|
204143
|
-
|
|
204144
|
-
|
|
204145
|
-
|
|
204146
|
-
|
|
204147
|
-
|
|
204148
|
-
|
|
204149
|
-
|
|
204150
|
-
|
|
204151
|
-
|
|
204152
|
-
|
|
204141
|
+
ly as aa,
|
|
204142
|
+
INt as ab,
|
|
204143
|
+
c$t as ac,
|
|
204144
|
+
df0 as ad,
|
|
204145
|
+
n$t as ae,
|
|
204146
|
+
t$t as af,
|
|
204147
|
+
r$t as ag,
|
|
204148
|
+
sf0 as ah,
|
|
204149
|
+
bDt as ai,
|
|
204150
|
+
A$t as aj,
|
|
204151
|
+
m6 as ak,
|
|
204152
|
+
L$t as al,
|
|
204153
204153
|
M$t as am,
|
|
204154
204154
|
V$t as an,
|
|
204155
204155
|
KNt as ao,
|