# List Chart Documents

> Perform List Chart Documents through athenahealth.

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

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

- Handler: `athena_list_chart_documents`

- Connection type: `athenahealth`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "athenahealth",
  "params": {
    "max_documents": 50
  },
  "handler": "athena_list_chart_documents"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `department_id` — Department Id (expression)
  Optional literal value or workflow expression.
- `document_class` — Document Class (expression)
  Optional literal value or workflow expression.
- `document_subclass` — Document Subclass (expression)
  Optional literal value or workflow expression.
- `chart_date_from` — Chart Date From (expression)
  Optional literal value or workflow expression.
- `chart_date_to` — Chart Date To (expression)
  Optional literal value or workflow expression.
- `max_documents` — Max Documents (number)
  Optional numeric value.
  Default: `50`

## Outputs

- `success` — Success
- `patient_id` — Patient Id
- `chart_id` — Chart Id
- `department_id` — Department Id
- `count` — Count
- `documents` — Documents
- `contains_all_items` — Contains All Items
- `truncated` — Truncated
- `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": [
    "patient_id"
  ],
  "properties": {
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "chart_date_to": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "department_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_documents": {
      "type": "number",
      "default": 50,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "document_class": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "chart_date_from": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_subclass": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "success": {},
    "chart_id": {},
    "documents": {},
    "truncated": {},
    "patient_id": {},
    "department_id": {},
    "error_message": {},
    "contains_all_items": {}
  },
  "additionalProperties": true
}
```
