Yogesh Dhimate

Notes to Myself

Aug 12, 2021 - 3 minute read - Programming

Understanding SMART on FHIR

Today practitioners and patients want to use innovative healthcare apps. Oftentimes they have their favorite app that they already use. To provide the best practitioner and patient experience, these apps need access to patient’s personal health information like allergies, or medications. This type of clinical information is stored inside the electronic health record systems (EHRs). Ultimately the apps are dependent on backend systems like EHRs to power their functionality.

There are more than 50 EHR systems popular in the US alone. For an healthcare application developer this would be a nightmare, if he needs to build his app to work with 50 different EHR systems.

Thanks to industry standards like FHIR and SMART on FHIR, this problem is easily solved.

FHIR provides a standardized data model to represent healthcare data, whereas the SMART on FHIR provides a consistent approach to security and data access requirements.

In this post let’s see some basics of SMART on FHIR.

What is SMART on FHIR

SMART stands for Substitutable Medical Applications and Reusable Technology.

SMART app is a web or mobile app, embedded in an Electronic Health Record (EHR) system or standalone. It’s substitutable, which means if you don’t like a particular app, you can choose another one or substitute it with something else. The app is reusable and should work with any EHR or backend system.

Simply put, SMART on FHIR provides a workflow to securely request access to data, as well as receive and use the data. And ultimately enables Electronic Health Record systems to become more like platforms.

SMART on FHIR addresses these key concerns

  • Identity and access management
  • Access to the data
  • Launch framework
  • Scopes and launch context

Let’s look into the details of each of these for a bit.

Identity and access management

SMART relies on the OIDC - OpenID Connect identity management protocol.

Built on top of OAuth 2.0, it is essentially a flavor or a profile of OIDC, customized for use in healthcare applications.It defines a method through which an app requests authorization to access a FHIR resource, and then uses that authorization to retrieve the resource.

Access to the data

SMART on FHIR uses FHIR to access the data.

FHIR provides a standardized representation of healthcare data, irrespective of how it is stored or where it is coming from. Using a standardized representation of the data makes these apps substitutable as well as reusable.

Launch framework

SMART on FHIR provides a framework for four different use cases

  • Patient apps that launch standalone
  • Patient apps that launch from an EHR portal
  • Provider apps that launch standalone
  • Provider apps that launch from an EHR portal

Scopes and launch context

