---
schema_version: "1"
id: 43c3165708a86c33d8e688b3c2c3d9bb8b52f4e1afe0f9708a39551474961402
title: ResearchStudyCmprGroup
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_researchstudycmprgroup.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_researchstudycmprgroup.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6a3e031cd20e7dbca3ab1ee556546dab89baacf28f795b918d3747dbc32f0f1e
description: Represents the details of a research study comparison group. This object is available in API version 61.0 and later.
---
# ResearchStudyCmprGroup

Represents the details of a research study comparison group. This object is available in API version 61.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AllocationRatioValue

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The comparison group's allocation ratio in the research study randomization.

### Description

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of the research study comparison group.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the research study randomization comparison group.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the object assigned to the territory.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### ResearchStudyId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The research study associated with the research study comparison group.
    
    This field is a relationship field.
- **Relationship Name**: ResearchStudy
- **Refers To**: ResearchStudy

### TypeCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The code set associated with the research study comparison group.
    
    This field is a relationship field.
- **Relationship Name**: TypeCode
- **Refers To**: CodeSet

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ResearchStudyCmprGroupFeed](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ResearchStudyCmprGroupHistory](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ResearchStudyCmprGroupShare](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.