---
schema_version: "1"
id: 7d67f9aaeb51765187b57ea26a13c2bc069ac0fbd032ea769c838165e02cbeb6
title: Visit
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_sforce_api_objects_visit_erm.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_sforce_api_objects_visit_erm.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e5230ec9c964bb6dc865b31f171809e4728baed78d59773621d2a16bf1f97b2d
description: Represents a visit to inspect or assess an applicant’s ability to perform an emergency service.
---
# Visit

Represents a visit to inspect or assess an applicant’s ability to perform an emergency service.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the account.

### ActualVisitEndTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the visit ended.

### ActualVisitStartTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the visit started.

### ContextId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the context.

### InstructionDescription

- **Type**: textarea
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Special instructions for conducting the visit, if any.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user accessed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Unique identifier for the visit record.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the user that owns the record.

### PlaceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: ID of the place to be visited.

### PlannedVisitEndTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the visit is expected to end.

### PlannedVisitStartTime

- **Type**: dateTime
- **Properties**: Create, Filter, Sort, Update
- **Description**: The date and time when the visit is expected to start.

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: The status of the visit.
- **Possible values**:
    - Abandoned
    - Completed
    - InProgress
    - Planned

### StatusRemarks

- **Type**: textarea
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The reasons for abandoning or completing the visit as provided by the visiting user.

### VisitPriority

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The priority of the visit.
- **Possible values**:
    - High
    - Low
    - Medium

### VisitTypeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of inspection or assessment conducted during the visit.

### VisitorId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the user that performed the visit.