Smart on FHIR: What It Is and How It Works in Practice
Smart on FHIR: What It Is and How It Works in Practice - Ekipa AI
Summary
SMART on FHIR is an OAuth 2.0-based pattern that defines the launch, identity, and authorization layer for applications connecting to FHIR servers. It ensures that apps use FHIR APIs in a controlled manner, maintaining the correct user, patient, and permission context.
Details
SMART on FHIR adds the launch, identity, and authorization layer on top of FHIR's data model and REST API. This is necessary because an app requires more than just a URL and a token; it needs the correct server, the right patient or user context, and the appropriate permission scope. A critical distinction is between the two authorization patterns: SMART App Launch and SMART Backend Services. App Launch is designed for interactive apps involving a user, carrying user context (patient or encounter). Conversely, Backend Services is for headless, system-to-system services that do not act on behalf of a user, carrying only system scope. This separation is vital for operational risk management. For instance, background jobs must not assume user context, and the boundary must be defined early in the design process to ensure robustness when handling issues like token revocation versus credential rotation.
Original content copyright by respective publishers