athenahealth CDS Hooks API

The CDS Hooks API from athenahealth — 2 operation(s) for cds hooks.

Operations 2

GET /cds-services Discover CDS Services #
POST /cds-services/{id} Invoke CDS Service #

Documentation

Specifications

Schemas & Data

Other Resources

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/athena-health-cds-hooks-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

athenahealth-cds-hooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: athenahealth CDS Hooks API
  description: 'CDS Hooks integration for athenaOne — invoke remote clinical decision

    support services at well-defined points in the EHR workflow.

    '
  version: 1.0.0
servers:
- url: https://cds.example.com
  description: Third-party CDS service implementing CDS Hooks
tags:
- name: CDS Hooks
paths:
  /cds-services:
    get:
      summary: Discover CDS Services
      operationId: discoverCdsServices
      tags:
      - CDS Hooks
      responses:
        '200':
          description: Discovery response
          content:
            application/json:
              schema:
                type: object
                properties:
                  services:
                    type: array
                    items:
                      $ref: '#/components/schemas/CdsService'
  /cds-services/{id}:
    post:
      summary: Invoke CDS Service
      operationId: invokeCdsService
      tags:
      - CDS Hooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CdsRequest'
      responses:
        '200':
          description: CDS Hooks response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CdsResponse'
components:
  schemas:
    CdsService:
      type: object
      properties:
        id:
          type: string
        hook:
          type: string
          enum:
          - patient-view
          - order-select
          - order-sign
          - appointment-book
        title:
          type: string
        description:
          type: string
        prefetch:
          type: object
          additionalProperties:
            type: string
    CdsResponse:
      type: object
      properties:
        cards:
          type: array
          items:
            $ref: '#/components/schemas/Card'
    CdsRequest:
      type: object
      properties:
        hook:
          type: string
        hookInstance:
          type: string
        fhirServer:
          type: string
          format: uri
        context:
          type: object
        prefetch:
          type: object
    Card:
      type: object
      properties:
        summary:
          type: string
        indicator:
          type: string
          enum:
          - info
          - warning
          - critical
        detail:
          type: string
        source:
          type: object
          properties:
            label:
              type: string
            url:
              type: string
              format: uri
        suggestions:
          type: array
          items:
            type: object
        links:
          type: array
          items:
            type: object
            properties:
              label:
                type: string
              url:
                type: string
                format: uri
              type:
                type: string
                enum:
                - absolute
                - smart