@kenyaemr/esm-patient-flags-app 5.4.2-pre.2710 → 5.4.2-pre.2711

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.
@@ -5,9 +5,9 @@
5
5
  "rendered": true,
6
6
  "initial": false,
7
7
  "entry": false,
8
- "size": 118683,
8
+ "size": 119316,
9
9
  "sizes": {
10
- "javascript": 118683
10
+ "javascript": 119316
11
11
  },
12
12
  "names": [],
13
13
  "idHints": [],
@@ -20,7 +20,7 @@
20
20
  "auxiliaryFiles": [
21
21
  "125.js.map"
22
22
  ],
23
- "hash": "214a8720658b90d6",
23
+ "hash": "72976c6eee597f5c",
24
24
  "childrenByOrder": {}
25
25
  },
26
26
  {
@@ -28,9 +28,9 @@
28
28
  "rendered": true,
29
29
  "initial": false,
30
30
  "entry": false,
31
- "size": 955,
31
+ "size": 1028,
32
32
  "sizes": {
33
- "javascript": 955
33
+ "javascript": 1028
34
34
  },
35
35
  "names": [],
36
36
  "idHints": [],
@@ -42,7 +42,7 @@
42
42
  "127.js"
43
43
  ],
44
44
  "auxiliaryFiles": [],
45
- "hash": "c54b104006cbb344",
45
+ "hash": "efa9a56f63b4a4cf",
46
46
  "childrenByOrder": {}
47
47
  },
48
48
  {
@@ -153,9 +153,9 @@
153
153
  "rendered": true,
154
154
  "initial": false,
155
155
  "entry": false,
156
- "size": 955,
156
+ "size": 1028,
157
157
  "sizes": {
158
- "javascript": 955
158
+ "javascript": 1028
159
159
  },
160
160
  "names": [],
161
161
  "idHints": [],
@@ -167,7 +167,7 @@
167
167
  "40.js"
168
168
  ],
169
169
  "auxiliaryFiles": [],
170
- "hash": "f40e12ba288c93f1",
170
+ "hash": "64d884ea8e1fa78a",
171
171
  "childrenByOrder": {}
172
172
  },
173
173
  {
@@ -422,10 +422,10 @@
422
422
  "rendered": true,
423
423
  "initial": true,
424
424
  "entry": true,
425
- "size": 6689683,
425
+ "size": 6690316,
426
426
  "sizes": {
427
427
  "consume-shared": 210,
428
- "javascript": 6689263,
428
+ "javascript": 6689896,
429
429
  "runtime": 13027,
430
430
  "share-init": 210
431
431
  },
@@ -442,7 +442,7 @@
442
442
  "auxiliaryFiles": [
443
443
  "main.js.map"
444
444
  ],
445
- "hash": "825fb42f171c4b8b",
445
+ "hash": "4ba9c5013438131f",
446
446
  "childrenByOrder": {}
447
447
  },
448
448
  {
@@ -450,9 +450,9 @@
450
450
  "rendered": true,
451
451
  "initial": false,
452
452
  "entry": false,
453
- "size": 1286,
453
+ "size": 1359,
454
454
  "sizes": {
455
- "javascript": 1286
455
+ "javascript": 1359
456
456
  },
457
457
  "names": [],
458
458
  "idHints": [],
@@ -464,7 +464,7 @@
464
464
  "916.js"
465
465
  ],
466
466
  "auxiliaryFiles": [],
467
- "hash": "2dff9c00ec465892",
467
+ "hash": "b5152368d3eaf808",
468
468
  "childrenByOrder": {}
469
469
  },
470
470
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"patient-flag","slot":"top-of-all-patient-dashboards-slot","component":"patientFlag","order":0,"online":true,"offline":false},{"name":"kenyaemr-module-links","slot":"top-nav-actions-slot","component":"navbarButtons","order":5,"online":true,"offline":true}],"version":"5.4.2-pre.2710"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"patient-flag","slot":"top-of-all-patient-dashboards-slot","component":"patientFlag","order":0,"online":true,"offline":false},{"name":"kenyaemr-module-links","slot":"top-nav-actions-slot","component":"navbarButtons","order":5,"online":true,"offline":true}],"version":"5.4.2-pre.2711"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-flags-app",
3
- "version": "5.4.2-pre.2710",
3
+ "version": "5.4.2-pre.2711",
4
4
  "description": "Patient flags microfrontend for the OpenMRS SPA",
5
5
  "keywords": [
6
6
  "openmrs"
@@ -14,7 +14,7 @@ import {
14
14
  VolumeFileStorage,
15
15
  WatsonHealthCrossReference,
16
16
  } from '@carbon/react/icons';
17
- import { useConfig } from '@openmrs/esm-framework';
17
+ import { CalendarIcon, useConfig } from '@openmrs/esm-framework';
18
18
  import React from 'react';
19
19
  import { useTranslation } from 'react-i18next';
20
20
  import { ConfigObject } from '../config-schema';
@@ -139,6 +139,18 @@ export const useModuleLinks = () => {
139
139
  icon: <DashboardReference size={24} />,
140
140
  privilege: 'o3: View Referrals Dashboard',
141
141
  },
142
+ {
143
+ label: t('appointments', 'Appointments'),
144
+ url: `${openmrsSpaBase}appointments`,
145
+ icon: <CalendarIcon size={24} />,
146
+ privilege: 'o3: View Appointments Dashboard',
147
+ },
148
+ {
149
+ label: t('caseManagement', 'Case Management'),
150
+ url: `${openmrsSpaBase}case-management`,
151
+ icon: <DashboardReference size={24} />,
152
+ privilege: 'o3: View Case Management Dashboard',
153
+ },
142
154
  ];
143
155
 
144
156
  return moduleLinks.filter((link) => !excludeLinks.some((excludeLink) => excludeLink === link.label));
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "administration": "አስተዳደር",
3
3
  "adrAssessment": "የኤዲአር ግምገማ",
4
+ "appointments": "Appointments",
4
5
  "bedManagement": "የአልጋ አስተዳደር",
5
6
  "billingAdmin": "Billing Admin",
7
+ "caseManagement": "Case Management",
6
8
  "clearCache": "መሸጎጫ አጽዳ",
7
9
  "clearSearch": "ፍለጋ አጽዳ",
8
10
  "crossBorder": "ድንበር ተሻጋሪ",
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "administration": "Administration",
3
3
  "adrAssessment": "ADR Assessment",
4
+ "appointments": "Appointments",
4
5
  "bedManagement": "Bed Management",
5
6
  "billingAdmin": "Billing Admin",
7
+ "caseManagement": "Case Management",
6
8
  "clearCache": "Clear Cache",
7
9
  "clearSearch": "Clear search",
8
10
  "crossBorder": "Cross Border",
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "administration": "Administration",
3
3
  "adrAssessment": "ADR Assessment",
4
+ "appointments": "Appointments",
4
5
  "bedManagement": "Bed Management",
5
6
  "billingAdmin": "Billing Admin",
7
+ "caseManagement": "Case Management",
6
8
  "clearCache": "Clear Cache",
7
9
  "clearSearch": "Clear search",
8
10
  "crossBorder": "Cross Border",