Reference·PID Segment·PID-15
HL7 v2 Reference

HL7 v2 PID-15 Field Guide: Primary Language Codes and Common Mistakes

Jul 27, 2026 · 4 min read
← PID-13 PID-16 →

PID-15 drives interpreter-services routing and patient-facing document language in a lot of systems, so when a test suite always populates it with "eng" and never leaves it blank, the fallback behavior for missing or unrecognized codes never gets exercised until a real patient falls through the cracks.

Quick answer

PID-15 is the fifteenth field of the HL7 v2 PID segment — it carries a coded value identifying the patient’s primary spoken language, typically drawn from a standard language code table.

What this field contains

eng
English
spa
Spanish
zho
Chinese
vie
Vietnamese
kor
Korean
ara
Arabic

Example

Synthetic example Generated by Synthibase
PID|1||847213609^^^HOSP^MR||GARCIA^ELENA^MARIE||19870314|F|||482 OAK ST^^DENVER^CO^80202||3035550142||||||||||||spa

spa in PID-15 flags the patient’s primary language as Spanish, which downstream systems can use to trigger interpreter services or translated materials. Synthetic patient — not a real person.

Where this trips people up

When PID-15 is blank, unrecognized, or uses an inconsistent code set between source and target systems, patient-facing document generation and interpreter-request workflows either default silently to English or fail to trigger at all — a compliance-relevant gap that a happy-path test suite with only "eng" values will never catch.

HL7 v2 PID Segment Guide: Fields, Format, and Testing Gotchas
How to Write EDI Test Cases That Actually Catch Go-Live Failures
HIPAA Minimum Necessary Standard for Test Environments
Generate diverse primary-language test data
Synthibase generates synthetic patients across a realistic mix of primary-language codes, including blanks, so interpreter-routing logic gets tested before it affects a real patient.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.