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

# encounter_diagnosis

The list of diagnosis relevant to this encounter (`Encounter.diagnosis[]`).

**Primary Keys:**

* encounter\_diagnosis\_id

**Foreign Keys:**

* encounter\_id - links to the [encounter](/medical-api/handling-data/schema-v100/encounter/base) table
* condition\_reference\_id - links to the [condition](/medical-api/handling-data/schema-v100/condition/base) table

| Column | Data Type | Description |
| - | - | - |
| encounter\_diagnosis\_id | varchar | Unique identifier for the diagnosis row (stable per encounter + index) |
| encounter\_id | varchar | Parent encounter |
| condition\_reference\_id | varchar | Extracted reference ID (Condition resource) |
| condition\_reference\_type | varchar | Resource type (e.g. Condition) |

**Related Tables:**

**Parent:**

* [condition](/medical-api/handling-data/schema-v100/condition/base)
* [encounter](/medical-api/handling-data/schema-v100/encounter/base)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.