MEDITECH · OpenAPI Overlay 1.0.0

API Evangelist enrichment overlay for Meditech Expanse FHIR R4 Allergy API

2 actions 2 updates update extends ../openapi/meditech-allergy-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}/AllergyIntolerance'].get.responses
$.paths['/Patient/{id}/AllergyIntolerance'].get

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enrichment overlay for Meditech Expanse FHIR R4 Allergy 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-allergy-api-openapi.yml
      directly -- apply with an Overlay 1.0.0-compatible tool.
extends: ../openapi/meditech-allergy-api-openapi.yml
actions:
- target: $.paths['/Patient/{id}/AllergyIntolerance'].get.responses
  description: Add standard FHIR error responses missing from the source model for getPatientAllergies.
  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}/AllergyIntolerance'].get
  description: Cross-reference the x-agentic-access classification API Evangelist maintains for getPatientAllergies
    (see agentic-access/meditech-agentic-access.yml) rather than duplicating it inline.
  update:
    x-agentic-access-ref: ../agentic-access/meditech-agentic-access.yml#getPatientAllergies