> ## 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.

# Patient Mapping

> Schema documentation for the Patient Mapping table in the Metriport data model

The patient mapping table provides a mapping between Metriport patient IDs and customer-provided external IDs. This table only contains entries for patients that have an external ID set.

**Primary Keys:**

* id

| Column | Data Type | Description |
| - | - | - |
| id | varchar | Unique Metriport identifier for the patient |
| external\_id | varchar | Customer-provided external identifier |


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