openapi: 3.1.0 info: title: Meditech Expanse FHIR R4 Allergy Capability API description: Meditech Expanse FHIR API enables standards-based interoperability for sharing patient data across healthcare systems. Supports TEFCA-aligned data exchange through the Traverse Exchange national network, connecting over 700 facilities across 41 US states. Built on HL7 FHIR R4 standards. version: 4.0.0 contact: name: Meditech Support url: https://ehr.meditech.com/contact license: name: Proprietary url: https://ehr.meditech.com/privacy-policy servers: - url: https://{facility}.meditech.com/fhir/r4 variables: facility: default: yourhospital description: Your Meditech facility subdomain security: - SMART_OAuth2: - patient/*.read - user/*.read - launch tags: - name: Capability description: FHIR server capability paths: /metadata: get: operationId: getCapabilityStatement summary: Get FHIR Capability Statement description: Returns the server's CapabilityStatement resource describing supported FHIR resources, interactions, and extensions. tags: - Capability security: [] responses: '200': description: FHIR CapabilityStatement content: application/fhir+json: schema: $ref: '#/components/schemas/CapabilityStatement' components: schemas: CapabilityStatement: type: object properties: resourceType: type: string enum: - CapabilityStatement status: type: string date: type: string format: date-time fhirVersion: type: string format: type: array items: type: string rest: type: array items: type: object securitySchemes: SMART_OAuth2: type: oauth2 description: SMART on FHIR OAuth 2.0 authorization flows: authorizationCode: authorizationUrl: https://yourhospital.meditech.com/oauth/authorize tokenUrl: https://yourhospital.meditech.com/oauth/token scopes: patient/*.read: Read access to all patient-owned resources user/*.read: Practitioner read access to all resources launch: EHR launch context openid: OpenID Connect identity fhirUser: FHIR user claim externalDocs: description: Meditech Interoperability Documentation url: https://ehr.meditech.com/ehr-solutions/meditech-interoperability