NextGen Healthcare · OAuth Scopes

NextGen Healthcare OAuth Scopes

OAuth 2.0 searched

NextGen Healthcare publishes 12 OAuth 2.0 scopes via the authorizationCode and clientCredentials flows. Scopes are the fine-grained permissions an application requests at authorization time to act against the NextGen Healthcare API on a user’s behalf.

Tokens are issued from https://fhir.nextgen.com/nge/prod/patient-oauth/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

HealthcareUnited StatesEHREMRFHIRHL7InteroperabilitySMART on FHIRUSCDIBulk FHIRPatient Access21st Century Cures
Scopes: 12 Flows: authorizationCode, clientCredentials Method: searched

OAuth endpoints

Authorization URL
https://fhir.nextgen.com/nge/prod/patient-oauth/authorize https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/auth
Token URL
https://fhir.nextgen.com/nge/prod/patient-oauth/token https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/token
Flows
authorizationCodeclientCredentials

Scopes (12)

ScopeDescriptionFlows
openid OpenID Connect authentication scope
offline_access Request a refresh_token usable while the end-user remains offline
fhirUser Return the fhirUser claim identifying the authorized user's FHIR resource
launch SMART EHR launch context
launch/patient Request a patient-scoped access token (standalone launch)
launch/encounter Request an encounter-scoped access token
patient/*.* Full access to all FHIR resources in the patient compartment (Enterprise)
user/*.* Full access to all FHIR resources the user can see (Enterprise)
patient/[Resource].rs SMART v2 granular read+search on a US Core resource in the patient compartment (Office; e.g. patient/Observation.rs)
user/[Resource].rs SMART v2 granular read+search on a US Core resource for the user (Office)
system/[Resource].rs SMART Backend Services granular read+search on a US Core resource (Office; client_credentials)
patient/Observation.rs?category=laboratory Category-filtered granular scope (Office advertises vital-signs, laboratory, social-history, survey, imaging, exam, procedure, activity, therapy, functional-status, cognitive-status, disability-status, sdoh variants)

Source

OAuth Scopes

Raw ↑
generated: '2026-07-24'
method: searched
source: openapi/nextgen-office-fhir-r4-openapi.yaml
docs:
- https://fhir.nextgen.com/nge/prod/fhir-api-r4/fhir/r4/.well-known/smart-configuration
- https://fhir.meditouchehr.com/api/fhir/r4/.well-known/smart-configuration
description: >-
  SMART-on-FHIR OAuth2 scopes for the NextGen FHIR APIs. Enriched from the live published
  smart-configuration documents (scopes_supported) for both NextGen Enterprise (patient OAuth)
  and NextGen Office (Keycloak). NextGen Office advertises the full SMART v2 granular US Core
  scope set (patient/, user/, system/ prefixes with .r/.s/.rs/.read verbs, plus category-filtered
  Observation/Condition scopes); the representative families are listed here rather than the full
  ~350-scope enumeration.
schemes:
- name: SMART-on-FHIR (NextGen Enterprise patient OAuth)
  source: fhir/nextgen-enterprise-r4-smart-configuration.json
  flows:
  - flow: authorizationCode
    authorizationUrl: https://fhir.nextgen.com/nge/prod/patient-oauth/authorize
    tokenUrl: https://fhir.nextgen.com/nge/prod/patient-oauth/token
  - flow: clientCredentials
    tokenUrl: https://fhir.nextgen.com/nge/prod/patient-oauth/token
- name: SMART-on-FHIR (NextGen Office, Keycloak realm nextgen)
  source: fhir/nextgen-office-r4-smart-configuration.json
  flows:
  - flow: authorizationCode
    authorizationUrl: https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/auth
    tokenUrl: https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/token
  - flow: clientCredentials
    tokenUrl: https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/token
scopes:
- scope: openid
  description: OpenID Connect authentication scope
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json, fhir/nextgen-office-r4-smart-configuration.json]
- scope: offline_access
  description: Request a refresh_token usable while the end-user remains offline
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json, fhir/nextgen-office-r4-smart-configuration.json]
- scope: fhirUser
  description: Return the fhirUser claim identifying the authorized user's FHIR resource
  sources: [fhir/nextgen-office-r4-smart-configuration.json]
- scope: launch
  description: SMART EHR launch context
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json, fhir/nextgen-office-r4-smart-configuration.json]
- scope: launch/patient
  description: Request a patient-scoped access token (standalone launch)
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json, fhir/nextgen-office-r4-smart-configuration.json]
- scope: launch/encounter
  description: Request an encounter-scoped access token
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json, fhir/nextgen-office-r4-smart-configuration.json]
- scope: patient/*.*
  description: Full access to all FHIR resources in the patient compartment (Enterprise)
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json]
- scope: user/*.*
  description: Full access to all FHIR resources the user can see (Enterprise)
  sources: [fhir/nextgen-enterprise-r4-smart-configuration.json]
- scope: patient/[Resource].rs
  description: SMART v2 granular read+search on a US Core resource in the patient compartment (Office; e.g. patient/Observation.rs)
  sources: [fhir/nextgen-office-r4-smart-configuration.json]
- scope: user/[Resource].rs
  description: SMART v2 granular read+search on a US Core resource for the user (Office)
  sources: [fhir/nextgen-office-r4-smart-configuration.json]
- scope: system/[Resource].rs
  description: SMART Backend Services granular read+search on a US Core resource (Office; client_credentials)
  sources: [fhir/nextgen-office-r4-smart-configuration.json]
- scope: patient/Observation.rs?category=laboratory
  description: Category-filtered granular scope (Office advertises vital-signs, laboratory, social-history, survey, imaging, exam, procedure, activity, therapy, functional-status, cognitive-status, disability-status, sdoh variants)
  sources: [fhir/nextgen-office-r4-smart-configuration.json]

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/nextgen-healthcare-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.