Candid Health · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Reference Patient Merge API

6 actions 6 updates phrasing extends openapi/candid-health-patient-merge-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 6

$.info
$.paths['/patient-merge/v1'].post
$.paths['/patient-merge/v1/status/{mrn_or_id}'].get
$.paths['/patient-merge/v1/all/{mrn}'].get
$.paths['/patient-merge/v1/{id}/{version}'].delete
$.paths['/patient-merge/v1/updates/scan'].get

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 Patient Merge API
  version: 1.0.0
extends: openapi/candid-health-patient-merge-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: 5
- target: $.paths['/patient-merge/v1'].post
  update:
    x-apievangelist-phrasing:
      intent: Merge one patient into another
      effect: write
      questions:
      - How do I merge a duplicate patient into a primary patient?
      - Can I record which MRN was merged into which?
      instructions:
      - text: Merge patient {alternative_patient_mrn} into {primary_patient_mrn}.
        slots:
          alternative_patient_mrn: requestBody.alternative_patient_mrn
          primary_patient_mrn: requestBody.primary_patient_mrn
      - text: Record a merge of {alternative_patient_mrn} into {primary_patient_mrn}.
        slots:
          alternative_patient_mrn: requestBody.alternative_patient_mrn
          primary_patient_mrn: requestBody.primary_patient_mrn
      method: generated
      generated: '2026-11-19'
- target: $.paths['/patient-merge/v1/status/{mrn_or_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a patient merge record
      effect: read
      questions:
      - Has a particular patient merge been processed?
      - What is the status of a merge record by MRN or ID?
      instructions:
      - text: Get the merge status for {mrn_or_id}.
        slots:
          mrn_or_id: path.mrn_or_id
      - text: Check whether merge record {mrn_or_id} is done.
        slots:
          mrn_or_id: path.mrn_or_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/patient-merge/v1/all/{mrn}'].get
  update:
    x-apievangelist-phrasing:
      intent: List all merges for a patient
      effect: read
      questions:
      - Which patients were merged into a given patient?
      - Can I see every merge record for one MRN?
      instructions:
      - text: List all patient merge records for {mrn}.
        slots:
          mrn: path.mrn
      - text: Show every merge where {mrn} was the merged patient.
        slots:
          mrn: path.mrn
      method: generated
      generated: '2026-11-19'
- target: $.paths['/patient-merge/v1/{id}/{version}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Deactivate a patient merge record
      effect: destructive
      questions:
      - How do I undo a patient merge?
      - Do I need the next version number to deactivate a merge?
      instructions:
      - text: Deactivate merge record {id} at version {version}.
        slots:
          id: path.id
          version: path.version
      - text: Revoke merge {id} by passing version {version}.
        slots:
          id: path.id
          version: path.version
      method: generated
      generated: '2026-11-19'
- target: $.paths['/patient-merge/v1/updates/scan'].get
  update:
    x-apievangelist-phrasing:
      intent: Poll patient merge updates
      effect: read
      questions:
      - How do I fetch patient merge updates since a timestamp?
      - Can I poll patient merge changes in batches?
      instructions:
      - text: Scan patient merge updates since {since}.
        slots:
          since: query.since
      - text: Poll patient merge changes since {since}, up to {maxResults}.
        slots:
          since: query.since
          maxResults: query.maxResults
      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-patient-merge-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.