Orion Health · Capability

Orion Health HIE API — Provider Directory

Orion Health HIE API — Provider Directory. 2 operations. Lead operation: Orion Health Search the provider directory. Self-contained Naftiko capability covering one Orion business surface.

Run with Naftiko OrionProvider Directory

What You Can Do

GET
Searchproviders — Orion Health Search the provider directory
/v1/providers
GET
Getprovider — Orion Health Get provider details
/v1/providers/{providerid}

MCP Tools

orion-health-search-provider-directory

Orion Health Search the provider directory

read-only idempotent
orion-health-get-provider-details

Orion Health Get provider details

read-only idempotent

Capability Spec

hie-provider-directory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orion Health HIE API — Provider Directory
  description: 'Orion Health HIE API — Provider Directory. 2 operations. Lead operation: Orion Health Search the provider
    directory. Self-contained Naftiko capability covering one Orion business surface.'
  tags:
  - Orion
  - Provider Directory
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORION_API_KEY: ORION_API_KEY
capability:
  consumes:
  - type: http
    namespace: hie-provider-directory
    baseUri: https://api.orionhealth.com/hie
    description: Orion Health HIE API — Provider Directory business capability. Self-contained, no shared references.
    resources:
    - name: providers
      path: /providers
      operations:
      - name: searchproviders
        method: GET
        description: Orion Health Search the provider directory
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: Provider or organization name
        - name: npi
          in: query
          type: string
          description: National Provider Identifier
        - name: specialty
          in: query
          type: string
          description: Provider specialty
        - name: type
          in: query
          type: string
          description: Provider type
        - name: city
          in: query
          type: string
        - name: state
          in: query
          type: string
        - name: active
          in: query
          type: boolean
    - name: providers-providerId
      path: /providers/{providerId}
      operations:
      - name: getprovider
        method: GET
        description: Orion Health Get provider details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: providerId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.ORION_API_KEY}}'
  exposes:
  - type: rest
    namespace: hie-provider-directory-rest
    port: 8080
    description: REST adapter for Orion Health HIE API — Provider Directory. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/providers
      name: providers
      description: REST surface for providers.
      operations:
      - method: GET
        name: searchproviders
        description: Orion Health Search the provider directory
        call: hie-provider-directory.searchproviders
        with:
          name: rest.name
          npi: rest.npi
          specialty: rest.specialty
          type: rest.type
          city: rest.city
          state: rest.state
          active: rest.active
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/{providerid}
      name: providers-providerid
      description: REST surface for providers-providerId.
      operations:
      - method: GET
        name: getprovider
        description: Orion Health Get provider details
        call: hie-provider-directory.getprovider
        with:
          providerId: rest.providerId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hie-provider-directory-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orion Health HIE API — Provider Directory. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: orion-health-search-provider-directory
      description: Orion Health Search the provider directory
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hie-provider-directory.searchproviders
      with:
        name: tools.name
        npi: tools.npi
        specialty: tools.specialty
        type: tools.type
        city: tools.city
        state: tools.state
        active: tools.active
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-get-provider-details
      description: Orion Health Get provider details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hie-provider-directory.getprovider
      with:
        providerId: tools.providerId
      outputParameters:
      - type: object
        mapping: $.