Sitemap
Rishabh Agarwal

Rishabh Agarwal

Android developer | Technical writer | Open Source Contributor

OpenMRS Android Client

3 min readAug 26, 2020

--

We are near the end of this fabulous program and I am creating this blog to describe the work I did in OpenMRS during GSoC :)

  • Project Title: OpenMRS Android Client
  • Primary mentor: Fawwaz Maharaj Yusran
  • Backup mentor: Cliff Gita, Vibhor Chinda
  • Student: Rishabh Agarwal
  • Project Link: Wiki Page Link
Press enter or click to view image in full size

Overview

OpenMRS is based on the principle that information should be stored in a way
that makes it easy to summarize and analyze. OpenMRS is a client-server
application
, which means it is designed to work in an environment where many client computers access the same information on a server.
Considering the services offered by a hospital, an ​ Android application​ can help doctors, patients, and other staff a lot with its mobility and ease of use, without them having to start the​ OpenMRS web app​ on a desktop computer.

Objectives Of The project

  1. Adding new Modules that are present in the reference application like Allergy Module, Admission Form, mark patient deceased.
  2. Migrate native SQL database to Room library
  3. Migrate Java to Kotlin (Migrated 20% codebase)
  4. Create a new UI for the entire app
  5. Standardize code quality

Contributions

Since I created 50+ PR’s during the GSoC period, therefore, I am listing the main headings with the issue links and post the GoogleSheet link which contains all the issues.

Get Rishabh Agarwal’s stories in your inbox

Join Medium for free to get updates from this writer.

SpreadSheet Link

  1. AC-450: Created Admission Form
  2. AC-748: Updated User Guide (5 sub-issues)
  3. AC-753: Fixed broken DAO Tests (6 sub-issues)
  4. AC-762: Better UI for the app (18 sub-issues)
  5. AC-761: Migration To Kotlin (12 sub-issues)
  6. AC-799: Mark Patient Deceased
  7. AC-803: Created Allergy Module (5 sub-issues)
  8. AC-470: SQL to Room migration (7/10 sub-issues)
  9. Fixed a lot of crashes

Weekly Blog Posts

  1. Community Interaction
  2. Introduction to OpenSource
  3. Week 1
  4. Week 2
  5. Week 3
  6. Week 4
  7. Week 5
  8. Week 6
  9. Week 7
  10. Week 8: Migration to Room Guide
  11. Week 9
  12. Week 10
  13. Week 11
  14. Week 12

Resources

  1. Youtube link to Final presentation
  2. Google Sheets link
  3. Figma Where the entire new UI was designed
  4. Talks thread: Marking patient deceased discussion
  5. Talks Thread: Fetching global properties
  6. Talks Thread: Creating a diagnosis using REST

Future Works

There are many things that need to be worked on in Android Client. I am listing a few of them which will be implemented as part of Android Client 2.9x.

  1. Migrate the remaining 80% codebase to kotlin.
  2. Start converting MVP pattern to MVVM as it follows the new standard guideline brought by Google.
  3. Re-design Home screen with a better UI.
  4. Add the password-reset feature.
  5. Create a diagnosis using REST.
  6. Implement the Appointment Scheduling Module.
  7. Mark Patient deceased using a non-coded response.

Thoughts on GSoC

GSoC was one of the best experiences that I ever had. There was an immense amount of knowledge to be gained and it taught me how great minds from different parts of the world work to make a product alive.

Thanks to my mentors who always came to my rescue and guided me throughout the journey. My coding standards have greatly improved and my experience with Android has been great.

The part I enjoyed most was migration tasks as you just feel how the lines of codes decrease using newer and newer libraries. Especially, when I reduced the 7500 line to mere 1500 lines using Room.

I would love to contribute to Android client in the future and guide the new enthusiast and pass on the knowledge I gained to them by volunteering as a Mentor for GSoC 2021.

--

--

Rishabh Agarwal
Rishabh Agarwal

Written by Rishabh Agarwal

Android developer | Technical writer | Open Source Contributor