---
title: Doctor Object
slug: doctor-object
createdAt: 2023-01-25T22:08:52.000Z
---

Doctors describe a practitioner, usually associated with and operating out of one or more locations.

::::CodeDrawer{title="The Doctor Object" isResponseExpanded="false" autoGeneratedAnchorSlug="the-doctor-object" legacyHash="1jDbAyShE3LZpElj2A6S5"}
:::CodeblockTabsExamples
```json
{
    "doctor_id": 321,
    "doctor_name": "Dr. Wasserman",
    "email": "drwass@example.com",
    "first_name": "Jim",
    "last_name": "Wasserman",
    "telephone":"",
    "locations":[
        {
            "location_id": 12345,
            "location_name": "Main Office",
            "city": "Chicago",
            "region_id": "IL",
            "country_id": "US",
            "address": [
                "Street Address",
                "Office Suite"
            ],
            "postcode": "",
            "telephone": ""
        }
    ]
}
```
:::

:::CodeblockTabsResponses
```javascript
```
:::
::::

:::ExpandableHeading{isOpen="true"}
## Core Attributes

**doctor\_id&#x20;**`integer`&#x20;
The main identifier for this object.

***

**doctor\_name&#x20;**`string`&#x20;
A human readable name for this doctor. The represents the doctor in the user interface and it is not computed from the personal details of the additional attributes.

***

**locations&#x20;**`array`&#x20;
An array of locations objects this doctor is associated with. The array may be represented as empty if no locations are associated. See the location object for detailed information.
:::

***

:::ExpandableHeading{isOpen="true"}
### Additional Attributes

**first\_name&#x20;**`string`

First name of doctor

***

**last\_name&#x20;**`string`

Last name of doctor

***

**email&#x20;**`string`

Email address of the doctor

***

**telephone&#x20;**`string`

A direct telephone number for the doctor
:::

