@bahmni/widgets 0.0.1-dev.110 → 0.0.1-dev.111
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/{FormsTable-CR2jqbXz.js → FormsTable-nBWoaiqW.js} +28 -28
- package/dist/{Observations-D-slruOf.js → Observations-DEXfusTw.js} +19 -19
- package/dist/allergies/AllergiesTable.d.ts +0 -1
- package/dist/allergies/AllergiesTable.d.ts.map +1 -1
- package/dist/conditions/ConditionsTable.d.ts +0 -1
- package/dist/conditions/ConditionsTable.d.ts.map +1 -1
- package/dist/conditions/index.d.ts +1 -1
- package/dist/conditions/index.d.ts.map +1 -1
- package/dist/diagnoses/DiagnosesTable.d.ts.map +1 -1
- package/dist/{index-DnRlH7sS.js → index-C1xlT_ZV.js} +12574 -12560
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -15
- package/dist/medications/MedicationsTable.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/diagnoses/useDiagnoses.d.ts +0 -14
- package/dist/diagnoses/useDiagnoses.d.ts.map +0 -1
- package/dist/medications/useMedicationRequest.d.ts +0 -14
- package/dist/medications/useMedicationRequest.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { PatientDetails } from './patientDetails';
|
|
2
2
|
export { AllergiesTable } from './allergies';
|
|
3
|
-
export { ConditionsTable
|
|
3
|
+
export { ConditionsTable } from './conditions';
|
|
4
4
|
export { DiagnosesTable } from './diagnoses';
|
|
5
5
|
export { MedicationsTable } from './medications';
|
|
6
6
|
export { RadiologyInvestigationTable } from './radiologyInvestigation';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAA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@@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as s, k as t, l as o, G as r, n as g, M as n, N as l, r as d, P, p as c, m as v, S as b, x as T, V as f, O as W, H as u, B as m, E as p, F as S, y, Q as A, v as C, f as N, u as U, w as h } from "./index-C1xlT_ZV.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as AllergiesTable,
|
|
5
5
|
t as ConditionsTable,
|
|
6
6
|
o as DiagnosesTable,
|
|
7
7
|
r as GenericServiceRequestTable,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
g as LabInvestigation,
|
|
9
|
+
n as MedicationsTable,
|
|
10
10
|
l as NotificationProvider,
|
|
11
11
|
d as NotificationServiceComponent,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
P as PatientDetails,
|
|
13
|
+
c as PatientProgramsTable,
|
|
14
14
|
v as RadiologyInvestigationTable,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
y as getAllWidgetTypes,
|
|
15
|
+
b as SearchPatient,
|
|
16
|
+
T as UserPrivilegeProvider,
|
|
17
|
+
f as VitalFlowSheet,
|
|
18
|
+
W as getAllWidgetConfigs,
|
|
19
|
+
u as getAllWidgetTypes,
|
|
21
20
|
m as getWidget,
|
|
22
21
|
p as getWidgetConfig,
|
|
23
22
|
S as hasWidget,
|
|
24
|
-
|
|
23
|
+
y as registerWidget,
|
|
25
24
|
A as resetWidgetRegistry,
|
|
26
25
|
C as useActivePractitioner,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
N as useNotification,
|
|
27
|
+
U as usePatientUUID,
|
|
28
|
+
h as useUserPrivilege
|
|
30
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MedicationsTable.d.ts","sourceRoot":"","sources":["../../src/medications/MedicationsTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MedicationsTable.d.ts","sourceRoot":"","sources":["../../src/medications/MedicationsTable.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAkDhD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+S3C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Diagnosis } from '@bahmni/services';
|
|
2
|
-
interface UseDiagnosesResult {
|
|
3
|
-
diagnoses: Diagnosis[];
|
|
4
|
-
loading: boolean;
|
|
5
|
-
error: Error | null;
|
|
6
|
-
refetch: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Custom hook to fetch and manage diagnoses for the current patient
|
|
10
|
-
* @returns Object containing diagnoses, loading state, error state, and refetch function
|
|
11
|
-
*/
|
|
12
|
-
export declare const useDiagnoses: () => UseDiagnosesResult;
|
|
13
|
-
export default useDiagnoses;
|
|
14
|
-
//# sourceMappingURL=useDiagnoses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDiagnoses.d.ts","sourceRoot":"","sources":["../../src/diagnoses/useDiagnoses.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,kBAAkB,CAAC;AAI1B,UAAU,kBAAkB;IAC1B,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,kBAoC/B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MedicationRequest } from '@bahmni/services';
|
|
2
|
-
interface MedicationRequestResult {
|
|
3
|
-
medications: MedicationRequest[];
|
|
4
|
-
loading: boolean;
|
|
5
|
-
error: Error | null;
|
|
6
|
-
refetch: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Custom hook to fetch and manage medications for the current patient
|
|
10
|
-
* @returns Object containing medications, loading state, error state, and refetch function
|
|
11
|
-
*/
|
|
12
|
-
export declare const useMedicationRequest: (code?: string[], encounterUuids?: string[]) => MedicationRequestResult;
|
|
13
|
-
export default useMedicationRequest;
|
|
14
|
-
//# sourceMappingURL=useMedicationRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useMedicationRequest.d.ts","sourceRoot":"","sources":["../../src/medications/useMedicationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAGlB,MAAM,kBAAkB,CAAC;AAI1B,UAAU,uBAAuB;IAC/B,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EAAE,EACf,iBAAiB,MAAM,EAAE,KACxB,uBAwCF,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|