Coding Week 02: GSoC 2022 with OpenMRS
The second coding week started on the 19th of June 2022. As usual, I will be talking about how the second week of coding went. The week 01 blog post can be read here.
My second pull request
By the end of week 01, I was able to send the second PR. Since it had a lot of file changes. I had a code review with my mentor to explain how the implementation went.
As my mentor pointed out my implementation will be a bit hard to test when it comes to testing. After the discussion, I started refactoring the code again which took some time.
O3 Squad Call
There’s a weekly call for O3 which means OpenMRS 3.0 to discuss about O3. In the last week's call, I was able to present my update on the call with a small demo. That’s when the UX design lead said that he would like to offer some help regarding the UI/UX part. I will be having a discussion with him regarding this in the following week.
Localization
localization support is there for almost every module in O3. So adding localization for the cohort builder is also a very important feature. OpenMRS ESM modules come with react-i18next configured. I started using the translation framework to add the translations.
Creating Dummy data
I needed some dummy patients to perform the different queries. In order to do this, you can use demo data module which generates patients with random data.
For the next week, I’m hoping to do the search history component which is going to save the search queries. We can talk more about this in the next blog post.
For more updates, you can follow my OpenMRS talk thread.
With that, the second week of coding ended. I’m looking forward to start work on the next milestone. Stay tuned for the week 03 updates. Don’t forget to check out my other articles as well. See you guys at the next one. Until then stay safe! ✌️
Wanna get connected?
Linkedin: https://www.linkedin.com/in/anjula-sack/
Facebook: https://www.facebook.com/anjula.shanaka/
Github: https://github.com/anjula-sack