diff --git a/packages/esm-ugandaemr-app/src/config-ugandaemr/frontend-config.json b/packages/esm-ugandaemr-app/src/config-ugandaemr/frontend-config.json index 097ec5ab..1013e9d0 100644 --- a/packages/esm-ugandaemr-app/src/config-ugandaemr/frontend-config.json +++ b/packages/esm-ugandaemr-app/src/config-ugandaemr/frontend-config.json @@ -6,13 +6,6 @@ ] } }, - "@ugandaemr/esm-hiv-app": { - "Display conditions": { - "privileges": [ - "Manage HIV" - ] - } - }, "@openmrs/esm-laboratory-app": { "Display conditions": { "privileges": [ @@ -27,48 +20,6 @@ ] } }, - "@ugandaemr/esm-bed-management-app": { - "Display conditions": { - "privileges": [ - "Manage Inpatient" - ] - } - }, - "@ugandaemr/esm-tb-app": { - "Display conditions": { - "privileges": [ - "Manage TB" - ] - } - }, - "@ugandaemr/esm-radiology-app": { - "Display conditions": { - "privileges": [ - "Manage Radiology" - ] - } - }, - "@ugandaemr/esm-theatre-app": { - "Display conditions": { - "privileges": [ - "Manage Theatre" - ] - } - }, - "@ugandaemr/esm-inpatient-app": { - "Display conditions": { - "privileges": [ - "Manage IPD" - ] - } - }, - "@ugandaemr/esm-family-health-app": { - "Display conditions": { - "privileges": [ - "Manage Family" - ] - } - }, "@openmrs/esm-appointments-app": { "Display conditions": { "privileges": [ @@ -860,5 +811,20 @@ }, "medicationRequestExpirationPeriodInDays": 1, "enableStockDispense": false + }, + "@ugandaemr/esm-patient-queues-app":{ + "extensionSlots": { + "upcoming-appointment-slot":{ + "configure": { + "patient-upcoming-appointment-widget": { + "Display conditions": { + "privileges": [ + "View Upcoming Appointment" + ] + } + } + } + } + } } } diff --git a/packages/esm-ugandaemr-app/src/ugandaemr-configuration-overrrides.json b/packages/esm-ugandaemr-app/src/ugandaemr-configuration-overrrides.json index 17b7bbba..fdc5721a 100644 --- a/packages/esm-ugandaemr-app/src/ugandaemr-configuration-overrrides.json +++ b/packages/esm-ugandaemr-app/src/ugandaemr-configuration-overrrides.json @@ -6,13 +6,6 @@ ] } }, - "@ugandaemr/esm-hiv-app": { - "Display conditions": { - "privileges": [ - "Manage HIV" - ] - } - }, "@openmrs/esm-laboratory-app": { "Display conditions": { "privileges": [ @@ -27,48 +20,6 @@ ] } }, - "@ugandaemr/esm-bed-management-app": { - "Display conditions": { - "privileges": [ - "Manage Inpatient" - ] - } - }, - "@ugandaemr/esm-tb-app": { - "Display conditions": { - "privileges": [ - "Manage TB" - ] - } - }, - "@ugandaemr/esm-radiology-app": { - "Display conditions": { - "privileges": [ - "Manage Radiology" - ] - } - }, - "@ugandaemr/esm-theatre-app": { - "Display conditions": { - "privileges": [ - "Manage Theatre" - ] - } - }, - "@ugandaemr/esm-inpatient-app": { - "Display conditions": { - "privileges": [ - "Manage IPD" - ] - } - }, - "@ugandaemr/esm-family-health-app": { - "Display conditions": { - "privileges": [ - "Manage Family" - ] - } - }, "@openmrs/esm-appointments-app": { "Display conditions": { "privileges": [ @@ -879,5 +830,20 @@ "allowModifyingPrescription": false }, "medicationRequestExpirationPeriodInDays": 1 + }, + "@ugandaemr/esm-patient-queues-app":{ + "extensionSlots": { + "upcoming-appointment-slot":{ + "configure": { + "patient-upcoming-appointment-widget": { + "Display conditions": { + "privileges": [ + "View Upcoming Appointment" + ] + } + } + } + } + } } -} \ No newline at end of file +}