MajwareMAJWARE
PV1
Patient Administration52 fields

PV1 — Patient Visit

Appears in ADT messages, ORM orders, ORU results, and SIU scheduling messages. Always paired with PID.

The PV1 segment contains information specific to a patient's visit or encounter, including patient class, assigned location, attending provider, and admission and discharge details. It is the core encounter record in HL7 v2.x.

Real-World Context

PV1 is the encounter record. PV1.2 (patient class) and PV1.3 (assigned location) are the most frequently checked fields in routing and clinical decision support. When an order disappears or routes to the wrong department, start by checking PV1.3 format — the UNIT^ROOM^BED^FACILITY structure must match exactly what the receiving system expects.

Field Reference

Click any row to see the full description, common values, and troubleshooting tip.

#Field NameTypeReqMax Len
1Set ID - PV1SIO4▶
2Patient ClassISR1▶
3Assigned Patient LocationPLO80▶
4Admission TypeISO2▶
5Preadmit NumberCXO250▶
6Prior Patient LocationPLO80▶
7Attending DoctorXCNO250▶
8Referring DoctorXCNO250▶
9Consulting DoctorXCNO250▶
10Hospital ServiceISO3▶
11Temporary LocationPLO80▶
12Preadmit Test IndicatorISO2▶
13Readmission IndicatorISO2▶
14Admit SourceISO6▶
15Ambulatory StatusISO2▶
16VIP IndicatorISO2▶
17Admitting DoctorXCNO250▶
18Patient TypeISO2▶
19Visit NumberCXO250▶
20Financial ClassFCO50▶
21Charge Price IndicatorISO2▶
22Courtesy CodeISO2▶
23Credit RatingISO2▶
24Contract CodeISO2▶
25Contract Effective DateDTO8▶
26Contract AmountNMO12▶
27Contract PeriodNMO3▶
28Interest CodeISO2▶
29Transfer to Bad Debt CodeISO4▶
30Transfer to Bad Debt DateDTO8▶
31Bad Debt Agency CodeISO10▶
32Bad Debt Transfer AmountNMO12▶
33Bad Debt Recovery AmountNMO12▶
34Delete Account IndicatorISO1▶
35Delete Account DateDTO8▶
36Discharge DispositionISO3▶
37Discharged to LocationDLDO47▶
38Diet TypeCEO250▶
39Servicing FacilityISO2▶
40Bed StatusISO1▶
41Account StatusISO2▶
42Pending LocationPLO80▶
43Prior Temporary LocationPLO80▶
44Admit Date/TimeTSO26▶
45Discharge Date/TimeTSO26▶
46Current Patient BalanceNMO12▶
47Total ChargesNMO12▶
48Total AdjustmentsNMO12▶
49Total PaymentsNMO12▶
50Alternate Visit IDCXO250▶
51Visit IndicatorISO1▶
52Other Healthcare ProviderXCNO250▶

Example Segment

1PV1||1|I|4NORTH^401^A^MAIN^^BED|E||PRE001|1234567890^JONES^ROBERT^^^MD^NPI||5566778899^CHEN^LISA^^^MD^NPI|MED|||7|R|1122334455^SMITH^KAREN^^^MD^NPI|1|VN20260310001^^^HOSPITAL^VN|MEDICARE^20260101||||||||||||||||01||AC|||20260310143205

Related Segments

Used In Message Types

Parse messages with PV1 in real time

Paste any HL7 message into our free viewer. Decodes every segment and field instantly, client-side.

Open HL7 Message Viewer →

Need a message to test with?

Copy a realistic sample for any message type, or open it directly in the viewer. Free, no signup.

Browse HL7 Sample Messages →
← Back to HL7 Segment Reference