HL7 PID (Patient Identification) Segment

The HL7 PID segment is found in every type of ADT message (i.e. ADT-A01, ADT-A08, etc.) and contains 30 different fields with values ranging from patient ID number, to patient sex, to address, to marital status, to citizenship. The PID segment provides important identification information about the patient and, in fact, is used as the primary means of communicating the identifying and demographic information about a patient between systems. Due to the nature of the information found in the PID segment, it is unlikely to change frequently.

Featured Content: HL7 PID, Interoperability Success Story: Anne Arundel Medical Center

The fields in the PID segment are as follows:

SEQLENDTOPTRP/#ELEMENT NAME
14SIOSet ID – Patient ID
220CXOPatient ID (External ID)
320CXRYPatient ID (Internal ID)
420CXOYAlternate Patient ID – PID
548XPNRYPatient Name
648XPNOMother’s Maiden Name
726TSODate/Time of Birth
81ISOSex
948XPNOYPatient Alias
101ISORace
11106XADOYPatient Address
124ISBCountry Code
1340XTNOYPhone Number – Home
1440XTNOYPhone Number – Business
1560CEOPrimary Language
161ISOMarital Status
173ISOReligion
1820CXOPatient Account Number
1916STOSSN Number – Patient
2025DLNODriver’s License Number – Patient
2120CXOYMother’s Identifier
223ISOEthnic Group
2360STOBirth Place
242IDOMultiple Birth Indicator
252NMOBirth Order
264ISOYCitizenship
2760CEOVeterans Military Status
2880CEONationality
2926TSOPatient Death Date and Time
301IDOPatient Death Indicator

*Note: For the complete HL7 Standard, please go to the HL7 organization website.

The HL7 standard allows for several different types of patient identification numbers in the first four fields of the PID segment. The differences are described below:

  • PID-1: Set ID – Patient ID – a number to identify the transaction
  • PID-2: Patient ID (External ID) – the patient identifier number used by one or more outside institutions (i.e. a physician’s office that is referring the patient)
  • PID-3: Patient ID (Internal ID) – the primary, unique patient identifier number used by the facility
  • PID-4: Alternate Patient ID – an alternate, additional, temporary or pending patient identification number

In HL7 pipe and hat format, the PID segment (shown in red) for an ADT-A01 message would look like this:


MSH|^~\&|ADT1|MCM|LABADT|MCM|198808181126|SECURITY|ADT^A01|MSG00001-|P|2.3
EVN|A01|198808181123
PID|||PATID1234^5^M11||JONES^WILLIAM^A^III||19610615|M-||C|1200 N ELM
STREET^^GREENSBORO^NC^27401-1020|GL|(91-9)379-1212|(919)271-
3434||S||PATID12345001^2^M10|123456789|9-87654^NC

NK1|1|JONES^BARBARA^K|WIFE||||||NK
PV1|1|I|2000^2012^01||||004777^LEBAUER^SIDNEY^J.|||SUR||-||ADM|A0-
AL1|1||^Penicillin||Produces hives
AL1|2||^Cat dander|Respiratory distress

Register for an upcoming HL7: First Steps training class

 Print Friendly