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