# Record Brightree Document Upload Results

> Perform Record Brightree Document Upload Results through Tomorrow Health.

Source: [https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_record_brightree_document_upload_results](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_record_brightree_document_upload_results)

Integration: [Tomorrow Health](https://genhealth.ai/docs/workflows/integrations/tomorrow-health.md)

- Handler: `tomorrow_health_record_brightree_document_upload_results`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `patient_key` — Patient Key (expression, required)
  Required literal value or workflow expression.
- `upload_results` — Upload Results (json, required)
  Required JSON value.
- `skipped_count` — Skipped Count (number)
  Optional numeric value.
  Default: `0`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `patient_key` — Patient Key
- `uploaded_count` — Uploaded Count
- `skipped_count` — Skipped Count
- `failed_count` — Failed Count
- `uploaded_document_ids` — Uploaded Document Ids
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id",
    "patient_key",
    "upload_results"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "skipped_count": {
      "type": "number",
      "default": 0,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "upload_results": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "success": {},
    "document_id": {},
    "patient_key": {},
    "failed_count": {},
    "error_message": {},
    "skipped_count": {},
    "uploaded_count": {},
    "uploaded_document_ids": {}
  },
  "additionalProperties": true
}
```
