# Read Document Pages

> Perform Read Document Pages through athenahealth.

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

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

- Handler: `athena_read_document_pages`

- Connection type: `athenahealth`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `document_class` — Document Class (expression)
  Optional literal value or workflow expression.
  Default: `"ADMIN"`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `document_class` — Document Class
- `document_sub_class` — Document Sub Class
- `status` — Status
- `department_id` — Department Id
- `scan_id` — Scan Id
- `page_count` — Page Count
- `rotated_page_count` — Rotated Page Count
- `pages` — Pages
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_class": {
      "default": "ADMIN",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "pages": {},
    "status": {},
    "scan_id": {},
    "success": {},
    "page_count": {},
    "document_id": {},
    "department_id": {},
    "error_message": {},
    "document_class": {},
    "document_sub_class": {},
    "rotated_page_count": {}
  },
  "additionalProperties": true
}
```
