HL7 PID 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:

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
948XPNOYPatient Alias
11106XADOYPatient Address
124ISBCountry Code
1340XTNOYPhone Number – Home
1440XTNOYPhone Number – Business
1560CEOPrimary Language
161ISOMarital Status
1820CXOPatient Account Number
1916STOSSN Number – Patient
2025DLNODriver’s License Number – Patient
2120CXOYMother’s Identifier
223ISOEthnic Group
2360STOBirth Place
242IDOMultiple Birth Indicator
252NMOBirth Order
2760CEOVeterans Military Status
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:

PID|||PATID1234^5^M11||JONES^WILLIAM^A^III||19610615|M-||C|1200 N ELM

AL1|1||^Penicillin||Produces hives
AL1|2||^Cat dander|Respiratory distress

Register for an upcoming HL7: First Steps training class

How Corepoint Integration Engine works with HL7


The #1 Integration Engine Nine Consecutive Years

Customers have confidence in Corepoint Health’s history of focusing on healthcare interoperability, as evident by our #1 KLAS® ranking nine years in a row. Discover the power Corepoint Integration Engine offers healthcare providers of all sizes and specialties.

 Print Friendly