# Reassign Document

> Perform Reassign Document through athenahealth.

Source: [https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_reassign_document](https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_reassign_document)

Integration: [athenahealth](https://genhealth.ai/docs/workflows/integrations/athenahealth.md)

- Handler: `athena_reassign_document`

- Connection type: `athenahealth`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `assigned_to` — Assigned To (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `bucket_name` — Bucket Name (expression, required)
  Required literal value or workflow expression.
- `document_class` — Document Class (expression, required)
  Required literal value or workflow expression.
  Default: `"ADMIN"`
- `chart_id` — Chart Id (expression)
  Optional literal value or workflow expression.
- `projection_timeout_seconds` — Projection Timeout Seconds (number)
  Optional numeric value.
  Default: `60`
- `write_enabled` — Write Enabled (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `write_skipped` — Write Skipped
- `submitted` — Submitted
- `verified` — Verified
- `projection_verified` — Projection Verified
- `outcome` — Outcome
- `document_id` — Document Id
- `document_class` — Document Class
- `document_sub_class` — Document Sub Class
- `assigned_to` — Assigned To
- `bucket_name` — Bucket Name
- `status` — Status
- `patient_is_unknown` — Patient Is Unknown
- `attempts` — Attempts
- `retryable` — Retryable
- `error` — Error
- `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",
    "assigned_to",
    "bucket_name",
    "document_class"
  ],
  "properties": {
    "chart_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "assigned_to": {
      "type": "string",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "bucket_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "write_enabled": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "document_class": {
      "default": "ADMIN",
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "projection_timeout_seconds": {
      "type": "number",
      "default": 60,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "outcome": {},
    "success": {},
    "attempts": {},
    "verified": {},
    "retryable": {},
    "submitted": {},
    "assigned_to": {},
    "bucket_name": {},
    "document_id": {},
    "error_message": {},
    "write_skipped": {},
    "document_class": {},
    "document_sub_class": {},
    "patient_is_unknown": {},
    "projection_verified": {}
  },
  "additionalProperties": true
}
```
