---
schema_version: "1"
id: db7af805bed917e9846b64ca40d5ae1c2cd01ad2514cc57b1c9f62de84f793e5
title: CareProviderAfflRoleConfig
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/tooling_api_objects_careproviderafflroleconfig.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/tooling_api_objects_careproviderafflroleconfig.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5b626b5a02ccb1742ffc8176322b629122ac43cecbed5eefde7214547a6abdb6
description: Represents information about the affiliations of the healthcare provider. For example, this object represents an affiliation between a healthcare provider and a hospital. This object is available in API version 59.0 and later.
---
# CareProviderAfflRoleConfig

Represents information about the affiliations of the healthcare provider. For example, this object represents an affiliation between a healthcare provider and a hospital. This object is available in API version 59.0 and later.

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

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported SOAP API Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Supported REST API Methods

DELETE, GET, HEAD, PATCH, POST, Query

#### See Also

- [_Object Reference for the Salesforce Platform_: AccountContactRelation](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_accountcontactrelation.htm "Object Reference for the Salesforce Platform:
    AccountContactRelation - HTML (New Window)")

## Fields

### AffiliationType

- **Type**: picklist
- **Properties**: Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: Required.
    
    Specifies the affiliation of the configuration. This field is unique within your organization.
- **Possible values**:
    - HospitalAffiliation

### DeveloperName

- **Type**: string
- **Properties**: Filter, Group, Sort
- **Description**: Required. The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is **Record Type Name**.

### FullName

- **Type**: string
- **Properties**: Create, Group, Nillable
- **Description**: The full name of the associated CareProviderAfflRoleConfig type in Metadata API. The full name can include a namespace prefix.
    
    Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

### Language

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: The language of the Care Provider Affiliation Role Configuration.
- **Possible values**:
    - da—Danish
    - de—German
    - en\_US—English
    - es—Spanish
    - es\_MX—Spanish (Mexico)
    - fi—Finnish
    - fr—French
    - it—Italian
    - ja—Japanese
    - ko—Korean
    - nl\_NL—Dutch
    - no—Norwegian
    - pt\_BR—Portuguese (Brazil)
    - ru—Russian
    - sv—Swedish
    - th—Thai
    - zh\_CN—Chinese (Simplified)
    - zh\_TW—Chinese (Traditional)

### MasterLabel

- **Type**: string
- **Properties**: Filter, Group, Sort
- **Description**: Label for the affiliation. In the UI, this field is Care Provider Affiliation Role Configuration.

### Metadata

- **Type**: complexvalue
- **Properties**: Create, Nillable, Update
- **Description**: The CareProviderAfflRoleConfig’s metadata.
    
    Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

### ProviderRole

- **Type**: string
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Required.
    
    The role of the healthcare provider in relation to the affiliate.