CharmHealth · Capability

CharmHealth FHIR API — AllergyIntolerance

CharmHealth FHIR API — AllergyIntolerance. 1 operations. Lead operation: Search AllergyIntolerance. Self-contained Naftiko capability covering one Charmhealth business surface.

Run with Naftiko CharmhealthAllergyIntolerance

What You Can Do

GET
Searchallergyintolerance — Search AllergyIntolerance
/v1/allergyintolerance

MCP Tools

search-allergyintolerance

Search AllergyIntolerance

read-only idempotent

Capability Spec

fhir-allergyintolerance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CharmHealth FHIR API — AllergyIntolerance
  description: 'CharmHealth FHIR API — AllergyIntolerance. 1 operations. Lead operation: Search AllergyIntolerance. Self-contained
    Naftiko capability covering one Charmhealth business surface.'
  tags:
  - Charmhealth
  - AllergyIntolerance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHARMHEALTH_API_KEY: CHARMHEALTH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fhir-allergyintolerance
    baseUri: https://ehr2.charmtracker.com/api/ehr/v2/fhir
    description: CharmHealth FHIR API — AllergyIntolerance business capability. Self-contained, no shared references.
    resources:
    - name: AllergyIntolerance
      path: /AllergyIntolerance
      operations:
      - name: searchallergyintolerance
        method: GET
        description: Search AllergyIntolerance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: patient
          in: query
          type: string
        - name: clinical-status
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.CHARMHEALTH_API_KEY}}'
  exposes:
  - type: rest
    namespace: fhir-allergyintolerance-rest
    port: 8080
    description: REST adapter for CharmHealth 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: searchallergyintolerance
        description: Search AllergyIntolerance
        call: fhir-allergyintolerance.searchallergyintolerance
        with:
          patient: rest.patient
          clinical-status: rest.clinical-status
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fhir-allergyintolerance-mcp
    port: 9090
    transport: http
    description: MCP adapter for CharmHealth FHIR API — AllergyIntolerance. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: search-allergyintolerance
      description: Search AllergyIntolerance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-allergyintolerance.searchallergyintolerance
      with:
        patient: tools.patient
        clinical-status: tools.clinical-status
      outputParameters:
      - type: object
        mapping: $.