> ## 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 Allergy Documentation (NKDA) Object

To properly understand if a patient has documented NKDA, its necessary to look at both the allergy and allergy documentation endpoints.

Consider several cases:

1. **Not Documented:** The Patient's Allergies have not been documented at all
2. **NKDA:** The Patient's Allergies have been documented and they report none (NKDA)
3. **Allergies:** The Patient's Allergies have been documented and they report more than one

<br />

In case (1), **Not Documented**, you'd want to see that:

1. Allergies are null for that patient
2. Allergy documentation is null for that patient

In case (2), **NKDA**, you'd want to see that:

1. Allergies are null for that patient
2. Allergy documentation is NOT null

In case (3), **Allergies**, you'd want to see that:

1. Allergies are NOT null
2. Allergy documentation can be null or non-null, it does not matter

<br />

You'll notice that the main information in the above cases for understanding **NKDA** is whether the documentation exists. So the values returned are very minimal. Just the patient and the `created_date`.

```json theme={null}
{
    "id": 142288946331966,
    "created_date": "2024-02-27T20:45:57Z",
    "deleted_date": null,
    "patient": 88325160961
}
```
