---
schema_version: "1"
id: a3cb42a11d3b4913f3d87c3822a9518f8b806baf5bee371d2733d06f0a3603e8
title: AppointmentProvider 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_AppointmentProvider.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ec3d8fb658524b91d8061d0da7c0d393ec7a5a7701e81a2bbbd37110d64cc4a8
description: Represents additional information about the care provider and an appointment.Represents the code for the appointment type.Represents the ID of the care provider.Represents the unique National Provider Identifier that is assigned to each facility and licensed practitioner.Represents the facility ID of the practitioner.Represents the code of the service type to be performed at the appointment.Represents the ID in the source system of the facility where the encounter will occur.Represents the ID in the source system of the practitioner with whom the encounter will occur.Represents the name of the source system the provider record came from.
---
# AppointmentProvider Class

Represents additional information about the care provider and an 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.")

- **[AppointmentProvider Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_properties)**

## AppointmentProvider Properties

The following are properties for AppointmentProvider.

- **[appointmentTypeCode](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_appointmentTypeCode)**  
    Represents the code for the appointment type.
- **[careProviderId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_careProviderId)**  
    Represents the ID of the care provider.
- **[npi](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_npi)**  
    Represents the unique National Provider Identifier that is assigned to each facility and licensed practitioner.
- **[practitionerFacilityId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_practitionerFacilityId)**  
    Represents the facility ID of the practitioner.
- **[serviceTypeCode](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_serviceTypeCode)**  
    Represents the code of the service type to be performed at the appointment.
- **[sourceFacilityId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_sourceFacilityId)**  
    Represents the ID in the source system of the facility where the encounter will occur.
- **[sourcePractitionerId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_sourcePractitionerId)**  
    Represents the ID in the source system of the practitioner with whom the encounter will occur.
- **[sourceSystem](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_AppointmentProvider.htm#apex_healthcloudext_AppointmentProvider_sourceSystem)**  
    Represents the name of the source system the provider record came from.

### appointmentTypeCode

Represents the code for the appointment type.

#### Signature

public String appointmentTypeCode {get; set;}

#### Property Value

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

### careProviderId

Represents the ID of the care provider.

#### Signature

public String careProviderId {get; set;}

#### Property Value

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

### npi

Represents the unique National Provider Identifier that is assigned to each facility and licensed practitioner.

#### Signature

public String npi {get; set;}

#### Property Value

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

### practitionerFacilityId

Represents the facility ID of the practitioner.

#### Signature

public String practitionerFacilityId {get; set;}

#### Property Value

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

### serviceTypeCode

Represents the code of the service type to be performed at the appointment.

#### Signature

public String serviceTypeCode {get; set;}

#### Property Value

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

### sourceFacilityId

Represents the ID in the source system of the facility where the encounter will occur.

#### Signature

public String sourceFacilityId {get; set;}

#### Property Value

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

### sourcePractitionerId

Represents the ID in the source system of the practitioner with whom the encounter will occur.

#### Signature

public String sourcePractitionerId {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 source system the provider record came from.

#### 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)