---
schema_version: "1"
id: 9bd97c2beafc0f47ddbb70a501512f2b3633fa0ec91ef625442eef0d8375423f
title: CareProviderSearchConfig
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_careprovidersearchconfig.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_careprovidersearchconfig.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9b46e495ec36f12b370fc31c9a0ae4133218d0caa5940236eae1b0003bf27cfe
description: Represents the information about the fields that appear in care provider search results. This type extends the Metadata metadata type and inherits its fullName field.
---
# CareProviderSearchConfig

Represents the information about the fields that appear in care provider search results. This type extends the Metadata metadata type and inherits its fullName field.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/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.

## File Suffix and Directory Location

CareProviderSearchConfig components have the suffix .careProviderSearchConfig and are stored in the careProviderSearchConfigs folder.

## Version

CareProviderSearchConfig components are available in API version 48.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d223117e91">Field Name</th>

              <th class="featureTableHeader  " id="d223117e94">Field Type</th>

              <th class="featureTableHeader  " id="d223117e97">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">isActive</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">boolean</td>

              <td class="entry" headers="d223117e97" data-title="Description">Indicates whether this configuration is active (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">isProtected</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">boolean</td>

              <td class="entry" headers="d223117e97" data-title="Description">An auto-generated value that doesn’t currently impact the behavior of the
                metadata type.</td>

            </tr>

            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">mappedObject</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">ProviderSearch​ObjectMapping <span class="ph" id="enum_link_component"><a name="enum_link_component"><!-- --></a>(enumeration of type
                  string)</span>
              </td>

              <td class="entry" headers="d223117e97" data-title="Description">Required. Indicates mapped objects.<p class="p">Possible values are;</p>
                <ul class="ul bulletList">
                  <li class="li">HealthCarePractitionerFacility</li>

                  <li class="li">HealthCareProvider</li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">string</td>

              <td class="entry" headers="d223117e97" data-title="Description">Required. Name of the care provider.</td>

            </tr>

            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">sourceField</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">string</td>

              <td class="entry" headers="d223117e97" data-title="Description">API name of the field that is copied to the target object.</td>

            </tr>

            <tr>
              <td class="entry" headers="d223117e91" data-title="Field Name"><span class="keyword parmname">targetField</span></td>

              <td class="entry" headers="d223117e94" data-title="Field Type">string </td>

              <td class="entry" headers="d223117e97" data-title="Description">API name of the field to copy the data to.</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a CareProviderSearchConfig component.

<?xml version="1.0" encoding="UTF-8"?>
<CareProviderSearchConfig xmlns="http://soap.sforce.com/2006/04/metadata">
    <sourceField\>Test1\_\_c</sourceField\>
    <targetField\>Test1\_\_c</targetField\>
    <mappedObject\>HealthcareProvider</mappedObject\>
    <isProtected\>false</isProtected\>
    <isActive\>true</isActive\>
    <masterLabel\>testlabel</masterLabel\>
</CareProviderSearchConfig\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>HealthcareProvider.Test1\_\_c</members\>
        <name\>CustomField</name\>
    </types\>
    <types\>
        <members\>CareProviderSearchableField.Test1\_\_c</members\>
        <name\>CustomField</name\>
    </types\>
    <types\>
        <members\>Test</members\>
        <name\>CareProviderSearchConfig</name\>
    </types\>
    <version\>48.0</version\>
</Package\>