@kenyaemr/esm-patient-list-management-app 8.1.1-pre.129 → 8.1.2-pre.154
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 +21 -22
- package/dist/130.js +1 -1
- package/dist/130.js.map +1 -1
- package/dist/236.js +1 -0
- package/dist/240.js +1 -0
- package/dist/261.js +1 -0
- package/dist/271.js +1 -1
- package/dist/272.js +1 -0
- package/dist/319.js +1 -1
- package/dist/336.js +1 -0
- package/dist/37.js +1 -1
- package/dist/37.js.map +1 -1
- package/dist/378.js +1 -0
- package/dist/460.js +1 -1
- package/dist/539.js +1 -0
- package/dist/548.js +1 -0
- package/dist/548.js.map +1 -0
- package/dist/566.js +1 -0
- package/dist/644.js +1 -1
- package/dist/652.js +1 -0
- package/dist/673.js +1 -0
- package/dist/705.js +1 -0
- package/dist/711.js +1 -0
- package/dist/727.js +1 -0
- package/dist/737.js +1 -0
- package/dist/744.js +1 -0
- package/dist/757.js +1 -1
- package/dist/788.js +1 -1
- package/dist/807.js +1 -1
- package/dist/833.js +1 -1
- package/dist/899.js +1 -0
- package/dist/900.js +2 -0
- package/dist/900.js.map +1 -0
- package/dist/kenyaemr-esm-patient-list-management-app.js +1 -1
- package/dist/kenyaemr-esm-patient-list-management-app.js.buildmanifest.json +405 -53
- package/dist/kenyaemr-esm-patient-list-management-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package-lock.json +2 -2
- package/package.json +4 -4
- package/src/add-patient/add-patient.component.tsx +3 -3
- package/src/header/header.component.tsx +31 -0
- package/src/header/header.scss +5 -43
- package/src/list-details/list-details.component.tsx +1 -1
- package/src/lists-dashboard/lists-dashboard.component.tsx +29 -40
- package/src/lists-dashboard/lists-dashboard.scss +5 -8
- package/src/lists-table/lists-table.component.tsx +14 -11
- package/translations/am.json +2 -2
- package/translations/ar.json +3 -3
- package/translations/de.json +83 -0
- package/translations/es.json +2 -2
- package/translations/fr.json +2 -2
- package/translations/he.json +2 -2
- package/translations/hi.json +83 -0
- package/translations/hi_IN.json +83 -0
- package/translations/id.json +83 -0
- package/translations/it.json +83 -0
- package/translations/km.json +2 -2
- package/translations/ne.json +83 -0
- package/translations/pt.json +83 -0
- package/translations/pt_BR.json +83 -0
- package/translations/qu.json +83 -0
- package/translations/si.json +83 -0
- package/translations/sw.json +83 -0
- package/translations/sw_KE.json +83 -0
- package/translations/tr.json +83 -0
- package/translations/tr_TR.json +83 -0
- package/translations/uk.json +83 -0
- package/translations/vi.json +83 -0
- package/translations/zh.json +3 -3
- package/translations/zh_CN.json +2 -2
- package/dist/455.js +0 -1
- package/dist/455.js.map +0 -1
- package/dist/658.js +0 -2
- package/dist/658.js.map +0 -1
- /package/dist/{658.js.LICENSE.txt → 900.js.LICENSE.txt} +0 -0
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"patient-lists-dashboard-link","component":"patientListDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"patient-lists","slot":"patient-lists-dashboard-slot","title":"Patient lists"}},{"component":"root","name":"patient-lists-dashboard","slot":"patient-lists-dashboard-slot"},{"name":"list-details-table","component":"listDetailsTable"},{"name":"add-patient-to-patient-list-button","slot":"patient-actions-slot","component":"addPatientToPatientListMenuItem"}],"modals":[{"name":"add-patient-to-patient-list-modal","component":"addPatientToListModal"}],"version":"8.1.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"patient-lists-dashboard-link","component":"patientListDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"patient-lists","slot":"patient-lists-dashboard-slot","title":"Patient lists"}},{"component":"root","name":"patient-lists-dashboard","slot":"patient-lists-dashboard-slot"},{"name":"list-details-table","component":"listDetailsTable"},{"name":"add-patient-to-patient-list-button","slot":"patient-actions-slot","component":"addPatientToPatientListMenuItem"}],"modals":[{"name":"add-patient-to-patient-list-modal","component":"addPatientToListModal"}],"version":"8.1.2-pre.154"}
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenyaemr/esm-patient-list-management-app",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.0.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@kenyaemr/esm-patient-list-management-app",
|
|
9
|
-
"version": "8.
|
|
9
|
+
"version": "8.0.2",
|
|
10
10
|
"license": "MPL-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@carbon/react": "~1.37.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenyaemr/esm-patient-list-management-app",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2-pre.154",
|
|
4
4
|
"description": "Microfrontend for managing patient lists in O3",
|
|
5
5
|
"browser": "dist/kenyaemr-esm-patient-list-management-app.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"url": "https://github.com/openmrs/openmrs-esm-patient-management/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@carbon/react": "
|
|
40
|
+
"@carbon/react": "^1.71.0",
|
|
41
41
|
"dexie": "^3.0.3",
|
|
42
42
|
"fuzzy": "^0.1.3",
|
|
43
43
|
"lodash-es": "^4.17.15"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@openmrs/esm-framework": "
|
|
46
|
+
"@openmrs/esm-framework": "6.x",
|
|
47
47
|
"react": "18.x",
|
|
48
48
|
"react-i18next": "11.x",
|
|
49
49
|
"react-router-dom": "6.x",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"webpack": "^5.74.0"
|
|
54
54
|
},
|
|
55
|
-
"stableVersion": "8.
|
|
55
|
+
"stableVersion": "8.0.2"
|
|
56
56
|
}
|
|
@@ -39,7 +39,7 @@ const AddPatient: React.FC<AddPatientProps> = ({ closeModal, patientUuid }) => {
|
|
|
39
39
|
const key = `${restBaseUrl}/cohortm/cohortmember?patient=${patientUuid}&v=custom:(uuid,patient:ref,cohort:(uuid,name,startDate,endDate))`;
|
|
40
40
|
|
|
41
41
|
return mutate((k) => typeof k === 'string' && k === key);
|
|
42
|
-
}, []);
|
|
42
|
+
}, [patientUuid]);
|
|
43
43
|
|
|
44
44
|
const handleSubmit = useCallback(() => {
|
|
45
45
|
Promise.all(
|
|
@@ -67,7 +67,7 @@ const AddPatient: React.FC<AddPatientProps> = ({ closeModal, patientUuid }) => {
|
|
|
67
67
|
});
|
|
68
68
|
}),
|
|
69
69
|
).finally(closeModal);
|
|
70
|
-
}, [
|
|
70
|
+
}, [selected, closeModal, data, mutateCohortMembers, t]);
|
|
71
71
|
|
|
72
72
|
const searchResults = useMemo(() => {
|
|
73
73
|
if (!data) {
|
|
@@ -88,7 +88,7 @@ const AddPatient: React.FC<AddPatientProps> = ({ closeModal, patientUuid }) => {
|
|
|
88
88
|
if (currentPage !== 1) {
|
|
89
89
|
goTo(1);
|
|
90
90
|
}
|
|
91
|
-
}, [searchValue]);
|
|
91
|
+
}, [currentPage, goTo, searchValue]);
|
|
92
92
|
|
|
93
93
|
return (
|
|
94
94
|
<div className={styles.modalContent}>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import { Add } from '@carbon/react/icons';
|
|
4
|
+
import { Button } from '@carbon/react';
|
|
5
|
+
import { PageHeader, PageHeaderContent, PatientListsPictogram } from '@openmrs/esm-framework';
|
|
6
|
+
import styles from './header.scss';
|
|
7
|
+
|
|
8
|
+
interface HeaderProps {
|
|
9
|
+
handleShowNewListOverlay: () => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const Header: React.FC<HeaderProps> = ({ handleShowNewListOverlay }) => {
|
|
13
|
+
const { t } = useTranslation();
|
|
14
|
+
return (
|
|
15
|
+
<PageHeader className={styles.header}>
|
|
16
|
+
<PageHeaderContent title={t('patientLists', 'Patient lists')} illustration={<PatientListsPictogram />} />
|
|
17
|
+
<Button
|
|
18
|
+
className={styles.newListButton}
|
|
19
|
+
data-openmrs-role="New List"
|
|
20
|
+
kind="ghost"
|
|
21
|
+
iconDescription="Add"
|
|
22
|
+
renderIcon={(props) => <Add {...props} size={16} />}
|
|
23
|
+
onClick={handleShowNewListOverlay}
|
|
24
|
+
size="sm">
|
|
25
|
+
{t('newList', 'New list')}
|
|
26
|
+
</Button>
|
|
27
|
+
</PageHeader>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default Header;
|
package/src/header/header.scss
CHANGED
|
@@ -2,51 +2,13 @@
|
|
|
2
2
|
@use '@carbon/type';
|
|
3
3
|
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
4
4
|
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
height: layout.$spacing-12;
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.leftJustifiedItems {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
align-items: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.rightJustifiedItems {
|
|
20
|
-
@include type.type-style('body-compact-02');
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
color: $text-02;
|
|
24
|
-
padding: layout.$spacing-05 0;
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.date {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: flex-end;
|
|
31
|
-
align-items: center;
|
|
32
|
-
margin-right: layout.$spacing-05;
|
|
33
|
-
|
|
34
|
-
svg {
|
|
35
|
-
margin-right: layout.$spacing-03;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.pageName {
|
|
40
|
-
@include type.type-style('heading-04');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.pageLabels {
|
|
44
|
-
p:first-of-type {
|
|
45
|
-
margin-bottom: layout.$spacing-02;
|
|
46
|
-
}
|
|
5
|
+
.header {
|
|
6
|
+
background-color: $ui-02;
|
|
7
|
+
border-bottom: 1px solid $ui-03;
|
|
47
8
|
}
|
|
48
9
|
|
|
49
10
|
.newListButton {
|
|
50
|
-
align-self: flex-end;
|
|
51
11
|
width: fit-content;
|
|
12
|
+
height: fit-content;
|
|
13
|
+
margin: layout.$spacing-05 0;
|
|
52
14
|
}
|
|
@@ -2,7 +2,7 @@ import React, { useState, useCallback, useMemo } from 'react';
|
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { useParams } from 'react-router-dom';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import {
|
|
5
|
+
import { Modal, OverflowMenuItem } from '@carbon/react';
|
|
6
6
|
import { OverflowMenuVertical } from '@carbon/react/icons';
|
|
7
7
|
import { navigate, formatDate, parseDate, showSnackbar, CustomOverflowMenu } from '@openmrs/esm-framework';
|
|
8
8
|
import { deletePatientList } from '../api/api-remote';
|
|
@@ -2,12 +2,11 @@ import React, { useMemo, useState } from 'react';
|
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { useLocation } from 'react-router-dom';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { Tab, Tabs, TabList
|
|
6
|
-
import { Add } from '@carbon/react/icons';
|
|
7
|
-
import { PageHeader, PageHeaderContent, PatientListsPictogram } from '@openmrs/esm-framework';
|
|
5
|
+
import { Tab, Tabs, TabList } from '@carbon/react';
|
|
8
6
|
import { type PatientListFilter, PatientListType } from '../api/types';
|
|
9
7
|
import { useAllPatientLists } from '../api/hooks';
|
|
10
8
|
import CreateEditPatientList from '../create-edit-patient-list/create-edit-list.component';
|
|
9
|
+
import Header from '../header/header.component';
|
|
11
10
|
import ListsTable from '../lists-table/lists-table.component';
|
|
12
11
|
import styles from './lists-dashboard.scss';
|
|
13
12
|
|
|
@@ -61,43 +60,33 @@ const ListsDashboard: React.FC = () => {
|
|
|
61
60
|
return (
|
|
62
61
|
<main className={classnames('omrs-main-content', styles.dashboardContainer)}>
|
|
63
62
|
<section className={styles.dashboard}>
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
<
|
|
67
|
-
className={styles.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
<div className={styles.listsTableContainer}>
|
|
92
|
-
<ListsTable
|
|
93
|
-
error={error}
|
|
94
|
-
headers={tableHeaders}
|
|
95
|
-
isLoading={isLoading}
|
|
96
|
-
key={patientListFilter.label}
|
|
97
|
-
listType={patientListFilter.label}
|
|
98
|
-
patientLists={patientLists}
|
|
99
|
-
refetch={mutate}
|
|
100
|
-
/>
|
|
63
|
+
<Header handleShowNewListOverlay={handleShowNewListOverlay} />
|
|
64
|
+
<div className={styles.tabsContainer}>
|
|
65
|
+
<Tabs
|
|
66
|
+
className={styles.tabs}
|
|
67
|
+
onChange={({ selectedIndex }) => {
|
|
68
|
+
setSelectedTab(selectedIndex);
|
|
69
|
+
}}
|
|
70
|
+
selectedIndex={selectedTab}
|
|
71
|
+
tabContentClassName={styles.hiddenTabsContent}>
|
|
72
|
+
<TabList className={styles.tablist} aria-label="List tabs" contained>
|
|
73
|
+
<Tab className={styles.tab}>{t('starredLists', 'Starred lists')}</Tab>
|
|
74
|
+
<Tab className={styles.tab}>{t('systemLists', 'System lists')}</Tab>
|
|
75
|
+
<Tab className={styles.tab}>{t('myLists', 'My lists')}</Tab>
|
|
76
|
+
<Tab className={styles.tab}>{t('allLists', 'All lists')}</Tab>
|
|
77
|
+
</TabList>
|
|
78
|
+
</Tabs>
|
|
79
|
+
<div className={styles.listsTableContainer}>
|
|
80
|
+
<ListsTable
|
|
81
|
+
error={error}
|
|
82
|
+
headers={tableHeaders}
|
|
83
|
+
isLoading={isLoading}
|
|
84
|
+
key={patientListFilter.label}
|
|
85
|
+
listType={patientListFilter.label}
|
|
86
|
+
patientLists={patientLists}
|
|
87
|
+
refetch={mutate}
|
|
88
|
+
/>
|
|
89
|
+
</div>
|
|
101
90
|
</div>
|
|
102
91
|
</section>
|
|
103
92
|
<section>
|
|
@@ -6,26 +6,23 @@
|
|
|
6
6
|
margin: layout.$spacing-05 0;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.newListButton {
|
|
10
|
-
width: fit-content;
|
|
11
|
-
height: fit-content;
|
|
12
|
-
margin: 1rem 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
9
|
.dashboardContainer {
|
|
16
10
|
display: flex;
|
|
17
11
|
background-color: $ui-02;
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
.dashboard {
|
|
21
|
-
height: 100%;
|
|
22
15
|
width: 100%;
|
|
23
16
|
background-color: $ui-02;
|
|
24
17
|
height: calc(100vh - layout.$spacing-09);
|
|
25
18
|
}
|
|
26
19
|
|
|
20
|
+
.tabsContainer {
|
|
21
|
+
margin: layout.$spacing-05 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
27
24
|
.tabs {
|
|
28
|
-
grid-column:
|
|
25
|
+
grid-column: span 2;
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
.tablist {
|
|
@@ -269,19 +269,22 @@ function useStarredLists() {
|
|
|
269
269
|
setStarredLists(starredPatientLists.split(','));
|
|
270
270
|
}, [currentUser?.userProperties?.starredPatientLists, setStarredLists]);
|
|
271
271
|
|
|
272
|
-
const updateUserProperties = (
|
|
273
|
-
|
|
274
|
-
|
|
272
|
+
const updateUserProperties = useCallback(
|
|
273
|
+
(newStarredLists: Array<string>) => {
|
|
274
|
+
const starredPatientLists = newStarredLists.join(',');
|
|
275
|
+
const userProperties = { ...(currentUser?.userProperties ?? {}), starredPatientLists };
|
|
275
276
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
277
|
+
starPatientList(currentUser?.uuid, userProperties).catch(() => {
|
|
278
|
+
setInitialStarredLists();
|
|
279
|
+
showSnackbar({
|
|
280
|
+
subtitle: t('starringPatientListFailed', 'Marking patient lists starred / unstarred failed'),
|
|
281
|
+
kind: 'error',
|
|
282
|
+
title: 'Failed to update patient lists',
|
|
283
|
+
});
|
|
282
284
|
});
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
+
},
|
|
286
|
+
[currentUser?.userProperties, currentUser?.uuid, setInitialStarredLists, t],
|
|
287
|
+
);
|
|
285
288
|
|
|
286
289
|
/**
|
|
287
290
|
* Handles toggling the starred list
|
package/translations/am.json
CHANGED
|
@@ -47,11 +47,10 @@
|
|
|
47
47
|
"newPatientListNameLabel": "List name",
|
|
48
48
|
"nextPage": "Next page",
|
|
49
49
|
"noMatchingLists": "No matching lists to display",
|
|
50
|
+
"noMatchingListsFound": "No matching lists found",
|
|
50
51
|
"noMatchingPatients": "No matching patients to display",
|
|
51
52
|
"noOfPatients": "No. of patients",
|
|
52
|
-
"noPatientListFound": "No patient list found",
|
|
53
53
|
"noPatientsInList": "There are no patients in this list",
|
|
54
|
-
"offlinePatients": "Offline patients",
|
|
55
54
|
"openPatientList": "Add to list",
|
|
56
55
|
"patientListMemberCount_one": "This list has {{count}} patient",
|
|
57
56
|
"patientListMemberCount_other": "This list has {{count}} patients",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"successfullyAdded": "Successfully added",
|
|
78
77
|
"systemDefined": "system-defined",
|
|
79
78
|
"systemLists": "System lists",
|
|
79
|
+
"trySearchingForADifferentList": "Try searching for a different list",
|
|
80
80
|
"unstarList": "Unstar list",
|
|
81
81
|
"updated": "Updated",
|
|
82
82
|
"userDefined": "user-defined"
|
package/translations/ar.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"errorUpdatingList": "Error updating list",
|
|
32
32
|
"identifier": "المعرف",
|
|
33
33
|
"items": "العناصر",
|
|
34
|
-
"itemsDisplayed": "{{numberOfItemsDisplayed}}
|
|
34
|
+
"itemsDisplayed": "{{numberOfItemsDisplayed}} العناصر",
|
|
35
35
|
"listCreated": "List created successfully",
|
|
36
36
|
"listDescriptionPlaceholder": "مثل: المرضى الذين تم تشخيصهم بالربو والذين قد يكونون على استعداد للمشاركة في دراسة جامعية",
|
|
37
37
|
"listName": "اسم القائمة",
|
|
@@ -47,11 +47,10 @@
|
|
|
47
47
|
"newPatientListNameLabel": "اسم القائمة",
|
|
48
48
|
"nextPage": "الصفحة التالية",
|
|
49
49
|
"noMatchingLists": "No matching lists to display",
|
|
50
|
+
"noMatchingListsFound": "No matching lists found",
|
|
50
51
|
"noMatchingPatients": "No matching patients to display",
|
|
51
52
|
"noOfPatients": "عدد المرضى",
|
|
52
|
-
"noPatientListFound": "لم يتم العثور على قائمة المرضى",
|
|
53
53
|
"noPatientsInList": "There are no patients in this list",
|
|
54
|
-
"offlinePatients": "المرضى غير المتصلين",
|
|
55
54
|
"openPatientList": "أضف إلى القائمة",
|
|
56
55
|
"patientListMemberCount_one": "This list has {{count}} patient",
|
|
57
56
|
"patientListMemberCount_other": "This list has {{count}} patients",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"successfullyAdded": "تمت الإضافة بنجاح",
|
|
78
77
|
"systemDefined": "معرف من النظام",
|
|
79
78
|
"systemLists": "قوائم النظام",
|
|
79
|
+
"trySearchingForADifferentList": "Try searching for a different list",
|
|
80
80
|
"unstarList": "Unstar list",
|
|
81
81
|
"updated": "Updated",
|
|
82
82
|
"userDefined": "معرف من المستخدم"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addPatientToList": "Add patient to list",
|
|
4
|
+
"addToList": "Add to list",
|
|
5
|
+
"allLists": "All lists",
|
|
6
|
+
"backToListsPage": "Back to lists page",
|
|
7
|
+
"cancel": "Cancel",
|
|
8
|
+
"checkFilters": "Check the filters above",
|
|
9
|
+
"configureList": "Configure your patient list using the fields below",
|
|
10
|
+
"confirmDeletePatientList": "Are you sure you want to delete this patient list?",
|
|
11
|
+
"created": "Created",
|
|
12
|
+
"createdOn": "Created on",
|
|
13
|
+
"createList": "Create list",
|
|
14
|
+
"createNewPatientList": "Create new patient list",
|
|
15
|
+
"createPatientList": "Create patient list",
|
|
16
|
+
"deleted": "Deleted",
|
|
17
|
+
"deletedPatientList": "Deleted patient list",
|
|
18
|
+
"deletePatientList": "Delete patient list",
|
|
19
|
+
"editList": "Edit list",
|
|
20
|
+
"editNameDescription": "Edit name or description",
|
|
21
|
+
"editPatientListHeader": "Edit patient list",
|
|
22
|
+
"emptyList": "This list has no patients",
|
|
23
|
+
"emptyStateIllustration": "Empty state illustration",
|
|
24
|
+
"emptyStateText": "There are no {{listType}} patient lists to display",
|
|
25
|
+
"error": "Error",
|
|
26
|
+
"errorAddPatientToList": "Patient not added to list",
|
|
27
|
+
"errorCopy": "Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.",
|
|
28
|
+
"errorCreatingList": "Error creating list",
|
|
29
|
+
"errorDeletingList": "Error deleting patient list",
|
|
30
|
+
"errorRemovingPatientFromList": "Failed to remove patient from list",
|
|
31
|
+
"errorUpdatingList": "Error updating list",
|
|
32
|
+
"identifier": "Identifier",
|
|
33
|
+
"items": "items",
|
|
34
|
+
"itemsDisplayed": "{{numberOfItemsDisplayed}} items",
|
|
35
|
+
"listCreated": "List created successfully",
|
|
36
|
+
"listDescriptionPlaceholder": "e.g. Patients with diagnosed asthma who may be willing to be a part of a university research study",
|
|
37
|
+
"listName": "List name",
|
|
38
|
+
"listNamePlaceholder": "e.g. Potential research participants",
|
|
39
|
+
"listType": "List type",
|
|
40
|
+
"listUpdated": "List updated successfully",
|
|
41
|
+
"listUpToDate": "The list is now up to date",
|
|
42
|
+
"myLists": "My lists",
|
|
43
|
+
"name": "Name",
|
|
44
|
+
"newList": "New list",
|
|
45
|
+
"newPatientListDescriptionLabel": "Describe the purpose of this list in a few words",
|
|
46
|
+
"newPatientListHeader": "New patient list",
|
|
47
|
+
"newPatientListNameLabel": "List name",
|
|
48
|
+
"nextPage": "Next page",
|
|
49
|
+
"noMatchingLists": "No matching lists to display",
|
|
50
|
+
"noMatchingListsFound": "No matching lists found",
|
|
51
|
+
"noMatchingPatients": "No matching patients to display",
|
|
52
|
+
"noOfPatients": "No. of patients",
|
|
53
|
+
"noPatientsInList": "There are no patients in this list",
|
|
54
|
+
"openPatientList": "Add to list",
|
|
55
|
+
"patientListMemberCount_one": "This list has {{count}} patient",
|
|
56
|
+
"patientListMemberCount_other": "This list has {{count}} patients",
|
|
57
|
+
"patientLists": "Patient lists",
|
|
58
|
+
"patientRemovedFromList": "Patient removed from list",
|
|
59
|
+
"patients": "patients",
|
|
60
|
+
"previousPage": "Previous page",
|
|
61
|
+
"problemCreatingList": "There was a problem creating the list",
|
|
62
|
+
"problemUpdatingList": "There was a problem updating the list",
|
|
63
|
+
"removeFromList": "Remove from list",
|
|
64
|
+
"removePatientFromListConfirmation": "Are you sure you want to remove {{patientName}} from this list?",
|
|
65
|
+
"searchForAListToAddThisPatientTo": "Search for a list to add this patient to.",
|
|
66
|
+
"searchForList": "Search for a list",
|
|
67
|
+
"searchThisList": "Search this list",
|
|
68
|
+
"sex": "Sex",
|
|
69
|
+
"starList": "Star list",
|
|
70
|
+
"starred": "starred",
|
|
71
|
+
"starredLists": "Starred lists",
|
|
72
|
+
"starringPatientListFailed": "Marking patient lists starred / unstarred failed",
|
|
73
|
+
"startDate": "Start Date",
|
|
74
|
+
"submitting": "Submitting",
|
|
75
|
+
"successAddPatientToList": "Patient added to list",
|
|
76
|
+
"successfullyAdded": "Successfully added",
|
|
77
|
+
"systemDefined": "system-defined",
|
|
78
|
+
"systemLists": "System lists",
|
|
79
|
+
"trySearchingForADifferentList": "Try searching for a different list",
|
|
80
|
+
"unstarList": "Unstar list",
|
|
81
|
+
"updated": "Updated",
|
|
82
|
+
"userDefined": "user-defined"
|
|
83
|
+
}
|
package/translations/es.json
CHANGED
|
@@ -47,11 +47,10 @@
|
|
|
47
47
|
"newPatientListNameLabel": "Nombre de la lista",
|
|
48
48
|
"nextPage": "Siguiente página",
|
|
49
49
|
"noMatchingLists": "No matching lists to display",
|
|
50
|
+
"noMatchingListsFound": "No se encontraron listas que coincidan",
|
|
50
51
|
"noMatchingPatients": "No matching patients to display",
|
|
51
52
|
"noOfPatients": "N.º de pacientes",
|
|
52
|
-
"noPatientListFound": "No se encontraron listas de pacientes",
|
|
53
53
|
"noPatientsInList": "There are no patients in this list",
|
|
54
|
-
"offlinePatients": "Pacientes sin conexión",
|
|
55
54
|
"openPatientList": "Agregar a la lista",
|
|
56
55
|
"patientListMemberCount_one": "This list has {{count}} patient",
|
|
57
56
|
"patientListMemberCount_other": "This list has {{count}} patients",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"successfullyAdded": "Agregado correctamente",
|
|
78
77
|
"systemDefined": "definida por el sistema",
|
|
79
78
|
"systemLists": "Listas del sistema",
|
|
79
|
+
"trySearchingForADifferentList": "Intente buscar una lista diferente",
|
|
80
80
|
"unstarList": "Unstar list",
|
|
81
81
|
"updated": "Updated",
|
|
82
82
|
"userDefined": "definida por el usuario"
|
package/translations/fr.json
CHANGED
|
@@ -47,11 +47,10 @@
|
|
|
47
47
|
"newPatientListNameLabel": "Nom de la liste",
|
|
48
48
|
"nextPage": "Page suivante",
|
|
49
49
|
"noMatchingLists": "Aucun liste à afficher",
|
|
50
|
+
"noMatchingListsFound": "Aucune liste correspondante n'a été trouvée",
|
|
50
51
|
"noMatchingPatients": "Aucun patient correspondant à afficher",
|
|
51
52
|
"noOfPatients": "Nombre de patients",
|
|
52
|
-
"noPatientListFound": "Aucune liste de patients trouvée",
|
|
53
53
|
"noPatientsInList": "Il n'y a pas de patient dans cette liste",
|
|
54
|
-
"offlinePatients": "Patients hors ligne",
|
|
55
54
|
"openPatientList": "Ajouter à la liste",
|
|
56
55
|
"patientListMemberCount_one": "Cette liste a {{count}} patient",
|
|
57
56
|
"patientListMemberCount_other": "Cette liste a {{count}} patients",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"successfullyAdded": "Ajouté avec succès",
|
|
78
77
|
"systemDefined": "définie par le système",
|
|
79
78
|
"systemLists": "Listes du système",
|
|
79
|
+
"trySearchingForADifferentList": "Essayez de rechercher une autre liste",
|
|
80
80
|
"unstarList": "Enlever comme étoilée",
|
|
81
81
|
"updated": "Mis à jour",
|
|
82
82
|
"userDefined": "définie par I'utilisateur"
|
package/translations/he.json
CHANGED
|
@@ -47,11 +47,10 @@
|
|
|
47
47
|
"newPatientListNameLabel": "שם הרשימה",
|
|
48
48
|
"nextPage": "עמוד הבא",
|
|
49
49
|
"noMatchingLists": "אין רשימות תואמות להצגה",
|
|
50
|
+
"noMatchingListsFound": "לא נמצאו רשימות מתאימות",
|
|
50
51
|
"noMatchingPatients": "אין מטופלים תואמים להצגה",
|
|
51
52
|
"noOfPatients": "מספר מטופלים",
|
|
52
|
-
"noPatientListFound": "לא נמצאה רשימת מטופלים",
|
|
53
53
|
"noPatientsInList": "אין מטופלים ברשימה זו",
|
|
54
|
-
"offlinePatients": "מטופלים במצב לא מקוון",
|
|
55
54
|
"openPatientList": "הוסף לרשימה",
|
|
56
55
|
"patientListMemberCount_one": "ברשימה זו יש {{count}} מטופל",
|
|
57
56
|
"patientListMemberCount_other": "ברשימה זו יש {{count}} מטופלים",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"successfullyAdded": "נוסף בהצלחה",
|
|
78
77
|
"systemDefined": "הוגדר על ידי המערכת",
|
|
79
78
|
"systemLists": "רשימות מערכת",
|
|
79
|
+
"trySearchingForADifferentList": "נא לנסות לחפש רשימה אחרת",
|
|
80
80
|
"unstarList": "Unstar list",
|
|
81
81
|
"updated": "עודכן",
|
|
82
82
|
"userDefined": "הוגדר על ידי המשתמש"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addPatientToList": "Add patient to list",
|
|
4
|
+
"addToList": "Add to list",
|
|
5
|
+
"allLists": "All lists",
|
|
6
|
+
"backToListsPage": "Back to lists page",
|
|
7
|
+
"cancel": "Cancel",
|
|
8
|
+
"checkFilters": "Check the filters above",
|
|
9
|
+
"configureList": "Configure your patient list using the fields below",
|
|
10
|
+
"confirmDeletePatientList": "Are you sure you want to delete this patient list?",
|
|
11
|
+
"created": "Created",
|
|
12
|
+
"createdOn": "Created on",
|
|
13
|
+
"createList": "Create list",
|
|
14
|
+
"createNewPatientList": "Create new patient list",
|
|
15
|
+
"createPatientList": "Create patient list",
|
|
16
|
+
"deleted": "Deleted",
|
|
17
|
+
"deletedPatientList": "Deleted patient list",
|
|
18
|
+
"deletePatientList": "Delete patient list",
|
|
19
|
+
"editList": "Edit list",
|
|
20
|
+
"editNameDescription": "Edit name or description",
|
|
21
|
+
"editPatientListHeader": "Edit patient list",
|
|
22
|
+
"emptyList": "This list has no patients",
|
|
23
|
+
"emptyStateIllustration": "Empty state illustration",
|
|
24
|
+
"emptyStateText": "There are no {{listType}} patient lists to display",
|
|
25
|
+
"error": "Error",
|
|
26
|
+
"errorAddPatientToList": "Patient not added to list",
|
|
27
|
+
"errorCopy": "Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.",
|
|
28
|
+
"errorCreatingList": "Error creating list",
|
|
29
|
+
"errorDeletingList": "Error deleting patient list",
|
|
30
|
+
"errorRemovingPatientFromList": "Failed to remove patient from list",
|
|
31
|
+
"errorUpdatingList": "Error updating list",
|
|
32
|
+
"identifier": "Identifier",
|
|
33
|
+
"items": "items",
|
|
34
|
+
"itemsDisplayed": "{{numberOfItemsDisplayed}} items",
|
|
35
|
+
"listCreated": "List created successfully",
|
|
36
|
+
"listDescriptionPlaceholder": "e.g. Patients with diagnosed asthma who may be willing to be a part of a university research study",
|
|
37
|
+
"listName": "List name",
|
|
38
|
+
"listNamePlaceholder": "e.g. Potential research participants",
|
|
39
|
+
"listType": "List type",
|
|
40
|
+
"listUpdated": "List updated successfully",
|
|
41
|
+
"listUpToDate": "The list is now up to date",
|
|
42
|
+
"myLists": "My lists",
|
|
43
|
+
"name": "Name",
|
|
44
|
+
"newList": "New list",
|
|
45
|
+
"newPatientListDescriptionLabel": "Describe the purpose of this list in a few words",
|
|
46
|
+
"newPatientListHeader": "New patient list",
|
|
47
|
+
"newPatientListNameLabel": "List name",
|
|
48
|
+
"nextPage": "Next page",
|
|
49
|
+
"noMatchingLists": "No matching lists to display",
|
|
50
|
+
"noMatchingListsFound": "No matching lists found",
|
|
51
|
+
"noMatchingPatients": "No matching patients to display",
|
|
52
|
+
"noOfPatients": "No. of patients",
|
|
53
|
+
"noPatientsInList": "There are no patients in this list",
|
|
54
|
+
"openPatientList": "Add to list",
|
|
55
|
+
"patientListMemberCount_one": "This list has {{count}} patient",
|
|
56
|
+
"patientListMemberCount_other": "This list has {{count}} patients",
|
|
57
|
+
"patientLists": "Patient lists",
|
|
58
|
+
"patientRemovedFromList": "Patient removed from list",
|
|
59
|
+
"patients": "patients",
|
|
60
|
+
"previousPage": "Previous page",
|
|
61
|
+
"problemCreatingList": "There was a problem creating the list",
|
|
62
|
+
"problemUpdatingList": "There was a problem updating the list",
|
|
63
|
+
"removeFromList": "Remove from list",
|
|
64
|
+
"removePatientFromListConfirmation": "Are you sure you want to remove {{patientName}} from this list?",
|
|
65
|
+
"searchForAListToAddThisPatientTo": "Search for a list to add this patient to.",
|
|
66
|
+
"searchForList": "Search for a list",
|
|
67
|
+
"searchThisList": "Search this list",
|
|
68
|
+
"sex": "Sex",
|
|
69
|
+
"starList": "Star list",
|
|
70
|
+
"starred": "starred",
|
|
71
|
+
"starredLists": "Starred lists",
|
|
72
|
+
"starringPatientListFailed": "Marking patient lists starred / unstarred failed",
|
|
73
|
+
"startDate": "Start Date",
|
|
74
|
+
"submitting": "Submitting",
|
|
75
|
+
"successAddPatientToList": "Patient added to list",
|
|
76
|
+
"successfullyAdded": "Successfully added",
|
|
77
|
+
"systemDefined": "system-defined",
|
|
78
|
+
"systemLists": "System lists",
|
|
79
|
+
"trySearchingForADifferentList": "Try searching for a different list",
|
|
80
|
+
"unstarList": "Unstar list",
|
|
81
|
+
"updated": "Updated",
|
|
82
|
+
"userDefined": "user-defined"
|
|
83
|
+
}
|