From 71cec6f7164d3c10be7e057451e5cc11a52f1cca Mon Sep 17 00:00:00 2001 From: Wikum Weerakutti Date: Sat, 16 Nov 2024 23:35:13 +0530 Subject: [PATCH] RA-2030: Fix UI framework error in the reference application (#255) --- .../main/java/org/openmrs/module/emrapi/EmrApiActivator.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/src/main/java/org/openmrs/module/emrapi/EmrApiActivator.java b/api/src/main/java/org/openmrs/module/emrapi/EmrApiActivator.java index 2f749c00f..adf1c7687 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/EmrApiActivator.java +++ b/api/src/main/java/org/openmrs/module/emrapi/EmrApiActivator.java @@ -73,8 +73,6 @@ public class EmrApiActivator extends BaseModuleActivator implements DaemonTokenA private PersonService personService; - private ConceptService conceptService; - private MetadataMappingService metadataMappingService; /** @@ -137,14 +135,12 @@ public void started() { administrationService = Context.getAdministrationService(); providerService = Context.getProviderService(); personService = Context.getPersonService(); - conceptService = Context.getConceptService(); metadataMappingService = Context.getService(MetadataMappingService.class); createMissingMetadataMappings(); createUnknownProvider(); administrationService.setGlobalProperty(OpenmrsConstants.GP_VISIT_ASSIGNMENT_HANDLER, EmrApiVisitAssignmentHandler.class.getName()); - createConceptSource(conceptService); eventListener = new PatientViewedEventListener(daemonToken); Event.subscribe(EmrApiConstants.EVENT_TOPIC_NAME_PATIENT_VIEWED, eventListener);