naftiko: 1.0.0-alpha2 info: label: Humana FHIR API — Clinical description: 'Humana FHIR API — Clinical. 8 operations. Lead operation: Search AllergyIntolerance. Self-contained Naftiko capability covering one Humana business surface.' tags: - Humana - Clinical created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUMANA_API_KEY: HUMANA_API_KEY capability: consumes: - type: http namespace: humana-clinical baseUri: https://fhir.humana.com/api description: Humana FHIR API — Clinical 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 required: true - name: CarePlan path: /CarePlan operations: - name: searchcareplan method: GET description: Search CarePlan outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: CareTeam path: /CareTeam operations: - name: searchcareteam method: GET description: Search CareTeam outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: Condition path: /Condition operations: - name: searchcondition method: GET description: Search Condition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: Goal path: /Goal operations: - name: searchgoal method: GET description: Search Goal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: Immunization path: /Immunization operations: - name: searchimmunization method: GET description: Search Immunization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: Observation path: /Observation operations: - name: searchobservation method: GET description: Search Observation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true - name: category in: query type: string - name: Procedure path: /Procedure operations: - name: searchprocedure method: GET description: Search Procedure outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string required: true authentication: type: bearer token: '{{env.HUMANA_API_KEY}}' exposes: - type: rest namespace: humana-clinical-rest port: 8080 description: REST adapter for Humana FHIR API — Clinical. 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: humana-clinical.searchallergyintolerance with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/careplan name: careplan description: REST surface for CarePlan. operations: - method: GET name: searchcareplan description: Search CarePlan call: humana-clinical.searchcareplan with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/careteam name: careteam description: REST surface for CareTeam. operations: - method: GET name: searchcareteam description: Search CareTeam call: humana-clinical.searchcareteam with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/condition name: condition description: REST surface for Condition. operations: - method: GET name: searchcondition description: Search Condition call: humana-clinical.searchcondition with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/goal name: goal description: REST surface for Goal. operations: - method: GET name: searchgoal description: Search Goal call: humana-clinical.searchgoal with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/immunization name: immunization description: REST surface for Immunization. operations: - method: GET name: searchimmunization description: Search Immunization call: humana-clinical.searchimmunization with: patient: rest.patient outputParameters: - type: object mapping: $. - path: /v1/observation name: observation description: REST surface for Observation. operations: - method: GET name: searchobservation description: Search Observation call: humana-clinical.searchobservation with: patient: rest.patient category: rest.category outputParameters: - type: object mapping: $. - path: /v1/procedure name: procedure description: REST surface for Procedure. operations: - method: GET name: searchprocedure description: Search Procedure call: humana-clinical.searchprocedure with: patient: rest.patient outputParameters: - type: object mapping: $. - type: mcp namespace: humana-clinical-mcp port: 9090 transport: http description: MCP adapter for Humana FHIR API — Clinical. 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: humana-clinical.searchallergyintolerance with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-careplan description: Search CarePlan hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchcareplan with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-careteam description: Search CareTeam hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchcareteam with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-condition description: Search Condition hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchcondition with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-goal description: Search Goal hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchgoal with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-immunization description: Search Immunization hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchimmunization with: patient: tools.patient outputParameters: - type: object mapping: $. - name: search-observation description: Search Observation hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchobservation with: patient: tools.patient category: tools.category outputParameters: - type: object mapping: $. - name: search-procedure description: Search Procedure hints: readOnly: true destructive: false idempotent: true call: humana-clinical.searchprocedure with: patient: tools.patient outputParameters: - type: object mapping: $.