> ## Documentation Index
> Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The History Object

## Object Definition

```json theme={null}
{
  "id": 64073957420,                       // long(64)
  "type": "Diet",                          // See Below
  "rank": 1,                              // Integer(5)
  "text": "Yogurt daily",                  // string(500)
  "patient": 64072843265,
  "created_date": "2016-10-13T15:00:38Z",  // read-only
  "deleted_date": null                     // read-only
}
```

| Attribute     | Type     | Allowed Values                                                                                                                                                                    | Description                           |
| :------------ | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------ |
| id            | int      |                                                                                                                                                                                   | The id of the history                 |
| type          | string   | "Past", "Family", "Social", "Habits", "Diet", "Exercise", "Immunization", "Legal", "Consultation", "Health Maintenance", "Past Surgical", "Cognitive Status", "Functional Status" | The type of the history               |
| rank          | int      |                                                                                                                                                                                   | The rank (or sequence) of the history |
| text          | string   |                                                                                                                                                                                   | The value (or text) of the history    |
| patient       | int      |                                                                                                                                                                                   | The id of the patient                 |
| created\_date | datetime |                                                                                                                                                                                   | The date the history was created      |
| deleted\_date | datetime |                                                                                                                                                                                   | The date the history was deleted      |
