GSoC’21@OpenMRS | SMART-on-FHIR Final Evaluation

Project Title : SMART-on-FHIR

Primary Mentor : Ian Bacher

Backup Mentor : Siddharth Vaish

Student : Ankit Kumar

Project Wiki : Link

Project overview

FHIR is an emerging standard for healthcare interoperability. OpenMRS has been an early adopter of the FHIR standard, but there is still more we could add to the FHIR module. One of the key pieces of FHIR-based technology we want to support is the SMART on FHIR App Launch Framework. This is a standard for connecting custom applications to a FHIR server in a secure manner. Essentially, it allows non-OpenMRS applications to talk to OpenMRS in a secure manner using the OAuth2 authentication framework.

The main objective of this project was to add the support of EHR and standalone launch for the Patient and Encounter context. Also, make sure that all modules work perfectly fine together. Configuring the keycloak was another major task. Finally, a fully working SMART-on-FHIR project was made to launch the SMART APP. We have also created a Demo SMART APP to test and analyze your project.

After the successful setup and configuration, our project result will look like this

Major Objective

  • Support the EHR launch for Patient and Encounter context.
  • Support the Standalone launch for Patient and Encounter context.
  • Support session logout functionality.
  • Dockerize the complete project.
  • Make a new Demo SMART APP.


JIRA issues i have worked on and respective pull requests:

  1. FM2–389 :
  2. FM2–395 :
  3. FM2–403 :
  4. FM2–406 :
  5. FM2–407 :
  6. FM2–202 :
  7. FM2–423 :

GitHub Repository I have worked on:

  1. Created the Demo SMART APP for OpenMRS to test and analyze our result.
  2. Dockerized the complete SMART-on-FHIR project.

Documentation work:

We have also worked on writing the keycloak setup documentation, Here is the link

Week Blog Posts

List of all the past weekly posts:

  1. Week 1 :
  2. Week 2 :
  3. Week 3 :
  4. Week 4 :
  5. Week 5 :
  6. Week 6 :
  7. Week 7 :
  8. Week 8 :
  9. Week 9 :
  10. Week 10 :


Here is a list of all the resources that were used in out project:

  1. SMART App Launch Framework
  2. SMART App Launch: Conformance
  3. Keycloak — Documentation
  4. About this documentation | Node.js v16.7.0 Documentation

Future Works

One of our main priorities will be to bring the project into production. We are still working on giving our project a final touch. There is still some need for enhancement in the SMART APP. Also, we are planning to change the UI of the keycloak login screen to be more similar to the OpenMRS UI.

Thoughts on GSoC

This past summer was the most exciting and challenging summer for me. I would like to thanks my mentors Ian Bacher and Siddharth Vaish, who guided me at every point in time. Also, the OpenMRS community helped me throughout my coding period. Every day, we tried something new this summer, which inspired me to do my best and learn new things. GSoC gave me the exposure to work with such a big codebase. Overall, GSoC with OpenMRS gave me confidence and helped in developing technical as well as communicational skills. I would also like to thank Google for giving me such a wonderful opportunity.

Thank you for Reading.

GSoC'21 @OpenMRS | Android Developer | IIIT Gwalior