Candid Health · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Reference Encounter Providers API

13 actions 13 updates phrasing extends openapi/candid-health-encounter-providers-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Candid Health's API. It is a proposal applied on top of the contract, not a document Candid Health publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 13

$.info
$.paths['/api/encounter-providers/v2/{encounter_id}'].patch
$.paths['/api/encounter-providers/v2/{encounter_id}/initial-referring-provider'].delete
$.paths['/api/encounter-providers/v2/{encounter_id}/initial-referring-provider'].patch
$.paths['/api/encounter-providers/v2/{encounter_id}/supervising-provider'].delete
$.paths['/api/encounter-providers/v2/{encounter_id}/supervising-provider'].patch
$.paths['/api/encounter-providers/v2/{service_line_id}/ordering-provider'].delete
$.paths['/api/encounter-providers/v2/{service_line_id}/ordering-provider'].patch
$.paths['/api/encounter-providers/v2/{encounter_id}/create-referring-provider'].post
$.paths['/api/encounter-providers/v2/{encounter_id}/create-initial-referring-provider'].post
$.paths['/api/encounter-providers/v2/{encounter_id}/create-supervising-provider'].post
$.paths['/api/encounter-providers/v2/{service_line_id}/create-ordering-provider'].post
$.paths['/api/encounter-providers/v2/{encounter_id}/referring-provider'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Reference Encounter Providers API
  version: 1.0.0
extends: openapi/candid-health-encounter-providers-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 12
- target: $.paths['/api/encounter-providers/v2/{encounter_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update the referring provider on an encounter
      effect: write
      questions:
      - Can I change the referring provider on an encounter after it's started?
      - What do I need to update a referring provider, like an NPI or address?
      instructions:
      - text: Update the referring provider on encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Change the referring provider on encounter {encounter_id} to {first_name} {last_name}, NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/initial-referring-provider'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove the initial referring provider from an encounter
      effect: destructive
      questions:
      - How do I clear the initial referring provider on an encounter?
      - Can I delete the first referring provider on an encounter?
      instructions:
      - text: Delete the initial referring provider from encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Remove the first referring provider on encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/initial-referring-provider'].patch
  update:
    x-apievangelist-phrasing:
      intent: Set the referring provider on an encounter
      effect: write
      questions:
      - How do I add the provider who sent a patient to an encounter?
      - Can I set a referring provider by NPI on a visit?
      instructions:
      - text: Set the referring provider on encounter {encounter_id} to {first_name} {last_name}, NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
      - text: Record {organization_name} as the referring organization for visit {encounter_id}.
        slots:
          organization_name: requestBody.organization_name
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/supervising-provider'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove the supervising provider from an encounter
      effect: destructive
      questions:
      - How do I clear the supervising provider on an encounter?
      - Can I delete the supervising provider from an encounter?
      instructions:
      - text: Delete the supervising provider from encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Remove the supervising provider on encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/supervising-provider'].patch
  update:
    x-apievangelist-phrasing:
      intent: Set the supervising provider on an encounter
      effect: write
      questions:
      - Who was the attending doctor supervising an encounter?
      - Can I remove the supervising provider from a visit?
      instructions:
      - text: Set the supervising provider on encounter {encounter_id} to {first_name} {last_name}, NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
      - text: Record {organization_name} as the supervising provider for visit {encounter_id}.
        slots:
          organization_name: requestBody.organization_name
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{service_line_id}/ordering-provider'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove the ordering provider from a service line
      effect: destructive
      questions:
      - How do I clear the ordering provider on a service line?
      - Can I delete the ordering provider from a service line?
      instructions:
      - text: Delete the ordering provider from service line {service_line_id}.
        slots:
          service_line_id: path.service_line_id
      - text: Remove the ordering provider on service line {service_line_id}.
        slots:
          service_line_id: path.service_line_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{service_line_id}/ordering-provider'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update the ordering provider on a service line
      effect: write
      questions:
      - Can I change the ordering provider on a service line?
      - What do I need to update an ordering provider, like an NPI or address?
      instructions:
      - text: Update the ordering provider on service line {service_line_id}.
        slots:
          service_line_id: path.service_line_id
      - text: Change the ordering provider on service line {service_line_id} to {first_name} {last_name}, NPI {npi}.
        slots:
          service_line_id: path.service_line_id
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/create-referring-provider'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a referring provider to an encounter
      effect: write
      questions:
      - How do I add a referring provider to an encounter?
      - Is an NPI required when adding a referring provider?
      instructions:
      - text: Create a referring provider on encounter {encounter_id} with NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          npi: requestBody.npi
      - text: Add referring provider {first_name} {last_name} (NPI {npi}) to encounter {encounter_id}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/create-initial-referring-provider'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an initial referring provider to an encounter
      effect: write
      questions:
      - How do I set the initial referring provider on an encounter?
      - Can I add a first referring provider with a qualifier?
      instructions:
      - text: Create an initial referring provider on encounter {encounter_id} with NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          npi: requestBody.npi
      - text: Add first referring provider {first_name} {last_name} (NPI {npi}, qualifier {qualifier}) to encounter {encounter_id}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
          qualifier: requestBody.qualifier
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/create-supervising-provider'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a supervising provider to an encounter
      effect: write
      questions:
      - How do I add a supervising provider to an encounter?
      - Is an NPI required when adding a supervising provider?
      instructions:
      - text: Create a supervising provider on encounter {encounter_id} with NPI {npi}.
        slots:
          encounter_id: path.encounter_id
          npi: requestBody.npi
      - text: Add supervising provider {first_name} {last_name} (NPI {npi}) to encounter {encounter_id}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{service_line_id}/create-ordering-provider'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an ordering provider to a service line
      effect: write
      questions:
      - How do I add an ordering provider to a service line?
      - Is an NPI required when adding an ordering provider?
      instructions:
      - text: Create an ordering provider on service line {service_line_id} with NPI {npi}.
        slots:
          service_line_id: path.service_line_id
          npi: requestBody.npi
      - text: Add ordering provider {first_name} {last_name} (NPI {npi}) to service line {service_line_id}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          npi: requestBody.npi
          service_line_id: path.service_line_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-providers/v2/{encounter_id}/referring-provider'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove the referring provider from an encounter
      effect: destructive
      questions:
      - How do I clear the referring provider I already set on an encounter?
      - Can I remove the referring provider field from a visit?
      instructions:
      - text: Remove the referring provider from encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Clear the referring provider of visit {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/candid-health-encounter-providers-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.