Candid Health · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Reference Encounters API

9 actions 9 updates phrasing extends openapi/candid-health-encounters-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 9

$.info
$.paths['/api/encounters/v4'].get
$.paths['/api/encounters/v4'].post
$.paths['/api/encounters/v4/{encounter_id}'].get
$.paths['/api/encounters/v4/{encounter_id}'].patch
$.paths['/api/encounters/v4/universal'].post
$.paths['/api/encounters/v4/create-from-pre-encounter/universal'].post
$.paths['/api/encounters/v4/create-from-pre-encounter'].post
$.paths['/api/encounters/v4/{encounter_id}/universal'].patch

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 Encounters API
  version: 1.0.0
extends: openapi/candid-health-encounters-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: 8
- target: $.paths['/api/encounters/v4'].get
  update:
    x-apievangelist-phrasing:
      intent: List patient encounters
      effect: read
      questions:
      - Which patient encounters were billed to a particular insurance company?
      - Can I list encounters for a date of service range?
      instructions:
      - text: List encounters billed to {primary_payer_names}.
        slots:
          primary_payer_names: query.primary_payer_names
      - text: Show encounters between {date_of_service_min} and {date_of_service_max}.
        slots:
          date_of_service_min: query.date_of_service_min
          date_of_service_max: query.date_of_service_max
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a professional billing encounter
      effect: write
      questions:
      - How do I bill a professional care visit for a patient?
      - Do professional encounters need a rendering provider and place of service?
      instructions:
      - text: Create professional encounter {external_id} for patient {patient} with rendering provider {rendering_provider}.
        slots:
          external_id: requestBody.external_id
          patient: requestBody.patient
          rendering_provider: requestBody.rendering_provider
      - text: Bill professional visit {external_id} for patient {patient} at {place_of_service_code} rendered by {rendering_provider}.
        slots:
          external_id: requestBody.external_id
          patient: requestBody.patient
          place_of_service_code: requestBody.place_of_service_code
          rendering_provider: requestBody.rendering_provider
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/{encounter_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an encounter
      effect: read
      questions:
      - What diagnoses and service lines are on a specific encounter?
      - Can I look up one encounter by its ID?
      instructions:
      - text: Get encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Show the diagnoses and service lines on encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/{encounter_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an encounter
      effect: write
      questions:
      - Can I change the responsible party on an encounter?
      - How do I add a referral number to an existing encounter?
      instructions:
      - text: Set responsible party {responsible_party} on encounter {encounter_id}.
        slots:
          responsible_party: requestBody.responsible_party
          encounter_id: path.encounter_id
      - text: Add referral number {referral_number} to encounter {encounter_id}.
        slots:
          referral_number: requestBody.referral_number
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/universal'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a professional or institutional encounter
      effect: write
      questions:
      - Can I bill an institutional claim through the universal endpoint?
      - Which submission expectation should an institutional encounter use?
      instructions:
      - text: Create universal encounter {external_id} for patient {patient} with submission expectation {submission_expectation}.
        slots:
          external_id: requestBody.external_id
          patient: requestBody.patient
          submission_expectation: requestBody.submission_expectation
      - text: Submit institutional claim {external_id} for patient {patient} expecting {submission_expectation}.
        slots:
          external_id: requestBody.external_id
          patient: requestBody.patient
          submission_expectation: requestBody.submission_expectation
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/create-from-pre-encounter/universal'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an encounter from a pre-encounter patient
      effect: write
      questions:
      - How do I create an encounter from a patient and appointment managed in the pre-encounter service?
      - Can I pull referring and attending providers into an encounter from a pre-encounter appointment?
      instructions:
      - text: Create encounter {external_id} from pre-encounter patient {pre_encounter_patient_id} and appointments {pre_encounter_appointment_ids}.
        slots:
          external_id: requestBody.external_id
          pre_encounter_patient_id: requestBody.pre_encounter_patient_id
          pre_encounter_appointment_ids: requestBody.pre_encounter_appointment_ids
      - text: Build an encounter from pre-encounter patient {pre_encounter_patient_id} and appointments {pre_encounter_appointment_ids} with billing notes {billing_notes}.
        slots:
          pre_encounter_patient_id: requestBody.pre_encounter_patient_id
          pre_encounter_appointment_ids: requestBody.pre_encounter_appointment_ids
          billing_notes: requestBody.billing_notes
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/create-from-pre-encounter'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an encounter from a pre-encounter patient
      effect: write
      questions:
      - How do I create an encounter from a patient and appointment on the pre-encounter service?
      - Can I pull patient and appointment data into a new encounter?
      instructions:
      - text: Create an encounter from pre-encounter patient {pre_encounter_patient_id} with appointments {pre_encounter_appointment_ids}.
        slots:
          pre_encounter_patient_id: requestBody.pre_encounter_patient_id
          pre_encounter_appointment_ids: requestBody.pre_encounter_appointment_ids
      - text: Create an encounter from patient {pre_encounter_patient_id} for appointments {pre_encounter_appointment_ids} with diagnoses {diagnoses}.
        slots:
          pre_encounter_patient_id: requestBody.pre_encounter_patient_id
          pre_encounter_appointment_ids: requestBody.pre_encounter_appointment_ids
          diagnoses: requestBody.diagnoses
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounters/v4/{encounter_id}/universal'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an institutional or professional encounter
      effect: write
      questions:
      - How do I update an encounter created from a pre-encounter patient?
      - Can I change the billing provider on an encounter created from a pre-encounter patient?
      instructions:
      - text: Update encounter {encounter_id} with billable status {billable_status}.
        slots:
          encounter_id: path.encounter_id
          billable_status: requestBody.billable_status
      - text: Update encounter {encounter_id} to billing provider {billing_provider}.
        slots:
          encounter_id: path.encounter_id
          billing_provider: requestBody.billing_provider
      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-encounters-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.