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

Cross-patient deduplication mapping for this patient record.

**Previous version:** [patient\_mapping](/medical-api/handling-data/schema-v000/patient-mapping)

**Primary Keys:**

* id

**Foreign Keys:**

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

<div style={{textAlign: 'right'}}><sub>† Metriport Platform added</sub></div>

| Column        | Data Type | Description                               |
| ------------- | --------- | ----------------------------------------- |
| id            | varchar   | Metriport patient identifier              |
| patient\_id   | varchar   | Metriport patient identifier (same as id) |
| external\_id† | varchar   | Customer-provided external identifier     |

**Related Tables:**

**Parent:**

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