---
schema_version: "1"
id: 8aa83d034e33ecd62d95bfb276726d5391d57697236dfb8c1ae2b63c53910866
title: PV1 - Patient Visit
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/map_hl7_PV1.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/map_hl7_PV1.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 35dc442a0ff275ff35e57cc635c15855680bf474c9082b79dc6d449af5e49823
description: The Patient Visit (PV1) HL7 segment maps to the Encounter object, among other objects in Salesforce.
---
# PV1 - Patient Visit

The Patient Visit (PV1) HL7 segment maps to the Encounter object, among other objects in Salesforce.

## HL7 V2.3 - Clinical Data Model Mapping

Here’s how the segments defined by HL7 V2.3 for PV1 map to fields in Salesforce standard objects.

![Note](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/images/icon_note.png)

#### Note

Only the Segments supported by Salesforce are mentioned below.

Table 1. PV1 - Salesforce
| PV1 | Salesforce Field | Type | Notes |
| --- | --- | --- | --- |
| PV1.2 - Patient Class | ​​Clinical​Encounter​​.​Category | Picklist | N/A |
| PV1.3 - Assigned Patient Location | ​​Clinical​Encounter​​Facility | Object | The facility information for a patient visit is represented as ​​Clinical​Encounter​​Facility records that reference the encounter record using their ​​Clinical​Encounter​​Facility​.​​Clinical​Encounter​Id field​. |
| PV1.4 - Admission Type | ​​Clinical​Encounter​​.​TypeId | Lookup: ​CodeSet​Bundle | N/A |
| PV1.5 - Preadmit Number | Clinical​Encounter​​.​Pre​Admission​Identifier​Id | Lookup: ​Identifier | N/A |
| PV1.7 - Attending Doctor | Clinical​Encounter​​Provider | Object | The participant information for an encounter is represented as ​​Clinical​Encounter​​Provider records that reference the encounter record using their ​​Clinical​Encounter​​Provider​.​​Clinical​Encounter​Id field​. |
| PV1.8 - Referring Doctor | Clinical​Encounter​​Provider | Object | The participant information for an encounter is represented as ​​Clinical​Encounter​​Provider records that reference the encounter record using their ​​Clinical​Encounter​​Provider​.​​Clinical​Encounter​Id field​. |
| PV1.9 - Consulting Doctor | Clinical​Encounter​​Provider | Object | The participant information for an encounter is represented as ​​Clinical​Encounter​​Provider records that reference the encounter record using their ​​Clinical​Encounter​​Provider​.​​Clinical​Encounter​Id field​. |
| PV1.10 - Hospital Service | Clinical​Encounter​​.Service​Type | Picklist | N/A |
| PV1.13 - Readmission Indicator | Clinical​Encounter​​.​Readmission​CodeId | Lookup: CodeSetBundle | N/A |
| PV1.14 - Admit Source | ​​Clinical​Encounter​​.​Admission​Source | Picklist | N/A |
| PV1.16 - VIP Indicator | ​​Clinical​Encounter​​.Special​Courtesy | Picklist | N/A |
| PV1.17 - Admitting Doctor | Clinical​Encounter​​Provider | Object | The participant information for an encounter is represented as ​​Clinical​Encounter​​Provider records that reference the encounter record using their ​​Clinical​Encounter​​Provider​.​​Clinical​Encounter​Id field​. |
| PV1.18 - Patient Type | ​​Clinical​Encounter​​.​TypeId | Lookup: ​CodeSet​Bundle | N/A |
| PV1.19 - Visit Identifier | ​​Clinical​Encounter​Identifier | Object | The identifier information for an encounter is represented as ​​Clinical​Encounter​Identifier records that reference the encounter record using their ​​Clinical​Encounter​Identifier​.​Parent​RecordId field​. |
| PV1.22 - Courtesy Code | ​​Clinical​Encounter​​.Special​Courtesy | Picklist | N/A |
| PV1.36 - Discharge Disposition | Clinical​Encounter​​.​Discharge​Disposition​Id | Lookup: ​CodeSet​Bundle | N/A |
| PV1.37 - Discharged to Location | ​​Clinical​Encounter​​.​Destination​FacilityId | Lookup: HealthcareFacility | N/A |
| PV1.37 - Discharged to Location | ​​Clinical​Encounter​​.​Destination​Organization​Id | Lookup: Account | N/A |
| PV1.38 - Diet Type | ​​​​Clinical​Encounter​​.​Diet​Preference | Picklist | N/A |
| PV1.44 - Admit Date/Time | ​​Clinical​Encounter​​.Start​Date | DateTime | N/A |
| PV1.45 - Discharge Date/Time | ​​Clinical​Encounter​​.End​Date | DateTime | N/A |
| PV1.50 - Alternate Visit ID | ​​Clinical​Encounter​Identifier | Object | The identifier information for an encounter is represented as ​​Clinical​Encounter​Identifier records that reference the encounter record using their ​​Clinical​Encounter​Identifier​.​Parent​RecordId field​. |