> ## 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 Referral Order Object

```json theme={null}
{
  "id": 141253556305952,
  "authorization_for": "Referral For Treatment, includes Consult Visit",
  "auth_number": "",
  "consultant_name": "dafdas",
  "short_consultant_name": "dafdas",
  "specialty": null,
  "sign_date": "2023-01-17T20:01:05Z",
  "signed_by": 4,
  "date_for_reEval": null,
  "authorization_for_short": null,
  "practice": 75435474948,
  "patient": 83658080257,
  "letter": 141253556371674,  // use referral_letter.id instead
  "referral_letter": {
    "id": 140781743636698,
    "delivery_date": "2023-01-17T20:01:05Z",
    "body": "hello",
    "sign_date": "2023-01-17T20:01:05Z"
  },
  "resolution": {
    "id": 141253557027221,
    "document": 141253556305952,
    "resolving_document": null,
    "state": "outstanding",
    "note": null,
    "created_date": "2023-01-17T20:01:05Z",
    "deleted_date": null
  },
  "icd10_codes": []
}
```

| Attribute                      | Type                 | Allowed Values                                                                                                  | Description                                                                                                              |
| :----------------------------- | :------------------- | :-------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- |
| id                             | integer              |                                                                                                                 |                                                                                                                          |
| authorization\_for             | string               | Referral For Treatment, includes Consult Visit. <br />Procedure / Testing Only. <br />Consult (One Visit Only). |                                                                                                                          |
| auth\_number                   | string               |                                                                                                                 |                                                                                                                          |
| consultant\_name               | string               |                                                                                                                 |                                                                                                                          |
| letter                         | integer              |                                                                                                                 | Do not use. Use referral\_letter.id instead                                                                              |
| referral\_letter               | Letter               |                                                                                                                 | Referral letter for this order.                                                                                          |
| short\_consultant\_name        | string               |                                                                                                                 |                                                                                                                          |
| specialty.id                   | string               |                                                                                                                 |                                                                                                                          |
| specialty.name                 | string               |                                                                                                                 |                                                                                                                          |
| specialty.abbreviation         | string               |                                                                                                                 |                                                                                                                          |
| date\_for\_reEval              | datetime             |                                                                                                                 |                                                                                                                          |
| authorization\_for\_short      | string               | ForTreat, <br />ProcOnly, <br />ConsOnly                                                                        |                                                                                                                          |
| practice                       | integer              |                                                                                                                 |                                                                                                                          |
| patient                        | integer              |                                                                                                                 |                                                                                                                          |
| signed\_by                     | integer              |                                                                                                                 | The ID of the user who signed this referral order.                                                                       |
| sign\_date                     | datetime             |                                                                                                                 | The datetime when this referral order was signed.                                                                        |
| resolution.id                  | integer              |                                                                                                                 | Internal id to represent the resolution state.                                                                           |
| resolution.document            | integer              |                                                                                                                 | Will be the same as the id of the lab order.                                                                             |
| resolution.resolving\_document | integer              |                                                                                                                 | If the order is fulfilled will indicate the document referenced. <br /><br />For lab orders will usually be a report.    |
| resolution.state               | string               | outstanding, <br />fulfilled, <br />cancelled                                                                   | The resolution state of the order.                                                                                       |
| resolution.note                | string               |                                                                                                                 | Any note that was added to represent why an order was cancelled.                                                         |
| resolution.created\_date       | datetime             |                                                                                                                 | The datetime when this resolution state was created.                                                                     |
| resolution.deleted\_date       | datetime             |                                                                                                                 | The datetime when this resolution was deleted. Should never be null because we're providing the most updated resolution. |
| icd10\_codes                   | array of ICD10 codes |                                                                                                                 |                                                                                                                          |
