naftiko: 1.0.0-alpha2 info: label: Cigna Patient Access API — Patient description: 'Cigna Patient Access API — Patient. 3 operations. Lead operation: Retrieve the authenticated member''s identifier. Self-contained Naftiko capability covering one Cigna business surface.' tags: - Cigna - Patient created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CIGNA_API_KEY: CIGNA_API_KEY capability: consumes: - type: http namespace: patient-access-patient baseUri: https://fhir.cigna.com/PatientAccess/v1 description: Cigna Patient Access API — Patient business capability. Self-contained, no shared references. resources: - name: $userinfo path: /$userinfo operations: - name: getuserinfo method: GET description: Retrieve the authenticated member's identifier outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Patient path: /Patient operations: - name: searchpatient method: GET description: Search the authenticated member's Patient resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: _id in: query type: string - name: metadata path: /metadata operations: - name: getcapabilitystatement method: GET description: Retrieve the FHIR capability statement outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CIGNA_API_KEY}}' exposes: - type: rest namespace: patient-access-patient-rest port: 8080 description: REST adapter for Cigna Patient Access API — Patient. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/userinfo name: userinfo description: REST surface for $userinfo. operations: - method: GET name: getuserinfo description: Retrieve the authenticated member's identifier call: patient-access-patient.getuserinfo outputParameters: - type: object mapping: $. - path: /v1/patient name: patient description: REST surface for Patient. operations: - method: GET name: searchpatient description: Search the authenticated member's Patient resource call: patient-access-patient.searchpatient with: _id: rest._id outputParameters: - type: object mapping: $. - path: /v1/metadata name: metadata description: REST surface for metadata. operations: - method: GET name: getcapabilitystatement description: Retrieve the FHIR capability statement call: patient-access-patient.getcapabilitystatement outputParameters: - type: object mapping: $. - type: mcp namespace: patient-access-patient-mcp port: 9090 transport: http description: MCP adapter for Cigna Patient Access API — Patient. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-authenticated-member-s-identifier description: Retrieve the authenticated member's identifier hints: readOnly: true destructive: false idempotent: true call: patient-access-patient.getuserinfo outputParameters: - type: object mapping: $. - name: search-authenticated-member-s-patient-resource description: Search the authenticated member's Patient resource hints: readOnly: true destructive: false idempotent: true call: patient-access-patient.searchpatient with: _id: tools._id outputParameters: - type: object mapping: $. - name: retrieve-fhir-capability-statement description: Retrieve the FHIR capability statement hints: readOnly: true destructive: false idempotent: true call: patient-access-patient.getcapabilitystatement outputParameters: - type: object mapping: $.