# ECW List Encounter Attachments

> Perform ECW List Encounter Attachments through eClinicalWorks.

Source: [https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_encounter_attachments](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_list_encounter_attachments)

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

- Handler: `ecw_list_encounter_attachments`

- Connection type: `eclinicalworks`

## Inputs

- `encounter_id` — Encounter Id (text, required)
  Required text value.
- `patient_id` — Patient Id (text, required)
  Required text value.
- `max_results` — Max Results (number)
  Optional numeric value.
  Default: `25`

## Outputs

- `success` — Success
- `result` — Result
- `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": [
    "encounter_id",
    "patient_id"
  ],
  "properties": {
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "max_results": {
      "type": "number",
      "default": 25,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "encounter_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "result": {},
    "success": {}
  },
  "additionalProperties": true
}
```
