@openmrs/esm-service-queues-app 5.0.1-pre.2087
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 +40 -0
- package/LICENSE.md +401 -0
- package/README.md +23 -0
- package/__mocks__/active-visits.mock.ts +97 -0
- package/__mocks__/appointments-data.mock.ts +283 -0
- package/__mocks__/search.mock.ts +35 -0
- package/__mocks__/visits.mock.ts +42 -0
- package/dist/121.js +1 -0
- package/dist/121.js.map +1 -0
- package/dist/130.js +2 -0
- package/dist/130.js.LICENSE.txt +5 -0
- package/dist/130.js.map +1 -0
- package/dist/176.js +1 -0
- package/dist/176.js.map +1 -0
- package/dist/227.js +1 -0
- package/dist/227.js.map +1 -0
- package/dist/242.js +1 -0
- package/dist/242.js.map +1 -0
- package/dist/252.js +1 -0
- package/dist/252.js.map +1 -0
- package/dist/286.js +1 -0
- package/dist/286.js.map +1 -0
- package/dist/308.js +1 -0
- package/dist/308.js.map +1 -0
- package/dist/319.js +1 -0
- package/dist/328.js +1 -0
- package/dist/328.js.map +1 -0
- package/dist/330.js +1 -0
- package/dist/330.js.map +1 -0
- package/dist/364.js +1 -0
- package/dist/364.js.map +1 -0
- package/dist/425.js +1 -0
- package/dist/425.js.map +1 -0
- package/dist/457.js +1 -0
- package/dist/457.js.map +1 -0
- package/dist/469.js +1 -0
- package/dist/469.js.map +1 -0
- package/dist/521.js +1 -0
- package/dist/521.js.map +1 -0
- package/dist/53.js +1 -0
- package/dist/53.js.map +1 -0
- package/dist/574.js +1 -0
- package/dist/591.js +2 -0
- package/dist/591.js.LICENSE.txt +32 -0
- package/dist/591.js.map +1 -0
- package/dist/610.js +1 -0
- package/dist/610.js.map +1 -0
- package/dist/611.js +1 -0
- package/dist/611.js.map +1 -0
- package/dist/616.js +1 -0
- package/dist/616.js.map +1 -0
- package/dist/644.js +1 -0
- package/dist/644.js.map +1 -0
- package/dist/670.js +2 -0
- package/dist/670.js.LICENSE.txt +57 -0
- package/dist/670.js.map +1 -0
- package/dist/733.js +1 -0
- package/dist/733.js.map +1 -0
- package/dist/757.js +1 -0
- package/dist/764.js +1 -0
- package/dist/764.js.map +1 -0
- package/dist/766.js +1 -0
- package/dist/766.js.map +1 -0
- package/dist/784.js +2 -0
- package/dist/784.js.LICENSE.txt +9 -0
- package/dist/784.js.map +1 -0
- package/dist/788.js +1 -0
- package/dist/807.js +1 -0
- package/dist/833.js +1 -0
- package/dist/86.js +1 -0
- package/dist/86.js.map +1 -0
- package/dist/981.js +1 -0
- package/dist/981.js.map +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -0
- package/dist/openmrs-esm-service-queues-app.js +1 -0
- package/dist/openmrs-esm-service-queues-app.js.buildmanifest.json +930 -0
- package/dist/openmrs-esm-service-queues-app.js.map +1 -0
- package/dist/routes.json +1 -0
- package/jest.config.js +3 -0
- package/package.json +53 -0
- package/src/active-visits/active-visits-tab.component.tsx +71 -0
- package/src/active-visits/active-visits-tab.test.tsx +19 -0
- package/src/active-visits/active-visits-table.component.tsx +543 -0
- package/src/active-visits/active-visits-table.resource.ts +443 -0
- package/src/active-visits/active-visits-table.scss +271 -0
- package/src/active-visits/active-visits-table.test.tsx +131 -0
- package/src/active-visits/change-status-dialog.component.tsx +233 -0
- package/src/active-visits/change-status-dialog.scss +32 -0
- package/src/active-visits/change-status-dialog.test.tsx +107 -0
- package/src/add-patient-toqueue/add-patient-toqueue-dialog.component.tsx +218 -0
- package/src/add-patient-toqueue/add-patient-toqueue-dialog.scss +32 -0
- package/src/add-provider-queue-room/add-provider-queue-room.component.tsx +236 -0
- package/src/add-provider-queue-room/add-provider-queue-room.resource.tsx +76 -0
- package/src/add-provider-queue-room/add-provider-queue-room.scss +17 -0
- package/src/add-provider-queue-room/add-provider-queue-room.test.tsx +98 -0
- package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.component.tsx +74 -0
- package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.resource.tsx +46 -0
- package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.scss +15 -0
- package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.test.tsx +42 -0
- package/src/clear-queue-entries-dialog/clear-queue-entries.component.tsx +36 -0
- package/src/config-schema.ts +177 -0
- package/src/constants.ts +7 -0
- package/src/createDashboardLink.tsx +35 -0
- package/src/current-visit/current-visit-summary.component.tsx +38 -0
- package/src/current-visit/current-visit-summary.test.tsx +47 -0
- package/src/current-visit/current-visit.resource.ts +84 -0
- package/src/current-visit/current-visit.scss +34 -0
- package/src/current-visit/hooks/useVitalsConceptMetadata.tsx +101 -0
- package/src/current-visit/visit-details/biometrics-config-schema.ts +14 -0
- package/src/current-visit/visit-details/current-visit-details.component.tsx +96 -0
- package/src/current-visit/visit-details/triage-note.component.tsx +53 -0
- package/src/current-visit/visit-details/triage-note.scss +89 -0
- package/src/current-visit/visit-details/vitals-config-schema.ts +17 -0
- package/src/current-visit/visit-details/vitals.component.tsx +164 -0
- package/src/dashboard.meta.ts +5 -0
- package/src/declarations.d.ts +2 -0
- package/src/helpers/functions.ts +67 -0
- package/src/helpers/helpers.ts +170 -0
- package/src/helpers/time-helpers.ts +15 -0
- package/src/home.component.tsx +29 -0
- package/src/home.test.tsx +58 -0
- package/src/index.ts +100 -0
- package/src/overlay.component.tsx +46 -0
- package/src/overlay.scss +96 -0
- package/src/overlay.test.tsx +49 -0
- package/src/past-visit/past-visit-details/encounter-list.component.tsx +51 -0
- package/src/past-visit/past-visit-details/medications-list.component.tsx +95 -0
- package/src/past-visit/past-visit-details/notes-list.component.tsx +40 -0
- package/src/past-visit/past-visit-details/past-visit-summary.component.tsx +172 -0
- package/src/past-visit/past-visit-details/past-visit-summary.scss +58 -0
- package/src/past-visit/past-visit.component.tsx +37 -0
- package/src/past-visit/past-visit.resource.ts +83 -0
- package/src/past-visit/past-visit.scss +126 -0
- package/src/past-visit/past-visit.test.tsx +41 -0
- package/src/patient-info/appointment-details.component.tsx +98 -0
- package/src/patient-info/appointment-details.scss +34 -0
- package/src/patient-info/appointment-details.test.tsx +36 -0
- package/src/patient-info/appointments.resource.tsx +43 -0
- package/src/patient-info/contact-details.component.tsx +71 -0
- package/src/patient-info/contact-details.scss +31 -0
- package/src/patient-info/contact-details.test.tsx +94 -0
- package/src/patient-info/hooks/usePatientAttributes.tsx +42 -0
- package/src/patient-info/patient-info.component.tsx +78 -0
- package/src/patient-info/patient-info.scss +60 -0
- package/src/patient-info/patient-info.test.tsx +45 -0
- package/src/patient-queue-header/patient-queue-header.component.tsx +64 -0
- package/src/patient-queue-header/patient-queue-header.scss +88 -0
- package/src/patient-queue-header/patient-queue-illustration.component.tsx +22 -0
- package/src/patient-queue-metrics/clinic-metrics.component.tsx +93 -0
- package/src/patient-queue-metrics/clinic-metrics.resource.tsx +51 -0
- package/src/patient-queue-metrics/clinic-metrics.scss +11 -0
- package/src/patient-queue-metrics/clinic-metrics.test.tsx +87 -0
- package/src/patient-queue-metrics/metrics-card.component.tsx +64 -0
- package/src/patient-queue-metrics/metrics-card.scss +80 -0
- package/src/patient-queue-metrics/metrics-header.component.tsx +74 -0
- package/src/patient-queue-metrics/metrics-header.scss +22 -0
- package/src/patient-queue-metrics/queue-metrics.resource.ts +54 -0
- package/src/patient-search/advanced-search.component.tsx +190 -0
- package/src/patient-search/advanced-search.scss +154 -0
- package/src/patient-search/advanced-search.test.tsx +29 -0
- package/src/patient-search/basic-search.component.tsx +112 -0
- package/src/patient-search/basic-search.scss +139 -0
- package/src/patient-search/basic-search.test.tsx +23 -0
- package/src/patient-search/empty-data-illustration.component.tsx +41 -0
- package/src/patient-search/hooks/useActivePatientEnrollment.tsx +29 -0
- package/src/patient-search/hooks/useDefaultLocation.tsx +14 -0
- package/src/patient-search/hooks/usePatients.tsx +25 -0
- package/src/patient-search/hooks/useQueueLocations.tsx +20 -0
- package/src/patient-search/hooks/useRecommendedVisitTypes.tsx +36 -0
- package/src/patient-search/hooks/useScheduledVisits.tsx +50 -0
- package/src/patient-search/patient-scheduled-visits.component.tsx +350 -0
- package/src/patient-search/patient-scheduled-visits.scss +131 -0
- package/src/patient-search/patient-scheduled-visits.test.tsx +55 -0
- package/src/patient-search/patient-search.component.tsx +64 -0
- package/src/patient-search/search-illustration.component.tsx +27 -0
- package/src/patient-search/search-results.component.tsx +75 -0
- package/src/patient-search/search-results.scss +80 -0
- package/src/patient-search/search-results.test.tsx +77 -0
- package/src/patient-search/search.resource.ts +10 -0
- package/src/patient-search/visit-form/base-visit-type.component.tsx +82 -0
- package/src/patient-search/visit-form/base-visit-type.scss +100 -0
- package/src/patient-search/visit-form/base-visit-type.test.tsx +41 -0
- package/src/patient-search/visit-form/queue.resource.ts +73 -0
- package/src/patient-search/visit-form/recommended-visit-type.component.tsx +38 -0
- package/src/patient-search/visit-form/visit-form.component.tsx +366 -0
- package/src/patient-search/visit-form/visit-form.scss +96 -0
- package/src/patient-search/visit-form-queue-fields/visit-form-queue-fields.component.tsx +160 -0
- package/src/patient-search/visit-form-queue-fields/visit-form-queue-fields.scss +21 -0
- package/src/patient-search/visit-form-queue-fields/visit-form-queue-fields.test.tsx +67 -0
- package/src/queue-entry-table-components/actions-menu.component.tsx +51 -0
- package/src/queue-entry-table-components/actions-menu.scss +3 -0
- package/src/queue-entry-table-components/edit-entry.component.tsx +28 -0
- package/src/queue-entry-table-components/edit-entry.scss +14 -0
- package/src/queue-entry-table-components/open-chart.component.tsx +33 -0
- package/src/queue-entry-table-components/open-chart.resource.tsx +14 -0
- package/src/queue-entry-table-components/open-chart.scss +14 -0
- package/src/queue-entry-table-components/status-icon.component.tsx +17 -0
- package/src/queue-entry-table-components/transition-entry.component.tsx +53 -0
- package/src/queue-entry-table-components/transition-entry.scss +22 -0
- package/src/queue-patient-linelists/queue-linelist-base-table.component.tsx +230 -0
- package/src/queue-patient-linelists/queue-linelist-base-table.scss +110 -0
- package/src/queue-patient-linelists/queue-linelist-base-table.test.tsx +118 -0
- package/src/queue-patient-linelists/queue-linelist-filter.component.tsx +172 -0
- package/src/queue-patient-linelists/queue-linelist-filter.scss +63 -0
- package/src/queue-patient-linelists/queue-linelist-filter.test.tsx +76 -0
- package/src/queue-patient-linelists/queue-linelist.component.tsx +29 -0
- package/src/queue-patient-linelists/queue-linelist.resource.tsx +84 -0
- package/src/queue-patient-linelists/queue-linelist.test.tsx +22 -0
- package/src/queue-patient-linelists/queue-services-table.component.tsx +63 -0
- package/src/queue-patient-linelists/scheduled-appointments-table.component.tsx +300 -0
- package/src/queue-patient-linelists/scheduled-appointments-table.test.tsx +42 -0
- package/src/queue-rooms/queue-room-form.component.tsx +168 -0
- package/src/queue-rooms/queue-room-form.test.tsx +65 -0
- package/src/queue-rooms/queue-room.resource.tsx +20 -0
- package/src/queue-rooms/queue-room.scss +58 -0
- package/src/queue-screen/queue-screen.component.tsx +47 -0
- package/src/queue-screen/queue-screen.scss +39 -0
- package/src/queue-screen/queue-screen.test.tsx +47 -0
- package/src/queue-screen/useActiveTickets.tsx +13 -0
- package/src/queue-services/queue-service-form.component.tsx +183 -0
- package/src/queue-services/queue-service-form.test.tsx +56 -0
- package/src/queue-services/queue-service.resource.tsx +38 -0
- package/src/queue-services/queue-service.scss +54 -0
- package/src/remove-queue-entry-dialog/remove-queue-entry.component.tsx +95 -0
- package/src/remove-queue-entry-dialog/remove-queue-entry.resource.tsx +93 -0
- package/src/remove-queue-entry-dialog/remove-queue-entry.scss +8 -0
- package/src/remove-queue-entry-dialog/remove-queue-entry.test.tsx +44 -0
- package/src/root.component.tsx +28 -0
- package/src/root.scss +15 -0
- package/src/root.test.tsx +28 -0
- package/src/routes.json +91 -0
- package/src/side-menu/nav-group/createNavGroup.tsx +17 -0
- package/src/side-menu/nav-group/nav-group.component.tsx +24 -0
- package/src/side-menu/nav-group/nav-group.test.tsx +32 -0
- package/src/side-menu/nav-group/nav-group.ts +10 -0
- package/src/side-menu/side-menu.component.tsx +6 -0
- package/src/side-menu/side-menu.test.tsx +17 -0
- package/src/transition-queue-entry/transition-queue-entry-dialog.component.tsx +174 -0
- package/src/transition-queue-entry/transition-queue-entry-dialog.scss +12 -0
- package/src/transition-queue-entry/transition-queue-entry-dialog.test.tsx +95 -0
- package/src/transition-queue-entry/transition-queue-entry.resource.ts +16 -0
- package/src/types/index.ts +434 -0
- package/src/visits-missing-inqueue/visits-missing-inqueue.component.tsx +298 -0
- package/src/visits-missing-inqueue/visits-missing-inqueue.resource.ts +93 -0
- package/src/visits-missing-inqueue/visits-missing-inqueue.scss +108 -0
- package/translations/am.json +258 -0
- package/translations/en.json +258 -0
- package/translations/es.json +258 -0
- package/translations/fr.json +258 -0
- package/translations/he.json +262 -0
- package/translations/km.json +258 -0
- package/tsconfig.json +5 -0
- package/webpack.config.js +1 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import useSWR from 'swr';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import isToday from 'dayjs/plugin/isToday';
|
|
4
|
+
import last from 'lodash-es/last';
|
|
5
|
+
import { openmrsFetch, Visit, useSession } from '@openmrs/esm-framework';
|
|
6
|
+
import { VisitQueueEntry } from '../active-visits/active-visits-table.resource';
|
|
7
|
+
|
|
8
|
+
dayjs.extend(isToday);
|
|
9
|
+
|
|
10
|
+
export interface ActiveVisit {
|
|
11
|
+
age: string;
|
|
12
|
+
id: string;
|
|
13
|
+
idNumber: string;
|
|
14
|
+
gender: string;
|
|
15
|
+
location: string;
|
|
16
|
+
name: string;
|
|
17
|
+
patientUuid: string;
|
|
18
|
+
visitStartTime: string;
|
|
19
|
+
visitType: string;
|
|
20
|
+
visitUuid: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function useMissingQueueEntries() {
|
|
24
|
+
const currentUserSession = useSession();
|
|
25
|
+
const startDate = dayjs().format('YYYY-MM-DD');
|
|
26
|
+
const sessionLocation = currentUserSession?.sessionLocation?.uuid;
|
|
27
|
+
|
|
28
|
+
const customRepresentation =
|
|
29
|
+
'custom:(uuid,patient:(uuid,identifiers:(identifier,uuid),person:(age,display,gender,uuid)),' +
|
|
30
|
+
'visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,' +
|
|
31
|
+
'stopDatetime)&fromStartDate=' +
|
|
32
|
+
startDate +
|
|
33
|
+
'&location=' +
|
|
34
|
+
sessionLocation;
|
|
35
|
+
const url = `/ws/rest/v1/visit?includeInactive=false&v=${customRepresentation}`;
|
|
36
|
+
const {
|
|
37
|
+
data: visitsData,
|
|
38
|
+
error: visitsError,
|
|
39
|
+
isValidating: visitsIsValidating,
|
|
40
|
+
} = useSWR<{ data: { results: Array<Visit> } }, Error>(sessionLocation ? url : null, openmrsFetch);
|
|
41
|
+
|
|
42
|
+
const apiUrl = `/ws/rest/v1/visit-queue-entry`;
|
|
43
|
+
const {
|
|
44
|
+
data: queueData,
|
|
45
|
+
error: queueError,
|
|
46
|
+
isValidating: queueIsValidating,
|
|
47
|
+
mutate: mutateQueueEntries,
|
|
48
|
+
} = useSWR<{ data: { results: Array<VisitQueueEntry> } }, Error>(apiUrl, openmrsFetch);
|
|
49
|
+
|
|
50
|
+
const byId = {};
|
|
51
|
+
queueData?.data?.results.forEach((item) => {
|
|
52
|
+
if (item?.queueEntry.patient?.uuid) {
|
|
53
|
+
byId[item?.queueEntry.patient?.uuid] = true;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const data = visitsData?.data?.results?.filter((item) => {
|
|
58
|
+
if (byId[item?.patient?.uuid]) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return true;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
const mapVisitProperties = (visit: Visit): ActiveVisit => ({
|
|
65
|
+
age: visit?.patient?.person?.age,
|
|
66
|
+
id: visit.uuid,
|
|
67
|
+
idNumber: visit?.patient?.identifiers[0]?.identifier,
|
|
68
|
+
gender: visit?.patient?.person?.gender,
|
|
69
|
+
location: visit?.location?.uuid,
|
|
70
|
+
name: visit?.patient?.person?.display,
|
|
71
|
+
patientUuid: visit?.patient?.uuid,
|
|
72
|
+
visitStartTime: visit?.startDatetime,
|
|
73
|
+
visitType: visit?.visitType?.display,
|
|
74
|
+
visitUuid: visit.uuid,
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
const formattedActiveVisits = data?.length
|
|
78
|
+
? data.map(mapVisitProperties).filter(({ visitStartTime }) => dayjs(visitStartTime).isToday())
|
|
79
|
+
: [];
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
activeVisits: formattedActiveVisits,
|
|
83
|
+
isLoading: !data && !visitsError && !queueError,
|
|
84
|
+
isError: !visitsError && !queueError,
|
|
85
|
+
visitsIsValidating,
|
|
86
|
+
mutateQueueEntries,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export const getOriginFromPathName = (pathname = '') => {
|
|
91
|
+
const from = pathname.split('/');
|
|
92
|
+
return last(from);
|
|
93
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@use '@carbon/styles/scss/spacing';
|
|
2
|
+
@use '@carbon/styles/scss/type';
|
|
3
|
+
@import '../root.scss';
|
|
4
|
+
|
|
5
|
+
.activeVisitsContainer {
|
|
6
|
+
background-color: $ui-background;
|
|
7
|
+
border: 1px solid $ui-03;
|
|
8
|
+
width: 100%;
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
max-width: 95vw;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.activeVisitsDetailHeaderContainer {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
17
|
+
padding: spacing.$spacing-04 0 spacing.$spacing-04 spacing.$spacing-05;
|
|
18
|
+
background-color: $ui-background;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.backgroundDataFetchingIndicator {
|
|
22
|
+
align-items: center;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex: 1 1 0%;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tableContainer section {
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tableContainer a {
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tableContainer {
|
|
37
|
+
:global(.cds--data-table) {
|
|
38
|
+
background-color: $ui-03;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pagination {
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.hiddenRow {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.emptyRow {
|
|
51
|
+
padding: 0 1rem;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.visitSummaryContainer {
|
|
57
|
+
width: 100%;
|
|
58
|
+
max-width: 768px;
|
|
59
|
+
margin: 1rem auto;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.expandedActiveVisitRow > td > div {
|
|
63
|
+
max-height: max-content !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.expandedActiveVisitRow td {
|
|
67
|
+
padding: 0 2rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.expandedActiveVisitRow th[colspan] td[colspan] > div:first-child {
|
|
71
|
+
padding: 0 1rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.action {
|
|
75
|
+
margin-bottom: spacing.$spacing-03;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.content {
|
|
79
|
+
@include type.type-style('heading-compact-01');
|
|
80
|
+
color: $text-02;
|
|
81
|
+
margin-top: spacing.$spacing-05;
|
|
82
|
+
margin-bottom: spacing.$spacing-03;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.desktopHeading,
|
|
86
|
+
.tabletHeading {
|
|
87
|
+
text-align: left;
|
|
88
|
+
text-transform: capitalize;
|
|
89
|
+
margin-bottom: spacing.$spacing-05;
|
|
90
|
+
|
|
91
|
+
h4 {
|
|
92
|
+
@include type.type-style('heading-compact-02');
|
|
93
|
+
color: $text-02;
|
|
94
|
+
|
|
95
|
+
&:after {
|
|
96
|
+
content: '';
|
|
97
|
+
display: block;
|
|
98
|
+
width: 2rem;
|
|
99
|
+
padding-top: 3px;
|
|
100
|
+
border-bottom: 0.375rem solid;
|
|
101
|
+
@include brand-03(border-bottom-color);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.tile {
|
|
107
|
+
text-align: center;
|
|
108
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"activeVisits": "Active Visits",
|
|
4
|
+
"activeVisitsNotInQueue": "Active visits not in queue",
|
|
5
|
+
"addEntry": "Add entry",
|
|
6
|
+
"addisitToQueueTooltip": "Add to queue",
|
|
7
|
+
"addNewQueue": "Add new queue",
|
|
8
|
+
"addNewQueueRoom": "Add new queue room",
|
|
9
|
+
"addNewQueueService": "Add new queue service",
|
|
10
|
+
"addNewQueueServiceRoom": "Add new queue service room",
|
|
11
|
+
"addNewService": "Add new service",
|
|
12
|
+
"addNewServiceRoom": "Add new service room",
|
|
13
|
+
"addPatientToList": "Add patient to list",
|
|
14
|
+
"addPatientToQueue": "Add patient to queue",
|
|
15
|
+
"addPatientWithAppointmentToQueue": "Add patient with appointment to queue",
|
|
16
|
+
"addProviderQueueRoom": "Add provider queue room?",
|
|
17
|
+
"addQueue": "Add queue",
|
|
18
|
+
"addQueueName": "Please add a queue name",
|
|
19
|
+
"addQueueRoom": "Add queue room",
|
|
20
|
+
"addQueueRoomName": "Please add a queue room name",
|
|
21
|
+
"addQueueRoomService": "Please add a queue room service",
|
|
22
|
+
"addRoom": "Add room",
|
|
23
|
+
"addToQueue": "Add to queue",
|
|
24
|
+
"addVisitToQueue": "Add Visit To Queue?",
|
|
25
|
+
"advancedSearch": "Advanced search",
|
|
26
|
+
"age": "Age",
|
|
27
|
+
"alistOfClients": "A list of clients waiting for ",
|
|
28
|
+
"all": "All",
|
|
29
|
+
"and": "And",
|
|
30
|
+
"anotherVisitType": "Start another visit type",
|
|
31
|
+
"any": "Any",
|
|
32
|
+
"applyFilters": "Apply filters",
|
|
33
|
+
"averageWaitTime": "Average wait time today",
|
|
34
|
+
"backToScheduledVisits": "Back to scheduled visits",
|
|
35
|
+
"backToSimpleSearch": "Back to simple search",
|
|
36
|
+
"between": "Between",
|
|
37
|
+
"bmi": "Bmi",
|
|
38
|
+
"bp": "Bp",
|
|
39
|
+
"call": "Call",
|
|
40
|
+
"cancel": "Cancel",
|
|
41
|
+
"checkedInPatients": "Checked in patients",
|
|
42
|
+
"checkFilters": "Check the filters above",
|
|
43
|
+
"chooseRoom": "Select a room",
|
|
44
|
+
"chooseService": "Select a service",
|
|
45
|
+
"chooseStatus": "Select a status",
|
|
46
|
+
"clearAllQueueEntries": "Clear all queue entries?",
|
|
47
|
+
"clearAllQueueEntriesWarningMessage": "Clearing all queue entries will remove all the patients from the queues and will not allow you to fill any other encounter forms for the patients",
|
|
48
|
+
"clearQueue": "Clear queue",
|
|
49
|
+
"clinicMetrics": "Clinic metrics",
|
|
50
|
+
"configurePriorities": "Please configure priorities to continue.",
|
|
51
|
+
"configureServices": "Please configure services to continue.",
|
|
52
|
+
"configureStatus": "Please configure status to continue.",
|
|
53
|
+
"contactDetails": "Contact Details",
|
|
54
|
+
"currentVisit": "Current visit",
|
|
55
|
+
"date": "Date",
|
|
56
|
+
"dateAndTimeOfVisit": "Date and time of visit",
|
|
57
|
+
"dateOfBirth": "Date of birth",
|
|
58
|
+
"dateTime": "Date & time",
|
|
59
|
+
"discard": "Discard",
|
|
60
|
+
"dose": "Dose",
|
|
61
|
+
"editPatientDetails": "Edit patient details",
|
|
62
|
+
"encounters": "Encounters",
|
|
63
|
+
"encounterType": "Encounter type",
|
|
64
|
+
"endAgeRangeInvalid": "End age range is not valid",
|
|
65
|
+
"endDate": "End date",
|
|
66
|
+
"endVisit": "End Visit",
|
|
67
|
+
"endVisitWarningMessage": "Ending this visit will remove this patient from the queue and will not allow you to fill another encounter form for this patient",
|
|
68
|
+
"errorAddingQueue": "Error adding queue",
|
|
69
|
+
"errorAddingQueueRoom": "Error adding queue room",
|
|
70
|
+
"errorClearingQueues": "Error clearing queues",
|
|
71
|
+
"errorFetchingAppoinments": "Error fetching appointments",
|
|
72
|
+
"errorPostingToScreen": "Error posting to screen",
|
|
73
|
+
"facility": "Facility",
|
|
74
|
+
"female": "Female",
|
|
75
|
+
"femaleLabelText": "Female",
|
|
76
|
+
"fields": "of the following fields",
|
|
77
|
+
"filter": "Filter (1)",
|
|
78
|
+
"filters": "Filters",
|
|
79
|
+
"filterTable": "Filter table",
|
|
80
|
+
"firstName": "First name",
|
|
81
|
+
"firstNameSort": "First name (a-z)",
|
|
82
|
+
"futureScheduledVisits": "{count} visit(s) scheduled for dates in the future",
|
|
83
|
+
"futureScheduledVisits_plural": "{count} visit(s) scheduled for dates in the future",
|
|
84
|
+
"gender": "Gender",
|
|
85
|
+
"heartRate": "Heart rate",
|
|
86
|
+
"height": "Height",
|
|
87
|
+
"home": "Home",
|
|
88
|
+
"idNumber": "ID Number",
|
|
89
|
+
"indication": "Indication",
|
|
90
|
+
"InQueue": "In Queue",
|
|
91
|
+
"lastClinicalVisit": "Last clinical visit",
|
|
92
|
+
"lastEncounter": "Last encounter",
|
|
93
|
+
"lastName": "Last name",
|
|
94
|
+
"lastNameSort": "Last name (a-z)",
|
|
95
|
+
"lastVisit": "Last visit",
|
|
96
|
+
"lastVisitDate": "Date",
|
|
97
|
+
"loading": "Loading...",
|
|
98
|
+
"locationComingFrom": "Coming from",
|
|
99
|
+
"male": "Male",
|
|
100
|
+
"maleLabelText": "Male",
|
|
101
|
+
"match": "Match",
|
|
102
|
+
"medications": "Medications",
|
|
103
|
+
"middleName": "Middle name",
|
|
104
|
+
"minutes": "Minutes",
|
|
105
|
+
"missingLocation": "Missing location",
|
|
106
|
+
"missingPriority": "Please select a priority",
|
|
107
|
+
"missingQueueName": "Missing queue name",
|
|
108
|
+
"missingQueueRoom": "Please select a queue room",
|
|
109
|
+
"missingQueueRoomName": "Missing queue room name",
|
|
110
|
+
"missingQueueRoomService": "Missing queue room service",
|
|
111
|
+
"missingService": "Missing service",
|
|
112
|
+
"missingVisitType": "Missing visit type",
|
|
113
|
+
"movePatientToNextService": "Move patient to the next service?",
|
|
114
|
+
"moveToNextService": "Move to next service",
|
|
115
|
+
"name": "Name",
|
|
116
|
+
"noActiveVisitsForLocation": "There are no active visits to display for this location.",
|
|
117
|
+
"noAppointmentsFound": "No appointments found",
|
|
118
|
+
"noEncountersFound": "No encounters found",
|
|
119
|
+
"noLastEncounter": "There is no last encounter to display for this patient",
|
|
120
|
+
"noLocationsAvailable": "No locations available",
|
|
121
|
+
"noMedicationsFound": "No medications found",
|
|
122
|
+
"none": "None",
|
|
123
|
+
"noNotesFound": "No notes found",
|
|
124
|
+
"noPatientFoundMessage": "Sorry, no patient has been found",
|
|
125
|
+
"noPatientsToDisplay": "No patients to display",
|
|
126
|
+
"noPreviousVisitFound": "No previous visit found",
|
|
127
|
+
"noPrioritiesConfigured": "No priorities configured",
|
|
128
|
+
"noPriorityFound": "No priority found",
|
|
129
|
+
"noResultsFound": "No results found",
|
|
130
|
+
"noReturnDate": "There is no return date to display for this patient",
|
|
131
|
+
"noServicesAvailable": "No services available",
|
|
132
|
+
"noServicesConfigured": "No services configured",
|
|
133
|
+
"noStatusConfigured": "No status configured",
|
|
134
|
+
"notes": "Notes",
|
|
135
|
+
"NotInQueue": "Not In Queue",
|
|
136
|
+
"noVisitsNotInQueueFound": "No visits currently not in queue found",
|
|
137
|
+
"noVisitTypes": "There are no visit types to display for this patient",
|
|
138
|
+
"noVitalsFound": "No vitals found",
|
|
139
|
+
"oldest": "Oldest first",
|
|
140
|
+
"onTime": "On time",
|
|
141
|
+
"or": "Or",
|
|
142
|
+
"orderDurationAndUnit": "for {duration} {durationUnit}",
|
|
143
|
+
"orderIndefiniteDuration": "Indefinite duration",
|
|
144
|
+
"orPatientName": "OR the patient's name(s)",
|
|
145
|
+
"patientAttendingService": "Patient attending service",
|
|
146
|
+
"patientHasActiveVisit": "The patient already has an active visit",
|
|
147
|
+
"patientList": "Patient list",
|
|
148
|
+
"patientName": "Patient name",
|
|
149
|
+
"patientNotInQueue": "The patient is not in the queue",
|
|
150
|
+
"patientRequeued": "Patient has been requeued",
|
|
151
|
+
"patients": "Patients",
|
|
152
|
+
"patientsCurrentlyInQueue": "Patients currently in queue",
|
|
153
|
+
"personalDetails": "Personal details",
|
|
154
|
+
"phoneNumber": "Phone Number",
|
|
155
|
+
"placeOfResidence": "Place of Residence",
|
|
156
|
+
"postCode": "Post code",
|
|
157
|
+
"previousVisit": "Previous visit",
|
|
158
|
+
"primaryHelperText": "Search for a patient",
|
|
159
|
+
"priority": "Priority",
|
|
160
|
+
"profile": "Profile",
|
|
161
|
+
"program": "Program",
|
|
162
|
+
"provider": "Provider",
|
|
163
|
+
"quantity": "Quantity",
|
|
164
|
+
"queueAddedSuccessfully": "Queue addeded successfully",
|
|
165
|
+
"queueEntryAddedSuccessfully": "Queue Entry Added Successfully",
|
|
166
|
+
"queueEntryAddFailed": "Error adding queue entry status",
|
|
167
|
+
"queueEntryError": "Error adding patient to the queue",
|
|
168
|
+
"queueEntryRemoved": "Queue entry removed",
|
|
169
|
+
"queueEntryRemovedSuccessfully": "",
|
|
170
|
+
"queueEntryUpdateFailed": "Error updating queue entry",
|
|
171
|
+
"queueEntryUpdateSuccessfully": "Queue Entry Updated Successfully",
|
|
172
|
+
"queueLocation": "Queue Location",
|
|
173
|
+
"queueName": "Queue name",
|
|
174
|
+
"queueNumber": "QueueNumber",
|
|
175
|
+
"queuePriority": "Queue priority",
|
|
176
|
+
"queueRoom": "Queue room",
|
|
177
|
+
"queueRoomAddedSuccessfully": "Queue room addeded successfully",
|
|
178
|
+
"queueRoomAddFailed": "Error adding queue room",
|
|
179
|
+
"queueRoomName": "Queue room name",
|
|
180
|
+
"queueRoomUpdatedSuccessfully": "Queue room updated successfully",
|
|
181
|
+
"queuesClearedSuccessfully": "Queues cleared successfully",
|
|
182
|
+
"queueScreen": "Queue screen",
|
|
183
|
+
"queueService": "Queue service",
|
|
184
|
+
"queueStatus": "Queue status",
|
|
185
|
+
"recentScheduledVisits": "{count} visit(s) scheduled for +/- 7 days",
|
|
186
|
+
"recentScheduledVisits_plural": "{count} visit(s) scheduled for +/- 7 days",
|
|
187
|
+
"recommended": "Recommended",
|
|
188
|
+
"refills": "Refills",
|
|
189
|
+
"removeFromQueueAndEndVisit": "Remove patient from queue and end active visit?",
|
|
190
|
+
"removeQueueEntryError": "Error removing queue entry",
|
|
191
|
+
"requeue": "Requeue",
|
|
192
|
+
"retainLocation": "Retain location",
|
|
193
|
+
"returnDate": "Return Date",
|
|
194
|
+
"room": "Room",
|
|
195
|
+
"rRate": "R. Rate",
|
|
196
|
+
"save": "Save",
|
|
197
|
+
"scheduledAppointmentsList": "Scheduled appointments patient list",
|
|
198
|
+
"scheduledToday": "Scheduled for today",
|
|
199
|
+
"search": "Search",
|
|
200
|
+
"searchboxPlaceholder": "Search for a patient name or ID number",
|
|
201
|
+
"searchForAVisitType": "Search for a visit type",
|
|
202
|
+
"searchForPatient": "Search for a patient",
|
|
203
|
+
"searchThisList": "Search this list",
|
|
204
|
+
"secondaryHelperText": "Type the patient's name or unique ID number",
|
|
205
|
+
"selectFacility": "Select a facility",
|
|
206
|
+
"selectLocation": "Please select a location",
|
|
207
|
+
"selectOption": "Select an option",
|
|
208
|
+
"selectProgramType": "Select program type",
|
|
209
|
+
"selectQueueLocation": "Select a queue location",
|
|
210
|
+
"selectRoom": "Select a room",
|
|
211
|
+
"selectService": "Select a service",
|
|
212
|
+
"selectServiceType": "Select a service type",
|
|
213
|
+
"selectStatus": "Select a status",
|
|
214
|
+
"selectVisitTyoe": "Select visit type",
|
|
215
|
+
"selectVisitType": "Please select a Visit Type",
|
|
216
|
+
"serve": "Serve",
|
|
217
|
+
"servePatient": "Serve patient",
|
|
218
|
+
"service": "Service",
|
|
219
|
+
"serviceQueue": "Service queue",
|
|
220
|
+
"sex": "Sex",
|
|
221
|
+
"showAllDetails": "Show all details",
|
|
222
|
+
"showLess": "Show less",
|
|
223
|
+
"showPatientsWaitingFor": "Show patients waiting for",
|
|
224
|
+
"sortBy": "Sort by",
|
|
225
|
+
"sortWeight": "Sort weight",
|
|
226
|
+
"sp02": "Sp02",
|
|
227
|
+
"startAgeRangeInvalid": "Start age range is not valid",
|
|
228
|
+
"startVisit": "Start visit",
|
|
229
|
+
"startVisitError": "Error starting visit",
|
|
230
|
+
"startVisitQueueSuccessfully": "Patient has been added to active visits list and queue.",
|
|
231
|
+
"status": "Status",
|
|
232
|
+
"success": "Success",
|
|
233
|
+
"tcaDate": "Tca date",
|
|
234
|
+
"temperature": "Temperature",
|
|
235
|
+
"ticketNumber": "Ticket number",
|
|
236
|
+
"time": "Time",
|
|
237
|
+
"tirageNotYetCompleted": "Triage has not yet been completed",
|
|
238
|
+
"today": "Today",
|
|
239
|
+
"transfer": "Transfer",
|
|
240
|
+
"triageForm": "Triage form",
|
|
241
|
+
"triageNote": "Triage note",
|
|
242
|
+
"trySearchWithPatientUniqueID": "Try searching with the patient's unique ID number",
|
|
243
|
+
"unknown": "Unknown",
|
|
244
|
+
"updateEntry": "Update entry",
|
|
245
|
+
"updateRoom": "Update room",
|
|
246
|
+
"useTodaysDate": "Use today's date",
|
|
247
|
+
"view": "View",
|
|
248
|
+
"visitStartTime": "Visit Time",
|
|
249
|
+
"visitType": "Visit Type",
|
|
250
|
+
"vitals": "Vitals",
|
|
251
|
+
"vitalsForm": "Vitals form",
|
|
252
|
+
"vitalsNotRecordedForVisit": "Vitals has not been recorded for this patient for this visit",
|
|
253
|
+
"waitingFor": "Waiting for",
|
|
254
|
+
"waitTime": "Wait time",
|
|
255
|
+
"weight": "Weight",
|
|
256
|
+
"years": "Years",
|
|
257
|
+
"youngest": "Youngest first"
|
|
258
|
+
}
|