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

# Patient Identification (PID)

Patient Matching Patient first name, last name, gender, and birth date are used to match results to existing patient charts. If no exact match is found (or more than one match is found), a new patient record is created in the practice for the target physician with a warning that a new chart was created for the result.

| seq | type     | opt | Description                                                        |
| --- | -------- | --- | ------------------------------------------------------------------ |
| 5.1 | char(50) | R   | Patient Last Name                                                  |
| 5.2 | char(50) | R   | Patient First Name                                                 |
| 5.3 | char(50) | O   | Patient Middle Name                                                |
| 7   | YYYYMMDD | R   | Patient Date of Birth                                              |
| 8   | char(1)  | R   | Patient Gender (F/M/N/U/X) F = Female M = Male N/U/X = Unspecified |

<CodeGroup>
  ```text text theme={null}
  PID|1||A543950||Test^Patient||19000122|F|||||||||||
  ```
</CodeGroup>

<img src="https://mintcdn.com/elationhealth/aZGpvx7JjGPeyovG/images/73dfc2c-Screen_Shot_2016-11-02_at_1.06.20_PM.png?fit=max&auto=format&n=aZGpvx7JjGPeyovG&q=85&s=a945b2f8498d6de14f771c6fa727eb46" alt="567" width="567" height="613" data-path="images/73dfc2c-Screen_Shot_2016-11-02_at_1.06.20_PM.png" />
