Skip to content

Commit a650d8b

Browse files
authored
U4X-716:Add next and last appointment date onto reception patient dashboard
1 parent d51b94d commit a650d8b

File tree

2 files changed

+31
-99
lines changed

2 files changed

+31
-99
lines changed

packages/esm-ugandaemr-app/src/config-ugandaemr/frontend-config.json

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
]
77
}
88
},
9-
"@ugandaemr/esm-hiv-app": {
10-
"Display conditions": {
11-
"privileges": [
12-
"Manage HIV"
13-
]
14-
}
15-
},
169
"@openmrs/esm-laboratory-app": {
1710
"Display conditions": {
1811
"privileges": [
@@ -27,48 +20,6 @@
2720
]
2821
}
2922
},
30-
"@ugandaemr/esm-bed-management-app": {
31-
"Display conditions": {
32-
"privileges": [
33-
"Manage Inpatient"
34-
]
35-
}
36-
},
37-
"@ugandaemr/esm-tb-app": {
38-
"Display conditions": {
39-
"privileges": [
40-
"Manage TB"
41-
]
42-
}
43-
},
44-
"@ugandaemr/esm-radiology-app": {
45-
"Display conditions": {
46-
"privileges": [
47-
"Manage Radiology"
48-
]
49-
}
50-
},
51-
"@ugandaemr/esm-theatre-app": {
52-
"Display conditions": {
53-
"privileges": [
54-
"Manage Theatre"
55-
]
56-
}
57-
},
58-
"@ugandaemr/esm-inpatient-app": {
59-
"Display conditions": {
60-
"privileges": [
61-
"Manage IPD"
62-
]
63-
}
64-
},
65-
"@ugandaemr/esm-family-health-app": {
66-
"Display conditions": {
67-
"privileges": [
68-
"Manage Family"
69-
]
70-
}
71-
},
7223
"@openmrs/esm-appointments-app": {
7324
"Display conditions": {
7425
"privileges": [
@@ -860,5 +811,20 @@
860811
},
861812
"medicationRequestExpirationPeriodInDays": 1,
862813
"enableStockDispense": false
814+
},
815+
"@ugandaemr/esm-patient-queues-app":{
816+
"extensionSlots": {
817+
"upcoming-appointment-slot":{
818+
"configure": {
819+
"patient-upcoming-appointment-widget": {
820+
"Display conditions": {
821+
"privileges": [
822+
"View Upcoming Appointment"
823+
]
824+
}
825+
}
826+
}
827+
}
828+
}
863829
}
864830
}

packages/esm-ugandaemr-app/src/ugandaemr-configuration-overrrides.json

Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
]
77
}
88
},
9-
"@ugandaemr/esm-hiv-app": {
10-
"Display conditions": {
11-
"privileges": [
12-
"Manage HIV"
13-
]
14-
}
15-
},
169
"@openmrs/esm-laboratory-app": {
1710
"Display conditions": {
1811
"privileges": [
@@ -27,48 +20,6 @@
2720
]
2821
}
2922
},
30-
"@ugandaemr/esm-bed-management-app": {
31-
"Display conditions": {
32-
"privileges": [
33-
"Manage Inpatient"
34-
]
35-
}
36-
},
37-
"@ugandaemr/esm-tb-app": {
38-
"Display conditions": {
39-
"privileges": [
40-
"Manage TB"
41-
]
42-
}
43-
},
44-
"@ugandaemr/esm-radiology-app": {
45-
"Display conditions": {
46-
"privileges": [
47-
"Manage Radiology"
48-
]
49-
}
50-
},
51-
"@ugandaemr/esm-theatre-app": {
52-
"Display conditions": {
53-
"privileges": [
54-
"Manage Theatre"
55-
]
56-
}
57-
},
58-
"@ugandaemr/esm-inpatient-app": {
59-
"Display conditions": {
60-
"privileges": [
61-
"Manage IPD"
62-
]
63-
}
64-
},
65-
"@ugandaemr/esm-family-health-app": {
66-
"Display conditions": {
67-
"privileges": [
68-
"Manage Family"
69-
]
70-
}
71-
},
7223
"@openmrs/esm-appointments-app": {
7324
"Display conditions": {
7425
"privileges": [
@@ -879,5 +830,20 @@
879830
"allowModifyingPrescription": false
880831
},
881832
"medicationRequestExpirationPeriodInDays": 1
833+
},
834+
"@ugandaemr/esm-patient-queues-app":{
835+
"extensionSlots": {
836+
"upcoming-appointment-slot":{
837+
"configure": {
838+
"patient-upcoming-appointment-widget": {
839+
"Display conditions": {
840+
"privileges": [
841+
"View Upcoming Appointment"
842+
]
843+
}
844+
}
845+
}
846+
}
847+
}
882848
}
883-
}
849+
}

0 commit comments

Comments
 (0)