SMART provides three different categories of scopes for different kinds of data. Launch context is a negotiation where client asks for specific launch context parameters, and server decides which launch context parameters to provide using client’s request as an input.

  • Clinical data

    SMART on FHIR defines read and write permissions for patient specific and user level access.


    • patient/Observation.read
    • user/Appointment.read
    • patient/*.*
  • Contextual data

    Apps typically rely on contextual data like the currently open patient record in an EHR. They explicitly request the EHR context by using scopes like

    • launch=xyz
    • launch/patient
    • launch/encounter
  • Identity data

    Some apps need to authenticate the clinical end-user. They use following openid connect scopes to request the identity information.

    • openid
    • fhirUser

This concludes my brief introduction to SMART on FHIR.

SMART on FHIR provides an open, free and standards based API. Developers can use to write an app once and have it run anywhere in healthcare IT system.

Jul 28, 2021 - 4 minute read - Personal

About Thanks for the Feedback

I received ‘Thanks for the Feedback ’ by Douglas Stone & Sheila Heen as an optional read for my leadership coaching program. I wasn’t very enthusiastic to read it. I didn’t have high expectations from the book. I was suspecting that it will talk about the typical annual review process at work and the kind of feedback you get from your boss. After finishing it in a few days though, I was surprised by how useful it was, not only for the feedback at the job but also in the personal relationships.

I captured the following notes from the book.

What counts as feedback

Feedback is any type of information you receive from another person or organization about yourself. Your manager, partner or spouse, child or a friend always share their opinions with you. The book talks about the effectiveness of receiving feedback gracefully. It teaches the feedback receivers to build self-awareness and helps in planning concrete actions.

Three types of feedback

There are three types of feedback

  • Appreciation - This is an acknowledgment for a job well done.

  • Coaching - This type of feedback identifies where you fall short and how you can improve.

  • Evaluation - This feedback is calibrating your performance, and rating you. This often decides things like your raise and promotion.

Triggers that block the feedback

We do fine with the positive feedback. But the negative feedback is stressful for the giver as well as especially for the receiver. It triggers the receiver. The triggers block the feedback. The purpose of sharing the feedback is not met. The triggers are classified in 3 broad buckets.

  • Truth Triggers

    When you feel that the feedback is wrong and untrue, it results in truth triggers. This can happen when there is a mismatch in the expectation. E.g. You are looking for an appreciation, but your manager gives you coaching. You feel that the feedback is unhelpful and wrong. Whereas your manager feels that with his coaching, he is helping you grow in your career.

    There are a few things you can try when receiving the feedback to avoid the truth triggers.

    • Separate appreciation, coaching, and evaluation:

      Ask about the type of feedback you are expecting. The feedback givers aren’t always equipped with the right tools and framework to share appropriate feedback with you. Proactively seek the feedback you are looking for.

    • Shift from “That’s wrong” to “Tell me more”:

      When you receive untruthful feedback, try to learn more about it by asking questions.

    • Discover your blind spots, and uncover by learning more from the feedback.

  • Relationship Triggers

    Relationship triggers are caused by the relationship you have with the feedback giver. You don’t trust that they are qualified or equipped to give you the feedback. It might be because of the organizational dynamics or interpersonal relationships

    • Disentangle ‘what’ from ‘who’: Instead of focusing on ‘who is giving you the feedback, focus on ‘what is the feedback.

    • Identify the relationship system : What is the particular combination of the relationship that is creating the problem? Are your roles clashing? How does this relationship fit into the big picture?

  • Identity Triggers

    Identity triggers are caused when the feedback affects your self-image. This happens when the feedback challenges your relationship with yourself.

    • Learn how wiring and temperament affect your story:

      Think about these questions -

      • What is your baseline temperament?

      • How far up or down do you go?

      • And how do you recover from the negative feedback?

    • See feedback at its actual size. Don’t exaggerate and get overwhelmed by it. Identify the feedback footprint. Imagine the worst and be prepared for it. Constrain the time, specificity, and the story of the feedback.

    • Cultivate a growth identity. Accept that you will make mistakes and learn from them. Give yourself a second score - by learning from the experience.

Accepting and rejecting the feedback

You don’t need to accept all the feedback. You can appreciate the efforts and thoughts from the feedback giver but reject the feedback that isn’t useful.

  • Draw boundaries when enough is enough

  • Navigate the conversation

    • Get aligned with the feedback giver

    • Listen for what’s right and why they see it differently

    • Assert what’s left out

    • Be your own process referee

    • Solve problems to create possibilities

    • Close with commitment

    • Keep the conversation in motion

Acting on the feedback

Once you decide to accept the feedback, act on it.

  • Identify one thing that you can immediately incorporate

  • Try small experiments

  • Ride out the J curve

  • Coach your coach to give you a helpful feedback

To summarize, this book is full of helpful techniques and provides us with ways to extract, cope, handle and grow with the feedback. Receiving feedback is a skill. This book provides a roadmap to build that skill.

Jul 24, 2021 - 2 minute read - Personal

Random Act of Kindness

I frequently visit one online group. It sends some thought-provoking prompts to reflect on past experiences and random ideas.

Here are some examples.

  • Which bad commercial that you saw that has stayed with you?
  • What does a ‘perfect day’ mean to you?

This week’s prompt was about the act of kindness shown to you, that you’ll never forget.

I wanted to share such experience.

Before COVID-19, I was traveling for my job. In July-August 2019, my assignment was in Moline, IL. It’s a small town on Illinois - Iowa border. This was my very first visit to the city. Due to an inclement weather-induced delay, I landed at Moline airport around 12.50 AM on Monday. I couldn’t find an Uber or a taxi to go to the hotel. Apparently no one provides a ride at that time of the night. I didn’t have a rental car booking, and the rental car counters couldn’t provide me a car on the spot. My only other option was to wait at the airport for the next 5 hours and hope for the cab driver to show up. There was no food at that small airport. I was more worried about my important meeting in the morning. As a last attempt, I called the hotel - Element - to check on the possibility of helping me out. I was aware that they don’t provide an Airport shuttle. Fortunately, the front desk lady at the hotel was super helpful and drove at 1.30 AM in her own car to pick me up at the airport.

This random act of kindness from a stranger has left a lasting impression on me. It has also associated this experience with Mariott - the owners of the Element hotels. Whenever I book a hotel room, I search for availability at one of the Mariott’s hotels first.

May 31, 2021 - 3 minute read - Personal

My Audible Experience


Last month I signed up for Audible. I thought it would be great to listen to the audiobooks, instead of reading them. In the past, I had enjoyed a few audiobooks on my long road trips. I especially remember listening to George Carlin’s books. The idea of listening to books on the go, the ultimate portability, and convenience, and an opportunity to give rest to my eyes was very enticing. Audible was offering a 1-month free trial. I skimmed their huge catalog and signed up. The signup process was smooth - as you would expect from Amazon. I downloaded The Spy and the Traitor by Ben Macintyre and started listening to it. While the book was great, one of the best thrillers I enjoyed, my experience with Audible was suboptimal.

Challenges with Audiobooks:

  1. Audiobooks feel strange: When reading a physical or ebook, I feel like driving in daylight, with clear visibility. I can look in the rearview mirrors or outside the windows. I can notice another car approaching the intersection. If someone is overtaking I can adjust my driving. With audiobooks, I feel like someone else is driving even though I am in the driver’s seat. We are traveling in the dark with only front lights. I can’t look sideways or behind, as its all dark
  2. Audiobooks aren’t as convenient as I would like them to be: Audiobooks need a lot of concentration. It’s very easy to get distracted, tune out and miss the important part. Once you lose focus, it becomes very difficult to get back on track.
  3. Audiobooks don’t give the satisfaction of reading: Almost always the narrator is different. His performance is very clean and robotic. There is a constant feeling that it’s not me who is reading this book.

Issues with Audible

  1. Audible’s subscription: When I signed up for Audiobook’s trial, I thought it was like a Netflix model. I was hoping to get access to a large library of content for a low monthly price. I misunderstood. With Audible I get 1 credit to buy a book of my choice every month. Credits expire and there is pressure to buy the book to use those credits. I can buy most of the books I want, whenever I want, without an Audible subscription and still save some money.
  2. Problems with the Audible app - Audible books have DRM, so I can’t listen in the app I like. I have to use the Audible app, which is okay for the most part. But my phone’s aggressive battery management policy kills the app if I pause the book. This is super inconvenient. To begin listening again, I have to restart the app.
  3. Better and cheaper options available - I can borrow audiobooks for free from my local library. Their catalog is not as big as Audible’s but only 2 books I wanted to read were unavailable in my library.

I don’t think I will continue my Audible subscription for now.

Apr 10, 2021 - 2 minute read - Personal

Certificate of Authenticity

This week I got my new pair of glasses. I use photochromic lenses to help protect my eyes from the bright sunlight. These lenses turn dark when exposed to sunlight or high temperature. With this pair, my optician gave me a ‘Certificate of Authenticity’ card from this company called ‘Transitions’. Transitions provide the photochromic feature in the lenses. I wasn’t aware of them. Anyway, this certificate requested that I should register my purchase. I can’t figure out why I should do this, and what’s the downside of not registering. This also got me confused on many fronts. My last 4 pairs purchased from the same optician had photochromic lenses. Yet, I never got a certificate of authenticity. Does it mean those were inauthentic photochromic lenses? What would happen if I continue wearing them? Is this a new program to certify authentic lenses? Is there a spread of inauthentic lenses that the company is trying to contain?


Whatever it might be. I am curious to understand how did this ‘Certificate of Authenticity’ program launch? What’s the strategy? What could be the end goal? Is it to increase brand awareness? That is one possibility. Even though my last 4 pairs had photochromic lenses, I never asked for a specific brand. Now I know about a product, which guarantees the authenticity of photochromic lenses. The next time I am ready for new glasses, should I insist on this specific brand? It is authentic. I know now! Or is it a desperate attempt to capture my contact information? So they can send me targeted advertisements? I looked at the registration page. It asked for my name, address, email, date of birth, gender(!), and other information. At least they didn’t ask for my phone number! (Do they already have it?)

Another interesting question is, how does it relate to Crizal - my go-to lens brand? My lense says it’s from Crizal! Then why do I have this certificate from Transitions? My cursory check on the internet shows that these are two different companies. Does Crizal provide the physical lens? And Transitions provide some sort of mechanism (sticker or a chemical?) to turn the lense dark when exposed to sunlight? Or is it the other way round where Transitions provide the color-changing physical lense, and Crizal provides an anti-reflective, anti-scratch coating on it?

This innocent little card has raised a lot of questions in my mind.