{
  "opencollection": "1.0.0",
  "info": {
    "name": "Orion Health FHIR Alerts Provider Directory API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.orionhealth.com/oauth2/authorize",
      "accessTokenUrl": "https://auth.orionhealth.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Provider Directory",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Orion Health Search the provider directory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.orionhealth.com/fhir/providers",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Provider or organization name"
              },
              {
                "name": "npi",
                "value": "",
                "type": "query",
                "description": "National Provider Identifier"
              },
              {
                "name": "specialty",
                "value": "",
                "type": "query",
                "description": "Provider specialty"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Provider type"
              },
              {
                "name": "city",
                "value": "",
                "type": "query"
              },
              {
                "name": "state",
                "value": "",
                "type": "query"
              },
              {
                "name": "active",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of items to skip"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return"
              }
            ]
          },
          "docs": "Search the HIE provider directory for healthcare providers and organizations participating in the exchange network."
        },
        {
          "info": {
            "name": "Orion Health Get provider details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.orionhealth.com/fhir/providers/:providerId",
            "params": [
              {
                "name": "providerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details of a specific provider in the HIE directory."
        }
      ]
    }
  ],
  "bundled": true
}