Reference·PV1 Segment·PV1-9
HL7 v2 Reference

What Is HL7 v2 PV1-9? Consulting Doctor, Explained for Testers

Jul 27, 2026 · 4 min read
← PV1-8 PV1-10 →

A patient can easily have three or four consulting physicians on a single complex inpatient stay, and PV1-9 is built to carry all of them — but plenty of care-team displays were coded against single-doctor test data and simply show the first name repeated in the field.

Quick answer

PV1-9 is the ninth field of the PV1 segment — a repeatable composite (XCN data type) listing one or more consulting physicians involved in the visit, separated by a ~.

What this field contains

Repetition 1
First consulting physician — ID and name components
Repetition 2+
Additional consulting physicians, separated by ~
Component 1
ID Number within each repetition
Component 2-3
Family Name and Given Name within each repetition

Example

Synthetic example Generated by Synthibase
PV1|1|I|3W^301^B^HOSP|U|||445566^PATEL^RAJ^S^^MD|667788^JONES^MARY^E^^MD|889900^LEE^DAVID^R^^MD|CAR||||7|||998877^CHEN^LISA^K^^MD|I|8827364501|MCR||||||||||||||||01||||||||202607261430

The 9th field (889900^LEE^DAVID^R^^MD) lists Dr. David R. Lee as a single consulting physician; a multi-consult stay would repeat this with a ~. Synthetic patient — not a real person.

Where this trips people up

Because most test messages only ever include one consulting doctor, care-team widgets and clinical dashboards are frequently built to read just the first repetition of PV1-9 and never parse the ~-delimited repeats. On a real multi-specialty inpatient stay, that means cardiology, nephrology, and infectious disease consults can all be sent correctly in the message and still only the first one ever appears on screen.

→
Testing HL7 v2 PV1: The Fields Your System Actually Needs to Handle
→
How to Test EHR Upgrades Without Touching Production Data
→
Regression Testing for EHR Upgrades: A Complete Guide
Test multi-consult visits before go-live
Synthibase generates synthetic PV1 segments with realistic repeating consulting doctor fields — so care-team displays get tested against the messy cases, not just the easy ones.
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.