MajwareMAJWARE
PID
Patient Administration39 fields

PIDPatient Identification

Appears in ADT messages, ORM orders, ORU results, SIU scheduling, and most other message types that reference a patient.

The PID segment contains the primary patient identification information including name, date of birth, address, and medical record numbers. It is the cornerstone of patient identity in HL7 v2.x messages and appears in virtually every ADT, order, and result message.

Real-World Context

PID is where most MPI (Master Patient Index) issues surface. The three-way combination of PID.3 (patient identifier list), PID.5 (patient name), and PID.7 (date of birth) is your primary identity verification triplet. When downstream systems create duplicate patients, the root cause is almost always inconsistent or missing identifiers in PID.3 — especially missing assigning authority values.

Field Reference

Click any row to see the full description, common values, and troubleshooting tip.

#Field NameTypeReqMax Len
1Set ID - PIDSIO4
2Patient ID (External)CXO20
3Patient Identifier ListCXR250
4Alternate Patient IDCXO20
5Patient NameXPNR250
6Mother's Maiden NameXPNO250
7Date/Time of BirthTSO26
8Administrative SexISO1
9Patient AliasXPNO250
10RaceCEO250
11Patient AddressXADO250
12County CodeISO4
13Phone Number - HomeXTNO250
14Phone Number - BusinessXTNO250
15Primary LanguageCEO250
16Marital StatusCEO250
17ReligionCEO250
18Patient Account NumberCXO250
19SSN Number - PatientSTO16
20Driver's License NumberDLNO25
21Mother's IdentifierCXO250
22Ethnic GroupCEO250
23Birth PlaceSTO250
24Multiple Birth IndicatorIDO1
25Birth OrderNMO2
26CitizenshipCEO250
27Veterans Military StatusCEO250
28NationalityCEO250
29Patient Death Date and TimeTSO26
30Patient Death IndicatorIDO1
31Identity Unknown IndicatorIDO1
32Identity Reliability CodeISO20
33Last Update Date/TimeTSO26
34Last Update FacilityHDO241
35Taxonomic Classification CodeCEO250
36Breed CodeCEO250
37StrainSTO80
38Production Class CodeCEO250
39Tribal CitizenshipCWEO705

Example Segment

HL7 v2.x Message
1PID||1||123456^^^HOSPITAL^MR~987654321^^^&2.16.840.1.113883.4.1&ISO^SS||DOE^JOHN^A^^^||19850315|M||2106-3^White^HL70005|123 Main St^^Springfield^IL^62701^USA^H|||(217)555-1234|||M|||ACCT001^^^HOSPITAL^AN|123-45-6789

Related Segments

Used In Message Types

Parse messages with PID in real time

Paste any HL7 message into our free viewer. Decodes every segment and field instantly, client-side.

Open HL7 Message Viewer →

Need HL7 mapping templates?

The HL7 Integration Toolkit includes field mapping worksheets, interface spec templates, and a go-live checklist for every major HL7 message type.

View HL7 Integration Toolkit →
← Back to HL7 Segment Reference