---
schema_version: "1"
id: 6c0be7ecd2cce8b7c9974de715c20ec63ee1a057816e4d48a637120630d20649
title: OcrDocumentScanResult
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_ocrdocumentscanresult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_ocrdocumentscanresult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 75d1865da2f9d0b0d3df4515b73f6ab74827846228d4a7d4d20fd08f7fc7f639
description: Represents the contents of a document after optical character recognition (OCR) processing. This object is available in API version 50.0 and later.
---
# OcrDocumentScanResult

Represents the contents of a document after optical character recognition (OCR) processing. This object is available in API version 50.0 and later.

## Supported Calls

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

## Fields

### ContentVersionId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Unique identifier for the current version of the data.

### DocumentRequestId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Unique identifier for a document request.

### ExtractedValues

- **Type**: textarea
- **Properties**: Nillable
- **Description**: Data extracted from the document. Data type StringPlusClob, maximum length 131072.
    
    ![Note](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/images/icon_note.png)
    
    #### Note
    
    This field is encryptable with Salesforce Platform Encryption.

### 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**: Name of the record.

### OcrService

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: Records the service that performed the text extraction.
- **Possible values**:
    - AMAZON\_TEXTRACT—Amazon Textract
    - E.AI

### OcrStatus

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Current phase of OCR processing.
- **Possible values**:
    - ERROR—Error
    - OCR\_ENQUEUE—OCR Enqueue
    - SUCCESS—Success

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The user who owns the OcrDocumentScanResult record.

### PageNumber

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The page number of the scanned document result in the original document that it’s a part of.

### Rotation

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Degrees of rotation requested. Can be 0, 90, 180, or 270.

## 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.

[OcrDocumentScanResultChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 59.0)

Change events are available for the object.