GSoC Week 11: FHIR Mapping Implementation and Search Functionality

Manojlakshan
2 min readJul 20, 2024

--

Hi everyone!!

I am Manoj Ratnapriya, I have been selected to GSoC at OpenMRS for the project Validating and Updating the OpeMRS patient flag module. This week marked the the 11 th week of my Gsoc journey and I focused on the FHIR mapping.

I could complete the openmrs flag to FHIR flag translation. If you want to look more about how I do the FHIR flag translation, you can read my last blog post.

In addition to the mapping, I also implemented a search functionality that allows us to search flags based on various criteria,

  • Patient ( patient ID (UUID), Identifier, Name ( given, Family, name))
  • Flag Category
  • Flag Message
  • Date

This enhancement makes it easier to retrieve patient flags in a more organized and efficient manner.

Draf PR : https://github.com/openmrs/openmrs-module-patientflags/pull/80

Plans for Next Week

In the next week, I plan to,

  1. Add Unit Tests: I will focus on adding unit tests for the FHIR flag module to ensure the accuracy and reliability of the mapping and search functionalities.
  2. PatientTask Class Tests: I will add tests to the PatientTask class to enhance the overall test coverage of the project.

Remaining Tasks In The Project

As my GSoC project nears completion, there are a few more tasks I need to address:

  1. Unit Tests: Complete the unit tests for both the FHIR module and the PatientTask class.
  2. Update Documentation: Ensure that the documentation is up-to-date with the latest changes and additions.
  3. Code Cleanup: Perform a thorough code cleanup in the patient flag module to improve readability and maintainability.

Stay tuned for more updates, and thank you for following along with my GSoC journey!

Thank you for the reading, Join me on this tech adventure! Follow my profile to stay updated on the cool world of technology and innovation. Your support means a lot, and I can’t wait to share more exciting stuff with you. Let’s stay connected for more insights and fun discoveries ahead!

Github: https://github.com/ManojLL

LinkedIn : https://www.linkedin.com/in/manoj-lakshan/

--

--