HealthRecordCommunity
FHIR🌏 USAEnriched

How to Build a SMART on FHIR App for Epic

How to Build a SMART on FHIR App for Epic | VectorCare

October 19, 2026

Summary

Building a SMART on FHIR app for the Epic environment requires selecting a launch type (EHR or standalone), registering on the developer site, and implementing the OAuth 2.0 flow. Key requirements include using the SMART v2 authorization code flow with PKCE and requesting the narrowest possible scopes.

Details

This guide details the development process for a SMART on FHIR application running within Epic. Developers must first choose the launch type (EHR launch or standalone launch). Registration involves declaring the app's audience and FHIR APIs on Epic's developer site. Authentication must follow SMART App Launch v2, utilizing the OAuth 2.0 authorization code flow with PKCE. Security mandates include validating the `iss` (the hospital's FHIR base URL) and ensuring redirection only occurs from trusted base URLs. Furthermore, developers must request only the narrowest scopes necessary for the app's function. Post-development, deployment requires securing HIPAA-eligible infrastructure, executing a Business Associate Agreement (BAA), and passing security reviews, such as obtaining a SOC 2 Type II report, before going live in a production environment.

πŸ“°
Read Original Article
vectorcare.dev
β†’

Original content copyright by respective publishers