PV1 — Patient Visit
HL7 v2.5.1 Patient Visit segment reference
Contains visit-specific information: admission, location, attending provider. Required for most inpatient/outpatient visit messages.
Try it now — free, no sign-up
Paste a message containing a PV1 segment into the free HL7 Online parser to see every field decoded, validated, and explained in your browser.
Open the HL7 Online parser →PV1 field reference
The table below lists the commonly used fields of the PV1 (Patient Visit) segment. Field positions follow the HL7 v2.5.1 specification.
| Field | Name | Type | Len | Use | Description |
|---|---|---|---|---|---|
| PV1-2 | Patient Class | IS | 1 | R | Type of visit: I (inpatient), O (outpatient), E (emergency), P (preadmit), R (recurring), B (obstetric).e.g. O HL7 table 0004 |
| PV1-3 | Assigned Patient Location | PL | 80 | O | Where the patient is currently located. Format: point^room^bed^facility.e.g. LAB^^^MAIN |
| PV1-4 | Admission Type | IS | 2 | O | Admission classification. A=accident, E=emergency, L=labor/delivery, R=routine, etc.e.g. R HL7 table 0007 |
| PV1-7 | Attending Doctor | XCN | 250 | O | Provider responsible for the patient’s care during this visit.e.g. 1234^SMITH^JOHN^DR |
| PV1-19 | Visit Number | CX | 250 | O | Unique ID for this specific visit. Distinct from MRN.e.g. VN-20240315-001 |
| PV1-44 | Admit Date/Time | TS | 26 | O | When the patient was admitted.e.g. 20240315080000 |
| PV1-45 | Discharge Date/Time | TS | 26 | O | When the patient was discharged.e.g. 20240318140000 |
Use column: R Required · C Conditional · O Optional. Type column uses HL7 data-type codes (ST = string, NM = numeric, TS = timestamp, CX = extended composite ID, XPN = extended person name, and so on).