@bahmni/clinical-app 0.0.1-dev.398 → 0.0.1-dev.399
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-Dzvkm4mR.js → ConsultationPage-D_F7nHO_.js} +9166 -9172
- package/dist/{DocumentsTable-CyCmTrjB-DY8J4Lae.js → DocumentsTable-CyCmTrjB-C3eu5ycF.js} +1 -1
- package/dist/{FormsTable-CMtT3i5o-BDw5pw6q.js → FormsTable-CMtT3i5o-DCYSC-wH.js} +1 -1
- package/dist/{LNWAZHJI-BFap1j6S.js → LNWAZHJI-CJictyBO.js} +2 -2
- package/dist/{MWZ6AO7Z-CifPGyH-.js → MWZ6AO7Z-D9C9icDR.js} +2 -2
- package/dist/{Observations-Cco2HyR_-EXZuSbFR.js → Observations-Cco2HyR_-Cl6PvmxO.js} +1 -1
- package/dist/{YPM2AS64-BIEW8lXA.js → YPM2AS64-CcgsjSlU.js} +1 -1
- package/dist/components/forms/stopMedications/StopMedicationForm.d.ts.map +1 -1
- package/dist/{hook-A1_aCTdq.js → hook-B3kmrD8y.js} +1 -1
- package/dist/{index-KKjsUkCr.js → index-50RT9SKg.js} +7976 -7974
- package/dist/{index-Dwt8W_hk.js → index-DCv9OeXi.js} +6 -6
- package/dist/{index-D0FIR-wI.js → index-KTpoARB4.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/services/stopMedicationService.d.ts +1 -10
- package/dist/services/stopMedicationService.d.ts.map +1 -1
- package/dist/stores/stopMedicationsStore.d.ts +3 -1
- package/dist/stores/stopMedicationsStore.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, e as u,
|
|
2
|
+
import { u as g, e as u, bJ as b, bT as f, bU as p, bV as x, aH as _, bP as N } from "./index-50RT9SKg.js";
|
|
3
3
|
import { lazy as h, useMemo as t, Suspense as C } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as E } from "./hook-
|
|
5
|
+
import { u as E } from "./hook-B3kmrD8y.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-KTpoARB4.js")
|
|
9
9
|
)
|
|
10
|
-
}, v = "index-module_page__16xxw",
|
|
10
|
+
}, v = "index-module_page__16xxw", P = "index-module_loading__wNI-4", H = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: v,
|
|
12
|
-
loading:
|
|
13
|
-
message:
|
|
12
|
+
loading: P,
|
|
13
|
+
message: H
|
|
14
14
|
}, T = () => {
|
|
15
15
|
const { t: a } = g(), { clinicalConfig: o } = E(), { userPrivileges: r } = u(), m = t(
|
|
16
16
|
() => [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r,
|
|
2
|
+
import { u as r, cK as l, cL as o, cM as c, b9 as m, ba as g, cN as h, cO as p, cP as b, aH as u } from "./index-50RT9SKg.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const y = "index-module_loading__eyE2k", E = "index-module_message__95HmH", $ = "index-module_panel__8VJh2", s = {
|
|
6
6
|
loading: y,
|
|
7
7
|
message: E,
|
|
8
8
|
panel: $
|
|
9
|
-
},
|
|
9
|
+
}, T = ({ extensions: i }) => {
|
|
10
10
|
const { t: n } = r();
|
|
11
11
|
return i.length === 0 ? null : /* @__PURE__ */ d(l, { children: [
|
|
12
12
|
/* @__PURE__ */ e(
|
|
@@ -77,5 +77,5 @@ const y = "index-module_loading__eyE2k", E = "index-module_message__95HmH", $ =
|
|
|
77
77
|
] });
|
|
78
78
|
};
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
T as default
|
|
81
81
|
};
|
package/dist/index.js
CHANGED
|
@@ -6,14 +6,5 @@ export interface StopReason {
|
|
|
6
6
|
display: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function fetchStopReasons(conceptSetUuid: string): Promise<StopReason[]>;
|
|
9
|
-
|
|
10
|
-
medicationRequestId: string;
|
|
11
|
-
patientUuid: string;
|
|
12
|
-
reason: StopReason;
|
|
13
|
-
effectiveDate: Date;
|
|
14
|
-
note?: string;
|
|
15
|
-
ctx: EncounterContext;
|
|
16
|
-
}
|
|
17
|
-
export declare function createStopMedicationEntry({ medicationRequestId, patientUuid, reason, effectiveDate, note, ctx, }: StopMedicationEntryParams): BundleEntry;
|
|
18
|
-
export {};
|
|
9
|
+
export declare function createStopMedicationEntry(ctx: EncounterContext): BundleEntry[];
|
|
19
10
|
//# sourceMappingURL=stopMedicationService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stopMedicationService.d.ts","sourceRoot":"","sources":["../../src/services/stopMedicationService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stopMedicationService.d.ts","sourceRoot":"","sources":["../../src/services/stopMedicationService.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAuC,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,eAAO,MAAM,wCAAwC,6DACO,CAAC;AAE7D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAKD,wBAAsB,gBAAgB,CACpC,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,UAAU,EAAE,CAAC,CA2BvB;AAED,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,gBAAgB,GACpB,WAAW,EAAE,CAsEf"}
|
|
@@ -8,12 +8,14 @@ export interface StopMedicationState {
|
|
|
8
8
|
medicationToStop: MedicationRequest | null;
|
|
9
9
|
fieldConfig: StopMedicationConfig;
|
|
10
10
|
errors: Record<string, string>;
|
|
11
|
+
inputControlKey: string;
|
|
11
12
|
setStopDate: (date: Date) => void;
|
|
12
13
|
setStopReason: (reason: StopReason | null) => void;
|
|
13
14
|
setNote: (note: string) => void;
|
|
14
15
|
setMedicationToStop: (medication: MedicationRequest | null) => void;
|
|
15
16
|
setFieldConfig: (config: StopMedicationConfig) => void;
|
|
16
|
-
|
|
17
|
+
setInputControlKey: (key: string) => void;
|
|
18
|
+
validate: () => boolean;
|
|
17
19
|
hasData: () => boolean;
|
|
18
20
|
reset: () => void;
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stopMedicationsStore.d.ts","sourceRoot":"","sources":["../../src/stores/stopMedicationsStore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stopMedicationsStore.d.ts","sourceRoot":"","sources":["../../src/stores/stopMedicationsStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,IAAI,CAAC;IACf,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACvD,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAQD,eAAO,MAAM,sBAAsB,kFAmHlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|