Validating and re-working (updating) the OpenMRS PatientFlags module



Primary mentor

@Wikum Weerakutti 

Backup mentor

@Daniel Kayiwa 

Assigned to

@Manoj Rathnapriya

Abstract

The OpenMRS openmrs-module-patientflags module provides functionality for creating warning flags in the Patient Dashboard, but it currently faces a few challenges.

  • This module only works with the legacy UI.

  • Users have reported performance issues associated with this module.

  • Because of these issues, we cannot integrate this into the O3 RefApp.

The main goal of this project is to revamp the OpenMRS PatientFlags module and fix these issues.

Required Skills

  • Excellent proficiency in Java programming.

  • Strong understanding of optimization techniques.

  • Familiarity and experience with working on OpenMRS modules

Project Rating and Length

Medium

175 hours

Objectives

  • Address and resolve compatibility issues with both O2 and O3 UI in OpenMRS.

  • Identify and optimize areas of the module that contribute to performance issues.

  • Add support for Java 17 but without dropping support for Java 8.

  • Introduce a new functionality to facilitate the translation of patient flags between the Flag - FHIR v5.0.0 Resource and the OMRS Flag model

Weekly Blog Posts

Week

Blog Post

week 0

https://manojlakshan421.medium.com/gsoc24-week-03-updates-from-my-gsoc-journey-e11a47ecc5db

week 01

https://manojlakshan421.medium.com/gsoc-week-04-coding-phase-begins-8a4f1454a2d0

week 02

https://manojlakshan421.medium.com/gsoc-week-05-upgrade-the-patient-flag-module-d01eb2cf435d

week 03

https://manojlakshan421.medium.com/gsoc-week-06-i-opened-11-pull-requests-a7c1de7bf8de

week 04

https://manojlakshan421.medium.com/gsoc-week-07-resolving-unit-test-issue-4079b3ce170e

week 05

https://manojlakshan421.medium.com/gsoc-week-08-started-fhir-flag-mapping-4c7ee4481662

week 06

https://manojlakshan421.medium.com/gsoc-week-09-diving-into-fhir-flag-mapping-8124ce846145

week 07

https://manojlakshan421.medium.com/gsoc-week-10-i-successfully-passed-the-mid-term-evaluation-c5a29c51ed50

week 08

https://manojlakshan421.medium.com/gsoc-week-11-fhir-mapping-implementation-and-search-functionality-38f7a7847502

week 09

https://manojlakshan421.medium.com/gsoc-week-12-completing-fhir-mapping-implementation-d837d66d032d

week 10

https://manojlakshan421.medium.com/gsoc-week-13-enhancing-fhir-integration-and-performance-optimization-696c8ece600e

week 11

https://manojlakshan421.medium.com/gsoc-week-14-project-updates-86a7439848ba

week 12

https://manojlakshan421.medium.com/gsoc-week-15-warp-up-everything-828fc572742d

Resources

Project Repos

Meeting Notes

meeting 01: 16 May 2024

participants : @Wikum Weerakutti @Org Administrator

key notes :

  • Discussed the initial plans of the project

  • Discussed about the performance evaluation of the current module and refactor version

    • Suggest to use easiest way ( JMeter, Java profiler and JMH )

  • How to add testing data to local openmrs development server ?

    • suggested Import omrs demo data or create some records manually for testing

 

meeting 02 : 21 June 2024

participants : @Wikum Weerakutti

key notes :

  • Discussed about the flag evaluation implementation, unit test issue and PR reviewing

  • Addressed some point on FHIR flag resource mapping

 

meeting 03 : 28 June 2024

participants : @Wikum Weerakutti

 

meeting 04 : 08 July 2024

participants : @Org Administrator @Wikum Weerakutti

 

meeting 05 : 15 July 2024

participants : @Wikum Weerakutti

key notes:

  • Addressed some issues on FHIR flag resource mapping

    • system URL generation

    • how to map the openmrs flag criteria and priority

 

meeting 06 : 22 July 2024

participants : @Org Administrator @Wikum Weerakutti

key notes:

  • Discussed about the remaining tasks

  • Attempt to fix the error in FHIR sub module

 

meeting 07 : 29 July 2024

participants : @Org Administrator @Wikum Weerakutti

key notes:

  • Discussed about the exception in all flag evaluation