@kenyaemr/esm-express-workflow-app 5.4.3 → 5.4.4-pre.100
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/.turbo/turbo-build.log +7 -12
- package/dist/1074.js +1 -0
- package/dist/1074.js.map +1 -0
- package/dist/12.js +17 -0
- package/dist/12.js.map +1 -0
- package/dist/1311.js +1 -0
- package/dist/1311.js.map +1 -0
- package/dist/1323.js +1 -0
- package/dist/1323.js.map +1 -0
- package/dist/1469.js +1 -0
- package/dist/1469.js.map +1 -0
- package/dist/1506.js +13 -0
- package/dist/1506.js.map +1 -0
- package/dist/1562.js +1 -0
- package/dist/1562.js.map +1 -0
- package/dist/1760.js +1 -0
- package/dist/1760.js.map +1 -0
- package/dist/1780.js +1 -0
- package/dist/1780.js.map +1 -0
- package/dist/1804.js +1 -0
- package/dist/1804.js.map +1 -0
- package/dist/1884.js +1 -0
- package/dist/1884.js.map +1 -0
- package/dist/1972.js +1 -0
- package/dist/1972.js.map +1 -0
- package/dist/1990.js +1 -0
- package/dist/1990.js.map +1 -0
- package/dist/2016.js +1 -0
- package/dist/2016.js.map +1 -0
- package/dist/2024.js +1 -0
- package/dist/2024.js.map +1 -0
- package/dist/2153.js +1 -0
- package/dist/2153.js.map +1 -0
- package/dist/216.js +1 -0
- package/dist/216.js.map +1 -0
- package/dist/2225.js +1 -0
- package/dist/2225.js.map +1 -0
- package/dist/2294.js +1 -0
- package/dist/2294.js.map +1 -0
- package/dist/2345.js +1 -0
- package/dist/2345.js.map +1 -0
- package/dist/2499.js +1 -0
- package/dist/2499.js.map +1 -0
- package/dist/2500.js +1 -0
- package/dist/2500.js.map +1 -0
- package/dist/2586.js +1 -0
- package/dist/2586.js.map +1 -0
- package/dist/2625.js +1 -0
- package/dist/2625.js.map +1 -0
- package/dist/2685.js +1 -0
- package/dist/2685.js.map +1 -0
- package/dist/2809.js +1 -0
- package/dist/2809.js.map +1 -0
- package/dist/2851.js +1 -0
- package/dist/2851.js.map +1 -0
- package/dist/2881.js +1 -0
- package/dist/2881.js.map +1 -0
- package/dist/2948.js +1 -0
- package/dist/2948.js.map +1 -0
- package/dist/2968.js +1 -0
- package/dist/2968.js.map +1 -0
- package/dist/2978.js +1 -0
- package/dist/2978.js.map +1 -0
- package/dist/2998.js +1 -0
- package/dist/2998.js.map +1 -0
- package/dist/3089.js +1 -0
- package/dist/3089.js.map +1 -0
- package/dist/3548.js +1 -0
- package/dist/3548.js.map +1 -0
- package/dist/3567.js +1 -0
- package/dist/3567.js.map +1 -0
- package/dist/3569.js +1 -0
- package/dist/3569.js.map +1 -0
- package/dist/3571.js +1 -0
- package/dist/3571.js.map +1 -0
- package/dist/3691.js +1 -0
- package/dist/3691.js.map +1 -0
- package/dist/3730.js +1 -0
- package/dist/3730.js.map +1 -0
- package/dist/3923.js +1 -0
- package/dist/3923.js.map +1 -0
- package/dist/3963.js +1 -0
- package/dist/3963.js.map +1 -0
- package/dist/4024.js +1 -0
- package/dist/4024.js.map +1 -0
- package/dist/405.js +1 -0
- package/dist/405.js.map +1 -0
- package/dist/4071.js +1 -0
- package/dist/4071.js.map +1 -0
- package/dist/4271.js +1 -0
- package/dist/4271.js.map +1 -0
- package/dist/4296.js +1 -0
- package/dist/4296.js.map +1 -0
- package/dist/4337.js +1 -0
- package/dist/4337.js.map +1 -0
- package/dist/4432.js +1 -0
- package/dist/4432.js.map +1 -0
- package/dist/4581.js +1 -0
- package/dist/4581.js.map +1 -0
- package/dist/4637.js +11 -0
- package/dist/4637.js.map +1 -0
- package/dist/4666.js +1 -0
- package/dist/4666.js.map +1 -0
- package/dist/4680.js +1 -0
- package/dist/4680.js.map +1 -0
- package/dist/4735.js +1 -0
- package/dist/4735.js.map +1 -0
- package/dist/4737.js +1 -0
- package/dist/4737.js.map +1 -0
- package/dist/4744.js +1 -0
- package/dist/4744.js.map +1 -0
- package/dist/4795.js +1 -0
- package/dist/4795.js.map +1 -0
- package/dist/4813.js +2 -0
- package/dist/4813.js.map +1 -0
- package/dist/4818.js +1 -0
- package/dist/4818.js.map +1 -0
- package/dist/4858.js +1 -0
- package/dist/4858.js.map +1 -0
- package/dist/487.js +1 -0
- package/dist/487.js.map +1 -0
- package/dist/4970.js +1 -0
- package/dist/4970.js.map +1 -0
- package/dist/5038.js +1 -0
- package/dist/5038.js.map +1 -0
- package/dist/5202.js +1 -0
- package/dist/5202.js.map +1 -0
- package/dist/5491.js +1 -0
- package/dist/5491.js.map +1 -0
- package/dist/5592.js +1 -0
- package/dist/5592.js.map +1 -0
- package/dist/5669.js +1 -0
- package/dist/5669.js.map +1 -0
- package/dist/586.js +1 -0
- package/dist/586.js.map +1 -0
- package/dist/5932.js +1 -0
- package/dist/5932.js.map +1 -0
- package/dist/5995.js +1 -0
- package/dist/5995.js.map +1 -0
- package/dist/6258.js +1 -0
- package/dist/6258.js.map +1 -0
- package/dist/629.js +1 -0
- package/dist/629.js.map +1 -0
- package/dist/6328.js +1 -0
- package/dist/6328.js.map +1 -0
- package/dist/6355.js +1 -0
- package/dist/6355.js.map +1 -0
- package/dist/6419.js +1 -0
- package/dist/6419.js.map +1 -0
- package/dist/644.js +1 -0
- package/dist/644.js.map +1 -0
- package/dist/6456.js +1 -0
- package/dist/6466.js +3 -0
- package/dist/6466.js.map +1 -0
- package/dist/655.js +1 -0
- package/dist/655.js.map +1 -0
- package/dist/6798.js +66 -0
- package/dist/6798.js.map +1 -0
- package/dist/6910.js +1 -0
- package/dist/6910.js.map +1 -0
- package/dist/6925.js +1 -0
- package/dist/6925.js.map +1 -0
- package/dist/70.js +1 -0
- package/dist/70.js.map +1 -0
- package/dist/7201.js +1 -0
- package/dist/7201.js.map +1 -0
- package/dist/7234.js +1 -0
- package/dist/7234.js.map +1 -0
- package/dist/7261.js +1 -0
- package/dist/7261.js.map +1 -0
- package/dist/7326.js +1 -0
- package/dist/7359.js +1 -0
- package/dist/7487.js +1 -0
- package/dist/7487.js.map +1 -0
- package/dist/7591.js +1 -0
- package/dist/7591.js.map +1 -0
- package/dist/7607.js +1 -0
- package/dist/7701.js +1 -0
- package/dist/7701.js.map +1 -0
- package/dist/7717.js +1 -0
- package/dist/7717.js.map +1 -0
- package/dist/7739.js +1 -0
- package/dist/7739.js.map +1 -0
- package/dist/7788.js +1 -0
- package/dist/7788.js.map +1 -0
- package/dist/7819.js +1 -0
- package/dist/7819.js.map +1 -0
- package/dist/7971.js +1 -0
- package/dist/7971.js.map +1 -0
- package/dist/7983.js +1 -0
- package/dist/7983.js.map +1 -0
- package/dist/807.js +1 -0
- package/dist/807.js.map +1 -0
- package/dist/8159.js +7 -0
- package/dist/8159.js.map +1 -0
- package/dist/8338.js +1 -0
- package/dist/8338.js.map +1 -0
- package/dist/845.js +1 -0
- package/dist/845.js.map +1 -0
- package/dist/8570.js +1 -0
- package/dist/8570.js.map +1 -0
- package/dist/8661.js +1 -0
- package/dist/8661.js.map +1 -0
- package/dist/87.js +1 -0
- package/dist/87.js.map +1 -0
- package/dist/8727.js +1 -0
- package/dist/8766.js +1 -0
- package/dist/8766.js.map +1 -0
- package/dist/8828.js +1 -0
- package/dist/8828.js.map +1 -0
- package/dist/8860.js +1 -0
- package/dist/8860.js.map +1 -0
- package/dist/8911.js +1 -0
- package/dist/8911.js.map +1 -0
- package/dist/8930.js +1 -0
- package/dist/8930.js.map +1 -0
- package/dist/8971.js +1 -0
- package/dist/8971.js.map +1 -0
- package/dist/9124.js +1 -0
- package/dist/9124.js.map +1 -0
- package/dist/9157.js +1 -0
- package/dist/9157.js.map +1 -0
- package/dist/9182.js +1 -0
- package/dist/921.js +1 -0
- package/dist/921.js.map +1 -0
- package/dist/9212.js +1 -0
- package/dist/9212.js.map +1 -0
- package/dist/9255.js +1 -0
- package/dist/9255.js.map +1 -0
- package/dist/9257.js +1 -0
- package/dist/9257.js.map +1 -0
- package/dist/9316.js +1 -0
- package/dist/9316.js.map +1 -0
- package/dist/9333.js +1 -0
- package/dist/9333.js.map +1 -0
- package/dist/9404.js +1 -0
- package/dist/9404.js.map +1 -0
- package/dist/9446.js +1 -0
- package/dist/9446.js.map +1 -0
- package/dist/9447.js +1 -0
- package/dist/9447.js.map +1 -0
- package/dist/9449.js +1 -0
- package/dist/9449.js.map +1 -0
- package/dist/9535.js +1 -0
- package/dist/9535.js.map +1 -0
- package/dist/9606.js +1 -0
- package/dist/9606.js.map +1 -0
- package/dist/973.js +1 -0
- package/dist/973.js.map +1 -0
- package/dist/9845.js +1 -0
- package/dist/9845.js.map +1 -0
- package/dist/kenyaemr-esm-express-workflow-app.js +5 -5
- package/dist/kenyaemr-esm-express-workflow-app.js.buildmanifest.json +3004 -175
- package/dist/kenyaemr-esm-express-workflow-app.js.map +1 -1
- package/dist/main.js +5 -114
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +6 -7
- package/rspack.config.js +1 -1
- package/src/components/accounting/index.tsx +11 -10
- package/src/components/admissions/index.tsx +11 -10
- package/src/components/appointments/index.ts +10 -8
- package/src/components/consultation/clinical-encounter/encounter-details.component.tsx +9 -9
- package/src/components/consultation/clinical-encounter/encounter-details.test.tsx +19 -18
- package/src/components/consultation/consultation-context.tsx +19 -0
- package/src/components/consultation/consultation-summary-cards.component.tsx +124 -0
- package/src/components/consultation/consultation.component.tsx +41 -268
- package/src/components/consultation/consultation.resource.ts +67 -24
- package/src/components/consultation/consultation.scss +5 -0
- package/src/components/consultation/consultation.utils.tsx +222 -0
- package/src/components/consultation/dashboard.component.tsx +0 -2
- package/src/components/consultation/index.ts +27 -20
- package/src/components/facility-dashboard/index.tsx +10 -9
- package/src/components/laboratory/index.ts +11 -10
- package/src/components/laboratory/lab-table.component.tsx +22 -8
- package/src/components/laboratory/laboratory-tabs.component.tsx +2 -2
- package/src/components/mch/dashboard.component.tsx +0 -2
- package/src/components/mch/index.tsx +10 -9
- package/src/components/mch/mch.consultation.component.tsx +27 -15
- package/src/components/mch/mch.triage.component.tsx +42 -33
- package/src/components/pharmacy/index.ts +20 -18
- package/src/components/pharmacy/orders/pharmacy-orders.component.tsx +35 -13
- package/src/components/pharmacy/orders/pharmacy-orders.test.tsx +8 -7
- package/src/components/procedures/index.ts +11 -10
- package/src/components/procedures/procedures-table.component.tsx +44 -13
- package/src/components/procedures/procedures-tabs.component.tsx +2 -2
- package/src/components/radiology-and-imaging/index.ts +14 -10
- package/src/components/radiology-and-imaging/radiology-and-imaging-table.component.tsx +35 -15
- package/src/components/radiology-and-imaging/radiology-and-imaging.component.tsx +2 -2
- package/src/components/registration/card/HIE-card/hie-card.component.tsx +32 -44
- package/src/components/registration/card/Local-card/local-card.component.tsx +22 -24
- package/src/components/registration/dependants/dependants.component.tsx +32 -60
- package/src/components/registration/dependants/dependants.resource.ts +79 -50
- package/src/components/registration/helper/index.ts +4 -0
- package/src/components/registration/index.ts +10 -9
- package/src/components/registration/search-bar/search-bar.resource.ts +32 -93
- package/src/components/registration/start-visit-form/hooks/useDefaultFacilityLocation.tsx +15 -0
- package/src/components/registration/start-visit-form/hooks/useDefaultVisitLocation.tsx +24 -0
- package/src/components/registration/start-visit-form/hooks/useOfflineVisitType.tsx +18 -0
- package/src/components/registration/start-visit-form/hooks/useRecommendedVisitTypes.tsx +36 -0
- package/src/components/registration/start-visit-form/hooks/useVisitAttributeType.tsx +102 -0
- package/src/components/registration/start-visit-form/overflow-menu-extension/overflow-menu-item.extension.tsx +55 -0
- package/src/components/registration/start-visit-form/overflow-menu-extension/overflow-menu-item.scss +3 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/base-visit-type.component.tsx +126 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/base-visit-type.scss +75 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/exported-visit-form.workspace.tsx +743 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/location-selector.component.tsx +86 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/recommended-visit-type.component.tsx +32 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-attribute-type.component.tsx +257 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-attribute-type.scss +5 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-date-time.component.tsx +193 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-form.resource.ts +383 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-form.scss +166 -0
- package/src/components/registration/start-visit-form/visit-form-workspace/visit-form.workspace.tsx +55 -0
- package/src/components/reports/index.ts +10 -9
- package/src/components/triage/dashboard.component.tsx +0 -2
- package/src/components/triage/index.ts +10 -9
- package/src/components/triage/triage.component.tsx +92 -42
- package/src/components/triage/triage.resource.ts +56 -50
- package/src/components/triage/triage.scss +6 -0
- package/src/config-schema.ts +91 -0
- package/src/hooks/useServiceQueues.tsx +95 -25
- package/src/index.ts +32 -13
- package/src/routes.json +53 -254
- package/src/shared/orders/OrdersTabs.tsx +8 -3
- package/src/shared/patient-chart/patient-chart.resources.ts +8 -12
- package/src/shared/patient-chart/patient-summary-dashboard/patient-summary-dashboard.component.tsx +1 -2
- package/src/shared/pin-put/pinput.component.test.tsx +7 -6
- package/src/shared/queue/queue-entry/queue-entry-table.component.tsx +99 -88
- package/src/shared/queue/queue-entry/queue-entry-table.scss +4 -0
- package/src/shared/queue/queue-summary-cards.component.tsx +32 -0
- package/src/shared/queue/queue-tab.component.tsx +182 -70
- package/src/shared/queue/queue-tab.scss +1 -0
- package/src/shared/queue/queue-workflow-context.tsx +90 -0
- package/src/shared/tabs/extension-tabs.component.tsx +9 -6
- package/src/shared/utils/index.ts +1 -2
- package/src/types/index.ts +17 -2
- package/translations/am.json +64 -13
- package/translations/en.json +59 -8
- package/translations/sw.json +58 -7
- package/dist/127.js +0 -1
- package/dist/200.js +0 -1
- package/dist/200.js.map +0 -1
- package/dist/24.js +0 -1
- package/dist/24.js.map +0 -1
- package/dist/267.js +0 -1
- package/dist/267.js.map +0 -1
- package/dist/285.js +0 -1
- package/dist/285.js.map +0 -1
- package/dist/329.js +0 -1
- package/dist/329.js.map +0 -1
- package/dist/40.js +0 -1
- package/dist/466.js +0 -1
- package/dist/466.js.map +0 -1
- package/dist/472.js +0 -66
- package/dist/472.js.map +0 -1
- package/dist/490.js +0 -1
- package/dist/490.js.map +0 -1
- package/dist/54.js +0 -1
- package/dist/54.js.map +0 -1
- package/dist/689.js +0 -1
- package/dist/689.js.map +0 -1
- package/dist/697.js +0 -1
- package/dist/697.js.map +0 -1
- package/dist/704.js +0 -1
- package/dist/704.js.map +0 -1
- package/dist/710.js +0 -1
- package/dist/710.js.map +0 -1
- package/dist/729.js +0 -17
- package/dist/729.js.map +0 -1
- package/dist/805.js +0 -37
- package/dist/805.js.map +0 -1
- package/dist/847.js +0 -1
- package/dist/847.js.map +0 -1
- package/dist/85.js +0 -1
- package/dist/85.js.map +0 -1
- package/dist/882.js +0 -1
- package/dist/91.js +0 -1
- package/dist/91.js.map +0 -1
- package/dist/916.js +0 -1
- package/dist/994.js +0 -1
- package/dist/994.js.map +0 -1
- package/dist/998.js +0 -1
- package/dist/998.js.map +0 -1
- package/jest.config.js +0 -3
- package/src/shared/patient-chart/patient-chart.component.tsx +0 -61
- package/src/shared/patient-chart/patient-chart.scss +0 -15
- package/src/shared/patient-chart/useInitialize.ts +0 -24
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React, { createContext, useContext, useMemo, useState } from 'react';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import { Queue, QueueFilter, QueueEntry, QueueEntriesPagination } from '../../types';
|
|
4
|
+
import { useQueueEntries } from '../../hooks/useServiceQueues';
|
|
5
|
+
|
|
6
|
+
const startedOnOrAfter = dayjs().subtract(24, 'hour').format('YYYY-MM-DD HH:mm:ss');
|
|
7
|
+
|
|
8
|
+
export type QueueWorkflowContextValue = {
|
|
9
|
+
activeQueue: Queue | undefined;
|
|
10
|
+
setCurrQueue: (queue: Queue | undefined) => void;
|
|
11
|
+
filters: QueueFilter[];
|
|
12
|
+
setFilters: React.Dispatch<React.SetStateAction<QueueFilter[]>>;
|
|
13
|
+
queueEntries: QueueEntry[];
|
|
14
|
+
isLoadingQueueEntries: boolean;
|
|
15
|
+
isValidatingQueueEntries: boolean;
|
|
16
|
+
queueEntriesError: Error | null;
|
|
17
|
+
queueEntriesPagination: QueueEntriesPagination | undefined;
|
|
18
|
+
pageSize: number;
|
|
19
|
+
setPageSize: (size: number) => void;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const QueueWorkflowContext = createContext<QueueWorkflowContextValue | null>(null);
|
|
23
|
+
|
|
24
|
+
export type QueueWorkflowProviderProps = {
|
|
25
|
+
queues: Queue[];
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const QueueWorkflowProvider: React.FC<QueueWorkflowProviderProps> = ({ queues, children }) => {
|
|
30
|
+
const [currQueue, setCurrQueue] = useState<Queue>();
|
|
31
|
+
const [filters, setFilters] = useState<QueueFilter[]>([]);
|
|
32
|
+
const [pageSize, setPageSize] = useState(10);
|
|
33
|
+
|
|
34
|
+
const activeQueue = currQueue ?? queues[0];
|
|
35
|
+
|
|
36
|
+
const {
|
|
37
|
+
queueEntries,
|
|
38
|
+
isLoading: isLoadingQueueEntries,
|
|
39
|
+
isValidating: isValidatingQueueEntries,
|
|
40
|
+
error: queueEntriesError,
|
|
41
|
+
pagination: queueEntriesPagination,
|
|
42
|
+
} = useQueueEntries(
|
|
43
|
+
activeQueue
|
|
44
|
+
? {
|
|
45
|
+
location: activeQueue.location?.uuid ? [activeQueue.location.uuid] : undefined,
|
|
46
|
+
startedOnOrAfter,
|
|
47
|
+
queues: [activeQueue.uuid],
|
|
48
|
+
}
|
|
49
|
+
: { queues: ['00000000-0000-0000-0000-000000000000'], startedOnOrAfter },
|
|
50
|
+
pageSize,
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
const value = useMemo(
|
|
54
|
+
() => ({
|
|
55
|
+
activeQueue,
|
|
56
|
+
setCurrQueue,
|
|
57
|
+
filters,
|
|
58
|
+
setFilters,
|
|
59
|
+
queueEntries: queueEntries ?? [],
|
|
60
|
+
isLoadingQueueEntries,
|
|
61
|
+
isValidatingQueueEntries,
|
|
62
|
+
queueEntriesError: queueEntriesError ?? null,
|
|
63
|
+
queueEntriesPagination,
|
|
64
|
+
pageSize,
|
|
65
|
+
setPageSize,
|
|
66
|
+
}),
|
|
67
|
+
[
|
|
68
|
+
activeQueue,
|
|
69
|
+
filters,
|
|
70
|
+
queueEntries,
|
|
71
|
+
isLoadingQueueEntries,
|
|
72
|
+
isValidatingQueueEntries,
|
|
73
|
+
queueEntriesError,
|
|
74
|
+
queueEntriesPagination,
|
|
75
|
+
pageSize,
|
|
76
|
+
],
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
return <QueueWorkflowContext.Provider value={value}>{children}</QueueWorkflowContext.Provider>;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const useQueueWorkflowContext = () => {
|
|
83
|
+
const ctx = useContext(QueueWorkflowContext);
|
|
84
|
+
if (!ctx) {
|
|
85
|
+
throw new Error('useQueueWorkflowContext must be used within QueueWorkflowProvider');
|
|
86
|
+
}
|
|
87
|
+
return ctx;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export const useQueueWorkflowContextOptional = () => useContext(QueueWorkflowContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { Tabs, TabList, Tab, TabPanels, TabPanel } from '@carbon/react';
|
|
3
3
|
import { ExtensionSlot } from '@openmrs/esm-framework';
|
|
4
4
|
|
|
@@ -16,19 +16,22 @@ type ExtensionTabsProps = {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
const ExtensionTabs: React.FC<ExtensionTabsProps> = ({ items, state, contained = true }) => {
|
|
19
|
+
const [activeTab, setActiveTab] = useState<number>(0);
|
|
19
20
|
return (
|
|
20
|
-
<Tabs>
|
|
21
|
+
<Tabs selectedIndex={activeTab} onChange={({ selectedIndex }) => setActiveTab(selectedIndex)}>
|
|
21
22
|
<TabList contained={contained}>
|
|
22
|
-
{items.map((item
|
|
23
|
-
<Tab key={
|
|
23
|
+
{items.map((item) => (
|
|
24
|
+
<Tab key={item.slotName} renderIcon={item.icon}>
|
|
24
25
|
{item.label}
|
|
25
26
|
</Tab>
|
|
26
27
|
))}
|
|
27
28
|
</TabList>
|
|
28
29
|
<TabPanels>
|
|
29
30
|
{items.map((item, index) => (
|
|
30
|
-
<TabPanel key={
|
|
31
|
-
|
|
31
|
+
<TabPanel key={item.slotName}>
|
|
32
|
+
{index === activeTab ? (
|
|
33
|
+
<ExtensionSlot className={item.slotClassName} name={item.slotName} state={state} />
|
|
34
|
+
) : null}
|
|
32
35
|
</TabPanel>
|
|
33
36
|
))}
|
|
34
37
|
</TabPanels>
|
|
@@ -100,8 +100,6 @@ export function buildGeneralOrder(order: Order, action?: OrderAction): OrderBask
|
|
|
100
100
|
action: action,
|
|
101
101
|
display: order.display,
|
|
102
102
|
previousOrder: action !== 'NEW' ? order.uuid : null,
|
|
103
|
-
orderer: order.orderer.uuid,
|
|
104
|
-
careSetting: order.careSetting.uuid,
|
|
105
103
|
instructions: order.instructions,
|
|
106
104
|
urgency: order.urgency,
|
|
107
105
|
accessionNumber: order.accessionNumber,
|
|
@@ -109,6 +107,7 @@ export function buildGeneralOrder(order: Order, action?: OrderAction): OrderBask
|
|
|
109
107
|
orderNumber: order.orderNumber,
|
|
110
108
|
orderType: order.orderType.uuid,
|
|
111
109
|
scheduledDate: order.scheduledDate ? new Date(order.scheduledDate) : null,
|
|
110
|
+
visit: order.encounter.visit,
|
|
112
111
|
};
|
|
113
112
|
}
|
|
114
113
|
|
package/src/types/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type OpenmrsResource, type OpenmrsResourceStrict, type Visit } from '@openmrs/esm-framework';
|
|
2
|
+
import { MutableRefObject } from 'react';
|
|
2
3
|
|
|
3
4
|
export interface DashboardConfig {
|
|
4
5
|
name: string;
|
|
@@ -11,8 +12,8 @@ export type Queue = {
|
|
|
11
12
|
name: string;
|
|
12
13
|
location: OpenmrsResource;
|
|
13
14
|
service: OpenmrsResource;
|
|
14
|
-
allowedPriorities
|
|
15
|
-
allowedStatuses
|
|
15
|
+
allowedPriorities?: Array<OpenmrsResource>;
|
|
16
|
+
allowedStatuses?: Array<OpenmrsResource>;
|
|
16
17
|
queueRooms: Array<OpenmrsResource>;
|
|
17
18
|
};
|
|
18
19
|
|
|
@@ -95,3 +96,17 @@ export type QueueFilter = {
|
|
|
95
96
|
value: string;
|
|
96
97
|
label: string;
|
|
97
98
|
};
|
|
99
|
+
|
|
100
|
+
export type QueueEntriesPagination = {
|
|
101
|
+
totalPages: number;
|
|
102
|
+
totalCount: number;
|
|
103
|
+
currentPage: number;
|
|
104
|
+
currentPageSize: MutableRefObject<number>;
|
|
105
|
+
paginated: boolean;
|
|
106
|
+
showNextButton: boolean;
|
|
107
|
+
showPreviousButton: boolean;
|
|
108
|
+
goTo: (page: number) => void;
|
|
109
|
+
goToNext: () => void;
|
|
110
|
+
goToPrevious: () => void;
|
|
111
|
+
defaultPageSize: number;
|
|
112
|
+
};
|
package/translations/am.json
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"actions": "እርምጃዎች",
|
|
3
3
|
"activeMedications": "አሁን ያሉ መድኃኒቶች",
|
|
4
|
+
"activeVisitExists": "This patient already has an active visit",
|
|
4
5
|
"add": "አክል",
|
|
5
6
|
"addedPatientToQueue": "ሕመምተኛ በጥበቃ መስመር ተጨምሯል",
|
|
7
|
+
"additionalVisitInformationUpdatedSuccessfully": "Additional visit information updated successfully",
|
|
6
8
|
"addMedicationOrder": "Add Medication Order",
|
|
7
9
|
"admissions": "ተኝተዋል",
|
|
8
10
|
"Admitted/OPD": "የተኝተው/የውጪ ሕመምተኛ ጉብኝቶች",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
+
"all": "All",
|
|
12
|
+
"AM": "AM",
|
|
13
|
+
"appointments": "Appointments",
|
|
14
|
+
"attachments": "Attachments",
|
|
11
15
|
"attendedTo": "Attended to",
|
|
12
16
|
"awaitingConsultation": "ምክር እየጠበቀ ያለ",
|
|
13
17
|
"back": "ተመለስ",
|
|
14
18
|
"birthDate": "የትውልድ ቀን",
|
|
15
19
|
"call": "ይደውሉ",
|
|
16
20
|
"cancel": "ይሰርዙ",
|
|
17
|
-
"carePanel": "
|
|
21
|
+
"carePanel": "Care Panel",
|
|
18
22
|
"changePhoneNumber": "ስልክ ቁጥር ይቀይሩ",
|
|
19
23
|
"checkedIn": "ተመዝግቧል",
|
|
24
|
+
"checkFilters": "Check the filters above",
|
|
20
25
|
"checkIn": "ይመዝገቡ",
|
|
21
26
|
"checking": "እየተመረመረ ነው...",
|
|
22
27
|
"checkingEligibility": "ብቁነት እየተረጋገጠ ነው",
|
|
23
|
-
"checkInPatientWorkspaceTitle": "ሕመምተኛ ይመዝገቡ",
|
|
24
28
|
"chooseIdentifierType": "የመለያ ዓይነት ይምረጡ",
|
|
25
29
|
"clearAll": "ሁሉንም አጽዳ",
|
|
26
30
|
"clearFilters": "Clear filters",
|
|
@@ -34,28 +38,39 @@
|
|
|
34
38
|
"consultation": "ምክር (ምክክር)",
|
|
35
39
|
"continueWithCare": "እንክብካቤውን ይቀጥሉ",
|
|
36
40
|
"CRNumber": "CR Number",
|
|
41
|
+
"customCheckin": "Check in",
|
|
37
42
|
"dashboard": "ዳሽቦርድ",
|
|
38
43
|
"dashboardErrorMessage": "የዳሽቦርድ መረጃ መጫን አልተቻለም። እባክዎ እንደገና ይሞክሩ።",
|
|
39
44
|
"dateAndTime": "Date and time",
|
|
40
45
|
"dependentRegistrationError": "ጥገኛን በመመዝገብ ላይ ስህተት",
|
|
41
46
|
"dependentRegistrationErrorSubtitle": "ጥገኛን በመመዝገብ ላይ ስህተት: {{error}}",
|
|
42
47
|
"dependents": "ጥገኛ(ዎች)",
|
|
48
|
+
"discard": "Discard",
|
|
43
49
|
"diseases": "በሽታዎች",
|
|
50
|
+
"editVisit": "Edit visit",
|
|
44
51
|
"emergency": "ድንገተኛ",
|
|
45
52
|
"emergencyCases": "የተታዩ የድንገተኛ ሁኔታ ጉዳዮች ቁጥር",
|
|
46
53
|
"emergencyRegistration": "ድንገተኛ ምዝገባ",
|
|
47
54
|
"encounterDetails": "የግንኙነት ዝርዝሮች",
|
|
55
|
+
"endActiveVisitFirst": "You must end the current visit before starting a new one.",
|
|
56
|
+
"endDate": "End date",
|
|
57
|
+
"ended": "Ended",
|
|
58
|
+
"endTime": "End time",
|
|
59
|
+
"endTimeFormat": "End time format",
|
|
48
60
|
"enterIdentifierNumber": "የመለያ ቁጥር ያስገቡ",
|
|
49
61
|
"enterOtp": "ኦቲፒ ያስገቡ",
|
|
50
62
|
"enterOtpSentTo": "ወደዚህ የተላከውን የኦቲፒ ኮድ ያስገቡ",
|
|
51
63
|
"enterPatientIdentifier": "ሕመምተኛ ለመፈለግ የሕመምተኛ መለያ ቁጥር ያስገቡ",
|
|
52
64
|
"enterPhoneNumber": "ስልክ ቁጥር ያስገቡ",
|
|
53
65
|
"error": "ስህተት",
|
|
66
|
+
"errorCreatingVisitAttribute": "Error creating the {{attributeName}} visit attribute",
|
|
67
|
+
"errorDeletingVisitAttribute": "Error deleting the {{attributeName}} visit attribute",
|
|
54
68
|
"errorLoadingDashboard": "የዳሽቦርድ መረጃ በመጫን ላይ ስህተት",
|
|
55
69
|
"errorLoadingMedicationOrders": "Error loading medication orders",
|
|
56
|
-
"errorLoadingPatient": "ሕመምተኛን በመጫን ላይ ስህተት",
|
|
57
70
|
"errorLoadingQueueEntries": "የጥበቃ ዝርዝርን በመጫን ላይ ስህተት",
|
|
58
71
|
"errorLoadingQueues": "የጥበቃ መስመሮች በመጫን ላይ ስህተት",
|
|
72
|
+
"errorUpdatingVisitAttribute": "Error updating the {{attributeName}} visit attribute",
|
|
73
|
+
"errorUpdatingVisitDetails": "Error updating visit details",
|
|
59
74
|
"filters": "Filters",
|
|
60
75
|
"gender": "ፆታ",
|
|
61
76
|
"generalOPDAttendance<5years": "አጠቃላይ የውጪ ሕመምተኛ አገልግሎት <5 ዓመት",
|
|
@@ -66,7 +81,8 @@
|
|
|
66
81
|
"identificationType": "የመለያ ዓይነት",
|
|
67
82
|
"identifierNumber": "የመለያ ቁጥር*",
|
|
68
83
|
"identifiers": "መለያዎች",
|
|
69
|
-
"immunizations": "
|
|
84
|
+
"immunizations": "Immunizations",
|
|
85
|
+
"inThePast": "In the past",
|
|
70
86
|
"invalidPhoneNumber": "እባክዎ ትክክለኛ የስልክ ቁጥር ያስገቡ",
|
|
71
87
|
"investigationAwaiting": "Investigation Awaiting",
|
|
72
88
|
"investigationCompleted": "Investigation Completed",
|
|
@@ -75,20 +91,21 @@
|
|
|
75
91
|
"labCompleted": "Lab Completed",
|
|
76
92
|
"laboratoryOrders": "የላቦራቶሪ ትዕዛዞች",
|
|
77
93
|
"labResults": "የላብራቶሪ ውጤቶች",
|
|
94
|
+
"loading": "Loading...",
|
|
78
95
|
"loadingDashboard": "የዳሽቦርድ መረጃ እየተጫነ ነው...",
|
|
79
96
|
"loadingOtpConfig": "Loading...",
|
|
80
|
-
"loadingPatient": "ሕመምተኛ እየተጫነ ነው...",
|
|
81
|
-
"loadingQueueEntries": "የጥበቃ ዝርዝር እየተጫነ ነው...",
|
|
82
97
|
"loadingQueues": "የጥበቃ መስመሮች እየተጫኑ ነው...",
|
|
83
98
|
"mchConsultationQueues": "MCH የምክር አገልግሎት ጥበቃዎች",
|
|
84
99
|
"medication": "Medication",
|
|
100
|
+
"medicationOrders": "Medication Orders",
|
|
101
|
+
"missingVisitType": "Missing visit type",
|
|
85
102
|
"name": "ስም",
|
|
103
|
+
"new": "New",
|
|
86
104
|
"newPatientResults_one": "አዲስ ሕመምተኛ ተገኝቷል ({{count}})",
|
|
87
105
|
"newPatientResults_other": "አዲስ ሕመምተኞች ተገኝተዋል ({{count}})",
|
|
88
106
|
"nextPage": "ቀጣይ ገጽ",
|
|
89
107
|
"noDependentsFound": "ለዚህ ሕመምተኛ ምንም ጥገኞች አልተገኙም",
|
|
90
108
|
"noFilters": "No filters",
|
|
91
|
-
"noMedicationOrders": "No medication orders",
|
|
92
109
|
"noMedicationOrdersFound": "No medication orders found",
|
|
93
110
|
"noOfPatients": "የሕመምተኞች ብዛት",
|
|
94
111
|
"noPatientFound": "ምንም ሕመምተኛ አልተገኘም",
|
|
@@ -100,8 +117,12 @@
|
|
|
100
117
|
"noQueueSelected": "እባክዎ የጥበቃ መስመር ይምረጡ",
|
|
101
118
|
"notCheckedIn": "አልተመዘገበም",
|
|
102
119
|
"notUrgent": "አስቸኳይ አይደለም",
|
|
120
|
+
"noVisitTypesToDisplay": "No visit types to display",
|
|
103
121
|
"numberofEmergencyCasesSeen": "የተታዩ የድንገተኛ ሁኔታ ሕመምተኞች ቁጥር",
|
|
122
|
+
"offlineVisit": "Offline Visit",
|
|
123
|
+
"ongoing": "Ongoing",
|
|
104
124
|
"opdVisits": "የውጪ ሕመምተኛ ጉብኝቶች",
|
|
125
|
+
"optional": "optional",
|
|
105
126
|
"orders": "ትዕዛዎች",
|
|
106
127
|
"otpExpired": "ኦቲፒ ጊዜው አልፎበታል",
|
|
107
128
|
"otpExpiredMessage": "የኦቲፒ ጊዜ አልፏል። እባክዎ አዲስ ይጠይቁ።",
|
|
@@ -111,7 +132,8 @@
|
|
|
111
132
|
"otpTimeRemaining": "የቀረው ጊዜ",
|
|
112
133
|
"otpVerification": "ኦቲፒ ማረጋገጫ",
|
|
113
134
|
"otpVerificationError": "ኦቲፒ በማረጋገጥ ላይ ስህተት",
|
|
114
|
-
"
|
|
135
|
+
"partOfFormDidntLoad": "Part of the form did not load",
|
|
136
|
+
"partograph": "Partograph",
|
|
115
137
|
"pastMedications": "ያለፉ መድኃኒቶች",
|
|
116
138
|
"patientAttended": "ሕመምተኛ ተንከባክቧል",
|
|
117
139
|
"patientCategory": "የሕመምተኛ ምድብ",
|
|
@@ -119,10 +141,11 @@
|
|
|
119
141
|
"patientHistory": "የሕመምተኛ ታሪክ",
|
|
120
142
|
"patientManagement": "የሕመምተኛ አስተዳደር",
|
|
121
143
|
"patientsAwaiting": "የሚጠብቅ ሕመምተኛ",
|
|
122
|
-
"patientSummary": "
|
|
144
|
+
"patientSummary": "Patient Summary",
|
|
123
145
|
"pendingMedicationOrders": "Pending Medication Orders",
|
|
124
146
|
"pharmacyOrdersDescription": "Active medication prescriptions awaiting pharmacist review and dispensing",
|
|
125
147
|
"phoneNumber": "ስልክ ቁጥር",
|
|
148
|
+
"PM": "PM",
|
|
126
149
|
"previousPage": "የቀደመ ገጽ",
|
|
127
150
|
"priority": "ቅድሚያ",
|
|
128
151
|
"priorityComment": "Priority Comment",
|
|
@@ -131,8 +154,10 @@
|
|
|
131
154
|
"proceduresCompleted": "Procedures Completed",
|
|
132
155
|
"proceduresOrders": "የሂደቶች ትዕዛዞች",
|
|
133
156
|
"processing": "እየተሰራ ነው...",
|
|
157
|
+
"program": "Program",
|
|
134
158
|
"quantity": "Quantity",
|
|
135
159
|
"queue": "የጥበቃ መስመር",
|
|
160
|
+
"queueEntries": "Queue Entries",
|
|
136
161
|
"queueEntryAddedSuccessfully": "የጥበቃ መስመር ግቤት በተሳካ ሁኔታ ተጨምሯል",
|
|
137
162
|
"queueEntryError": "ሕመምተኛን በጥበቃ መስመር በመጨመር ላይ ስህተት",
|
|
138
163
|
"queueNumber": "የጥበቃ ቁጥር",
|
|
@@ -141,14 +166,18 @@
|
|
|
141
166
|
"radiologyAndImagingOrders": "ራዲዮሎጂ እና ኢሜጂንግ ትዕዛዞች",
|
|
142
167
|
"radiologyAwaiting": "Radiology Awaiting",
|
|
143
168
|
"radiologyCompleted": "Radiology Completed",
|
|
169
|
+
"recommended": "Recommended",
|
|
144
170
|
"refresh": "Refresh",
|
|
145
171
|
"refreshing": "Refreshing...",
|
|
172
|
+
"refreshingData": "Refreshing data...",
|
|
146
173
|
"refreshInvestigations": "Refresh investigations",
|
|
174
|
+
"refreshToTryAgain": "Please refresh to try again",
|
|
147
175
|
"registration": "ምዝገባ",
|
|
148
176
|
"relationship": "ዝምድና/ግንኙነት",
|
|
149
|
-
"relationships": "
|
|
177
|
+
"relationships": "Relationships",
|
|
150
178
|
"requester": "Requester",
|
|
151
179
|
"requestingOtp": "ኦቲፒ እየተጠየቀ ነው...",
|
|
180
|
+
"required": "Required",
|
|
152
181
|
"reSendingOtp": "ኦቲፒ እንደገና እየተላከ ነው...",
|
|
153
182
|
"resendOtp": "ኦቲፒ እንደገና ላክ",
|
|
154
183
|
"revisitPatientResults_one": "ተመላሽ ሕመምተኛ(ዎች) ({{count}})",
|
|
@@ -156,12 +185,17 @@
|
|
|
156
185
|
"search": "Search",
|
|
157
186
|
"searchFailed": "ሕመምተኛ መፈለግ አልተሳካም። እባክዎ እንደገና ይሞክሩ።",
|
|
158
187
|
"searchForAPatient": "ሕመምተኛ ይፈልጉ",
|
|
188
|
+
"searchForAVisitType": "Search for a visit type",
|
|
159
189
|
"searching": "እየተፈለገ ነው...",
|
|
160
190
|
"searchMedicationOrders": "Search medication orders",
|
|
161
191
|
"searchPatients": "ሕመምተኛ(ዎችን) ይፈልጉ",
|
|
192
|
+
"selectAnOption": "Select an option",
|
|
162
193
|
"selectIdentifierAndNumber": "እባክዎ መለያ ዓይነት ይምረጡ እና መለያ ቁጥር ያስገቡ",
|
|
194
|
+
"selectLocation": "Select a location",
|
|
195
|
+
"selectProgramType": "Select program type",
|
|
163
196
|
"selectQueueRoom": "Select a queue room",
|
|
164
197
|
"selectTriageRoom": "Select a triage room",
|
|
198
|
+
"selectVisitType": "Please select a Visit Type",
|
|
165
199
|
"selectWalkInRoom": "Select a walk-in room",
|
|
166
200
|
"sendingOtp": "ኦቲፒ እየተላከ ነው...",
|
|
167
201
|
"sendOtp": "ኦቲፒ ይላኩ",
|
|
@@ -169,8 +203,15 @@
|
|
|
169
203
|
"showDependents": "ጥገኛዎችን አሳይ",
|
|
170
204
|
"specialClinics": "ልዩ ክሊኒኮች",
|
|
171
205
|
"spouseVerificationRequired": "Please verify the spouse with OTP before registering",
|
|
206
|
+
"startDate": "Start date",
|
|
207
|
+
"startingVisit": "Starting visit",
|
|
208
|
+
"startTime": "Start time",
|
|
209
|
+
"startTimeFormat": "Start time format",
|
|
210
|
+
"startVisit": "Start visit",
|
|
211
|
+
"startVisitError": "Error starting visit",
|
|
172
212
|
"startVisitWorkspaceTitle": "ለ{{patientName}} ጉብኝት ይጀምሩ",
|
|
173
213
|
"status": "ሁኔታ",
|
|
214
|
+
"theVisitIs": "The visit is",
|
|
174
215
|
"top10DiseasesOver5": "ከ5 ዓመት በላይ ዕድሜ ያላቸው ከፍተኛ 10 በሽታዎች",
|
|
175
216
|
"top10DiseasesUnder5": "ከ5 ዓመት በታች ዕድሜ ያላቸው ከፍተኛ 10 በሽታዎች",
|
|
176
217
|
"totalNumberofReferrals-IN": "አጠቃላይ የመላኪያ ቁጥር - ወደ ውስጥ",
|
|
@@ -180,6 +221,8 @@
|
|
|
180
221
|
"totalVisits": "ጠቅላላ ጉብኝቶች",
|
|
181
222
|
"triage": "ትሪያዥ",
|
|
182
223
|
"tryDifferentIdentifier": "በሌላ መለያ ለመፈለግ ይሞክሩ ወይም የመለያውን ዓይነት ያረጋግጡ",
|
|
224
|
+
"updateVisit": "Update visit",
|
|
225
|
+
"updatingVisit": "Updating visit",
|
|
183
226
|
"urgent": "አስቸኳይ",
|
|
184
227
|
"useADifferentNumber": "ሌላ ቁጥር ይጠቀሙ",
|
|
185
228
|
"validationError": "የማረጋገጫ ስህተት",
|
|
@@ -187,13 +230,21 @@
|
|
|
187
230
|
"verify": "ያረጋግጡ",
|
|
188
231
|
"verifyingOtp": "ኦቲፒ እየተረጋገጠ ነው",
|
|
189
232
|
"view": "View",
|
|
233
|
+
"visitAttributes": "Visit attributes",
|
|
190
234
|
"visitDate": "የጉብኝት ቀን",
|
|
191
235
|
"visitDetails": "የጉብኝት ዝርዝሮች",
|
|
236
|
+
"visitDetailsUpdated": "Visit details updated",
|
|
237
|
+
"visitDetailsUpdatedSuccessfully": "{{visit}} updated successfully",
|
|
192
238
|
"visitLocation": "የጉብኝት ቦታ",
|
|
193
239
|
"visitProvider": "የጉብኝት ሰጪ",
|
|
194
240
|
"visits": "ጉብኝቶች",
|
|
241
|
+
"visitStartAndEndDate": "Visit start and end date",
|
|
242
|
+
"visitStartDate": "Visit start date",
|
|
243
|
+
"visitStarted": "Visit started",
|
|
244
|
+
"visitStartedSuccessfully": "{{visit}} started successfully",
|
|
195
245
|
"visitType": "የጉብኝት ዓይነት",
|
|
196
|
-
"
|
|
246
|
+
"visitType_title": "Visit Type",
|
|
247
|
+
"vitalsAndAnthropometric": "Vitals & Anthropometric",
|
|
197
248
|
"waiting": "Waiting",
|
|
198
249
|
"waitTime": "የጥበቃ ጊዜ"
|
|
199
250
|
}
|
package/translations/en.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"actions": "Actions",
|
|
3
3
|
"activeMedications": "Active Medications",
|
|
4
|
+
"activeVisitExists": "This patient already has an active visit",
|
|
4
5
|
"add": "Add",
|
|
5
6
|
"addedPatientToQueue": "Added patient to queue",
|
|
7
|
+
"additionalVisitInformationUpdatedSuccessfully": "Additional visit information updated successfully",
|
|
6
8
|
"addMedicationOrder": "Add Medication Order",
|
|
7
9
|
"admissions": "Admissions",
|
|
8
10
|
"Admitted/OPD": "Admitted/OPD Visits",
|
|
11
|
+
"all": "All",
|
|
12
|
+
"AM": "AM",
|
|
9
13
|
"appointments": "Appointments",
|
|
10
14
|
"attachments": "Attachments",
|
|
11
15
|
"attendedTo": "Attended to",
|
|
@@ -17,10 +21,10 @@
|
|
|
17
21
|
"carePanel": "Care Panel",
|
|
18
22
|
"changePhoneNumber": "Change phone number",
|
|
19
23
|
"checkedIn": "Checked In",
|
|
24
|
+
"checkFilters": "Check the filters above",
|
|
20
25
|
"checkIn": "Check In",
|
|
21
26
|
"checking": "Checking...",
|
|
22
|
-
"checkingEligibility": "",
|
|
23
|
-
"checkInPatientWorkspaceTitle": "Check in patient",
|
|
27
|
+
"checkingEligibility": "Checking eligibility...",
|
|
24
28
|
"chooseIdentifierType": "Choose identifier type",
|
|
25
29
|
"clearAll": "Clear All",
|
|
26
30
|
"clearFilters": "Clear filters",
|
|
@@ -34,28 +38,39 @@
|
|
|
34
38
|
"consultation": "Consultation",
|
|
35
39
|
"continueWithCare": "Continue with care",
|
|
36
40
|
"CRNumber": "CR Number",
|
|
41
|
+
"customCheckin": "Check in",
|
|
37
42
|
"dashboard": "Dashboard",
|
|
38
43
|
"dashboardErrorMessage": "Unable to load dashboard data. Please try again.",
|
|
39
44
|
"dateAndTime": "Date and time",
|
|
40
45
|
"dependentRegistrationError": "Error registering dependent",
|
|
41
46
|
"dependentRegistrationErrorSubtitle": "Error registering dependent: {{error}}",
|
|
42
47
|
"dependents": "Dependent(s)",
|
|
48
|
+
"discard": "Discard",
|
|
43
49
|
"diseases": "Diseases",
|
|
50
|
+
"editVisit": "Edit visit",
|
|
44
51
|
"emergency": "Emergency",
|
|
45
52
|
"emergencyCases": "Number of Emergency Cases Seen",
|
|
46
53
|
"emergencyRegistration": "Emergency registration",
|
|
47
54
|
"encounterDetails": "Encounter Details",
|
|
55
|
+
"endActiveVisitFirst": "You must end the current visit before starting a new one.",
|
|
56
|
+
"endDate": "End date",
|
|
57
|
+
"ended": "Ended",
|
|
58
|
+
"endTime": "End time",
|
|
59
|
+
"endTimeFormat": "End time format",
|
|
48
60
|
"enterIdentifierNumber": "Enter identifier number",
|
|
49
61
|
"enterOtp": "Enter OTP",
|
|
50
62
|
"enterOtpSentTo": "Enter the OTP code sent to",
|
|
51
63
|
"enterPatientIdentifier": "Enter patient identifier number to search for a patient",
|
|
52
64
|
"enterPhoneNumber": "Enter phone number",
|
|
53
65
|
"error": "Error",
|
|
66
|
+
"errorCreatingVisitAttribute": "Error creating the {{attributeName}} visit attribute",
|
|
67
|
+
"errorDeletingVisitAttribute": "Error deleting the {{attributeName}} visit attribute",
|
|
54
68
|
"errorLoadingDashboard": "Error loading dashboard",
|
|
55
69
|
"errorLoadingMedicationOrders": "Error loading medication orders",
|
|
56
|
-
"errorLoadingPatient": "Error loading patient",
|
|
57
70
|
"errorLoadingQueueEntries": "Error loading queue entries",
|
|
58
71
|
"errorLoadingQueues": "Error loading queues",
|
|
72
|
+
"errorUpdatingVisitAttribute": "Error updating the {{attributeName}} visit attribute",
|
|
73
|
+
"errorUpdatingVisitDetails": "Error updating visit details",
|
|
59
74
|
"filters": "Filters",
|
|
60
75
|
"gender": "Gender",
|
|
61
76
|
"generalOPDAttendance<5years": "General OPD Attendance <5 years",
|
|
@@ -67,6 +82,7 @@
|
|
|
67
82
|
"identifierNumber": "Identifier number*",
|
|
68
83
|
"identifiers": "Identifiers",
|
|
69
84
|
"immunizations": "Immunizations",
|
|
85
|
+
"inThePast": "In the past",
|
|
70
86
|
"invalidPhoneNumber": "Please enter a valid phone number",
|
|
71
87
|
"investigationAwaiting": "Investigation Awaiting",
|
|
72
88
|
"investigationCompleted": "Investigation Completed",
|
|
@@ -75,21 +91,22 @@
|
|
|
75
91
|
"labCompleted": "Lab Completed",
|
|
76
92
|
"laboratoryOrders": "Laboratory Orders",
|
|
77
93
|
"labResults": "Lab Results",
|
|
94
|
+
"loading": "Loading...",
|
|
78
95
|
"loadingDashboard": "Loading dashboard data...",
|
|
79
96
|
"loadingOtpConfig": "Loading...",
|
|
80
|
-
"loadingPatient": "Loading patient...",
|
|
81
|
-
"loadingQueueEntries": "Loading queue entries...",
|
|
82
97
|
"loadingQueues": "Loading queues...",
|
|
83
98
|
"mchConsultationQueues": "MCH Consultation Queues",
|
|
84
99
|
"medication": "Medication",
|
|
100
|
+
"medicationOrders": "Medication Orders",
|
|
101
|
+
"missingVisitType": "Missing visit type",
|
|
85
102
|
"name": "Name",
|
|
103
|
+
"new": "New",
|
|
86
104
|
"newPatientResults_one": "New patient(s) found ({{count}})",
|
|
87
105
|
"newPatientResults_other": "New patient(s) found ({{count}})",
|
|
88
106
|
"nextPage": "Next page",
|
|
89
107
|
"noDependentsFound": "No dependents found for this patient",
|
|
90
108
|
"noFilters": "No filters",
|
|
91
|
-
"
|
|
92
|
-
"noMedicationOrdersFound": "No medication orders found",
|
|
109
|
+
"noMedicationOrdersFound": "medication orders found",
|
|
93
110
|
"noOfPatients": "No. of Patients",
|
|
94
111
|
"noPatientFound": "No Patient Found",
|
|
95
112
|
"noPatientsAwaiting": "No patients awaiting service",
|
|
@@ -100,8 +117,12 @@
|
|
|
100
117
|
"noQueueSelected": "Please select a queue",
|
|
101
118
|
"notCheckedIn": "Not Checked In",
|
|
102
119
|
"notUrgent": "Not Urgent",
|
|
120
|
+
"noVisitTypesToDisplay": "No visit types to display",
|
|
103
121
|
"numberofEmergencyCasesSeen": "Number of Emergency Cases Seen",
|
|
122
|
+
"offlineVisit": "Offline Visit",
|
|
123
|
+
"ongoing": "Ongoing",
|
|
104
124
|
"opdVisits": "OPD Visits",
|
|
125
|
+
"optional": "optional",
|
|
105
126
|
"orders": "Orders",
|
|
106
127
|
"otpExpired": "OTP Expired",
|
|
107
128
|
"otpExpiredMessage": "OTP has expired. Please request a new one.",
|
|
@@ -111,6 +132,7 @@
|
|
|
111
132
|
"otpTimeRemaining": "Time Remaining",
|
|
112
133
|
"otpVerification": "OTP Verification",
|
|
113
134
|
"otpVerificationError": "Error Verifying OTP",
|
|
135
|
+
"partOfFormDidntLoad": "Part of the form did not load",
|
|
114
136
|
"partograph": "Partograph",
|
|
115
137
|
"pastMedications": "Past Medications",
|
|
116
138
|
"patientAttended": "Patient attended to",
|
|
@@ -123,6 +145,7 @@
|
|
|
123
145
|
"pendingMedicationOrders": "Pending Medication Orders",
|
|
124
146
|
"pharmacyOrdersDescription": "Active medication prescriptions awaiting pharmacist review and dispensing",
|
|
125
147
|
"phoneNumber": "Phone number",
|
|
148
|
+
"PM": "PM",
|
|
126
149
|
"previousPage": "Previous page",
|
|
127
150
|
"priority": "Priority",
|
|
128
151
|
"priorityComment": "Priority Comment",
|
|
@@ -131,8 +154,10 @@
|
|
|
131
154
|
"proceduresCompleted": "Procedures Completed",
|
|
132
155
|
"proceduresOrders": "Procedures Orders",
|
|
133
156
|
"processing": "Processing...",
|
|
157
|
+
"program": "Program",
|
|
134
158
|
"quantity": "Quantity",
|
|
135
159
|
"queue": "Queue",
|
|
160
|
+
"queueEntries": "Queue Entries",
|
|
136
161
|
"queueEntryAddedSuccessfully": "Queue entry added successfully",
|
|
137
162
|
"queueEntryError": "Error adding patient to the queue",
|
|
138
163
|
"queueNumber": "Queue Number",
|
|
@@ -141,14 +166,18 @@
|
|
|
141
166
|
"radiologyAndImagingOrders": "Radiology & Imaging Orders",
|
|
142
167
|
"radiologyAwaiting": "Radiology Awaiting",
|
|
143
168
|
"radiologyCompleted": "Radiology Completed",
|
|
169
|
+
"recommended": "Recommended",
|
|
144
170
|
"refresh": "Refresh",
|
|
145
171
|
"refreshing": "Refreshing...",
|
|
172
|
+
"refreshingData": "Refreshing data...",
|
|
146
173
|
"refreshInvestigations": "Refresh investigations",
|
|
174
|
+
"refreshToTryAgain": "Please refresh to try again",
|
|
147
175
|
"registration": "Registration",
|
|
148
176
|
"relationship": "Relationship",
|
|
149
177
|
"relationships": "Relationships",
|
|
150
178
|
"requester": "Requester",
|
|
151
179
|
"requestingOtp": "Requesting OTP...",
|
|
180
|
+
"required": "Required",
|
|
152
181
|
"reSendingOtp": "Resending OTP...",
|
|
153
182
|
"resendOtp": "Resend OTP",
|
|
154
183
|
"revisitPatientResults_one": "Revisit patient(s) ({{count}})",
|
|
@@ -156,12 +185,17 @@
|
|
|
156
185
|
"search": "Search",
|
|
157
186
|
"searchFailed": "Failed to search for patient. Please try again.",
|
|
158
187
|
"searchForAPatient": "Search for a patient",
|
|
188
|
+
"searchForAVisitType": "Search for a visit type",
|
|
159
189
|
"searching": "Searching...",
|
|
160
190
|
"searchMedicationOrders": "Search medication orders",
|
|
161
191
|
"searchPatients": "Search for Patient(s)",
|
|
192
|
+
"selectAnOption": "Select an option",
|
|
162
193
|
"selectIdentifierAndNumber": "Please select an identifier type and enter an identifier number",
|
|
194
|
+
"selectLocation": "Select a location",
|
|
195
|
+
"selectProgramType": "Select program type",
|
|
163
196
|
"selectQueueRoom": "Select a queue room",
|
|
164
197
|
"selectTriageRoom": "Select a triage room",
|
|
198
|
+
"selectVisitType": "Please select a Visit Type",
|
|
165
199
|
"selectWalkInRoom": "Select a walk-in room",
|
|
166
200
|
"sendingOtp": "Sending OTP...",
|
|
167
201
|
"sendOtp": "Send OTP",
|
|
@@ -169,8 +203,15 @@
|
|
|
169
203
|
"showDependents": "Show dependents",
|
|
170
204
|
"specialClinics": "Special Clinics",
|
|
171
205
|
"spouseVerificationRequired": "Please verify the spouse with OTP before registering",
|
|
172
|
-
"
|
|
206
|
+
"startDate": "Start date",
|
|
207
|
+
"startingVisit": "Starting visit",
|
|
208
|
+
"startTime": "Start time",
|
|
209
|
+
"startTimeFormat": "Start time format",
|
|
210
|
+
"startVisit": "Start visit",
|
|
211
|
+
"startVisitError": "Error starting visit",
|
|
212
|
+
"startVisitWorkspaceTitle": "Start Visit",
|
|
173
213
|
"status": "status",
|
|
214
|
+
"theVisitIs": "The visit is",
|
|
174
215
|
"top10DiseasesOver5": "Top 10 Diseases over 5",
|
|
175
216
|
"top10DiseasesUnder5": "Top 10 Diseases under 5",
|
|
176
217
|
"totalNumberofReferrals-IN": "Total Number of Referrals - IN",
|
|
@@ -180,6 +221,8 @@
|
|
|
180
221
|
"totalVisits": "Total Visits",
|
|
181
222
|
"triage": "Triage",
|
|
182
223
|
"tryDifferentIdentifier": "Try searching with a different identifier or check the identifier type",
|
|
224
|
+
"updateVisit": "Update visit",
|
|
225
|
+
"updatingVisit": "Updating visit",
|
|
183
226
|
"urgent": "Urgent",
|
|
184
227
|
"useADifferentNumber": "Use a different number",
|
|
185
228
|
"validationError": "Validation Error",
|
|
@@ -187,12 +230,20 @@
|
|
|
187
230
|
"verify": "Verify",
|
|
188
231
|
"verifyingOtp": "Verifying OTP",
|
|
189
232
|
"view": "View",
|
|
233
|
+
"visitAttributes": "Visit attributes",
|
|
190
234
|
"visitDate": "Visit Date",
|
|
191
235
|
"visitDetails": "Visit Details",
|
|
236
|
+
"visitDetailsUpdated": "Visit details updated",
|
|
237
|
+
"visitDetailsUpdatedSuccessfully": "{{visit}} updated successfully",
|
|
192
238
|
"visitLocation": "Visit Location",
|
|
193
239
|
"visitProvider": "Visit Provider",
|
|
194
240
|
"visits": "Visits",
|
|
241
|
+
"visitStartAndEndDate": "Visit start and end date",
|
|
242
|
+
"visitStartDate": "Visit start date",
|
|
243
|
+
"visitStarted": "Visit started",
|
|
244
|
+
"visitStartedSuccessfully": "{{visit}} started successfully",
|
|
195
245
|
"visitType": "Visit Type",
|
|
246
|
+
"visitType_title": "Visit Type",
|
|
196
247
|
"vitalsAndAnthropometric": "Vitals & Anthropometric",
|
|
197
248
|
"waiting": "Waiting",
|
|
198
249
|
"waitTime": "Wait time"
|