---
schema_version: "1"
id: 0841de96e2116bbd72b521f806e7ca94e40b1d6c551622fabe6d9be1ebd54b1a
title: Slot Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_healthcloudext_Slot.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a361849fc547aec1aafa90e378323944e69ad888929880dfdd1de6e833fa8352
description: Represents the time period slot details for the appointment.Represents the date and time that the appointment time slot ends in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..Represents the date and time that the appointment time slot starts in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..Represents the status of the time slot.Represents the ID of the time slot in the external scheduling system.Represents the name of the external scheduling system from which the record was sourced.
---
# Slot Class

Represents the time period slot details for the appointment.

## Namespace

[healthcloudext](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_healthcloudext.htm "The HealthCloudExt namespace provides an interface and classes for Health Cloud to integrate with a source electronic health records (EHR) system.")

- **[Slot Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_properties)**

## Slot Properties

The following are properties for Slot.

- **[slotEnd](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_slotEnd)**  
    Represents the date and time that the appointment time slot ends in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..
- **[slotStart](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_slotStart)**  
    Represents the date and time that the appointment time slot starts in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..
- **[slotStatus](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_slotStatus)**  
    Represents the status of the time slot.
- **[sourceSlotId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_sourceSlotId)**  
    Represents the ID of the time slot in the external scheduling system.
- **[sourceSystem](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_Slot.htm#apex_healthcloudext_Slot_sourceSystem)**  
    Represents the name of the external scheduling system from which the record was sourced.

### slotEnd

Represents the date and time that the appointment time slot ends in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..

#### Signature

public String slotEnd {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### slotStart

Represents the date and time that the appointment time slot starts in ISO 8601 format, for example, 2021-02-26T21:24:31.000Z..

#### Signature

public String slotStart {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### slotStatus

Represents the status of the time slot.

#### Signature

public String slotStatus {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The expected value for the string is SlotAvailable, SlotNotAvailable, or ServiceNotAvailable.

### sourceSlotId

Represents the ID of the time slot in the external scheduling system.

#### Signature

public String sourceSlotId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### sourceSystem

Represents the name of the external scheduling system from which the record was sourced.

#### Signature

public String sourceSystem {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)