@bahmni/widgets 0.0.1-dev.393 → 0.0.1-dev.394
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--8cFcxlU.js → DocumentsTable-CsFH6zeR.js} +1 -1
- package/dist/{FormsTable-Cb0LQ05L.js → FormsTable-CkM_k_qd.js} +1 -1
- package/dist/{Observations-BfsRzyun.js → Observations-IAdh-A64.js} +1 -1
- package/dist/{index-D0pXmjaC.js → index-DTRX38J7.js} +48 -48
- package/dist/index.js +1 -1
- package/dist/search/commonSearch/{CriterionRow.d.ts → components/CriterionRow.d.ts} +1 -1
- package/dist/search/commonSearch/components/CriterionRow.d.ts.map +1 -0
- package/dist/search/commonSearch/components/DateCriterionInput.d.ts.map +1 -0
- package/dist/search/commonSearch/components/LookupCriterionInput.d.ts.map +1 -0
- package/dist/search/commonSearch/components/NumericCriterionInput.d.ts.map +1 -0
- package/dist/search/commonSearch/components/OptionsCriterionInput.d.ts.map +1 -0
- package/dist/search/commonSearch/{ResultsTable.d.ts → components/ResultsTable.d.ts} +1 -1
- package/dist/search/commonSearch/components/ResultsTable.d.ts.map +1 -0
- package/dist/search/commonSearch/{SearchForm.d.ts → components/SearchForm.d.ts} +1 -1
- package/dist/search/commonSearch/components/SearchForm.d.ts.map +1 -0
- package/dist/search/commonSearch/{SearchSummary.d.ts → components/SearchSummary.d.ts} +1 -1
- package/dist/search/commonSearch/components/SearchSummary.d.ts.map +1 -0
- package/dist/search/commonSearch/components/TextCriterionInput.d.ts.map +1 -0
- package/dist/search/commonSearch/components/index.d.ts.map +1 -0
- package/dist/search/searchPatient/SearchPatient.d.ts.map +1 -1
- package/dist/search/searchPatient/{appointmentSearchResultActionHandler.d.ts → actions/appointmentSearchResultActionHandler.d.ts} +1 -1
- package/dist/search/searchPatient/actions/appointmentSearchResultActionHandler.d.ts.map +1 -0
- package/dist/search/searchPatient/components/PatientSearchResults.d.ts.map +1 -0
- package/dist/search/searchPatient/components/SearchPatientInput.d.ts.map +1 -0
- package/dist/search/searchPatient/strategies/AppointmentSearchStrategy.d.ts +1 -1
- package/dist/search/searchPatient/strategies/AppointmentSearchStrategy.d.ts.map +1 -1
- package/dist/search/searchPatient/strategies/AttributeSearchStrategy.d.ts +1 -1
- package/dist/search/searchPatient/strategies/AttributeSearchStrategy.d.ts.map +1 -1
- package/dist/search/searchPatient/strategies/NameOrIdSearchStrategy.d.ts +1 -1
- package/dist/search/searchPatient/strategies/NameOrIdSearchStrategy.d.ts.map +1 -1
- package/dist/search/searchPatient/strategies/SearchStrategy.interface.d.ts.map +1 -0
- package/dist/search/searchPatient/strategies/SearchStrategyRegistry.d.ts +1 -1
- package/dist/search/searchPatient/strategies/SearchStrategyRegistry.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/search/commonSearch/CriterionRow.d.ts.map +0 -1
- package/dist/search/commonSearch/ResultsTable.d.ts.map +0 -1
- package/dist/search/commonSearch/SearchForm.d.ts.map +0 -1
- package/dist/search/commonSearch/SearchSummary.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/DateCriterionInput.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/LookupCriterionInput.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/NumericCriterionInput.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/OptionsCriterionInput.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/TextCriterionInput.d.ts.map +0 -1
- package/dist/search/commonSearch/inputs/index.d.ts.map +0 -1
- package/dist/search/searchPatient/PatientSearchResults.d.ts.map +0 -1
- package/dist/search/searchPatient/SearchPatientInput.d.ts.map +0 -1
- package/dist/search/searchPatient/SearchStrategy.interface.d.ts.map +0 -1
- package/dist/search/searchPatient/appointmentSearchResultActionHandler.d.ts.map +0 -1
- /package/dist/search/commonSearch/{inputs → components}/DateCriterionInput.d.ts +0 -0
- /package/dist/search/commonSearch/{inputs → components}/LookupCriterionInput.d.ts +0 -0
- /package/dist/search/commonSearch/{inputs → components}/NumericCriterionInput.d.ts +0 -0
- /package/dist/search/commonSearch/{inputs → components}/OptionsCriterionInput.d.ts +0 -0
- /package/dist/search/commonSearch/{inputs → components}/TextCriterionInput.d.ts +0 -0
- /package/dist/search/commonSearch/{inputs → components}/index.d.ts +0 -0
- /package/dist/search/searchPatient/{PatientSearchResults.d.ts → components/PatientSearchResults.d.ts} +0 -0
- /package/dist/search/searchPatient/{SearchPatientInput.d.ts → components/SearchPatientInput.d.ts} +0 -0
- /package/dist/search/searchPatient/{SearchStrategy.interface.d.ts → strategies/SearchStrategy.interface.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as T, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { u as W, a as X, N as J, m as Z, V as x, b as ee, F as te } from "./index-
|
|
2
|
+
import { u as W, a as X, N as J, m as Z, V as x, b as ee, F as te } from "./index-DTRX38J7.js";
|
|
3
3
|
import { useQuery as ne } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as _, useEffect as I, useMemo as p } from "react";
|
|
5
5
|
import { useTranslation as ae } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as $, Fragment as ge } from "react/jsx-runtime";
|
|
2
|
-
import { u as be, c as Oe, d as Ne, e as Ee, f as ve, n as Te, s as Fe, g as Ie, v as Ae, h as _e, i as Re, Y as G, V as De, C as K, B as z, m as Me, b as Q, r as Le, j as Be, F as Ce, O as Se, k as Ue } from "./index-
|
|
2
|
+
import { u as be, c as Oe, d as Ne, e as Ee, f as ve, n as Te, s as Fe, g as Ie, v as Ae, h as _e, i as Re, Y as G, V as De, C as K, B as z, m as Me, b as Q, r as Le, j as Be, F as Ce, O as Se, k as Ue } from "./index-DTRX38J7.js";
|
|
3
3
|
import { useQueryClient as ke, useQuery as E } from "@tanstack/react-query";
|
|
4
4
|
import { useState as Y, useMemo as d, useCallback as c } from "react";
|
|
5
5
|
import { useTranslation as we } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as U } from "react/jsx-runtime";
|
|
2
|
-
import { l as V, z as D, t as w, U as Q, o as q, y as k, p as z, q as G, u as P, a as H, _ as j, w as J, v as Y, x as W, A as X, D as Z, E as x, b as ee } from "./index-
|
|
2
|
+
import { l as V, z as D, t as w, U as Q, o as q, y as k, p as z, q as G, u as P, a as H, _ as j, w as J, v as Y, x as W, A as X, D as Z, E as x, b as ee } from "./index-DTRX38J7.js";
|
|
3
3
|
import { useQueries as te, useQuery as se } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as oe, useEffect as N, useMemo as h } from "react";
|
|
5
5
|
import { useTranslation as C } from "react-i18next";
|
|
@@ -104606,13 +104606,7 @@ const mKt = ({
|
|
|
104606
104606
|
}
|
|
104607
104607
|
)
|
|
104608
104608
|
] });
|
|
104609
|
-
}, XKt =
|
|
104610
|
-
$schema: XKt,
|
|
104611
|
-
title: QKt,
|
|
104612
|
-
type: eYt,
|
|
104613
|
-
additionalProperties: tYt,
|
|
104614
|
-
properties: rYt
|
|
104615
|
-
}, oYt = ({
|
|
104609
|
+
}, XKt = ({
|
|
104616
104610
|
buttonTitle: t,
|
|
104617
104611
|
searchBarPlaceholder: e,
|
|
104618
104612
|
isLoading: r,
|
|
@@ -104737,6 +104731,12 @@ const mKt = ({
|
|
|
104737
104731
|
]
|
|
104738
104732
|
}
|
|
104739
104733
|
);
|
|
104734
|
+
}, QKt = "http://json-schema.org/draft-07/schema#", eYt = "Search Patient Widget Config Schema", tYt = "object", rYt = !1, nYt = { patientDetailUrl: { type: "string", description: "URL template for navigating to a patient detail page. Use {{patientUuid}} as a placeholder." }, customAttributes: { type: "array", description: "Array of available search fields", items: { type: "object", additionalProperties: !1, properties: { translationKey: { type: "string", description: "Translation key for the dropdown label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, columnTranslationKeys: { type: "array", description: "Array of translation keys for the column headers", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of fields configurations with translation keys to display on table headers", items: { type: "object", additionalProperties: !1, properties: { field: { type: "string", description: "field corresponding to table header" }, translationKey: { type: "string", description: "Translation key for the table header" } } } }, type: { type: "string", enum: ["person", "address", "program", "appointment"], description: "Type of the search field (person, address, program, appointment)" } } } }, appointment: { type: "array", description: "Array of available search fields for appointments", items: { type: "object", additionalProperties: !0, required: ["translationKey", "fields"], properties: { translationKey: { type: "string", description: "Translation key for the field label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of expected fields with optional types", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "The field name (e.g., apptNumber, apptDate)" }, translationKey: { type: "string", description: "Translation key for the field's display label" }, type: { type: "string", description: "Optional field type (e.g., date, string)" } } } }, type: { type: "string", enum: ["appointment"], description: "Type of the search field (appointment)" }, actions: { type: "array", description: "Array of actions allowed on this search field", items: { type: "object", required: ["translationKey", "type", "enabledRule", "onAction"], properties: { translationKey: { type: "string", description: "Translation key for the action button label" }, type: { type: "string", enum: ["changeStatus", "navigate", "checkInAndStartVisit"], description: "Type of action to perform" }, enabledRule: { type: "array", description: "Conditions to enable this action (rules)", items: { type: "object", properties: { type: { type: "string", enum: ["privilegeCheck", "statusCheck", "appDateCheck", "appointmentService"], description: "Type of rule to evaluate" }, values: { type: "array", items: { type: "string" }, description: "Values to match for the rule" }, excludeValues: { type: "array", items: { type: "string" }, description: "Values to exclude for the rule" } } } }, onAction: { type: "object", description: "What happens when action is triggered", additionalProperties: !0, properties: { status: { type: "string", description: "Status to set (for changeStatus type)" }, navigation: { type: "string", description: "URL path to navigate to (for navigate type)" }, submit: { type: "string", description: "API endpoint URL to submit to (for checkInAndStartVisit type)" } } }, onSuccess: { type: "object", description: "Notification or other success response", additionalProperties: !0, properties: { notification: { type: "string", description: "Translation key for success notification message" } } } } } } } } } }, oYt = {
|
|
104735
|
+
$schema: QKt,
|
|
104736
|
+
title: eYt,
|
|
104737
|
+
type: tYt,
|
|
104738
|
+
additionalProperties: rYt,
|
|
104739
|
+
properties: nYt
|
|
104740
104740
|
};
|
|
104741
104741
|
class aYt {
|
|
104742
104742
|
type = "appointment";
|
|
@@ -104998,7 +104998,7 @@ const cYt = ({ extensionParams: t }) => {
|
|
|
104998
104998
|
data: a
|
|
104999
104999
|
} = Tt({
|
|
105000
105000
|
queryKey: ["searchPatientConfig", e],
|
|
105001
|
-
queryFn: () => DZe(e,
|
|
105001
|
+
queryFn: () => DZe(e, oYt),
|
|
105002
105002
|
enabled: !!e
|
|
105003
105003
|
}), [i, s] = Ee(""), [l, c] = Ee(""), [d, u] = Ee(""), [m, w] = Ee(""), { addNotification: g } = L1(), { t: H } = ut(), [E, M] = Ee(!1), [b, v] = Ee([]), [y, x] = Ee(""), [V, N] = Ee([]), [C, _] = Ee(void 0), k = () => V.find(
|
|
105004
105004
|
(S) => H(S.translationKey) === y
|
|
@@ -105114,7 +105114,7 @@ const cYt = ({ extensionParams: t }) => {
|
|
|
105114
105114
|
} : void 0, X = E ? z : "", K = X === "appointment" ? Z?.appointment ?? [] : Z?.customAttributes ?? [];
|
|
105115
105115
|
return /* @__PURE__ */ Ne("div", { children: [
|
|
105116
105116
|
/* @__PURE__ */ L(
|
|
105117
|
-
|
|
105117
|
+
XKt,
|
|
105118
105118
|
{
|
|
105119
105119
|
buttonTitle: H("REGISTRATION_PATIENT_SEARCH_BUTTON_TITLE"),
|
|
105120
105120
|
searchBarPlaceholder: H(
|
|
@@ -113506,15 +113506,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113506
113506
|
className: Wt.dataTable
|
|
113507
113507
|
}
|
|
113508
113508
|
);
|
|
113509
|
-
}, p11 =
|
|
113510
|
-
$schema: p11,
|
|
113511
|
-
title: f11,
|
|
113512
|
-
description: m11,
|
|
113513
|
-
type: w11,
|
|
113514
|
-
minItems: g11,
|
|
113515
|
-
items: v11,
|
|
113516
|
-
definitions: E11
|
|
113517
|
-
}, V11 = ({
|
|
113509
|
+
}, p11 = ({
|
|
113518
113510
|
input: t,
|
|
113519
113511
|
value: e,
|
|
113520
113512
|
onChange: r,
|
|
@@ -113623,7 +113615,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113623
113615
|
)
|
|
113624
113616
|
}
|
|
113625
113617
|
) });
|
|
113626
|
-
},
|
|
113618
|
+
}, f11 = async () => {
|
|
113627
113619
|
const t = Cn();
|
|
113628
113620
|
return (await d_t()).filter(
|
|
113629
113621
|
(e) => e.location === null || e.location.uuid === t.uuid
|
|
@@ -113631,20 +113623,20 @@ const o11 = (t, e) => t.filter(
|
|
|
113631
113623
|
uuid: e.uuid,
|
|
113632
113624
|
label: e.name
|
|
113633
113625
|
}));
|
|
113634
|
-
},
|
|
113626
|
+
}, m11 = async () => (await dTt()).filter((t) => !t.retired).map((t) => ({ uuid: t.uuid, label: t.name })), w11 = async () => (await Wzt()).filter((t) => t.person).map((t) => ({
|
|
113635
113627
|
uuid: t.uuid,
|
|
113636
113628
|
label: (t.person?.preferredName?.display ?? t.person.display) || t.display
|
|
113637
|
-
})),
|
|
113638
|
-
appointmentService:
|
|
113639
|
-
provider:
|
|
113640
|
-
programName:
|
|
113641
|
-
},
|
|
113629
|
+
})), g11 = {
|
|
113630
|
+
appointmentService: f11,
|
|
113631
|
+
provider: w11,
|
|
113632
|
+
programName: m11
|
|
113633
|
+
}, v11 = ({
|
|
113642
113634
|
input: t,
|
|
113643
113635
|
value: e,
|
|
113644
113636
|
onChange: r,
|
|
113645
113637
|
validationError: n
|
|
113646
113638
|
}) => {
|
|
113647
|
-
const { t: a } = ut(), [i, s] = Ee(null), l =
|
|
113639
|
+
const { t: a } = ut(), [i, s] = Ee(null), l = g11[t.lookup.source], { data: c, isLoading: d, isError: u } = Tt({
|
|
113648
113640
|
queryKey: ["lookup", t.lookup.source],
|
|
113649
113641
|
queryFn: l,
|
|
113650
113642
|
enabled: !!l,
|
|
@@ -113685,7 +113677,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113685
113677
|
)
|
|
113686
113678
|
}
|
|
113687
113679
|
);
|
|
113688
|
-
}, zd = (t) => t == null || t === "" ? null : String(t),
|
|
113680
|
+
}, zd = (t) => t == null || t === "" ? null : String(t), E11 = ({
|
|
113689
113681
|
input: t,
|
|
113690
113682
|
value: e,
|
|
113691
113683
|
onChange: r,
|
|
@@ -113786,7 +113778,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113786
113778
|
)
|
|
113787
113779
|
}
|
|
113788
113780
|
);
|
|
113789
|
-
},
|
|
113781
|
+
}, y11 = ({
|
|
113790
113782
|
input: t,
|
|
113791
113783
|
value: e,
|
|
113792
113784
|
onChange: r,
|
|
@@ -113816,7 +113808,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113816
113808
|
)
|
|
113817
113809
|
}
|
|
113818
113810
|
);
|
|
113819
|
-
},
|
|
113811
|
+
}, V11 = ({
|
|
113820
113812
|
input: t,
|
|
113821
113813
|
value: e,
|
|
113822
113814
|
onChange: r,
|
|
@@ -113839,7 +113831,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113839
113831
|
invalidText: n ?? void 0
|
|
113840
113832
|
}
|
|
113841
113833
|
) });
|
|
113842
|
-
},
|
|
113834
|
+
}, H11 = ({
|
|
113843
113835
|
input: t,
|
|
113844
113836
|
value: e,
|
|
113845
113837
|
onChange: r,
|
|
@@ -113849,7 +113841,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113849
113841
|
switch (t.kind) {
|
|
113850
113842
|
case "text":
|
|
113851
113843
|
return /* @__PURE__ */ L(
|
|
113852
|
-
|
|
113844
|
+
V11,
|
|
113853
113845
|
{
|
|
113854
113846
|
input: t,
|
|
113855
113847
|
value: e,
|
|
@@ -113859,7 +113851,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113859
113851
|
);
|
|
113860
113852
|
case "numeric":
|
|
113861
113853
|
return /* @__PURE__ */ L(
|
|
113862
|
-
|
|
113854
|
+
E11,
|
|
113863
113855
|
{
|
|
113864
113856
|
input: t,
|
|
113865
113857
|
value: e,
|
|
@@ -113870,7 +113862,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113870
113862
|
);
|
|
113871
113863
|
case "date":
|
|
113872
113864
|
return /* @__PURE__ */ L(
|
|
113873
|
-
|
|
113865
|
+
p11,
|
|
113874
113866
|
{
|
|
113875
113867
|
input: t,
|
|
113876
113868
|
value: e,
|
|
@@ -113881,7 +113873,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113881
113873
|
);
|
|
113882
113874
|
case "options":
|
|
113883
113875
|
return /* @__PURE__ */ L(
|
|
113884
|
-
|
|
113876
|
+
y11,
|
|
113885
113877
|
{
|
|
113886
113878
|
input: t,
|
|
113887
113879
|
value: e,
|
|
@@ -113891,7 +113883,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113891
113883
|
);
|
|
113892
113884
|
case "lookup":
|
|
113893
113885
|
return /* @__PURE__ */ L(
|
|
113894
|
-
|
|
113886
|
+
v11,
|
|
113895
113887
|
{
|
|
113896
113888
|
input: t,
|
|
113897
113889
|
value: e,
|
|
@@ -113900,7 +113892,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113900
113892
|
}
|
|
113901
113893
|
);
|
|
113902
113894
|
}
|
|
113903
|
-
},
|
|
113895
|
+
}, M11 = ({
|
|
113904
113896
|
row: t,
|
|
113905
113897
|
availableCriteria: e,
|
|
113906
113898
|
selectedCriterion: r,
|
|
@@ -113935,7 +113927,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113935
113927
|
}
|
|
113936
113928
|
) }),
|
|
113937
113929
|
/* @__PURE__ */ L("div", { className: Wt.criterionInput, children: r ? /* @__PURE__ */ L(
|
|
113938
|
-
|
|
113930
|
+
H11,
|
|
113939
113931
|
{
|
|
113940
113932
|
input: r.input,
|
|
113941
113933
|
value: t.value,
|
|
@@ -113958,7 +113950,7 @@ const o11 = (t, e) => t.filter(
|
|
|
113958
113950
|
]
|
|
113959
113951
|
}
|
|
113960
113952
|
);
|
|
113961
|
-
},
|
|
113953
|
+
}, b11 = ({
|
|
113962
113954
|
config: t,
|
|
113963
113955
|
location: e,
|
|
113964
113956
|
onSearch: r,
|
|
@@ -114042,7 +114034,7 @@ const o11 = (t, e) => t.filter(
|
|
|
114042
114034
|
}
|
|
114043
114035
|
) }),
|
|
114044
114036
|
d.map((y) => /* @__PURE__ */ L("div", { className: Wt.fullWidthCol, children: /* @__PURE__ */ L(
|
|
114045
|
-
|
|
114037
|
+
M11,
|
|
114046
114038
|
{
|
|
114047
114039
|
row: y,
|
|
114048
114040
|
availableCriteria: Xt1(
|
|
@@ -114092,7 +114084,7 @@ const o11 = (t, e) => t.filter(
|
|
|
114092
114084
|
]
|
|
114093
114085
|
}
|
|
114094
114086
|
);
|
|
114095
|
-
},
|
|
114087
|
+
}, x11 = (t, e, r) => {
|
|
114096
114088
|
if ("value" in t) {
|
|
114097
114089
|
if (e.kind === "options") {
|
|
114098
114090
|
const a = e.options.find((i) => i.value === t.value);
|
|
@@ -114108,14 +114100,14 @@ const o11 = (t, e) => t.filter(
|
|
|
114108
114100
|
}
|
|
114109
114101
|
const n = t.from.value;
|
|
114110
114102
|
return t.to?.value ? r("COMMON_SEARCH_CRITERIA_TAG_RANGE", { from: n, to: t.to.value }) : n;
|
|
114111
|
-
},
|
|
114103
|
+
}, N11 = (t, e, r) => `${r(e.translationKey)}: ${x11(t.value, e.input, r)}`, A11 = ({ currentSearchState: t }) => {
|
|
114112
114104
|
const { t: e } = ut(), { context: r, rows: n } = t, a = n.filter(
|
|
114113
114105
|
(i) => i.criterionKey !== null && i.value !== null
|
|
114114
114106
|
).map((i) => {
|
|
114115
114107
|
const s = r.criteria.find(
|
|
114116
114108
|
(l) => l.id === i.criterionKey
|
|
114117
114109
|
);
|
|
114118
|
-
return { key: i.rowId, text:
|
|
114110
|
+
return { key: i.rowId, text: N11(i, s, e) };
|
|
114119
114111
|
});
|
|
114120
114112
|
return /* @__PURE__ */ Ne(
|
|
114121
114113
|
"div",
|
|
@@ -114147,6 +114139,14 @@ const o11 = (t, e) => t.filter(
|
|
|
114147
114139
|
]
|
|
114148
114140
|
}
|
|
114149
114141
|
);
|
|
114142
|
+
}, _11 = "http://json-schema.org/draft-07/schema#", C11 = "Common Search Widget Config Schema", z11 = "Configuration for the common search widget, defining search criteria per context", T11 = "array", O11 = 1, L11 = { $ref: "#/definitions/searchContextConfig" }, R11 = { searchContextConfig: { type: "object", required: ["context", "translationKey", "requiredPrivileges", "url", "pageSize", "criteria", "resultFields"], additionalProperties: !1, properties: { context: { type: "string", enum: ["patient", "appointment", "patientProgram"], description: "The context this search configuration applies to" }, translationKey: { type: "string", minLength: 1, description: "i18n key for the tab/section label" }, requiredPrivileges: { type: "array", items: { type: "string" }, minItems: 1, uniqueItems: !0, description: "Privileges required to access this search context" }, locationAware: { type: "string", enum: ["loggedInLocation", "allowedLocation"], description: "Location scope applied when executing searches in this context" }, url: { type: "string", minLength: 1, description: "API endpoint URL for search results" }, pageSize: { type: "integer", minimum: 1, description: "Number of results per page" }, criteria: { type: "array", items: { $ref: "#/definitions/criterionConfig" }, minItems: 1, description: "Search criteria available in this context" }, resultFields: { type: "array", items: { $ref: "#/definitions/resultFieldConfig" }, minItems: 1, description: "Defines the columns shown in the results table after a successful search" }, actions: { type: "array", minItems: 1, items: { $ref: "#/definitions/actionConfig" }, description: "Actions available in this context. Optional at the context level, but required when any resultField references an action key. Each action key must be unique within the context." } } }, resultFieldConfig: { type: "object", required: ["translationKey", "expression"], additionalProperties: !1, properties: { translationKey: { type: "string", minLength: 1, description: "i18n key for the column header" }, expression: { type: "string", minLength: 1, description: "JSONata expression evaluated against each result item to extract the column value" }, enableSort: { type: "boolean", description: "When true, the column header is clickable to sort results client-side" }, sortOrder: { type: "string", enum: ["asc", "desc"], description: "Direction the results are sorted by this column before any user interaction" }, filterType: { type: "string", enum: ["text", "select", "dateRange", "numeric"], description: "When present, a filter control appears for this column" }, action: { type: "string", description: "Key of an action defined in the context's actions array. When the referenced action has type navigate, the cell renders as a link. If the user holds none of the action's required privileges, the cell renders as plain text. Referencing a key not present in the actions array is a config error and blocks the widget." }, transform: { type: "string", enum: ["formatDate", "formatTime", "formatDateTime", "formatAge", "formatGender", "formatCountry", "formatSearchResult"], description: "Name of a transform applied to the extracted value before display" } } }, criterionConfig: { type: "object", required: ["field", "translationKey", "input"], additionalProperties: !1, properties: { id: { type: "string", minLength: 1, description: "Human-readable identifier for this criterion, unique within its context. Referenced by other criteria's additionalCriteria list. When omitted, an identifier is auto-derived from field.key/keyType." }, field: { $ref: "#/definitions/fieldConfig" }, default: { type: "boolean", description: "Whether this criterion is shown by default in the UI" }, translationKey: { type: "string", minLength: 1, description: "i18n key for the criterion label" }, input: { $ref: "#/definitions/inputConfig" }, additionalCriteria: { type: "array", items: { type: "string", minLength: 1 }, minItems: 1, uniqueItems: !0, description: "IDs of other criteria in this context that qualify as a sufficient companion when this criterion would otherwise be the only one active. When set and no other active criterion's id appears in this list, the search is blocked." } } }, fieldConfig: { type: "object", required: ["key"], additionalProperties: !1, properties: { key: { type: "string", minLength: 1, description: "Field identifier used when constructing the search query" }, keyType: { type: "string", minLength: 1, description: "UUID or type qualifier for polymorphic fields such as identifier or personAttribute" } } }, inputConfig: { oneOf: [{ $ref: "#/definitions/textInput" }, { $ref: "#/definitions/dateInput" }, { $ref: "#/definitions/numericInput" }, { $ref: "#/definitions/optionsInput" }, { $ref: "#/definitions/lookupInput" }] }, textInput: { type: "object", required: ["kind", "placeholderTranslationKey"], additionalProperties: !1, properties: { kind: { type: "string", const: "text" }, placeholderTranslationKey: { type: "string", minLength: 1 }, regex: { type: "string", minLength: 1, description: "Optional regular expression. When provided, the value is validated against this pattern on search submission." } } }, dateInput: { type: "object", required: ["kind", "placeholderTranslationKey"], additionalProperties: !1, properties: { kind: { type: "string", const: "date" }, placeholderTranslationKey: { type: "string", minLength: 1 }, rangeAllowed: { type: "boolean", description: "When true, UI renders two inputs (From and To), each with its own value and comparator" } } }, numericInput: { type: "object", required: ["kind", "placeholderTranslationKey"], additionalProperties: !1, properties: { kind: { type: "string", const: "numeric" }, placeholderTranslationKey: { type: "string", minLength: 1 }, rangeAllowed: { type: "boolean", description: "When true, UI renders two inputs (From and To), each with its own value and comparator" } } }, optionsInput: { type: "object", required: ["kind", "placeholderTranslationKey", "options"], additionalProperties: !1, properties: { kind: { type: "string", const: "options" }, placeholderTranslationKey: { type: "string", minLength: 1 }, options: { type: "array", minItems: 1, items: { $ref: "#/definitions/optionItem" }, description: "Static list of selectable options" } } }, optionItem: { type: "object", required: ["translationKey", "value"], additionalProperties: !1, properties: { translationKey: { type: "string", minLength: 1 }, value: { type: "string", minLength: 1 } } }, lookupInput: { type: "object", required: ["kind", "placeholderTranslationKey", "lookup"], additionalProperties: !1, properties: { kind: { type: "string", const: "lookup" }, placeholderTranslationKey: { type: "string", minLength: 1 }, lookup: { $ref: "#/definitions/lookupConfig" } } }, lookupConfig: { type: "object", required: ["source"], additionalProperties: !1, properties: { source: { type: "string", minLength: 1, description: "Identifies the lookup source (e.g. appointmentService, concept)" }, prefetch: { type: "boolean", description: "Whether to load all options upfront rather than on user input" }, valueSet: { type: "string", description: "UUID of the concept value set to restrict lookup results" } } }, actionConfig: { oneOf: [{ $ref: "#/definitions/navigateAction" }] }, navigateAction: { type: "object", required: ["key", "type", "navigationURL"], additionalProperties: !0, properties: { key: { type: "string", description: "Unique identifier for this action within the context. Referenced by resultField entries via their action field." }, type: { type: "string", const: "navigate", description: "Renders the column cell as a link navigating to navigationURL." }, navigationURL: { type: "string", description: "URL template for navigation. Placeholders use {expression} syntax where the content must be a valid JSONata expression evaluated against the result row. For example, {uuid} resolves the uuid field; {patient.uuid} resolves a nested field." }, requiredPrivileges: { type: "array", items: { type: "string" }, description: "Privileges required to activate this action. Any one suffices. An empty array makes the action available to all users." } } } }, D11 = {
|
|
114143
|
+
$schema: _11,
|
|
114144
|
+
title: C11,
|
|
114145
|
+
description: z11,
|
|
114146
|
+
type: T11,
|
|
114147
|
+
minItems: O11,
|
|
114148
|
+
items: L11,
|
|
114149
|
+
definitions: R11
|
|
114150
114150
|
}, S11 = ({ extensionParams: t }) => {
|
|
114151
114151
|
const { t: e } = ut(), { addNotification: r } = L1(), n = t?.configUrl, [a, i] = Ee(!1), [s] = Ee(() => {
|
|
114152
114152
|
try {
|
|
@@ -114160,7 +114160,7 @@ const o11 = (t, e) => t.filter(
|
|
|
114160
114160
|
data: H
|
|
114161
114161
|
} = Tt({
|
|
114162
114162
|
queryKey: ["commonSearchWidgetConfig", n],
|
|
114163
|
-
queryFn: () => DZe(n,
|
|
114163
|
+
queryFn: () => DZe(n, D11),
|
|
114164
114164
|
enabled: !!n
|
|
114165
114165
|
}), {
|
|
114166
114166
|
isLoading: E,
|
|
@@ -114282,7 +114282,7 @@ const o11 = (t, e) => t.filter(
|
|
|
114282
114282
|
testId: "common-search-criteria-accordion-test-id",
|
|
114283
114283
|
className: Wt.searchCriteriaAccordionItem,
|
|
114284
114284
|
children: /* @__PURE__ */ L(
|
|
114285
|
-
|
|
114285
|
+
b11,
|
|
114286
114286
|
{
|
|
114287
114287
|
config: N,
|
|
114288
114288
|
location: s,
|
|
@@ -114296,7 +114296,7 @@ const o11 = (t, e) => t.filter(
|
|
|
114296
114296
|
}
|
|
114297
114297
|
),
|
|
114298
114298
|
!a && l && /* @__PURE__ */ Ne(c1, { children: [
|
|
114299
|
-
/* @__PURE__ */ L(
|
|
114299
|
+
/* @__PURE__ */ L(A11, { currentSearchState: l }),
|
|
114300
114300
|
/* @__PURE__ */ L(
|
|
114301
114301
|
h11,
|
|
114302
114302
|
{
|
|
@@ -114341,7 +114341,7 @@ const $11 = [
|
|
|
114341
114341
|
},
|
|
114342
114342
|
{
|
|
114343
114343
|
type: "patientDocuments",
|
|
114344
|
-
component: l0(() => import("./DocumentsTable
|
|
114344
|
+
component: l0(() => import("./DocumentsTable-CsFH6zeR.js"))
|
|
114345
114345
|
},
|
|
114346
114346
|
{
|
|
114347
114347
|
type: "flowSheet",
|
|
@@ -114349,7 +114349,7 @@ const $11 = [
|
|
|
114349
114349
|
},
|
|
114350
114350
|
{
|
|
114351
114351
|
type: "forms",
|
|
114352
|
-
component: l0(() => import("./FormsTable-
|
|
114352
|
+
component: l0(() => import("./FormsTable-CkM_k_qd.js"))
|
|
114353
114353
|
},
|
|
114354
114354
|
{
|
|
114355
114355
|
type: "labOrders",
|
|
@@ -114357,7 +114357,7 @@ const $11 = [
|
|
|
114357
114357
|
},
|
|
114358
114358
|
{
|
|
114359
114359
|
type: "observations",
|
|
114360
|
-
component: l0(() => import("./Observations-
|
|
114360
|
+
component: l0(() => import("./Observations-IAdh-A64.js"))
|
|
114361
114361
|
},
|
|
114362
114362
|
{
|
|
114363
114363
|
type: "ordersControl",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as o, ac as r, K as n, ab as g, L as c, k as l, a4 as d, ak as P, M as m, G as v, Q as u, H as T, I as A, aa as C, $ as b, a2 as p, W as I, av as S, ax as W, ay as R, R as f, a6 as L, a7 as D, O as U, P as h, a1 as y, a3 as N, T as x, S as E, X as G, a0 as O, at as H, as as _, a9 as k, Z as M, aj as V, ag as q, af as w, i as F, aq as j, ap as z, ai as B, am as J, an as K, ao as Q, ah as X, al as Z, J as $, ar as Y, ad as aa, a5 as ea, a8 as sa, c as ta, aw as ia, a as oa, u as ra, au as na, d as ga } from "./index-
|
|
1
|
+
import { ae as o, ac as r, K as n, ab as g, L as c, k as l, a4 as d, ak as P, M as m, G as v, Q as u, H as T, I as A, aa as C, $ as b, a2 as p, W as I, av as S, ax as W, ay as R, R as f, a6 as L, a7 as D, O as U, P as h, a1 as y, a3 as N, T as x, S as E, X as G, a0 as O, at as H, as as _, a9 as k, Z as M, aj as V, ag as q, af as w, i as F, aq as j, ap as z, ai as B, am as J, an as K, ao as Q, ah as X, al as Z, J as $, ar as Y, ad as aa, a5 as ea, a8 as sa, c as ta, aw as ia, a as oa, u as ra, au as na, d as ga } from "./index-DTRX38J7.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "@tanstack/react-query";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CriterionConfig, CriterionRow as CriterionRowState, CriterionValue } from '
|
|
1
|
+
import { CriterionConfig, CriterionRow as CriterionRowState, CriterionValue } from '../models';
|
|
2
2
|
interface Props {
|
|
3
3
|
row: CriterionRowState;
|
|
4
4
|
availableCriteria: CriterionConfig[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CriterionRow.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/CriterionRow.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,YAAY,IAAI,iBAAiB,EACjC,cAAc,EACf,MAAM,WAAW,CAAC;AAGnB,UAAU,KAAK;IACb,GAAG,EAAE,iBAAiB,CAAC;IACvB,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,iBAAiB,EAAE,eAAe,GAAG,IAAI,CAAC;IAC1C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACrE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,QAAA,MAAM,YAAY,GAAI,4FAOnB,KAAK,4CA2DP,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/DateCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGrE,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,kBAAkB,GAAI,+DAMzB,KAAK,4CAsGP,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LookupCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/LookupCriterionInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,IAAI,iBAAiB,EAEhC,WAAW,EACZ,MAAM,WAAW,CAAC;AAInB,UAAU,KAAK;IACb,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,oBAAoB,GAAI,8CAK3B,KAAK,4CA4DP,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumericCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/NumericCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG3E,UAAU,KAAK;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAOD,QAAA,MAAM,qBAAqB,GAAI,+DAM5B,KAAK,4CA0FP,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionsCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/OptionsCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,YAAY,IAAI,kBAAkB,EAClC,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,UAAU,KAAK;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,qBAAqB,GAAI,8CAK5B,KAAK,4CA6BP,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResultsTable.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/ResultsTable.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI5D,UAAU,iBAAiB;IACzB,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;CAC1B;AAwDD,QAAA,MAAM,YAAY,GAAI,qCAInB,iBAAiB,4CAiHnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/SearchForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAkB,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAY9E,UAAU,eAAe;IACvB,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,CACR,IAAI,EAAE,YAAY,EAAE,EACpB,OAAO,EAAE,mBAAmB,KACzB,YAAY,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;CAClD;AAED,QAAA,MAAM,UAAU,GAAI,6DAMjB,eAAe,4CAmKjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchSummary.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/SearchSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAInB,MAAM,WAAW,CAAC;AAGnB,UAAU,kBAAkB;IAC1B,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAuCD,QAAA,MAAM,aAAa,GAAI,wBAAwB,kBAAkB,4CA8ChE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/TextCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,WAAW,CAAC;AAEtE,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,kBAAkB,GAAI,8CAKzB,KAAK,4CAmBP,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EAGZ,MAAM,WAAW,CAAC;AAOnB,UAAU,mBAAmB;IAC3B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,cAAc,GAAI,+DAMrB,mBAAmB,4CAkDrB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchPatient.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/SearchPatient.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchPatient.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/SearchPatient.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAY9C,QAAA,MAAM,aAAa,GAAI,qBAAqB,iBAAiB,4CAsR5D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppointmentSearchResult, SearchActionConfig, UserPrivilege, PatientSearchResultBundle, Notification } from '@bahmni/services';
|
|
2
2
|
import { NavigateFunction } from 'react-router-dom';
|
|
3
|
-
import { PatientSearchViewModel } from '
|
|
3
|
+
import { PatientSearchViewModel } from '../utils';
|
|
4
4
|
export declare const getAppointmentStatusClassName: (status: string) => string;
|
|
5
5
|
export declare const updateAppointmentStatusInResults: (appointmentPatientData: AppointmentSearchResult[], responseUuid: string, responseStatus: string) => AppointmentSearchResult[];
|
|
6
6
|
export declare const handleActionNavigation: (navigationUrl: string, options: Record<string, string>, navigate: NavigateFunction) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointmentSearchResultActionHandler.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/actions/appointmentSearchResultActionHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAGlB,aAAa,EAEb,yBAAyB,EAEzB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM,KAAG,MAkB9D,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,wBAAwB,uBAAuB,EAAE,EACjD,cAAc,MAAM,EACpB,gBAAgB,MAAM,KACrB,uBAAuB,EAOzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,eAAe,MAAM,EACrB,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,UAAU,gBAAgB,SAU3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,QAAQ,kBAAkB,EAC1B,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,EACpD,mBAAmB,yBAAyB,EAC5C,sBAAsB,CAAC,IAAI,EAAE,yBAAyB,KAAK,IAAI,EAC/D,UAAU,gBAAgB,EAC1B,iBAAiB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,EACjE,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,kBAiE3B,CAAC;AAQF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,kBAAkB,EAC1B,gBAAgB,aAAa,EAAE,EAC/B,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,KACnD,OAcF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,MAAM,EAAE,GAAG,SAAS,EAC5B,eAAe,MAAM,EAAE,GAAG,SAAS,EACnC,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,KACnD,OASF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC5B,gBAAgB,aAAa,EAAE,MAAM,OAAO,MAAM,EAAE,YAEpD,CAAC;AAEJ,eAAO,MAAM,eAAe,GAC1B,OAAO,MAAM,EAAE,EACf,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,YAIrD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EAAE,EACf,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,YAkBrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PatientSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/components/PatientSearchResults.tsx"],"names":[],"mappings":"AASA,OAAO,EAEL,kBAAkB,EAElB,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAsB1B,UAAU,yBAAyB;IACjC,IAAI,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACpD;AAED,QAAA,MAAM,oBAAoB,GAAI,yHAU3B,yBAAyB,4CA8M3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchPatientInput.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/components/SearchPatientInput.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,QAAA,MAAM,kBAAkB,GAAI,uPAgBzB,uBAAuB,4CAmGzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PatientSearchResultBundle } from '@bahmni/services';
|
|
2
|
-
import { SearchStrategy, SearchContext, ValidationResult } from '
|
|
2
|
+
import { SearchStrategy, SearchContext, ValidationResult } from './SearchStrategy.interface';
|
|
3
3
|
/**
|
|
4
4
|
* Strategy for searching patients by appointment attributes
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppointmentSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/AppointmentSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,yBAAyB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"AppointmentSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/AppointmentSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,yBAAyB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAC9D,QAAQ,CAAC,IAAI,EAAG,aAAa,CAAU;IAEvC;;OAEG;IACG,OAAO,CACX,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC;IAUrC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAOzC;;OAEG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAoB1B;;OAEG;IACH,OAAO,CAAC,oCAAoC;IAY5C;;OAEG;IACH,OAAO,CAAC,kCAAkC,CAgCvC;IAEH;;OAEG;IACH,OAAO,CAAC,qBAAqB;CAS9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PatientSearchResultBundle } from '@bahmni/services';
|
|
2
|
-
import { SearchStrategy, SearchContext, ValidationResult } from '
|
|
2
|
+
import { SearchStrategy, SearchContext, ValidationResult } from './SearchStrategy.interface';
|
|
3
3
|
/**
|
|
4
4
|
* Strategy for searching patients by custom attributes (e.g., phone number)
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/AttributeSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"AttributeSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/AttributeSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,qBAAa,uBAAwB,YAAW,cAAc;IAC5D,QAAQ,CAAC,IAAI,EAAG,YAAY,CAAU;IAEtC;;OAEG;IACG,OAAO,CACX,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC;IAgBrC;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,gBAAgB;IAajE;;;OAGG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM;IAS1D;;OAEG;IACH,gBAAgB,CACd,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,aAAa,GACrB,yBAAyB;IAqB5B;;OAEG;IACH,OAAO,CAAC,aAAa;IAQrB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAgB3B;;OAEG;IACH,OAAO,CAAC,iBAAiB;CAK1B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PatientSearchResultBundle } from '@bahmni/services';
|
|
2
|
-
import { SearchStrategy, SearchContext, ValidationResult } from '
|
|
2
|
+
import { SearchStrategy, SearchContext, ValidationResult } from './SearchStrategy.interface';
|
|
3
3
|
/**
|
|
4
4
|
* Strategy for searching patients by name or patient ID
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NameOrIdSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/NameOrIdSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"NameOrIdSearchStrategy.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/NameOrIdSearchStrategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,qBAAa,sBAAuB,YAAW,cAAc;IAC3D,QAAQ,CAAC,IAAI,EAAG,UAAU,CAAU;IAEpC;;OAEG;IACG,OAAO,CACX,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC;IAQrC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAOzC;;OAEG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC;;OAEG;IACH,OAAO,CAAC,SAAS;IAUjB;;OAEG;IACH,gBAAgB,CACd,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,aAAa,GACrB,yBAAyB;CA4B7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchStrategy.interface.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/SearchStrategy.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,YAAY,GAAG,aAAa,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,YAAY,EAAE,kBAAkB,EAAE,CAAC;IAEnC,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IAEjC;;;;;OAKG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAEtC;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,gBAAgB,CAAC;IAEnE;;;;;OAKG;IACH,WAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,CAAC;IAE5D;;;;;OAKG;IACH,gBAAgB,CAAC,CACf,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,aAAa,GACrB,yBAAyB,CAAC;CAC9B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchStrategy, PatientSearchType } from '
|
|
1
|
+
import { SearchStrategy, PatientSearchType } from './SearchStrategy.interface';
|
|
2
2
|
/**
|
|
3
3
|
* Registry for managing patient search strategies.
|
|
4
4
|
* Implements the Strategy Pattern to allow dynamic selection of search algorithms.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchStrategyRegistry.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/SearchStrategyRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchStrategyRegistry.d.ts","sourceRoot":"","sources":["../../../../src/search/searchPatient/strategies/SearchStrategyRegistry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;;GAGG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,UAAU,CAAgD;IAElE;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAIxC;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,iBAAiB,GAAG,cAAc;IAQpD;;;;OAIG;IACH,WAAW,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO;IAI7C;;;OAGG;IACH,kBAAkB,IAAI,iBAAiB,EAAE;CAG1C;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,wBAA+B,CAAC;AAQnE,eAAe,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CriterionRow.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/CriterionRow.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,YAAY,IAAI,iBAAiB,EACjC,cAAc,EACf,MAAM,UAAU,CAAC;AAGlB,UAAU,KAAK;IACb,GAAG,EAAE,iBAAiB,CAAC;IACvB,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,iBAAiB,EAAE,eAAe,GAAG,IAAI,CAAC;IAC1C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACrE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,QAAA,MAAM,YAAY,GAAI,4FAOnB,KAAK,4CA2DP,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultsTable.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/ResultsTable.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI3D,UAAU,iBAAiB;IACzB,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;CAC1B;AAwDD,QAAA,MAAM,YAAY,GAAI,qCAInB,iBAAiB,4CAiHnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/SearchForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAkB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAW7E,UAAU,eAAe;IACvB,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,CACR,IAAI,EAAE,YAAY,EAAE,EACpB,OAAO,EAAE,mBAAmB,KACzB,YAAY,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;CAClD;AAED,QAAA,MAAM,UAAU,GAAI,6DAMjB,eAAe,4CAmKjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchSummary.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/SearchSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAInB,MAAM,UAAU,CAAC;AAGlB,UAAU,kBAAkB;IAC1B,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAuCD,QAAA,MAAM,aAAa,GAAI,wBAAwB,kBAAkB,4CA8ChE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/DateCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGrE,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,kBAAkB,GAAI,+DAMzB,KAAK,4CAsGP,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LookupCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/LookupCriterionInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,IAAI,iBAAiB,EAEhC,WAAW,EACZ,MAAM,WAAW,CAAC;AAInB,UAAU,KAAK;IACb,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,oBAAoB,GAAI,8CAK3B,KAAK,4CA4DP,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumericCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/NumericCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG3E,UAAU,KAAK;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAOD,QAAA,MAAM,qBAAqB,GAAI,+DAM5B,KAAK,4CA0FP,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OptionsCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/OptionsCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,YAAY,IAAI,kBAAkB,EAClC,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,UAAU,KAAK;IACb,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,qBAAqB,GAAI,8CAK5B,KAAK,4CA6BP,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextCriterionInput.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/TextCriterionInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,WAAW,CAAC;AAEtE,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,kBAAkB,GAAI,8CAKzB,KAAK,4CAmBP,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/search/commonSearch/inputs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EAGZ,MAAM,WAAW,CAAC;AAOnB,UAAU,mBAAmB;IAC3B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,cAAc,GAAI,+DAMrB,mBAAmB,4CAkDrB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PatientSearchResults.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/PatientSearchResults.tsx"],"names":[],"mappings":"AASA,OAAO,EAEL,kBAAkB,EAElB,yBAAyB,EAG1B,MAAM,kBAAkB,CAAC;AAsB1B,UAAU,yBAAyB;IACjC,IAAI,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACpD;AAED,QAAA,MAAM,oBAAoB,GAAI,yHAU3B,yBAAyB,4CA8M3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchPatientInput.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/SearchPatientInput.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,QAAA,MAAM,kBAAkB,GAAI,uPAgBzB,uBAAuB,4CAmGzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchStrategy.interface.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/SearchStrategy.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,YAAY,GAAG,aAAa,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,YAAY,EAAE,kBAAkB,EAAE,CAAC;IAEnC,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IAEjC;;;;;OAKG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAEtC;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,gBAAgB,CAAC;IAEnE;;;;;OAKG;IACH,WAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,CAAC;IAE5D;;;;;OAKG;IACH,gBAAgB,CAAC,CACf,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,aAAa,GACrB,yBAAyB,CAAC;CAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointmentSearchResultActionHandler.d.ts","sourceRoot":"","sources":["../../../src/search/searchPatient/appointmentSearchResultActionHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAGlB,aAAa,EAEb,yBAAyB,EAEzB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM,KAAG,MAkB9D,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,wBAAwB,uBAAuB,EAAE,EACjD,cAAc,MAAM,EACpB,gBAAgB,MAAM,KACrB,uBAAuB,EAOzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,eAAe,MAAM,EACrB,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,UAAU,gBAAgB,SAU3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,QAAQ,kBAAkB,EAC1B,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,EACpD,mBAAmB,yBAAyB,EAC5C,sBAAsB,CAAC,IAAI,EAAE,yBAAyB,KAAK,IAAI,EAC/D,UAAU,gBAAgB,EAC1B,iBAAiB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,EACjE,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,kBAiE3B,CAAC;AAQF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,kBAAkB,EAC1B,gBAAgB,aAAa,EAAE,EAC/B,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,KACnD,OAcF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,MAAM,EAAE,GAAG,SAAS,EAC5B,eAAe,MAAM,EAAE,GAAG,SAAS,EACnC,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,KACnD,OASF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC5B,gBAAgB,aAAa,EAAE,MAAM,OAAO,MAAM,EAAE,YAEpD,CAAC;AAEJ,eAAO,MAAM,eAAe,GAC1B,OAAO,MAAM,EAAE,EACf,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,YAIrD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EAAE,EACf,KAAK,sBAAsB,CAAC,uBAAuB,CAAC,YAkBrD,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/search/searchPatient/{SearchPatientInput.d.ts → components/SearchPatientInput.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|