Project update | Coding Period | 2024-05-26T18:30:00Z → 2024-06-20T18:30:00Z
It’s been almost a month since I shared last update on the project with the community. In past month I worked on ticket related to patient flag module.
FLAG-69 : Improve the performance of patient flag evaluation
I refactored the patient flag evaluation process to run in parallel instead of evaluating in sequentially. This approach could significantly improve the module’s performance.
- Improve the performance of patient flag evaluation : #59
Test & Evaluation Results
parallel process → 7.6.5.8,7,7,6,7,8,6 => avg 6.7 milliseconds
current module → 8,7,7,6,8,7,7,7,8,6 => avg 7.1 milliseconds
flags count < 5 - current module perform better than this implementations
flags count < 10 - both are perform in same way
flags count = 17 - this implementation perform better than current module
when the flag count is increased, the prell process performs better than the current module.
- Improve the performance of the evaluating all flags : #60
Test & Evaluation Results
parallel process → 74, 58 , 63 . 47 , 79, 40 , 101, 121 , 58 => avg 64.1 milliseconds
current module → 258, 230, 215, 208, 207, 208, 204, 196,202, 198 => avg 212.6 milliseconds
FLAG-75: Refactor the methods using lambda expressions and stream API
- Refactoring methods using lambda expressions and the Stream API simplifies code by making it more readable
PR’s : #63 #64 #65 #66 #67 #68 #69
FLAG-74 : add java 17 support
I updated the patient flag module to support Java 17, while retaining compatibility with Java 8. As a result, the module now works with Java 8, Java 11, and Java 17.
In addition to these objectives, I worked on the following tickets:
- Unit tests not triggering in
mvn build
- FLAG-77
- Implement batch saving functionality for saving patient flags - FLAG-76
- Update the unit test with some actual flag data - FLAG-78
The guidance from @wikumc and @dkayiwa has been incredibly supportive throughout this process. Their assistance were instrumental in overcoming challenges and implementing the necessary changes efficiently.
project wikipage
Thank you for reading this updates.
CC : @jayasanka @piumal1999