Week 10 Experience:

This week we have completed the documentation work of our project. We have added all the setup instructions to our keycloak setup wiki page. We have also added some videos for better understanding.

OpenMRS Wiki page I worked on:

This page includes set-by-step instructions from setting up the SMART-on-FHIR module to launching and testing the SMART app.

Next week, I will make a video presentation for the project and a talk post with project details.

Week 9 Experience:

This week we have solved some of the bug related to SMART-on-FHIR module. We started writing the documentation and giving the final touch to the project.

Ticket I worked on:

We were facing a bug when we started our OpenMRS instance before Keycloak server. we were facing the NullPointerException error. We solved this bug by handling the exception.

Merged PR this week:

FM2–423: https://issues.openmrs.org/projects/FM2/issues/FM2-423

Week 10 Plan:

We are planning to give final touch to our project. we also planning to make a video to demonstrated how to setup the complete project locally.

Week 7 Experience:

This week we have completed the SMART APP. We added two graphs showing the height and weight of the patient. We are currently working on writing the documentation and giving the final touch to the project.

Ticket I worked on:

All the work on DEMO SMART APP can be found here:

Here is the Screenshot of DEMO SMART APP:

Week 7 Experience:

This week we worked on DEMO SMART APP. We created the initial UI of our app. we are planing to add two graphs where we will show the height and weight of the patient. We are currently working on FHIR APIs so we can call resources.

Ticket I worked on:

All the work on DEMO SMART APP can be found here:

We also created one ticket for SMART APP:

FM2–413: https://issues.openmrs.org/projects/FM2/issues/FM2-413?filter=allissues

Week 8 Plan:

Our main focus will be on completing the SMART APP. We will discuss how and what else we can add to the SMART APP. After that we will dockerize the SMART APP.

Week 6 Experience:

This week we achieved our two main milestone i.e. Dockerized our complete project and support of session end when logout. Docker was new to me and i believe this a good technology to learn. We started working on our new SMART App.

Ticket I worked on:

Currently, we reading the documentation to study how we can create a new SMART App. we decided to create a new SMART App using the SMART JS Client Library.

Merged PR this week:

FM2–202: https://github.com/openmrs/openmrs-module-smartonfhir/pull/20

Dockerized Project:

Week 7 Plan:

Our main focus will be to study and implement the SMART App. We will discuss how and what we want in our new SMART App.

Week 5 experience:

This week we completed our Encounter support for standalone launch to SMART-on-FHIR. Now, we fully support our patient and encounter context launch. We started working on the session expire when user logout to the OpenMRS.

Ticket i worked on:

Currently we working on FM2–202, we reading the documentations to study how we can send the request to Keycloak to end the session. we decided to use the filter to catch the logout action and will send the request to keycloak using APIs.

Merged PR this week:

FM2–407: https://github.com/openmrs/openmrs-module-smartonfhir/pull/19

Week 6 Plan:

Our main focus will be to successfully implement the end session functionality. We are also planning to start working on our own SMART App.

Week 4 Experience:

This week we mainly focused on resolving the encounter support. We have successfully merged our initial implementation and working on the token exchange. Also, we working on dockerizing the project.

Ticket I worked on:

We working on sending the launchType to SMART-on-FHIR module in JWT token. In order to support this feature we created a new ticket,

FM2–407: https://issues.openmrs.org/browse/FM2-407

We committed our initial code to github and working on docker-compose file.

Week 5 Plan:

Our main task will be to successfully merged all the opened ticket related with encounter context. We are planning to work on logout function for keycloak.

Week 3 Experience

This week i spend my time in learning Docker and understanding how we can Dockerize the complete project in future. Dockerizing the complete project will help in easy deployment. For easy monitoring, I created a new repository in my github account.

Tickets I worked on:

we still working on the FM-395 and FM2–403. Hopefully we will get it merged next week. For tracking all the code update for docker, i have created a new repository in my github account:

openmrs-keycloak-dockerized-setup: https://github.com/theanandankit/openmrs-keycloak-dockerized-setup

We commited our initial code to github and working on docker-compose file.

Week 4 Plan:

Our main task will be to successfully dockerize the complete SMART-on-FHIR project and start working on our SMART app.

Week 2 Experience

This week we focused on reviewing our previous work on Encounter Smart launch support. It’s important to optimize and clean the code as much as possible.

Tickets I worked on:

We still working on the FM2–395 and FM2–403 and facing some blocker also. Hopefully we resolve all the blocker next week and get merged.

Here is a a small video for Encounter support:

Week 3 Plan:

Our main task will be to complete the opened tickets. Our week 3 task will be to implement the logout functionality. After logging out to OpenMRS, it will automatically end the session in Keycloak as well.

Ankit Kumar

GSoC'21 @OpenMRS | Android Developer | IIIT Gwalior

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store