Aetna Organization Affiliation API

The OrganizationAffiliation API from Aetna — 1 operation(s) for organizationaffiliation.

Operations 1

GET /OrganizationAffiliation Retrieves the OrganizationAffiliation resource based on : Specialty + Location. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aetna-organizationaffiliation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aetna-organizationaffiliation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Interoperability Developer Support
    email: InteroperabilityDeveloperSupport@aetna.com
    url: http://
  description: 'This API retrieves OrganizationAffiliation resources based on :

    Specialty + Location.'
  x-ibm-name: v1providerdirectoryorganizationaffiliation
  title: /v1/providerdirectory/ Organization Affiliation API
  version: 1.0.0
servers:
- url: https://qapif1.aetna.com/fhir/v1/providerdirectory
security:
- FHIR_Application_Oauth:
  - Public
- FHIR_Application_Oauth:
  - NonPII
- FHIR_User_AccessCode_Oauth:
  - patient/Patient.read
- FHIR_User_AccessCode_Oauth:
  - patient/Patient.*
- FHIR_User_AccessCode_Oauth:
  - patient/*.read
- FHIR_User_AccessCode_Oauth:
  - patient/*.*
tags:
- name: OrganizationAffiliation
paths:
  /OrganizationAffiliation:
    get:
      summary: 'Retrieves the OrganizationAffiliation resource based on : Specialty + Location.'
      description: This operation retrieves the OrganizationAffiliation resource based on :Specialty + Location. Specialty search parameter will be the NUCC taxonomy code of the specialty. Both Provider and Pharmacy data are available on this resource.
      operationId: GET
      responses:
        '200':
          description: This response returns a Bundle of OrganizationAffiliaton records.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bundle'
              example:
                entry:
                - search:
                    mode: match
                  resource:
                    identifier:
                    - use: official
                    specialty:
                    - coding:
                      - system: http://nucc.org/provider-taxonomy
                        code: 251E00000X
                        display: Other
                      text: Specialty
                    period:
                      start: '2020-01-01'
                      end: '2020-12-31'
                    code:
                    - coding:
                      - system: http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/OrganizationAffiliationRoleCS
                        code: home
                        display: Home Health Provider
                      text: Home Health Provider
                    meta:
                      lastUpdated: '2020-07-28T05:00:54.485+00:00'
                      versionId: 4.0.1
                      profile:
                      - http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation
                    active: true
                    participatingOrganization:
                      reference: Organization/0000000000001719695
                      display: Coram Specialty Infusion Services
                    language: en
                    location:
                    - reference: Location/0000000000001719712
                      display: 4310 E Cotton Center Blvd Ste 110, Phoenix, AZ 85040
                    id: 0000000000001719678
                    resourceType: OrganizationAffiliation
                    network:
                    - display: Aetna Better Health of West Virginia
                  fullUrl: https://apif1.aetna.com/fhir/v1/providerdirectory/OrganizationAffiliation/0000000000001719678
                total: 1
                link:
                - url: https://apif1.aetna.com/fhir/v1/providerdirectory/OrganizationAffiliation?specialty=251E00000X&location.address-city:exact=Phoenix&location.address-state:exact=az&_count=9&page=1
                  relation: self
                - url: https://apif1.aetna.com/fhir/v1/providerdirectory/OrganizationAffiliation?specialty=251E00000X&location.address-city:exact=Phoenix&location.address-state:exact=az&_count=9&page=1
                  relation: first
                - url: https://apif1.aetna.com/fhir/v1/providerdirectory/OrganizationAffiliation?specialty=251E00000X&location.address-city:exact=Phoenix&location.address-state:exact=az&_count=9&page=1
                  relation: next
                - url: https://apif1.aetna.com/fhir/v1/providerdirectory/OrganizationAffiliation?specialty=251E00000X&location.address-city:exact=Phoenix&location.address-state:exact=az&_count=9&page=1
                  relation: last
                id: 8daec58a-a3f4-11ed-9960-9d7971050000
                type: searchset
                resourceType: Bundle
        '400':
          description: A required parameter isn’t provided, or an unknown parameter is provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationOutcome'
              example:
                issue:
                - severity: error
                  code: required
                  details:
                    coding:
                    - system: http://hl7.org/fhir/ValueSet/operation-outcome
                      code: MSG_RESOURCE_ID_MISSING
                      display: Resource Id Missing
                id: 14c27ea91f91d8f01234
                resourceType: OperationOutcome
        '500':
          description: Internal Server Error. Failures on the server side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationOutcome'
              example:
                issue:
                - severity: fatal
                  diagnostics: Backend service failure
                  code: exception
                  details:
                    coding:
                    - system: http://hl7.org/fhir/ValueSet/operation-outcome
                      code: MSG_SVC_FAILURE
                      display: Error occurred while processing response
                id: 53c27ea45fd8f0ff0af91f91
                resourceType: OperationOutcome
      parameters:
      - in: query
        name: specialty
        description: 'Select OrganizationAffiliations providing the specified service.


          Select Organizations or Pharmacies associated with the specified specialty.

          Note:Specialty must be in Taxonomy format.'
        required: true
        schema:
          type: string
      - in: query
        name: location.address-state:exact
        description: 'Select OrganizationAffiliations with an address in the specified state.


          State of the Organizations or Pharmacies.


          State will be 2 letter abbreviation.'
        required: false
        schema:
          type: string
      - in: query
        name: location.address-city:exact
        description: 'Select OrganizationAffiliations with an address in the specified city.


          Name of city, town etc of the Organizations or Pharmacies.'
        required: false
        schema:
          type: string
      - in: query
        name: location.address-postalcode:exact
        description: 'Select OrganizationAffiliations with an address in the specified postal code


          US Zip code of the Organizations or Pharmacies.


          Postal code will be priority over City +State.


          Postal code will be 5 valid 5 digit numeric.'
        required: false
        schema:
          type: string
      - in: query
        name: page
        description: 'Used for pagination: potential values to navigate to a specific page. “self”–page=10  “first”–page=1  “last”–page=65  “previous”–page=9 “next”–page=11'
        required: false
        schema:
          type: number
      - in: query
        name: _count
        description: _count parameter is used to define the maximum number of search results to show on a page
        required: false
        schema:
          type: number
      tags:
      - OrganizationAffiliation
components:
  schemas:
    Bundle:
      description: 'See the appropriate Implementation Guide for proper documentation to use


        This is the HL7 FHIR Release 4.0.1 Bundle resource.

        Full Documentation is available at: http://hl7.org/fhir/bundle.html'
      type: object
      properties:
        entry:
          type: array
          items:
            $ref: '#/components/schemas/Entry'
    Entry:
      description: An entry in a bundle resource - will contain a resource(s) returned in the bundle
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/OrganizationAffiliation'
    OperationOutcome:
      description: 'See the appropriate Implementation Guide for proper documentation to use


        This is the HL7 FHIR Release 4.0.1 OperationOutcome resource.

        Full Documentation is available at: http://hl7.org/fhir/operationoutcome.html'
      type: object
    OrganizationAffiliation:
      description: 'See the appropriate Implementation Guide for proper documentation to use


        This is the HL7 FHIR Release 4.0.1 OrganizationAffiliation resource.

        Full Documentation is available at: http://hl7.org/fhir/organizationaffiliation.html


        For the DaVinci PDEX Plan Net 1.0.0 OrganizationAffiliation resource documentation is available at:

        http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1/StructureDefinition-plannet-OrganizationAffiliation.html


        For the DaVinci PDEX Plan Net 1.1.0 OrganizationAffiliation resource documentation is available at:

        http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition-plannet-OrganizationAffiliation.html'
      type: object
  securitySchemes:
    FHIR_User_AccessCode_Oauth:
      type: oauth2
      flows:
        authorizationCode:
          scopes:
            patient/Patient.*: ''
            patient/Patient.read: ''
            patient/*.read: ''
            patient/*.*: ''
          authorizationUrl: /Authorize
          tokenUrl: /Token
    FHIR_Application_Oauth:
      type: oauth2
      flows:
        clientCredentials:
          scopes:
            NonPII: ''
            Public: ''
          tokenUrl: /Token
externalDocs:
  description: HTTP Errors
  url: https://eaintegrationgovernance.github.io/APIC-Common-Error-Codes.github.io/
x-ibm-configuration:
  phase: realized
  enforced: true
  testable: true
x-ibm-endpoints:
- endpointUrl: https://qahapi.aetna.com/fhir/qapath3
  type:
  - production
  - development
- endpointUrl: https://qaehapi.aetna.com/fhir/qapath3
  type:
  - production
  - development