MEDITECH · OpenAPI Overlay 1.0.0

API Evangelist enrichment overlay for Meditech Expanse FHIR R4 Allergy Encounter API

2 actions 2 updates update extends ../openapi/meditech-encounter-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for MEDITECH's API. It is a proposal applied on top of the contract, not a document MEDITECH publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

401404x-agentic-access-ref

Targets 2

$.paths['/Patient/{id}/Encounter'].get.responses
$.paths['/Patient/{id}/Encounter'].get

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enrichment overlay for Meditech Expanse FHIR R4 Allergy Encounter API
  version: 1.0.0
  x-provenance:
    generated: '2026-08-14'
    method: generated
    origin: api-evangelist-derived
    note: Adds standard FHIR error responses (401 on every operation; 404 on single-resource reads) that
      the API Evangelist-derived US Core R4 model omits, plus a pointer to the x-agentic-access classification
      kept separately in agentic-access/meditech-agentic-access.yml. Never mutates openapi/meditech-encounter-api-openapi.yml
      directly -- apply with an Overlay 1.0.0-compatible tool.
extends: ../openapi/meditech-encounter-api-openapi.yml
actions:
- target: $.paths['/Patient/{id}/Encounter'].get.responses
  description: Add standard FHIR error responses missing from the source model for getPatientEncounters.
  update:
    '401':
      description: Unauthorized -- missing or invalid SMART on FHIR bearer token.
      content:
        application/fhir+json:
          schema:
            $ref: '#/components/schemas/OperationOutcome'
    '404':
      description: Resource not found.
      content:
        application/fhir+json:
          schema:
            $ref: '#/components/schemas/OperationOutcome'
- target: $.paths['/Patient/{id}/Encounter'].get
  description: Cross-reference the x-agentic-access classification API Evangelist maintains for getPatientEncounters
    (see agentic-access/meditech-agentic-access.yml) rather than duplicating it inline.
  update:
    x-agentic-access-ref: ../agentic-access/meditech-agentic-access.yml#getPatientEncounters

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/meditech-encounter-api-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. See our Privacy Policy and Terms.

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