The global OpenMRS community works together to build the world’s leading open-source enterprise electronic medical record system platform.
During the 7 weeks of the coding period, I got the opportunity to involve with the community on working toward the main goal to improve health care delivery in resource-constrained environments by coordinating a global community that creates a robust, scalable, user-driven, open-source medical record system platform.
As usually had the sprint call with my mentors last week and defined the work to be done during the week.
This week mainly worked on the efficiency of the app and resolving small issues on the activator. Since we are subscribing to all events of the required resource types. We found there is an issue in the Events module. For all the events defined it’s scanning and filtering from a for each loop which has around 5000 records which slows down the process of subscribing to a topic.
To overcome came up with a solution to filter once and keep track of the classes and subclasses related for other action types.It’s already implemented and waiting to get merged in the events module.
EVNT-40 :- Avoid looping for the same class for different action types. by Akayeshmantha · Pull…
Event.subscribe(classToMonitor, null, eventListener); will subscribe for all the Action Types. But there is a…
Next week I will be working more towards the omod layer of the app.