naftiko: 1.0.0-alpha2 info: label: CMS Blue Button 2.0 API — ExplanationOfBenefit description: 'CMS Blue Button 2.0 API — ExplanationOfBenefit. 2 operations. Lead operation: Search ExplanationOfBenefit. Self-contained Naftiko capability covering one Centers For Medicare And Medicaid Services business surface.' tags: - Centers For Medicare And Medicaid Services - ExplanationOfBenefit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY: CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY capability: consumes: - type: http namespace: cms-blue-button-2-explanationofbenefit baseUri: https://api.bluebutton.cms.gov/v2/fhir description: CMS Blue Button 2.0 API — ExplanationOfBenefit business capability. Self-contained, no shared references. resources: - name: ExplanationOfBenefit path: /ExplanationOfBenefit operations: - name: searchexplanationofbenefit method: GET description: Search ExplanationOfBenefit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: patient in: query type: string description: Patient resource reference. - name: _lastUpdated in: query type: string description: Filter by last-updated timestamp. - name: ExplanationOfBenefit-id path: /ExplanationOfBenefit/{id} operations: - name: readexplanationofbenefit method: GET description: Read ExplanationOfBenefit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: FHIR ExplanationOfBenefit resource ID. required: true authentication: type: bearer token: '{{env.CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY}}' exposes: - type: rest namespace: cms-blue-button-2-explanationofbenefit-rest port: 8080 description: REST adapter for CMS Blue Button 2.0 API — ExplanationOfBenefit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/explanationofbenefit name: explanationofbenefit description: REST surface for ExplanationOfBenefit. operations: - method: GET name: searchexplanationofbenefit description: Search ExplanationOfBenefit call: cms-blue-button-2-explanationofbenefit.searchexplanationofbenefit with: patient: rest.patient _lastUpdated: rest._lastUpdated outputParameters: - type: object mapping: $. - path: /v1/explanationofbenefit/{id} name: explanationofbenefit-id description: REST surface for ExplanationOfBenefit-id. operations: - method: GET name: readexplanationofbenefit description: Read ExplanationOfBenefit call: cms-blue-button-2-explanationofbenefit.readexplanationofbenefit with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: cms-blue-button-2-explanationofbenefit-mcp port: 9090 transport: http description: MCP adapter for CMS Blue Button 2.0 API — ExplanationOfBenefit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-explanationofbenefit description: Search ExplanationOfBenefit hints: readOnly: true destructive: false idempotent: true call: cms-blue-button-2-explanationofbenefit.searchexplanationofbenefit with: patient: tools.patient _lastUpdated: tools._lastUpdated outputParameters: - type: object mapping: $. - name: read-explanationofbenefit description: Read ExplanationOfBenefit hints: readOnly: true destructive: false idempotent: true call: cms-blue-button-2-explanationofbenefit.readexplanationofbenefit with: id: tools.id outputParameters: - type: object mapping: $.