@openmrs/esm-patient-medications-app 11.3.1-pre.9651 → 11.3.1-pre.9661
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 -7
- package/dist/1119.js +1 -1
- package/dist/1197.js +1 -1
- package/dist/2146.js +1 -1
- package/dist/2690.js +1 -1
- package/dist/3099.js +1 -1
- package/dist/3584.js +1 -1
- package/dist/4055.js +1 -1
- package/dist/4132.js +1 -1
- package/dist/4300.js +1 -1
- package/dist/4335.js +1 -1
- package/dist/439.js +1 -1
- package/dist/4618.js +1 -1
- package/dist/4652.js +1 -1
- package/dist/4944.js +1 -1
- package/dist/5173.js +1 -1
- package/dist/5241.js +1 -1
- package/dist/5442.js +1 -1
- package/dist/5661.js +1 -1
- package/dist/6022.js +1 -1
- package/dist/6468.js +1 -1
- package/dist/6589.js +1 -1
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/7097.js +1 -1
- package/dist/7159.js +1 -1
- package/dist/723.js +1 -1
- package/dist/7617.js +1 -1
- package/dist/795.js +1 -1
- package/dist/8163.js +1 -1
- package/dist/8349.js +1 -1
- package/dist/8371.js +1 -1
- package/dist/8437.js +1 -1
- package/dist/8437.js.map +1 -1
- package/dist/8618.js +1 -1
- package/dist/890.js +1 -1
- package/dist/9214.js +1 -1
- package/dist/9538.js +1 -1
- package/dist/9569.js +1 -1
- package/dist/986.js +1 -1
- package/dist/9879.js +1 -1
- package/dist/9895.js +1 -1
- package/dist/9900.js +1 -1
- package/dist/9913.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-medications-app.js +1 -1
- package/dist/openmrs-esm-patient-medications-app.js.buildmanifest.json +133 -133
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/components/medications-details-table.component.tsx +63 -49
- package/translations/am.json +1 -13
- package/translations/ar.json +1 -13
- package/translations/ar_SY.json +1 -13
- package/translations/bn.json +1 -13
- package/translations/cs.json +1 -13
- package/translations/de.json +1 -13
- package/translations/en.json +3 -0
- package/translations/en_US.json +1 -13
- package/translations/es.json +1 -13
- package/translations/es_MX.json +1 -13
- package/translations/fr.json +1 -13
- package/translations/he.json +1 -13
- package/translations/hi.json +1 -13
- package/translations/hi_IN.json +1 -13
- package/translations/id.json +1 -13
- package/translations/it.json +1 -13
- package/translations/ka.json +1 -13
- package/translations/km.json +1 -13
- package/translations/ku.json +1 -13
- package/translations/ky.json +1 -13
- package/translations/lg.json +1 -13
- package/translations/ne.json +1 -13
- package/translations/pl.json +1 -13
- package/translations/pt.json +1 -13
- package/translations/pt_BR.json +1 -13
- package/translations/qu.json +1 -13
- package/translations/ro_RO.json +1 -13
- package/translations/ru_RU.json +1 -13
- package/translations/si.json +1 -13
- package/translations/sq.json +1 -13
- package/translations/sw.json +1 -13
- package/translations/sw_KE.json +1 -13
- package/translations/tr.json +1 -13
- package/translations/tr_TR.json +1 -13
- package/translations/uk.json +1 -13
- package/translations/uz.json +1 -13
- package/translations/uz@Latn.json +1 -13
- package/translations/uz_UZ.json +1 -13
- package/translations/vi.json +1 -13
- package/translations/zh.json +1 -13
- package/translations/zh_CN.json +1 -13
- package/translations/zh_TW.json +1 -13
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"optionalBackendDependencies":{"providermanagement":{"version":"^2.16.0","feature":{"flagName":"providermanagement-module","label":"Prescribing Clinician Roles","description":"Enable support for configuring prescribing clinicians roles when ordering drugs. Requires the backend providermanagement module."}},"ordertemplates":{"version":"^1.0.2","feature":{"flagName":"ordertemplates-module","label":"Order Templates","description":"Enable support for order templates when ordering drugs. Requires the backend ordertemplates module."}}},"extensions":[{"name":"medications-details-widget","component":"medicationsSummary","slot":"patient-chart-medications-dashboard-slot","meta":{"fullWidth":false}},{"name":"active-medications-widget","component":"activeMedications","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":4},{"name":"past-medications-widget","component":"pastMedications","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":5},{"name":"medications-summary-dashboard","component":"medicationsDashboardLink","slot":"patient-chart-dashboard-slot","order":3,"meta":{"slot":"patient-chart-medications-dashboard-slot","path":"Medications"}},{"name":"drug-order-panel","component":"drugOrderPanel","slot":"order-basket-slot","order":1},{"name":"drug-order-form","component":"drugOrderForm"},{"name":"drug-search-combobox","component":"drugSearchComboBox"}],"workspaces2":[{"name":"add-drug-order","component":"addDrugOrderWorkspace","window":"patient-chart-order-basket"}],"version":"11.3.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"optionalBackendDependencies":{"providermanagement":{"version":"^2.16.0","feature":{"flagName":"providermanagement-module","label":"Prescribing Clinician Roles","description":"Enable support for configuring prescribing clinicians roles when ordering drugs. Requires the backend providermanagement module."}},"ordertemplates":{"version":"^1.0.2","feature":{"flagName":"ordertemplates-module","label":"Order Templates","description":"Enable support for order templates when ordering drugs. Requires the backend ordertemplates module."}}},"extensions":[{"name":"medications-details-widget","component":"medicationsSummary","slot":"patient-chart-medications-dashboard-slot","meta":{"fullWidth":false}},{"name":"active-medications-widget","component":"activeMedications","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":4},{"name":"past-medications-widget","component":"pastMedications","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":5},{"name":"medications-summary-dashboard","component":"medicationsDashboardLink","slot":"patient-chart-dashboard-slot","order":3,"meta":{"slot":"patient-chart-medications-dashboard-slot","path":"Medications"}},{"name":"drug-order-panel","component":"drugOrderPanel","slot":"order-basket-slot","order":1},{"name":"drug-order-form","component":"drugOrderForm"},{"name":"drug-search-combobox","component":"drugSearchComboBox"}],"workspaces2":[{"name":"add-drug-order","component":"addDrugOrderWorkspace","window":"patient-chart-order-basket"}],"version":"11.3.1-pre.9661"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-patient-medications-app",
|
|
3
|
-
"version": "11.3.1-pre.
|
|
3
|
+
"version": "11.3.1-pre.9661",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Patient medications microfrontend for the OpenMRS SPA",
|
|
6
6
|
"browser": "dist/openmrs-esm-patient-medications-app.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"swr": "2.x"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@openmrs/esm-patient-common-lib": "11.3.1-pre.
|
|
55
|
+
"@openmrs/esm-patient-common-lib": "11.3.1-pre.9661",
|
|
56
56
|
"webpack": "^5.99.9"
|
|
57
57
|
},
|
|
58
58
|
"stableVersion": "11.3.0"
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React, { type ComponentProps, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
|
-
import { capitalize } from 'lodash-es';
|
|
4
3
|
import {
|
|
5
|
-
DataTable,
|
|
6
4
|
Button,
|
|
5
|
+
DataTable,
|
|
7
6
|
IconButton,
|
|
8
7
|
InlineLoading,
|
|
9
8
|
OverflowMenu,
|
|
@@ -18,41 +17,40 @@ import {
|
|
|
18
17
|
Tag,
|
|
19
18
|
Tooltip,
|
|
20
19
|
} from '@carbon/react';
|
|
20
|
+
import { capitalize } from 'lodash-es';
|
|
21
|
+
import { useTranslation } from 'react-i18next';
|
|
22
|
+
import { useReactToPrint } from 'react-to-print';
|
|
23
|
+
import { useSWRConfig } from 'swr';
|
|
21
24
|
import {
|
|
22
25
|
CardHeader,
|
|
23
26
|
compare,
|
|
24
|
-
|
|
27
|
+
invalidateVisitAndEncounterData,
|
|
28
|
+
invalidateVisitByUuid,
|
|
25
29
|
PatientChartPagination,
|
|
30
|
+
type DrugOrderBasketItem,
|
|
26
31
|
type Order,
|
|
32
|
+
type OrderBasketWindowProps,
|
|
33
|
+
type PatientWorkspaceGroupProps,
|
|
27
34
|
useLaunchWorkspaceRequiringVisit,
|
|
28
35
|
useOrderBasket,
|
|
29
|
-
type PatientWorkspaceGroupProps,
|
|
30
|
-
invalidateVisitByUuid,
|
|
31
|
-
invalidateVisitAndEncounterData,
|
|
32
|
-
type OrderBasketWindowProps,
|
|
33
36
|
} from '@openmrs/esm-patient-common-lib';
|
|
34
37
|
import {
|
|
35
38
|
AddIcon,
|
|
36
39
|
age,
|
|
37
|
-
getPatientName,
|
|
38
40
|
formatDate,
|
|
41
|
+
getPatientName,
|
|
42
|
+
launchWorkspace2,
|
|
39
43
|
PrinterIcon,
|
|
40
44
|
useConfig,
|
|
41
45
|
useLayoutType,
|
|
42
46
|
usePagination,
|
|
43
47
|
UserIcon,
|
|
44
|
-
launchWorkspace2,
|
|
45
|
-
type Encounter,
|
|
46
|
-
showModal,
|
|
47
48
|
} from '@openmrs/esm-framework';
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
49
|
+
import { buildMedicationOrder } from '../api';
|
|
50
|
+
import { type AddDrugOrderWorkspaceProps } from '../add-drug-order/add-drug-order.workspace';
|
|
50
51
|
import { type ConfigObject } from '../config-schema';
|
|
51
52
|
import PrintComponent from '../print/print.component';
|
|
52
53
|
import styles from './medications-details-table.scss';
|
|
53
|
-
import { useSWRConfig } from 'swr';
|
|
54
|
-
import { type AddDrugOrderWorkspaceProps } from '../add-drug-order/add-drug-order.workspace';
|
|
55
|
-
import { buildMedicationOrder } from '../api';
|
|
56
54
|
|
|
57
55
|
export interface MedicationsDetailsTableProps {
|
|
58
56
|
isValidating?: boolean;
|
|
@@ -102,8 +100,13 @@ const MedicationsDetailsTable: React.FC<MedicationsDetailsTableProps> = ({
|
|
|
102
100
|
},
|
|
103
101
|
];
|
|
104
102
|
|
|
105
|
-
const
|
|
106
|
-
|
|
103
|
+
const medicationsByUuid = useMemo(
|
|
104
|
+
() => new Map(results?.map((medication) => [medication.uuid, medication]) ?? []),
|
|
105
|
+
[results],
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
const tableRows = results?.map((medication) => ({
|
|
109
|
+
id: medication.uuid,
|
|
107
110
|
details: {
|
|
108
111
|
sortKey: medication.drug?.display,
|
|
109
112
|
content: (
|
|
@@ -247,7 +250,7 @@ const MedicationsDetailsTable: React.FC<MedicationsDetailsTableProps> = ({
|
|
|
247
250
|
<Button
|
|
248
251
|
kind="ghost"
|
|
249
252
|
renderIcon={PrinterIcon}
|
|
250
|
-
iconDescription=
|
|
253
|
+
iconDescription={t('printMedications', 'Print medications')}
|
|
251
254
|
className={styles.printButton}
|
|
252
255
|
onClick={handlePrint}
|
|
253
256
|
>
|
|
@@ -258,7 +261,7 @@ const MedicationsDetailsTable: React.FC<MedicationsDetailsTableProps> = ({
|
|
|
258
261
|
<Button
|
|
259
262
|
kind="ghost"
|
|
260
263
|
renderIcon={(props: ComponentProps<typeof AddIcon>) => <AddIcon size={16} {...props} />}
|
|
261
|
-
iconDescription=
|
|
264
|
+
iconDescription={t('launchOrderBasket', 'Launch order basket')}
|
|
262
265
|
onClick={() => launchOrderBasket({}, { encounterUuid: '' })}
|
|
263
266
|
>
|
|
264
267
|
{t('add', 'Add')}
|
|
@@ -292,32 +295,37 @@ const MedicationsDetailsTable: React.FC<MedicationsDetailsTableProps> = ({
|
|
|
292
295
|
{header.header}
|
|
293
296
|
</TableHeader>
|
|
294
297
|
))}
|
|
295
|
-
<TableHeader aria-label={t('actions', 'Actions')} />
|
|
298
|
+
{!isPrinting && <TableHeader aria-label={t('actions', 'Actions')} />}
|
|
296
299
|
</TableRow>
|
|
297
300
|
</TableHead>
|
|
298
301
|
<TableBody>
|
|
299
|
-
{rows.map((row
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
302
|
+
{rows.map((row) => {
|
|
303
|
+
const medication = medicationsByUuid.get(row.id);
|
|
304
|
+
|
|
305
|
+
return (
|
|
306
|
+
<TableRow className={styles.row} {...getRowProps({ row })}>
|
|
307
|
+
{row.cells.map((cell) => (
|
|
308
|
+
<TableCell className={styles.tableCell} key={cell.id}>
|
|
309
|
+
{cell.value?.content ?? cell.value}
|
|
310
|
+
</TableCell>
|
|
311
|
+
))}
|
|
312
|
+
|
|
313
|
+
{!isPrinting && medication && (
|
|
314
|
+
<TableCell className="cds--table-column-menu">
|
|
315
|
+
<OrderBasketItemActions
|
|
316
|
+
patient={patient}
|
|
317
|
+
showDiscontinueButton={showDiscontinueButton}
|
|
318
|
+
showModifyButton={showModifyButton}
|
|
319
|
+
showReorderButton={showReorderButton}
|
|
320
|
+
medication={medication}
|
|
321
|
+
items={orders}
|
|
322
|
+
setItems={setOrders}
|
|
323
|
+
/>
|
|
324
|
+
</TableCell>
|
|
325
|
+
)}
|
|
326
|
+
</TableRow>
|
|
327
|
+
);
|
|
328
|
+
})}
|
|
321
329
|
</TableBody>
|
|
322
330
|
</Table>
|
|
323
331
|
</TableContainer>
|
|
@@ -325,7 +333,7 @@ const MedicationsDetailsTable: React.FC<MedicationsDetailsTableProps> = ({
|
|
|
325
333
|
</DataTable>
|
|
326
334
|
<PatientChartPagination
|
|
327
335
|
pageNumber={currentPage}
|
|
328
|
-
totalItems={medications
|
|
336
|
+
totalItems={medications?.length ?? 0}
|
|
329
337
|
currentItems={results.length}
|
|
330
338
|
pageSize={pageSize}
|
|
331
339
|
onPageNumberChange={({ page }) => goTo(page)}
|
|
@@ -500,7 +508,13 @@ function OrderBasketItemActions({
|
|
|
500
508
|
}, [items, setItems, medication, workspaceGroupProps]);
|
|
501
509
|
|
|
502
510
|
return (
|
|
503
|
-
<OverflowMenu
|
|
511
|
+
<OverflowMenu
|
|
512
|
+
aria-label={t('actionsMenu', 'Actions menu')}
|
|
513
|
+
align="left"
|
|
514
|
+
selectorPrimaryFocus={'#modify'}
|
|
515
|
+
flipped
|
|
516
|
+
size={isTablet ? 'lg' : 'md'}
|
|
517
|
+
>
|
|
504
518
|
{showModifyButton && (
|
|
505
519
|
<OverflowMenuItem
|
|
506
520
|
className={styles.menuItem}
|
|
@@ -513,21 +527,21 @@ function OrderBasketItemActions({
|
|
|
513
527
|
{showReorderButton && (
|
|
514
528
|
<OverflowMenuItem
|
|
515
529
|
className={styles.menuItem}
|
|
530
|
+
disabled={alreadyInBasket}
|
|
516
531
|
id="reorder"
|
|
517
532
|
itemText={t('reorder', 'Reorder')}
|
|
518
533
|
onClick={handleReorderClick}
|
|
519
|
-
disabled={alreadyInBasket}
|
|
520
534
|
/>
|
|
521
535
|
)}
|
|
522
536
|
{showDiscontinueButton && (
|
|
523
537
|
<OverflowMenuItem
|
|
524
538
|
className={styles.menuItem}
|
|
539
|
+
disabled={alreadyInBasket}
|
|
540
|
+
hasDivider
|
|
525
541
|
id="discontinue"
|
|
542
|
+
isDelete
|
|
526
543
|
itemText={t('discontinue', 'Discontinue')}
|
|
527
544
|
onClick={handleDiscontinueClick}
|
|
528
|
-
disabled={alreadyInBasket}
|
|
529
|
-
isDelete={true}
|
|
530
|
-
hasDivider
|
|
531
545
|
/>
|
|
532
546
|
)}
|
|
533
547
|
</OverflowMenu>
|
package/translations/am.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "Active Medications",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "Add",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "Back to order basket",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "Error fetching drug order templates",
|
|
40
39
|
"errorFetchingDrugResults": "Error fetching results for \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "Error occured when fetching Order config",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "Female",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "Free text dosage",
|
|
48
45
|
"goToDrugOrderForm": "Order form",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
56
53
|
"Medications": "Medications",
|
|
57
54
|
"modify": "Modify",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "No results to display for \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "New",
|
|
69
64
|
"orderActionRenew": "Renew",
|
|
70
65
|
"orderActionRevise": "Modify",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "Order Form",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "Patient instructions",
|
|
87
80
|
"patientInstructionsPlaceholder": "Additional dosing instructions (e.g. \"Take after eating\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "Prescription refills",
|
|
94
84
|
"print": "Print",
|
|
95
85
|
"printedBy": "Printed by",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "Remove from basket",
|
|
103
93
|
"reorder": "Reorder",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "Save order",
|
|
107
96
|
"searchAgain": "search again",
|
|
108
97
|
"searchFieldPlaceholder": "Search for a drug or orderset (e.g. \"Aspirin\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "Try to",
|
|
120
109
|
"unknown": "Unknown",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "using a different term"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "using a different term"
|
|
124
112
|
}
|
package/translations/ar.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "الأدوية النشطة",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "أضف",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "العودة إلى سلة الطلب",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "خطأ في جلب قوالب طلب الدواء",
|
|
40
39
|
"errorFetchingDrugResults": "خطأ في جلب النتائج لـ \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "حدث خطأ عند جلب تكوين الطلب",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "أنثى",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "نص الجرعة الحر",
|
|
48
45
|
"goToDrugOrderForm": "نموذج الطلب",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "مدة غير محددة",
|
|
56
53
|
"Medications": "الأدوية",
|
|
57
54
|
"modify": "تعديل",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "لا توجد نتائج لـ \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "جديد",
|
|
69
64
|
"orderActionRenew": "تجديد",
|
|
70
65
|
"orderActionRevise": "تعديل",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "نموذج الطلب",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "تعليمات المريض",
|
|
87
80
|
"patientInstructionsPlaceholder": "تعليمات الجرعة الإضافية (مثل \"خذ بعد الأكل\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "إعادة الوصفة",
|
|
94
84
|
"print": "طباعة",
|
|
95
85
|
"printedBy": "طبع بواسطة",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "إزالة من السلة",
|
|
103
93
|
"reorder": "إعادة ترتيب",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "حفظ الطلب",
|
|
107
96
|
"searchAgain": "ابحث مرة أخرى",
|
|
108
97
|
"searchFieldPlaceholder": "ابحث عن دواء أو مجموعة طلبات (مثل \"أسبرين\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "حاول",
|
|
120
109
|
"unknown": "غير معروف",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "باستخدام مصطلح مختلف"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "باستخدام مصطلح مختلف"
|
|
124
112
|
}
|
package/translations/ar_SY.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "Active Medications",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "Add",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "Back to order basket",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "Error fetching drug order templates",
|
|
40
39
|
"errorFetchingDrugResults": "Error fetching results for \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "Error occured when fetching Order config",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "Female",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "Free text dosage",
|
|
48
45
|
"goToDrugOrderForm": "Order form",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
56
53
|
"Medications": "Medications",
|
|
57
54
|
"modify": "Modify",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "No results to display for \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "New",
|
|
69
64
|
"orderActionRenew": "Renew",
|
|
70
65
|
"orderActionRevise": "Modify",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "Order Form",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "Patient instructions",
|
|
87
80
|
"patientInstructionsPlaceholder": "Additional dosing instructions (e.g. \"Take after eating\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "Prescription refills",
|
|
94
84
|
"print": "Print",
|
|
95
85
|
"printedBy": "Printed by",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "Remove from basket",
|
|
103
93
|
"reorder": "Reorder",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "Save order",
|
|
107
96
|
"searchAgain": "search again",
|
|
108
97
|
"searchFieldPlaceholder": "Search for a drug or orderset (e.g. \"Aspirin\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "Try to",
|
|
120
109
|
"unknown": "Unknown",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "using a different term"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "using a different term"
|
|
124
112
|
}
|
package/translations/bn.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "Active Medications",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "Add",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "Back to order basket",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "Error fetching drug order templates",
|
|
40
39
|
"errorFetchingDrugResults": "Error fetching results for \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "Error occured when fetching Order config",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "Female",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "Free text dosage",
|
|
48
45
|
"goToDrugOrderForm": "Order form",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
56
53
|
"Medications": "Medications",
|
|
57
54
|
"modify": "Modify",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "No results to display for \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "New",
|
|
69
64
|
"orderActionRenew": "Renew",
|
|
70
65
|
"orderActionRevise": "Modify",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "Order Form",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "Patient instructions",
|
|
87
80
|
"patientInstructionsPlaceholder": "Additional dosing instructions (e.g. \"Take after eating\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "Prescription refills",
|
|
94
84
|
"print": "Print",
|
|
95
85
|
"printedBy": "Printed by",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "Remove from basket",
|
|
103
93
|
"reorder": "Reorder",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "Save order",
|
|
107
96
|
"searchAgain": "search again",
|
|
108
97
|
"searchFieldPlaceholder": "Search for a drug or orderset (e.g. \"Aspirin\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "Try to",
|
|
120
109
|
"unknown": "Unknown",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "using a different term"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "using a different term"
|
|
124
112
|
}
|
package/translations/cs.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "Active Medications",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "Add",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "Back to order basket",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "Error fetching drug order templates",
|
|
40
39
|
"errorFetchingDrugResults": "Error fetching results for \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "Error occured when fetching Order config",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "Female",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "Free text dosage",
|
|
48
45
|
"goToDrugOrderForm": "Order form",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
56
53
|
"Medications": "Medications",
|
|
57
54
|
"modify": "Modify",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "No results to display for \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "New",
|
|
69
64
|
"orderActionRenew": "Renew",
|
|
70
65
|
"orderActionRevise": "Modify",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "Order Form",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "Patient instructions",
|
|
87
80
|
"patientInstructionsPlaceholder": "Additional dosing instructions (e.g. \"Take after eating\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "Prescription refills",
|
|
94
84
|
"print": "Print",
|
|
95
85
|
"printedBy": "Printed by",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "Remove from basket",
|
|
103
93
|
"reorder": "Reorder",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "Save order",
|
|
107
96
|
"searchAgain": "search again",
|
|
108
97
|
"searchFieldPlaceholder": "Search for a drug or orderset (e.g. \"Aspirin\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "Try to",
|
|
120
109
|
"unknown": "Unknown",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "using a different term"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "using a different term"
|
|
124
112
|
}
|
package/translations/de.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"activeMedicationsDisplayText": "active medications",
|
|
4
4
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
5
|
"activeMedicationsTableTitle": "Active Medications",
|
|
6
|
-
"activePrescriptionExists": "Active prescription exists for this drug",
|
|
7
6
|
"add": "Add",
|
|
8
7
|
"addDrugOrderWorkspaceTitle": "Add drug order",
|
|
9
8
|
"backToOrderBasket": "Back to order basket",
|
|
@@ -39,10 +38,8 @@
|
|
|
39
38
|
"errorFetchingDrugOrderTemplates": "Error fetching drug order templates",
|
|
40
39
|
"errorFetchingDrugResults": "Error fetching results for \"{{searchTerm}}\"",
|
|
41
40
|
"errorFetchingOrderConfig": "Error occured when fetching Order config",
|
|
42
|
-
"errorLoadingClinicians": "Error loading clinicians",
|
|
43
41
|
"errorSavingDrugOrder": "Error saving drug order",
|
|
44
42
|
"female": "Female",
|
|
45
|
-
"fillPrescription": "Fill prescription",
|
|
46
43
|
"freeDosageErrorMessage": "Add free dosage note",
|
|
47
44
|
"freeTextDosage": "Free text dosage",
|
|
48
45
|
"goToDrugOrderForm": "Order form",
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
56
53
|
"Medications": "Medications",
|
|
57
54
|
"modify": "Modify",
|
|
58
|
-
"noCliniciansFound": "No clinicians found",
|
|
59
|
-
"noCliniciansFoundDescription": "Cannot select prescribing clinician because no clinicians with appropriate roles are found. Check configuration.",
|
|
60
55
|
"noResultsForDrugSearch": "No results to display for \"{{searchTerm}}\"",
|
|
61
56
|
"numRefillsErrorMessage": "Number of refills is required",
|
|
62
57
|
"off": "Off",
|
|
@@ -68,9 +63,7 @@
|
|
|
68
63
|
"orderActionNew": "New",
|
|
69
64
|
"orderActionRenew": "Renew",
|
|
70
65
|
"orderActionRevise": "Modify",
|
|
71
|
-
"orderCompleted": "Placed orders",
|
|
72
66
|
"orderDiscontinued": "Order discontinued",
|
|
73
|
-
"ordered": "Placed order for {{order}}",
|
|
74
67
|
"orderedFor": "Placed order for",
|
|
75
68
|
"orderForm": "Order Form",
|
|
76
69
|
"orderPlaced": "Order placed",
|
|
@@ -86,10 +79,7 @@
|
|
|
86
79
|
"patientInstructions": "Patient instructions",
|
|
87
80
|
"patientInstructionsPlaceholder": "Additional dosing instructions (e.g. \"Take after eating\")",
|
|
88
81
|
"pillDispensedErrorMessage": "Quantity to dispense is required",
|
|
89
|
-
"prescribingClinician": "Prescribing Clinician",
|
|
90
|
-
"prescribingClinicianRequiredErrorMessage": "Prescribing clinician is required",
|
|
91
82
|
"prescriptionDuration": "Prescription duration",
|
|
92
|
-
"prescriptionInfo": "Prescription info",
|
|
93
83
|
"prescriptionRefills": "Prescription refills",
|
|
94
84
|
"print": "Print",
|
|
95
85
|
"printedBy": "Printed by",
|
|
@@ -102,7 +92,6 @@
|
|
|
102
92
|
"removeFromBasket": "Remove from basket",
|
|
103
93
|
"reorder": "Reorder",
|
|
104
94
|
"returnToOrderBasket": "Return to order basket",
|
|
105
|
-
"saveDrugOrderFailed": "Error ordering {{orderName}}",
|
|
106
95
|
"saveOrder": "Save order",
|
|
107
96
|
"searchAgain": "search again",
|
|
108
97
|
"searchFieldPlaceholder": "Search for a drug or orderset (e.g. \"Aspirin\")",
|
|
@@ -119,6 +108,5 @@
|
|
|
119
108
|
"tryTo": "Try to",
|
|
120
109
|
"unknown": "Unknown",
|
|
121
110
|
"updated": "Updated",
|
|
122
|
-
"usingADifferentTerm": "using a different term"
|
|
123
|
-
"visitRequiredForFillingPrescription": "Patient is required to have an active visit to fill prescription"
|
|
111
|
+
"usingADifferentTerm": "using a different term"
|
|
124
112
|
}
|
package/translations/en.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"actions": "Actions",
|
|
3
|
+
"actionsMenu": "Actions menu",
|
|
3
4
|
"activeMedicationsDisplayText": "active medications",
|
|
4
5
|
"activeMedicationsHeaderTitle": "Active medications",
|
|
5
6
|
"activeMedicationsTableTitle": "Active Medications",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"indication": "Indication",
|
|
48
49
|
"indicationErrorMessage": "Indication is required",
|
|
49
50
|
"indicationPlaceholder": "e.g. \"Hypertension\"",
|
|
51
|
+
"launchOrderBasket": "Launch order basket",
|
|
50
52
|
"male": "Male",
|
|
51
53
|
"medicationDurationAndUnit": "for {{duration}} {{durationUnit}}",
|
|
52
54
|
"medicationIndefiniteDuration": "Indefinite duration",
|
|
@@ -83,6 +85,7 @@
|
|
|
83
85
|
"prescriptionRefills": "Prescription refills",
|
|
84
86
|
"print": "Print",
|
|
85
87
|
"printedBy": "Printed by",
|
|
88
|
+
"printMedications": "Print medications",
|
|
86
89
|
"prn": "P.R.N.",
|
|
87
90
|
"prnReason": "P.R.N. reason",
|
|
88
91
|
"prnReasonPlaceholder": "Reason to take medicine",
|