NextGen Healthcare Practitioner Role API

https://hl7.org/fhir/R4/practitionerrole.html

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /fhir/r4/PractitionerRole/{id} Get one practitioner role · Get fhir r4 practitioner role by id #
Ask an LLM
“Can I fetch a single practitioner role by its role id?”
“What does one PractitionerRole record describe?”
Tell an agent
Get practitioner role {id}.
Show the specialty and organization on role {id}.
GET /fhir/r4/PractitionerRole List a practitioner's roles · Get fhir r4 practitioner role #
Ask an LLM
“Which roles does a given practitioner hold?”
“How do I find the roles linked to one clinician?”
Tell an agent
List roles for practitioner {practitioner}.
Show where practitioner {practitioner} works and in what role.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/nextgen-healthcare:nextgen-healthcare-practitioner-role-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

nextgen-healthcare-practitioner-role-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: NextGen Office FHIR Practitioner Role API
  description: 'Our API is coded against the US Core Specification (FHIR Version: 4.0.0) https://hl7.org/fhir/us/core/CapabilityStatement-server.html'
  contact:
    email: nextgen-office-api@nextgen.com
servers:
- url: https://fhir.meditouchehr.com/api/
security:
- OauthSecurity:
  - patient/*.read
tags:
- name: Practitioner Role
  description: https://hl7.org/fhir/R4/practitionerrole.html
paths:
  /fhir/r4/PractitionerRole/{id}:
    get:
      tags:
      - Practitioner Role
      description: 'Fetches a Practitioner Role by id.


        FHIR Resource: PractitionerRole

        * Practitioner Role'
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PractitionerRole'
        '404':
          $ref: '#/components/responses/ResourceNotFound404'
        '401':
          $ref: '#/components/responses/ResourceNotAuthorized401'
      summary: Get fhir r4 practitioner role by id
      x-summary-source: derived
      operationId: getFhirR4PractitionerRoleById
      x-operation-id-source: derived
  /fhir/r4/PractitionerRole:
    get:
      tags:
      - Practitioner Role
      description: 'Fetches a bundled resource containing practitioner role data based on the provided parameters.


        - If `practitioner_id` is provided, a bundle containing a practitioner role is returned.


        FHIR Resource: PractitionerRole

        * Practitioner Role'
      parameters:
      - $ref: '#/components/parameters/practitioner_id'
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PractitionerRoleBundled'
        '404':
          $ref: '#/components/responses/ResourceNotFound404'
        '401':
          $ref: '#/components/responses/ResourceNotAuthorized401'
      summary: Get fhir r4 practitioner role
      x-summary-source: derived
      operationId: getFhirR4PractitionerRole
      x-operation-id-source: derived
components:
  parameters:
    id:
      description: The id of the resource
      name: id
      in: path
      required: true
      schema:
        type: string
    practitioner_id:
      description: The id of the practitioner
      name: practitioner
      in: query
      required: true
      schema:
        type: string
  schemas:
    PractitionerRole:
      type: object
      properties:
        responseType:
          type: string
          minLength: 1
        id:
          type: string
          minLength: 1
          description: id of the resource
        meta:
          type: object
          description: Metadata about the resource
          properties:
            profile:
              description: Profiles this resource claims to conform to
              type: array
              items:
                type: string
          required:
          - profile
        identifier:
          description: Business Identifiers that are specific to a role
          type: array
          uniqueItems: true
          minItems: 1
          items:
            type: object
            properties:
              system:
                type: string
                minLength: 1
                description: The namespace for the identifier value
              value:
                type: string
                minLength: 1
                description: The value that is unique
            required:
            - system
            - value
        organization:
          type: object
          description: Organization where the roles are available
          properties:
            reference:
              type: string
              description: Reference to Organization Resource
            display:
              type: string
              description: Practice name
        practitioner:
          type: object
          description: Practitioner that is able to provide the defined services for the organization
          properties:
            reference:
              type: string
              description: Reference to Practitioner Resource
            display:
              type: string
              description: Practitioner name
        location:
          type: array
          description: The location(s) at which this practitioner provides care
          items:
            type: object
            properties:
              reference:
                type: string
                description: Reference to Location Resource
              display:
                type: string
                description: Location name
        specialty:
          type: array
          description: Specific specialty of the practitioner
          items:
            type: object
            properties:
              system:
                type: string
              code:
                type: string
              display:
                type: string
        telecom:
          type: array
          description: Contact details that are specific to the role/location/service
          items:
            type: object
            properties:
              system:
                type: string
                description: phone | fax | email | pager | url | sms | other
              value:
                type: string
                description: The actual contact point details
              use:
                type: string
                description: home | work | temp | old | mobile - purpose of this contact point
      required:
      - id
      - identifier
      - responseType
      - practitioner
    PractitionerRoleBundled:
      type: object
      properties:
        resourceType:
          type: string
          minLength: 1
        id:
          type: string
          description: The id of the resource.
        meta:
          type: object
          properties:
            lastUpdated:
              type: string
              description: Date in format - YYYY-MM-DDThh:mm:ss+zz
        type:
          type: string
          minLength: 1
          description: Type of Search
        total:
          type: integer
          description: Number of practitioner role in entry field
        link:
          type: array
          items:
            type: object
            properties:
              relation:
                type: string
                minLength: 1
                description: relation of the resource with link provided in url
              url:
                type: string
                minLength: 1
                description: FHIR URI of the request
          required:
          - relation
          - url
        entry:
          type: array
          items:
            type: object
            properties:
              fullUrl:
                type: string
                minLength: 1
                description: FHIR URI of respective practitioner role resource in entry
              resource:
                $ref: '#/components/schemas/PractitionerRole'
      required:
      - id
      - resourceType
      - meta
      - type
      - total
      - link
      - entry
  responses:
    ResourceNotFound404:
      description: Resource not found
    ResourceNotAuthorized401:
      description: Resource not authorized to be viewed by this user
  securitySchemes:
    OauthSecurity:
      type: oauth2
      flows:
        authorizationCode:
          scopes:
            openid: Open ID scope
            launch/patient: Used by clients to request a patient-scoped access token
            offline_access: Request a refresh_token that can be used to obtain a new access token to replace an expired one, and that will be usable for as long as the end-user remains online.
            patient/*.read: Read access to all Patient Resources
          authorizationUrl: https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/auth?aud=https://fhir.meditouchehr.com/api/fhir/r4
          tokenUrl: https://idp-prod.prod.ngo.nextgenaws.net/auth/realms/nextgen/protocol/openid-connect/token
      description: Access code based oauth authentication
externalDocs:
  description: Find out more about NextGen Office FHIR API
  url: https://www.nextgen.com/products-and-services/nextgen-office