@bahmni/clinical-app 0.0.1-dev.272 → 0.0.1-dev.273
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/{DocumentsTable-CBd3EBSh-B0Zj0DsI.js → DocumentsTable-CBd3EBSh-Bg6gJvdv.js} +1 -1
- package/dist/{FormsTable-DMJEteY7-CH7VTjPD.js → FormsTable-DMJEteY7-9l9VR_16.js} +1 -1
- package/dist/{LNWAZHJI-BYPVMZUa.js → LNWAZHJI-CidIpI8u.js} +2 -2
- package/dist/{MWZ6AO7Z-CrT3pooj.js → MWZ6AO7Z-wHWS03Nf.js} +2 -2
- package/dist/{Observations-CKw5OQxh-Cxv1tuje.js → Observations-CKw5OQxh-2fwzDTZe.js} +1 -1
- package/dist/{YPM2AS64-Dtj_1qPH.js → YPM2AS64-BWQRcWvV.js} +1 -1
- package/dist/components/forms/allergies/SelectedAllergyItem.d.ts.map +1 -1
- package/dist/components/forms/conditionsAndDiagnoses/SelectedConditionItem.d.ts.map +1 -1
- package/dist/components/forms/immunization/components/SelectedImmunizationItem.d.ts.map +1 -1
- package/dist/components/forms/medicationRequest/components/SelectedMedicationRequestItem.d.ts.map +1 -1
- package/dist/{index-B_HaVKz0.js → index-KmaoE3nI.js} +25 -36
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +15 -4
- package/dist/locales/locale_es.json +13 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-
|
|
2
|
+
import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-KmaoE3nI.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as h, useEffect as O, 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", ce = "DocumentsTable-module_attachmentError__RI4U2", me = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as W, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-
|
|
2
|
+
import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-KmaoE3nI.js";
|
|
3
3
|
import { useQueryClient as pe, useQuery as f } from "@tanstack/react-query";
|
|
4
4
|
import { useState as q, useMemo as d, useCallback as y } from "react";
|
|
5
5
|
const be = "FormsTable-module_formsTableBody__SvGha", ge = "FormsTable-module_customAccordianItem__isszs", A = {
|
|
@@ -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 { p, q as d, r as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BWQRcWvV.js";
|
|
2
|
+
import { p, q as d, r as e } from "./index-KmaoE3nI.js";
|
|
3
3
|
var f = (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 { p as v, q as C, r 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-BWQRcWvV.js";
|
|
2
|
+
import { p as v, q as C, r as e } from "./index-KmaoE3nI.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 I, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { u as M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-
|
|
2
|
+
import { u as M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-KmaoE3nI.js";
|
|
3
3
|
import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as $, useMemo as T } from "react";
|
|
5
5
|
const D = (a, n, d, l, b, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z 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-
|
|
1
|
+
import { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z 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-KmaoE3nI.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":"SelectedAllergyItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/SelectedAllergyItem.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,0DAA0D;IAC1D,OAAO,EAAE,iBAAiB,CAAC;IAC3B,sDAAsD;IACtD,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,mDAAmD;IACnD,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrE,oDAAoD;IACpD,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClE,+CAA+C;IAC/C,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"SelectedAllergyItem.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/SelectedAllergyItem.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,0DAA0D;IAC1D,OAAO,EAAE,iBAAiB,CAAC;IAC3B,sDAAsD;IACtD,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,mDAAmD;IACnD,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrE,oDAAoD;IACpD,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClE,+CAA+C;IAC/C,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAwH3D,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
|
@@ -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;AAI1B,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,mBAAmB,CAAC;IAC/B,uBAAuB,EAAE,CACvB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,KACrC,IAAI,CAAC;CACX;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,
|
|
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;AAI1B,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,mBAAmB,CAAC;IAC/B,uBAAuB,EAAE,CACvB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,KACrC,IAAI,CAAC;CACX;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqF/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedImmunizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/immunization/components/SelectedImmunizationItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEL,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EAEd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAYnB,UAAU,6BAA6B;IACrC,YAAY,EAAE,sBAAsB,CAAC;IACrC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,uBAAuB,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAChD,UAAU,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,eAAe,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACpD,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"SelectedImmunizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/immunization/components/SelectedImmunizationItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEL,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EAEd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAYnB,UAAU,6BAA6B;IACrC,YAAY,EAAE,sBAAsB,CAAC;IACrC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,uBAAuB,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAChD,UAAU,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,eAAe,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACpD,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAgfrE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/dist/components/forms/medicationRequest/components/SelectedMedicationRequestItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedMedicationRequestItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/medicationRequest/components/SelectedMedicationRequestItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAgC,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAKrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAUtD,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,oBAAoB,CAAC;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,
|
|
1
|
+
{"version":3,"file":"SelectedMedicationRequestItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/medicationRequest/components/SelectedMedicationRequestItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAgC,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAKrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAUtD,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,oBAAoB,CAAC;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAoe7E,CAAC;AAIJ,eAAe,6BAA6B,CAAC"}
|
|
@@ -70916,7 +70916,7 @@ const Md2 = (t) => {
|
|
|
70916
70916
|
) })
|
|
70917
70917
|
]
|
|
70918
70918
|
}
|
|
70919
|
-
), _p2 = "
|
|
70919
|
+
), _p2 = "_textAreaWCloseContainer_104qm_1", Np2 = "_textAreaWCloseContainerWInvalid_104qm_12", Ap2 = "_closeButton_104qm_20", T8$1 = {
|
|
70920
70920
|
textAreaWCloseContainer: _p2,
|
|
70921
70921
|
textAreaWCloseContainerWInvalid: Np2,
|
|
70922
70922
|
closeButton: Ap2
|
|
@@ -70953,7 +70953,6 @@ const Md2 = (t) => {
|
|
|
70953
70953
|
type: "default",
|
|
70954
70954
|
labelText: e,
|
|
70955
70955
|
placeholder: n ?? e,
|
|
70956
|
-
hideLabel: !0,
|
|
70957
70956
|
value: r,
|
|
70958
70957
|
onChange: a,
|
|
70959
70958
|
disabled: w,
|
|
@@ -169682,7 +169681,7 @@ const mpt = [
|
|
|
169682
169681
|
},
|
|
169683
169682
|
{
|
|
169684
169683
|
type: "patientDocuments",
|
|
169685
|
-
component: lazy$1(() => import("./DocumentsTable-CBd3EBSh-
|
|
169684
|
+
component: lazy$1(() => import("./DocumentsTable-CBd3EBSh-Bg6gJvdv.js"))
|
|
169686
169685
|
},
|
|
169687
169686
|
{
|
|
169688
169687
|
type: "flowSheet",
|
|
@@ -169690,7 +169689,7 @@ const mpt = [
|
|
|
169690
169689
|
},
|
|
169691
169690
|
{
|
|
169692
169691
|
type: "forms",
|
|
169693
|
-
component: lazy$1(() => import("./FormsTable-DMJEteY7-
|
|
169692
|
+
component: lazy$1(() => import("./FormsTable-DMJEteY7-9l9VR_16.js"))
|
|
169694
169693
|
},
|
|
169695
169694
|
{
|
|
169696
169695
|
type: "labOrders",
|
|
@@ -169698,7 +169697,7 @@ const mpt = [
|
|
|
169698
169697
|
},
|
|
169699
169698
|
{
|
|
169700
169699
|
type: "observations",
|
|
169701
|
-
component: lazy$1(() => import("./Observations-CKw5OQxh-
|
|
169700
|
+
component: lazy$1(() => import("./Observations-CKw5OQxh-2fwzDTZe.js"))
|
|
169702
169701
|
},
|
|
169703
169702
|
{
|
|
169704
169703
|
type: "ordersControl",
|
|
@@ -171604,7 +171603,7 @@ var displayValue = (t, e = !1) => {
|
|
|
171604
171603
|
const e = render(() => {
|
|
171605
171604
|
const n = this, [r] = this.#r, [a] = this.#a, [l] = this.#o, [c] = this.#l, [g] = this.#p, [A] = this.#e;
|
|
171606
171605
|
let w;
|
|
171607
|
-
return this.#i ? w = this.#i : (w = lazy(() => import("./LNWAZHJI-
|
|
171606
|
+
return this.#i ? w = this.#i : (w = lazy(() => import("./LNWAZHJI-CidIpI8u.js")), this.#i = w), setupStyleSheet(this.#d, this.#n), createComponent(w, mergeProps({
|
|
171608
171607
|
get queryFlavor() {
|
|
171609
171608
|
return n.#f;
|
|
171610
171609
|
},
|
|
@@ -171702,7 +171701,7 @@ var displayValue = (t, e = !1) => {
|
|
|
171702
171701
|
const e = render(() => {
|
|
171703
171702
|
const n = this, [r] = this.#r, [a] = this.#a, [l] = this.#o, [c] = this.#l, [g] = this.#p, [A] = this.#e, [w] = this.#i;
|
|
171704
171703
|
let _;
|
|
171705
|
-
return this.#s ? _ = this.#s : (_ = lazy(() => import("./MWZ6AO7Z-
|
|
171704
|
+
return this.#s ? _ = this.#s : (_ = lazy(() => import("./MWZ6AO7Z-wHWS03Nf.js")), this.#s = _), setupStyleSheet(this.#d, this.#n), createComponent(_, mergeProps({
|
|
171706
171705
|
get queryFlavor() {
|
|
171707
171706
|
return n.#f;
|
|
171708
171707
|
},
|
|
@@ -225800,8 +225799,7 @@ const useAllergenSearch = (t = "") => {
|
|
|
225800
225799
|
id: `allergy-severity-dropdown-${c}`,
|
|
225801
225800
|
"data-testid": `allergy-severity-dropdown-${c}`,
|
|
225802
225801
|
type: "default",
|
|
225803
|
-
titleText: l("
|
|
225804
|
-
hideLabel: !0,
|
|
225802
|
+
titleText: l("ALLERGY_SEVERITY_LABEL"),
|
|
225805
225803
|
label: l("ALLERGY_SELECT_SEVERITY"),
|
|
225806
225804
|
items: ALLERGY_SEVERITY_CONCEPTS,
|
|
225807
225805
|
selectedItem: w,
|
|
@@ -225831,8 +225829,7 @@ const useAllergenSearch = (t = "") => {
|
|
|
225831
225829
|
id: `allergy-reactions-multiselect-${c}`,
|
|
225832
225830
|
"data-testid": `allergy-reactions-multiselect-${c}`,
|
|
225833
225831
|
type: "default",
|
|
225834
|
-
titleText: l("
|
|
225835
|
-
hideLabel: !0,
|
|
225832
|
+
titleText: l("ALLERGY_REACTIONS_LABEL"),
|
|
225836
225833
|
placeholder: l("ALLERGY_SELECT_REACTIONS"),
|
|
225837
225834
|
items: e,
|
|
225838
225835
|
selectedItems: _,
|
|
@@ -225854,13 +225851,10 @@ const useAllergenSearch = (t = "") => {
|
|
|
225854
225851
|
{
|
|
225855
225852
|
id: `allergy-note-${c}`,
|
|
225856
225853
|
"data-testid": `allergy-note-${c}`,
|
|
225857
|
-
labelText: l("
|
|
225854
|
+
labelText: l("NOTE_LABEL"),
|
|
225858
225855
|
placeholder: l("ADD_ALLERGY_NOTE_PLACEHOLDER"),
|
|
225859
225856
|
value: b ?? "",
|
|
225860
|
-
onChange: (x) =>
|
|
225861
|
-
const H = x.target;
|
|
225862
|
-
a(c, H.value);
|
|
225863
|
-
},
|
|
225857
|
+
onChange: (x) => a(c, x.target.value),
|
|
225864
225858
|
onClose: () => {
|
|
225865
225859
|
S(!1), a(c, "");
|
|
225866
225860
|
},
|
|
@@ -226180,7 +226174,7 @@ const useInvestigationsSearch = (t = "") => {
|
|
|
226180
226174
|
{
|
|
226181
226175
|
id: `investigation-note-${r}`,
|
|
226182
226176
|
"data-testid": `investigation-note-${r}`,
|
|
226183
|
-
labelText: c("
|
|
226177
|
+
labelText: c("NOTE_LABEL"),
|
|
226184
226178
|
placeholder: c("INVESTIGATION_ADD_NOTE_PLACEHOLDER"),
|
|
226185
226179
|
value: l ?? "",
|
|
226186
226180
|
onChange: (_) => {
|
|
@@ -226434,7 +226428,6 @@ const useConceptSearch = (t, e = 20, n = 500) => {
|
|
|
226434
226428
|
invalid: w,
|
|
226435
226429
|
invalidText: w ? n(g.durationValue) : "",
|
|
226436
226430
|
size: "sm",
|
|
226437
|
-
hideLabel: !0,
|
|
226438
226431
|
className: styles$d.selectedConditionDurationValue
|
|
226439
226432
|
}
|
|
226440
226433
|
),
|
|
@@ -226444,7 +226437,6 @@ const useConceptSearch = (t, e = 20, n = 500) => {
|
|
|
226444
226437
|
id: `condition-duration-unit-${r}`,
|
|
226445
226438
|
titleText: n("CONDITIONS_DURATION_UNIT_LABEL"),
|
|
226446
226439
|
label: n("CONDITIONS_DURATION_UNIT_LABEL"),
|
|
226447
|
-
hideLabel: !0,
|
|
226448
226440
|
items: DURATION_UNITS,
|
|
226449
226441
|
selectedItem: DURATION_UNITS.find((b) => b.id === c) ?? null,
|
|
226450
226442
|
itemToString: (b) => n(b?.display ?? ""),
|
|
@@ -226531,7 +226523,7 @@ const CERTAINITY_CONCEPTS = [
|
|
|
226531
226523
|
id: `diagnoses-certainty-dropdown-${l}`,
|
|
226532
226524
|
testId: `diagnoses-certainty-dropdown-${l}`,
|
|
226533
226525
|
type: "default",
|
|
226534
|
-
titleText: "",
|
|
226526
|
+
titleText: a("DIAGNOSES_CERTAINTY_LABEL"),
|
|
226535
226527
|
label: a("DIAGNOSES_SELECT_CERTAINTY"),
|
|
226536
226528
|
items: CERTAINITY_CONCEPTS,
|
|
226537
226529
|
selectedItem: g,
|
|
@@ -227631,7 +227623,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227631
227623
|
),
|
|
227632
227624
|
"aria-label": "Dosage",
|
|
227633
227625
|
className: styles$a.dosageInput,
|
|
227634
|
-
hideLabel: !0,
|
|
227635
227626
|
type: "number",
|
|
227636
227627
|
onChange: (Nrt, { value: Mrt }) => {
|
|
227637
227628
|
l(
|
|
@@ -227657,7 +227648,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227657
227648
|
),
|
|
227658
227649
|
"aria-label": "Dosage Unit",
|
|
227659
227650
|
className: styles$a.dosageUnit,
|
|
227660
|
-
hideLabel: !0,
|
|
227661
227651
|
items: e.doseUnits ?? [],
|
|
227662
227652
|
itemToString: (Nrt) => Nrt ? Nrt.name : "",
|
|
227663
227653
|
selectedItem: F,
|
|
@@ -227683,7 +227673,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227683
227673
|
`${n.toUpperCase()}_FREQUENCY_INPUT_LABEL`
|
|
227684
227674
|
),
|
|
227685
227675
|
"aria-label": "Frequency",
|
|
227686
|
-
hideLabel: !0,
|
|
227687
227676
|
items: e.frequencies,
|
|
227688
227677
|
itemToString: (Nrt) => Nrt ? Nrt.name : "",
|
|
227689
227678
|
selectedItem: E,
|
|
@@ -227707,7 +227696,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227707
227696
|
),
|
|
227708
227697
|
"aria-label": "Duration",
|
|
227709
227698
|
className: styles$a.durationInput,
|
|
227710
|
-
hideLabel: !0,
|
|
227711
227699
|
min: 0,
|
|
227712
227700
|
step: 1,
|
|
227713
227701
|
value: Nse,
|
|
@@ -227735,7 +227723,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227735
227723
|
),
|
|
227736
227724
|
"aria-label": "Duration Unit",
|
|
227737
227725
|
className: styles$a.durationUnit,
|
|
227738
|
-
hideLabel: !0,
|
|
227739
227726
|
items: DURATION_UNIT_OPTIONS,
|
|
227740
227727
|
itemToString: (Nrt) => Nrt ? x(Nrt.display, { defaultValue: Nrt.code }) : "",
|
|
227741
227728
|
selectedItem: R1,
|
|
@@ -227760,7 +227747,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227760
227747
|
label: x(
|
|
227761
227748
|
`${n.toUpperCase()}_INSTRUCTIONS_INPUT_LABEL`
|
|
227762
227749
|
),
|
|
227763
|
-
hideLabel: !0,
|
|
227764
227750
|
items: e.dosingInstructions ?? [],
|
|
227765
227751
|
itemToString: (Nrt) => Nrt ? Nrt.name : "",
|
|
227766
227752
|
selectedItem: N,
|
|
@@ -227785,7 +227771,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227785
227771
|
`${n.toUpperCase()}_ROUTE_INPUT_LABEL`
|
|
227786
227772
|
),
|
|
227787
227773
|
"aria-label": "Route",
|
|
227788
|
-
hideLabel: !0,
|
|
227789
227774
|
items: e.routes ?? [],
|
|
227790
227775
|
itemToString: (Nrt) => Nrt ? Nrt.name : "",
|
|
227791
227776
|
selectedItem: j,
|
|
@@ -227818,7 +227803,6 @@ const column$1 = "SelectedMedicationRequestItem-module_column__RoFL-", itemTitle
|
|
|
227818
227803
|
`${n.toUpperCase()}_START_DATE_INPUT_LABEL`
|
|
227819
227804
|
),
|
|
227820
227805
|
"aria-label": "Start Date",
|
|
227821
|
-
hideLabel: !0,
|
|
227822
227806
|
invalid: !!Q.startDate,
|
|
227823
227807
|
invalidText: Q.startDate ? x(Q.startDate) : "",
|
|
227824
227808
|
disabled: p7e || findAttr$1("startDate", r)?.readOnly
|
|
@@ -228525,7 +228509,7 @@ function getImmunizationStore(t) {
|
|
|
228525
228509
|
function useImmunizationHistoryStore(t) {
|
|
228526
228510
|
return useStore(getImmunizationStore(t));
|
|
228527
228511
|
}
|
|
228528
|
-
const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-module_title__YyFXH", loading = "ImmunizationForm-module_loading__3yWB1", error$1 = "ImmunizationForm-module_error__NLL9F", selectedItem = "ImmunizationForm-module_selectedItem__tNdQY", selectedItemTitle = "ImmunizationForm-module_selectedItemTitle__aaZ2k", textArea = "ImmunizationForm-module_textArea__QJIMl", column = "ImmunizationForm-module_column__bOa14", batchNumber = "ImmunizationForm-module_batchNumber__nCb6h", datePicker = "ImmunizationForm-module_datePicker__84sJC", cdsCardContainer = "ImmunizationForm-module_cdsCardContainer__lKW94", cdsCard = "ImmunizationForm-module_cdsCard__y4jTm", styles$8 = {
|
|
228512
|
+
const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-module_title__YyFXH", loading = "ImmunizationForm-module_loading__3yWB1", error$1 = "ImmunizationForm-module_error__NLL9F", selectedItem = "ImmunizationForm-module_selectedItem__tNdQY", selectedItemTitle = "ImmunizationForm-module_selectedItemTitle__aaZ2k", textArea = "ImmunizationForm-module_textArea__QJIMl", column = "ImmunizationForm-module_column__bOa14", batchNumber = "ImmunizationForm-module_batchNumber__nCb6h", doseSequenceInput = "ImmunizationForm-module_doseSequenceInput__bMNaL", datePicker = "ImmunizationForm-module_datePicker__84sJC", cdsCardContainer = "ImmunizationForm-module_cdsCardContainer__lKW94", cdsCard = "ImmunizationForm-module_cdsCard__y4jTm", styles$8 = {
|
|
228529
228513
|
form,
|
|
228530
228514
|
title: title$2,
|
|
228531
228515
|
loading,
|
|
@@ -228535,6 +228519,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228535
228519
|
textArea,
|
|
228536
228520
|
column,
|
|
228537
228521
|
batchNumber,
|
|
228522
|
+
doseSequenceInput,
|
|
228538
228523
|
datePicker,
|
|
228539
228524
|
cdsCardContainer,
|
|
228540
228525
|
cdsCard
|
|
@@ -228644,6 +228629,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228644
228629
|
{
|
|
228645
228630
|
id: `immunization-drug-name-combobox-${E}`,
|
|
228646
228631
|
"data-testid": `immunization-drug-name-combobox-${E}-test-id`,
|
|
228632
|
+
titleText: b("IMMUNIZATION_INPUT_CONTROL_DRUG_NAME_LABEL"),
|
|
228647
228633
|
placeholder: b(
|
|
228648
228634
|
"IMMUNIZATION_INPUT_CONTROL_SEARCH_DRUG_NAME_PLACEHOLDER"
|
|
228649
228635
|
),
|
|
@@ -228683,7 +228669,6 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228683
228669
|
"data-testid": `immunization-administered-on-input-${E}-test-id`,
|
|
228684
228670
|
labelText: b("IMMUNIZATION_INPUT_CONTROL_ADMINISTERED_ON"),
|
|
228685
228671
|
placeholder: b("IMMUNIZATION_INPUT_CONTROL_ADMINISTERED_ON"),
|
|
228686
|
-
hideLabel: !0,
|
|
228687
228672
|
disabled: !!(t.basedOnReference && t.administeredOn),
|
|
228688
228673
|
invalid: !!t.errors.administeredOn,
|
|
228689
228674
|
invalidText: t.errors.administeredOn ? b(t.errors.administeredOn) : ""
|
|
@@ -228696,6 +228681,9 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228696
228681
|
{
|
|
228697
228682
|
id: `immunization-administered-location-combobox-${E}`,
|
|
228698
228683
|
"data-testid": `immunization-administered-location-${E}-test-id`,
|
|
228684
|
+
titleText: b(
|
|
228685
|
+
"IMMUNIZATION_INPUT_CONTROL_ADMINISTRATION_LOCATION_LABEL"
|
|
228686
|
+
),
|
|
228699
228687
|
placeholder: b(
|
|
228700
228688
|
"IMMUNIZATION_INPUT_CONTROL_ADMINISTERED_LOCATION_PLACEHOLDER"
|
|
228701
228689
|
),
|
|
@@ -228726,6 +228714,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228726
228714
|
{
|
|
228727
228715
|
id: `immunization-route-combobox-${E}`,
|
|
228728
228716
|
"data-testid": `immunization-route-${E}-test-id`,
|
|
228717
|
+
titleText: b("IMMUNIZATION_INPUT_CONTROL_ROUTE_LABEL"),
|
|
228729
228718
|
placeholder: b("IMMUNIZATION_INPUT_CONTROL_ROUTE_PLACEHOLDER"),
|
|
228730
228719
|
autoAlign: !0,
|
|
228731
228720
|
items: u7e,
|
|
@@ -228743,6 +228732,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228743
228732
|
{
|
|
228744
228733
|
id: `immunization-site-combobox-${E}`,
|
|
228745
228734
|
"data-testid": `immunization-site-${E}-test-id`,
|
|
228735
|
+
titleText: b("IMMUNIZATION_INPUT_CONTROL_BODY_SITE_LABEL"),
|
|
228746
228736
|
placeholder: b("IMMUNIZATION_INPUT_CONTROL_SITE_PLACEHOLDER"),
|
|
228747
228737
|
autoAlign: !0,
|
|
228748
228738
|
items: p1,
|
|
@@ -228766,7 +228756,6 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228766
228756
|
),
|
|
228767
228757
|
value: t.manufacturer ?? "",
|
|
228768
228758
|
onChange: (nft) => x(E, nft.target.value),
|
|
228769
|
-
hideLabel: !0,
|
|
228770
228759
|
invalid: !!t.errors.manufacturer,
|
|
228771
228760
|
invalidText: t.errors.manufacturer ? b(t.errors.manufacturer) : ""
|
|
228772
228761
|
}
|
|
@@ -228776,6 +228765,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228776
228765
|
{
|
|
228777
228766
|
id: `immunization-batch-number-${E}`,
|
|
228778
228767
|
"data-testid": `immunization-batch-number-${E}`,
|
|
228768
|
+
titleText: b("IMMUNIZATION_INPUT_CONTROL_BATCH_NUMBER"),
|
|
228779
228769
|
placeholder: b(
|
|
228780
228770
|
"IMMUNIZATION_INPUT_CONTROL_BATCH_NUMBER_PLACEHOLDER"
|
|
228781
228771
|
),
|
|
@@ -228809,9 +228799,9 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228809
228799
|
value: t.doseSequence ?? 0,
|
|
228810
228800
|
onChange: (nft, { value: zrt }) => T(E, Number(zrt)),
|
|
228811
228801
|
min: 0,
|
|
228812
|
-
hideLabel: !0,
|
|
228813
228802
|
invalid: !!t.errors.doseSequence,
|
|
228814
|
-
invalidText: t.errors.doseSequence ? b(t.errors.doseSequence) : ""
|
|
228803
|
+
invalidText: t.errors.doseSequence ? b(t.errors.doseSequence) : "",
|
|
228804
|
+
className: styles$8.doseSequenceInput
|
|
228815
228805
|
}
|
|
228816
228806
|
) }),
|
|
228817
228807
|
findAttr("expiryDate", r) && /* @__PURE__ */ jsx(fd2, { sm: 4, md: 2, lg: 5, className: styles$8.column, children: /* @__PURE__ */ jsx(
|
|
@@ -228831,9 +228821,8 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228831
228821
|
{
|
|
228832
228822
|
id: `immunization-expiry-date-${E}`,
|
|
228833
228823
|
"data-testid": `immunization-expiry-date-input-${E}`,
|
|
228834
|
-
labelText: b("
|
|
228824
|
+
labelText: b("IMMUNIZATION_INPUT_CONTROL_EXPIRY_DATE_LABEL"),
|
|
228835
228825
|
placeholder: b("IMMUNIZATION_INPUT_CONTROL_EXPIRY_DATE"),
|
|
228836
|
-
hideLabel: !0,
|
|
228837
228826
|
disabled: rft,
|
|
228838
228827
|
invalid: !!t.errors.expiryDate,
|
|
228839
228828
|
invalidText: t.errors.expiryDate ? b(t.errors.expiryDate) : ""
|
|
@@ -228856,7 +228845,7 @@ const form = "ImmunizationForm-module_form__e68vP", title$2 = "ImmunizationForm-
|
|
|
228856
228845
|
{
|
|
228857
228846
|
id: `immunization-note-${E}`,
|
|
228858
228847
|
"data-testid": `immunization-note-${E}-test-id`,
|
|
228859
|
-
labelText: b("
|
|
228848
|
+
labelText: b("NOTE_LABEL"),
|
|
228860
228849
|
placeholder: b(
|
|
228861
228850
|
"IMMUNIZATION_INPUT_CONTROL_ADD_NOTE_PLACEHOLDER"
|
|
228862
228851
|
),
|