What Is HL7 v2 PID-13? Phone Number - Home, Explained for Testers
Phone numbers in PID-13 arrive from source systems in wildly different formats — with or without area code parentheses, dashes, extensions — and any downstream system that expects a single clean format will choke on the ones that don’t match, right when an automated appointment-reminder call fails to dial.
PID-13 is the thirteenth field of the HL7 v2 PID segment — it carries the patient’s home telephone number, either as a repeating structured telecommunication field or as a simple formatted string depending on the sending system.
What this field contains
Example
PID-13 carries the home phone number in the legacy free-text format still sent by many source systems. Synthetic patient — not a real person.
Where this trips people up
Some source systems still send this field as an unstructured string like (303)555-0142, while others send fully componentized XTN values. A parser tuned for one format will either fail outright or silently extract garbage digits from the other, which is exactly the kind of thing that only appears once real production feeds start mixing formats.