Providers

Providers represent practice employees who can be booked for an appointment at a given practice.

There are a couple things to take note in order to understand the response data for the providers resources.

First, it is not uncommon for a practice to re-use or rename providers within their health record system. It is recommended that you confirm with the practice, which provider records they want you to work with.

Second, in order to receive Appointment Slots for a provider, they have an Availabilities defining when they can accept appointments.

📘

Creating New Providers

It is worth noting that the NexHealth API does not support creating new providers. Practices typically set up their providers when they onboard to a new electronic medical record system, and do not want their providers to be created or modified.

Querying Requestable Providers

To only receive a result set of providers, simply specify the location_id parameter in your GET request as shown in the examples below.

curl --request GET 'https://nexhealth.info/providers?subdomain=test&&location_id=75&requestable=true&page=1&per_page=2' \
--header 'Authorization: ***********' \
--header 'Accept: application/vnd.Nexhealth+json;version=2'
curl --request GET 'https://nexhealth.info/locations/75/providers?subdomain=test&requestable=true&page=1&per_page=2' \
--header 'Authorization: ***********' \
--header 'Accept: application/vnd.Nexhealth+json;version=2'

Providers Response

{
  "code": false,
  "description": [
    [
      "Description"
    ]
  ],
  "error": [
    [
      "Error"
    ]
  ],
  "data": {
    "id": 415,
    "email": "[email protected]",
    "first_name": "John",
    "middle_name": "Anthony",
    "last_name": "Smith",
    "name": "John Smith",
    "display_name": "John Smith",
    "doctor_name": "Dr. John Smith",
    "meta_type": "Dentist",
    "created_at": "2020-06-05T20:16:57.007Z",
    "updated_at": "2020-06-05T20:16:57.007Z",
    "profile_url": "https://storage.googleapis.com/nexassets/app/img/icon/avatar.svg",
    "foreign_id": 0,
    "foreign_id_type": "--DataSource-",
    "npi": "string",
    "inst_ids": [
      [
        1,
        2
      ]
    ],
    "bio": {
      "phone_number": "5163042196",
      "date_of_birth": "1964-05-03"
    },
    "unsubscribe_emails": true,
    "inactive": false,
    "last_sync": true,
    "last_sync_time": "string",
    "unsubscribe_sms": true,
    "locations": [
      {
        ...
      }
    ],
    "provider_requestables": [
      {
        "location_id": 4
      }
    ]
  },
  "count": 2
}