---
schema_version: "1"
id: 7a71d66e79c694867a90d0183aabd3ba2e3b78aaf421c98133441f0bec274e0c
title: CareRequestConfiguration
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_carerequestconfiguration.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_carerequestconfiguration.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d7ae5cbfeeb163a0bfc99b4e46a1d0521e8d3910f9408cf5c7b800efccd3c23a
description: Represents the details for a record type such as service request, drug request, or admission request. One or more record types can be associated with a care request.
---
# CareRequestConfiguration

Represents the details for a record type such as service request, drug request, or admission request. One or more record types can be associated with a care request.

![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.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm "HTML (New Window)") metadata type and inherits its fullName field.

## File Suffix and Directory Location

CareRequestConfiguration components have the suffix .careRequestConfiguration and are stored in the careRequestConfigurations folder.

## Version

CareRequestConfiguration components are available in API version 44.0 and later.

## Fields

| Field Name | Description |
| --- | --- |
| careRequestRecordType | 
Field Type

string

Description

Required.

The record type for the care request.



 |
| careRequestRecords | 

Field Type

[CareRequestRecords\[\]](#CareRequestRecords)

Description

The list of objects you can select to configure the care request.



 |
| careRequestType | 

Field Type

string

Description

Required.

The type of care request. For example, an appeal, a service request, or an admission.



 |
| isActive | 

Field Type

boolean

Description

Indicates whether the care request is active (true) or not (false).



 |
|  | 

Field Type

boolean

Description

Indicates whether the record type of the care request is default (true) or not (false).



 |
|  | 

Field Type

string

Description

Required.

A user-friendly name for CareRequestConfiguration, which is defined when the CareRequestConfiguration is created.



 |

## CareRequestRecords

Displays a list of objects to customize the care request.

| Field Name | Description |
| --- | --- |
| careRequestRecord | 
Field Type

string

Description

Required.

The object selected to configure the care request.



 |

## Declarative Metadata Sample Definition

This is an example of a CareRequestConfiguration component.

<?xml version="1.0" encoding="UTF-8"?>
<CareRequestConfiguration xmlns="http://soap.sforce.com/2006/04/metadata">
    <careRequestRecordType\>DrugRequest</careRequestRecordType\>
    <careRequestRecords\>
        <careRequestRecord\>CareRequestItem</careRequestRecord\>
    </careRequestRecords\>
    <careRequestRecords\>
        <careRequestRecord\>CareRequestDrug</careRequestRecord\>
    </careRequestRecords\>
    <careRequestType\>Drug Request</careRequestType\>
    <isActive\>false</isActive\>
    <isDefaultRecordType\>false</isDefaultRecordType\>
    <masterLabel\>DrugRequest</masterLabel\>
</CareRequestConfiguration\>

This 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\>Case.DrugRequest</members\>
        <name\>BusinessProcess</name\>
    </types\>
    <types\>
        <members\>\*</members\>
        <name\>CareRequestConfiguration</name\>
    </types\>
    <types\>
        <members\>CareRequest.DrugRequest</members\>
        <members\>CareRequestDrug.DrugRequest</members\>
        <members\>CareRequestItem.DrugRequest</members\>
        <members\>Case.DrugRequest</members\>
        <name\>RecordType</name\>
    </types\>
    <version\>44.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm "HTML (New Window)").