---
schema_version: "1"
id: 8a1fe561db91b658f981ab67f46a13bf91aecf7afe5b73f12175b20e1a9c15a4
title: matchingRuleIdOrName
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_docai_matchingRuleIdOrName.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_matchingRuleIdOrName.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 544420b4f13cabe417ced08909b64d0cbd5dde8f518ec10cb8dc900f1dfcf8a2
description: The unique identifier or developer name of the matching rule to be used for duplicate detection.
---
# matchingRuleIdOrName

The unique identifier or developer name of the matching rule to be used for duplicate detection.

## Signature

public String matchingRuleIdOrName {get; set;}

## Property Value

Type: String