Staff badge by a door with a green reader, ajar onto an exam room
    Health Tech & Interoperability

    SMART on FHIR

    SMART on FHIR is a standard that lets a third-party app launch securely from inside an EHR, using the clinician's existing login and pulling patient context automatically. It is how clinical apps appear inside a provider's normal workflow instead of requiring a separate login.

    Key takeaways

    • Launches a third-party app securely from inside the EHR
    • Uses the clinician's existing login and current patient context
    • OAuth-style authorization grants scoped, limited access
    • Removes double logins and manual patient re-entry
    • Correct auth and context handling is critical for security

    What SMART on FHIR means

    SMART on FHIR lets a third-party app launch securely inside an EHR, using the clinician's existing login and the patient already open on screen. SMART on FHIR pairs FHIR data with OAuth-based authorization, so the app feels like part of the EHR.

    The authorization flow grants the app a token with limited scopes, plus a launch context naming the patient and user. Clinicians skip a second login, and the app sees only what it was granted. Mistakes in that flow are a usability and security problem.

    When does this matter for a software build?

    SMART on FHIR becomes a build decision when clinicians must open the product from inside the EHR with the current patient already loaded. The app then has to work inside an embedded browser or frame, support EHR launch and standalone launch, and request only the scopes it needs.

    SMART on FHIR also adds an app registration step with each EHR vendor and often with each customer, so the release plan depends on more than the code. Token lifetimes and refresh rules decide whether a clinician is logged out halfway through a task.

    What we would check first

    1. Which launch types each target EHR supports for the app, and how the app is registered in each customer's instance.
    2. The smallest set of scopes the app needs, checked against what each EHR grants to third-party apps.
    3. How the app behaves inside the EHR's embedded browser, including screen size, pop-ups, cookies and session timeouts.

    Explore this on Agnotic

    Where SMART on FHIR shows up in how we build.

    Frequently asked questions

    Because it meets clinicians inside the workflow they already use. The app launches from the EHR with the right user and patient already in context, so there is no second login and no re-entering who is on screen. That reduces friction dramatically, which is often the difference between an app that gets adopted and one that gets ignored.

    Talk through your build with an engineer

    Tell us what you're building and the systems it needs to talk to, and we'll map a clear, compliant path to launch.