Orion Health · Capability

Orion Health FHIR API — AllergyIntolerance

Orion Health FHIR API — AllergyIntolerance. 2 operations. Lead operation: Orion Health Search for allergy intolerances. Self-contained Naftiko capability covering one Orion business surface.

Run with Naftiko OrionAllergyIntolerance

What You Can Do

GET
Searchallergyintolerances — Orion Health Search for allergy intolerances
/v1/allergyintolerance
GET
Getallergyintolerance — Orion Health Read an allergy intolerance by ID
/v1/allergyintolerance/{id}

MCP Tools

orion-health-search-allergy-intolerances

Orion Health Search for allergy intolerances

read-only idempotent
orion-health-read-allergy-intolerance

Orion Health Read an allergy intolerance by ID

read-only idempotent

Capability Spec

fhir-allergyintolerance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orion Health FHIR API — AllergyIntolerance
  description: 'Orion Health FHIR API — AllergyIntolerance. 2 operations. Lead operation: Orion Health Search for allergy
    intolerances. Self-contained Naftiko capability covering one Orion business surface.'
  tags:
  - Orion
  - AllergyIntolerance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORION_API_KEY: ORION_API_KEY
capability:
  consumes:
  - type: http
    namespace: fhir-allergyintolerance
    baseUri: https://api.orionhealth.com/fhir
    description: Orion Health FHIR API — AllergyIntolerance business capability. Self-contained, no shared references.
    resources:
    - name: AllergyIntolerance
      path: /AllergyIntolerance
      operations:
      - name: searchallergyintolerances
        method: GET
        description: Orion Health Search for allergy intolerances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: patient
          in: query
          type: string
          description: Reference to the patient
        - name: clinical-status
          in: query
          type: string
          description: Clinical status of the allergy
        - name: type
          in: query
          type: string
          description: allergy or intolerance
        - name: criticality
          in: query
          type: string
          description: Criticality level
    - name: AllergyIntolerance-id
      path: /AllergyIntolerance/{id}
      operations:
      - name: getallergyintolerance
        method: GET
        description: Orion Health Read an allergy intolerance by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ORION_API_KEY}}'
  exposes:
  - type: rest
    namespace: fhir-allergyintolerance-rest
    port: 8080
    description: REST adapter for Orion Health FHIR API — AllergyIntolerance. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/allergyintolerance
      name: allergyintolerance
      description: REST surface for AllergyIntolerance.
      operations:
      - method: GET
        name: searchallergyintolerances
        description: Orion Health Search for allergy intolerances
        call: fhir-allergyintolerance.searchallergyintolerances
        with:
          patient: rest.patient
          clinical-status: rest.clinical-status
          type: rest.type
          criticality: rest.criticality
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/allergyintolerance/{id}
      name: allergyintolerance-id
      description: REST surface for AllergyIntolerance-id.
      operations:
      - method: GET
        name: getallergyintolerance
        description: Orion Health Read an allergy intolerance by ID
        call: fhir-allergyintolerance.getallergyintolerance
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fhir-allergyintolerance-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orion Health FHIR API — AllergyIntolerance. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: orion-health-search-allergy-intolerances
      description: Orion Health Search for allergy intolerances
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-allergyintolerance.searchallergyintolerances
      with:
        patient: tools.patient
        clinical-status: tools.clinical-status
        type: tools.type
        criticality: tools.criticality
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-read-allergy-intolerance
      description: Orion Health Read an allergy intolerance by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-allergyintolerance.getallergyintolerance
      outputParameters:
      - type: object
        mapping: $.