Coding Week 04: GSoC 2022 With OpenMRS
It’s been four weeks since the start of the coding phase. I cannot believe it’s been a month already. If you have been following my past articles you know the drill. So without further due let’s get started.
Testing
As I mentioned in my last article, I sent a PR with some unit tests but it was on review then. We had a code review with my mentor and he pointed out how to write them correctly. By the beginning of the week I was working on those tests and I was able to finish it finally.
Search History
After the tests, I started working on the search history as I planned to do. This feature gives the user the ability to see the search history with the following features,
- Save as a cohort
- Save as a query
- Download results as CSV
- Clear history
New UI
By the end of the fourth week, I was able to start working on reorganising the user interface to match the design. It was easier than I thought. Here’s what it looks like now and I have attached the PR as well.
What’s next — Search by Demographics
For the next week, I’ll be working on the search by demographics feature. This gives the user to search for patients based on gender, age and birthday.
As always I presented my work on the weekly O3 call as well.
With that, the fourth week of coding ended. I’m looking forward to finishing work on the next milestone. Stay tuned for the week 05 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