Humana · Capability

Humana FHIR API — Demographic

Humana FHIR API — Demographic. 2 operations. Lead operation: Get Patient. Self-contained Naftiko capability covering one Humana business surface.

Run with Naftiko HumanaDemographic

What You Can Do

GET
Getpatient — Get Patient
/v1/patient/{id}
GET
Searchpractitioner — Search Practitioner
/v1/practitioner

MCP Tools

get-patient

Get Patient

read-only idempotent
search-practitioner

Search Practitioner

read-only idempotent

Capability Spec

humana-demographic.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Humana FHIR API — Demographic
  description: 'Humana FHIR API — Demographic. 2 operations. Lead operation: Get Patient. Self-contained Naftiko capability
    covering one Humana business surface.'
  tags:
  - Humana
  - Demographic
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HUMANA_API_KEY: HUMANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: humana-demographic
    baseUri: https://fhir.humana.com/api
    description: Humana FHIR API — Demographic business capability. Self-contained, no shared references.
    resources:
    - name: Patient-id
      path: /Patient/{id}
      operations:
      - name: getpatient
        method: GET
        description: Get Patient
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    - name: Practitioner
      path: /Practitioner
      operations:
      - name: searchpractitioner
        method: GET
        description: Search Practitioner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.HUMANA_API_KEY}}'
  exposes:
  - type: rest
    namespace: humana-demographic-rest
    port: 8080
    description: REST adapter for Humana FHIR API — Demographic. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/patient/{id}
      name: patient-id
      description: REST surface for Patient-id.
      operations:
      - method: GET
        name: getpatient
        description: Get Patient
        call: humana-demographic.getpatient
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/practitioner
      name: practitioner
      description: REST surface for Practitioner.
      operations:
      - method: GET
        name: searchpractitioner
        description: Search Practitioner
        call: humana-demographic.searchpractitioner
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: humana-demographic-mcp
    port: 9090
    transport: http
    description: MCP adapter for Humana FHIR API — Demographic. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-patient
      description: Get Patient
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: humana-demographic.getpatient
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: search-practitioner
      description: Search Practitioner
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: humana-demographic.searchpractitioner
      outputParameters:
      - type: object
        mapping: $.