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

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

The patient table contains information on patients, including demographic information such as birth date and gender.

**Note:** The name, address, and telecom fields in this table are from the first indices of the corresponding Patient resource FHIR arrays. To see the full set of demographics, see the [patient name](/medical-api/handling-data/schema-v000/patient-name), [patient address](/medical-api/handling-data/schema-v000/patient-address), and [patient telecom](/medical-api/handling-data/schema-v000/patient-telecom) tables.

**Primary Keys:**

* patient\_id

| Column            | Data Type | Description                                                 |
| ----------------- | --------- | ----------------------------------------------------------- |
| patient\_id       | varchar   | Unique identifier for the patient                           |
| first\_name       | varchar   | First given name                                            |
| last\_name        | varchar   | Family name (last name)                                     |
| gender            | varchar   | Gender at birth                                             |
| birth\_date       | date      | Date of birth                                               |
| address           | varchar   | First and second address lines concatenated                 |
| city              | varchar   | City name                                                   |
| state             | varchar   | State or province code                                      |
| zip\_code         | varchar   | ZIP or postal code                                          |
| email             | varchar   | Email address                                               |
| phone             | varchar   | Phone number                                                |
| meta\_source      | varchar   | Source document filename from FHIR meta.source              |
| data\_source      | varchar   | **Deprecated.** Use `meta_source` instead.                  |
| data\_source\_ext | varchar   | Integration source of the data, derived from FHIR extension |
