< Back

Scopes and Access

OAuth scopes define what your application can access and how. Scopes are granted when tokens are issued and determine which FHIR resources are available and whether data can be read, written, or both.

Scope Types

  • Read scopes Allow applications to retrieve data (for example, patient/Observation.read or user/*.read).
  • Write scopes Allow applications to create or update data (for example, patient/Condition.write or user/*.write).
  • Launch scopes Used in SMART on FHIR flows to convey launch context (for example, launch, launch/patient, launch/encounter).
  • Offline access scope Enables refresh token issuance for long-lived or background sessions (offline_access).

Scope Naming Examples

ScopeDescription
patient/*.readRead access to all FHIR resources for a single patient
user/Patient.readRead access to Patient resource for all patients, based on user context
system/Observation.writeSystem-level write access to Observations
launch/patientRequests patient context during SMART on FHIR app launch