# List Patient Documents

> Perform List Patient Documents through ExaPACS.

Source: [https://genhealth.ai/docs/workflows/integrations/exa-pacs/exapacs_list_patient_documents](https://genhealth.ai/docs/workflows/integrations/exa-pacs/exapacs_list_patient_documents)

Integration: [ExaPACS](https://genhealth.ai/docs/workflows/integrations/exa-pacs.md)

- Handler: `exapacs_list_patient_documents`

- Connection type: `exapacs`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `category` — Category (text)
  Optional text value.
- `before_date` — Before Date (expression)
  Optional literal value or workflow expression.
- `show_all` — Show All (boolean)
  Optional true-or-false value.
  Default: `false`
- `lookback_days` — Lookback Days (number)
  Optional numeric value.

## Outputs

- `status` — Status
- `documents` — Documents
- `search_after` — Search After
- `search_before` — Search Before
- `error` — Error

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": [
    "order_id",
    "patient_id"
  ],
  "properties": {
    "category": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "show_all": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "before_date": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "lookback_days": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "documents": {},
    "search_after": {},
    "search_before": {}
  },
  "additionalProperties": true
}
```
